/* ==========================================================================
   AURA LEAF — EXPERIENCE LAYER
   Motion, 3D, depth and interaction polish.
   Loaded after style.css so it can refine the existing design system.
   ========================================================================== */

:root {
  --aurora-gold: #c5a46d;
  --aurora-gold-light: #e2cc9e;
  --aurora-gold-bright: #f4e6c4;
  --aurora-green-deep: #0d2418;
  --aurora-green: #214d38;
  --aurora-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --aurora-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --aurora-shadow-lift: 0 34px 70px -24px rgba(13, 36, 24, 0.34),
    0 0 0 1px rgba(197, 164, 109, 0.16);
}

/* --------------------------------------------------------------------------
   Global feel
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(197, 164, 109, 0.32);
  color: var(--aurora-green-deep);
}

html {
  scrollbar-color: rgba(33, 77, 56, 0.55) rgba(248, 245, 239, 0.9);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1ede4;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary), var(--secondary-dark));
  border: 2px solid #f1ede4;
  border-radius: 20px;
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Bootstrap sets its own focus ring on nav links and buttons; keep ours visible. */
:is(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 3px !important;
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) :is(a, button):focus-visible {
  outline-color: var(--secondary-light) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(9, 25, 17, 0.45);
}

.navbar-main .navbar-brand-wrapper:focus-visible {
  outline: 2px solid var(--secondary-light) !important;
  outline-offset: 4px !important;
  border-radius: 8px;
}

.navbar-main.scrolled .navbar-brand-wrapper:focus-visible,
body:not(:has(.hero-section, .page-hero)) .navbar-main .navbar-brand-wrapper:focus-visible {
  outline-color: var(--primary) !important;
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

html.lenis {
  scroll-snap-type: none !important;
}

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--secondary-dark), var(--aurora-gold-bright), var(--secondary));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(197, 164, 109, 0.55);
}

/* --------------------------------------------------------------------------
   Navbar — glass over the hero, solid glass after scroll
   -------------------------------------------------------------------------- */
.navbar-main {
  will-change: padding, background;
}

