/* =========================================================
   Destin Transmission — styles.css
   Design System: Airbnb-inspired (Rausch #ff385c, white canvas, ink #222222)
   Custom palette adaptation for automotive / transmission repair
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --color-primary: #e8321a;       /* Transmission Red — custom, not Airbnb Rausch */
  --color-primary-active: #c42710;
  --color-primary-disabled: #f5c4bc;
  --color-accent-gold: #c97d20;   /* Warm gold accent for trust elements */

  /* Surface */
  --color-canvas: #ffffff;
  --color-surface-soft: #f8f7f5;
  --color-surface-warm: #f4ede4;  /* Warm tint for alternating sections */
  --color-surface-dark: #1a1410;  /* Near-black for hero */

  /* Borders */
  --color-hairline: #e0dbd5;
  --color-hairline-soft: #ece8e3;
  --color-border-strong: #c4bdb5;

  /* Text */
  --color-ink: #1e1a17;
  --color-body: #3d3530;
  --color-muted: #6b6258;
  --color-muted-soft: #9c9088;
  --color-on-primary: #ffffff;

  /* Semantic */
  --color-error: #b82f18;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing (4px base, Airbnb tokens) */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 12px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Elevation */
  --shadow-card: rgba(0,0,0,0.02) 0 0 0 1px, rgba(0,0,0,0.06) 0 2px 6px 0, rgba(0,0,0,0.12) 0 6px 16px 0;
  --shadow-nav: 0 1px 0 var(--color-hairline);
  --shadow-button: 0 2px 8px rgba(232, 50, 26, 0.28);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-ink);
  background-color: var(--color-canvas);
}

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

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

ul, ol {
  list-style: none;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-canvas);
  box-shadow: var(--shadow-nav);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 1px;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-body);
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-ink);
  border-bottom-color: var(--color-ink);
}

.nav-cta {
  flex-shrink: 0;
}

.btn-nav-call {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px var(--space-base);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn-nav-call:hover {
  background: var(--color-primary-active);
  box-shadow: var(--shadow-button);
}

.btn-nav-call svg {
  width: 14px;
  height: 14px;
  fill: white;
  flex-shrink: 0;
}

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  background: var(--color-surface-dark);
  overflow: hidden;
  min-height: 600px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/kirill-prikhodko-kRp5woiVDaY-unsplash.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.32;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 20, 16, 0.92) 0%,
    rgba(26, 20, 16, 0.72) 50%,
    rgba(26, 20, 16, 0.50) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-section) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(232, 50, 26, 0.12);
  border: 1px solid rgba(232, 50, 26, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: var(--space-lg);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-subheadline {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--space-xl);
  max-width: 420px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 14px var(--space-xl);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.2s ease, transform 0.15s ease;
  line-height: 1.25;
}

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

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

.btn-primary svg {
  width: 16px;
  height: 16px;
  fill: white;
  flex-shrink: 0;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px var(--space-xl);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.36);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.btn-secondary-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* Hero Form Panel */
.hero-form-panel {
  background: var(--color-canvas);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.hero-form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.hero-form-subtitle {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.4;
}

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

.form-grid .full-width {
  grid-column: 1 / -1;
}

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

.form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink);
  appearance: none;
  transition: border-color 0.18s ease;
  outline: none;
}

.form-field textarea {
  height: 80px;
  padding: 12px 14px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field select::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted-soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-ink);
  border-width: 2px;
}

.form-field 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 d='M1 1l5 5 5-5' stroke='%236b6258' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.btn-form-submit {
  width: 100%;
  height: 52px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  margin-top: var(--space-md);
}

.btn-form-submit:hover {
  background: var(--color-primary-active);
  box-shadow: var(--shadow-button);
}

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

/* =========================================================
   TRUST SECTION
   ========================================================= */

.trust-section {
  background: var(--color-surface-soft);
  padding: var(--space-section) 0;
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: var(--space-xxl);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.trust-card {
  background: var(--color-canvas);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid var(--color-hairline-soft);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 50, 26, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-base);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.75;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.trust-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body);
}

/* =========================================================
   CTA BANNER
   ========================================================= */

.cta-banner {
  background: var(--color-primary);
  padding: 12px 0;
}

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

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.cta-banner-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  line-height: 1.6;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px var(--space-xl);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.18s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.btn-white:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

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

.btn-white svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

/* =========================================================
   TOWING BANNER
   ========================================================= */

.towing-banner {
  background: var(--color-surface-warm);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  padding: 12px 0;
}

.towing-inner {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  flex-wrap: wrap;
}

.towing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-gold);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.towing-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
  flex: 1;
}

