/* ==========================================================================
   ZC Car Rental — Design Tokens
   ========================================================================== */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f3f5f6;
  --color-surface: #ffffff;
  --color-surface-2: #fbfcfc;
  --color-surface-offset: #eceff1;
  --color-surface-offset-2: #e2e6e9;
  --color-surface-dynamic: #d7dcdf;
  --color-divider: #dde1e4;
  --color-border: #cad0d4;

  /* Text */
  --color-text: #10151c;
  --color-text-muted: #4e5a64;
  --color-text-faint: #8b969e;
  --color-text-inverse: #f7f9fa;

  /* Primary accent — Signal Teal */
  --color-primary: #0c7f77;
  --color-primary-hover: #0a6b64;
  --color-primary-active: #085550;
  --color-primary-highlight: #cfe9e6;

  /* Gold — price emphasis */
  --color-gold: #a56c06;
  --color-gold-hover: #8c5b05;
  --color-gold-active: #714904;
  --color-gold-highlight: #f2e0b8;

  /* WhatsApp — fixed brand green, same both modes */
  --color-whatsapp: #128c4a;
  --color-whatsapp-hover: #0e7a40;
  --color-whatsapp-text: #ffffff;

  /* Status */
  --color-error: #b3261e;
  --color-error-highlight: #f6d7d4;
  --color-success: #2e7d4f;
  --color-success-highlight: #d7ecdd;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — tone matched to cool surface */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 240 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.2 0.02 240 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 240 / 0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Noto Sans HK', 'PingFang HK', 'Microsoft JhengHei', -apple-system, sans-serif;
  --font-body: 'Noto Sans HK', 'PingFang HK', 'Microsoft JhengHei', -apple-system, sans-serif;
  --font-latin: 'Cabinet Grotesk', 'Noto Sans HK', -apple-system, sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0c0f14;
  --color-surface: #12161e;
  --color-surface-2: #171c25;
  --color-surface-offset: #161a22;
  --color-surface-offset-2: #1c212b;
  --color-surface-dynamic: #262c37;
  --color-divider: #202631;
  --color-border: #2b323e;

  --color-text: #edf1f4;
  --color-text-muted: #99a4b0;
  --color-text-faint: #5e6773;
  --color-text-inverse: #10151c;

  --color-primary: #4ecdc2;
  --color-primary-hover: #74d9d0;
  --color-primary-active: #2fada2;
  --color-primary-highlight: #1a3634;

  --color-gold: #f2ba46;
  --color-gold-hover: #f6c86b;
  --color-gold-active: #d9a02f;
  --color-gold-highlight: #362c19;

  --color-whatsapp: #1aa153;
  --color-whatsapp-hover: #22b860;
  --color-whatsapp-text: #ffffff;

  --color-error: #e37069;
  --color-error-highlight: #3a2320;
  --color-success: #6cbf8d;
  --color-success-highlight: #1c332480;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 8px 20px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0c0f14;
    --color-surface: #12161e;
    --color-surface-2: #171c25;
    --color-surface-offset: #161a22;
    --color-surface-offset-2: #1c212b;
    --color-surface-dynamic: #262c37;
    --color-divider: #202631;
    --color-border: #2b323e;
    --color-text: #edf1f4;
    --color-text-muted: #99a4b0;
    --color-text-faint: #5e6773;
    --color-text-inverse: #10151c;
    --color-primary: #4ecdc2;
    --color-primary-hover: #74d9d0;
    --color-primary-active: #2fada2;
    --color-primary-highlight: #1a3634;
    --color-gold: #f2ba46;
    --color-gold-hover: #f6c86b;
    --color-gold-active: #d9a02f;
    --color-gold-highlight: #362c19;
    --color-whatsapp: #1aa153;
    --color-whatsapp-hover: #22b860;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 8px 20px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
  }
}