.navbar-main.scrolled {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 10px 40px rgba(13, 36, 24, 0.08);
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) {
  background: linear-gradient(180deg, rgba(9, 25, 17, 0.68) 0%, rgba(9, 25, 17, 0.22) 62%, transparent 100%);
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .brand-name {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .brand-tagline {
  color: var(--secondary-light);
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .brand-logo-icon {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .nav-link:hover,
body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .nav-link.active {
  color: #ffffff !important;
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .nav-link::after {
  background: linear-gradient(90deg, transparent, var(--secondary-light), transparent);
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .btn-primary-custom {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 28px rgba(197, 164, 109, 0.36);
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

.brand-logo-icon {
  transition: transform 0.5s var(--aurora-ease), box-shadow 0.5s var(--aurora-ease);
}

.navbar-brand-wrapper:hover .brand-logo-icon {
  transform: rotate(-5deg) scale(1.06);
  box-shadow: 0 10px 26px rgba(33, 77, 56, 0.16);
}

.navbar-main .btn-primary-custom {
  overflow: hidden;
  isolation: isolate;
}

.navbar-nav .nav-link,
.navbar-main .btn-primary-custom {
  white-space: nowrap;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-nav {
    gap: 0 !important;
  }

  .navbar-nav .nav-link {
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }

  .navbar-nav.me-4 {
    margin-right: 1rem !important;
  }

  .navbar-main .btn-primary-custom {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

@media (max-width: 1199.98px) {
  body:has(.hero-section, .page-hero) .navbar-main:not(.scrolled) .navbar-collapse {
    background: rgba(11, 29, 20, 0.97);
    border: 1px solid rgba(197, 164, 109, 0.2);
    border-radius: 18px;
    padding: 1.1rem;
    margin-top: 0.75rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-section {
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -32%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(197, 164, 109, 0.22) 0%, rgba(197, 164, 109, 0.08) 38%, transparent 68%);
  filter: blur(14px);
  animation: auroraDrift 16s var(--aurora-ease-soft) infinite alternate;
}

.hero-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 86%, rgba(9, 25, 17, 0.52) 0%, transparent 55%),
    linear-gradient(180deg, rgba(9, 25, 17, 0.18) 0%, transparent 28%, transparent 72%, rgba(9, 25, 17, 0.46) 100%);
}

.hero-bg {
  will-change: transform;
  filter: saturate(0.82) contrast(1.04) brightness(0.94);
}

.js-motion .hero-bg,
.js-motion .page-hero-bg {
  transition: none;
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(ellipse at 78% 26%, rgba(197, 164, 109, 0.18) 0%, transparent 54%),
    linear-gradient(102deg, rgba(12, 33, 23, 0.93) 0%, rgba(24, 56, 39, 0.78) 42%, rgba(24, 56, 39, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, transparent 32%, transparent 68%, rgba(0, 0, 0, 0.34) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

.hero-section .container {
  position: relative;
  z-index: 4;
}

.hero-content {
  z-index: 4;
}

.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 1.6s var(--aurora-ease);
}

.hero-3d.is-ready {
  opacity: 0.92;
}

.page-hero .hero-3d.is-ready {
  opacity: 0.7;
}

@media (max-width: 1199.98px) {
  .hero-3d.is-ready {
    opacity: 0.8;
  }

  .page-hero .hero-3d.is-ready {
    opacity: 0.62;
  }
}

@media (max-width: 767.98px) {
  .hero-3d.is-ready {
    opacity: 0.72;
  }

  .page-hero .hero-3d.is-ready {
    opacity: 0.58;
  }
}

.hero-badge {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 20%, rgba(255, 255, 255, 0.32) 46%, transparent 72%);
  transform: translateX(-130%);
  animation: badgeShimmer 7s var(--aurora-ease-soft) 2s infinite;
  pointer-events: none;
}

.hero-title {
  text-wrap: balance;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.hero-title .accent {
  background: linear-gradient(100deg, var(--secondary-light) 0%, var(--aurora-gold-bright) 46%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 8px 26px rgba(197, 164, 109, 0.24));
}

.hero-subtitle {
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.22);
}

.hero-stats {
  border-top-color: rgba(255, 255, 255, 0.14);
  gap: 1.25rem;
}

.hero-stat-item {
  position: relative;
  padding-left: 1.1rem;
  min-width: 0;
}

.hero-stat-item:first-child {
  padding-left: 0;
}

.hero-stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(180deg, transparent, rgba(197, 164, 109, 0.48), transparent);
}

.hero-stat-item:first-child::before {
  display: none;
}

.hero-stat-num {
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero-float-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  background: linear-gradient(145deg, rgba(18, 44, 30, 0.62), rgba(9, 25, 17, 0.42));
  border-color: rgba(197, 164, 109, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 22px 44px -18px rgba(0, 0, 0, 0.55);
  transition: background 0.45s var(--aurora-ease), border-color 0.45s var(--aurora-ease), box-shadow 0.45s var(--aurora-ease);
}

.hero-float-card:hover {
  background: linear-gradient(145deg, rgba(25, 56, 39, 0.74), rgba(9, 25, 17, 0.52));
  border-color: rgba(197, 164, 109, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 30px 60px -20px rgba(0, 0, 0, 0.62);
}

.hero-content .col-lg-5 {
  counter-reset: herofloat;
}

.hero-float-card {
  counter-increment: herofloat;
}

.hero-float-card::after {
  content: "0" counter(herofloat);
  position: absolute;
  top: 1.2rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: rgba(197, 164, 109, 0.72);
  pointer-events: none;
}

.float-card-icon {
  background: linear-gradient(135deg, rgba(197, 164, 109, 0.34), rgba(197, 164, 109, 0.14));
  border: 1px solid rgba(197, 164, 109, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.45s var(--aurora-ease), background 0.45s var(--aurora-ease);
}

.hero-float-card:hover .float-card-icon {
  transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(135deg, rgba(197, 164, 109, 0.52), rgba(197, 164, 109, 0.24));
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--secondary) 0%, transparent 100%);
  animation: scrollCue 2.6s var(--aurora-ease-soft) infinite;
  transform-origin: top center;
}

@media (max-width: 1599.98px) {
  .hero-scroll-cue {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Page hero
   -------------------------------------------------------------------------- */
.page-hero {
  height: clamp(420px, 48vh, 540px);
  min-height: 420px;
  isolation: isolate;
  background-color: var(--aurora-green-deep);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -45%;
  right: -10%;
  width: 780px;
  height: 780px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(197, 164, 109, 0.24) 0%, rgba(197, 164, 109, 0.06) 42%, transparent 68%);
  filter: blur(10px);
  animation: auroraDrift 18s var(--aurora-ease-soft) infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 25, 17, 0.16) 0%, transparent 30%, transparent 70%, rgba(9, 25, 17, 0.32) 100%);
}

.page-hero-bg {
  opacity: 0.42;
  filter: saturate(0.8);
  will-change: transform;
}

.page-hero-overlay {
  z-index: 1;
  background:
    radial-gradient(ellipse at 74% 34%, rgba(197, 164, 109, 0.16) 0%, transparent 54%),
    linear-gradient(110deg, rgba(12, 33, 23, 0.94) 0%, rgba(24, 56, 39, 0.82) 52%, rgba(24, 56, 39, 0.42) 100%);
}

.page-hero .container,
.page-hero-content {
  z-index: 4;
}

.page-hero-title {
  text-wrap: balance;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.page-hero-desc {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.breadcrumb-custom li a {
  position: relative;
}

.breadcrumb-custom li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--aurora-ease);
}

.breadcrumb-custom li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   Section typography + accents
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary));
  flex-shrink: 0;
}

.section-title {
  text-wrap: balance;
  letter-spacing: -0.012em;
}

.section-title span {
  position: relative;
}

.gold-divider {
  box-shadow: 0 0 18px rgba(197, 164, 109, 0.35);
}

/* --------------------------------------------------------------------------
   Reveal initial states (JS removes them when GSAP is not available)
   -------------------------------------------------------------------------- */
html.js-motion [data-aos] {
  opacity: 0;
}

html.js-motion [data-aos="fade-up"] {
  transform: translate3d(0, 36px, 0);
}

html.js-motion [data-aos="fade-down"] {
  transform: translate3d(0, -24px, 0);
}

html.js-motion [data-aos="fade-left"] {
  transform: translate3d(48px, 0, 0);
}

html.js-motion [data-aos="fade-right"] {
  transform: translate3d(-48px, 0, 0);
}

html.js-motion [data-aos="zoom-in"] {
  transform: scale(0.92) translate3d(0, 12px, 0);
}

/* --------------------------------------------------------------------------
   Cards — spotlight, tilt and depth
   -------------------------------------------------------------------------- */
.tilt-ready {
  position: relative;
  transform-style: preserve-3d;
}

.tilt-ready:hover {
  will-change: transform;
}

.tilt-ready.is-tilting {
  transition: transform 0.1s linear !important;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, -4px), 0) !important;
}

.tilt-ready.is-returning {
  transition: transform 0.7s var(--aurora-ease) !important;
}

.tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 58%);
  mix-blend-mode: soft-light;
  transition: opacity 0.45s var(--aurora-ease);
}

.tilt-ready:hover .tilt-glare {
  opacity: 1;
}

.hero-float-card .tilt-glare {
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(197, 164, 109, 0.38), transparent 62%);
  mix-blend-mode: screen;
}

