/* ============================================
   INVIQE - Digital Invitation Studio
   Custom Stylesheet
   Brand Colors: Noir #0E0E0E, Gold #C9A96E,
   Ivory #FAF8F5, Charcoal #1A1A1A, Ash #888880
   ============================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --noir: #0E0E0E;
  --gold: #C9A96E;
  --gold-light: #D4B97E;
  --gold-dark: #B89A5E;
  --ivory: #FAF8F5;
  --charcoal: #1A1A1A;
  --ash: #888880;
  --glass-bg: rgba(14, 14, 14, 0.72);
  --glass-border: rgba(201, 169, 110, 0.15);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background-color: var(--noir);
  color: var(--ivory);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
}

.heading-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

.text-body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
}

.text-body-light {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

/* ---------- Utility Classes ---------- */
.text-gold { color: var(--gold); }
.text-ivory { color: var(--ivory); }
.text-ash { color: var(--ash); }
.text-charcoal { color: var(--charcoal); }
.bg-noir { background-color: var(--noir); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-ivory { background-color: var(--ivory); }

.gold-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, #E0C992 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-line-long {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Section Styles ---------- */
.section-padding {
  padding: 64px 20px;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 90px 40px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ivory);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--ash);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Announcement Bar ---------- */
/* In-flow element inside .hero — sits in the hero's top padding space,
   visually between the fixed navbar and hero content. Scrolls with the page. */
.announcement-bar {
  position: absolute;
  top: 88px; /* below the floating navbar */
  left: 0;
  width: 100%;
  background: var(--gold);
  color: var(--noir);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--transition-smooth),
              transform 0.4s var(--transition-smooth);
}

.announcement-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 48px 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 44px;
}

.announcement-bar-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.announcement-bar-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--noir);
  line-height: 1.5;
  margin: 0;
}

.announcement-bar-text strong {
  font-weight: 600;
}

.announcement-bar-link {
  color: var(--noir);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 5px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.announcement-bar-link:hover {
  opacity: 0.65;
}

.announcement-bar-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--noir);
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  border-radius: 50%;
  line-height: 0;
  /* Ensure tappable on mobile (min 44×44px touch target) */
  min-width: 36px;
  min-height: 36px;
}

.announcement-bar-close:hover,
.announcement-bar-close:focus-visible {
  opacity: 1;
  background: rgba(14, 14, 14, 0.1);
  outline: none;
}

/* Mobile: hide icon to save space on narrow screens */
@media (max-width: 420px) {
  .announcement-bar-icon {
    display: none;
  }

  .announcement-bar-text {
    font-size: 0.72rem;
    padding-right: 4px;
  }

  .announcement-bar-link {
    display: inline-block;
    margin-left: 3px;
  }
}

/* Hero promo notice override for the revamp layout. */
.announcement-bar {
  position: relative;
  top: auto;
  left: auto;
  width: min(100%, 590px);
  margin: 0 0 22px;
  background: transparent;
  color: #111111;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.45s var(--transition-smooth),
              transform 0.45s var(--transition-smooth);
}

.announcement-bar.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.announcement-bar-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-height: 52px;
  max-width: none;
  margin: 0;
  padding: 11px 42px 11px 14px;
  overflow: hidden;
  border: 1px solid rgba(184, 148, 79, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.announcement-bar-inner::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #E1C582 0%, #B8944F 100%);
  z-index: -1;
}

.announcement-bar-inner::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -22%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg);
  animation: announcementSheen 5.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes announcementSheen {
  0%, 62% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(340%) rotate(18deg);
    opacity: 0;
  }
}

.announcement-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(184, 148, 79, 0.14);
  color: #8A6933;
  font-size: 0.78rem;
  flex-shrink: 0;
  line-height: 1;
}

.announcement-bar-text {
  font-size: 0.76rem;
  letter-spacing: 0.1px;
  text-align: left;
  color: #2F2F2B;
  line-height: 1.55;
  max-width: 480px;
}

.announcement-bar-text strong {
  color: #111111;
  font-weight: 600;
}

.announcement-bar-link {
  display: inline-flex;
  align-items: center;
  color: #8A6933;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.announcement-bar-link:hover {
  color: #111111;
  transform: translateX(2px);
  opacity: 1;
}

.announcement-bar-close {
  right: 9px;
  color: #111111;
  background: rgba(17, 17, 17, 0.04);
  opacity: 0.58;
  min-width: 32px;
  min-height: 32px;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.announcement-bar-close:hover,
.announcement-bar-close:focus-visible {
  opacity: 1;
  background: rgba(184, 148, 79, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .announcement-bar-inner::after {
    animation: none;
  }
}

@media (max-width: 760px) {
  .announcement-bar {
    margin: 0 auto 24px;
  }
}

@media (max-width: 420px) {
  .announcement-bar-inner {
    align-items: flex-start;
    padding: 12px 40px 12px 12px;
  }

  .announcement-bar-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-top: 1px;
  }

  .announcement-bar-text {
    font-size: 0.72rem;
    padding-right: 0;
  }

  .announcement-bar-link {
    display: inline-flex;
    margin-left: 0;
    margin-top: 3px;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 16px;
  transition: all 0.4s var(--transition-smooth);
  pointer-events: none;
}

.navbar.scrolled {
  top: 10px;
  padding: 0 16px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  pointer-events: none;
  transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled .navbar-inner {
  min-height: 54px;
}

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

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--ivory);
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}

.nav-logo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  top: -14px;
  margin-left: 1px;
}

.navbar .nav-logo {
  justify-self: start;
  padding: 10px 0;
  pointer-events: auto;
}

.navbar .nav-logo-text {
  color: #111111;
}

.navbar .nav-logo-dot {
  background: var(--gold);
}

/* Desktop Navigation */
.nav-menu-island {
  display: none;
  position: relative;
  justify-self: center;
  align-items: center;
  justify-content: center;
  width: 106px;
  min-height: 54px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  pointer-events: auto;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  z-index: 3;
}

.nav-menu-island:hover,
.nav-menu-island:focus-within {
  width: min(680px, calc(100vw - 440px));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 58px rgba(17, 17, 17, 0.14);
}

.nav-menu-collapsed {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #111111;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-menu-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B8944F;
  box-shadow: 0 0 0 5px rgba(184, 148, 79, 0.12);
}

.nav-menu-dot::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(184, 148, 79, 0.36);
  opacity: 0;
  transform: scale(0.45);
  animation: navMenuDotPulse 2.2s ease-out infinite;
}

.nav-menu-island:hover .nav-menu-dot::after,
.nav-menu-island:focus-within .nav-menu-dot::after {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes navMenuDotPulse {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }
  18% {
    opacity: 0.45;
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu-dot::after {
    animation: none;
  }
}

.nav-menu-island:hover .nav-menu-collapsed,
.nav-menu-island:focus-within .nav-menu-collapsed {
  opacity: 0;
  transform: scale(0.9);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  width: max-content;
  opacity: 0;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.22s ease 0.08s,
              transform 0.22s ease 0.08s;
}

@media (min-width: 1024px) {
  .nav-menu-island { display: flex; }
}

.nav-menu-island:hover .nav-links,
.nav-menu-island:focus-within .nav-links {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.gsap-header-ready .nav-menu-island,
.gsap-header-ready .nav-menu-collapsed,
.gsap-header-ready .nav-links {
  transition: none;
}

.gsap-header-ready .nav-menu-island:hover,
.gsap-header-ready .nav-menu-island:focus-within {
  width: 106px;
}

.gsap-header-ready .nav-menu-island:hover .nav-menu-collapsed,
.gsap-header-ready .nav-menu-island:focus-within .nav-menu-collapsed {
  opacity: 1;
  transform: none;
}

.gsap-header-ready .nav-menu-island:hover .nav-links,
.gsap-header-ready .nav-menu-island:focus-within .nav-links {
  opacity: 0;
  transform: translateY(4px) scale(0.96);
  pointer-events: none;
}

.nav-link {
  appearance: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  color: #123762;
  text-decoration: none;
  background: transparent;
  border: 0;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.3s ease, background 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 9px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #0B2340;
  background: rgba(18, 55, 98, 0.07);
}

.nav-faq-trigger[aria-expanded="true"] {
  color: #000000;
  background: rgba(126, 217, 87, 0.16);
}

.nav-faq-menu {
  position: fixed;
  top: 84px;
  left: 50%;
  z-index: 998;
  width: min(960px, calc(100vw - 32px));
  height: 0;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.nav-faq-menu.is-open {
  pointer-events: auto;
}

.nav-faq-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 16%, rgba(126, 217, 87, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 234, 0.96));
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-faq-kicker {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(184, 148, 79, 0.18);
  border-radius: 999px;
  color: #8A6933;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-faq-title {
  margin: 0;
  color: #111111;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 0.94;
}

.nav-faq-title span {
  color: #8A6933;
}

.nav-faq-content {
  min-width: 0;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.gsap-header-ready .nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: none;
}

.gsap-header-ready .nav-dropdown-trigger svg {
  transition: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  padding: 12px 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--transition-smooth);
  pointer-events: none;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.12);
}

/* Invisible bridge that fills the gap between trigger and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-actions {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.nav-book-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }

  .navbar .nav-actions .btn-gold {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 17, 17, 0.1);
    color: #123762;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: 0 16px 44px rgba(17, 17, 17, 0.1);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .navbar .nav-actions .btn-gold:hover {
    background: #111111;
    color: #FFFFFF;
    box-shadow: 0 18px 48px rgba(17, 17, 17, 0.16);
  }
}

.nav-book-trigger {
  position: relative;
  z-index: 4;
}

.nav-book-trigger-icon {
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-book-wrap.is-open .nav-book-trigger-icon {
  transform: rotate(135deg);
}

.nav-book-wrap.is-open .nav-book-trigger {
  background: #111111;
  color: #FFFFFF;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.16);
}

.nav-book-radial {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 230px;
  height: 180px;
  pointer-events: none;
  z-index: 2;
}

.nav-book-radial::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(126, 217, 87, 0.14), transparent 62%),
    radial-gradient(circle, rgba(184, 148, 79, 0.12), transparent 68%);
  opacity: 0;
  transform: scale(0.62);
  transition: opacity 0.3s ease, transform 0.42s var(--transition-smooth);
}

.nav-book-wrap.is-open .nav-book-radial {
  pointer-events: auto;
}

.nav-book-wrap.is-open .nav-book-radial::before {
  opacity: 1;
  transform: scale(1);
}

.nav-book-item {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #123762;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate(0, 0) scale(0.45);
  transform-origin: center;
  pointer-events: none;
  text-decoration: none;
  transition:
    opacity 0.28s ease var(--book-delay, 0ms),
    transform 0.48s cubic-bezier(0.34, 1.56, 0.64, 1) var(--book-delay, 0ms),
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.nav-book-item svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-book-item::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  padding: 6px 9px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #123762;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.1);
  opacity: 0;
  transform: translate(4px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nav-book-item:hover::after,
.nav-book-item:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.nav-book-item:hover,
.nav-book-item:focus-visible {
  background: #111111;
  color: #FFFFFF;
  border-color: rgba(17, 17, 17, 0.22);
  outline: none;
}

.nav-book-item--shopee:hover,
.nav-book-item--shopee:focus-visible {
  background: #EE4D2D;
}

.nav-book-item--lynk:hover,
.nav-book-item--lynk:focus-visible {
  background: #123762;
}

.nav-book-item--instagram:hover,
.nav-book-item--instagram:focus-visible {
  background: #C13584;
}

.nav-book-item--tiktok:hover,
.nav-book-item--tiktok:focus-visible {
  background: #111111;
}

.nav-book-wrap.is-open .nav-book-item {
  opacity: 1;
  transform: translate(var(--book-x), var(--book-y)) scale(1);
  pointer-events: auto;
}

.gsap-header-ready .nav-book-item,
.gsap-header-ready .nav-book-trigger-icon {
  transition: color 0.2s ease,
              background 0.2s ease,
              border-color 0.2s ease;
}

.gsap-header-ready .nav-dropdown-menu,
.gsap-header-ready .nav-dropdown:hover .nav-dropdown-menu {
  transition: none;
}

.gsap-header-ready .nav-dropdown:hover .nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: #123762;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  letter-spacing: 0;
}

.nav-dropdown-item:hover {
  background: rgba(18, 55, 98, 0.07);
  color: #0B2340;
}

/* CTA Button */
.btn-gold {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--noir);
  background: linear-gradient(135deg, var(--gold) 0%, #D4B97E 50%, var(--gold) 100%);
  background-size: 200% 200%;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  background-position: 100% 100%;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.25);
}

.btn-gold-outline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold-outline:hover {
  background: rgba(201, 169, 110, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.1);
}

