/* 
  Codename Aarambh - Nivanta Heights by HB Group
  High-Fashion Luxury Architectural Agency Design System
  Inspired by Yodezeen, IQOSA, Sondaven, & Mkaan (The First The Last Agency)
  Color Ratios:
  - Background (60%): #f0f7ea (Warm Organic Soft Sage Linen)
  - Primary Color (30%): #003931 (Deep Luxury Emerald Black/Forest)
  - Accent Color (10%): #f5821f (Vibrant Sunset Amber Orange)
*/

:root {
  --bg-60: #f0f7ea;
  --bg-dark: #002621;
  --primary-30: #003931;
  --primary-light: #074e44;
  --accent-10: #f5821f;
  --accent-hover: #e06f0e;
  --text-dark: #002621;
  --text-muted: #526862;
  --text-light: #ffffff;
  --border-light: rgba(0, 57, 49, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(245, 130, 31, 0.3);
  /* Brand type */
  --font-heading: "Futura", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-base: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Aliases used across existing markup/classes */
  --font-serif: var(--font-heading);
  --font-display: var(--font-heading);
  --font-sans: var(--font-base);
  --transition-ultra: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-60);
}

body {
  background-color: var(--bg-60);
  color: var(--text-dark);
  font-family: var(--font-base);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

/* Custom Cursor Follower */
/*.custom-cursor-dot {*/
/*  width: 8px;*/
/*  height: 8px;*/
/*  background-color: var(--accent-10);*/
/*  border-radius: 50%;*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  pointer-events: none;*/
/*  z-index: 99999;*/
/*  transform: translate(-50%, -50%);*/
/*  transition: transform 0.1s ease;*/
/*}*/

/*.custom-cursor-circle {*/
/*  width: 40px;*/
/*  height: 40px;*/
/*  border: 1px solid rgba(245, 130, 31, 0.5);*/
/*  border-radius: 50%;*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  pointer-events: none;*/
/*  z-index: 99998;*/
/*  transform: translate(-50%, -50%);*/
/*  transition: width 0.3s ease, height 0.3s ease, transform 0.15s ease, border-color 0.3s ease;*/
/*}*/

/* Agency Typography & Outline Text */
h1,
h2,
h3,
h4,
h5,
.font-serif,
.font-display,
.section-heading-lg,
.giant-hero-title {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.font-sans {
  font-family: var(--font-base);
  font-weight: 400;
}

.text-outline-light {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  color: transparent;
}

.text-outline-dark {
  -webkit-text-stroke: 1px rgba(0, 57, 49, 0.4);
  color: transparent;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-10);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background-color: var(--accent-10);
}

.section-heading-lg {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--primary-30);
  margin-bottom: 25px;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
}

/* Only intentional accent wrappers — not typing .type-char spans */
.section-heading-lg>span:not(.type-char):not(.type-word) {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-10);
}

/* Typing text animation — word-safe wrapping, original colors */
.type-heading {
  max-width: 100%;
  overflow: visible;
}

.type-heading .type-word {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
}

.type-heading .type-char {
  color: inherit;
  font-style: inherit;
  font-weight: inherit;
  opacity: 0;
}

.type-heading .type-char.is-shown {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .type-heading .type-char {
    opacity: 1 !important;
  }
}

.section-padding {
  padding: 60px 0;
}

/* Buttons System - Luxury Agency Style */
.btn-agency-primary {
  background-color: var(--primary-30);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 36px;
  border-radius: 50px;
  border: 1px solid var(--primary-30);
  transition: var(--transition-ultra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-agency-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent-10);
  transition: var(--transition-ultra);
  z-index: -1;
}

.btn-agency-primary:hover::before {
  left: 0;
}

.btn-agency-primary:hover {
  color: #ffffff;
  border-color: var(--accent-10);
  box-shadow: 0 15px 35px rgba(245, 130, 31, 0.3);
  transform: translateY(-2px);
}

.btn-agency-accent {
  background-color: var(--accent-10);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 36px;
  border-radius: 50px;
  border: 1px solid var(--accent-10);
  transition: var(--transition-ultra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(245, 130, 31, 0.25);
}

.btn-agency-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(245, 130, 31, 0.4);
}