.service-card,
.hotel-card,
.testimonial-card,
.package-card,
.mice-card,
.value-card,
.travel-feature,
.contact-info-card,
.feature-item,
.card-premium {
  transition: box-shadow 0.55s var(--aurora-ease), border-color 0.55s var(--aurora-ease), transform 0.55s var(--aurora-ease), background 0.55s var(--aurora-ease);
}

.service-card:hover,
.hotel-card:hover,
.testimonial-card:hover,
.package-card:hover,
.mice-card:hover,
.value-card:hover,
.travel-feature:hover,
.contact-info-card:hover,
.feature-item:hover,
.card-premium:hover {
  border-color: rgba(197, 164, 109, 0.42);
  box-shadow: var(--aurora-shadow-lift);
}

.service-card {
  background-image: linear-gradient(160deg, #ffffff 0%, #fdfbf6 100%);
}

.service-card .service-icon {
  transition: transform 0.5s var(--aurora-ease), background 0.5s var(--aurora-ease), box-shadow 0.5s var(--aurora-ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.service-card:hover .service-icon {
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 14px 30px -12px rgba(33, 77, 56, 0.5);
}

.service-card[data-aurora-index]::after {
  content: attr(data-aurora-index);
  position: absolute;
  top: 1.1rem;
  right: 1.35rem;
  z-index: 0;
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(33, 77, 56, 0.055);
  pointer-events: none;
  transition: color 0.5s var(--aurora-ease), transform 0.5s var(--aurora-ease);
}

.service-card:hover[data-aurora-index]::after {
  color: rgba(197, 164, 109, 0.2);
  transform: translateY(-3px);
}

.hotel-card {
  border-radius: var(--radius-lg);
}

.hotel-card .hotel-img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(13, 36, 24, 0.48) 100%);
  pointer-events: none;
}

.testimonial-card {
  overflow: hidden;
  background-image: linear-gradient(155deg, #ffffff 0%, #fbf8f1 100%);
}

.testimonial-card::before {
  transition: transform 0.6s var(--aurora-ease), opacity 0.6s var(--aurora-ease);
}

.testimonial-card:hover::before {
  transform: translateY(-4px) scale(1.06);
  opacity: 0.28;
}

.value-card,
.mice-card,
.package-card {
  position: relative;
  overflow: hidden;
}

/* Buttons — a subtle light sweep */
.btn-primary-custom,
.btn-secondary-custom,
.btn-outline-custom,
.btn-outline-white {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary-custom::after,
.btn-secondary-custom::after,
.btn-outline-custom::after,
.btn-outline-white::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.3) 48%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--aurora-ease);
  pointer-events: none;
}