.towing-text strong {
  color: var(--color-accent-gold);
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */

.page-hero {
  background: var(--color-surface-dark);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: var(--space-base);
}

.page-hero p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
}

/* Service Sections */
.service-section {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--color-hairline-soft);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section-alt {
  background: var(--color-surface-soft);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.service-layout.reverse {
  direction: rtl;
}

.service-layout.reverse > * {
  direction: ltr;
}

.service-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-image-wrap:hover img {
  transform: scale(1.03);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,16,0.45) 0%, transparent 60%);
  pointer-events: none;
}

.service-content {}

.service-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-hairline);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.04em;
}

.service-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: var(--space-base);
  line-height: 1.15;
}

.service-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
  margin-bottom: var(--space-base);
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.service-feature-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.service-feature-item span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body);
}

.warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(232, 50, 26, 0.06);
  border: 1px solid rgba(232, 50, 26, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  margin-top: var(--space-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xxl);
  padding: var(--space-section) 0;
  align-items: start;
}

.contact-form-card {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.contact-form-card .form-intro {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

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

.info-card {
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-hairline-soft);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.hours-day {
  color: var(--color-body);
  font-weight: 500;
}

.hours-time {
  color: var(--color-muted);
}

.hours-closed {
  color: var(--color-muted-soft);
  font-style: italic;
}

.hours-divider {
  height: 1px;
  background: var(--color-hairline-soft);
  margin: var(--space-sm) 0;
}

.service-area-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body);
  margin-bottom: var(--space-md);
}

.towing-callout {
  background: var(--color-surface-warm);
  border-left: 3px solid var(--color-accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-md) var(--space-base);
}

.towing-callout p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body);
}

.towing-callout strong {
  color: var(--color-accent-gold);
  font-weight: 700;
}

/* Phone link in info card */
.phone-link-large {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  transition: opacity 0.18s ease;
}

.phone-link-large:hover {
  opacity: 0.8;
}

.phone-link-large svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 50, 26, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-base);
}

.form-success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.form-success p {
  font-size: 15px;
  color: var(--color-muted);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--color-canvas);
  border-top: 1px solid var(--color-hairline);
  padding: var(--space-xxl) 0 var(--space-xl);
}

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

.footer-brand {}

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

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 260px;
  margin-bottom: var(--space-base);
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  transition: opacity 0.18s ease;
}

.footer-phone:hover {
  opacity: 0.8;
}

.footer-phone svg {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: var(--space-base);
}

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

.footer-links a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color 0.18s ease;
}

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

.footer-legal-band {
  padding-top: var(--space-base);
  border-top: 1px solid var(--color-hairline-soft);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-muted-soft);
  line-height: 1.5;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--color-muted-soft);
  line-height: 1.5;
  max-width: 560px;
}

/* =========================================================
   UTILITY / SHARED
   ========================================================= */

.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-base { margin-top: var(--space-base); }
.mt-lg { margin-top: var(--space-lg); }

/* Form submission status */
.form-error-msg {
  color: var(--color-error);
  font-size: 13px;
  margin-top: var(--space-sm);
  display: none;
}

.form-error-msg.visible {
  display: block;
}

/* =========================================================
   RESPONSIVE — Tablet 744–1128px
   ========================================================= */

@media (max-width: 1128px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-form-panel {
    max-width: 600px;
  }

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

  .service-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .service-layout.reverse {
    direction: ltr;
  }

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

/* =========================================================
   RESPONSIVE — Mobile < 744px
   ========================================================= */

@media (max-width: 744px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Mobile menu open state */
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-base);
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-canvas);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-hairline);
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-mobile-open .nav-cta {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    padding: 0 var(--space-lg) var(--space-lg);
    background: var(--color-canvas);
    z-index: 99;
    padding-top: calc(var(--space-base) + var(--space-lg) * 4 + var(--space-lg));
    border-bottom: 1px solid var(--color-hairline);
  }

  .hero {
    min-height: auto;
  }

  .hero-container {
    padding: 12px var(--space-base);
  }

  .hero h1 {
    font-size: 28px;
  }

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

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

  .form-grid .full-width {
    grid-column: 1;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

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

  .footer-legal-band {
    flex-direction: column;
  }

  .page-hero {
    padding: 12px 0;
  }

  .section-heading {
    font-size: 22px;
  }

  .service-number {
    font-size: 48px;
  }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.6s ease both;
}

.hero-content .hero-eyebrow { animation-delay: 0s; }
.hero-content h1            { animation-delay: 0.1s; }
.hero-content .hero-subheadline { animation-delay: 0.2s; }
.hero-content .hero-cta-group { animation-delay: 0.3s; }

.hero-form-panel {
  animation: fadeInUp 0.6s 0.2s ease both;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