.instant-buy {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.instant-buy summary {
  list-style: none;
  justify-content: center;
  width: 100%;
}

.instant-buy summary::-webkit-details-marker {
  display: none;
}

.instant-buy-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.instant-buy-option {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.instant-buy-option:hover {
  color: var(--gold);
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(201, 169, 110, 0.08);
}

.cta-order-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-order-stack .instant-buy {
  max-width: 260px;
  margin-top: 0;
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  cursor: pointer;
  padding: 11px 10px;
  justify-self: end;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #111111;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 14px;
  right: 16px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateY(-10px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  transition: opacity 0.3s var(--transition-smooth),
              visibility 0.3s var(--transition-smooth),
              transform 0.3s var(--transition-smooth);
  padding: 92px 22px 28px;
  overflow-y: auto;
}

.gsap-header-ready .mobile-nav {
  transition: none;
}

.mobile-nav.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  color: #111111;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: color 0.3s ease;
  display: block;
}

.mobile-nav-link:hover {
  color: #000000;
}

.mobile-nav-sublabel {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #111111;
  padding: 20px 0 8px;
  display: block;
}

.mobile-nav-sublink {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #222222;
  text-decoration: none;
  padding: 10px 0 10px 16px;
  border-left: 1px solid rgba(17, 17, 17, 0.14);
  display: block;
  transition: all 0.3s ease;
}

.mobile-nav-sublink:hover {
  color: #000000;
  border-left-color: #111111;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 132px 20px 76px;
  overflow: hidden;
  background: #FBFBF8;
  color: #111111;
}

.hero-layout {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 44% at 50% 8%, rgba(184, 148, 79, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FBFBF8 52%, #F1F0EA 100%);
  pointer-events: none;
}

.hero-bg-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(17, 17, 17, 0.045) 48% 48.08%, transparent 48.08% 100%),
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 88px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 78%, transparent 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #B8944F;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

.hero-cursor-trail {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.hero-cursor-flower {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--flower-size, 18px);
  height: var(--flower-size, 18px);
  opacity: 0;
  background:
    radial-gradient(circle at 50% 16%, var(--flower-petal, #F8C8DC) 0 20%, transparent 22%),
    radial-gradient(circle at 84% 40%, var(--flower-petal, #F8C8DC) 0 20%, transparent 22%),
    radial-gradient(circle at 70% 82%, var(--flower-petal, #F8C8DC) 0 20%, transparent 22%),
    radial-gradient(circle at 30% 82%, var(--flower-petal, #F8C8DC) 0 20%, transparent 22%),
    radial-gradient(circle at 16% 40%, var(--flower-petal, #F8C8DC) 0 20%, transparent 22%),
    radial-gradient(circle at 50% 50%, var(--flower-center, #F6D78A) 0 17%, transparent 19%);
  filter: drop-shadow(0 6px 10px rgba(17, 17, 17, 0.08));
  transform-origin: center;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .hero-cursor-trail {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 790px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 10px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50px;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  color: #123762;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 38px rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-badge-shape-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(184, 148, 79, 0.18), 0 8px 18px rgba(17, 17, 17, 0.07);
}

.hero-badge-shape-wrap::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(225, 197, 130, 0.32);
}

.hero-badge-shape-svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  overflow: visible;
}

.hero-badge-shape {
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 2px 4px rgba(184, 148, 79, 0.2));
}

.hero-badge-text {
  display: inline-block;
  white-space: nowrap;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 6.9vw, 6.1rem);
  line-height: 0.98;
  color: #111111;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.hero-title em {
  font-style: italic;
  color: #8A6933;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.55vw, 1.14rem);
  color: #123762;
  margin: 0 0 34px;
  line-height: 1.72;
  max-width: 550px;
  margin-left: 0;
  margin-right: 0;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.hero-template-stack-wrap {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: clamp(420px, 52vw, 560px);
}

.hero-template-stack-wrap::before,
.hero-template-stack-wrap::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero-template-stack-wrap::before {
  width: clamp(260px, 31vw, 390px);
  height: clamp(260px, 31vw, 390px);
  top: 11%;
  left: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 44%, rgba(255, 255, 255, 0.78), rgba(225, 197, 130, 0.18) 48%, transparent 70%);
  filter: blur(8px);
  transform: translateX(-50%);
}

.hero-template-stack-wrap::after {
  width: clamp(230px, 28vw, 360px);
  height: 1px;
  left: 50%;
  bottom: 78px;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.18), transparent);
  transform: translateX(-50%);
}

.hero-template-note {
  position: absolute;
  top: clamp(336px, 26vw, 552px);
  left: clamp(-125px, -9vw, -60px);
  z-index: 4;
  width: max-content;
  max-width: 220px;
  margin: 0;
  color: #7ED957;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.48rem, 2.25vw, 1.86rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: left;
  transform: rotate(-4deg);
  pointer-events: none;
  text-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
}

.hero-template-note span {
  display: inline-block;
  max-width: 180px;
}

.hero-template-note svg {
  position: absolute;
  top: -40px;
  left: calc(85% - 30px);
  width: 82px;
  height: 62px;
  overflow: visible;
  transform: rotate(-75deg);
}

.hero-template-note-swoosh,
.hero-template-note-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-template-stack {
  position: relative;
  width: clamp(240px, 30vw, 360px);
  height: clamp(370px, 47vw, 540px);
  border: none;
  background: transparent;
  cursor: pointer;
  perspective: 900px;
  transform-style: preserve-3d;
  touch-action: manipulation;
}

.hero-template-stack:focus-visible {
  outline: 2px solid #B8944F;
  outline-offset: 14px;
  border-radius: 28px;
}

.hero-stack-card {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 238, 0.9));
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 28px 78px rgba(17, 17, 17, 0.14);
  overflow: hidden;
  transform-origin: 50% 80%;
  will-change: transform, opacity;
}

.hero-stack-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: none;
}

.hero-stack-popular-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.82);
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  pointer-events: none;
}

.hero-stack-popular-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #E1C582;
  box-shadow: 0 0 0 4px rgba(225, 197, 130, 0.18);
}

.hero-stack-card-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #123762;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hero-stack-card-label span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-stack-card-label small {
  color: #8A6933;
  font-size: 0.58rem;
}

.hero-stack-link {
  position: relative;
  z-index: 3;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  color: #123762;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hero-stack-link:hover {
  color: #8A6933;
  border-color: rgba(184, 148, 79, 0.55);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s infinite;
}

.hero-scroll-indicator span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: none;
  color: #123762;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #B8944F, transparent);
  animation: scrollLine 2s infinite;
}

.hero .btn-gold {
  --cta-x: 0px;
  --cta-y: 0px;
  position: relative;
  overflow: hidden;
  background: #111111;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  min-height: 46px;
  padding-inline: 26px;
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.16);
  transform: translate(var(--cta-x), var(--cta-y));
  will-change: transform;
}

.hero .btn-gold:hover {
  background: #B8944F;
  transform: translate(var(--cta-x), calc(var(--cta-y) - 1px));
  box-shadow: 0 18px 48px rgba(184, 148, 79, 0.24);
}

.hero .btn-gold svg {
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hero .btn-gold:hover svg {
  transform: translateX(3px);
}

.hero .btn-gold-outline {
  --cta-x: 0px;
  --cta-y: 0px;
  position: relative;
  overflow: hidden;
  color: #123762;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  border-color: rgba(17, 17, 17, 0.22);
  background: rgba(255, 255, 255, 0.54);
  min-height: 46px;
  padding-inline: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translate(var(--cta-x), var(--cta-y));
  will-change: transform;
}

.hero .btn-gold-outline:hover {
  background: rgba(255, 255, 255, 0.84);
  transform: translate(var(--cta-x), calc(var(--cta-y) - 1px));
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.09);
}

.hero-cta-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.button-loop-char {
  display: inline-block;
  will-change: transform;
}

@media (max-width: 760px) {
  .hero {
    padding-top: 128px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content {
    max-width: 680px;
    text-align: center;
    margin: 0 auto;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    align-items: center;
  }

  .hero-template-stack-wrap {
    min-height: 360px;
  }

  .hero-template-note {
    top: -12px;
    left: max(0px, calc(50% - 142px));
    max-width: 172px;
    font-size: 1.28rem;
    transform: rotate(-4deg);
  }

  .hero-template-note span {
    max-width: 144px;
  }

  .hero-template-note svg {
    top: 7px;
    left: calc(100% - 20px);
    width: 56px;
    height: 44px;
    transform: rotate(15deg);
  }

  .hero-template-note-swoosh,
  .hero-template-note-arrow {
    stroke-width: 4.4;
  }

  .hero-template-stack {
    width: min(240px, 62vw);
    height: min(350px, 90vw);
  }

}

@media (max-width: 520px) {
  .hero {
    min-height: 100svh;
    padding: 124px 18px 72px;
  }

  .hero-title {
    font-size: clamp(3.1rem, 17vw, 4.7rem);
  }

  .hero-subtitle {
    margin-bottom: 32px;
  }

  .hero-cta-group {
    width: min(100%, 330px);
  }

  .hero .btn-gold,
  .hero .btn-gold-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-template-stack-wrap {
    min-height: 312px;
    gap: 12px;
  }

  .hero-template-stack-wrap::before {
    width: min(260px, 76vw);
    height: min(260px, 76vw);
    top: 8%;
  }

  .hero-template-stack-wrap::after {
    bottom: 56px;
    width: min(240px, 70vw);
  }

  .hero-template-stack {
    width: min(204px, 60vw);
    height: min(300px, 86vw);
  }

  .hero-stack-card {
    border-radius: 22px;
    padding: 6px;
  }

  .hero-stack-card img {
    border-radius: 17px;
  }

  .hero-stack-popular-badge {
    top: 12px;
    left: 12px;
    min-height: 25px;
    padding: 6px 9px;
    font-size: 0.52rem;
  }

  .hero-stack-card-label {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 0.56rem;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollLine {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ---------- Trusted By / Social Proof ---------- */
.trusted-bar {
  padding: 40px 20px;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.trusted-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trusted-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 24px;
}

.trusted-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .trusted-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trusted-stat {
  text-align: center;
}

.trusted-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.trusted-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--ash);
}

/* ---------- Features Section ---------- */
#features {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, #FBFAF6 0%, #F1EDE4 58%, #FFFFFF 100%);
  color: #111111;
}

#features::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(184, 148, 79, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(184, 148, 79, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

#features::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -1px;
  z-index: -1;
  width: min(960px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.16), transparent);
  transform: translateX(-50%);
}

#features .container {
  position: relative;
  z-index: 1;
}

.features-pin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  min-height: min(760px, calc(100vh - 120px));
}

.features-card-panel {
  position: relative;
  min-width: 0;
}

.features-copy-panel {
  position: relative;
  z-index: 2;
  text-align: left;
}

#features .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(184, 148, 79, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #123762;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#features .section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B8944F;
  box-shadow: 0 0 0 5px rgba(184, 148, 79, 0.12);
  animation: featureLabelDotPulse 1.9s ease-in-out infinite;
}

@keyframes featureLabelDotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(184, 148, 79, 0.12);
    opacity: 1;
  }
  50% {
    transform: scale(1.24);
    box-shadow: 0 0 0 9px rgba(184, 148, 79, 0.04);
    opacity: 0.78;
  }
}

@media (prefers-reduced-motion: reduce) {
  #features .section-label::before {
    animation: none;
  }
}

#features .section-title {
  color: #111111;
  font-weight: 600;
  max-width: 620px;
  margin-bottom: 20px;
}

#features .section-title .gold-gradient {
  font-weight: 600;
}

#features .section-subtitle {
  color: #123762;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.55vw, 1.14rem);
  line-height: 1.72;
  max-width: 560px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  counter-reset: feature-card;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.feature-card {
  --feature-x: 50%;
  --feature-y: 0%;
  --feature-accent: #B8944F;
  --feature-botanical-size: 76%;
  --feature-botanical-x: 106%;
  --feature-botanical-y: 108%;
  counter-increment: feature-card;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: clamp(24px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--feature-x) var(--feature-y), color-mix(in srgb, var(--feature-accent) 22%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), color-mix(in srgb, var(--feature-accent) 10%, #FFFFFF) 100%);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
  transform: translateZ(0);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
  will-change: transform;
}

.feature-card.is-active {
  border-color: color-mix(in srgb, var(--feature-accent) 42%, rgba(17, 17, 17, 0.1));
  background-color: rgba(255, 255, 255, 0.9);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg width='360' height='360' viewBox='0 0 360 360' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Cg stroke='%238A6933' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M220 326C194 259 206 188 257 132'/%3E%3Cpath d='M230 279C254 258 289 251 319 261C291 286 257 291 230 279Z'/%3E%3Cpath d='M229 233C252 204 290 190 327 196C304 229 267 244 229 233Z'/%3E%3Cpath d='M248 145C272 116 310 103 346 111C321 142 285 156 248 145Z'/%3E%3Cpath d='M212 286C181 273 159 246 154 214C187 218 212 245 212 286Z'/%3E%3Cpath d='M216 230C184 215 166 184 168 150C200 160 221 190 216 230Z'/%3E%3Cpath d='M253 132C239 95 249 55 280 29C293 66 284 107 253 132Z'/%3E%3Cpath d='M114 318C111 261 132 207 177 164'/%3E%3Cpath d='M128 260C99 248 79 223 75 193C106 197 130 223 128 260Z'/%3E%3Cpath d='M153 214C125 194 113 160 124 126C151 148 164 181 153 214Z'/%3E%3Cpath d='M175 165C164 130 176 94 205 72C217 107 205 144 175 165Z'/%3E%3Cpath d='M79 312C58 286 50 252 58 219C84 242 95 278 79 312Z'/%3E%3Cpath d='M64 226C38 209 24 180 28 150C56 165 72 193 64 226Z'/%3E%3Cpath d='M83 125C79 92 94 61 121 44C128 78 113 109 83 125Z'/%3E%3Cpath d='M92 132C121 111 160 106 194 121C161 145 122 149 92 132Z'/%3E%3C/g%3E%3C/svg%3E") var(--feature-botanical-x) var(--feature-botanical-y) / var(--feature-botanical-size) no-repeat,
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--feature-accent) 14%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 42%),
    linear-gradient(180deg, transparent 58%, rgba(184, 148, 79, 0.08));
  opacity: 0.58;
  transition: opacity 0.35s ease;
}

.feature-card::after {
  content: counter(feature-card, decimal-leading-zero);
  position: absolute;
  top: clamp(20px, 3vw, 28px);
  right: clamp(20px, 3vw, 28px);
  color: rgba(17, 17, 17, 0.22);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
}

.feature-card:nth-child(2) {
  --feature-accent: #A8C3B2;
  --feature-botanical-size: 70%;
  --feature-botanical-x: -18%;
  --feature-botanical-y: 112%;
}

.feature-card:nth-child(3) {
  --feature-accent: #D8A7B1;
  --feature-botanical-size: 82%;
  --feature-botanical-x: 110%;
  --feature-botanical-y: 16%;
}

.feature-card:nth-child(4) {
  --feature-accent: #9FB6D8;
  --feature-botanical-size: 68%;
  --feature-botanical-x: -12%;
  --feature-botanical-y: 8%;
}

.feature-card:nth-child(5) {
  --feature-accent: #C6A7D8;
  --feature-botanical-size: 78%;
  --feature-botanical-x: 106%;
  --feature-botanical-y: 110%;
}

.feature-card:nth-child(6) {
  --feature-accent: #D7B884;
  --feature-botanical-size: 74%;
  --feature-botanical-x: 50%;
  --feature-botanical-y: 118%;
}

.feature-card:nth-child(7) {
  --feature-accent: #95C8C1;
  --feature-botanical-size: 72%;
  --feature-botanical-x: 112%;
  --feature-botanical-y: 44%;
}

.feature-card:nth-child(8) {
  --feature-accent: #D8B2A0;
  --feature-botanical-size: 76%;
  --feature-botanical-x: -20%;
  --feature-botanical-y: 96%;
}