/* Type scale */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.65vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  --text-2xl: clamp(1.875rem, 1.3rem + 2.2vw, 3.25rem);
  --text-3xl: clamp(2.25rem, 1.1rem + 3.6vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ==========================================================================
   Global
   ========================================================================== */

body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-head {
  max-width: 46ch;
  margin-bottom: var(--space-10);
}
.section-head h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-top: var(--space-2);
}
.section-head p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  font-size: var(--text-base);
}

.num {
  font-family: var(--font-latin);
  font-variant-numeric: tabular-nums;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  min-height: 44px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-whatsapp-text);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-ghost {
  background: color-mix(in oklab, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
}
.btn-ghost:hover {
  background: color-mix(in oklab, var(--color-primary) 20%, transparent);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in oklab, var(--color-bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.site-header.is-scrolled {
  border-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.brand-word {
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: var(--text-base);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.main-nav a:hover {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-nav-panel {
  display: none;
  flex-direction: column;
  padding: var(--space-2) var(--space-5) var(--space-5);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.mobile-nav-panel a {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav-panel a:last-child {
  border-bottom: none;
}
.mobile-nav-panel.is-open {
  display: flex;
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-actions .btn-whatsapp .btn-label {
    display: none;
  }
  .header-actions .btn-whatsapp {
    padding: var(--space-3);
    border-radius: var(--radius-full);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-block: 0;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 55%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.08 0.02 250 / 0.55) 0%, oklch(0.08 0.02 250 / 0.35) 32%, oklch(0.06 0.02 250 / 0.78) 78%, oklch(0.05 0.02 250 / 0.92) 100%),
    linear-gradient(90deg, oklch(0.06 0.02 250 / 0.85) 0%, oklch(0.06 0.02 250 / 0.15) 55%);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(var(--space-24), 14vw, var(--space-32));
  color: #f5f7f8;
  max-width: var(--content-wide);
  margin-inline: auto;
  width: 100%;
  padding-inline: var(--space-5);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: color-mix(in oklab, #0c0f14 55%, transparent);
  border: 1px solid oklch(1 0 0 / 0.18);
  color: #eef7f5;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
  margin-bottom: var(--space-6);
}
.hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}
.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  max-width: 18ch;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-gold);
}
.hero-lede {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: oklch(0.95 0.01 240 / 0.86);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero-actions .btn-outline {
  border-color: oklch(1 0 0 / 0.35);
  color: #fff;
}
.hero-actions .btn-outline:hover {
  border-color: #fff;
  background: oklch(1 0 0 / 0.08);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(1 0 0 / 0.16);
  max-width: 640px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: oklch(0.96 0.01 240 / 0.92);
}
.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   Fleet
   ========================================================================== */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.car-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.car-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-offset);
}
.car-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.car-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: color-mix(in oklab, #0c0f14 65%, transparent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid oklch(1 0 0 / 0.18);
}
.car-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}
.car-card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.car-card-title h3 {
  font-size: var(--text-lg);
  font-weight: 800;
}
.car-card-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.car-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-4);
}
.price-item {
  text-align: center;
}
.price-item .price-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}
.price-item .price-value {
  font-family: var(--font-latin);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-gold);
}
.car-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.car-card-foot .btn {
  flex: 1;
}

/* More-models callout card */
.car-card.callout {
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-8);
  gap: var(--space-4);
  background: linear-gradient(160deg, var(--color-surface-offset), var(--color-surface));
  border-style: dashed;
}
.car-card.callout .callout-icon {
  width: 46px;
  height: 46px;
  color: var(--color-primary);
}
.car-card.callout h3 {
  font-size: var(--text-lg);
  font-weight: 800;
}
.car-card.callout p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Terms section
   ========================================================================== */

.terms-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 860px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }
}

