/* ==========================================================================
   DHCM Mobile Mechanic — styles.css
   Palette sampled from the DHCM logo:
     navy  #002349 | red #D9101B | ink #1A1E26 | white-dominant layout
   Type: Barlow Condensed (display) + Barlow (body)
   ========================================================================== */

:root {
  --navy: #002349;
  --navy-deep: #001730;
  --navy-tint: #E9EFF6;
  --red: #D9101B;
  --red-dark: #B30D15;
  --ink: #1A1E26;
  --steel: #4C5566;
  --paper: #FFFFFF;
  --road: #F3F5F8;
  --line: #E1E6ED;
  --input-line: #C7D0DC;
  --success: #1E7A3C;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 23, 48, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 23, 48, 0.10);
  --shadow-lg: 0 18px 44px rgba(0, 23, 48, 0.18);

  --header-h: 64px;
  --stripe: repeating-linear-gradient(-45deg, var(--red) 0 12px, var(--navy) 12px 24px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--navy); }

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus-visible { top: 0; }

/* ---------- Language switcher (very top) ---------- */

.lang-bar {
  background: var(--navy-deep);
}
.lang-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}
.lang-note {
  color: #9FB4CC;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lang-tabs {
  display: flex;
  gap: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
}
.lang-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-tab.is-active {
  background: #fff;
  color: var(--navy);
}
.lang-tab:not(.is-active):hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 430px) {
  .lang-note { display: none; }
  .lang-bar-inner { justify-content: center; }
}