.btn-primary-custom:hover::after,
.btn-secondary-custom:hover::after,
.btn-outline-custom:hover::after,
.btn-outline-white:hover::after {
  transform: translateX(130%);
}

/* Images */
.intro-media {
  position: relative;
  isolation: isolate;
}

.intro-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -16px 18px 18px -16px;
  border: 1px solid rgba(197, 164, 109, 0.52);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.intro-image {
  position: relative;
  z-index: 1;
  box-shadow: 0 38px 70px -34px rgba(13, 36, 24, 0.4);
}

.intro-experience-badge {
  z-index: 2;
  box-shadow: 0 20px 44px -18px rgba(13, 36, 24, 0.4);
}

/* Partner marquee */
.partners-marquee-wrapper {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.partner-item {
  transition: transform 0.5s var(--aurora-ease), border-color 0.5s var(--aurora-ease), box-shadow 0.5s var(--aurora-ease);
}

.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(13, 36, 24, 0.32);
}

/* Newsletter border shimmer */
.newsletter-card {
  position: relative;
  isolation: isolate;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg, rgba(197, 164, 109, 0.22), rgba(197, 164, 109, 0.72), rgba(197, 164, 109, 0.22));
  background-size: 220% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: borderShimmer 7s linear infinite;
  pointer-events: none;
}

/* Footer watermark */
.footer-main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.footer-main::before {
  content: "AURA LEAF";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -0.18em;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.028);
  pointer-events: none;
}

.footer-main .container {
  position: relative;
  z-index: 1;
}

.footer-links a,
.footer-contact-item {
  transition: color 0.35s var(--aurora-ease), transform 0.35s var(--aurora-ease);
}

.footer-links a:hover {
  transform: translateX(3px);
}

/* Floating action buttons */
#wa-float,
#phone-float,
#scroll-top {
  transition: transform 0.4s var(--aurora-ease), box-shadow 0.4s var(--aurora-ease), opacity 0.4s var(--aurora-ease);
}

#wa-float:hover,
#phone-float:hover,
#scroll-top:hover {
  transform: translateY(-3px) scale(1.04);
}

/* --------------------------------------------------------------------------
   Custom cursor
   -------------------------------------------------------------------------- */
body.has-aurora-cursor,
body.has-aurora-cursor * {
  cursor: none !important;
}

body.has-aurora-cursor input,
body.has-aurora-cursor textarea,
body.has-aurora-cursor select,
body.has-aurora-cursor [contenteditable="true"] {
  cursor: auto !important;
}

.aurora-cursor-dot,
.aurora-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}

.aurora-cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--aurora-gold-bright);
  box-shadow: 0 0 12px rgba(197, 164, 109, 0.8);
}

.aurora-cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(197, 164, 109, 0.7);
  background: rgba(197, 164, 109, 0);
  transition: background 0.3s var(--aurora-ease), border-color 0.3s var(--aurora-ease);
}

.aurora-cursor-ring.is-hover {
  background: rgba(197, 164, 109, 0.1);
  border-color: rgba(197, 164, 109, 1);
}

body.has-aurora-cursor .aurora-cursor-dot,
body.has-aurora-cursor .aurora-cursor-ring {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Page transition veil
   -------------------------------------------------------------------------- */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(197, 164, 109, 0.14), transparent 58%),
    linear-gradient(150deg, #0a1d13 0%, var(--aurora-green-deep) 100%);
  color: #ffffff;
  will-change: transform;
}

.page-veil-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.page-veil-mark {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

.page-veil-mark em {
  font-style: italic;
  color: var(--secondary-light);
}

.page-veil-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes auroraDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(2.5%, 3%, 0) scale(1.08);
  }
}

@keyframes badgeShimmer {
  0%,
  68% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes scrollCue {
  0% {
    transform: scaleY(0.2);
    opacity: 0;
  }
  35% {
    transform: scaleY(1);
    opacity: 1;
  }
  70% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
  100% {
    transform: scaleY(0.2);
    opacity: 0;
  }
}

@keyframes borderShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-section::before,
  .page-hero::before {
    opacity: 0.7;
  }

  .section-label::before {
    width: 20px;
  }
}