.btn-agency-ghost {
  background-color: transparent;
  color: var(--primary-30);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 36px;
  border-radius: 50px;
  border: 1px solid var(--primary-30);
  transition: var(--transition-ultra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.btn-agency-ghost:hover {
  background-color: var(--primary-30);
  color: #ffffff;
}

/* ==========================================================================
   1. HEADER SECTION (Boutique Agency Navigation)
   ========================================================================== */

/* Yodezeen / TFTL magnetic circle-fill CTA */
.header-cta-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-yodezeen {
  --yod-border: rgba(0, 57, 49, 0.9);
  --yod-text: #003931;
  --yod-circle: #003931;
  --yod-text-hover: #f0f7ea;
  --mx: 50%;
  --my: 50%;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border: 1px solid var(--yod-border);
  border-radius: 999px;
  background: transparent;
  color: var(--yod-text);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-yodezeen__circle {
  position: absolute;
  top: var(--my);
  left: var(--mx);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--yod-circle);
  transform: translate(-50%, -50%);
  transition: width 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    height 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.btn-yodezeen__text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: color 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Pure CSS hover — always works */
.btn-yodezeen:hover .btn-yodezeen__circle,
.btn-yodezeen:focus-visible .btn-yodezeen__circle,
.btn-yodezeen.is-hover .btn-yodezeen__circle {
  width: 420px;
  height: 420px;
}

.btn-yodezeen:hover,
.btn-yodezeen:focus-visible,
.btn-yodezeen.is-hover {
  color: var(--yod-text-hover);
  border-color: var(--yod-circle);
  outline: none;
}

.btn-yodezeen:active {
  transform: scale(0.97);
}

/* Glass header stays light — keep dark CTA */
.agency-navbar.scrolled .btn-yodezeen {
  --yod-border: rgba(0, 57, 49, 0.9);
  --yod-text: #003931;
  --yod-circle: #003931;
  --yod-text-hover: #f0f7ea;
}

@media (max-width: 991.98px) {
  .header-cta-wrap {
    margin-top: 1rem;
    width: 100%;
  }

  .btn-yodezeen {
    width: 100%;
    height: 48px;
  }

  .btn-yodezeen:hover .btn-yodezeen__circle,
  .btn-yodezeen:focus-visible .btn-yodezeen__circle,
  .btn-yodezeen.is-hover .btn-yodezeen__circle {
    width: 120%;
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .btn-yodezeen,
  .btn-yodezeen__circle {
    transition: none !important;
  }
}

.agency-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 1000;
  transform: translateY(0);
  transition: left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.45s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.agency-navbar.scrolled {
  top: 0;
  left: 2.5%;
  width: 95%;
  padding: 12px 0;
  background: rgba(240, 247, 234, 0.55);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(0, 57, 49, 0.08);
  border-top: none;
  border-radius: 0 0 22px 22px;
  box-shadow:
    0 14px 40px rgba(0, 57, 49, 0.12),
    0 4px 14px rgba(0, 57, 49, 0.06);
  transform: translateY(0);
}

/* Hide while scrolling down; reverse scroll brings it back fixed */
.agency-navbar.scrolled.nav-hidden {
  transform: translateY(calc(-100% - 12px));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .agency-navbar {
    transition: none;
  }
}

.agency-brand-badge {
  display: flex;
  flex-direction: column;
}

/* Site logos (from raw-data) */
.site-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.site-logo-header {
  width: 100%;
  max-height: 65px;
}

/* Dark logo on light hero + glass header; light logo kept for optional dark themes */
.navbar-brand .site-logo-header--light {
  display: none;
}

.agency-navbar.scrolled .navbar-brand .site-logo-header--dark {
  display: block;
}

.agency-navbar.scrolled .navbar-brand .site-logo-header--light {
  display: none;
}

.rera-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rera-badge-box img {
  width: 50%;
}


a {
  color: #000;
}

.site-logo-footer {
  width: 28%;
  max-height: 115px;
}

.developer-logo-footer {
  width: 100%;
  max-height: 250px;
}


.site-logo-intro {
  width: clamp(220px, 34vw, 420px);
  max-width: min(420px, 86vw);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

@media (max-width: 991.98px) {
  .site-logo-header {
    width: clamp(130px, 34vw, 180px);
    max-height: 58px;
  }

  .site-logo-intro {
    width: min(300px, 58vw);
  }
}

@media (max-width: 575.98px) {
  .site-logo-header {
    width: clamp(120px, 42vw, 160px);
    max-height: 52px;
  }

  .site-logo-intro {
    width: min(240px, 72vw);
  }
}

.brand-main {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
}

.agency-navbar:not(.scrolled) .brand-main {
  color: var(--primary-30);
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--accent-10);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 3px;
}

.agency-nav-links .nav-link {
  position: relative;
  font-family: var(--font-base);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-30) !important;
  margin: 0 12px;
  padding: 6px 0 !important;
  overflow: hidden;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.agency-nav-links .nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Underline draw */
.agency-nav-links .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.agency-nav-links .nav-link:hover,
.agency-nav-links .nav-link:focus-visible {
  color: var(--accent-10) !important;
}

.agency-nav-links .nav-link:hover span,
.agency-nav-links .nav-link:focus-visible span {
  transform: translateY(-2px);
}

.agency-nav-links .nav-link:hover::after,
.agency-nav-links .nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.agency-navbar.scrolled .agency-nav-links .nav-link {
  color: var(--primary-30) !important;
}

.agency-navbar.scrolled .agency-nav-links .nav-link:hover,
.agency-navbar.scrolled .agency-nav-links .nav-link:focus-visible {
  color: var(--accent-10) !important;
}

/* ==========================================================================
   2. HERO BANNER SECTION (Full Bleed Editorial Architecture)
   ========================================================================== */
.agency-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  overflow: hidden;
  padding-top: 100px;
}

/* Full-bleed desktop / mobile banner creatives */
.agency-hero--banner {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  display: block;
  background: none;
  background-color: transparent;
  overflow: hidden;
}

.hero-banner-picture {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  line-height: 0;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 38, 33, 0.7) 0%, rgba(0, 38, 33, 0.92) 100%);
  z-index: 2;
}

.hero-main-container {
  position: relative;
  z-index: 5;
}

.giant-hero-title {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  line-height: 0.95;
  color: #ffffff;
  margin-bottom: 25px;
}

.giant-hero-title .accent-span {
  color: var(--accent-10);
  font-style: italic;
  font-weight: 300;
}

.hero-manifesto-text {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-spec-grid {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  margin-top: 40px;
}

.spec-node-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent-10);
  line-height: 1;
}

