/* ============================================
   Trusted Plumbers Australia — Global Styles
   ============================================ */

/* --- Tokens --- */
:root {
  /* Palette */
  --white: #FFFFFF;
  --slate: #1E293B;
  --blue: #1D4ED8;
  --blue-dark: #1939A0;
  --blue-light: #3B6EF0;
  --sky: #E0F2FE;
  --sky-deep: #BAE6FD;
  --amber: #F59E0B;
  --amber-light: #FDE68A;
  --green: #16A34A;
  --green-light: #DCFCE7;
  --grey: #F1F5F9;
  --grey-mid: #CBD5E1;
  --grey-dark: #64748B;
  --red: #DC2626;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing scale (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Shadows — layered, tinted */
  --shadow-sm: 0 1px 2px rgba(30,41,59,0.04), 0 1px 3px rgba(30,41,59,0.06);
  --shadow-md: 0 2px 4px rgba(30,41,59,0.04), 0 4px 12px rgba(30,41,59,0.08);
  --shadow-lg: 0 4px 8px rgba(30,41,59,0.04), 0 8px 24px rgba(30,41,59,0.1);
  --shadow-xl: 0 8px 16px rgba(30,41,59,0.06), 0 16px 48px rgba(30,41,59,0.12);
  --shadow-blue: 0 4px 12px rgba(29,78,216,0.2), 0 2px 4px rgba(29,78,216,0.1);
  --shadow-card: 0 1px 3px rgba(30,41,59,0.06), 0 4px 16px rgba(30,41,59,0.04);
  --shadow-card-hover: 0 4px 8px rgba(30,41,59,0.08), 0 8px 32px rgba(30,41,59,0.1);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover { color: var(--blue-dark); }

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

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

button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p + p { margin-top: var(--sp-4); }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.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;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: var(--sp-3);
}

.section-heading {
  margin-bottom: var(--sp-4);
}

.section-subtext {
  font-size: 1.0625rem;
  color: var(--grey-dark);
  max-width: 560px;
  line-height: 1.7;
}

.section-subtext.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

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

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

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(29,78,216,0.3), 0 2px 4px rgba(29,78,216,0.15);
}

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

.btn-emergency {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220,38,38,0.2);
}

.btn-emergency:hover {
  background: #B91C1C;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(220,38,38,0.3);
}

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

.btn-outline:hover {
  background: var(--sky);
  color: var(--blue-dark);
}

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

.btn-white:hover {
  background: var(--sky);
  color: var(--blue-dark);
}

.btn-lg {
  font-size: 1.0625rem;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-md);
}

/* --- SVG Noise Texture --- */
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,41,59,0.06);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.header-logo:hover { color: var(--slate); }

.logo-shield {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-text span {
  color: var(--blue);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--grey-dark);
  padding: var(--sp-2) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover {
  color: var(--slate);
}

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

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

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  position: relative;
  transition: background var(--duration-fast) var(--ease-out);
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--slate);
  transition: transform var(--duration-normal) var(--ease-out);
}

.mobile-menu-btn span::before { transform: translateY(-7px); }
.mobile-menu-btn span::after { transform: translateY(7px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: var(--sp-20) 0 var(--sp-16);
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(29,78,216,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(14,165,233,0.05) 0%, transparent 60%),
    var(--grey);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--white);
  border: 1px solid rgba(29,78,216,0.12);
  border-radius: var(--radius-full);
  padding: var(--sp-1) var(--sp-4) var(--sp-1) var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grey-dark);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.hero h1 {
  margin-bottom: var(--sp-5);
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--amber-light);
  border-radius: 3px;
  z-index: -1;
  opacity: 0.7;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--grey-dark);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  max-width: 640px;
  margin: 0 auto var(--sp-10);
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
}

.search-field svg {
  width: 20px;
  height: 20px;
  color: var(--grey-dark);
  flex-shrink: 0;
}

.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--slate);
  background: transparent;
  width: 100%;
}

.search-field input::placeholder {
  color: var(--grey-mid);
}

.search-field select {
  appearance: none;
  cursor: pointer;
  color: var(--grey-dark);
  padding-right: var(--sp-4);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.search-divider {
  width: 1px;
  height: 32px;
  background: var(--grey-mid);
  opacity: 0.4;
  flex-shrink: 0;
}

.search-box .btn {
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

/* Trust Stats */
.trust-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--grey-dark);
}

.trust-stat svg {
  width: 18px;
  height: 18px;
}

.trust-stat strong {
  font-weight: 700;
  color: var(--slate);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: var(--sp-20) 0;
}

.how-it-works .section-top {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}

/* Connector lines between steps */
.steps-grid::before,
.steps-grid::after {
  content: '';
  position: absolute;
  top: 48px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--grey-mid) 0,
    var(--grey-mid) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.5;
}

.steps-grid::before {
  left: calc(33.33% - 20px);
  width: calc(33.33% - 56px);
  margin-left: 48px;
}

.steps-grid::after {
  left: calc(66.66% - 20px);
  width: calc(33.33% - 56px);
  margin-left: 48px;
}

.step-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
  position: relative;
}

.step-number svg {
  width: 28px;
  height: 28px;
}