@media (max-width: 767.98px) {
  .hero-overlay {
    background:
      radial-gradient(ellipse at 80% 20%, rgba(197, 164, 109, 0.12) 0%, transparent 50%),
      linear-gradient(180deg, rgba(12, 33, 23, 0.84) 0%, rgba(20, 49, 34, 0.78) 52%, rgba(12, 33, 23, 0.9) 100%);
  }

  .hero-badge {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
  }

  .hero-stat-item {
    padding-left: 0.8rem;
  }

  .section-label::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.15rem;
  }

  .hero-stat-item {
    padding-left: 0;
  }

  .hero-stat-item::before {
    display: none;
  }

  .hero-stat-num {
    font-size: 1.55rem;
  }

  .page-hero {
    height: auto;
    min-height: 360px;
    padding: 6.5rem 0 3.5rem;
  }

  .page-hero-title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .intro-media::before {
    inset: -10px 12px 12px -10px;
  }
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.js-motion [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-3d,
  .scroll-progress,
  .aurora-cursor-dot,
  .aurora-cursor-ring,
  .page-veil {
    display: none !important;
  }

  .hero-section::before,
  .page-hero::before,
  .hero-badge::after,
  .newsletter-card::before {
    animation: none !important;
  }

  .hero-scroll-cue::after {
    animation: none !important;
  }
}

@media print {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-3d,
  .scroll-progress,
  .page-veil,
  .aurora-cursor-dot,
  .aurora-cursor-ring {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Homepage services showcase — editorial emerald panel
   -------------------------------------------------------------------------- */
.offer-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5.5rem, 7vw, 7.25rem) 0 clamp(4.5rem, 6vw, 6rem);
  color: #f6f1e6;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(197, 164, 109, 0.17), transparent 62%),
    radial-gradient(900px 700px at -12% 108%, rgba(45, 107, 79, 0.34), transparent 64%),
    linear-gradient(152deg, #112b1e 0%, #0b2016 46%, #07170f 100%);
  box-shadow: inset 0 -1px 0 rgba(197, 164, 109, 0.18);
}

.offer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.offer-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1340px, calc(100% - 3rem));
  height: 1px;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(197, 164, 109, 0.34), transparent);
}

.offer-section__halo {
  position: absolute;
  top: -320px;
  right: -250px;
  z-index: 0;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(197, 164, 109, 0.12);
  box-shadow: inset 0 0 140px rgba(197, 164, 109, 0.06);
  pointer-events: none;
}

.offer-section__halo::before,
.offer-section__halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(197, 164, 109, 0.08);
}

.offer-section__halo::before {
  inset: 70px;
}

.offer-section__halo::after {
  inset: 150px;
}

.offer-section__container {
  position: relative;
  z-index: 2;
}

.offer-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(197, 164, 109, 0.16);
}

.offer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--secondary-light);
}

.offer-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary));
}

.offer-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.4vw, 4.15rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: #f8f3e9;
  text-wrap: balance;
}

.offer-title span,
.offer-title em {
  display: block;
}

.offer-title em {
  font-weight: 400;
  color: var(--secondary-light);
}

.offer-header__aside {
  max-width: 420px;
  padding-bottom: 0.25rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(197, 164, 109, 0.22);
  justify-self: end;
}

.offer-header__aside p {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(246, 241, 230, 0.62);
}

.offer-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-light);
}

.offer-arrow {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(197, 164, 109, 0.4);
  border-radius: 50%;
  transition: background 0.4s var(--aurora-ease), color 0.4s var(--aurora-ease), border-color 0.4s var(--aurora-ease), transform 0.4s var(--aurora-ease);
}

.offer-header__link:hover {
  color: #fff;
}

.offer-header__link:hover .offer-arrow {
  transform: translateX(3px);
  border-color: var(--secondary);
  background: var(--secondary);
  color: #0c2117;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.2vw, 1.15rem);
}

.offer-card-wrap {
  display: flex;
  min-width: 0;
}

.offer-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 19.5rem;
  padding: 1.7rem 1.6rem 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 109, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.016) 58%, rgba(197, 164, 109, 0.045) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 50px -34px rgba(0, 0, 0, 0.75);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.5s var(--aurora-ease), background 0.5s var(--aurora-ease), box-shadow 0.5s var(--aurora-ease);
}

