/**
 * MANSHURIN SUKABARU — Conversion-First Design System (V2)
 * Palette: Dark Ink, Champagne Gold, Warm Sand, WhatsApp Green
 * Typography: Fraunces 600 + Plus Jakarta Sans 400 & 600
 */

:root {
  --ink-900: #0F1115;
  --ink-800: #171A21;
  --ink-700: #232732;
  --ink-950: #0A0C10;
  --champagne: #C8A96A;
  --clay: #A8763E;
  --sage: #7E8B74;
  --wa: #22C35E;
  --wa-hover: #1EB054;
  --sand-100: #F6F2EA;
  --sand-200: #EDE7DA;
  --text-hi: #F8F7F4;
  --text-lo: #B9B4A9;
  --text-ink: #15171C;
  --text-muted: #6B685F;
  --line-gold: rgba(200, 169, 106, 0.28);
  --line-dark: rgba(255, 255, 255, 0.08);
  --radius-card: 20px;
  --radius-btn: 14px;
  --radius-input: 12px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.20), 0 14px 36px -10px rgba(0, 0, 0, 0.42);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.42s;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --container-max: 1140px;
}

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

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

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.68;
  color: var(--text-ink);
  background-color: var(--sand-100);
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography Utility */
.font-display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(28px, 7.8vw, 48px);
  line-height: 1.12;
}

h2 {
  font-size: clamp(22px, 5.5vw, 36px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.3;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ink-900);
  color: var(--text-hi);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.section {
  padding-block: clamp(48px, 8vw, 88px);
}

.section--light {
  background-color: var(--sand-100);
  color: var(--text-ink);
}

.section--ivory {
  background-color: var(--sand-200);
  color: var(--text-ink);
}

.section--dark {
  background-color: var(--ink-900);
  color: var(--text-hi);
}

.section-header {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--champagne);
  margin-bottom: 8px;
}

.section-desc {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 640px;
}

.section--dark .section-desc {
  color: var(--text-lo);
}

/* Badges & Chips */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background-color: rgba(200, 169, 106, 0.12);
  color: #8C6F2D;
  border: 1px solid var(--line-gold);
  margin-bottom: 16px;
}