.step-card:nth-child(1) .step-number {
  background: var(--sky);
  color: var(--blue);
}

.step-card:nth-child(2) .step-number {
  background: var(--amber-light);
  color: var(--amber);
}

.step-card:nth-child(3) .step-number {
  background: var(--green-light);
  color: var(--green);
}

.step-card h3 {
  margin-bottom: var(--sp-3);
}

.step-card p {
  color: var(--grey-dark);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--sp-20) 0;
  background: var(--grey);
  position: relative;
}

.services .section-top {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  text-decoration: none;
  color: var(--slate);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

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

.service-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  background: var(--sky);
  color: var(--blue);
}

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

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-2);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--grey-dark);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.service-card .card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: auto;
}

.service-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.service-card:hover .card-link svg {
  transform: translateX(3px);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  padding: var(--sp-20) 0;
}

.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.trust-content {
  max-width: 480px;
}

.trust-content .section-heading {
  margin-bottom: var(--sp-5);
}

.trust-content > p {
  color: var(--grey-dark);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.trust-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.trust-check {
  display: flex;
  gap: var(--sp-4);
}

.trust-check-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--green-light);
  color: var(--green);
}

.trust-check-icon svg {
  width: 22px;
  height: 22px;
}

.trust-check h4 {
  margin-bottom: var(--sp-1);
}

.trust-check p {
  font-size: 0.875rem;
  color: var(--grey-dark);
  line-height: 1.6;
}

/* Trust visual — badge showcase */
.trust-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-showcase {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-center {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--sky) 0%, var(--sky-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.badge-center svg {
  width: 72px;
  height: 72px;
  color: var(--blue);
}

.badge-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1.5px dashed rgba(29,78,216,0.12);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.badge-item {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
}

.badge-item svg {
  width: 24px;
  height: 24px;
}

.badge-item span {
  font-size: 0.5625rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-item:nth-child(1) {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--green);
}

.badge-item:nth-child(2) {
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  color: var(--blue);
}

.badge-item:nth-child(3) {
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--amber);
}

.badge-item:nth-child(4) {
  top: 50%;
  left: -8px;
  transform: translateY(-50%);
  color: var(--green);
}

/* ============================================
   CITIES
   ============================================ */
.cities {
  padding: var(--sp-20) 0;
  background: var(--grey);
}

.cities .section-top {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.city-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.city-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  color: var(--slate);
}

.city-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.city-card--coming-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.city-card--coming-soon .city-icon {
  background: var(--grey);
}

.city-card--coming-soon .city-icon svg {
  color: #94a3b8;
}

.coming-soon-label {
  color: #94a3b8 !important;
  font-style: italic;
  font-size: 0.75rem !important;
}

.city-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.city-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.city-info h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.city-info p {
  font-size: 0.8125rem;
  color: var(--grey-dark);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: var(--sp-20) 0;
}

.faq .section-top {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(30,41,59,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--slate);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--grey-dark);
  transition: transform var(--duration-normal) var(--ease-out);
}

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

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: var(--sp-5);
  color: var(--grey-dark);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: var(--sp-20) 0;
  background: var(--slate);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,0.15) 0%, transparent 70%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.cta-inner p {
  color: var(--grey-mid);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--slate);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-16) 0 var(--sp-8);
  color: var(--grey-mid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: var(--sp-4);
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--sp-5);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--grey-mid);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

.footer-legal a {
  color: var(--grey-mid);
  font-size: 0.8125rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .steps-grid::before,
  .steps-grid::after {
    display: none;
  }

  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-layout {
    gap: var(--sp-10);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-actions .btn-emergency { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero {
    padding: var(--sp-12) 0 var(--sp-10);
  }

  .search-box {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .search-field {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
  }

  .search-divider {
    width: 100%;
    height: 1px;
  }

  .search-box .btn {
    width: 100%;
    border-radius: var(--radius-md);
  }

  .trust-stats {
    gap: var(--sp-5);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .step-card {
    padding: var(--sp-6);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .trust-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-content {
    max-width: 100%;
  }

  .trust-visual {
    display: none;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .trust-stats {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}

/* ============================================
   ANIMATIONS (on load)
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Elements start visible by default. JS adds .animate-ready to <html>,
   then .fade-in on each element to trigger the animation. */
.animate-ready .hero-badge,
.animate-ready .hero h1,
.animate-ready .hero-subtitle,
.animate-ready .search-box,
.animate-ready .trust-stats {
  opacity: 0;
  transform: translateY(20px);
}

.animate-ready .fade-in {
  animation: fadeUp 0.6s var(--ease-out) forwards;
}

.animate-ready .hero-badge.fade-in { animation-delay: 0.1s; }
.animate-ready .hero h1.fade-in { animation-delay: 0.2s; }
.animate-ready .hero-subtitle.fade-in { animation-delay: 0.3s; }
.animate-ready .search-box.fade-in { animation-delay: 0.4s; }
.animate-ready .trust-stats.fade-in { animation-delay: 0.5s; }

/* Mobile menu overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(30,41,59,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

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

.mobile-nav-inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  background: var(--white);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
}

.mobile-nav.open .mobile-nav-inner {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--slate);
}

.mobile-nav-links a:hover {
  color: var(--blue);
}
