
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal:       #03a8c6;
  --teal-dark:  #027a91;
  --teal-deep:  #015f72;
  --teal-light: #04c8eb;
  --white:      #ffffff;
  --off-white:  #eef7fa;
  --nav-height: 64px;
  --gutter:     1rem;
}

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  font-family: 'Google Sans', sans-serif;
  background: var(--teal);
  overflow-x: clip;
}

body.is-loading {
  overflow: hidden;
}


img, .photo-wrap, .carousel-slide {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none; 
}


a, button {
  pointer-events: auto;
}


#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #2596be;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo-svg {
  width: clamp(200px, 60vw, 320px);
  height: auto;
  overflow: visible;
  transform-origin: 50% 50%;
  will-change: transform;
}

#big-m,
.letter {
  opacity: 0;
  will-change: transform, opacity;
}



#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: top 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}


#navbar-pill {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  clip-path: inset(50% 50% 50% 50% round 100px);
  transition: clip-path 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}


.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  padding: 0 5vw;
  transition:
    max-width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    padding   0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.is-scrolled .nav-inner {
  max-width: 900px;
  padding: 0 2.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.nav-tagline {
  display: none;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  overflow: hidden;
  max-width: 200px;
  transition:
    opacity      0.35s cubic-bezier(0.16, 1, 0.3, 1),
    max-width    0.5s  cubic-bezier(0.16, 1, 0.3, 1),
    padding-left 0.5s  cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-hamburger {
  display: none;
}

.nav-links a:not(.nav-signin):not(.nav-phone) {
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.nav-links a:not(.nav-signin):not(.nav-phone)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:not(.nav-signin):not(.nav-phone):hover {
  color: var(--white);
}

.nav-links a:not(.nav-signin):not(.nav-phone):hover::after {
  width: 100%;
}


  /* --- INTERACTIVE SCROLL SHOWCASE STYLES --- */
  #scroll-section {
    position: relative;
    z-index: 1;
    background: transparent;
    /* height set by JS: numSlides * 100vh */
  }

  #scroll-section .sticky-wrap {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Purple radial glow background */
    background: var(--teal)
  }

  @media (min-width: 768px) {
    #scroll-section .sticky-wrap {
      border-radius: 0 0 2.8rem 2.8rem;
      box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.3);
    }
  }

  /* ── LEFT NAV ── */
  #scroll-section .left-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px 0 80px;
    gap: 8px;
  }

  #scroll-section .nav-item {
    position: relative;
    padding: 16px 0 16px 20px;
    font-size: 30px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    cursor: default;
    line-height: 1.2;
    border-left: 3px solid transparent;
    transition: color 0.4s, border-color 0.4s;
  }

  #scroll-section .nav-item.active {
    color: #ffffff;
    border-left-color: #ffffff;
  }

  /* ── RIGHT STACK ── */
  #scroll-section .right-col {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px 0 20px;
  }

  #scroll-section .slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 60px 60px 60px 20px;
    opacity: 0;
    transform: translateY(60px);
    pointer-events: none;
  }

  #scroll-section .slide.active {
    pointer-events: auto;
  }

  /* ── PHOTO CARD ── */
  #scroll-section .photo-card {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
    aspect-ratio: 16/9;
    background: #1a0d2e;
  }

  #scroll-section .photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.08);
    will-change: transform;
    filter: brightness(1.12) contrast(1.05);
  }

  #scroll-section .photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 40%,
      rgba(8,3,18,0.55) 100%
    );
    pointer-events: none;
  }

  /* Caption tag on the photo */
  #scroll-section .photo-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }

  /* ── SLIDE CONTENT BELOW CARD ── */
  #scroll-section .slide-title,
  #scroll-section .slide-body,
  #scroll-section .cta-btn {
    position: relative; /* lifts text into the positioned stacking layer so it paints after .photo-card's shadow */
  }

  #scroll-section .slide-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
  }

  #scroll-section .slide-body {
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
  }

  #scroll-section .cta-btn {
    display: inline-block;
    background: #e8ff00;
    color: #111;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    width: fit-content;
    transition: transform 0.2s, background 0.2s;
  }
  #scroll-section .cta-btn:hover { transform: translateY(-2px); background: #f0ff40; }

  /* Progress dots */
  #scroll-section .progress-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }
  #scroll-section .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: background 0.3s, transform 0.3s;
  }
  #scroll-section .dot.active {
    background: #e8ff00;
    transform: scale(1.4);
  }

  /* page-bottom indicator */
  .page-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
    background: var(--teal);
  }

  /* mobile-cta hidden everywhere (removed) */
  .mobile-cta { display: none; }

  /* ── MOBILE PINNED SCROLL (≤ 767px) ── */
  @media (max-width: 767px) {

    .page-bottom { display: none; }

    /* height driven by JS */
    #scroll-section { background: var(--teal); }

    /* sticky viewport panel */
    #scroll-section .sticky-wrap {
      position: sticky;
      top: 0;
      width: 100%;
      height: 100svh;
      display: block;
      overflow: hidden;
    }

    #scroll-section .left-nav { display: none; }

    /* right-col absolutely fills the sticky panel */
    #scroll-section .right-col {
      position: absolute;
      inset: 0;
      padding: 0;
      overflow: hidden;
    }

    /* slides stacked, driven by JS */
    #scroll-section .slide {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 0;
      gap: 0;
      opacity: 0;
      transform: none !important;
      pointer-events: none;
      overflow: hidden;
      background: #080312;
    }

    #scroll-section .slide.active { pointer-events: auto; }

    /* photo fills the entire slide */
    #scroll-section .photo-card {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border-radius: 0;
      aspect-ratio: unset;
      box-shadow: none;
    }

    #scroll-section .photo-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: none;
      filter: none;
      will-change: auto;
    }

    /* stronger gradient for legibility */
    #scroll-section .photo-card::after {
      background: linear-gradient(
        to bottom,
        rgba(8,3,18,0.05) 0%,
        rgba(8,3,18,0.25) 45%,
        rgba(8,3,18,0.90) 100%
      );
    }

    /* text content — raised so it clears the progress dots */
    #scroll-section .slide-content-mobile {
      position: relative;
      z-index: 3;
      padding: 0 24px 80px;
    }

    #scroll-section .slide-num {
      display: block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #e8ff00;
      margin-bottom: 10px;
    }

    #scroll-section .slide-title {
      font-size: 32px;
      font-weight: 800;
      line-height: 1.05;
      margin-bottom: 10px;
    }

    #scroll-section .slide-body {
      font-size: 15px;
      line-height: 1.6;
      color: rgba(255,255,255,0.75);
      max-width: none;
    }

    #scroll-section .photo-tag        { display: none; }
    #scroll-section .slide .cta-btn   { display: none; }

    /* dots stay centred at bottom */
    #scroll-section .progress-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
    }
  }

