/* ============================================================
   IGATPURI CXO GETAWAY — DESIGN SYSTEM
   Western Ghats × Mahindra Thar × Luxury × CXO Retreat
   Hosted by ColorTokens
   ============================================================ */

/* === FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=Inter:wght@100;200;300;400;500;600;700&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* === DESIGN TOKENS === */
:root {
  /* Forest Palette */
  --forest: #142419;
  --forest-mid: #1E3525;
  --forest-light: #2A4833;
  --charcoal: #0F1310;
  --olive: #3D4F2E;
  --moss: #4E6E45;
  --mist: #A2B5A8;
  --ivory: #F5F3ED;
  --cream: #DFDAD0;
  --amber: #CFA660;
  --amber-light: #E8C380;
  --earth: #C45D25;
  --night: #090E0B;
  --red-accent: #E31B23;
  --smoke: rgba(255,255,255,0.05);

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;
  --font-ui: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 7rem;
  --container-max: 1400px;

  /* Transitions */
  --ease-luxury: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-dramatic: cubic-bezier(0.76, 0, 0.24, 1);
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--charcoal);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  /* Keep the system pointer available if the decorative cursor cannot initialise. */
  cursor: auto;
}

/* Night mode class toggled by JS */
html.night-mode body {
  background-color: var(--night);
  transition: background-color 1.2s ease;
}

body.no-custom-cursor { cursor: auto; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === FILM GRAIN === */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

/* === CUSTOM CURSOR === */
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(207,166,96,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-dramatic), height 0.35s var(--ease-dramatic), border-color 0.3s;
}

#cursor-ring.hovering {
  width: 54px; height: 54px;
  border-color: rgba(207,166,96,0.9);
}

#cursor-ring.on-cta {
  width: 64px; height: 64px;
  border-color: var(--amber-light);
  border-width: 2px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--forest-light); border-radius: 2px; }

/* === LOADING SCREEN === */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--night);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
}

.loading-coords {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  text-align: center;
  letter-spacing: 0.3em;
  color: var(--mist);
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s ease forwards;
}

.loading-bar-container {
  width: 180px;
  height: 1px;
  background: rgba(78,110,69,0.25);
  position: relative;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  background: var(--amber);
  width: 0%;
}

.loading-text {
  font-family: var(--font-display);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--ivory);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s ease forwards;
}

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

/* === TYPOGRAPHY SYSTEM === */
.font-display { font-family: var(--font-display); }
.font-serif { font-family: var(--font-serif); }
.font-body { font-family: var(--font-body); }
.font-ui { font-family: var(--font-ui); }

.text-ivory { color: var(--ivory); }
.text-cream { color: var(--cream); }
.text-mist { color: var(--mist); }
.text-moss { color: var(--moss); }
.text-amber { color: var(--amber); }
.text-earth { color: var(--earth); }

.headline-xl {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 9.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.headline-lg {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.headline-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
}

.label-sm {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
}

/* === LAYOUT === */
.container-exp {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container-exp { padding: 0 1.25rem; }
}

.section-pad {
  padding: var(--section-pad) 0;
}

/* === SECTION EYEBROW === */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.eyebrow-number {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--amber);
}

.eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--moss);
  opacity: 0.5;
}

.eyebrow-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
}

/* === NAVIGATION === */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

#main-nav.scrolled {
  background: rgba(15,19,16,0.95);
  backdrop-filter: blur(16px);
  padding: 0.9rem 2rem;
  border-bottom: 1px solid rgba(78,110,69,0.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-brand img {
  height: 24px;
  width: auto;
  opacity: 0.95;
}

.nav-brand-divider {
  width: 1px;
  height: 20px;
  background: rgba(162,181,168,0.25);
}

.nav-brand-text {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.4;
}

.nav-brand-text strong {
  display: block;
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: 0.3em;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--earth);
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(196,93,37,0.6);
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-cta:hover {
  background: #d8682b;
  box-shadow: 0 0 15px rgba(196,93,37,0.35);
}

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

#nav-hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--ivory);
  transition: all 0.3s ease;
}

/* === HERO === */
#hero {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 680px;
  overflow: hidden;
  background: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
}

#mist-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transform: scale(1.08);
  will-change: transform, opacity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(9,14,11,0.55) 0%, rgba(9,14,11,0.15) 55%, rgba(9,14,11,0.75) 100%),
    linear-gradient(
      to bottom,
      rgba(9,14,11,0.78) 0%,
      rgba(9,14,11,0.3) 30%,
      rgba(9,14,11,0.35) 60%,
      rgba(9,14,11,0.92) 100%
    );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 1100px;
}