.offer-section .offer-card:hover {
  transform: none;
  border-color: rgba(197, 164, 109, 0.46);
  background:
    radial-gradient(500px circle at 20% 0%, rgba(197, 164, 109, 0.11), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.022) 58%, rgba(197, 164, 109, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  transition: transform 0.6s var(--aurora-ease);
}

.offer-card:hover::before {
  transform: scaleX(1);
}

.offer-card[data-aurora-index]::after {
  content: attr(data-aurora-index);
  position: absolute;
  top: 1.05rem;
  right: 1.3rem;
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(212, 185, 138, 0.22);
  pointer-events: none;
  transition: color 0.5s var(--aurora-ease), transform 0.5s var(--aurora-ease);
}

.offer-card:hover[data-aurora-index]::after {
  transform: translateY(-2px);
  color: rgba(212, 185, 138, 0.42);
}

.offer-card > *:not(.tilt-glare) {
  position: relative;
  z-index: 2;
}

.offer-section .offer-card .tilt-glare {
  z-index: 1;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(212, 185, 138, 0.22), transparent 62%);
  mix-blend-mode: screen;
}

.offer-section .offer-card:hover .tilt-glare {
  opacity: 0.58;
}

.offer-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(197, 164, 109, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(212, 185, 138, 0.2), rgba(212, 185, 138, 0.03) 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: var(--secondary-light);
  font-size: 1.02rem;
  transition: background 0.45s var(--aurora-ease), color 0.45s var(--aurora-ease), border-color 0.45s var(--aurora-ease), box-shadow 0.45s var(--aurora-ease);
}

.offer-card:hover .offer-card__icon {
  border-color: var(--secondary-light);
  background: linear-gradient(145deg, var(--secondary-light), var(--secondary));
  box-shadow: 0 12px 26px -12px rgba(197, 164, 109, 0.65);
  color: #0c2117;
}

.offer-card__kicker {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 185, 138, 0.74);
}

.offer-card__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: #f8f3e9;
}

.offer-card__desc {
  margin: 0 0 1.4rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(246, 241, 230, 0.58);
}

.offer-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(197, 164, 109, 0.16);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 185, 138, 0.88);
}

.offer-card__cta i {
  font-size: 0.68rem;
  transition: transform 0.4s var(--aurora-ease);
}

.offer-card:hover .offer-card__cta {
  color: var(--secondary-light);
}

.offer-card:hover .offer-card__cta i {
  transform: translateX(5px);
}

.offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 2.4vw, 2rem);
  border-top: 1px solid rgba(197, 164, 109, 0.16);
}

.offer-foot__note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(246, 241, 230, 0.55);
}

.offer-foot__note i {
  color: var(--secondary-light);
  font-size: 0.95rem;
}

.offer-foot__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--secondary-light);
}

.offer-foot__link i {
  transition: transform 0.4s var(--aurora-ease);
}

.offer-foot__link:hover {
  color: #fff;
}

.offer-foot__link:hover i {
  transform: translateX(4px);
}

@media (max-width: 1199.98px) {
  .offer-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .offer-header__aside {
    max-width: 640px;
    padding-bottom: 0;
    padding-left: 0;
    border-left: 0;
    justify-self: start;
  }

  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-card {
    min-height: 17.5rem;
  }
}

@media (max-width: 767.98px) {
  .offer-section {
    padding: 4.25rem 0 3.75rem;
  }

  .offer-header {
    margin-bottom: 1.75rem;
    padding-bottom: 2rem;
  }

  .offer-title {
    font-size: clamp(2.15rem, 9.2vw, 2.9rem);
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .offer-card {
    min-height: 0;
    padding: 1.45rem 1.35rem 1.25rem;
  }

  .offer-card__icon {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1rem;
  }

  .offer-card__title {
    font-size: 1.16rem;
  }

  .offer-card__desc {
    margin-bottom: 1.1rem;
  }

  .offer-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .offer-section__halo {
    top: -220px;
    right: -200px;
    width: 520px;
    height: 520px;
  }
}

@media (max-width: 575.98px) {
  .offer-title {
    font-size: clamp(2rem, 9.8vw, 2.6rem);
  }

  .offer-card__desc {
    font-size: 0.83rem;
  }
}

/* --------------------------------------------------------------------------
   Partners — 3D plaque gallery
   -------------------------------------------------------------------------- */
.partners-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 6.5vw, 6.75rem) 0 clamp(4.25rem, 5.5vw, 5.5rem);
  color: var(--primary);
  background:
    radial-gradient(900px 540px at 86% -12%, rgba(197, 164, 109, 0.18), transparent 62%),
    radial-gradient(760px 500px at -8% 108%, rgba(33, 77, 56, 0.08), transparent 66%),
    linear-gradient(180deg, #fbf8f1 0%, #f5f0e5 100%);
}

.partners-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.partners-orbit {
  position: absolute;
  top: -190px;
  right: -140px;
  z-index: 0;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(197, 164, 109, 0.16);
  border-radius: 50%;
  transform: rotate(-10deg) scaleY(0.62);
  pointer-events: none;
}