.nav-signin {
  display: none;
  align-items: center;
  background: #ffffff;
  color: #0a0a0a !important;
  border-radius: 100px;
  padding: 0.65rem 1.8rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap;
  position: static !important;
  padding-bottom: 0.65rem !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.nav-signin::after {
  display: none !important;
}

.nav-signin:hover {
  background: #f0f0f0;
  color: #0a0a0a !important;
}


.nav-links li:has(.nav-signup) {
  display: none;
}

a {
  text-decoration: none;
}

/* ── WhatsApp Widget ── */
.floating_btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

@keyframes pulsing {
  0%   { box-shadow: 0 0 0 0 rgba(66,219,135,0.7); }
  70%  { box-shadow: 0 0 0 18px rgba(66,219,135,0); }
  100% { box-shadow: 0 0 0 0 rgba(66,219,135,0); }
}

.contact_icon {
  background-color: #42db87;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out, background-color 300ms;
  position: relative;
  z-index: 2;
}
.contact_icon:not(.open) { animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1); }
.contact_icon:hover { transform: scale(1.08); }
.contact_icon.open { background-color: #25D366; animation: none; }

.wa-modal-wrapper {
  position: fixed;
  bottom: 105px;
  right: 30px;
  z-index: 999;
  pointer-events: none;
}

.wa-modal {
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  pointer-events: all;
  transform-origin: bottom right;
  transition: transform 280ms cubic-bezier(0.34, 1.4, 0.64, 1), opacity 220ms ease;
}
.wa-modal.hidden { transform: scale(0.6) translateY(20px); opacity: 0; pointer-events: none; }
.wa-modal.visible { transform: scale(1) translateY(0); opacity: 1; }

.wa-header {
  background: linear-gradient(135deg, #25D366 0%, #1da855 100%);
  padding: 16px 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-header-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-header-info { flex: 1; }
.wa-header-name { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; }
.wa-header-status { color: rgba(255,255,255,0.85); font-size: 12px; margin-top: 2px; font-style: italic; }

.wa-close-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  padding: 4px;
  transition: background 150ms, color 150ms;
}
.wa-close-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

.wa-body {
  background-color: #e5ddd5;
  padding: 16px 12px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-bubble {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 10px 12px;
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  position: relative;
  align-self: flex-start;
}
.wa-bubble::before {
  content: '';
  position: absolute; top: 0; left: -7px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.wa-bubble-text { font-size: 13.5px; color: #303030; line-height: 1.45; }
.wa-bubble-time { font-size: 11px; color: #999; text-align: right; margin-top: 4px; }

.wa-branch-label, .wa-agent-label {
  font-size: 12px; color: #777;
  text-align: center;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  padding: 4px 10px;
  align-self: center;
  margin: 4px 0;
}

.wa-branches { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }

.wa-branch-card, .wa-agent-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: background 150ms, transform 150ms, border-color 150ms;
  border: 2px solid transparent;
}
.wa-branch-card:hover, .wa-agent-card:hover {
  background: #f0faf5;
  border-color: #25D366;
  transform: translateY(-1px);
}

.wa-branch-flag { font-size: 24px; line-height: 1; flex-shrink: 0; }
.wa-branch-details, .wa-agent-details { flex: 1; }
.wa-branch-name, .wa-agent-name { font-size: 13.5px; font-weight: 600; color: #111; }
.wa-branch-phone, .wa-agent-role { font-size: 12px; color: #666; margin-top: 1px; }
.wa-branch-arrow, .wa-agent-arrow { color: #25D366; font-size: 16px; flex-shrink: 0; }

.wa-agent-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1da855);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
}

.wa-input-bar {
  background: #f0f0f0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e0e0e0;
}
.wa-input {
  flex: 1;
  background: #fff;
  border: none;
  border-radius: 24px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.wa-input::placeholder { color: #aaa; }
.wa-send-btn {
  background: #25D366;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms, transform 150ms;
}
.wa-send-btn:hover { background: #1da855; transform: scale(1.05); }


.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: #1a9e5c;
  color: #ffffff !important;
  border-radius: 100px;
  padding: 0.3rem 0.65rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.nav-phone-icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

.nav-phone-full {
  display: none;
}

.nav-phone-short {
  display: inline;
}

.nav-phone::after {
  display: none !important;
}

.nav-phone:hover {
  background: #158a4f;
  color: #ffffff !important;
}


.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.22rem 0.5rem 0.22rem 0.3rem;
  cursor: pointer;
  opacity: 0.82;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-lang-flag {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-lang-code {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-lang:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.14);
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


.nav-cta {
  position: relative;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--white);
  border: none;
  padding: 0.65rem 1.7rem;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  display: none;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.35s ease;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal-deep);
  transform: translateX(-101%);
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 0;
}

.nav-cta:hover {
  color: var(--white);
}

.nav-cta:hover::before {
  transform: translateX(0);
}

.nav-cta > * {
  position: relative;
  z-index: 1;
}

.nav-cta .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-cta:hover .arrow {
  transform: translateX(5px);
}



.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--teal-dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  opacity: 0;
  transform: translateY(30px);
}

.nav-mobile-menu a:hover {
  opacity: 0.55;
}



.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 70svh;
  min-height: unset;
  background: var(--teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-height) 5vw 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -18vw;
  right: -8vw;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20vw;
  left: -8vw;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.hero-line {
  display: none;
  position: absolute;
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0;
  background: rgba(255, 255, 255, 0.18);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
}

.hero-eyebrow {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2.4rem;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 12vw, 3.8rem);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title .char-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-title .char-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero-title .accent {
  font-style: italic;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.hero-subtitle {
  font-family: 'Google Sans', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  max-width: 100%;
  padding: 0 1rem;
  margin: 0 auto 3rem;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary {
  position: relative;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--white);
  border: none;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: color 0.35s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--off-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.18, 1);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(5px);
}

.btn-ghost {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.07);
}

.btn-ghost svg {
  transition: transform 0.3s ease;
}

.btn-ghost:hover svg {
  transform: scale(1.15);
}

.barrel-container {
  perspective: 1000px;
  text-align: center;
}

.barrel-line {
  overflow: hidden;
  display: block;
  line-height: 1;
}

.barrel-inner {
  display: block;
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  transform-origin: center bottom;
  transform: rotateX(80deg);
  opacity: 0;
  will-change: transform, opacity;
}

.barrel-line:last-child .barrel-inner {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  letter-spacing: 0.22em;
  margin-top: 0.35em;
}



.hero-text {
  position: absolute;
  bottom: 22%;
  left: 5vw;
  right: 5vw;
  z-index: 3;
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text::before {
  content: '';
  position: absolute;
  inset: -20% -15% -15% -10%;
  background: radial-gradient(ellipse at 35% 55%, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 72%);
  filter: blur(32px);
  z-index: -1;
  pointer-events: none;
}

.hero-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.4rem;
  opacity: 0;
}

.hero-headline {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 7.5vw, 3.2rem);
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 1.2rem;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 8px 60px rgba(0, 0, 0, 0.35);
}

.headline-row {
  display: block;
}

.headline-row--optional:has([data-word=""]) {
  display: none;
}

.hero-word--em {
  font-style: italic;
}

.hero-headline .char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-24px);
}

.hero-headline .char-space {
  display: inline-block;
  width: 0.28em;
}

.hero-sub {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
  max-width: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
}


.hero-mobile-ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.6rem;
  width: 100%;
  justify-content: center;
  opacity: 0;
}

.hero-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 100px;
  padding: 0.55rem clamp(0.9rem, 4vw, 1.8rem);
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(0.78rem, 3.5vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}


.hero-tagline {
  position: absolute;
  bottom: 3.5%;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 15px;
  z-index: 3;
  font-family: 'Google Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  color: #ffffff;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}

.hero-tagline:empty {
  display: none;
}




.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70svh;
  overflow: hidden;
  z-index: 1;
  background: #0a1a1a;
  user-select: none;
  border-radius: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: transform, opacity, filter;
  object-position: center 30%;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, transparent 30%),
    linear-gradient(to top,    rgba(0,0,0,0.55) 0%, transparent 55%);
  pointer-events: none;
}

.carousel-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.carousel-pip {
  position: relative;
  height: 2px;
  width: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.carousel-pip.is-active {
  width: 48px;
}

.pip-fill {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

.carousel-pip::before {
  content: '';
  position: absolute;
  inset: -8px -4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  cursor: default;
}

.scroll-indicator span {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-mouse {
  width: 22px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-mouse::after {
  content: '';
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollDown 1.9s ease infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0);    opacity: 1; }
  75%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}



.cookie-alert {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 1.5rem;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-alert.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-content h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.cookie-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-pill {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-pill--primary {
  background: var(--teal);
  color: var(--white);
}

.btn-pill--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-pill--secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--black);
}

.btn-pill--secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

.btn-pill--text {
  background: transparent;
  color: rgba(0, 0, 0, 0.4);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn-pill--text:hover {
  color: var(--black);
}

.cookie-settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 1rem;
}

.cookie-settings-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.cookie-settings-card {
  width: 100%;
  max-width: 450px;
  background: var(--white);
  border-radius: 24px 24px 16px 16px;
  padding: 1.75rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-settings-overlay.is-open .cookie-settings-card {
  transform: scale(1) translateY(0);
}

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.settings-header h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--black);
}

.close-settings {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}

.close-settings:hover {
  color: var(--black);
}

.settings-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.setting-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.setting-info h4 {
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--black);
}

.setting-info p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.5);
}