.top-stripe {
  height: 6px;
  background: var(--stripe);
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow-center { text-align: center; }

.section-title {
  font-size: clamp(1.95rem, 5.4vw, 2.7rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  text-align: center;
}

.section-sub {
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
  color: var(--steel);
  font-size: 1.05rem;
}

.accent-red { color: var(--red); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

.btn-navy-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-navy-outline:hover { background: var(--navy-tint); }

.btn-lg { padding: 16px 30px; font-size: 1.18rem; }
.btn-xl { padding: 19px 36px; font-size: 1.32rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { width: 46px; height: 46px; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.brand-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 3px;
}

/* Nav — mobile: dropdown panel */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: none;
}
.site-header.nav-open .site-nav { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-nav a {
  display: block;
  padding: 13px 6px;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a:hover { color: var(--red); }

.nav-call {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.site-nav a.nav-call { font-weight: 700; }

.site-nav a.nav-cta {
  margin-top: 14px;
  border-bottom: 0;
  text-align: center;
  color: #fff;
}
.site-nav a.nav-cta:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}
.header-call .icon { width: 20px; height: 20px; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.site-header.nav-open .icon-open { display: none; }
.site-header.nav-open .icon-close { display: block; }

@media (min-width: 980px) {
  :root { --header-h: 72px; }

  .site-nav {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
  }
  .site-nav a {
    border-bottom: 0;
    font-size: 0.99rem;
    padding: 10px 11px;
  }
  .site-nav a.nav-cta {
    margin-top: 0;
    margin-left: 8px;
    padding: 11px 20px;
    font-size: 0.98rem;
  }
  .nav-call-item { display: none; }
  .header-actions { display: none; }
}

@media (min-width: 1160px) {
  .nav-call-item { display: block; }
  .nav-call { font-weight: 700; }
  .nav-call .icon { width: 17px; height: 17px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 52px 0 60px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,35,73,0.05)' stroke-width='0.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5a4 4 0 0 1 5-3.9L16.6 5.5l2 2L21.4 4.6a4 4 0 0 1-5.2 5L8 17.8A2 2 0 1 1 5.2 15l8.2-8.2a4 4 0 0 1 1.1-.3Z'/%3E%3C/svg%3E")
    no-repeat right -120px top 30px / 480px auto,
    var(--paper);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-copy { max-width: 620px; }

.hero h1 {
  font-size: clamp(2.5rem, 9.5vw, 4.1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero-sub {
  margin-top: 16px;
  font-size: 1.13rem;
  color: var(--steel);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 28px;
  padding: 0;
  font-weight: 600;
  font-size: 0.98rem;
}
.trust-list li { display: flex; align-items: center; gap: 9px; }
.trust-list .icon {
  width: 21px;
  height: 21px;
  padding: 3px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--red);
  stroke-width: 2.6;
}

.hero-badge { flex: none; }
.hero-badge img {
  width: clamp(170px, 44vw, 330px);
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 23, 48, 0.18));
}

@media (min-width: 900px) {
  .hero { padding: 76px 0 88px; }
  .hero-inner { flex-direction: row; justify-content: space-between; }
  .hero-copy { max-width: 640px; }
  .hero-cta .btn-lg { font-size: 1.12rem; }
}

/* ---------- Quick strip ---------- */

.quick-strip {
  background: var(--navy);
  color: #fff;
  padding: 38px 0;
}
.quick-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quick-strip h2 {
  color: #fff;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
}
.quick-strip p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  font-size: 1.02rem;
}
.quick-strip .btn { flex: none; }

@media (min-width: 800px) {
  .quick-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Sections ---------- */

.section { padding: 66px 0; }
.section-soft { background: var(--road); }

@media (min-width: 900px) {
  .section { padding: 92px 0; }
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}

.services-grid li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.services-grid li:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.services-grid .icon {
  width: 26px;
  height: 26px;
  color: var(--red);
  stroke-width: 1.6;
}

/* Fleet services callout */
.fleet-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 15px 18px;
  background: var(--navy-tint);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.fleet-note .icon {
  width: 30px;
  height: 30px;
  color: var(--navy);
}
.fleet-note p {
  color: var(--ink);
  font-size: 1.02rem;
}
.fleet-note strong { color: var(--navy); }

.services-more {
  margin-top: 34px;
  text-align: center;
}
.services-more p {
  color: var(--steel);
  font-size: 1.04rem;
  margin-bottom: 16px;
}

@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .services-grid li { font-size: 1rem; padding: 15px 16px; }
}
@media (min-width: 1020px) {
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  gap: 26px;
  margin-top: 40px;
  padding: 0;
  counter-reset: step;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }

.step-num {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
}

.step h3 {
  font-size: 1.32rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.step p {
  margin-top: 8px;
  color: var(--steel);
  font-size: 0.99rem;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}

/* ---------- Request form ---------- */

.section-navy {
  background: var(--navy);
  background-image: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.06), transparent 60%);
}

.form-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-stripe { height: 8px; background: var(--stripe); }

.form-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 22px 0;
}
.form-head img { width: 58px; height: 58px; flex: none; }
.form-head h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
}
.form-head p { color: var(--steel); margin-top: 4px; font-size: 0.99rem; }

#service-form { padding: 6px 22px 30px; }

#service-form fieldset {
  border: 0;
  margin: 26px 0 0;
  padding: 0;
  min-width: 0; /* prevents fieldset from forcing horizontal overflow */
}

#service-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
#service-form legend::before {
  content: "";
  width: 20px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

.form-grid { display: grid; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

.field label,
.field-label {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
}
.req { color: var(--red); font-weight: 700; }
.opt { color: var(--steel); font-weight: 400; font-size: 0.88em; }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem; /* ≥16px prevents iOS auto-zoom on focus */
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--input-line);
  border-radius: 9px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 35, 73, 0.14);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red); }