.spec-node-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Hero Embedded Glass Form Card */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-glass-card .form-control-custom {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.hero-glass-card .form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-glass-card .form-control-custom:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-10);
}

.hero-glass-card select.form-control-custom option {
  background-color: var(--bg-dark);
  color: #ffffff;
}

/* ==========================================================================
   3. OVERVIEW SECTION (Editorial Layout)
   ========================================================================== */
.overview-section {
  background-color: var(--bg-60);
}

.overview-editorial-box {
  border-left: 2px solid var(--primary-30);
  padding-left: 30px;
  margin-bottom: 40px;
}

.overview-editorial-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.8;
}

.editorial-num-block {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-light);
}

.editorial-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 0.9;
  color: var(--primary-30);
  font-weight: 700;
}

.editorial-num-desc {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-10);
}

/* ==========================================================================
   4. HIGHLIGHTS — centered coverflow + overlay text
   ========================================================================== */
.highlights-moralia-section {
  --hl-bg: #0c0c0c;
  background-color: #003830;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.highlights-stage {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
}

/* Large serif title centered over square + dark field */
.highlights-center-title {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  margin: 0;
  width: min(92vw, 920px);
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6.5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlights-center-title.is-swap {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 12px));
}

.highlights-moralia-viewport {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 80px 0;
  touch-action: pan-y;
}

.highlights-moralia-viewport::-webkit-scrollbar {
  display: none;
}

.highlights-moralia-viewport.is-dragging,
.highlights-moralia-viewport.is-animating {
  cursor: grabbing;
  scroll-snap-type: none;
}

.highlights-moralia-section.is-sliding .highlights-center-title {
  transition: opacity 0.35s ease, transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.highlights-moralia-track {
  /* Larger center + ~half of each side image visible */
  --hl-panel-w: min(76vh, 640px);
  --hl-peek: calc(var(--hl-panel-w) * 0.5);
  --hl-gap: max(28px, calc(50vw - (var(--hl-panel-w) / 2) - var(--hl-peek)));
  --hl-side-pad: calc(50vw - (var(--hl-panel-w) / 2));
  display: flex;
  align-items: center;
  gap: var(--hl-gap);
  width: max-content;
  padding: 0 var(--hl-side-pad);
}

.highlight-panel {
  position: relative;
  flex: 0 0 var(--hl-panel-w);
  width: var(--hl-panel-w);
  height: var(--hl-panel-w);
  border-radius: 0;
  overflow: visible;
  isolation: isolate;
  opacity: 0.55;
  filter: brightness(0.72) saturate(0.85);
  transform: scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1),
    filter 0.9s cubic-bezier(0.65, 0, 0.35, 1),
    transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: opacity, transform;
}

.highlight-panel.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
  z-index: 2;
}

.highlight-panel__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
  border-radius: 20px;
}