.feature-card:nth-child(9) {
  --feature-accent: #B8944F;
  --feature-botanical-size: 80%;
  --feature-botanical-x: 104%;
  --feature-botanical-y: 104%;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--feature-accent) 46%, rgba(17, 17, 17, 0.1));
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 84px rgba(17, 17, 17, 0.13);
}

.feature-card:hover::before {
  opacity: 0.84;
}

.feature-card:hover .feature-icon {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--feature-accent) 34%, #FFFFFF), rgba(255, 255, 255, 0.78));
  border-color: color-mix(in srgb, var(--feature-accent) 46%, rgba(17, 17, 17, 0.08));
  box-shadow:
    0 28px 70px color-mix(in srgb, var(--feature-accent) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -18px 36px rgba(17, 17, 17, 0.035);
}

.feature-card:hover .feature-icon::after {
  transform: translate(-50%, -50%) scale(1.08) rotate(18deg);
  opacity: 0.78;
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
  transform: scale(1.08) rotate(-3deg);
}

.feature-card:hover .feature-title {
  color: #111111;
}

.feature-card:hover .feature-desc {
  color: #363631;
}

.feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5h16v11H4z'/%3E%3Cpath d='m4.5 7 7.5 6 7.5-6'/%3E%3Cpath d='m4.5 17 5.5-5'/%3E%3Cpath d='m19.5 17-5.5-5'/%3E%3C/svg%3E");
  position: relative;
  isolation: isolate;
  width: clamp(112px, 13vw, 148px);
  height: clamp(112px, 13vw, 148px);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 24%, rgba(17, 17, 17, 0.08));
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--feature-accent) 22%, #FFFFFF), rgba(255, 255, 255, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 0;
  color: color-mix(in srgb, var(--feature-accent) 64%, #111111);
  font-size: 0;
  box-shadow:
    0 22px 58px color-mix(in srgb, var(--feature-accent) 16%, transparent),
    0 12px 28px rgba(17, 17, 17, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -18px 34px rgba(17, 17, 17, 0.03);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:nth-child(2) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 19c0-2.2-1.8-4-4-4H7c-2.2 0-4 1.8-4 4'/%3E%3Cpath d='M9.5 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z'/%3E%3Cpath d='M21 19c0-1.9-1.3-3.4-3-3.9'/%3E%3Cpath d='M15.5 4.3a3.5 3.5 0 0 1 0 6.4'/%3E%3C/svg%3E");
}

.feature-card:nth-child(3) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.4'/%3E%3Cpath d='M10.5 18h3'/%3E%3Cpath d='M9.5 6h5'/%3E%3Cpath d='M12 10.5v3'/%3E%3Cpath d='M10.5 12h3'/%3E%3C/svg%3E");
}

.feature-card:nth-child(4) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4.5h8'/%3E%3Crect x='6' y='3' width='12' height='18' rx='2.4'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E");
}

.feature-card:nth-child(5) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h6v6H4z'/%3E%3Cpath d='M14 4h6v6h-6z'/%3E%3Cpath d='M4 14h6v6H4z'/%3E%3Cpath d='M14 14h2.5'/%3E%3Cpath d='M19.5 14v2.5'/%3E%3Cpath d='M16.5 20H14v-2.5'/%3E%3Cpath d='M20 20h-1.5'/%3E%3C/svg%3E");
}

.feature-card:nth-child(6) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4z'/%3E%3Cpath d='M3 7h18v3H3z'/%3E%3Cpath d='M12 7v13'/%3E%3Cpath d='M12 7c-2.3 0-4-1-4-2.4C8 3.7 8.8 3 9.8 3c1.6 0 2.2 2 2.2 4Z'/%3E%3Cpath d='M12 7c2.3 0 4-1 4-2.4 0-.9-.8-1.6-1.8-1.6-1.6 0-2.2 2-2.2 4Z'/%3E%3C/svg%3E");
}

.feature-card:nth-child(7) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4z'/%3E%3Cpath d='m4 16 4.2-4.2a2 2 0 0 1 2.8 0L15 16'/%3E%3Cpath d='m13.5 14.5 1.2-1.2a2 2 0 0 1 2.8 0L20 15.8'/%3E%3Cpath d='M15.5 9.5h.01'/%3E%3C/svg%3E");
}

.feature-card:nth-child(8) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Cpath d='M9 18a3 3 0 1 1-3-3 3 3 0 0 1 3 3Z'/%3E%3Cpath d='M20 16a3 3 0 1 1-3-3 3 3 0 0 1 3 3Z'/%3E%3Cpath d='M9 9.5 20 7.5'/%3E%3C/svg%3E");
}

.feature-card:nth-child(9) .feature-icon {
  --feature-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M8 16v-4'/%3E%3Cpath d='M12 16V8'/%3E%3Cpath d='M16 16v-6'/%3E%3Cpath d='m17.5 5.5 2 2-2 2'/%3E%3C/svg%3E");
}

.feature-icon::before {
  content: '';
  position: relative;
  z-index: 2;
  width: 43%;
  height: 43%;
  background: currentColor;
  opacity: 0.94;
  -webkit-mask: var(--feature-icon-url) center / contain no-repeat;
  mask: var(--feature-icon-url) center / contain no-repeat;
  transform-origin: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 84%;
  height: 84%;
  border-radius: 50%;
  background:
    linear-gradient(145deg, transparent 44%, rgba(255, 255, 255, 0.72) 45% 48%, transparent 49%),
    conic-gradient(from 180deg, color-mix(in srgb, var(--feature-accent) 42%, transparent), transparent 34%, color-mix(in srgb, var(--feature-accent) 28%, transparent), transparent 72%, color-mix(in srgb, var(--feature-accent) 36%, transparent));
  transform: translate(-50%, -50%) scale(0.96) rotate(0deg);
  opacity: 0.48;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(1.28rem, 2.25vw, 1.74rem);
  color: #123762;
  margin: clamp(30px, 5vw, 52px) auto 14px;
  line-height: 1.12;
  max-width: 12ch;
  text-align: center;
  text-wrap: balance;
  transition: color 0.35s ease;
}

.feature-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.18vw, 0.98rem);
  color: rgba(18, 55, 98, 0.74);
  line-height: 1.62;
  max-width: 39ch;
  margin: 0 auto;
  text-align: center;
  text-wrap: pretty;
  transition: color 0.35s ease;
}

.features-lateral {
  position: relative;
  margin-top: 34px;
  padding-left: 22px;
}

.features-lateral::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: rgba(17, 17, 17, 0.12);
}

.features-lateral-fill {
  position: absolute;
  left: 1px;
  top: 3px;
  width: 3px;
  height: calc(100% - 6px);
  border-radius: 999px;
  background: linear-gradient(180deg, #111111, #B8944F);
  transform: scaleY(0.12);
  transform-origin: top left;
}

.features-indicator-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: feature-indicator;
}

.features-indicator-list li {
  counter-increment: feature-indicator;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  color: rgba(18, 55, 98, 0.5);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.features-indicator-list li::before {
  content: counter(feature-indicator, decimal-leading-zero);
  color: rgba(17, 17, 17, 0.28);
  font-size: 0.6rem;
  min-width: 23px;
  transition: color 0.25s ease;
}

.features-indicator-list li::after {
  content: '';
  position: absolute;
  left: -25px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.16);
  transform: translateY(-50%) scale(0.76);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.features-indicator-list li.is-active {
  color: #123762;
  transform: translateX(4px);
}

.features-indicator-list li.is-active::before {
  color: #8A6933;
}

.features-indicator-list li.is-active::after {
  background: #111111;
  border-color: #111111;
  box-shadow: 0 0 0 5px rgba(184, 148, 79, 0.13);
  transform: translateY(-50%) scale(1);
}

@media (min-width: 901px) {
  #features {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .features-pin-ready {
    overflow: visible;
  }

  .features-pin-ready .features-grid {
    position: relative;
    display: block;
    min-height: clamp(430px, 62vh, 610px);
  }

  .features-pin-ready .feature-card {
    position: absolute;
    inset: 0;
    min-height: 0;
    opacity: 0;
    visibility: hidden;
  }

  .features-pin-ready .feature-card:first-child {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 1024px) {
  .features-pin-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
    gap: 34px;
  }
}

@media (max-width: 767px) {
  #features {
    padding-top: 58px;
  }

  #features::before {
    background-size: 54px 54px;
  }

  .features-pin-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .features-copy-panel {
    order: -1;
    text-align: center;
  }

  #features .section-title,
  #features .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    margin-top: 36px;
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .feature-card::after {
    top: 20px;
    right: 20px;
  }

  .feature-title {
    margin-top: 28px;
    font-size: 1.34rem;
    max-width: 15ch;
  }

  .feature-desc {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .features-lateral {
    display: none;
  }
}

/* ---------- How It Works ---------- */
#how-it-works {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(184, 148, 79, 0.11), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F1E8 54%, #FFFFFF 100%);
  color: #111111;
}

#how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(184, 148, 79, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(184, 148, 79, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 82%, transparent 100%);
}

.steps-heading {
  text-align: center;
}

#how-it-works .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(184, 148, 79, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #123762;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#how-it-works .section-label::before {
  content: '';
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B8944F;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(184, 148, 79, 0.12);
  animation: stepsLabelDotPulse 1.9s ease-in-out infinite;
}

@keyframes stepsLabelDotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(184, 148, 79, 0.12);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 9px rgba(184, 148, 79, 0.04);
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  #how-it-works .section-label::before {
    animation: none;
  }
}

#how-it-works .section-title {
  color: #111111;
  font-weight: 600;
  margin-left: auto;
  margin-right: auto;
}

#how-it-works .section-title .gold-gradient {
  font-weight: 600;
}

.steps-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 68px;
  min-height: 430px;
  counter-reset: step-card;
}

.step-item {
  counter-increment: step-card;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 290px;
  padding: 28px 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 242, 232, 0.76));
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.step-item:nth-of-type(3),
.step-item:nth-of-type(5) {
  transform: translateY(58px);
}

.step-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg width='260' height='260' viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Cg stroke='%238A6933' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M158 238C142 188 151 139 188 96'/%3E%3Cpath d='M164 201C184 185 210 181 232 190C211 211 184 216 164 201Z'/%3E%3Cpath d='M164 166C181 143 209 132 236 137C218 162 191 174 164 166Z'/%3E%3Cpath d='M152 208C129 198 113 177 110 153C134 157 153 177 152 208Z'/%3E%3Cpath d='M91 234C89 192 105 152 137 121'/%3E%3Cpath d='M101 192C80 183 65 164 62 142C85 145 102 164 101 192Z'/%3E%3Cpath d='M120 157C99 142 91 117 99 92C119 108 128 133 120 157Z'/%3E%3C/g%3E%3C/svg%3E") 102% 104% / 70% no-repeat,
    linear-gradient(180deg, transparent 54%, rgba(184, 148, 79, 0.07));
  opacity: 0.42;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.step-item::after {
  content: counter(step-card, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(17, 17, 17, 0.22);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
}

.step-item > * {
  position: relative;
  z-index: 1;
}

.step-item:hover,
.step-item.is-active {
  border-color: rgba(184, 148, 79, 0.28);
  box-shadow: 0 30px 84px rgba(17, 17, 17, 0.13);
}

.step-item:hover::before,
.step-item.is-active::before {
  opacity: 0.72;
  transform: scale(1.04);
}

.step-number {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(184, 148, 79, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0;
  color: #123762;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, rgba(225, 197, 130, 0.34), rgba(255, 255, 255, 0.72));
  box-shadow:
    0 18px 42px rgba(184, 148, 79, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.step-item:hover .step-number,
.step-item.is-active .step-number {
  transform: scale(1.1);
  box-shadow:
    0 24px 54px rgba(184, 148, 79, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(1.08rem, 1.55vw, 1.26rem);
  color: #123762;
  margin-bottom: 10px;
  line-height: 1.12;
  text-wrap: balance;
}

.step-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.88rem, 1.05vw, 0.94rem);
  color: rgba(18, 55, 98, 0.74);
  line-height: 1.6;
  max-width: 27ch;
  margin: 0 auto;
  text-wrap: pretty;
}

.steps-motion-svg {
  position: absolute;
  inset: 30px 0 auto;
  z-index: 1;
  width: 100%;
  height: 320px;
  overflow: visible;
  pointer-events: none;
}

.steps-motion-shadow,
.steps-motion-path,
.steps-motion-progress {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps-motion-shadow {
  stroke: rgba(17, 17, 17, 0.06);
  stroke-width: 18;
}

.steps-motion-path {
  stroke: rgba(184, 148, 79, 0.18);
  stroke-width: 2;
  stroke-dasharray: 8 12;
}

.steps-motion-progress {
  stroke: url(#stepsPathGradient);
  stroke-width: 3;
}

.steps-traveler {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111111;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.18);
  pointer-events: none;
}

.steps-traveler span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E1C582;
  box-shadow: 0 0 0 7px rgba(225, 197, 130, 0.18);
}

@media (max-width: 900px) {
  .steps-container {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 42px;
  }

  .steps-motion-svg,
  .steps-traveler {
    display: none;
  }

  .step-item,
  .step-item:nth-of-type(3),
  .step-item:nth-of-type(5) {
    min-height: 0;
    transform: none;
  }
}

@media (max-width: 520px) {
  .step-item {
    padding: 24px 20px;
  }

  .step-number {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
}

/* ---------- Portfolio / Video Invitation Showcase ---------- */
#portfolio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --portfolio-navy: #123762;
  --portfolio-blue: #B8DDF0;
  --portfolio-yellow: #EFB600;
  --portfolio-paper: #FFFDF5;
  --portfolio-ink: #0B2340;
  background:
    radial-gradient(circle at 84% 17%, rgba(184, 221, 240, 0.5), transparent 27%),
    radial-gradient(circle at 17% 78%, rgba(239, 182, 0, 0.16), transparent 26%),
    linear-gradient(180deg, #F7F2E7 0%, #FFFFFF 46%, #F4EEE2 100%);
}

#portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 55, 98, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 55, 98, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.portfolio-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 98px);
}

.portfolio-video-copy {
  max-width: 590px;
}

#portfolio .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(184, 148, 79, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--portfolio-navy);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#portfolio .section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--portfolio-yellow);
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(239, 182, 0, 0.15);
}

#portfolio .section-title {
  color: var(--portfolio-ink);
  font-weight: 600;
  margin-bottom: 22px;
}

#portfolio .section-title .gold-gradient {
  font-weight: 600;
}