.hero-host-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 1.2rem;
  background: rgba(15,24,18,0.8);
  border: 1px solid rgba(207,166,96,0.4);
  border-radius: 9999px;
  margin-bottom: 1.6rem;
  opacity: 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.55);
}

.hero-host-badge img {
  height: 29px;
  width: auto;
}

.hero-host-badge span {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory);
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--amber-light);
  text-shadow: 0 2px 10px rgba(0,0,0,0.85);
  opacity: 0;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10.5vw, 10.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--ivory);
  overflow: hidden;
  text-shadow: 0 4px 35px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.9);
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

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

.hero-title .line.accent {
  color: var(--amber);
  font-style: italic;
  font-size: 0.72em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.9), 0 0 20px rgba(207,166,96,0.3);
}

.hero-subtitle {
  font-family: var(--font-ui);
  font-size: clamp(0.68rem, 1.15vw, 0.88rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ivory);
  text-shadow: 0 2px 15px rgba(0,0,0,0.9);
  margin-top: 2.2rem;
  opacity: 0;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1.4rem;
  opacity: 0;
  flex-wrap: wrap;
}

.hero-meta-item {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

.hero-meta-divider {
  width: 1px; height: 16px;
  background: rgba(162,181,168,0.3);
}

.hero-cta-wrapper {
  margin-top: 2.6rem;
  opacity: 0;
}
/* Mobile Hero Fix */
@media (max-width: 768px) {
  #hero {
    min-height: 100svh;
    padding-top: 40px; /* navbar height */
    box-sizing: border-box;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    padding: 2rem 1.25rem 3rem;
    box-sizing: border-box;
  }

  .hero-host-badge {
    margin-bottom: 1rem;
  }

  .hero-eyebrow {
    margin-bottom: 0.8rem;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 5rem);
    line-height: 0.9;
  }

  .hero-subtitle {
    margin-top: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.2em;
  }

  .hero-meta {
    gap: 0.8rem 1rem;
    margin-top: 1rem;
  }

  .hero-meta-divider {
    display: none;
  }

  .hero-meta-item {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
  }

  .hero-cta-wrapper {
    margin-top: 1.8rem;
  }
}
/* === BUTTONS === */
.btn-expedition {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(207,166,96,0.55);
  padding: 1.1rem 2.4rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
  background: rgba(20,36,25,0.4);
  backdrop-filter: blur(8px);
}

.btn-expedition::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-dramatic);
  z-index: -1;
}

.btn-expedition:hover { color: var(--night); border-color: var(--amber); }
.btn-expedition:hover::before { transform: scaleX(1); }

.btn-arrow::after { content: '→'; font-size: 0.9rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  background: var(--earth);
  padding: 1.1rem 2.4rem;
  border: 1px solid rgba(196,93,37,0.6);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: #d8682b;
  box-shadow: 0 0 20px rgba(196,93,37,0.4);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.scroll-indicator-label {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
}

.scroll-indicator-line {
  width: 1px; height: 44px;
  background: rgba(162,181,168,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: -100%; width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: scrollLine 1.5s ease infinite;
}

@keyframes scrollLine { to { top: 200%; } }

/* === SECTION 02: ESCAPE THE ORDINARY === */
#section-escape {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}

.escape-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 18rem);
  font-weight: 700;
  color: rgba(78,110,69,0.05);
  white-space: nowrap;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.escape-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.escape-content-col {
  max-width: 680px;
}

.escape-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ivory);
}

.escape-headline em {
  font-style: italic;
  color: var(--amber);
}

.escape-body {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.85;
  margin-top: 1.8rem;
}

.escape-body strong {
  color: var(--amber);
  font-weight: 500;
}

/* Escape Visual Frame on the Right */
.escape-visual-col {
  display: flex;
  justify-content: center;
}

.escape-visual-frame {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(207,166,96,0.35);
  box-shadow: 0 16px 45px rgba(0,0,0,0.5), 0 0 20px rgba(78,110,69,0.15);
  border-radius: 4px;
  background: #0d1710;
}

.escape-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s var(--ease-luxury);
}

.escape-visual-frame video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.8s var(--ease-luxury);
}

.escape-visual-frame:hover img,
.escape-visual-frame:hover video {
  transform: scale(1.04);
}