.highlight-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08) translate3d(var(--hl-parallax, 0px), 0, 0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.highlights-moralia-viewport.is-dragging .highlight-panel__media img {
  transition: none;
}

.highlight-panel.is-active .highlight-panel__media img {
  transform: scale(1.02) translate3d(var(--hl-parallax, 0px), 0, 0);
}

/* Vertical side labels in the dark gutters */
.highlight-panel__vlabel {
  position: absolute;
  top: 50%;
  z-index: 3;
  font-family: var(--font-base);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease 0.12s;
}

/* Left neighbor → label sits in gutter toward center */
.highlight-panel:has(+ .is-active) .highlight-panel__vlabel {
  left: calc(100% + 18px);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
}

/* Right neighbor → label sits in gutter toward center */
.highlight-panel.is-active+.highlight-panel .highlight-panel__vlabel {
  right: calc(100% + 18px);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  opacity: 1;
}

/* Bottom bar: numbers left, arrows right */
.highlights-moralia-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vh, 28px) clamp(20px, 4vw, 48px);
  pointer-events: none;
}

.highlights-progress {
  margin: 0;
  font-family: var(--font-base);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.88);
  pointer-events: none;
}

.highlights-progress .hl-sep {
  margin: 0 0.45em;
  color: rgba(255, 255, 255, 0.45);
}

.highlights-progress .hl-total {
  color: rgba(255, 255, 255, 0.5);
}

.highlights-progress [data-hl-current] {
  display: inline-block;
  min-width: 1.4em;
  color: #ffffff;
}

.highlights-moralia-nav {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hl-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.hl-nav-btn:hover,
.hl-nav-btn:focus-visible {
  background: #ffffff;
  color: #0c0c0c;
  border-color: #ffffff;
  outline: none;
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .highlights-stage {
    min-height: min(78vh, 680px);
  }

  .highlights-moralia-track {
    --hl-panel-w: min(58vh, 440px);
    --hl-peek: calc(var(--hl-panel-w) * 0.45);
  }

  .highlights-center-title {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }
}

@media (max-width: 575.98px) {
  .highlights-stage {
    min-height: 72vh;
  }

  .highlights-moralia-track {
    --hl-panel-w: min(62vw, 300px);
    --hl-peek: calc(var(--hl-panel-w) * 0.42);
  }

  .highlight-panel__vlabel {
    display: none;
  }

  .highlights-moralia-footer {
    padding: 16px 18px;
  }

  .highlights-center-title {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
    width: 90vw;
  }

  .highlights-moralia-viewport {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .highlight-panel,
  .highlight-panel__media img,
  .highlights-center-title,
  .highlight-panel__vlabel {
    transition: none !important;
  }
}

/* ==========================================================================
   5. AMENITIES — cinematic editorial slider (Mkaan-inspired)
   ========================================================================== */
.amenities-mkaan-section {
  --am-sage: #f0f7ea;
  --am-deep: #003830;
  --am-ink: #012821;
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 12% 40%, rgba(0, 56, 48, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 70%, rgba(245, 130, 31, 0.05) 0%, transparent 60%),
    var(--am-sage);
  padding: clamp(60px, 12vw, 60px) 0 clamp(60px, 13vw, 60px);
  overflow: hidden;
}

.amenities-mkaan {
  --am-card-w: clamp(300px, 28vw, 380px);
  --am-image-h: clamp(420px, 78vh, 640px);
  position: relative;
  display: flex;
  align-items: stretch;
  gap: clamp(28px, 3.5vw, 48px);
  width: 100%;
  min-height: var(--am-image-h);
  padding-left: max(1.5vw, calc((100% - 1280px) / 2));
  padding-right: 0;
}

/* Left horizontal intro rail */
.amenities-mkaan__rail {
  flex: 0 0 clamp(260px, 28vw, 360px);
  display: flex;
  align-items: center;
  z-index: 2;
}

.amenities-mkaan__rail-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.amenities-mkaan__rail-inner .section-tag {
  margin-bottom: 0;
}

.amenities-mkaan__rail-heading {
  margin: 0;
  font-size: clamp(1.85rem, 2.8vw, 3.1rem);
  line-height: 1.12;
  max-width: 12ch;
}

.amenities-mkaan__rail-copy {
  margin: 0;
  font-family: var(--font-base);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 32ch;
}

.amenities-mkaan__rail-btn {
  margin-top: 8px;
}

.amenities-mkaan__stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--am-image-h);
}

/* Full-bleed visual plane — right stage */
.amenities-mkaan__visual {
  position: relative;
  width: 100%;
  margin-left: 0;
  height: var(--am-image-h);
  overflow: hidden;
  background: #c8d6c2;
  box-shadow:
    0 40px 90px rgba(1, 40, 33, 0.16),
    0 8px 24px rgba(1, 40, 33, 0.08);
}