.terms-table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--color-surface);
}
.terms-table table {
  font-size: var(--text-sm);
  width: 100%;
  border-collapse: collapse;
}
.terms-table th,
.terms-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
}
.terms-table th:not(:first-child),
.terms-table td.price {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .terms-table th,
  .terms-table td {
    padding: var(--space-3) var(--space-2);
    font-size: var(--text-xs);
  }
  .terms-table td.veh {
    white-space: normal;
  }
}
.terms-table thead th {
  background: var(--color-surface-offset);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.terms-table tbody tr:last-child td {
  border-bottom: none;
}
.terms-table td.veh {
  font-weight: 700;
}
.terms-table td.price {
  font-family: var(--font-latin);
  font-weight: 700;
  color: var(--color-gold);
}
.terms-note {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  border-top: 1px dashed var(--color-divider);
}

.terms-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.terms-checklist li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.terms-checklist svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.terms-checklist strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
}
.terms-checklist span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  position: relative;
  padding-top: var(--space-6);
  border-top: 2px solid var(--color-divider);
}
.step.is-active {
  border-top-color: var(--color-primary);
}
.step-num {
  font-family: var(--font-latin);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-faint);
  display: block;
  margin-bottom: var(--space-3);
}
.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Trust section
   ========================================================================== */

.trust-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}
@media (max-width: 900px) {
  .trust-wrap {
    grid-template-columns: 1fr;
  }
}
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}
.trust-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.trust-item:last-child {
  border-bottom: none;
}
.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-item strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
}
.trust-item span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.trust-social {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-surface-offset), var(--color-surface));
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
}
.trust-social h3 {
  font-size: var(--text-lg);
  font-weight: 800;
}
.trust-social p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}
.trust-social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.trust-social-handle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}
.trust-social-handle:hover {
  color: var(--color-primary);
}
.trust-social-handle svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.trust-social-actions {
  display: flex;
  gap: var(--space-3);
}
.trust-social-actions .btn {
  flex: 1;
}
@media (max-width: 420px) {
  .trust-social-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  border-top: 1px solid var(--color-divider);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  text-align: left;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.faq-q .chev {
  width: 20px;
  height: 20px;
  color: var(--color-text-faint);
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
}
.faq-item[open] .faq-q .chev {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.faq-a {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 66ch;
}
.faq-item summary {
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* ==========================================================================
   Enquiry form
   ========================================================================== */

.enquiry-section {
  background: var(--color-surface-offset);
}
.enquiry-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 900px) {
  .enquiry-wrap {
    grid-template-columns: 1fr;
  }
}
.enquiry-info h2 {
  font-size: var(--text-xl);
  font-weight: 800;
}
.enquiry-info p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.enquiry-direct {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.enquiry-direct-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
}
.enquiry-direct-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  min-height: 48px;
}
.field textarea {
  min-height: 92px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
}
.field-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  min-height: 1em;
}
.form-submit-row {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}
.form-success {
  display: none;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-success-highlight);
  color: var(--color-success);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: var(--space-5);
}
.form-success.is-visible {
  display: flex;
}
.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
  padding-block: var(--space-16) var(--space-10);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-10);
}
@media (max-width: 780px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 40ch;
}
.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  font-weight: 700;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-2);
}
.footer-col li svg {
  width: 17px;
  height: 17px;
  color: var(--color-text-faint);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-col a {
  color: var(--color-text-muted);
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.float-whatsapp {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-whatsapp);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  pointer-events: none;
  transition:
    opacity 240ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background var(--transition-interactive);
}
.float-whatsapp.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.float-whatsapp:hover {
  background: var(--color-whatsapp-hover);
}
.float-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .float-whatsapp .fw-label {
    display: none;
  }
  .float-whatsapp {
    padding: var(--space-4);
  }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  clip-path: inset(12% 0 0 0);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 620ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    clip-path: none;
  }
}

/* ==========================================================================
   Misc sections
   ========================================================================== */

.divider-fade {
  height: 1px;
  background: var(--color-divider);
}

.bg-offset {
  background: var(--color-surface-offset);
}