#portfolio .section-subtitle {
  max-width: 560px;
  color: #263549;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.85;
}

.portfolio-video-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 32px;
}

.portfolio-video-point {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.portfolio-video-point span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--portfolio-navy);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 5px 5px 0 rgba(239, 182, 0, 0.9);
}

.portfolio-video-point p {
  margin: 0;
  color: #203047;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.92rem, 1.25vw, 1rem);
  font-weight: 500;
  line-height: 1.7;
}

.portfolio-video-cta {
  position: relative;
  overflow: hidden;
  border-color: rgba(18, 55, 98, 0.18);
  color: var(--portfolio-navy);
  background: rgba(255, 253, 245, 0.86);
  box-shadow: 0 16px 38px rgba(18, 55, 98, 0.09);
}

.portfolio-video-cta:hover {
  color: #FFFFFF;
  background: var(--portfolio-navy);
  border-color: var(--portfolio-navy);
}

.portfolio-video-cta svg {
  position: relative;
  z-index: 2;
  transition: transform 0.24s ease;
}

.portfolio-video-cta:hover svg {
  transform: translateX(3px);
}

.portfolio-video-cta .button-loop-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.portfolio-video-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.98fr) minmax(165px, 0.7fr);
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin-left: auto;
  perspective: 1200px;
}

.portfolio-video-card {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.portfolio-video-card-main {
  grid-row: span 2;
}

.portfolio-video-note {
  position: absolute;
  top: 50%;
  left: -90%;
  z-index: 5;
  width: min(230px, 82%);
  margin: 0;
  color: #7ED957;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.36rem, 2.1vw, 1.78rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-4deg);
  pointer-events: none;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.86),
    0 12px 26px rgba(17, 17, 17, 0.2);
}

.portfolio-video-note span {
  display: inline-block;
}

.portfolio-video-note svg {
  position: absolute;
  top: var(--portfolio-note-arrow-top, -25px);
  left: var(--portfolio-note-arrow-left, calc(90% - 7px));
  width: var(--portfolio-note-arrow-width, 75px);
  height: var(--portfolio-note-arrow-height, 70px);
  overflow: visible;
  transform: rotate(var(--portfolio-note-arrow-rotate, -50deg));
}

.portfolio-video-note-swoosh,
.portfolio-video-note-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-video-note-swoosh {
  stroke-dasharray: 7 8;
  animation: portfolioNoteDash 1.8s linear infinite;
}

@keyframes portfolioNoteDash {
  to {
    stroke-dashoffset: -30;
  }
}

.portfolio-video-card-side .portfolio-video-frame {
  padding: 9px;
  border-radius: 8px;
}

.portfolio-video-card-side .portfolio-video-screen {
  border-radius: 5px;
}

.portfolio-video-card-side .portfolio-video-topbar {
  height: 22px;
  padding-bottom: 6px;
}

.portfolio-video-card-side .portfolio-video-topbar span {
  width: 6px;
  height: 6px;
}

.portfolio-video-card-side .portfolio-play-mark {
  width: 46px;
  height: 46px;
}

.portfolio-video-card-side .portfolio-play-mark::before {
  left: 19px;
  top: 15px;
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 12px;
}

.portfolio-video-card-side .portfolio-video-placeholder {
  gap: 10px;
  padding: 18px;
}

.portfolio-video-card-side .portfolio-video-placeholder p {
  font-size: 0.58rem;
  letter-spacing: 1.4px;
}

.portfolio-video-card-side .portfolio-video-caption {
  padding: 10px 6px 4px;
}

.portfolio-video-card-side .portfolio-video-caption span {
  font-size: 0.52rem;
  letter-spacing: 1.2px;
}

.portfolio-video-card-side .portfolio-video-caption strong {
  font-size: 0.78rem;
}

.portfolio-video-card::before {
  content: '';
  position: absolute;
  inset: 8% -8% 5% 10%;
  z-index: -2;
  border-radius: 8px;
  background: rgba(18, 55, 98, 0.16);
  filter: blur(18px);
  transform: rotate(4deg);
}

.portfolio-video-orbit {
  position: absolute;
  inset: 9% -12% 8% 13%;
  z-index: -1;
  border: 2px dashed rgba(18, 55, 98, 0.25);
  border-radius: 10px;
  transform: rotate(5deg);
}

.portfolio-video-orbit::before,
.portfolio-video-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--portfolio-yellow);
  box-shadow: 0 0 0 7px rgba(239, 182, 0, 0.13);
}

.portfolio-video-orbit::before {
  width: 9px;
  height: 9px;
  top: 13%;
  right: -5px;
}

.portfolio-video-orbit::after {
  width: 7px;
  height: 7px;
  left: 7%;
  bottom: -4px;
}

.portfolio-video-frame {
  position: relative;
  overflow: visible;
  padding: 18px 12px 12px;
  border: 2px solid rgba(18, 55, 98, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(246, 241, 231, 0.94));
  box-shadow: 0 26px 62px rgba(18, 55, 98, 0.16);
  transform: rotate(1.5deg);
  transform-origin: center;
}

.portfolio-video-frame::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: -18px;
  height: 24px;
  z-index: -1;
  border-radius: 3px 3px 0 0;
  background:
    linear-gradient(90deg, var(--portfolio-yellow) 0 14%, transparent 14% 18%, var(--portfolio-navy) 18% 100%);
  box-shadow: 0 12px 24px rgba(18, 55, 98, 0.16);
}

.portfolio-video-frame::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 13px;
  background:
    radial-gradient(circle at 9px -1px, transparent 8px, var(--portfolio-paper) 8.5px) 0 0 / 18px 13px repeat-x;
  pointer-events: none;
}

.portfolio-video-card-main .portfolio-video-frame {
  transform: rotate(1.5deg);
}

.portfolio-video-card-side:nth-of-type(2) .portfolio-video-frame {
  transform: rotate(-2deg);
}

.portfolio-video-card-side:nth-of-type(3) .portfolio-video-frame {
  transform: rotate(2.5deg);
}

.portfolio-video-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 26px;
  padding: 0 2px 8px;
}

.portfolio-video-topbar span {
  display: block;
  width: 22%;
  height: 4px;
  border-radius: 999px;
  background: rgba(18, 55, 98, 0.18);
}

.portfolio-video-topbar span:nth-child(2) {
  width: 42%;
  background: var(--portfolio-navy);
}

.portfolio-video-topbar span:nth-child(3) {
  background: var(--portfolio-yellow);
}

.portfolio-video-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 2px solid var(--portfolio-navy);
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.6), transparent 24%),
    linear-gradient(160deg, var(--portfolio-blue) 0%, #F9F1D9 40%, #E0B94E 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.portfolio-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.portfolio-video-card.has-video .portfolio-video-player {
  opacity: 1;
}

.portfolio-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px;
  text-align: center;
  color: var(--portfolio-ink);
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.55), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(18, 55, 98, 0.1));
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.portfolio-video-card.has-video .portfolio-video-placeholder {
  opacity: 0;
  visibility: hidden;
}

.portfolio-play-mark {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--portfolio-paper);
  border: 2px solid var(--portfolio-navy);
  box-shadow: 7px 7px 0 rgba(239, 182, 0, 0.95), 0 18px 42px rgba(18, 55, 98, 0.14);
}

.portfolio-play-mark::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 17px solid var(--portfolio-navy);
}

.portfolio-play-mark::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(18, 55, 98, 0.28);
  animation: portfolioPlayPulse 2s ease-out infinite;
}

@keyframes portfolioPlayPulse {
  0% {
    opacity: 0.75;
    transform: scale(0.78);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.portfolio-video-placeholder p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}

.portfolio-video-caption {
  display: grid;
  gap: 3px;
  padding: 14px 8px 4px;
}

.portfolio-video-caption span {
  color: var(--portfolio-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.portfolio-video-caption strong {
  color: var(--portfolio-ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .portfolio-video-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .portfolio-video-copy {
    max-width: none;
    text-align: center;
  }

  #portfolio .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .portfolio-video-points {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .portfolio-video-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    max-width: 760px;
    margin: 0 auto;
  }

  .portfolio-video-card-main {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .portfolio-video-showcase {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .portfolio-video-card-side .portfolio-video-frame {
    padding: 9px;
    border-radius: 8px;
  }

  .portfolio-video-card-side .portfolio-video-screen {
    border-radius: 5px;
  }
}

@media (max-width: 520px) {
  .portfolio-video-point {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .portfolio-video-frame {
    padding: 9px;
    border-radius: 8px;
    transform: none;
  }

  .portfolio-video-note {
    width: min(190px, 78%);
    font-size: 1.28rem;
    transform: translate(-50%, -50%) rotate(-4deg);
  }

  .portfolio-video-note svg {
    --portfolio-note-arrow-width: 76px;
    --portfolio-note-arrow-height: 52px;
    --portfolio-note-arrow-left: calc(100% - 12px);
  }

  .portfolio-video-screen {
    border-radius: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-play-mark::after,
  .portfolio-video-note-swoosh {
    animation: none;
  }
}

/* ---------- Pricing Section ---------- */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  margin: 32px 0 48px;
}

.pricing-toggle {
  display: flex;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}

.pricing-toggle-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--ash);
  background: transparent;
}

.pricing-toggle-btn.active {
  background: var(--gold);
  color: var(--noir);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3-column layout for B2C tiers */
@media (min-width: 960px) {
  .pricing-cards-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-cards-b2b {
  max-width: 600px;
}

@media (min-width: 768px) {
  .pricing-cards-b2b {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.5s var(--transition-smooth);
  overflow: hidden;
}

.pricing-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(201, 169, 110, 0.3);
  background: rgba(26, 26, 26, 0.7);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-tier-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}

.pricing-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 8px;
}

.pricing-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.78rem;
  color: var(--ash);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.pricing-price span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--ash);
}

.pricing-period {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  color: var(--ash);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--ivory);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--ash);
  opacity: 0.5;
}

.pricing-features li.disabled::before {
  content: '—';
  color: var(--ash);
}

/* B2B Card */
.b2b-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(201, 169, 110, 0.05) 100%);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.b2b-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.b2b-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
}

.b2b-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--ivory);
  margin-bottom: 12px;
}

.b2b-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.85rem;
  color: var(--ash);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.b2b-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.b2b-feature-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--ivory);
  padding: 8px 16px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50px;
  letter-spacing: 0.5px;
}

#pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --pricing-navy: #123762;
  --pricing-blue: #B8DDF0;
  --pricing-yellow: #EFB600;
  --pricing-paper: #FFFDF5;
  --pricing-cream: #F7F2E7;
  --pricing-ink: #0B2340;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 221, 240, 0.48), transparent 26%),
    radial-gradient(circle at 84% 78%, rgba(239, 182, 0, 0.16), transparent 24%),
    linear-gradient(180deg, #F7F2E7 0%, #FFFFFF 48%, #F4EEE2 100%);
}

#pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 55, 98, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 55, 98, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

#pricing .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(18, 55, 98, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.74);
  color: var(--pricing-navy);
  box-shadow: 0 14px 34px rgba(18, 55, 98, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#pricing .section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pricing-yellow);
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(239, 182, 0, 0.15);
}

#pricing .section-title {
  color: var(--pricing-ink);
  font-weight: 600;
}

#pricing .section-title .gold-gradient {
  font-weight: 600;
}

#pricing .section-subtitle {
  color: #263549;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.85;
}

#pricing .pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1120px;
  margin: 58px auto 0;
  align-items: stretch;
}

@media (min-width: 960px) {
  #pricing .pricing-cards-3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#pricing .pricing-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: visible;
  padding: 38px 28px 28px;
  border: 2px solid rgba(18, 55, 98, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(246, 241, 231, 0.95));
  box-shadow: 0 24px 58px rgba(18, 55, 98, 0.14);
  color: var(--pricing-ink);
  transform: translateY(var(--pricing-parallax-y, 0px)) rotate(var(--pricing-tilt, 0deg));
  transform-origin: center;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.34s ease, border-color 0.34s ease;
}

#pricing .pricing-card::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: -20px;
  height: 32px;
  z-index: 3;
  border-radius: 4px;
  background:
    linear-gradient(90deg, var(--pricing-yellow) 0 15%, transparent 15% 20%, var(--pricing-paper) 20% 100%);
  border: 2px solid rgba(18, 55, 98, 0.18);
  border-top-color: rgba(18, 55, 98, 0.28);
  box-shadow: 0 12px 22px rgba(18, 55, 98, 0.14);
}

#pricing .pricing-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 12px;
  z-index: 1;
  background:
    radial-gradient(circle at 8px -1px, transparent 7px, var(--pricing-paper) 7.5px) 0 0 / 16px 12px repeat-x;
  pointer-events: none;
}

#pricing .pricing-card:hover,
#pricing .pricing-card:focus-within {
  z-index: 5;
  border-color: rgba(18, 55, 98, 0.3);
  box-shadow: 0 30px 76px rgba(18, 55, 98, 0.2);
  transform: translateY(calc(var(--pricing-parallax-y, 0px) - 10px)) rotate(0deg) scale(1.015);
}

#pricing .pricing-card--premium {
  background:
    linear-gradient(145deg, rgba(255, 253, 245, 1), rgba(255, 246, 207, 0.96));
  box-shadow: 6px 6px 0 rgba(239, 182, 0, 0.88), 0 28px 70px rgba(18, 55, 98, 0.18);
}

#pricing .pricing-card--b2b {
  border-color: rgba(255, 253, 245, 0.18);
  background:
    linear-gradient(145deg, #123762 0%, #0B2340 100%);
  color: #FFFFFF;
  box-shadow: 6px 6px 0 rgba(239, 182, 0, 0.86), 0 28px 72px rgba(18, 55, 98, 0.22);
}

#pricing .pricing-card--b2b::after {
  background:
    radial-gradient(circle at 8px -1px, transparent 7px, #123762 7.5px) 0 0 / 16px 12px repeat-x;
}

.pricing-card-pin {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pricing-yellow);
  box-shadow: 0 0 0 5px rgba(239, 182, 0, 0.17);
  transform: translateX(-50%);
}

#pricing .pricing-badge {
  position: absolute;
  top: 22px;
  right: 18px;
  z-index: 5;
  padding: 7px 10px;
  border: 1px solid rgba(18, 55, 98, 0.16);
  border-radius: 999px;
  background: var(--pricing-yellow);
  color: var(--pricing-ink);
  box-shadow: 4px 4px 0 rgba(18, 55, 98, 0.18);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