.amenities-mkaan__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(240, 247, 234, 0.55) 0%, rgba(240, 247, 234, 0.12) 28%, transparent 52%),
    linear-gradient(180deg, transparent 70%, rgba(1, 40, 33, 0.18) 100%);
}

.amenities-mkaan__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.amenities-mkaan__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.amenities-mkaan__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.amenities-mkaan__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.08);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.amenities-mkaan__slide.is-active img {
  transform: scale(1);
  animation: amKen 18s ease-out forwards;
}

@keyframes amKen {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

/* Floating label above the card */
.amenities-mkaan__label {
  position: absolute;
  left: max(4vw, calc((100% - 1280px) / 2 + 2vw));
  top: -2.6rem;
  z-index: 5;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-base);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--am-deep);
}

.amenities-mkaan__label-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent-10);
}

/* Overlapping editorial card */
.amenities-mkaan__card {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 4;
  width: var(--am-card-w);
  height: 360px;
  padding: 32px 30px 28px;
  background:
    linear-gradient(165deg, #01463c 0%, var(--am-deep) 42%, #012821 100%);
  color: #f0f7ea;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  box-shadow:
    0 30px 80px rgba(1, 40, 33, 0.28),
    0 2px 0 rgba(245, 130, 31, 0.35) inset;
  overflow: hidden;
}

.amenities-mkaan__card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-10) 0%, transparent 70%);
  opacity: 0.85;
}

.amenities-mkaan__dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amenities-mkaan__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(240, 247, 234, 0.28);
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease;
}

.amenities-mkaan__dots button.is-active {
  background: var(--accent-10);
  transform: scale(1.35);
}

.amenities-mkaan__count {
  position: relative;
  margin: 0;
  font-family: var(--font-base);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: rgba(240, 247, 234, 0.55);
}

.amenities-mkaan__count .am-count-sep {
  margin: 0 0.4em;
  color: rgba(245, 130, 31, 0.8);
}

.amenities-mkaan__title {
  position: relative;
  margin: 26px 0 0;
  padding-right: 12px;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.85rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #f7fbf3;
  max-width: 100%;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.amenities-mkaan__bottom {
  position: relative;
  margin-top: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 8px;
}

.amenities-mkaan__desc {
  margin: 0;
  font-family: var(--font-base);
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  line-height: 1.6;
  color: rgba(240, 247, 234, 0.72);
  max-width: 24ch;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.amenities-mkaan__title.is-swap,
.amenities-mkaan__desc.is-swap {
  opacity: 0;
  transform: translateY(14px);
}

.amenities-mkaan__nav {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.am-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(240, 247, 234, 0.35);
  background: rgba(240, 247, 234, 0.03);
  color: #f0f7ea;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.am-nav-btn:hover,
.am-nav-btn:focus-visible {
  background: #f0f7ea;
  color: var(--am-deep);
  border-color: #f0f7ea;
  outline: none;
  transform: scale(1.06);
}

@media (max-width: 1100px) {
  .amenities-mkaan__rail-heading {
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  }
}

@media (max-width: 991.98px) {
  .amenities-mkaan-section {
    padding: 80px 0 90px;
  }

  .amenities-mkaan {
    --am-card-w: 100%;
    --am-image-h: min(48vh, 380px);
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
    min-height: 0;
  }

  .amenities-mkaan__rail {
    flex: 0 0 auto;
    width: 100%;
    justify-content: flex-start;
  }

  .amenities-mkaan__rail-inner {
    gap: 12px;
  }

  .amenities-mkaan__rail-heading {
    font-size: clamp(2rem, 7vw, 2.8rem);
    max-width: 16ch;
  }

  .amenities-mkaan__rail-copy {
    max-width: 42ch;
  }

  .amenities-mkaan__rail-btn {
    margin-top: 4px;
  }

  .amenities-mkaan__stage {
    min-height: 0;
  }

  .amenities-mkaan__visual {
    width: 100%;
    margin-left: 0;
  }

  .amenities-mkaan__veil {
    background: linear-gradient(180deg, transparent 55%, rgba(1, 40, 33, 0.25) 100%);
  }

  .amenities-mkaan__label {
    position: static;
    margin: 0 0 20px;
  }

  .amenities-mkaan__card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 360px;
    transform: none;
    margin-top: -64px;
  }

  .amenities-mkaan__title {
    margin-top: 28px;
    max-width: 11ch;
    font-size: clamp(2.3rem, 8vw, 3rem);
  }

  .amenities-mkaan__dots {
    right: 16px;
  }
}

@media (max-width: 575.98px) {
  .amenities-mkaan__visual {
    height: 44vh;
  }

  .amenities-mkaan__card {
    margin-top: -44px;
    padding: 26px 22px 24px;
    height: 360px;
  }

  .amenities-mkaan__bottom {
    gap: 24px;
  }

  .amenities-mkaan__dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amenities-mkaan__slide.is-active img {
    animation: none;
  }
}

/* ==========================================================================
   6. CONFIGURATION — Unit Plan / Floor Plan sliders
   ========================================================================== */
.plans-section {
  background-color: #ffffff;
}

.config-agency-tab-bar {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 50px;
}

.config-agency-tab-btn {
  background-color: transparent;
  color: var(--primary-30);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid var(--primary-30);
  transition: var(--transition-ultra);
  cursor: pointer;
}

.config-agency-tab-btn.active,
.config-agency-tab-btn:hover {
  background-color: var(--primary-30);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 57, 49, 0.2);
}

/* Unit Plan slider */
.unit-plan-slider {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 20px 50px rgba(0, 57, 49, 0.08);
  border: 1px solid var(--border-light);
}

.unit-plan-slider__media {
  position: relative;
}

.unit-plan-slider__slides {
  position: relative;
  min-height: min(52vh, 460px);
  background: #f4f8f1;
  border-radius: 18px;
  overflow: hidden;
}

.unit-plan-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.unit-plan-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.unit-plan-slide img {
  max-width: 100%;
  max-height: min(48vh, 420px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.unit-plan-slider__nav,
.floor-plan-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.plans-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 57, 49, 0.25);
  background: transparent;
  color: var(--primary-30);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.plans-nav-btn:hover,
.plans-nav-btn:focus-visible {
  background: var(--primary-30);
  color: #fff;
  border-color: var(--primary-30);
  outline: none;
}

.plans-nav-btn--dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.plans-nav-btn--dark:hover,
.plans-nav-btn--dark:focus-visible {
  background: #fff;
  color: var(--primary-30);
  border-color: #fff;
}

.plans-progress {
  font-family: var(--font-base);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--primary-30);
  min-width: 4.5em;
  text-align: center;
}

.plans-progress--dark {
  color: rgba(255, 255, 255, 0.85);
}

.unit-plan-slider__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-base);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-10);
}