.setting-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.setting-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
  background-color: var(--teal);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.setting-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}



.content-wrap {
  background: var(--teal);
  overflow: hidden;
  color: #fff;
  position: relative;
  z-index: 1;
}

.gallery-section {
  position: relative;
  padding: 4rem 5vw; 
  display: flex;
  flex-direction: column;
  gap: 3rem;
}


.gallery-overlay {
  padding: 0 1rem 2rem;
}

.famtours-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .famtours-content {
    opacity: 0;
    transform: translateY(30px);
  }
}

.famtours-title {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #ffffff;
}

.famtours-text {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgb(255, 255, 255);
}

.infinite-photo-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100vw;
  margin-left: -5vw; 
  overflow: hidden;
}


.infinite-photo-track--reverse {
  display: none;
}

@media (min-width: 768px) {
  .gallery-section {
    padding: 6rem 0;
    display: block;
  }

  .gallery-overlay {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    flex-direction: row-reverse;
    pointer-events: none;
    z-index: 1;
    padding: 0;
  }

  .gallery-overlay-gradient {
    width: 320px;
    flex-shrink: 0;
    background: var(--gallery-overlay-bg, #03a8c6);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 55%, rgba(0,0,0,0.82) 65%, rgba(0,0,0,0.52) 75%, rgba(0,0,0,0.20) 87%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 55%, rgba(0,0,0,0.82) 65%, rgba(0,0,0,0.52) 75%, rgba(0,0,0,0.20) 87%, transparent 100%);
  }

  .gallery-overlay-content {
    flex: 1;
    background: var(--gallery-overlay-bg, #03a8c6);
    display: flex;
    align-items: center;
    padding-left: 5vw;
  }

  .famtours-content {
    text-align: left;
    max-width: 480px;
  }

  .famtours-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
  }

  .famtours-text {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    margin-bottom: 2.5rem;
  }

  .infinite-photo-grid {
    width: 100%;
    margin-left: 0;
  }

  .infinite-photo-track--reverse {
    display: flex;
  }
}

@keyframes scroll-photos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scroll-photos-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.infinite-photo-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll-photos 40s linear infinite;
}