.escape-visual-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.6rem 1.4rem;
  background: linear-gradient(to top, rgba(9,14,11,0.92) 0%, rgba(9,14,11,0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.escape-visual-badge {
  font-family: var(--font-ui);
  font-size: 0.56rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-light);
  font-weight: 600;
}

.escape-visual-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ivory);
  font-style: italic;
}

.escape-visual-coords {
  font-family: var(--font-ui);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  color: var(--mist);
  margin-top: 0.2rem;
}

/* === SECTION 03: THE MOUNTAIN TRAIL (ANIMATED ROUTE MAP) === */
#section-trail {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.trail-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.trail-svg-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.trail-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.trail-stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.trail-stage-card {
  background: rgba(20,36,25,0.45);
  border: 1px solid rgba(78,110,69,0.22);
  padding: 1.8rem 1.5rem;
  position: relative;
  transition: all 0.35s ease;
}

.trail-stage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--amber);
  transition: height 0.35s var(--ease-dramatic);
}

.trail-stage-card:hover {
  background: rgba(20,36,25,0.75);
  border-color: rgba(207,166,96,0.4);
  transform: translateY(-3px);
}

.trail-stage-card:hover::before {
  height: 100%;
}

.stage-num {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--amber);
  margin-bottom: 0.8rem;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}

.stage-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.6;
}

.stage-telemetry {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--mist);
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(162,181,168,0.15);
}

/* === SECTION 04: THAR OFF-ROAD EXPERIENCE === */
#section-thar {
  position: relative;
  background: var(--forest);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.thar-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  /* margin-bottom: 4rem; */
}

.thar-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--ivory);
}

.thar-headline em {
  font-style: italic;
  color: var(--amber);
}

.thar-hero-img-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(78,110,69,0.3);
}

.thar-hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.thar-hero-img-wrap:hover img {
  transform: scale(1.04);
}

/* Adventure Cards — High Contrast & Bright Metallic Box Style */
.adventure-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.adventure-card {
  border: 1px solid rgba(207,166,96,0.35);
  border-top: 3px solid var(--amber);
  padding: 2.2rem 1.8rem;
  background: linear-gradient(145deg, #223B2A 0%, #16281C 100%);
  border-radius: 2px;
  transition: all 0.35s ease;
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  opacity: 1;
}

.adventure-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-dramatic);
}

.adventure-card:hover {
  background: linear-gradient(145deg, #2B4A35 0%, #1C3324 100%);
  border-color: rgba(207,166,96,0.7);
  box-shadow: 0 16px 45px rgba(0,0,0,0.55), 0 0 25px rgba(207,166,96,0.15);
  transform: translateY(-6px);
}

.adventure-card:hover::after {
  transform: scaleX(1);
}

.adventure-card-number {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--amber-light);
  background: rgba(207,166,96,0.15);
  border: 1px solid rgba(207,166,96,0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.adventure-card-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.adventure-card-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: #E2DDD5;
  line-height: 1.75;
}

/* === SECTION 05: CXO CIRCLE & LUXURY RETREAT === */
#section-retreat {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
  position: relative;
}

.retreat-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.retreat-content-col {
  max-width: 580px;
}

.retreat-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ivory);
}

.retreat-headline em {
  font-style: italic;
  color: var(--amber);
}

.retreat-body {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.25vw, 1.02rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.85;
  margin-top: 1.6rem;
}

/* Visual Column on the Right */
.retreat-visual-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.retreat-visual-main {
  position: relative;
  overflow: hidden;
  height: 290px;
  border: 1px solid rgba(78,110,69,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.retreat-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.retreat-visual-main:hover img {
  transform: scale(1.04);
}

.retreat-visual-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.retreat-visual-sub {
  position: relative;
  overflow: hidden;
  height: 170px;
  border: 1px solid rgba(78,110,69,0.25);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.retreat-visual-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.retreat-visual-sub:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(to top, rgba(9,14,11,0.9) 0%, transparent 100%);
  font-family: var(--font-ui);
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
}

/* === SECTION 06: TABBED AGENDA TRACK (DAY 1, DAY 2, DAY 3) === */
#section-agenda {
  background: var(--forest);
  padding: var(--section-pad) 0;
  position: relative;
}

.agenda-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.agenda-tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.agenda-tab-btn {
  background: rgba(20, 36, 25, 0.7);
  border: 1px solid rgba(78, 110, 69, 0.4);
  padding: 1rem 1.6rem;
  border-radius: 6px;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 220px;
  max-width: 320px;
  position: relative;
  overflow: hidden;
}

.agenda-tab-btn:hover {
  border-color: rgba(207, 166, 96, 0.6);
  background: rgba(30, 53, 37, 0.85);
  transform: translateY(-2px);
}

.agenda-tab-btn .tab-badge {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.agenda-tab-btn .tab-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory);
  transition: color 0.3s ease;
}