.unit-plan-slider__title {
  margin: 0 0 22px;
  /*font-family: "Cormorant Garamond", "Times New Roman", Times, serif;*/
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--primary-30);
}

.config-price-hero {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-10);
  line-height: 1;
  margin-bottom: 22px;
}

.config-feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.config-feature-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
}

.config-feature-list li span:first-child {
  color: var(--text-muted);
}

.config-feature-list li span:last-child {
  color: var(--primary-30);
  font-weight: 700;
  text-align: right;
}

/* Floor Plan slider */
.floor-plan-slider {
  background: var(--bg-dark);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 57, 49, 0.16);
}

.floor-plan-slider__frame {
  position: relative;
  min-height: min(58vh, 520px);
  background: #0d1f1c;
}

.floor-plan-slider__slides {
  position: relative;
  min-height: inherit;
}

.floor-plan-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 36px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.floor-plan-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.floor-plan-slide img {
  max-width: 100%;
  max-height: min(52vh, 460px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.floor-plan-slider__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.floor-plan-slider__label {
  margin: 0;
  font-family: var(--font-base);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: rgba(240, 247, 234, 0.9);
}

.floor-plan-slider__nav {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .unit-plan-slider {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .unit-plan-slider__slides {
    min-height: 320px;
  }

  .floor-plan-slider__frame {
    min-height: 360px;
  }

  .floor-plan-slider__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   7. CONNECTIVITY SECTION (Dark Emerald Minimalism)
   ========================================================================== */
.connectivity-agency-section {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.connectivity-agency-section .section-heading-lg {
  color: #ffffff;
}

.connectivity-pill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.connectivity-pill-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-10);
}

.connectivity-pill-time {
  background-color: var(--accent-10);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  letter-spacing: 1px;
}

.connectivity-map-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 450px;
}

.connectivity-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
  display: block;
}

/* ==========================================================================
   8. GALLERY SECTION (Masonry Architecture Grid)
   ========================================================================== */
.gallery-agency-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: auto;
  aspect-ratio: 3 / 4;
  margin-bottom: 25px;
  background: rgba(0, 20, 16, 0.55);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.gallery-agency-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.8s ease;
}

.gallery-agency-item:hover img {
  transform: scale(1.03);
}