.partners-orbit::before,
.partners-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(197, 164, 109, 0.1);
  border-radius: 50%;
}

.partners-orbit::before {
  inset: 88px;
}

.partners-orbit::after {
  inset: 178px;
  border-color: rgba(33, 77, 56, 0.06);
}

.partners-container {
  position: relative;
  z-index: 2;
}

.partners-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 3.2vw, 2.75rem);
  padding-bottom: clamp(2.25rem, 3.4vw, 3rem);
  border-bottom: 1px solid rgba(33, 77, 56, 0.14);
}

.partners-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--secondary-dark);
}

.partners-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-dark));
}

.partners-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.8vw, 3.65rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-wrap: balance;
}

.partners-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--secondary-dark);
}

.partners-header__aside {
  max-width: 420px;
  padding-left: 2rem;
  border-left: 1px solid rgba(197, 164, 109, 0.4);
  justify-self: end;
}

.partners-header__aside p {
  margin: 0 0 1.45rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--gray);
}

.partners-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.partners-arrow {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(197, 164, 109, 0.55);
  border-radius: 50%;
  color: var(--secondary-dark);
  transition: background 0.4s var(--aurora-ease), color 0.4s var(--aurora-ease), border-color 0.4s var(--aurora-ease), transform 0.4s var(--aurora-ease);
}

.partners-header__link:hover {
  color: var(--primary-dark);
}

.partners-header__link:hover .partners-arrow {
  transform: translateX(3px);
  border-color: var(--secondary);
  background: var(--secondary);
  color: #0c2117;
}

.partners-stage {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: clamp(0.5rem, 1vw, 0.85rem) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 5%, #000 15%, #000 85%, transparent 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 5%, #000 15%, #000 85%, transparent 95%, transparent 100%);
}

.partners-section .partners-marquee {
  display: block;
}

.partners-row {
  position: relative;
}

.partners-row + .partners-row {
  margin-top: clamp(0.85rem, 1.2vw, 1.1rem);
}

.partners-row:hover .partners-track {
  animation-play-state: paused;
}

.partners-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: partnersMarquee 62s linear infinite;
  will-change: transform;
}

.partners-row--b .partners-track {
  animation-duration: 72s;
  animation-direction: reverse;
}

.partners-set {
  display: flex;
  align-items: stretch;
  gap: clamp(0.9rem, 1.2vw, 1.2rem);
  padding-right: clamp(0.9rem, 1.2vw, 1.2rem);
}

@keyframes partnersMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.partners-section .partner-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(190px, 16.4vw, 232px);
  min-width: 0;
  height: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: none;
  box-shadow: none;
  transition: none;
}

.partners-section .partner-item::before,
.partners-section .partner-item::after {
  content: none;
}

.partners-section .partner-item:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.partner-plaque {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 8.5rem;
  padding: 1.1rem 1.35rem 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 109, 0.34);
  border-radius: 16px;
  background: linear-gradient(155deg, #fffdf8 0%, #f9f4e9 52%, #f2ebdc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -22px 34px -30px rgba(33, 77, 56, 0.22),
    0 2px 0 rgba(212, 185, 138, 0.9),
    0 6px 0 rgba(176, 140, 82, 0.55),
    0 9px 0 rgba(120, 90, 45, 0.2),
    0 24px 36px -26px rgba(23, 56, 40, 0.5);
  transition: transform 0.55s var(--aurora-ease), border-color 0.55s var(--aurora-ease), background 0.55s var(--aurora-ease), box-shadow 0.55s var(--aurora-ease);
}

.partners-section .partner-item:hover .partner-plaque {
  transform: translate3d(0, -2px, 16px);
  border-color: rgba(197, 164, 109, 0.62);
  background: linear-gradient(155deg, #fffefb 0%, #fbf7ee 52%, #f5eee0 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    inset 0 -22px 34px -30px rgba(33, 77, 56, 0.18),
    0 3px 0 rgba(212, 185, 138, 1),
    0 9px 0 rgba(176, 140, 82, 0.6),
    0 13px 0 rgba(120, 90, 45, 0.22),
    0 32px 44px -26px rgba(23, 56, 40, 0.45);
}

.partner-plaque::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -60%;
  width: 55%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.72) 50%, transparent 100%);
  transform: translateX(-40%) rotate(6deg);
  transition: transform 0.9s var(--aurora-ease), opacity 0.5s var(--aurora-ease);
}

.partners-section .partner-item:hover .partner-plaque::after {
  opacity: 0.75;
  transform: translateX(330%) rotate(6deg);
}

.partner-ornament {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 164, 109, 0.85), transparent);
  transition: width 0.5s var(--aurora-ease);
}