.section--dark .badge-pill {
  background-color: rgba(200, 169, 106, 0.15);
  color: var(--champagne);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding-inline: 24px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.12s var(--ease), background-color 0.2s, box-shadow 0.2s;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.btn--wa {
  background-color: var(--wa);
  color: #06210F;
  box-shadow: 0 4px 14px rgba(34, 195, 94, 0.28);
}

.btn--wa:hover {
  background-color: var(--wa-hover);
  color: #06210F;
  box-shadow: 0 6px 18px rgba(34, 195, 94, 0.38);
}

.btn--primary {
  background-color: var(--ink-900);
  color: var(--text-hi);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--primary:hover {
  background-color: var(--ink-800);
}

.btn--secondary {
  background-color: transparent;
  color: var(--text-ink);
  border: 1px solid rgba(21, 23, 28, 0.25);
}

.section--dark .btn--secondary {
  color: var(--champagne);
  border-color: var(--line-gold);
}

.btn--secondary:hover {
  background-color: rgba(200, 169, 106, 0.08);
}

.btn--sm {
  height: 42px;
  padding-inline: 16px;
  font-size: 14px;
  border-radius: 10px;
}

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

/* S1. STICKY HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-block: 14px;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}

.site-header.scrolled {
  background-color: rgba(15, 17, 21, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 38px;
  width: auto;
  border-radius: 50%;
}

.header-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-ink);
  transition: color 0.3s;
}

.site-header.scrolled .header-title {
  color: var(--text-hi);
}

/* S2. HERO SECTION */
.hero {
  padding-top: clamp(100px, 14vw, 136px);
  padding-bottom: clamp(48px, 8vw, 80px);
  background: linear-gradient(180deg, #F9F6F0 0%, var(--sand-100) 100%);
}

.hero-grid {
  display: grid;
  gap: clamp(32px, 6vw, 48px);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-specs {
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 3px solid var(--champagne);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 23, 28, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--champagne);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.16);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero-visual:hover img {
  transform: scale(1.02);
}

/* S3. 3D COVERFLOW SLIDER SECTION */
.section--slider {
  background-color: var(--ink-900);
  overflow: hidden;
  position: relative;
  padding-block: clamp(56px, 9vw, 96px);
}

.coverflow {
  position: relative;
  width: 100%;
  margin-inline: auto;
  perspective: 1400px;
}

.coverflow__viewport {
  position: relative;
  width: 100%;
  height: clamp(380px, 60vw, 560px);
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.coverflow__viewport:active {
  cursor: grabbing;
}

.coverflow__track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.coverflow__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 62vw, 460px);
  height: clamp(340px, 52vw, 500px);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform-origin: center center;
  transition: transform 0.7s var(--ease), opacity 0.5s ease, filter 0.5s ease;
  user-select: none;
  background-color: var(--ink-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.coverflow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* 3D Positions per Bagian 8.2 */
.slide--center {
  transform: translate(-50%, -50%) rotateY(0deg) scale(1);
  z-index: 30;
  filter: none;
  opacity: 1;
  border-color: var(--champagne);
  box-shadow: 0 8px 32px rgba(200, 169, 106, 0.2);
}

.slide--left {
  transform: translate(-115%, -50%) rotateY(20deg) scale(0.84);
  z-index: 20;
  filter: brightness(0.72) saturate(0.9);
  opacity: 0.92;
}

.slide--right {
  transform: translate(15%, -50%) rotateY(-20deg) scale(0.84);
  z-index: 20;
  filter: brightness(0.72) saturate(0.9);
  opacity: 0.92;
}

.slide--hidden {
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

/* Slider Controls & Info */
.coverflow__info {
  margin-top: 24px;
  text-align: center;
}

.coverflow__caption {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 6px;
  min-height: 24px;
}

.coverflow__counter {
  font-size: 13px;
  color: var(--champagne);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.coverflow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.coverflow__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  color: var(--text-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, border-color 0.2s;
}

.coverflow__nav-btn:hover {
  background-color: var(--ink-700);
  border-color: var(--champagne);
}

.coverflow__pause-btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-lo);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slider-cta-wrap {
  margin-top: 36px;
  text-align: center;
}

/* S4. FAKTA CEPAT (Grid Spesifikasi) */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .facts-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.fact-card {
  background: #FFFFFF;
  border: 1px solid rgba(21, 23, 28, 0.07);
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.fact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(200, 169, 106, 0.12);
  color: var(--clay);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.fact-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.fact-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-ink);
  line-height: 1.25;
}

.fact-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* S5. KENAPA BEDA */
.features-grid {
  display: grid;
  gap: 18px;
}

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

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-2px);
}

.feature-num {
  font-family: "Fraunces", serif;
  font-size: 28px;
  color: var(--champagne);
  line-height: 1;
  flex-shrink: 0;
}

.feature-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-hi);
}

/* S6. BLOK HARGA & BROSUR DEVELOPER */
.pricing-wrap {
  display: grid;
  gap: 32px;
}

@media (min-width: 992px) {
  .pricing-wrap {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 44px);
  border-left: 6px solid var(--champagne);
  box-shadow: var(--shadow-card);
}

.price-comparison-header {
  margin-bottom: 20px;
}

.price-strikethrough-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.price-old {
  font-size: clamp(20px, 3.5vw, 26px);
  color: #B53A3A;
  text-decoration: line-through;
  font-weight: 600;
}

.price-old-note {
  font-size: 13px;
  color: var(--text-muted);
}

.price-new-hero {
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 6.5vw, 56px);
  color: var(--text-ink);
  line-height: 1;
  margin-bottom: 8px;
}

.price-badge-unit {
  font-size: 14px;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 24px;
}

.price-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 20px;
  border-top: 1px solid rgba(21, 23, 28, 0.08);
  border-bottom: 1px solid rgba(21, 23, 28, 0.08);
  margin-bottom: 24px;
}

.price-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.price-bar-outer {
  height: 10px;
  background: #EAE5D9;
  border-radius: 999px;
  overflow: hidden;
}

.price-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.price-bar-fill--dev {
  width: 90%;
  background: #A09B8E;
}

.price-bar-fill--our {
  width: 52%;
  background: var(--champagne);
}

.brochure-preview-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(21, 23, 28, 0.06);
  text-align: center;
}

.brochure-thumb-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #F4EFE6;
}

.brochure-thumb-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.41;
  object-fit: cover;
  transition: transform 0.3s;
}

.brochure-thumb-wrap:hover img {
  transform: scale(1.03);
}

.brochure-overlay-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 17, 21, 0.88);
  color: var(--text-hi);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}

/* S7. CARA BAYAR */
.payment-grid {
  display: grid;
  gap: 20px;
}

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

.payment-card {
  background: #FFFFFF;
  border: 1px solid rgba(21, 23, 28, 0.08);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.payment-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.payment-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* S8. LOKASI & SUASANA */
.location-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.location-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-hi);
}

.location-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--ink-700);
}