.gallery-agency-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 38, 33, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition-ultra);
}

.gallery-agency-item:hover .gallery-agency-caption {
  opacity: 1;
}

/* ==========================================================================
   9. DEVELOPER SECTION & FOOTER
   ========================================================================== */
.developer-agency-section {
  background-color: var(--bg-60);
}

.footer-agency-section {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 100px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   JESKO-STYLE FIXED BOTTOM CTA + SLIDE-UP LEAD DRAWER
   ========================================================================== */
body.is-lead-open {
  overflow: hidden;
}

.jesko-cta-dock {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 1060;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  background: rgba(0, 38, 33, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(240, 247, 234, 0.12);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 20, 16, 0.35);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-lead-open .jesko-cta-dock {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.jesko-cta-dock__quick {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jesko-cta-dock__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f0f7ea;
  background: rgba(240, 247, 234, 0.1);
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.jesko-cta-dock__icon:hover,
.jesko-cta-dock__icon:focus-visible {
  background: rgba(240, 247, 234, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

.jesko-cta-dock__icon--wa:hover,
.jesko-cta-dock__icon--wa:focus-visible {
  background: #25d366;
  color: #ffffff;
}

.jesko-cta-dock__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  background: var(--accent-10);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.jesko-cta-dock__book:hover,
.jesko-cta-dock__book:focus-visible {
  background: var(--accent-hover);
  outline: none;
}

.lead-drawer {
  position: fixed;
  inset: 0;
  z-index: 1070;
  pointer-events: none;
  visibility: hidden;
}

.lead-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.lead-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 16, 0.55);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-drawer.is-open .lead-drawer__backdrop {
  opacity: 1;
}

.lead-drawer__panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1120px, calc(100% - 32px));
  max-height: min(88vh, 720px);
  transform: translate(-50%, calc(100% + 40px));
  background: #f7fbf3;
  color: var(--text-dark);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 60px rgba(0, 20, 16, 0.28);
  padding: 32px 36px calc(28px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.lead-drawer.is-open .lead-drawer__panel {
  transform: translate(-50%, 0);
}

.lead-drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 57, 49, 0.08);
  color: var(--primary-30);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lead-drawer__close:hover,
.lead-drawer__close:focus-visible {
  background: rgba(0, 57, 49, 0.14);
  transform: rotate(90deg);
  outline: none;
}

.lead-drawer__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-10);
}

.lead-drawer__title {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", var(--font-heading), serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--primary-30);
}

.lead-drawer__sub {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 34ch;
}

.lead-drawer__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 18px 18px;
  align-items: end;
}

.lead-drawer__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.lead-drawer__fields .lead-drawer__submit {
  margin-top: 0;
  width: auto;
  min-width: 160px;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  white-space: nowrap;
}

.lead-drawer__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 57, 49, 0.65);
}

.lead-drawer__input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 57, 49, 0.18);
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s ease;
}

.lead-drawer__input:focus {
  border-bottom-color: var(--accent-10);
}