.partner-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--secondary);
}

.partners-section .partner-item:hover .partner-ornament {
  width: 44px;
}

.partner-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-align: center;
  color: var(--primary);
  transition: color 0.45s var(--aurora-ease);
}

.partners-section .partner-item:hover .partner-name {
  color: var(--primary-dark);
}

.partners-section .partner-sub {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 9.5rem;
  margin: -0.12rem 0 0;
  font-family: var(--font-body);
  font-size: 0.53rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(33, 77, 56, 0.45);
  transition: color 0.45s var(--aurora-ease);
}

.partners-section .partner-item:hover .partner-sub {
  color: rgba(168, 134, 78, 0.9);
}

.partner-mark {
  position: absolute;
  right: 0.8rem;
  bottom: 0.3rem;
  z-index: 1;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(197, 164, 109, 0.16);
  pointer-events: none;
  transition: color 0.5s var(--aurora-ease), transform 0.5s var(--aurora-ease);
}

.partners-section .partner-item:hover .partner-mark {
  transform: translateY(-2px);
  color: rgba(197, 164, 109, 0.32);
}

.partners-section .partner-item .tilt-glare {
  z-index: 4;
  border-radius: 16px;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 250, 235, 0.9), transparent 62%);
  mix-blend-mode: soft-light;
}

.partners-section .partner-item:hover .tilt-glare {
  opacity: 0.6;
}

.partners-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 940px;
  margin: clamp(2.25rem, 3.5vw, 3rem) auto 0;
  padding: 1.55rem clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(197, 164, 109, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(560px 200px at 50% -40%, rgba(197, 164, 109, 0.22), transparent 65%),
    linear-gradient(150deg, #183a29 0%, #112b1e 55%, #0b2016 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -30px 60px -50px rgba(0, 0, 0, 0.9),
    0 30px 50px -34px rgba(13, 36, 24, 0.55);
}

.partners-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 185, 138, 0.6), transparent);
  pointer-events: none;
}

.partners-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  text-align: center;
}

.partners-stat + .partners-stat {
  border-left: 1px solid rgba(197, 164, 109, 0.22);
}

.partners-stat__num {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.6vw, 2.55rem);
  font-weight: 600;
  line-height: 1;
  color: #ecd9b4;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.partners-stat__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.55);
}

@media (max-width: 1199.98px) {
  .partners-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .partners-header__aside {
    max-width: 640px;
    padding-left: 0;
    border-left: 0;
    justify-self: start;
  }

  .partners-section .partner-item {
    width: clamp(184px, 23vw, 222px);
  }
}

@media (max-width: 767.98px) {
  .partners-section {
    padding: 4rem 0 3.5rem;
  }

  .partners-header {
    margin-bottom: 1.75rem;
    padding-bottom: 2rem;
  }

  .partners-title {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }

  .partners-stage {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 8%, #000 22%, #000 78%, transparent 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 8%, #000 22%, #000 78%, transparent 92%, transparent 100%);
  }

  .partners-section .partner-item {
    width: 178px;
  }

  .partner-plaque {
    height: 7.9rem;
    padding: 1rem 1.1rem;
  }

  .partner-name {
    font-size: 1rem;
  }

  .partners-section .partner-sub {
    max-width: 8.4rem;
  }

  .partners-stats {
    padding: 1.25rem 0.6rem;
    border-radius: 16px;
  }

  .partners-stat {
    padding: 0.3rem 0.5rem;
  }

  .partners-stat__num {
    font-size: 1.75rem;
  }

  .partners-stat__label {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .partners-orbit {
    top: -240px;
    right: -260px;
    width: 600px;
    height: 600px;
  }
}

@media (max-width: 575.98px) {
  .partners-section .partner-item {
    width: 164px;
  }

  .partner-plaque {
    height: 7.6rem;
    padding: 0.95rem 1rem;
  }

  .partner-name {
    font-size: 0.98rem;
  }

  .partner-mark {
    right: 0.65rem;
    font-size: 2rem;
  }

  .partners-section .partner-sub {
    max-width: 7.6rem;
    font-size: 0.48rem;
  }

  .partners-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.15rem 1rem;
  }

  .partners-stat {
    padding: 0.2rem 0.5rem;
  }

  .partners-stat + .partners-stat {
    border-left: 0;
    border-top: 1px solid rgba(197, 164, 109, 0.22);
    padding-top: 0.85rem;
  }

  .partners-stat__label {
    font-size: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-stage {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .partners-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    animation: none !important;
  }

  .partners-set {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  .partners-set[aria-hidden="true"] {
    display: none;
  }
}