.infinite-photo-track--reverse {
  animation: scroll-photos-reverse 40s linear infinite;
}

.photo-wrap {
  flex-shrink: 0;
  border-radius: 1rem;
  overflow: hidden;
  height: clamp(220px, 22vw, 360px);
  aspect-ratio: 4 / 5;
}

.infinite-photo-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}



.earth-footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

.earth-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.earth-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  pointer-events: none;
  opacity: 0.07;
  z-index: 1;
}

.earth-logo-bg svg {
  width: 100%;
  height: auto;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-bottom: 2rem;
  pointer-events: none;
}

.footer-center-logo {
  width: 200px;
  filter: brightness(0) invert(1);
}

.footer-badges {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: calc(var(--nav-height) + 3.5rem);
  z-index: 2;
}

.footer-badge {
  height: 29px;
  width: auto;
  filter: brightness(0);
  opacity: 0.85;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-logo {
  height: 28px;
  filter: brightness(0);
  opacity: 0.7;
}

.footer-tagline {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  pointer-events: all;
}

.footer-nav a {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #000000;
}

.footer-copy {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgb(255, 255, 255);
  text-align: center;
}




/* ── Button slide-text hover ── */
.btn-text-wrap {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.btn-before {
  display: flex;
  align-items: center;
}

.btn-after {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
}

.btn-before span,
.btn-after span {
  display: inline-block;
  line-height: 1.1;
}

.btn-after span {
  transform: translateY(100%);
}

#nav-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.42) 45%,
    rgba(0, 0, 0, 0.12) 72%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 99;
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

#nav-gradient.is-hidden {
  opacity: 0;
}

#navbar.is-scrolled {
  top: 14px;
}

