/* ============================================================
   DRYSDALE FENCING — Design Tokens & Component Styles
   Art Direction: Coastal Australian trades business
   Palette: Steel blue + warm sand neutrals
   ============================================================ */

/* --- Type Scale (Fluid) --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* 4px Spacing System */
  --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;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

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

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* --- Color: Light Mode (Coastal Blue + Warm Sand) --- */
:root, [data-theme="light"] {
  --color-bg:             #F5F3EF;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #FAFAF8;
  --color-surface-offset: #EBE9E4;
  --color-divider:        #D9D5CE;
  --color-border:         #C8C3BA;

  --color-text:           #1A1D23;
  --color-text-muted:     #5A6170;
  --color-text-faint:     #9CA3AF;
  --color-text-inverse:   #FFFFFF;

  /* Primary: Steel Blue (from original site) */
  --color-primary:        #2D6FA0;
  --color-primary-hover:  #1E5A85;
  --color-primary-active: #164A6E;
  --color-primary-light:  #E3F0FA;
  --color-primary-subtle: #D0E6F5;

  /* Accent: Coastal Teal */
  --color-accent:         #1A8A7D;
  --color-accent-hover:   #147368;
  --color-accent-light:   #E0F5F2;

  /* Warm Gold */
  --color-gold:           #C4922A;
  --color-gold-light:     #FFF8EB;

  /* Semantic */
  --color-success:        #2D854A;
  --color-error:          #C53030;
  --color-warning:        #C4772A;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(26, 29, 35, 0.04);
  --shadow-sm: 0 1px 3px rgba(26, 29, 35, 0.06), 0 1px 2px rgba(26, 29, 35, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 29, 35, 0.08), 0 2px 4px rgba(26, 29, 35, 0.04);
  --shadow-lg: 0 12px 32px rgba(26, 29, 35, 0.10), 0 4px 8px rgba(26, 29, 35, 0.04);
  --shadow-xl: 0 20px 48px rgba(26, 29, 35, 0.14);
  --shadow-primary: 0 4px 14px rgba(45, 111, 160, 0.35);
}

/* --- Color: Dark Mode --- */
[data-theme="dark"] {
  --color-bg:             #0F1218;
  --color-surface:        #171B23;
  --color-surface-2:      #1D222C;
  --color-surface-offset: #141821;
  --color-divider:        #2A2F3A;
  --color-border:         #363C49;

  --color-text:           #E2E4E9;
  --color-text-muted:     #8B91A0;
  --color-text-faint:     #5A6170;
  --color-text-inverse:   #0F1218;

  --color-primary:        #5A9FD4;
  --color-primary-hover:  #4A8DC0;
  --color-primary-active: #3A7DAF;
  --color-primary-light:  #1A2940;
  --color-primary-subtle: #152235;

  --color-accent:         #3DBFB0;
  --color-accent-hover:   #2FA99B;
  --color-accent-light:   #142D2A;

  --color-gold:           #E0AB40;
  --color-gold-light:     #2A2415;

  --color-success:        #48B068;
  --color-error:          #F56565;
  --color-warning:        #E09040;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 4px 14px rgba(90, 159, 212, 0.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #0F1218;
    --color-surface:        #171B23;
    --color-surface-2:      #1D222C;
    --color-surface-offset: #141821;
    --color-divider:        #2A2F3A;
    --color-border:         #363C49;
    --color-text:           #E2E4E9;
    --color-text-muted:     #8B91A0;
    --color-text-faint:     #5A6170;
    --color-text-inverse:   #0F1218;
    --color-primary:        #5A9FD4;
    --color-primary-hover:  #4A8DC0;
    --color-primary-active: #3A7DAF;
    --color-primary-light:  #1A2940;
    --color-primary-subtle: #152235;
    --color-accent:         #3DBFB0;
    --color-accent-hover:   #2FA99B;
    --color-accent-light:   #142D2A;
    --color-gold:           #E0AB40;
    --color-gold-light:     #2A2415;
    --color-success:        #48B068;
    --color-error:          #F56565;
    --color-warning:        #E09040;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 4px 14px rgba(90, 159, 212, 0.3);
  }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

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

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .header-inner { padding-inline: var(--space-8); height: 80px; }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.header-logo img {
  height: 44px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo img { height: 52px; }
}

.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-interactive);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--color-text);
}

@media (min-width: 900px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn .hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav .nav-link {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}

.mobile-nav .btn-primary {
  margin-top: var(--space-4);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-6);
  cursor: pointer;
  border: none;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 111, 160, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  background: var(--color-primary-active);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-white {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 18, 24, 0.82) 0%,
    rgba(15, 18, 24, 0.6) 40%,
    rgba(15, 18, 24, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-block: clamp(var(--space-12), 10vw, var(--space-24));
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 5vw, 5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

@media (max-width: 599px) {
  .hero-brand {
    gap: var(--space-3);
  }
  .hero-logo {
    width: 56px;
    height: 56px;
  }
}

.hero-tagline {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero .btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(45, 111, 160, 0.5);
}

.hero .btn-primary:hover {
  box-shadow: 0 6px 28px rgba(45, 111, 160, 0.6);
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-interactive);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scroll-bob 2s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-6);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .trust-bar-inner { gap: var(--space-16); }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   ABOUT / SPLIT SECTION
   ============================================================ */
.about-section {
  background: var(--color-bg);
}

.split-grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}

