/* =========================================================
   CAMPAIGN PAGE STYLES
   Shared rules are maintained in master.css.
   ========================================================= */

.epik-plan-section {
  padding-top: 112px;
  padding-bottom: 118px;
  background:
    radial-gradient(
      circle at 4% 12%,
      rgba(227, 28, 37, 0.035),
      transparent 22%
    ),
    #ffffff;
}

body.home-page .ht-testimonials .ht-testi-eyebrow {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.67) 100%
  ) !important;
  border-color: rgba(227, 28, 37, 0.16) !important;
  box-shadow:
    0 8px 22px rgba(78, 26, 31, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

@media (max-width: 620px) {
  body.home-page main .ht-testi-section-head > .ht-testi-eyebrow {
    min-height: 29px !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 980px) {
  .locator-compact-hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {

  .locator-compact-hero {
    padding: 64px 0 56px;
  }

  .locator-compact-hero__inner {
    gap: 32px;
  }
}

@media (max-width: 900px) {

  .locator-hero-search {
    margin-right: auto;
    margin-left: auto;
  }

  .locator-scroll-cue {
    bottom: 56px;
  }
}

@media (max-width: 680px) {

  .locator-hero-search {
    min-height: 60px;
    padding-left: 15px;
  }

  .locator-hero-search button {
    width: 46px;
    height: 46px;
  }

  .locator-scroll-cue {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding-top: 40px;
  }

  .footer-top {
    gap: 26px 18px;
  }

  .footer-brand .brand img {
    max-width: 104px;
  }

  .footer-brand p {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
  }

  .footer-col h5 {
    font-size: 11px;
  }

  .footer-col li {
    font-size: 12.5px;
  }

  .footer-contact li {
    font-size: 11.5px;
  }

  .footer-app-column {
    padding: 14px 12px;
  }

  .footer-app-column .store-badge {
    min-height: 48px;
  }

  .footer-signature {
    margin-top: 22px;
    font-size: 11px;
    line-height: 1.45;
  }

  .footer-bottom {
    gap: 12px;
    font-size: 11px;
  }

  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-bottom a {
    margin-left: 0;
  }

  body.location-page .location-store-card {
    padding: 13px;
    border-radius: 14px;
  }

  body.location-page .location-store-card + .location-store-card {
    margin-top: 8px;
  }

  body.location-page .location-store-card h4 {
    font-size: 13px;
    line-height: 1.35;
  }

  body.location-page .location-store-card p {
    display: -webkit-box;
    margin: 7px 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 10px;
    line-height: 1.45;
  }

  body.location-page .location-store-meta {
    font-size: 9px;
  }

  body.location-page .location-store-details {
    margin-top: 8px;
    gap: 4px;
  }

  body.location-page .location-store-detail {
    font-size: 9px;
  }

  body.location-page .location-store-owner {
    display: none;
  }

  body.location-page .location-store-actions {
    margin-top: 10px;
    gap: 7px;
  }

  body.location-page .location-store-actions a {
    min-height: 40px;
    border-radius: 10px;
    font-size: 10px;
  }
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown.is-active .nav-dropdown-toggle {
  color: #a90f17;
}

@media (max-width: 760px) {
  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-toggle {
    display: flex;
    width: 100%;
    min-height: 46px;
    padding: 13px 15px;
    justify-content: space-between;
    border-radius: 13px;
    color: #3c3739;
    font-size: 14px;
    font-weight: 560;
    text-align: left;
  }

  .nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown.is-active .nav-dropdown-toggle {
    background: #f8f1f1;
    color: #a90f17;
    transform: none;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-caret {
    margin: -4px 3px 0 0;
  }

  .nav-submenu {
    position: static;
    width: auto;
    min-width: 0;
    max-height: 0;
    margin: 0 0 0 13px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 11px;
    background: #fbf8f7;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    transition:
      max-height 0.24s ease,
      padding 0.24s ease,
      margin 0.24s ease;
  }

  .nav-dropdown.is-open .nav-submenu {
    max-height: 80px;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 4px;
    pointer-events: auto;
  }

  .luxury-nav-links .nav-submenu a {
    min-height: 40px;
    padding: 10px 13px;
    font-size: 13.5px;
  }
}

/* Desktop / landscape tablet: all primary site heroes share one height. */

@media (min-width: 981px) {
  body.home-page .motion-hero {
    height: var(--halogo-hero-height-desktop);
    min-height: var(--halogo-hero-height-desktop);
  }

  /* Home */
  body.home-page .motion-hero-wrap {
    height: var(--halogo-hero-height-desktop);
    min-height: var(--halogo-hero-height-desktop);
  }

  body.home-page .motion-hero-copy {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  body.home-page .cinematic-wall {
    height: var(--halogo-hero-height-desktop);
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 12px;
  }

  body.home-page .cinematic-row {
    height: 132px;
    min-height: 132px;
  }

  body.home-page .cinematic-card {
    height: 132px;
  }

  /* Rakan Niaga / Partners. Match the higher-specificity luxury variant. */

  /* FAQ / eSIM */

  /* Location */
}

/* FAQ had a legacy 1300px minimum width. Remove it at every viewport so
   headings, search and image never get pushed outside the visible canvas. */

/* Tablet: let copy + artwork stack and grow naturally instead of clipping. */

@media (max-width: 980px) {
  body.home-page .motion-hero {
    height: auto;
  }

  /* A later desktop alignment rule previously restored two columns on the
         homepage at mobile widths. Force the hero back to one content-safe stack. */
  body.home-page .motion-hero-wrap {
    width: calc(100% - 32px);
    height: auto;
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-page .motion-hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  body.home-page .cinematic-wall {
    width: 100%;
    min-width: 0;
  }

  body.help-page .faq-v3-search {
    margin-right: auto;
    margin-left: auto;
  }

  body.location-page .locator-hero-search {
    margin-right: auto;
    margin-left: auto;
  }
}

/* Small screens: content dictates height; no fixed hero box is allowed. */

@media (max-width: 680px) {
  body.home-page .motion-hero {
    min-height: auto;
  }
}

/* ========================================================================
   CAMPAIGN — PAAN SINGGIT
   Page-specific styles preserved from the original campaign landing page.
   ======================================================================== */

:root {
  --paan-red: #d90006;
  --paan-black: #101010;
  --paan-content-width: 896px;
}

.paan-page {
  margin: 0;
  background: #fff;
  color: var(--paan-black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.paan-page main img {
  display: block;
  max-width: 100%;
  height: auto;
}

.paan-hero {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.paan-hero img {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}

.paan-visual-section {
  width: 100%;
}

.paan-visual-section > img,
.paan-visual-section > a > img {
  width: min(100%, var(--paan-content-width));
  margin-inline: auto;
}

.paan-content-section {
  width: min(calc(100% - 32px), var(--paan-content-width));
  margin-inline: auto;
  padding: 40px 0;
}

.paan-content-section.paan-activities {
  padding-top: 0;
}

.paan-section-title {
  margin: 0;
  color: var(--paan-red);
  text-align: center;
  font-size: clamp(1.65rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
}

.paan-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 32px;
}

.paan-card-row img {
  width: 100%;
}

.paan-activity-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
}

.paan-activity-row img {
  width: 287px;
  flex: 0 0 auto;
}

.paan-contact-link {
  display: block;
}

.paan-cta-section {
  padding: 40px 24px 48px;
  text-align: center;
}

.paan-cta-button {
  display: inline-flex;
  min-height: 64px;
  padding: 16px 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--paan-red);
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.2;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.paan-cta-button:hover,
.paan-cta-button:focus-visible {
  background: var(--paan-black);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
}

.paan-cta-button:focus-visible,
.paan-contact-link:focus-visible {
  outline: 3px solid rgba(217,0,6,.35);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .paan-hero img {
    width: 900px;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .paan-content-section {
    width: 100%;
    padding: 32px 0;
  }

  .paan-content-section.paan-activities {
    padding-top: 0;
  }

  .paan-section-title {
    padding-inline: 20px;
  }

  .paan-card-row,
  .paan-activity-row {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding: 0 20px 12px;
  }

  .paan-card-row img,
  .paan-activity-row img {
    width: 288px;
    max-width: none;
    flex: 0 0 288px;
    scroll-snap-align: center;
  }

  .paan-cta-section {
    padding: 32px 20px 40px;
  }

  .paan-cta-button {
    width: 100%;
    max-width: 420px;
    padding-inline: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paan-cta-button { transition: none; }
}

/* Paan Singgit uses its campaign artwork at natural aspect ratio.
   Keep the banner directly below the global navigation; do not force the
   standard content-hero min-height onto this artwork-led landing page. */
.paan-hero {
  display: block;
  min-height: 0;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.paan-hero img {
  display: block;
  width: 100%;
  max-width: 1580px;
  height: auto;
  margin: 0 auto;
  transform: none;
}

@media (max-width: 767px) {
  .paan-hero img {
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none;
  }
}