.agenda-tab-btn.active {
  background: linear-gradient(135deg, rgba(207, 166, 96, 0.22) 0%, rgba(30, 53, 37, 0.95) 100%);
  border-color: var(--amber);
  box-shadow: 0 4px 20px rgba(207, 166, 96, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.agenda-tab-btn.active .tab-badge {
  color: var(--amber);
  font-weight: 700;
}

.agenda-tab-btn.active .tab-title {
  color: var(--ivory);
}

.agenda-tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber);
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.agenda-tab-btn.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.agenda-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.agenda-day-block {
  position: relative;
  margin-bottom: 0;
  padding-left: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.agenda-day-card {
  background: rgba(30,53,37,0.7);
  border: 1px solid rgba(78,110,69,0.35);
  padding: 2.4rem 2.2rem;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.agenda-day-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.8rem;
}

.agenda-day-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.cxo-leadership-box {
  margin: 1.8rem 0;
  padding: 1.5rem;
  background: rgba(20, 36, 25, 0.6);
  border: 1px solid rgba(207, 166, 96, 0.3);
  border-radius: 6px;
}

.cxo-leadership-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.cxo-leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.cxo-lead-item {
  background: rgba(30, 53, 37, 0.6);
  border: 1px solid rgba(78, 110, 69, 0.35);
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.cxo-lead-item:hover {
  border-color: rgba(207, 166, 96, 0.5);
}

.cxo-lead-item strong {
  color: var(--amber-light);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.cxo-lead-item span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--cream);
  line-height: 1.45;
  display: block;
  font-weight: 300;
}

.agenda-day-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(162,181,168,0.15);
}
.agenda-day-items li {
  display: grid;
  grid-template-columns: 175px 1fr;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.5;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.agenda-day-items li:hover {
  background: rgba(207, 166, 96, 0.05);
}
.agenda-day-items li span.time-badge {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--amber);
  background: rgba(20, 36, 25, 0.85);
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(78, 110, 69, 0.45);
  border-radius: 4px;
  white-space: nowrap;
  text-align: center;
  display: block;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
@media (max-width: 640px) {
  .agenda-day-items li {
    grid-template-columns: 140px 1fr;
    gap: 0.85rem;
    padding: 0.25rem 0;
  }
  .agenda-day-items li span.time-badge {
    font-size: 0.58rem;
    padding: 0.35rem 0.4rem;
    letter-spacing: 0.08em;
  }
}

/* === SECTION 07: INVITATION CLIMAX === */
#section-invitation {
  background: var(--night);
  padding: var(--section-pad) 0;
  position: relative;
  text-align: center;
}

.invitation-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(78,110,69,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.invitation-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--ivory);
}

.invitation-headline em {
  font-style: italic;
  color: var(--amber);
  display: block;
}

.invitation-sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 300;
  color: var(--cream);
  margin-top: 2rem;
}

.invitation-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.invitation-details span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
}

.invitation-cta-wrapper {
  margin-top: 2.6rem;
}

.invitation-note {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--mist);
  margin-top: 1.4rem;
  opacity: 0.6;
}

/* === SECTION 08: REGISTRATION / RSVP === */
#section-register {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.register-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
}

.register-headline em {
  font-style: italic;
  color: var(--amber);
}

.register-note {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 2;
}

/* Form Styling */
.expedition-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.form-field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(20,36,25,0.45);
  border: 1px solid rgba(78,110,69,0.3);
  padding: 0.85rem 1rem;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s ease;
  border-radius: 0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(162,181,168,0.45);
}

.form-field textarea {
  min-height: 90px;
  resize: vertical;
}

.form-field select {
  cursor: pointer;
}

.form-field select option {
  background: var(--charcoal);
  color: var(--ivory);
}