@media (min-width: 768px) {
  .split-grid { grid-template-columns: 1fr 1fr; }
  .split-grid.reverse > :first-child { order: 2; }
  .split-grid.reverse > :last-child { order: 1; }
}

.split-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split-image-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 120px;
  height: 120px;
  background: var(--color-primary-light);
  border-radius: var(--radius-2xl);
  z-index: -1;
}

.split-content .section-label {
  text-align: left;
}

.split-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}

.split-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.split-content p:last-of-type {
  margin-bottom: var(--space-6);
}

/* ============================================================
   DIFFERENTIATORS SECTION
   ============================================================ */
.diff-section {
  background: var(--color-surface);
}

.diff-grid {
  display: grid;
  gap: var(--space-6);
}

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

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

.diff-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.diff-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.diff-card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}

.diff-card-icon svg {
  width: 26px;
  height: 26px;
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.diff-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  gap: var(--space-6);
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  padding: var(--space-6);
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition-interactive), color var(--transition-interactive);
}

.service-link:hover {
  gap: var(--space-3);
  color: var(--color-primary-hover);
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   SERVICE AREAS SECTION
   ============================================================ */
.areas-section {
  background: var(--color-surface);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-interactive);
}

.area-tag:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.area-tag svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1A3A5E 0%, #2D6FA0 50%, #1A8A7D 100%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-banner .btn-white {
  background: #FFFFFF;
  color: #1A3A5E;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-white:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Decorative circles */
.cta-decor-1, .cta-decor-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-decor-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.cta-decor-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -80px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  gap: var(--space-8);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.015em;
}

.contact-info > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-detail-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.contact-detail-value a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.contact-detail-value a:hover {
  color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   GOOGLE MAP
   ============================================================ */
.map-section {
  background: var(--color-surface);
  padding: 0;
  border-top: 1px solid var(--color-divider);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(15%) contrast(1.02);
  transition: filter 0.4s var(--ease-out);
}

.map-wrapper:hover iframe {
  filter: grayscale(0%) contrast(1);
}

[data-theme="dark"] .map-wrapper iframe {
  filter: grayscale(20%) invert(92%) hue-rotate(180deg) contrast(0.9);
}

[data-theme="dark"] .map-wrapper:hover iframe {
  filter: grayscale(10%) invert(92%) hue-rotate(180deg) contrast(0.95);
}

@media (max-width: 767px) {
  .map-wrapper { height: 320px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12) var(--space-8);
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

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

.footer-brand .header-logo {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 340px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-attribution {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-attribution a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-attribution a:hover {
  color: var(--color-primary);
}

/* ============================================================
   SCROLL ANIMATIONS (CSS-only)
   ============================================================ */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-clip {
  to { clip-path: inset(0 0 0 0); }
}

/* JS fallback animations */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .js-reveal:nth-child(1) { transition-delay: 0ms; }
.stagger-children .js-reveal:nth-child(2) { transition-delay: 80ms; }
.stagger-children .js-reveal:nth-child(3) { transition-delay: 160ms; }
.stagger-children .js-reveal:nth-child(4) { transition-delay: 240ms; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background: var(--color-surface);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-interactive);
}

.faq-item[open] {
  border-color: var(--color-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition-interactive);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: var(--space-4);
  transition: transform 0.2s var(--ease-out);
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.faq-answer a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition-interactive);
}

.faq-answer a:hover {
  text-decoration-color: var(--color-primary);
}

/* ============================================================
   BREADCRUMBS (sub-pages)
   ============================================================ */
.breadcrumb {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-3) 0;
  margin-top: 72px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-list a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity var(--transition-interactive);
}

.breadcrumb-list a:hover {
  opacity: 0.7;
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ============================================================
   SUB-PAGE HERO (smaller)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(0,0,0,0.35));
}

.page-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-block: var(--space-16) var(--space-12);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.page-hero .hero-tagline {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 600px;
}

/* ============================================================
   ARTICLE / BLOG LAYOUT
   ============================================================ */
.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding-block: var(--space-12);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.article-content ul, .article-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.article-content li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-2);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.article-content th,
.article-content td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
}

.article-content th {
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
}

.article-content td {
  color: var(--color-text-muted);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-bottom: var(--space-8);
}

/* ============================================================
   RELATED LINKS GRID
   ============================================================ */
.related-grid {
  display: grid;
  gap: var(--space-4);
}

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

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

.related-card {
  display: block;
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
}

.related-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.related-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.related-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Blog card grid */
.blog-grid {
  display: grid;
  gap: var(--space-6);
}

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

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

.blog-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
}

.blog-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.blog-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex: 1;
}

.blog-card .read-more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}
