/* ============================================================
   WALAILAK LAW FIRM — Thai Site
   css/style.css
   Palette: Midnight & Champagne
   Font: Sarabun (Google Fonts)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colours */
  --bg:           #0D0F14;
  --surface:      #161A23;
  --card:         #1F2535;
  --card-hover:   #252C3D;
  --gold:         #C9A84C;
  --gold-light:   #F0D98A;
  --gold-dim:     #7A6228;
  --gold-bg:      rgba(201,168,76,0.08);
  --text:         #E8E4D9;
  --text-muted:   #9A96A0;
  --text-dim:     #6B677A;
  --border:       #2A2F3D;
  --border-gold:  rgba(201,168,76,0.25);
  --danger:       #E05252;
  --success:      #4CAF82;

  /* Typography */
  --font:         'Sarabun', sans-serif;

  /* Type scale */
  --text-xs:      0.75rem;    /* 12px */
  --text-sm:      0.875rem;   /* 14px */
  --text-base:    1rem;       /* 16px */
  --text-lg:      1.125rem;   /* 18px */
  --text-xl:      1.25rem;    /* 20px */
  --text-2xl:     1.5rem;     /* 24px */
  --text-3xl:     1.875rem;   /* 30px */
  --text-4xl:     2.25rem;    /* 36px */
  --text-5xl:     3rem;       /* 48px */
  --text-6xl:     3.75rem;    /* 60px */

  /* 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;

  /* Layout */
  --container:    1200px;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --radius-pill:  999px;

  /* Transitions */
  --transition:   0.2s ease;
  --transition-slow: 0.35s ease;

  /* Shadows */
  --shadow-card:  0 2px 20px rgba(0,0,0,0.4);
  --shadow-gold:  0 0 24px rgba(201,168,76,0.15);
  --shadow-nav:   0 4px 30px rgba(0,0,0,0.6);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::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: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
  font-size: var(--text-base);
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section-sm {
  padding-block: var(--space-12);
}

/* ── Typography ───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin-inline: auto;
}

/* Gold accent on headings */
.gold { color: var(--gold); }

/* Decorative gold rule under section titles */
.title-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: var(--space-4);
  border-radius: var(--radius-pill);
}

.section-header.centered .title-rule {
  margin-inline: auto;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8rem 1.75rem;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: #0D0F14;
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

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

.btn-outline-gold:hover {
  background: var(--gold-bg);
  border-color: var(--gold);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 800;
  color: #0D0F14;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}

.nav-dropdown-toggle:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  transform: translateX(-50%) translateY(-8px);
  box-shadow: var(--shadow-card);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-dropdown-item:hover {
  color: var(--gold);
  background: var(--gold-bg);
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-lang {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color var(--transition), border-color var(--transition);
}

.nav-lang:hover {
  color: var(--gold);
  border-color: var(--border-gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: var(--bg);
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-6);
  border-top: 1px solid var(--border);
}

.nav-mobile.open { display: block; }

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
}

.nav-mobile-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

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

.nav-mobile-group-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: var(--space-4) var(--space-4) var(--space-2);
}

.nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.25);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,15,20,0.95) 0%,
    rgba(13,15,20,0.7) 50%,
    rgba(13,15,20,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-20);
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--gold-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-6);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-6);
}

.hero h1 .accent {
  color: var(--gold);
  display: block;
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-10);
  max-width: 580px;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.hero-stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

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

.hero-scroll svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

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

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-5);
}

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

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

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

/* ── Service Cards ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.service-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.service-card:hover {
  background: var(--card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--gold);
  transition: background var(--transition);
}

.service-card:hover .service-card-icon {
  background: rgba(201,168,76,0.15);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

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

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

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

/* ── Why Us ───────────────────────────────────────────────── */
.why-us {
  background: var(--surface);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.why-us-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.why-us-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.why-us-image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.why-us-image-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.why-us-image-badge-icon svg { width: 20px; height: 20px; }

.why-us-image-badge-text strong {
  display: block;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.why-us-image-badge-text span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.why-us-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

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

.why-point-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point-icon svg { width: 20px; height: 20px; }

.why-point-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-1);
}

.why-point-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Offices ──────────────────────────────────────────────── */
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.office-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.office-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.office-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.office-card-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.office-detail {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-3);
}

.office-detail svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.office-detail-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.office-card-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

/* ── CTA Strip ────────────────────────────────────────────── */
.cta-strip {
  background: var(--gold);
  padding-block: var(--space-16);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta-strip-text h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #0D0F14;
  margin-bottom: var(--space-2);
}