#pricing .pricing-tier-label {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(18, 55, 98, 0.08);
  color: var(--pricing-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#pricing .pricing-card--b2b .pricing-tier-label {
  background: rgba(255, 253, 245, 0.12);
  color: var(--pricing-yellow);
}

#pricing .pricing-name {
  margin-bottom: 10px;
  color: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.18;
}

#pricing .pricing-desc {
  min-height: 78px;
  margin-bottom: 24px;
  color: #263549;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.65;
}

#pricing .pricing-card--b2b .pricing-desc {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-price-block {
  position: relative;
  margin-bottom: 24px;
  padding: 20px 18px;
  border: 2px solid rgba(18, 55, 98, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 -10px 24px rgba(18, 55, 98, 0.04);
}

#pricing .pricing-card--b2b .pricing-price-block {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -10px 24px rgba(0, 0, 0, 0.08);
}

#pricing .pricing-real {
  width: fit-content;
  margin-bottom: 2px;
  color: #667085;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

#pricing .pricing-card--b2b .pricing-real {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

#pricing .pricing-price {
  margin-bottom: 0;
  color: var(--pricing-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

#pricing .pricing-card--premium .pricing-price {
  color: #A77800;
}

#pricing .pricing-card--b2b .pricing-price {
  color: var(--pricing-yellow);
}

#pricing .pricing-period {
  margin: 8px 0 0;
  color: #4B5B70;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.65px;
}

#pricing .pricing-card--b2b .pricing-period {
  color: rgba(255, 255, 255, 0.62);
}

#pricing .pricing-features {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  list-style: none;
}

#pricing .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0;
  border: 0;
  color: #1A2E47;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

#pricing .pricing-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--pricing-yellow);
  box-shadow: 0 0 0 4px rgba(239, 182, 0, 0.14);
  flex-shrink: 0;
}

#pricing .b2b-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 28px;
}

#pricing .b2b-feature-tag {
  padding: 8px 10px;
  border: 1px solid rgba(255, 253, 245, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.1);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.pricing-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 18px;
  border: 2px solid var(--pricing-navy);
  border-radius: 999px;
  background: var(--pricing-navy);
  color: #FFFFFF;
  box-shadow: 5px 5px 0 rgba(239, 182, 0, 0.86);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.pricing-card-cta:hover,
.pricing-card-cta:focus-visible {
  background: var(--pricing-yellow);
  color: var(--pricing-ink);
  box-shadow: 5px 5px 0 rgba(18, 55, 98, 0.26);
  transform: translateY(-2px);
  outline: none;
}

.pricing-card-cta--outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--pricing-navy);
  box-shadow: 5px 5px 0 rgba(239, 182, 0, 0.56);
}

.pricing-card-cta--light {
  border-color: var(--pricing-yellow);
  background: var(--pricing-yellow);
  color: var(--pricing-ink);
  box-shadow: 5px 5px 0 rgba(255, 253, 245, 0.18);
}

.pricing-card-cta--light:hover,
.pricing-card-cta--light:focus-visible {
  background: #FFFFFF;
  color: var(--pricing-ink);
}

@media (max-width: 959px) {
  #pricing .pricing-card {
    transform: translateY(var(--pricing-parallax-y, 0px)) rotate(0deg);
  }

  #pricing .pricing-card.featured {
    order: -1;
  }
}

@media (max-width: 640px) {
  #pricing .pricing-cards {
    margin-top: 44px;
    gap: 34px;
  }

  #pricing .pricing-card {
    padding: 34px 20px 22px;
  }

  #pricing .pricing-desc {
    min-height: 0;
  }

  .pricing-card-cta {
    width: 100%;
  }
}

/* Pricing ticket-strip direction */
#pricing {
  min-height: 760px;
  padding-top: 24px;
  padding-bottom: 5px;
  --pricing-chocolate: #513A28;
  --pricing-ticket: #BFE2F3;
  --pricing-ticket-line: #513A28;
  background:
    radial-gradient(circle at 50% 104%, rgba(191, 226, 243, 0.28), transparent 24%),
    radial-gradient(circle at 16% 15%, rgba(239, 182, 0, 0.14), transparent 25%),
    linear-gradient(180deg, #5A412D 0%, #4D3625 100%);
}

#pricing::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(191, 226, 243, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(191, 226, 243, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.8;
}

#pricing .container {
  max-width: none;
}

#pricing .container > div:first-child {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  text-align: left !important;
}

#pricing .section-label {
  background: rgba(191, 226, 243, 0.12);
  border-color: rgba(191, 226, 243, 0.22);
  color: var(--pricing-ticket);
  box-shadow: none;
}

#pricing .section-label::before {
  position: relative;
  background: #F7C64A;
  box-shadow: 0 0 0 5px rgba(247, 198, 74, 0.16);
  animation: pricingLabelDotPulse 1.9s ease-in-out infinite;
}

@keyframes pricingLabelDotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(247, 198, 74, 0.16);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 8px rgba(247, 198, 74, 0.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  #pricing .section-label::before {
    animation: none;
  }
}

#pricing .section-title {
  max-width: 620px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: var(--pricing-ticket);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.9rem, 8vw, 5.7rem);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
}

#pricing .section-title .gold-gradient {
  color: #F4BE35;
  background: none;
  -webkit-text-fill-color: currentColor;
}

#pricing .section-subtitle {
  max-width: 560px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: rgba(255, 253, 245, 0.8);
}

.pricing-stage {
  position: static;
  margin-top: clamp(42px, 8vw, 72px);
  overflow: visible;
  min-height: 450px;
  padding: 52px 0 130px;
}

.pricing-ticket-rail {
  position: relative;
  width: 100%;
  overflow: visible;
}

#pricing .pricing-cards {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 5px;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, 7vw);
  --pricing-strip-x: 10vw;
  --pricing-strip-rotate: 8deg;
  transform: translate3d(var(--pricing-strip-x), 0, 0) rotate(var(--pricing-strip-rotate));
  transform-origin: center;
  will-change: transform;
}

#pricing .pricing-card {
  --pricing-card-y: 0px;
  --pricing-card-rotate: 0deg;
  --pricing-card-scale: 1;
  --pricing-card-bg: var(--pricing-ticket);
  width: clamp(270px, 27vw, 360px);
  min-height: 270px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  grid-template-areas:
    "tier name"
    "price desc"
    "features features"
    "cta cta";
  gap: 8px 13px;
  padding: 34px 38px 30px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--pricing-card-bg);
  color: var(--pricing-ticket-line);
  clip-path: polygon(
    10% 0,
    90% 0,
    90.7% 2.6%,
    92.8% 5.4%,
    96% 6.8%,
    100% 7.2%,
    100% 92.8%,
    96% 93.2%,
    92.8% 94.6%,
    90.7% 97.4%,
    90% 100%,
    10% 100%,
    9.3% 97.4%,
    7.2% 94.6%,
    4% 93.2%,
    0 92.8%,
    0 7.2%,
    4% 6.8%,
    7.2% 5.4%,
    9.3% 2.6%
  );
  box-shadow: none;
  filter: drop-shadow(0 18px 0 rgba(22, 22, 22, 0.16)) drop-shadow(0 30px 34px rgba(0, 0, 0, 0.18));
  transform: translateY(var(--pricing-card-y)) rotate(var(--pricing-card-rotate)) scale(var(--pricing-card-scale));
  transform-origin: 50% 120%;
  transition: filter 0.3s ease, transform 0.3s ease;
  will-change: transform;
}

#pricing .pricing-card > * {
  position: relative;
  z-index: 2;
}

#pricing .pricing-card:hover,
#pricing .pricing-card:focus-within {
  filter: drop-shadow(0 12px 0 rgba(22, 22, 22, 0.14)) drop-shadow(0 36px 42px rgba(0, 0, 0, 0.24));
  transform: translateY(calc(var(--pricing-card-y) - 8px)) rotate(var(--pricing-card-rotate)) scale(calc(var(--pricing-card-scale) + 0.015));
}

#pricing .pricing-card::before {
  content: '';
  position: absolute;
  inset: 13px 15px;
  height: auto;
  z-index: 1;
  border: 4px solid currentColor;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

#pricing .pricing-card::after {
  content: '';
  position: absolute;
  inset: 21px 24px;
  height: auto;
  z-index: 1;
  border: 1px solid currentColor;
  border-radius: 20px;
  background: transparent;
  opacity: 0.28;
  pointer-events: none;
}

#pricing .pricing-card--premium {
  --pricing-card-bg: #F7C64A;
  filter: drop-shadow(0 18px 0 rgba(22, 22, 22, 0.16)) drop-shadow(0 30px 34px rgba(0, 0, 0, 0.2));
}

#pricing .pricing-card--b2b {
  --pricing-card-bg: #123762;
  border-color: #BFE2F3;
  color: #BFE2F3;
  filter: drop-shadow(0 18px 0 rgba(22, 22, 22, 0.16)) drop-shadow(0 30px 34px rgba(0, 0, 0, 0.24));
}

#pricing .pricing-card--b2b::before,
#pricing .pricing-card--b2b::after {
  border-color: rgba(191, 226, 243, 0.72);
  box-shadow: none;
}

#pricing .pricing-card-pin {
  display: none;
}

#pricing .pricing-badge {
  top: 3px;
  right: 12px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 30px;
  height: 36px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 14px 14px;
  background: #513A28;
  color: transparent;
  box-shadow: 0 4px 0 rgba(81, 58, 40, 0.18), 0 10px 18px rgba(81, 58, 40, 0.18);
  transform: rotate(0deg);
  pointer-events: none;
}

#pricing .pricing-badge::before,
#pricing .pricing-badge::after {
  pointer-events: none;
}

#pricing .pricing-badge::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 15px;
  width: 14px;
  height: 14px;
  background: #F7C64A;
  clip-path: polygon(50% 0%, 61% 34%, 97% 34%, 68% 55%, 79% 90%, 50% 69%, 21% 90%, 32% 55%, 3% 34%, 39% 34%);
  transform: translate(-50%, -50%);
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.34));
}

#pricing .pricing-badge::after {
  content: '';
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 6px;
  height: 1px;
  border-top: 1px dashed rgba(247, 198, 74, 0.75);
}

#pricing .pricing-tier-label {
  grid-area: tier;
  align-self: start;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

#pricing .pricing-name {
  grid-area: name;
  margin: 0;
  color: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.98rem, 2.05vw, 1.5rem);
  font-weight: 900;
  line-height: 1.03;
  text-transform: uppercase;
}

#pricing .pricing-card--premium .pricing-name {
  padding-right: 34px;
}

#pricing .pricing-desc {
  grid-area: desc;
  min-height: 0;
  margin: 0;
  color: rgba(81, 58, 40, 0.86);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.55;
}

#pricing .pricing-card--b2b .pricing-desc {
  color: rgba(191, 226, 243, 0.78);
}

#pricing .pricing-price-block {
  grid-area: price;
  align-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#pricing .pricing-real {
  color: rgba(81, 58, 40, 0.64);
  font-size: 0.68rem;
}

#pricing .pricing-card--b2b .pricing-real {
  color: rgba(191, 226, 243, 0.62);
}

#pricing .pricing-price {
  color: inherit;
  font-size: clamp(1.5rem, 2.55vw, 2rem);
  font-weight: 900;
  line-height: 0.98;
}

#pricing .pricing-card--premium .pricing-price,
#pricing .pricing-card--b2b .pricing-price {
  color: inherit;
}

#pricing .pricing-period {
  color: rgba(81, 58, 40, 0.7);
  font-size: 0.52rem;
  font-weight: 900;
}

#pricing .pricing-card--b2b .pricing-period {
  color: rgba(191, 226, 243, 0.68);
}

#pricing .pricing-features,
#pricing .b2b-features {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 4px 0 0;
}

#pricing .pricing-features li {
  color: inherit;
  font-size: 0.58rem;
  font-weight: 850;
  line-height: 1.35;
}

#pricing .pricing-features li::before {
  width: 5px;
  height: 5px;
  margin-top: 5px;
  background: currentColor;
  box-shadow: none;
}

#pricing .b2b-feature-tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.58rem;
  font-weight: 850;
}

#pricing .b2b-feature-tag::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}

#pricing .pricing-card-cta {
  grid-area: cta;
  width: fit-content;
  min-height: 31px;
  margin-top: 4px;
  padding: 8px 13px;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font-size: 0.52rem;
}

#pricing .pricing-card-cta:hover,
#pricing .pricing-card-cta:focus-visible {
  background: var(--pricing-chocolate);
  color: var(--pricing-ticket);
  transform: translateY(-2px);
}

#pricing .pricing-card--premium .pricing-card-cta:hover,
#pricing .pricing-card--premium .pricing-card-cta:focus-visible {
  background: var(--pricing-chocolate);
  color: #F7C64A;
}

#pricing .pricing-card--b2b .pricing-card-cta:hover,
#pricing .pricing-card--b2b .pricing-card-cta:focus-visible {
  background: #BFE2F3;
  color: #123762;
}

.pricing-botanical-wheel {
  position: absolute;
  left: 50%;
  bottom: -360px;
  z-index: 0;
  width: min(468px, 77vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  --pricing-wheel-rotation: 0deg;
  --pricing-wheel-scale: 1;
  transform: translateX(-50%) rotate(var(--pricing-wheel-rotation)) scale(var(--pricing-wheel-scale));
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.pricing-botanical-wheel img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 960px) {
  #pricing .pricing-card {
    flex: 0 0 clamp(285px, 28vw, 370px);
  }
}

@media (max-width: 959px) {
  #pricing {
    min-height: auto;
    padding-bottom: 90px;
  }

  #pricing .container > div:first-child {
    text-align: center !important;
  }

  #pricing .section-title,
  #pricing .section-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pricing-stage {
    min-height: 0;
    padding: 20px 16px 150px;
  }

  #pricing .pricing-cards {
    width: 100%;
    display: grid;
    gap: 22px;
    padding: 0;
    transform: none;
  }

  #pricing .pricing-card {
    width: 100%;
    transform: none;
  }

  .pricing-botanical-wheel {
    bottom: -192px;
    width: min(384px, 91vw);
  }
}

@media (max-width: 560px) {
  #pricing .pricing-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tier"
      "name"
      "desc"
      "price"
      "features"
      "cta";
  }

  #pricing .pricing-features,
  #pricing .b2b-features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */
#testimonials {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(191, 226, 243, 0.34), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(247, 198, 74, 0.2), transparent 28%),
    linear-gradient(180deg, #FFFDF7 0%, #F8F3EA 52%, #FFFFFF 100%);
}

#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 55, 98, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(184, 148, 79, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.testimonial-heading-wrap {
  text-align: center;
}

#testimonials .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(184, 148, 79, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #8A6933;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#testimonials .section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F7C64A;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(247, 198, 74, 0.14);
  animation: testimonialLabelDotPulse 1.9s ease-in-out infinite;
}

@keyframes testimonialLabelDotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(247, 198, 74, 0.14);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 9px rgba(247, 198, 74, 0.04);
    opacity: 0.78;
  }
}

@media (prefers-reduced-motion: reduce) {
  #testimonials .section-label::before {
    animation: none;
  }
}

.testimonial-signature-accent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: end;
  width: max-content;
  margin: 0 0 22px 14px;
  color: #7ED957;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
  transform: rotate(-4deg);
  transform-origin: left center;
  z-index: 8;
}

.testimonial-signature-accent span {
  position: relative;
  z-index: 2;
}

.testimonial-signature-accent svg {
  position: absolute;
  left: calc(100% - 2px);
  top: 1px;
  width: 78px;
  height: 64px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(7deg);
  pointer-events: none;
}

.testimonial-signature-swoosh {
  stroke-width: 2.8;
  stroke-dasharray: 3 4;
}

.testimonial-signature-arrow {
  stroke-width: 2.6;
}

.testimonials-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  width: min(1120px, 100%);
  margin: 58px auto 0;
}

.testimonial-globe-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  padding: 42px 30px;
  overflow: hidden;
  border: 1px solid rgba(250, 248, 245, 0.12);
  border-radius: 50% / 16%;
  background:
    radial-gradient(circle at 50% 16%, rgba(201, 169, 110, 0.13), transparent 30%),
    radial-gradient(circle at 50% 56%, rgba(250, 248, 245, 0.08), transparent 40%),
    linear-gradient(160deg, rgba(14, 14, 14, 0.96), rgba(28, 22, 18, 0.92));
  box-shadow: inset 0 0 0 1px rgba(250, 248, 245, 0.045), 0 40px 100px rgba(0, 0, 0, 0.46);
}

.testimonial-globe-panel::before,
.testimonial-globe-panel::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 226, 243, 0.3), transparent);
}

.testimonial-globe-panel::before {
  top: 82px;
}

.testimonial-globe-panel::after {
  bottom: 84px;
}

.testimonial-globe-kicker,
.testimonial-globe-footer {
  position: absolute;
  left: 50%;
  z-index: 4;
  margin: 0;
  color: #FFFDF5;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.7rem, 1.2vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.testimonial-globe-kicker {
  top: 38px;
}

.testimonial-globe-footer {
  bottom: 38px;
  color: #BFE2F3;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.34rem, 2.1vw, 1.72rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transform: translateX(-50%) rotate(-3deg);
}

.testimonial-globe {
  position: relative;
  width: min(360px, 74vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
  margin-top: 12px;
  overflow: hidden;
}

.testimonial-globe-canvas {
  position: relative;
  z-index: 2;
  width: 96%;
  aspect-ratio: 1;
  overflow: hidden;
  background: transparent;
}

.testimonial-globe-canvas::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(250, 248, 245, 0.18), transparent 18%),
    linear-gradient(105deg, rgba(250, 248, 245, 0.08), transparent 34%, rgba(0, 0, 0, 0.34) 88%);
  pointer-events: none;
}

.testimonial-globe-canvas canvas {
  display: block;
}

.testimonial-globe-status,
.testimonial-globe-fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.testimonial-globe-status {
  width: max-content;
  max-width: 180px;
  color: rgba(250, 248, 245, 0.72);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.testimonial-globe-status.is-hidden,
.testimonial-globe-fallback.is-hidden {
  display: none;
}

.testimonial-globe-fallback {
  --map-marker-x: 26.76%;
  --map-marker-y: 71.4%;
  --map-pan-x: 19.8%;
  --map-pan-y: -18.2%;
  --map-scale: 2.14;
  --marker-counter-scale: 0.47;
  position: absolute;
  display: grid;
  place-items: center;
  gap: 10px;
  width: 92%;
  max-width: 370px;
  background: transparent;
  color: #FAF8F5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  perspective: 860px;
}

.testimonial-map-stage {
  position: relative;
  width: 124%;
  max-width: 460px;
  transform: translate3d(var(--map-pan-x), var(--map-pan-y), 0) rotateX(20deg) rotateZ(-4deg) scale(var(--map-scale));
  transform-origin: var(--map-marker-x) var(--map-marker-y);
  transition: transform 0.86s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  filter: drop-shadow(0 0 24px rgba(201, 169, 110, 0.28)) drop-shadow(0 26px 34px rgba(0, 0, 0, 0.5));
  mask-image: radial-gradient(ellipse at center, #000 48%, rgba(0, 0, 0, 0.82) 62%, transparent 78%);
}

.testimonial-globe-fallback img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
}

.testimonial-globe-fallback::before,
.testimonial-globe-fallback::after {
  content: none;
  position: absolute;
  inset: 8% -3% 20%;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.testimonial-globe-fallback::before {
  border: 1px solid rgba(250, 248, 245, 0.08);
  background:
    radial-gradient(circle at 35% 22%, rgba(250, 248, 245, 0.16), transparent 20%),
    linear-gradient(115deg, rgba(250, 248, 245, 0.05), transparent 42%, rgba(14, 14, 14, 0.22));
  transform: rotateX(18deg) rotateZ(-4deg) scale(1.06);
  mix-blend-mode: screen;
}

.testimonial-globe-fallback::after {
  box-shadow: inset -28px -22px 46px rgba(0, 0, 0, 0.26), inset 18px 12px 34px rgba(250, 248, 245, 0.05);
  transform: rotateX(18deg) rotateZ(-4deg) scale(1.06);
}

.testimonial-globe-progress {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  width: min(74%, 260px);
  height: 24px;
  margin-top: -4px;
  overflow: visible;
}

.testimonial-globe-progress span {
  --bar-fill: 0;
  --bar-scale: 1;
  position: relative;
  width: 2px;
  height: 13px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.18), rgba(170, 170, 170, 0.36));
  box-shadow: inset 0 0 0 1px rgba(250, 248, 245, 0.035);
  transform: scaleY(var(--bar-scale)) translateZ(0);
  transform-origin: bottom center;
  transition: box-shadow 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-globe-progress span::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #FFFDF5, rgba(232, 221, 199, 0.94));
  box-shadow: 0 0 12px rgba(250, 248, 245, 0.24);
  transform: scaleY(var(--bar-fill));
  transform-origin: bottom;
  will-change: transform;
}

.testimonial-globe-progress span.is-filled {
  box-shadow: 0 0 12px rgba(250, 248, 245, 0.34);
}

.testimonial-globe-progress span.is-active {
  box-shadow: 0 0 14px rgba(250, 248, 245, 0.3);
}

.testimonial-map-active-marker {
  position: absolute;
  left: var(--map-marker-x);
  top: var(--map-marker-y);
  z-index: 4;
  width: 13px;
  height: 13px;
  border: 2px solid #FAF8F5;
  border-radius: 50%;
  background: #C9A96E;
  box-shadow: 0 0 0 7px rgba(201, 169, 110, 0.16), 0 0 26px rgba(201, 169, 110, 0.8);
  transform: translate(-50%, -50%) scale(var(--marker-counter-scale));
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1), top 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-map-active-marker::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  border-radius: 50%;
  animation: testimonialMapMarkerPulse 1.8s ease-out infinite;
}

.testimonial-globe-fallback strong {
  position: relative;
  z-index: 5;
  color: rgba(250, 248, 245, 0.76);
}

@keyframes testimonialMapMarkerPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.testimonial-card-panel {
  position: relative;
  min-height: 470px;
  display: grid;
  align-content: center;
}