.btn-submit {
  width: 100%;
  padding: 1.15rem;
  background: var(--earth);
  border: 1px solid rgba(196,93,37,0.6);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #d8682b;
  box-shadow: 0 0 20px rgba(196,93,37,0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-disclaimer {
  font-family: var(--font-ui);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  line-height: 1.75;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.form-disclaimer a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === FOOTER === */
#footer {
  background: var(--night);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(78,110,69,0.15);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3.5rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  color: var(--ivory);
  display: block;
  margin-top: 1.4rem;
}

.footer-brand-sub {
  font-family: var(--font-ui);
  font-size: 0.54rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
  display: block;
  margin-top: 0.3rem;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.8;
  margin-top: 1.2rem;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--cream);
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(78,110,69,0.15);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--mist);
}

/* === MOBILE NAV === */
#mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--night);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-dramatic);
}

#mobile-nav.open { transform: translateX(0); }

#mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ivory);
  transition: color 0.25s ease;
}

#mobile-nav a:hover { color: var(--amber); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 800;
  width: 48px; height: 48px;
}

.whatsapp-float img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover img { transform: scale(1.1); }

/* === RESPONSIVE BREAKPOINTS (ALL DEVICES) === */

/* Laptops & Tablets Landscape (<= 1200px) */
@media (max-width: 1200px) {
  .escape-layout-grid {
    gap: 2.5rem;
  }
  .retreat-layout-grid {
    gap: 2.5rem;
  }
  .adventure-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets Portrait & Medium Screens (<= 1024px) */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  #nav-hamburger { display: flex; }
  #main-nav { padding: 1.2rem 1.5rem; }

  .escape-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .escape-visual-col {
    width: 100%;
  }
  .escape-visual-frame {
    height: auto;
    width: 100%;
  }

  .thar-header-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .adventure-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .retreat-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .retreat-visual-col {
    width: 100%;
  }
  .retreat-visual-main {
    height: 320px;
  }

  .register-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Large Mobile & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  :root {
    --section-pad: 5rem;
  }

  body { cursor: auto !important; }
  * { cursor: auto !important; }
  a, button, select, input, textarea { cursor: pointer !important; }
  #cursor-dot, #cursor-ring { display: none !important; }

  #hero {
    height: 100vh;
    height: 100dvh;
    min-height: 560px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12.5vw, 5.5rem);
  }
  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-meta-divider {
    width: 24px;
    height: 1px;
  }

  .escape-visual-frame {
    height: auto;
    width: 100%;
  }

  .trail-svg-container {
    display: none;
  }
  .trail-stages-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .adventure-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .retreat-visual-main {
    height: 240px;
  }
  .retreat-visual-sub {
    height: 140px;
  }

  .agenda-track-wrapper {
    padding-left: 1.8rem;
  }
  .agenda-track-line {
    left: 0.4rem;
  }
  .agenda-day-node {
    left: -1.75rem;
    width: 14px;
    height: 14px;
  }
  .agenda-day-card {
    padding: 1.5rem 1.2rem;
  }
  .agenda-day-title {
    font-size: 1.4rem;
  }
  .agenda-day-items li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px; /* Prevents iOS auto-zoom */
    padding: 0.85rem 1rem;
  }

  .btn-submit {
    min-height: 52px;
    padding: 0.9rem 1.4rem;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
  }
}

/* Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  :root {
    --section-pad: 4rem;
  }

  #main-nav {
    padding: 1rem;
  }
  .nav-brand img {
    height: 22px !important;
  }

  .hero-host-badge {
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.2rem;
  }
  .hero-title {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }
  .hero-subtitle {
    letter-spacing: 0.2em;
    font-size: 0.65rem;
    margin-top: 1.5rem;
  }
  .hero-cta-wrapper .btn-expedition {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.2rem;
  }

  .escape-visual-frame {
  width: 100%;
  height: auto;
  }
  .escape-visual-overlay {
    padding: 1.2rem 1rem 1rem;
  }

  .retreat-visual-main {
    height: 200px;
  }
  .retreat-visual-subgrid {
    grid-template-columns: 1fr;
  }
  .retreat-visual-sub {
    height: 160px;
  }

  .agenda-day-title {
    font-size: 1.25rem;
  }
  .agenda-day-card {
    padding: 1.25rem 1rem;
  }

  .register-note {
    padding: 1.2rem 1rem;
  }
}

/* === REDUCED MOTION SUPPORT === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::after { display: none; }
  .scroll-indicator-line::after { animation: none; }

  .hero-bg img { opacity: 1 !important; transform: none !important; }
  .hero-host-badge, .hero-eyebrow, .hero-subtitle, .hero-meta,
  .hero-cta-wrapper, .scroll-indicator { opacity: 1 !important; }
  .hero-title .line-inner { transform: translateY(0) !important; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Registration form skin — preserves the existing form hooks and behaviour. */