.location-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* S9. ALUR 3 LANGKAH */
.steps-grid {
  display: grid;
  gap: 20px;
}

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

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 32px 24px;
  border: 1px solid rgba(21, 23, 28, 0.07);
  box-shadow: var(--shadow-card);
}

.step-num {
  font-family: "Fraunces", serif;
  font-size: 32px;
  color: var(--champagne);
  margin-bottom: 12px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* S10. FAQ ACCORDION */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid rgba(21, 23, 28, 0.07);
  overflow: hidden;
}

.faq-item__btn {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-ink);
}

.faq-item__btn:hover {
  background-color: rgba(200, 169, 106, 0.04);
}

.faq-item__icon {
  font-size: 20px;
  color: var(--champagne);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item__btn[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__panel {
  padding: 0 22px 20px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* S11. LEAD FORM (S11) */
.section--form {
  background-color: var(--ink-900);
  position: relative;
  overflow: hidden;
}

.form-outer {
  max-width: 580px;
  margin-inline: auto;
  position: relative;
}

.form-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.12) 0%, rgba(15, 17, 21, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.form-card {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-top: 2px solid var(--champagne);
  border-radius: var(--radius-card);
  padding: clamp(28px, 6vw, 44px);
  box-shadow: var(--shadow-soft);
  z-index: 10;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 8px;
}

.form-label-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200, 169, 106, 0.2);
  color: var(--champagne);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-input);
  color: var(--text-hi);
  font-size: 16px; /* Wajib >= 16px mencegah iOS Safari zoom */
  font-family: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--champagne);
  background-color: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: rgba(185, 180, 169, 0.45);
}

.input-with-prefix {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-input);
  overflow: hidden;
}

.input-prefix {
  padding-left: 16px;
  padding-right: 8px;
  color: var(--champagne);
  font-weight: 600;
  font-size: 16px;
  user-select: none;
}

.input-with-prefix .form-input {
  border: none;
  background: transparent;
  padding-left: 4px;
}

/* Quick Chips */
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-700);
  color: var(--text-lo);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.chip-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-hi);
}

.chip-btn.active {
  background-color: var(--champagne);
  border-color: var(--champagne);
  color: var(--ink-900);
  font-weight: 600;
}

.field-error {
  display: block;
  font-size: 12px;
  color: #FF6B6B;
  margin-top: 6px;
}

/* Success State in-place */
.form-success {
  text-align: center;
  padding-block: 20px;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34, 195, 94, 0.2);
  color: var(--wa);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 18px;
}

.form-success__title {
  color: var(--text-hi);
  font-size: 24px;
  margin-bottom: 10px;
}

.form-success__desc {
  color: var(--text-lo);
  font-size: 15px;
  margin-bottom: 18px;
}

.form-success__sub {
  color: var(--champagne);
  font-size: 13px;
  margin-bottom: 20px;
}

/* S12. FOOTER */
.site-footer {
  background-color: var(--ink-950);
  color: var(--text-lo);
  padding-top: clamp(48px, 8vw, 72px);
  padding-bottom: clamp(32px, 6vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

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

.footer-brand-title {
  color: var(--text-hi);
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(185, 180, 169, 0.6);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* PERSISTENT STICKY BAR MOBILE */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 17, 21, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-gold);
  padding: 10px 16px;
  z-index: 990;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}

.sticky-mobile-bar.visible {
  transform: translateY(0);
}

@media (min-width: 769px) {
  .sticky-mobile-bar {
    display: none !important;
  }
}

/* MODALS: EXIT INTENT & LIGHTBOX */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--champagne);
  border-radius: var(--radius-card);
  padding: clamp(24px, 5vw, 36px);
  max-width: 420px;
  width: 100%;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  z-index: 10;
  animation: modalEnter 0.26s var(--ease);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-lo);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s;
}

.modal-close-btn:hover {
  color: var(--text-hi);
  background-color: rgba(255, 255, 255, 0.1);
}

.modal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--champagne);
  margin-bottom: 8px;
}

.modal-title {
  color: var(--text-hi);
  font-size: 22px;
  margin-bottom: 12px;
}

.modal-body {
  color: var(--text-lo);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

/* Lightbox Modal */
.lightbox-card {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.lightbox-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-height: 80vh;
  width: auto;
  object-fit: contain;
}

.lightbox-caption-text {
  color: var(--text-hi);
  font-size: 15px;
  margin-top: 12px;
  text-align: center;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 17, 21, 0.7);
  color: #FFF;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.lightbox-nav-btn--prev { left: 12px; }
.lightbox-nav-btn--next { right: 12px; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