.testimonials-track {
  position: relative;
  min-height: 360px;
  overflow: visible;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  min-height: 340px;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(191, 226, 243, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 14%, rgba(247, 198, 74, 0.18), transparent 20%),
    linear-gradient(145deg, rgba(255, 253, 245, 0.96), rgba(244, 238, 226, 0.9));
  color: #123762;
  box-shadow: 10px 10px 0 rgba(247, 198, 74, 0.72), 0 30px 76px rgba(18, 55, 98, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(42px) scale(0.94);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(18, 55, 98, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  right: 32px;
  bottom: -42px;
  color: rgba(18, 55, 98, 0.08);
  font-family: 'Cormorant Garamond', serif;
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card.is-active {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  transform: translateY(0) scale(1);
}

.testimonial-card.is-active:focus-visible {
  outline: 2px solid #F7C64A;
  outline-offset: 5px;
}

.testimonial-card.is-next {
  z-index: 2;
  opacity: 0.5;
  transform: translateY(26px) scale(0.955);
}

.testimonial-card.is-prev {
  z-index: 1;
  opacity: 0.24;
  transform: translateY(-24px) scale(0.93);
}

.testimonial-card > * {
  position: relative;
  z-index: 2;
}

.testimonial-stars {
  color: #EFB600;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testimonial-text {
  max-width: 620px;
  margin: 0 0 28px;
  color: #102D51;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #123762;
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.86), transparent 26%),
    linear-gradient(145deg, #BFE2F3, #F7C64A);
  box-shadow: 5px 5px 0 rgba(18, 55, 98, 0.18);
  color: #123762;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: #0B2340;
}

.testimonial-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: rgba(18, 55, 98, 0.72);
}

.testimonial-place {
  width: fit-content;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #123762;
  color: #FFFDF5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

@keyframes testimonialGlobeGridDrift {
  0% {
    transform: translateX(-8%) rotateZ(-4deg);
  }
  100% {
    transform: translateX(8%) rotateZ(-4deg);
  }
}

@media (max-width: 920px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .testimonial-globe-panel {
    display: none;
  }

  .testimonial-card-panel {
    min-height: 400px;
  }
}

@media (max-width: 560px) {
  .testimonials-container {
    margin-top: 40px;
  }

  .testimonial-signature-accent {
    margin: 0 0 16px 6px;
    font-size: 1.25rem;
    transform: rotate(-4deg);
  }

  .testimonial-signature-accent svg {
    top: -1px;
    width: 56px;
    height: 46px;
  }

  .testimonial-globe-panel {
    min-height: 370px;
    padding: 28px 18px;
  }

  .testimonial-globe-panel::before {
    top: 60px;
  }

  .testimonial-globe-panel::after {
    bottom: 60px;
  }

  .testimonial-globe-kicker {
    top: 30px;
  }

  .testimonial-globe-footer {
    bottom: 30px;
  }

  .testimonial-globe {
    width: min(280px, 78vw);
  }

  .testimonial-card {
    padding: 30px 26px;
  }

  .testimonial-card::before {
    inset: 12px;
  }

  .testimonial-text {
    font-size: 0.96rem;
  }
}

/* ---------- Header FAQ Menu ---------- */
.faq-container {
  max-width: none;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(18, 55, 98, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: #123762;
  padding-right: 16px;
  letter-spacing: 0;
  line-height: 1.45;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(18, 55, 98, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: #123762;
  font-size: 0.8rem;
}

.faq-item.active .faq-icon {
  background: #7ED957;
  border-color: #7ED957;
  color: #111111;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 44px 20px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  color: rgba(18, 55, 98, 0.72);
  line-height: 1.7;
}

@media (max-width: 920px) {
  .nav-faq-menu {
    top: 82px;
    width: calc(100vw - 32px);
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }

  .nav-faq-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .nav-faq-title {
    font-size: 2rem;
  }

  .faq-question {
    padding: 16px 0;
  }

  .faq-answer-inner {
    padding-right: 10px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: clamp(42px, 7vw, 72px) 20px 24px;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 169, 110, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.98), #0E0E0E 100%);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: clamp(32px, 7vw, 96px);
  margin-bottom: 34px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.footer-brand-block {
  max-width: 520px;
}

.footer-brand-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  color: var(--ash);
  margin-top: 18px;
  line-height: 1.7;
  max-width: 430px;
}

.footer-working-hours {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 14px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  color: rgba(250, 248, 245, 0.58);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-legal-links a:hover {
  color: var(--gold);
}

.footer-apps-block {
  justify-self: start;
}

@media (min-width: 768px) {
  .footer-apps-block {
    justify-self: end;
    text-align: right;
  }

  .footer-apps-block .footer-app-link {
    justify-content: flex-end;
  }
}

/* Footer App Link with mini icon */
.footer-app-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 999px;
  background: rgba(250, 248, 245, 0.035);
}

.footer-app-icon {
  position: relative;
  width: 20px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
}

.footer-app-icon-back {
  position: absolute;
  width: 14px;
  height: 17px;
  background: linear-gradient(145deg, #00BCD4 0%, #2ECC71 100%);
  border-radius: 3px;
  top: 0;
  left: 5px;
  transform: rotate(9deg);
  opacity: 0.85;
}

.footer-app-icon-front {
  position: absolute;
  width: 14px;
  height: 17px;
  background: linear-gradient(145deg, #1A72E8 0%, #3D5AFE 100%);
  border-radius: 3px;
  bottom: 0;
  left: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2px;
  gap: 1px;
}

.footer-app-icon-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 5px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 1px;
}

.footer-app-icon-lines {
  display: flex;
  align-items: center;
  gap: 1.5px;
}

.footer-app-icon-dot {
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-app-icon-line {
  height: 1px;
  border-radius: 99px;
  background: rgba(255,255,255,0.6);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 14px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
  }
}

.footer-copyright,
.footer-credit {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  color: var(--ash);
}

.footer-credit {
  color: rgba(250, 248, 245, 0.68);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

@media (min-width: 768px) {
  .footer-socials {
    justify-self: end;
  }
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ash);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
}

/* ---------- WhatsApp Floating Button (Animated) ---------- */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  /* Entry animation */
  opacity: 0;
  transform: scale(0);
  animation: waEntrance 0.5s var(--transition-smooth) 1s forwards;
}

@keyframes waEntrance {
  0% { opacity: 0; transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.wa-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px;
  border-radius: 50px;
  background: #25D366;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  overflow: visible;
}

.wa-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.5);
}

.wa-float-btn:active {
  transform: scale(0.95);
}

/* Pulse ring */
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: #25D366;
  animation: waPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Icon */
.wa-float-icon {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wa-float-icon svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
  display: block;
}

/* Expandable text */
.wa-float-text {
  position: relative;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: #FFFFFF;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.3s var(--transition-smooth), opacity 0.3s ease, margin 0.3s ease;
  margin-left: 0;
}

.wa-float-btn:hover .wa-float-text {
  max-width: 120px;
  opacity: 1;
  margin-left: 10px;
}

/* Notification badge */
.wa-float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--noir);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  /* Bounce entrance */
  opacity: 0;
  transform: scale(0);
  animation: waBadgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.5s forwards;
}

@keyframes waBadgePop {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- Scroll Animations ---------- */

/* Base fade-up (default) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- NEW: Blur-to-focus reveal ---- */
.reveal-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: opacity 1s var(--transition-smooth), filter 1s var(--transition-smooth), transform 1s var(--transition-smooth);
}

.reveal-blur.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ---- NEW: Gate Open (curtain from center) ---- */
.reveal-gate {
  clip-path: inset(0 50% 0 50%);
  opacity: 0;
  transition: clip-path 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

.reveal-gate.visible {
  clip-path: inset(0 0% 0 0%);
  opacity: 1;
}

/* ---- NEW: Clip reveal from bottom ---- */
.reveal-clip-up {
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.reveal-clip-up.visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* ---- NEW: Clip reveal from left ---- */
.reveal-clip-left {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.reveal-clip-left.visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* ---- NEW: Rotate in from slight angle ---- */
.reveal-rotate {
  opacity: 0;
  transform: perspective(800px) rotateY(8deg) translateX(-30px);
  transition: opacity 1s var(--transition-smooth), transform 1s var(--transition-smooth);
}

.reveal-rotate.visible {
  opacity: 1;
  transform: perspective(800px) rotateY(0) translateX(0);
}

/* ---- NEW: Float up with gentle bounce ---- */
.reveal-float {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--transition-smooth), transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-float.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- NEW: Staggered children (apply to parent, children animate) ---- */
.reveal-stagger.visible > * {
  animation: staggerFadeUp 0.7s var(--transition-smooth) both;
}

.reveal-stagger > *:nth-child(1) { animation-delay: 0s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { animation-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { animation-delay: 0.40s; }
.reveal-stagger > *:nth-child(7) { animation-delay: 0.48s; }
.reveal-stagger > *:nth-child(8) { animation-delay: 0.56s; }
.reveal-stagger > *:nth-child(9) { animation-delay: 0.64s; }

@keyframes staggerFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- NEW: Gold line expand (decorative divider) ---- */
.reveal-line {
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-line.visible {
  width: 80px;
}

/* ---- NEW: Section separator with gate animation ---- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.section-divider.visible {
  opacity: 1;
}

.section-divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  flex: 1;
  max-width: 120px;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-divider.visible .section-divider-line {
  transform: scaleX(1);
}

.section-divider-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}

.section-divider.visible .section-divider-dot {
  transform: scale(1);
}

/* ---------- Counter Animation ---------- */
.counter { display: inline-block; }

/* ---------- Additional Mobile Optimizations ---------- */
@media (max-width: 767px) {
  html,
  body,
  .page-content {
    max-width: 100%;
    overflow-x: hidden;
  }

  .reveal-left,
  .reveal-right,
  .reveal-rotate {
    transform: translateY(40px);
  }

  .reveal-left.visible,
  .reveal-right.visible,
  .reveal-rotate.visible {
    transform: translateY(0);
  }
}

@media (max-width: 479px) {
  .hero {
    padding: 124px 18px 72px;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 2px;
    gap: 8px;
    padding: 6px 14px 6px 8px;
  }

  .hero-badge-shape-wrap {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .hero-badge-shape-svg {
    width: 16px;
    height: 16px;
  }

  .section-padding {
    padding: 48px 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .wa-float {
    bottom: 20px;
    right: 20px;
  }

  .wa-float-btn {
    padding: 14px;
  }

  .wa-float-icon svg {
    width: 24px;
    height: 24px;
  }

  .wa-float-badge {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
    top: -3px;
    right: -3px;
  }

  /* Hide expand text on small mobile */
  .wa-float-btn:hover .wa-float-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 20px;
  padding: 3px;
}

/* When inside navbar, refine for compact fit */
.navbar .lang-toggle {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.navbar.scrolled .lang-toggle {
  background: rgba(255, 255, 255, 0.96);
}

.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: none;
  color: #123762;
  background: transparent;
  border: none;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: #111111;
}

.lang-btn.active {
  color: #FFFFFF;
  background: #123762;
  font-weight: 500;
}


/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(239, 182, 0, 0.26), transparent 18%),
    radial-gradient(circle at 55% 40%, rgba(184, 221, 240, 0.62), transparent 34%),
    radial-gradient(circle at 14% 76%, rgba(239, 182, 0, 0.13), transparent 26%),
    linear-gradient(180deg, #F7F2E7 0%, #FFFFFF 48%, #F4EEE2 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  color: #0B2340;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader::before,
.preloader::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preloader::before {
  background:
    linear-gradient(90deg, rgba(18, 55, 98, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 55, 98, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.72;
  mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 74%, transparent 100%);
}

.preloader::after {
  z-index: 4;
  background: #FFFDF5;
  transform: translateY(100%);
  transition: transform 0.78s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader.is-transitioning::after {
  transform: translateY(0);
}

.preloader-logo {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.65rem, 8vw, 5.9rem);
  color: #0B2340;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 0.86;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 44px rgba(18, 55, 98, 0.16);
  transform-origin: center;
  will-change: transform, opacity;
}

.preloader-logo-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.preloader-logo .preloader-dot {
  display: inline-block;
  width: clamp(8px, 1.3vw, 13px);
  height: clamp(8px, 1.3vw, 13px);
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  top: -0.45em;
  margin-left: 0.02em;
  opacity: 0;
  transform: scale(0.3);
  box-shadow:
    0 0 0 8px rgba(239, 182, 0, 0.15),
    0 12px 28px rgba(18, 55, 98, 0.12);
  will-change: transform, opacity;
}

.preloader-bar {
  position: relative;
  z-index: 5;
  width: clamp(160px, 22vw, 260px);
  height: 1px;
  background: rgba(18, 55, 98, 0.16);
  overflow: hidden;
  transform-origin: left center;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), #B8DDF0, transparent);
  transform: translateX(-100%);
  animation: preloaderSlide 1.15s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader::before,
  .preloader::after,
  .preloader-bar::after {
    animation: none;
    transition: none;
  }

  .preloader-logo-text {
    clip-path: none;
  }

  .preloader-logo .preloader-dot {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Smooth page transitions ---------- */
.page-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.page-content.loaded {
  opacity: 1;
}

/* ---------- Template Showcase / Design Gallery (Auto-scroll) ---------- */

/* Template Filter Container */
.template-filter-container {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
  padding: 0 20px;
}

.template-filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--ash);
  background: rgba(26, 26, 26, 0.4);
  border: 1.5px solid rgba(201, 169, 110, 0.2);
  padding: 10px 24px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.filter-btn:hover {
  color: var(--ivory);
  border-color: rgba(201, 169, 110, 0.4);
  background: rgba(26, 26, 26, 0.6);
  transform: translateY(-2px);
}

.filter-btn.active {
  color: var(--noir);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--noir);
  animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
  from {
    width: 0;
    left: 50%;
  }
  to {
    width: 100%;
    left: 0;
  }
}

/* ─────────────────────────────────────────── */

.template-carousel {
  display: flex;
  gap: 40px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 20px 20px;
  margin-top: 48px;
}

.template-carousel::-webkit-scrollbar {
  display: none;
}

.template-slide {
  min-width: 220px;
  max-width: 220px;
  aspect-ratio: 9/16;
  border-radius: 16px;
  overflow: visible;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(201, 169, 110, 0.1);
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(201, 169, 110, 0.04) 100%);
  /* Only transition visual properties */
  transition: border-color 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  /* Default: dimmed */
  opacity: 0.5;
  filter: brightness(0.7);
  will-change: transform;
}

/* All children pass pointer events up to the slide/track */
.template-slide * {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.template-slide.center-active {
  opacity: 1;
  filter: brightness(1);
  border-color: rgba(201, 169, 110, 0.3);
}

.template-popular-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--noir);
  background: linear-gradient(135deg, var(--gold) 0%, #E0C992 100%);
  border-radius: 999px;
  padding: 5px 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

@media (min-width: 480px) {
  .template-slide {
    min-width: 260px;
    max-width: 260px;
  }
}

.template-slide:hover {
  border-color: rgba(201, 169, 110, 0.25);
  opacity: 1;
  filter: brightness(1);
}

.template-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
  /* Prevent native browser image drag from hijacking pointer capture */
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
  draggable: false;
}

.template-slide:hover img {
  transform: scale(1.05);
}

/* Placeholder when image not loaded */
.template-slide-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1A1A1A 0%, rgba(201, 169, 110, 0.04) 100%);
}

.template-slide-emoji {
  font-size: 2.5rem;
}

.template-slide-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ivory);
}

.template-slide-type {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--ash);
}

/* Label overlay at bottom of slide */
.template-slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.template-slide:hover .template-slide-label {
  opacity: 1;
  transform: translateY(0);
}

.template-slide-label span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ivory);
}

.template-slide-label small {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Template Market Grid ---------- */
#templates {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --market-navy: #123762;
  --market-blue: #B8DDF0;
  --market-yellow: #EFB600;
  --market-paper: #FFFDF5;
  --market-ink: #0B2340;
  background:
    radial-gradient(circle at 18% 15%, rgba(184, 221, 240, 0.42), transparent 26%),
    radial-gradient(circle at 84% 82%, rgba(239, 182, 0, 0.15), transparent 24%),
    linear-gradient(180deg, #F7F2E7 0%, #FFFFFF 44%, #F4EEE2 100%);
}

#templates::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 55, 98, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 55, 98, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
}

#templates .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 7px 13px;
  border: 1px solid rgba(18, 55, 98, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.72);
  color: var(--market-navy);
  box-shadow: 0 14px 34px rgba(18, 55, 98, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#templates .section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--market-yellow);
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(239, 182, 0, 0.15);
}

#templates .section-title {
  color: var(--market-ink);
  font-weight: 600;
}

#templates .section-title .gold-gradient {
  font-weight: 600;
}

#templates .section-subtitle {
  color: #263549;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.85;
}

#templates .filter-btn {
  position: relative;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--market-navy);
  background: rgba(255, 253, 245, 0.86);
  border-color: rgba(18, 55, 98, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(18, 55, 98, 0.08);
}

#templates .filter-btn .button-loop-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

#templates .filter-btn:hover {
  color: var(--market-ink);
  border-color: rgba(18, 55, 98, 0.28);
  background: #FFFFFF;
}

#templates .filter-btn.active {
  color: #FFFFFF;
  background: var(--market-navy);
  border-color: var(--market-navy);
  box-shadow: 5px 5px 0 rgba(239, 182, 0, 0.9), 0 12px 30px rgba(18, 55, 98, 0.15);
}

.template-market-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto 0;
}

.template-market-shell::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  top: 70px;
  height: 18px;
  z-index: 2;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--market-yellow) 0 8%, transparent 8% 10%, var(--market-navy) 10% 90%, transparent 90% 92%, var(--market-yellow) 92% 100%);
  box-shadow: 0 16px 28px rgba(18, 55, 98, 0.18);
  pointer-events: none;
}

.template-market-shell::after {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  top: 78px;
  z-index: 1;
  height: 1px;
  background: rgba(255, 253, 245, 0.48);
  pointer-events: none;
}

.template-market-guidance {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 10px 15px;
  border: 1px dashed rgba(18, 55, 98, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.76);
  color: #263549;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 30px rgba(18, 55, 98, 0.07);
}

.template-market-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(196px, 1fr);
  gap: 34px 18px;
  padding: 44px 18px 32px;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--market-navy) rgba(18, 55, 98, 0.08);
  cursor: grab;
  user-select: none;
}

.template-market-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.template-market-grid.is-dragging .template-market-card {
  pointer-events: none;
}

.template-market-grid::-webkit-scrollbar {
  height: 9px;
}

.template-market-grid::-webkit-scrollbar-track {
  background: rgba(18, 55, 98, 0.08);
  border-radius: 999px;
}

.template-market-grid::-webkit-scrollbar-thumb {
  background: var(--market-navy);
  border-radius: 999px;
}

.template-market-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 11px;
  padding: 15px 11px 12px;
  border: 2px solid rgba(18, 55, 98, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 253, 245, 0.98), rgba(246, 241, 231, 0.94));
  box-shadow: 0 20px 48px rgba(18, 55, 98, 0.13);
  transform: rotate(var(--market-tilt));
  transform-origin: center;
  scroll-snap-align: start;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.34s ease, border-color 0.34s ease;
}

.template-market-card::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: -25px;
  height: 32px;
  z-index: 3;
  border-radius: 4px;
  background:
    linear-gradient(90deg, var(--market-yellow) 0 16%, transparent 16% 21%, var(--market-paper) 21% 100%);
  border: 2px solid rgba(18, 55, 98, 0.18);
  border-top-color: rgba(18, 55, 98, 0.28);
  box-shadow: 0 12px 22px rgba(18, 55, 98, 0.14);
}

.template-market-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 12px;
  background:
    radial-gradient(circle at 8px -1px, transparent 7px, var(--market-paper) 7.5px) 0 0 / 16px 12px repeat-x;
  pointer-events: none;
}

.template-market-card:hover,
.template-market-card:focus-within {
  z-index: 5;
  border-color: rgba(18, 55, 98, 0.28);
  box-shadow: 0 28px 70px rgba(18, 55, 98, 0.19);
  transform: translateY(-8px) rotate(0deg) scale(1.02);
}

.template-market-pin {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--market-yellow);
  box-shadow: 0 0 0 5px rgba(239, 182, 0, 0.16);
  transform: translateX(-50%);
}

.template-market-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 531 / 454;
  border: 2px solid var(--market-navy);
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.62), transparent 24%),
    linear-gradient(160deg, var(--market-blue) 0%, #F9F1D9 42%, #E0B94E 100%);
}

.template-market-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.template-market-card:hover .template-market-media img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.template-market-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px;
  color: var(--market-ink);
  text-align: center;
}

.template-market-placeholder span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--market-navy);
  border-radius: 50%;
  background: var(--market-paper);
  box-shadow: 5px 5px 0 rgba(239, 182, 0, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
}