#section-register .form-main-sub-container {
  width: 100%;
  padding: 0;
}

#section-register .form-container {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(42, 72, 51, 0.5), rgba(20, 36, 25, 0.78) 56%, rgba(15, 19, 16, 0.92)),
    var(--forest);
  border: 1px solid rgba(207, 166, 96, 0.32);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.05);
}

#section-register .form-container::before,
#section-register .form-container::after {
  position: absolute;
  z-index: -1;
  width: 10rem;
  height: 10rem;
  content: '';
  border: 1px solid rgba(207, 166, 96, 0.2);
  pointer-events: none;
}

#section-register .form-container::before {
  top: -5.25rem;
  right: -5.25rem;
  transform: rotate(45deg);
}

#section-register .form-container::after {
  bottom: -6rem;
  left: -6rem;
  border-color: rgba(78, 110, 69, 0.4);
  transform: rotate(45deg);
}

#section-register .form-container > h2 {
  width: 100%;
  margin: 0 0 1.85rem;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: left;
}

#section-register .form-container > h2::after {
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: 1rem;
  content: '';
  background: var(--amber);
}

#section-register .main-form-input {
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 1.15rem;
  align-items: stretch;
}

#section-register .input-sub-data {
  gap: 1.15rem;
  margin-top: 0;
}

#section-register .input-data {
  gap: 0.5rem;
  padding: 0;
}

#section-register .input-data > label {
  color: var(--mist);
  font-family: var(--font-ui);
  font-size: 0.63rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#section-register .input-data > label .text-red-500 {
  color: var(--amber-light);
}

#section-register .input-field {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.4;
  background: rgba(9, 14, 11, 0.36);
  border: 1px solid rgba(162, 181, 168, 0.24);
  border-radius: 0;
  outline: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s var(--ease-luxury), background-color 0.25s var(--ease-luxury), box-shadow 0.25s var(--ease-luxury);
}

#section-register .input-field::placeholder {
  color: rgba(223, 218, 208, 0.38);
  font-weight: 300;
}

#section-register .input-field:hover {
  border-color: rgba(207, 166, 96, 0.48);
}

#section-register .input-field:focus {
  background: rgba(9, 14, 11, 0.58);
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(207, 166, 96, 0.12), inset 0 1px rgba(255, 255, 255, 0.04);
}

#section-register .input-data p {
  margin-top: 0.15rem;
  color: rgba(223, 218, 208, 0.68);
  font-family: var(--font-ui);
  font-size: 0.67rem;
  font-style: normal;
  line-height: 1.7;
  text-align: left;
}

#section-register .input-data p a {
  color: var(--amber-light);
  text-decoration: underline;
  text-decoration-color: rgba(232, 195, 128, 0.45);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#section-register .input-data p a:hover {
  color: var(--ivory);
  text-decoration-color: var(--ivory);
}

#section-register .btn-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.6rem 0 0;
}

#section-register .register-btn {
  min-width: min(100%, 15rem);
  padding: 1rem 1.35rem;
  color: var(--night);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--amber);
  border: 1px solid var(--amber-light);
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(9, 14, 11, 0.45);
  transition: transform 0.25s var(--ease-luxury), background-color 0.25s ease, box-shadow 0.25s ease;
}

#section-register .register-btn:hover {
  opacity: 1;
  background: var(--amber-light);
  box-shadow: 6px 6px 0 rgba(9, 14, 11, 0.5);
  transform: translate(-2px, -2px);
}

#section-register .register-btn:active {
  box-shadow: 2px 2px 0 rgba(9, 14, 11, 0.5);
  transform: translate(1px, 1px);
}

#section-register .register-btn:focus-visible {
  outline: 3px solid var(--ivory);
  outline-offset: 3px;
}

#section-register label.error {
  margin-top: 0.1rem;
  color: var(--amber-light);
  font-family: var(--font-ui);
  font-size: 0.66rem;
}

@media (max-width: 680px) {
  #section-register .form-container {
    padding: 1.5rem 1.25rem;
  }

  #section-register .input-sub-data {
    flex-direction: column;
  }

  #section-register .register-btn {
    width: 100%;
  }
}