.cta-strip-text p {
  font-size: var(--text-base);
  color: rgba(13,15,20,0.7);
}

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

.btn-dark {
  background: #0D0F14;
  color: var(--gold);
  border: 2px solid #0D0F14;
  font-weight: 700;
}

.btn-dark:hover {
  background: #161A23;
  border-color: #161A23;
  transform: translateY(-1px);
}

.btn-ghost-dark {
  background: transparent;
  color: #0D0F14;
  border: 2px solid rgba(13,15,20,0.3);
  font-weight: 600;
}

.btn-ghost-dark:hover {
  background: rgba(13,15,20,0.1);
  border-color: #0D0F14;
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-section {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-1);
}

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

.contact-info-value a:hover { color: var(--gold); }

.contact-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.contact-social-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.contact-social-btn:hover { border-color: var(--gold); color: var(--gold); }
.contact-social-btn svg { width: 18px; height: 18px; }

/* Form */
.form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem var(--space-4);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239A96A0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--surface);
  color: var(--text);
}

/* Honeypot */
.form-honeypot { display: none; }

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: var(--text-lg);
  padding: 1rem;
}

.form-status {
  display: none;
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-4);
  text-align: center;
}

.form-status.success {
  display: block;
  background: rgba(76,175,130,0.1);
  border: 1px solid rgba(76,175,130,0.3);
  color: var(--success);
}

.form-status.error {
  display: block;
  background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.3);
  color: var(--danger);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border-gold);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: var(--card);
  transition: background var(--transition), color var(--transition);
}

.faq-question:hover { background: var(--card-hover); }
.faq-item.open .faq-question { color: var(--gold); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer { display: block; }

/* ── Emergency CTA ────────────────────────────────────────── */
.emergency-banner {
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.emergency-banner-text {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.emergency-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.emergency-banner-text strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}

.emergency-banner-text span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-left: var(--space-2);
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding-top: calc(72px + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero-eyebrow {
  margin-bottom: var(--space-3);
}

.page-hero h1 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.page-hero-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.breadcrumb-item {
  font-size: var(--text-sm);
  color: var(--text-dim);
}

.breadcrumb-item a {
  color: var(--text-dim);
  transition: color var(--transition);
}

.breadcrumb-item a:hover { color: var(--gold); }

.breadcrumb-sep {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

/* ── Service Page Content ─────────────────────────────────── */
.service-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-12);
  align-items: start;
}

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

.service-content-main h2:first-child { margin-top: 0; }

.service-content-main p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.service-content-main ul {
  list-style: none;
  margin-bottom: var(--space-6);
}

.service-content-main ul li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
  line-height: 1.7;
}

.service-content-main ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 10px;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: calc(72px + var(--space-8));
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
}

.sidebar-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.sidebar-contact-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  width: 100%;
  text-align: left;
}

.sidebar-contact-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-bg);
}

.sidebar-contact-btn svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.sidebar-services-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.sidebar-services-list a:hover {
  color: var(--gold);
  background: var(--gold-bg);
}

.sidebar-services-list a.active {
  color: var(--gold);
  background: var(--gold-bg);
  font-weight: 600;
}

.sidebar-services-list svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

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

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-6);
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-5);
}

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

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-link:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.6;
}

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

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-links a {
  font-size: var(--text-sm);
  color: var(--text-dim);
  transition: color var(--transition);
}

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

/* ── Floating Contact ─────────────────────────────────────── */
.float-contact {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all var(--transition);
  white-space: nowrap;
}

.float-btn:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

.float-btn svg { width: 18px; height: 18px; }

.float-btn-line {
  background: #06C755;
  color: #fff;
}

.float-btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.float-btn-phone {
  background: var(--gold);
  color: #0D0F14;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: var(--text-sm); }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--space-8);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-us-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .why-us-image img { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .service-content { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}

@media (max-width: 768px) {
  :root {
    --space-20: 3.5rem;
    --space-16: 3rem;
    --space-12: 2rem;
  }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: var(--text-4xl); }
  .hero-stats { gap: var(--space-6); }

  .services-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-contact { bottom: var(--space-4); right: var(--space-4); }
  .float-btn span { display: none; }
  .float-btn { padding: 0.85rem; border-radius: 50%; }
  .trust-bar-inner { gap: var(--space-5); }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .section-title { font-size: var(--text-3xl); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