.template-market-placeholder strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.template-market-card.is-missing-image .template-market-media img {
  display: none;
}

.template-market-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(18, 55, 98, 0.14);
  border-radius: 999px;
  background: var(--market-yellow);
  color: var(--market-ink);
  box-shadow: 4px 4px 0 rgba(18, 55, 98, 0.18);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.template-market-info {
  display: grid;
  gap: 7px;
}

.template-market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.template-market-meta span {
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(18, 55, 98, 0.08);
  color: var(--market-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.template-market-info h3 {
  min-height: 33px;
  margin: 0;
  color: var(--market-ink);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 800;
  line-height: 1.3;
}

.template-market-actions {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 7px;
}

.template-market-actions a:only-child {
  grid-column: 1 / -1;
}

.template-market-actions a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 8px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.template-market-preview {
  border: 1px solid rgba(18, 55, 98, 0.2);
  color: var(--market-navy);
  background: rgba(255, 255, 255, 0.72);
}

.template-market-checkout {
  border: 1px solid var(--market-navy);
  color: #FFFFFF;
  background: var(--market-navy);
  box-shadow: 4px 4px 0 rgba(239, 182, 0, 0.86);
}

.template-market-actions a:hover {
  transform: translateY(-2px);
}

.template-market-preview:hover {
  color: var(--market-ink);
  background: #FFFFFF;
}

.template-market-checkout:hover {
  background: var(--market-yellow);
  color: var(--market-ink);
  box-shadow: 4px 4px 0 rgba(18, 55, 98, 0.28);
}

.template-carousel,
.template-carousel + p,
.template-carousel + p + div {
  display: none;
}

@media (max-width: 1120px) {
  .template-market-grid {
    grid-auto-columns: minmax(190px, 1fr);
  }
}

@media (max-width: 860px) {
  .template-market-grid {
    grid-auto-columns: minmax(180px, 42vw);
  }
}

@media (max-width: 640px) {
  .template-market-shell {
    width: min(100%, calc(100% - 24px));
  }

  .template-market-grid {
    grid-auto-columns: minmax(170px, 64vw);
    gap: 20px 12px;
    padding-inline: 10px;
  }
}

@media (max-width: 420px) {
  .template-market-grid {
    grid-auto-columns: minmax(168px, 76vw);
    margin: 0;
  }
}

/* ---------- Marquee (Features Highlight) ---------- */
.marquee-wrapper {
  --marquee-navy: #123762;
  --marquee-ink: #0B2340;
  --marquee-yellow: #EFB600;
  --marquee-paper: #FFFDF5;
  --marquee-blue: #B8DDF0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 38px;
  background:
    radial-gradient(circle at 12% 50%, rgba(184, 221, 240, 0.34), transparent 24%),
    radial-gradient(circle at 88% 44%, rgba(239, 182, 0, 0.18), transparent 22%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F3EA 100%);
  border-top: 1px solid rgba(18, 55, 98, 0.1);
  border-bottom: 1px solid rgba(18, 55, 98, 0.1);
}

.marquee-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(18, 55, 98, 0.055) 49% 49.12%, transparent 49.12% 100%),
    linear-gradient(rgba(18, 55, 98, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 42px;
  opacity: 0.48;
  pointer-events: none;
}

.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  left: 0;
  right: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 16%, rgba(247, 243, 234, 0) 84%, #F7F3EA 100%);
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-inline: 22px;
  animation: marquee 42s linear infinite;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  --marquee-accent: var(--marquee-yellow);
  --marquee-soft: #F9EEC9;
  position: relative;
  isolation: isolate;
  width: clamp(112px, 10vw, 138px);
  height: clamp(112px, 10vw, 138px);
  padding: 28px 14px 18px;
  overflow: visible;
  border: 2px solid rgba(18, 55, 98, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, var(--marquee-paper), color-mix(in srgb, var(--marquee-soft) 54%, #FFFFFF));
  box-shadow:
    8px 8px 0 color-mix(in srgb, var(--marquee-accent) 86%, transparent),
    0 22px 50px rgba(18, 55, 98, 0.1);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  color: var(--marquee-ink);
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  text-align: center;
  line-height: 1.18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}

.marquee-item::before {
  content: '';
  position: absolute;
  inset: 9px;
  z-index: -1;
  border-radius: 50%;
  border: 1px dashed rgba(18, 55, 98, 0.2);
  transform: rotate(10deg);
  transition: transform 0.34s ease, border-color 0.3s ease;
}

.marquee-item::after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marquee-navy);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--marquee-accent) 16%, transparent);
}

.marquee-item:hover {
  transform: translateY(-8px) rotate(-2deg);
  border-color: rgba(18, 55, 98, 0.34);
  color: var(--marquee-navy);
  box-shadow:
    11px 11px 0 color-mix(in srgb, var(--marquee-accent) 92%, transparent),
    0 28px 66px rgba(18, 55, 98, 0.16);
}

.marquee-item:hover::before {
  border-color: color-mix(in srgb, var(--marquee-accent) 50%, rgba(18, 55, 98, 0.2));
  transform: rotate(-8deg) scale(1.02);
}

.marquee-item .marquee-dot {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 34px;
  height: 34px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), transparent 36%),
    linear-gradient(145deg, var(--marquee-accent), color-mix(in srgb, var(--marquee-accent) 52%, var(--marquee-navy)));
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow:
    0 0 0 5px var(--marquee-paper),
    0 10px 24px rgba(18, 55, 98, 0.16);
  transform: translateX(-50%);
}

.marquee-item .marquee-dot::before,
.marquee-item .marquee-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.marquee-item .marquee-dot::before {
  width: 8px;
  height: 8px;
  background: var(--marquee-paper);
}

.marquee-item .marquee-dot::after {
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--marquee-accent) 46%, transparent);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.marquee-item:hover .marquee-dot::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.marquee-item:nth-child(10n + 1) {
  --marquee-accent: #EFB600;
  --marquee-soft: #FFF0B8;
}

.marquee-item:nth-child(10n + 2) {
  --marquee-accent: #F7B7D2;
  --marquee-soft: #FDE5EF;
}

.marquee-item:nth-child(10n + 3) {
  --marquee-accent: #B8DDF0;
  --marquee-soft: #E3F3F9;
}

.marquee-item:nth-child(10n + 4) {
  --marquee-accent: #7ED957;
  --marquee-soft: #DDF8D2;
}

.marquee-item:nth-child(10n + 5) {
  --marquee-accent: #D8A7B1;
  --marquee-soft: #F5E0E5;
}

.marquee-item:nth-child(10n + 6) {
  --marquee-accent: #B8944F;
  --marquee-soft: #EFE3C7;
}

.marquee-item:nth-child(10n + 7) {
  --marquee-accent: #9FB6D8;
  --marquee-soft: #E3EAF5;
}

.marquee-item:nth-child(10n + 8) {
  --marquee-accent: #95C8C1;
  --marquee-soft: #DFF1EF;
}

.marquee-item:nth-child(10n + 9) {
  --marquee-accent: #C6A7D8;
  --marquee-soft: #EEE2F5;
}

.marquee-item:nth-child(10n) {
  --marquee-accent: #D8B2A0;
  --marquee-soft: #F4E5DE;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .marquee-wrapper {
    padding: 28px 0 30px;
  }

  .marquee-track {
    gap: 16px;
    padding-inline: 16px;
  }

  .marquee-item {
    width: 100px;
    height: 100px;
    padding: 24px 12px 14px;
    font-size: 0.7rem;
    box-shadow:
      6px 6px 0 color-mix(in srgb, var(--marquee-accent) 86%, transparent),
      0 18px 38px rgba(18, 55, 98, 0.1);
  }

  .marquee-item .marquee-dot {
    width: 28px;
    height: 28px;
  }
}

/* ---------- Mobile Comfort Pass ---------- */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 86px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .navbar {
    top: max(8px, env(safe-area-inset-top));
    padding-inline: 12px;
  }

  .navbar.scrolled {
    top: max(8px, env(safe-area-inset-top));
    padding-inline: 12px;
  }

  .navbar-inner,
  .navbar.scrolled .navbar-inner {
    grid-template-columns: 1fr auto;
    min-height: 52px;
    gap: 12px;
  }

  .navbar .nav-logo {
    padding: 8px 0;
  }

  .navbar .nav-logo-text {
    font-size: 1.34rem;
    letter-spacing: 2.4px;
  }

  .nav-logo-dot {
    width: 5px;
    height: 5px;
    top: -12px;
  }

  .mobile-menu-btn {
    position: relative;
    z-index: 1002;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    touch-action: manipulation;
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.1);
  }

  .mobile-menu-btn span {
    width: 21px;
    height: 2px;
  }

  .mobile-nav {
    top: max(8px, env(safe-area-inset-top));
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100vh - 16px);
    max-height: calc(100svh - 16px);
    padding: 72px 16px calc(22px + env(safe-area-inset-bottom));
    border-radius: 22px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-links {
    gap: 6px;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 13px 14px;
    border: 1px solid rgba(18, 55, 98, 0.1);
    border-radius: 14px;
    background: rgba(18, 55, 98, 0.045);
    color: #0B2340;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.28;
  }

  button.mobile-nav-link {
    cursor: pointer;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible {
    color: #0B2340;
    background: rgba(239, 182, 0, 0.14);
    outline: none;
  }

  .mobile-nav-sublabel {
    padding: 16px 6px 4px;
    color: #8A6933;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 1.5px;
  }

  .mobile-nav-sublink {
    min-height: 44px;
    padding: 11px 14px 11px 18px;
    border-left: 0;
    border-radius: 12px;
    background: rgba(184, 148, 79, 0.075);
    color: #263549;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .mobile-nav-sublink:hover,
  .mobile-nav-sublink:focus-visible {
    color: #0B2340;
    background: rgba(184, 148, 79, 0.14);
    outline: none;
  }

  .mobile-nav .lang-toggle {
    background: rgba(18, 55, 98, 0.08);
    border-color: rgba(18, 55, 98, 0.1);
  }

  .mobile-nav .lang-btn {
    min-width: 44px;
    min-height: 36px;
  }

  .mobile-nav .btn-gold {
    min-height: 50px;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    touch-action: manipulation;
  }

  .hero {
    min-height: auto;
    padding: 108px 16px 54px;
    justify-content: flex-start;
  }

  .hero-layout {
    gap: 18px;
  }

  .hero-title {
    font-size: clamp(2.85rem, 14.8vw, 4.25rem);
    line-height: 0.98;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    max-width: 34rem;
    margin-bottom: 24px;
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .hero-cta-group {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero .btn-gold,
  .hero .btn-gold-outline {
    min-height: 50px;
    padding: 14px 20px;
    font-size: 0.78rem;
    touch-action: manipulation;
  }

  .hero-template-stack-wrap {
    min-height: 288px;
    margin-top: 4px;
    gap: 10px;
  }

  .hero-template-note {
    top: -6px;
    left: max(8px, calc(50% - 138px));
    max-width: 158px;
    font-size: 1.18rem;
  }

  .hero-template-note span {
    max-width: 132px;
  }

  .hero-template-note svg {
    top: 8px;
    left: calc(100% - 22px);
    width: 48px;
    height: 38px;
  }

  .hero-template-stack {
    width: min(196px, 56vw);
    height: min(288px, 82vw);
  }

  .hero-stack-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .section-padding {
    padding: 56px 16px;
  }

  .section-label {
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: 1.08;
  }

  .section-subtitle {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .features-grid {
    gap: 16px;
    margin-top: 28px;
  }

  .feature-card {
    padding: 24px 18px 26px;
  }

  .feature-title {
    max-width: 100%;
    margin-top: 22px;
    font-size: 1.22rem;
  }

  .feature-desc {
    max-width: 31rem;
    font-size: 0.9rem;
  }

  .portfolio-video-layout {
    gap: 34px;
  }

  .portfolio-video-points {
    gap: 12px;
  }

  .portfolio-video-point {
    align-items: start;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 253, 245, 0.62);
  }

  .template-market-shell {
    width: min(100%, calc(100% - 18px));
    margin-top: 30px;
  }

  .template-market-guidance {
    border-radius: 14px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .template-market-grid {
    grid-auto-columns: minmax(188px, 72vw);
    gap: 22px 14px;
    padding: 42px 10px 26px;
    scroll-padding-inline: 10px;
  }

  .template-market-card {
    padding: 14px 10px 12px;
  }

  .template-market-info h3 {
    min-height: auto;
    font-size: 0.82rem;
  }

  .template-market-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .template-market-actions a {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.62rem;
    line-height: 1.2;
    touch-action: manipulation;
  }

  #pricing {
    padding-bottom: 64px;
  }

  .pricing-stage {
    padding: 14px 6px 112px;
  }

  #pricing .pricing-cards {
    gap: 18px;
  }

  #pricing .pricing-card {
    padding: 26px 18px 20px;
    border-radius: 8px;
  }

  #pricing .pricing-name {
    font-size: 1.18rem;
  }

  #pricing .pricing-features li {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  #pricing .pricing-card-cta {
    min-height: 46px;
    padding: 13px 16px;
    touch-action: manipulation;
  }

  .pricing-botanical-wheel {
    bottom: -166px;
    opacity: 0.72;
  }

  .testimonials-container {
    gap: 22px;
  }

  .testimonial-globe-panel {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .testimonial-globe {
    min-height: 244px;
  }

  .testimonial-card {
    padding: 24px 18px;
  }

  .testimonial-text {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .footer {
    padding: 44px 16px calc(90px + env(safe-area-inset-bottom));
  }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }

  .wa-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 980;
  }

  .wa-float-btn {
    min-width: 52px;
    min-height: 52px;
    padding: 14px;
    touch-action: manipulation;
  }

  .wa-float-text,
  .wa-float-btn:hover .wa-float-text {
    max-width: 0;
    margin-left: 0;
    opacity: 0;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 100px;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }

  .hero-title {
    font-size: clamp(2.72rem, 15vw, 3.72rem);
  }

  .hero-template-note {
    left: 6px;
    max-width: 138px;
    font-size: 1.08rem;
  }

  .hero-template-note svg {
    opacity: 0.82;
    transform: rotate(18deg) scale(0.9);
  }

  .template-market-grid {
    grid-auto-columns: minmax(184px, 82vw);
  }

  .testimonial-author {
    align-items: flex-start;
  }
}