#navbar.is-scrolled #navbar-pill {
  clip-path: inset(0 max(0px, calc(50% - 450px)) 0 max(0px, calc(50% - 450px)) round 100px);
}

#navbar.is-scrolled .nav-tagline {
  opacity: 0;
  max-width: 0;
  padding-left: 0;
  pointer-events: none;
}



@media (min-width: 768px) {
  :root {
    --nav-height: 80px;
    --gutter: 2rem;
  }

  
  .nav-tagline { display: block; }
  .nav-logo img { height: 36px; }
  .nav-links { gap: 2.5rem; }
  .nav-signin { display: inline-flex; }
  .nav-links li:has(.nav-signup) { display: flex; }
  .nav-phone {
    gap: 0.4rem;
    padding: 0.65rem 1.8rem;
    font-size: 0.92rem;
  }
  .nav-phone-full { display: inline; }
  .nav-phone-short { display: none; }
  .nav-lang {
    gap: 0.38rem;
    padding: 0.28rem 0.65rem 0.28rem 0.4rem;
  }
  .nav-lang-flag { width: 16px; height: 16px; }
  .nav-lang-code { font-size: 0.62rem; }

  
  .hero { height: auto; min-height: 100svh; }
  .hero-carousel { height: 88svh; border-radius: 0 0 5.6rem 5.6rem; }
  .hero-text {
    bottom: 13%;
    left: 6vw;
    right: auto;
    max-width: 90vw;
    text-align: left;
    display: block;
  }
  .hero-headline {
    font-size: clamp(2.6rem, 5.5vw, 5.8rem);
    margin: 0 0 1.8rem;
  }
  .hero-sub { max-width: 380px; }
  .hero-line { display: block; }
  .hero-mobile-ctas { display: none; }
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.32em; }
  .hero-title {
    font-size: clamp(3.2rem, 8.5vw, 8rem);
    letter-spacing: -0.03em;
  }
  .hero-subtitle {
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    max-width: 460px;
    padding: 0;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
  }
  .btn-primary, .btn-ghost {
    justify-content: initial;
    padding: 1rem 2.5rem;
  }

  
  .cookie-alert { bottom: 2rem; left: 2rem; right: 2rem; padding: 2rem; }
  .cookie-settings-overlay { padding: 2rem; align-items: center; }
  .cookie-settings-card { border-radius: 32px; padding: 2.5rem; }

  
  .footer-top { flex-direction: row; gap: 0; align-items: center; }
  .footer-nav { gap: 2.5rem; }
  .footer-badges { gap: 2rem; padding-top: 0; }
  .footer-badge { height: 50px; }
}