.field input::placeholder,
.field textarea::placeholder { color: #97A1B0; }

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pill-group { display: flex; flex-wrap: wrap; gap: 9px; }

.pill { position: relative; }
.pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.pill span {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1.5px solid var(--input-line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--steel);
  background: var(--paper);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  pointer-events: none;
}
.pill:hover span { border-color: var(--navy); color: var(--navy); }
.pill input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.pill input:focus-visible + span {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.form-ack {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--steel);
}

.btn-submit {
  width: 100%;
  margin-top: 16px;
  padding: 18px 24px;
  font-size: 1.28rem;
  letter-spacing: 0.06em;
}
.btn-submit[disabled] { opacity: 0.65; cursor: wait; transform: none; }

.sms-note {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1.5px solid var(--navy);
  border-radius: 9px;
  background: var(--navy-tint);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.97rem;
  text-align: center;
}

.form-error {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1.5px solid var(--red);
  border-radius: 9px;
  background: #FDECEC;
  color: #8E0B12;
  font-weight: 500;
  font-size: 0.97rem;
}
.form-error a { color: inherit; font-weight: 700; }

/* Success panel */
.form-success {
  padding: 46px 24px 50px;
  text-align: center;
}
.success-check {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-check .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.form-success h3 {
  font-size: clamp(1.5rem, 4.5vw, 1.95rem);
  font-weight: 800;
  text-transform: uppercase;
}
.form-success > p {
  margin-top: 10px;
  color: var(--steel);
  font-size: 1.06rem;
}
.success-urgent {
  margin-top: 26px !important;
  font-weight: 600;
  color: var(--ink) !important;
}
.form-success .btn { margin-top: 14px; }

@media (min-width: 640px) {
  .form-head { padding: 34px 40px 0; }
  #service-form { padding: 8px 40px 40px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field-wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .form-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Urgent ---------- */

.urgent-inner { text-align: center; }
.urgent h2 {
  font-size: clamp(1.9rem, 5.4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
}
.urgent p { margin-top: 10px; color: var(--steel); font-size: 1.08rem; }
.urgent .btn-xl { margin-top: 24px; }
.urgent-note {
  margin-top: 16px !important;
  font-weight: 600;
  font-size: 0.95rem !important;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Why choose ---------- */

.why-grid {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}
.why-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
.why-grid .icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 11px;
  background: var(--navy-tint);
  color: var(--navy);
  stroke-width: 1.7;
  margin-bottom: 13px;
}
.why-grid h3 {
  font-size: 1.22rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.why-grid p {
  margin-top: 6px;
  color: var(--steel);
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1020px) {
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Service area ---------- */

.area-inner { text-align: center; }

.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.99rem;
}
.chip-main { background: var(--navy); color: #fff; }
.chip .icon { width: 17px; height: 17px; }

.area-note {
  margin-top: 26px;
  margin-bottom: 18px;
  color: var(--steel);
  font-size: 1.02rem;
}

/* ---------- Social ---------- */

.social-cards {
  display: grid;
  gap: 14px;
  max-width: 660px;
  margin: 36px auto 0;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 22px 24px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.social-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.social-card > .icon { width: 40px; height: 40px; color: var(--navy); stroke-width: 1.6; margin-bottom: 8px; }
.social-net {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.social-handle { color: var(--steel); font-size: 0.98rem; overflow-wrap: anywhere; }
.social-follow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.social-follow .icon { width: 16px; height: 16px; stroke-width: 2.2; }

@media (min-width: 560px) {
  .social-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Contact ---------- */

.contact-inner { text-align: center; }
.contact-logo { width: 108px; height: 108px; margin: 0 auto 18px; }

.contact-phone {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 2.9rem);
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.contact-phone:hover { color: var(--red); }

.contact-email {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
}
.contact-email:hover { color: var(--red); }

.contact-facts {
  margin-top: 16px;
  padding: 0;
  color: var(--steel);
  font-weight: 500;
  font-size: 1.02rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 20px;
  padding: 0;
}
.contact-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.99rem;
}
.contact-social a:hover { color: var(--red); }
.contact-social .icon { width: 19px; height: 19px; }

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #AFBDCE;
  padding: 54px 0 0;
  font-size: 0.97rem;
}

.footer-inner {
  display: grid;
  gap: 38px;
  padding-bottom: 40px;
  text-align: center;
  justify-items: center;
}

.footer-brand img { width: 72px; height: 72px; margin-bottom: 12px; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}
.footer-tag { margin-top: 3px; font-size: 0.92rem; }
.footer-phone {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
}
.footer-phone:hover { color: var(--red); }

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.footer-nav ul,
.footer-social ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a,
.footer-social a {
  color: #AFBDCE;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-nav a:hover,
.footer-social a:hover { color: #fff; }
.footer-social .icon { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 26px;
  text-align: center;
  font-size: 0.88rem;
}
.footer-disclaimer {
  margin-top: 6px;
  color: #7C8CA0;
  font-size: 0.83rem;
}

@media (min-width: 820px) {
  .footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr;
    text-align: left;
    justify-items: start;
  }
}

/* ---------- Credit bar ---------- */

.credit-bar {
  background: var(--paper);
  padding: 18px 20px;
  text-align: center;
}
.credit-bar p {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #78828F;
}
.credit-bar span {
  color: var(--steel);
  font-weight: 600;
}

/* ---------- Mobile action bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(0, 23, 48, 0.22);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}
.mobile-bar .icon { width: 20px; height: 20px; }
.mobile-bar-call { background: var(--navy); }
.mobile-bar-call:active { background: var(--navy-deep); }
.mobile-bar-request { background: var(--red); }
.mobile-bar-request:active { background: var(--red-dark); }

/* Reserve space so the fixed bar never covers content */
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .services-grid li:hover, .social-card:hover { transform: none; }
}