.lead-drawer__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary-30) 50%),
                    linear-gradient(135deg, var(--primary-30) 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% + 2px), calc(100% - 6px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.lead-drawer__submit {
  margin-top: 0;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--primary-30);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lead-drawer__submit:hover,
.lead-drawer__submit:focus-visible {
  background: var(--primary-light);
  outline: none;
}

.lead-drawer__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.lead-drawer__submit--ghost {
  margin-top: 8px;
  width: 100%;
  background: transparent;
  color: var(--primary-30);
  border: 1px solid rgba(0, 57, 49, 0.2);
  justify-content: center;
  padding: 16px 22px;
}

.lead-drawer__submit--ghost:hover,
.lead-drawer__submit--ghost:focus-visible {
  background: rgba(0, 57, 49, 0.06);
}

.lead-drawer__privacy {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.lead-drawer__privacy a {
  color: var(--accent-10);
  text-decoration: none;
}

.lead-drawer__privacy a:hover {
  text-decoration: underline;
}

.lead-drawer__success {
  padding: 28px 0 8px;
  text-align: left;
}

.lead-drawer__success[hidden] {
  display: none !important;
}

.lead-drawer__form .form-alert-container .alert {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 575.98px) {
  .jesko-cta-dock {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    justify-content: space-between;
    padding: 8px;
  }

  body.is-lead-open .jesko-cta-dock {
    transform: translateY(20px);
  }

  .jesko-cta-dock__book {
    flex: 1;
    justify-content: center;
    padding: 14px 16px;
  }

  .lead-drawer__panel {
    width: 100%;
    left: 0;
    transform: translateY(calc(100% + 40px));
    border-radius: 24px 24px 0 0;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .lead-drawer.is-open .lead-drawer__panel {
    transform: translateY(0);
  }

  .lead-drawer__fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lead-drawer__fields .lead-drawer__submit {
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    padding: 16px 22px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jesko-cta-dock,
  .lead-drawer__backdrop,
  .lead-drawer__panel,
  .lead-drawer__close {
    transition: none;
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
  .giant-hero-title {
    font-size: 3.2rem;
  }

  .section-heading-lg {
    font-size: 2.4rem;
  }

  .hero-spec-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ==========================================================================
   BARE PAGES — Privacy Policy & Thank You (no header / footer / logo)
   ========================================================================== */
html:has(body.bare-page),
body.bare-page {
  height: 100%;
}

body.bare-page {
  padding-bottom: 0;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--text-dark);
  background: #f0f7ea;
}

.bare-shell {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vh, 28px) clamp(16px, 4vw, 40px);
  overflow: hidden;
}

.bare-shell__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/images/elevation-3.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.bare-page--thanks .bare-shell__bg {
  background-image: url("assets/images/elevation-1.jpg");
}

.bare-shell__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(240, 247, 234, 0.88) 0%, rgba(240, 247, 234, 0.72) 45%, rgba(0, 57, 49, 0.28) 100%),
    linear-gradient(180deg, rgba(240, 247, 234, 0.35) 0%, rgba(240, 247, 234, 0.55) 100%);
}

.bare-main {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
}

.bare-panel {
  width: min(780px, 100%);
  max-height: calc(100dvh - 32px);
  padding: clamp(22px, 3.2vh, 36px) clamp(22px, 3.5vw, 40px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 24px 60px rgba(0, 38, 33, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  overflow: hidden;
  animation: bareRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bare-panel--thanks {
  width: min(520px, 100%);
  text-align: center;
}

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

.bare-kicker {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-10);
}

.bare-title {
  margin: 0;
  font-family: "Cormorant Garamond", var(--font-heading), serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vh, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--primary-30);
}

.bare-title--center {
  text-align: center;
}

.bare-rule {
  width: 52px;
  height: 2px;
  margin: 12px 0 14px;
  background: linear-gradient(90deg, var(--accent-10), transparent);
}

.bare-rule--center {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--accent-10), transparent);
}

.bare-lead {
  margin: 0 0 14px;
  font-size: clamp(0.9rem, 1.6vh, 1rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.bare-lead--center {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.bare-lead a {
  color: var(--accent-10);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 130, 31, 0.4);
}

.bare-lead a:hover {
  border-bottom-color: var(--accent-10);
}

.bare-lead strong {
  color: var(--primary-30);
  font-weight: 600;
}

.bare-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bare-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 57, 49, 0.1);
}

.bare-section:last-child {
  border-bottom: 1px solid rgba(0, 57, 49, 0.1);
}

.bare-section__num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-10);
  padding-top: 4px;
}

.bare-section h2 {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", var(--font-heading), serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vh, 1.4rem);
  color: var(--primary-30);
}

.bare-section p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
  font-size: clamp(0.84rem, 1.5vh, 0.92rem);
}

.bare-seal {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

.bare-seal__check {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--accent-10) 0%, #d96a12 100%);
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 12px 28px rgba(245, 130, 31, 0.32);
  z-index: 1;
}

.bare-seal__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(245, 130, 31, 0.45);
  animation: barePulse 2.4s ease-out infinite;
}

.bare-seal__ring--delay {
  animation-delay: 0.7s;
}

@keyframes barePulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.bare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.bare-actions--center {
  justify-content: center;
}

.bare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.bare-btn--primary {
  background: var(--primary-30);
  color: #ffffff;
  border: 1px solid transparent;
}

.bare-btn--primary:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.bare-btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--primary-30);
  border: 1px solid rgba(0, 57, 49, 0.18);
}

.bare-btn--ghost:hover {
  border-color: var(--primary-30);
  color: var(--primary-30);
  transform: translateY(-2px);
}

@media (max-width: 575.98px) {
  .bare-shell {
    padding: 12px;
  }

  .bare-panel {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .bare-actions {
    flex-direction: column;
  }

  .bare-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bare-panel,
  .bare-seal__ring {
    animation: none;
  }
}

@media (max-height: 700px) {
  .bare-title {
    font-size: clamp(1.7rem, 5vh, 2.2rem);
  }

  .bare-seal {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
  }

  .bare-seal__check {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .bare-section {
    padding: 8px 0;
  }
}