@media (min-width: 1024px) {
  #logo-svg { width: clamp(100px, 20vw, 250px); }
}



/* ── YouTube Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease;
}
.modal-overlay.is-open {
  pointer-events: all;
  opacity: 1;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) brightness(0.75);
  -webkit-backdrop-filter: blur(6px) brightness(0.75);
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.04);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-hero {
  position: relative;
  background: #0f0f0f;
  height: 200px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.modal-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65);
  z-index: 0;
  transition: opacity 0.6s ease;
}
.modal-hero-bg.hidden { opacity: 0; }

.modal-hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.6);
}

.modal-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
}

.yt-play {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 8px 32px rgba(255,0,0,0.45), 0 0 0 0 rgba(255,0,0,0.3);
  animation: ytPulse 2.2s ease-in-out infinite;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.yt-play:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(255,0,0,0.55);
  animation: none;
}
@keyframes ytPulse {
  0%   { box-shadow: 0 8px 32px rgba(255,0,0,0.45), 0 0 0 0   rgba(255,0,0,0.3); }
  60%  { box-shadow: 0 8px 32px rgba(255,0,0,0.35), 0 0 0 18px rgba(255,0,0,0);  }
  100% { box-shadow: 0 8px 32px rgba(255,0,0,0.45), 0 0 0 0   rgba(255,0,0,0);   }
}
.yt-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }

.yt-channel-tag {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 5px 10px 5px 6px;
}
.yt-channel-tag svg { width: 16px; height: 16px; flex-shrink: 0; }
.yt-channel-tag span {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; color: #fff;
  white-space: nowrap;
}

.yt-sub-badge {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 4px 10px;
}
.yt-sub-badge span {
  font-size: 10px; color: rgba(255,255,255,0.8);
  font-weight: 500; letter-spacing: 0.04em;
}
.yt-sub-badge b { color: #fff; }

.yt-thumbs {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex;
  height: 52px;
  overflow: hidden;
  opacity: 0.55;
}
.yt-thumb {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  border-right: 1px solid rgba(0,0,0,0.2);
}
.yt-thumb:nth-child(1) { background: linear-gradient(135deg, #1a4a2a, #0d2e1e); }
.yt-thumb:nth-child(2) { background: linear-gradient(135deg, #1a2a4a, #0d1e2e); }
.yt-thumb:nth-child(3) { background: linear-gradient(135deg, #3a2a0a, #2e1a05); }
.yt-thumb:nth-child(4) { background: linear-gradient(135deg, #1a1a3a, #0d0d20); }
.yt-thumbs::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.modal-body {
  padding: 28px 28px 24px;
  text-align: center;
}

.modal-title {
  font-size: 1.5rem; font-weight: 700;
  line-height: 1.15;
  color: #0a0a0a;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.modal-title em { font-style: italic; color: var(--teal-dark); }

.modal-desc {
  font-size: 0.88rem; line-height: 1.65;
  color: rgba(0,0,0,0.52);
  margin-bottom: 22px;
  max-width: 360px;
  margin-left: auto; margin-right: auto;
}

.modal-ctas { display: flex; flex-direction: column; gap: 10px; }

.btn-yt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff;
  color: #0a0a0a;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.8rem;
  border-radius: 100px; border: none;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}
.btn-yt:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.btn-yt svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-skip {
  background: none; border: none;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem; color: rgba(0,0,0,0.35);
  cursor: pointer; padding: 4px;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.btn-skip:hover { color: rgba(0,0,0,0.65); }

.modal-close {
  position: absolute; top: 14px; left: 14px; z-index: 20;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 14px; line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.28); transform: scale(1.08); }

/* ── YouTube Modal — Responsive ── */
@media (max-width: 520px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    border-radius: 24px 24px 0 0;
    max-width: 100%;
    width: 100%;
  }
  .modal-hero { height: 160px; }
  .yt-play { width: 58px; height: 58px; }
  .yt-play svg { width: 22px; height: 22px; }
  .modal-body { padding: 20px 20px 18px; }
  .modal-title { font-size: 1.25rem; }
  .modal-desc { font-size: 0.82rem; }
  .btn-yt { font-size: 0.82rem; padding: 0.8rem 1.4rem; }
}

@media (min-width: 521px) and (max-width: 768px) {
  .modal-overlay { padding: 1rem; }
  .modal { max-width: 440px; }
  .modal-hero { height: 175px; }
  .modal-title { font-size: 1.35rem; }
}
