/* ============================================================
   Thoroughbred AC LLC — styles.css
   Design source: "Thoroughbred AC Website Mockups" (options 1a/1b)
   ============================================================ */

/* ---------- Fonts (self-hosted Barlow / Barlow Condensed) ---------- */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/barlow-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/barlow-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/barlow-400-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/barlow-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/barlow-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/barlow-500-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-600-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-600-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-700-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-700-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-700-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/barlow-800-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/barlow-800-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/barlow-800-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-condensed-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-condensed-600-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-condensed-600-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-condensed-700-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-condensed-700-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-condensed-700-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

/* ---------- Design tokens ---------- */
:root {
  --navy: #0f2b46;
  --navy-dark: #0a1f33;
  --blue: #1d6fb8;
  --blue-bg: #eaf2fa;
  --orange: #f26b1d;
  --orange-light: #f9a56b;
  --orange-deep: #c14f0d;
  --orange-bg: #fff4ec;
  --cream: #f7f5f0;
  --border: #e5e1d8;
  --border-dark: #d8d2c6;
  --ink: #16283a;
  --slate: #33475b;
  --muted: #5b6b7a;
  --faint: #8a95a0;
  --steel: #8fa6ba;
  --sky: #c6d4e0;
  --green: #2fae5f;
  --star: #ffb545;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
}
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; margin: 0; }

/* ---------- Emergency banner ---------- */
.emergency-banner {
  background: var(--navy-dark); color: #fff;
  font-size: 13.5px; font-weight: 600; letter-spacing: .03em;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 8px 24px; text-align: center;
}
.emergency-banner .dot { color: var(--orange); }
.emergency-banner .sub { color: var(--steel); font-weight: 500; }
.emergency-banner .sub a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; gap: 32px;
  padding: 14px 40px; background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 2;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--orange) 0 50%, var(--blue) 50% 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font: 700 18px var(--font-head);
}
.brand-name { font: 700 19px var(--font-head); letter-spacing: .02em; text-transform: uppercase; }
.brand-tag { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 600; }
.main-nav a { color: var(--slate); }
.main-nav a:hover { color: var(--orange); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.phone-chip {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--navy); color: var(--navy);
  border-radius: 6px; padding: 9px 14px;
  font-weight: 700; font-size: 14.5px;
}
.phone-chip:hover { color: var(--navy); }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: #fff; border: none;
  border-radius: 6px; padding: 10.5px 16px;
  font-weight: 700; font-size: 14.5px;
}
.btn-primary:hover { background: #d95d13; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(900px 400px at 85% -10%, rgba(29, 111, 184, .45), transparent),
    radial-gradient(600px 300px at -5% 110%, rgba(242, 107, 29, .18), transparent);
  color: #fff;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  padding: 64px 40px 56px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hero .eyebrow { color: var(--orange-light); }
.hero h1 { font: 700 62px/1.02 var(--font-head); letter-spacing: .01em; }
.hero-sub { margin: 0; line-height: 1.5; }
.hero-ctas { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.btn-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff;
  border-radius: 8px; padding: 15px 24px;
  font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 18px rgba(242, 107, 29, .35);
}
.btn-call:hover { background: #d95d13; color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255, 255, 255, .45); color: #fff;
  border-radius: 8px; padding: 15px 24px;
  font-weight: 700; font-size: 16px;
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-points {
  display: flex; gap: 22px; margin-top: 14px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--sky); font-weight: 600;
}
.hero-points p { margin: 0; }
.hero-photo { position: relative; height: 380px; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 14px;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex; justify-content: center; gap: 44px; align-items: center;
  padding: 18px 40px; background: #fff; border-bottom: 1px solid var(--border);
  font-size: 13.5px; font-weight: 700; color: var(--slate); flex-wrap: wrap;
}
.trust-bar .sep { color: var(--border-dark); }
.trust-bar .badge {
  border: 1px solid var(--border-dark); border-radius: 4px;
  padding: 4px 10px; color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: 56px 40px; }
.section-head { text-align: center; }
.section-head h2 { font: 700 40px var(--font-head); margin: 8px 0 32px; }
.section-sub { text-align: center; color: var(--muted); margin: -24px 0 36px; font-size: 15px; }

/* ---------- Services ---------- */
.services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  position: relative; background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.service-card:hover { border-color: var(--blue); box-shadow: 0 6px 16px rgba(15, 43, 70, .08); }
.service-icon {
  width: 44px; height: 44px; border-radius: 9px;
  background: var(--blue-bg); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.service-name { font: 700 20px var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.service-desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.service-toggle {
  background: none; border: none; padding: 0; text-align: left;
  font-size: 13px; font-weight: 700; color: var(--blue); margin-top: auto;
}
.service-detail {
  position: absolute; left: -6px; right: -6px; bottom: calc(100% - 10px);
  background: var(--navy); color: #fff; border-radius: 10px;
  padding: 16px 18px; font-size: 13px; line-height: 1.5;
  box-shadow: 0 14px 36px rgba(10, 31, 51, .35); z-index: 4;
  display: none;
}
.service-card.open .service-detail { display: block; }
.service-detail::after {
  content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px;
  border: 8px solid transparent; border-top-color: var(--navy);
}
.service-cta-card {
  background: var(--navy); color: #fff; border-radius: 10px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
  justify-content: center;
}
.service-cta-card .title { font: 700 22px var(--font-head); text-transform: uppercase; }
.service-cta-card .desc { font-size: 13.5px; line-height: 1.45; color: var(--sky); }
.service-cta-card .btn-call-block {
  display: block; background: var(--orange); color: #fff;
  border-radius: 7px; padding: 11px 14px;
  font-weight: 800; font-size: 14px; text-align: center; margin-top: 4px;
}

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps-line {
  position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-dark) 0 8px, transparent 8px 16px);
}
.step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; padding: 0 18px; position: relative;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 700 22px var(--font-head);
  border: 4px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.step-title { font: 700 19px var(--font-head); text-transform: uppercase; }
.step-desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* ---------- Why choose us ---------- */
.why { background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why .eyebrow { color: var(--orange-light); }
.why h2 { font: 700 40px var(--font-head); margin: 8px 0 24px; }
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-item { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.why-item .check { color: var(--orange); font-weight: 800; }
.why-item .dim { color: var(--sky); }
.brand-card {
  min-height: 340px; background: #fff; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 28px; box-shadow: 0 20px 50px rgba(5, 18, 32, .35);
}
.brand-card .lockup { font: 700 30px/1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.brand-card .lockup .accent { color: var(--orange); }
.brand-card .lockup-sub {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.brand-card .lockup-sub .rule { width: 28px; height: 1.5px; background: var(--orange); }
.brand-card .roc { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.brand-card-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* ---------- Our work ---------- */
.work { background: var(--cream); display: flex; flex-direction: column; gap: 16px; }
.work .section-head h2 { margin-bottom: 8px; }
.work .section-sub { margin: 0 0 8px; }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.work-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px; display: flex; flex-direction: column;
  box-shadow: 0 4px 14px rgba(15, 43, 70, .07);
  transition: box-shadow .15s;
}
.work-card:hover { box-shadow: 0 10px 26px rgba(15, 43, 70, .13); }
.work-card.span-2 { grid-column: span 2; }
.work-card.span-3 { grid-column: span 3; }
.work-img { height: 220px; overflow: hidden; border-radius: 8px; }
.work-card.span-3 .work-img { height: 250px; }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-label { display: flex; align-items: center; gap: 8px; padding: 12px 6px 4px; }
.work-label .rule { width: 18px; height: 2.5px; background: var(--orange); flex: none; }
.work-label span:last-child {
  font: 700 15px var(--font-head); text-transform: uppercase;
  letter-spacing: .04em; color: var(--navy);
}
.map-wrap { display: flex; justify-content: center; padding-top: 16px; }
.map-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px; box-shadow: 0 4px 14px rgba(15, 43, 70, .07);
  max-width: 100%;
}
.map-img { width: 520px; max-width: 100%; height: 500px; overflow: hidden; border-radius: 8px; }
.map-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Request service ---------- */
.request { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; background: #fff; }
.request-copy { display: flex; flex-direction: column; gap: 16px; }
.request-copy h2 { font: 700 42px/1.05 var(--font-head); }
.request-copy p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 44ch; }
.phone-box {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--navy); border-radius: 8px;
  padding: 13px 20px; font-weight: 800; font-size: 16px;
  color: var(--navy); width: max-content;
}
.phone-box:hover { color: var(--navy); }
.request-form {
  background: var(--cream); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.request-form label {
  display: flex; flex-direction: column; gap: 6px;
  font: 700 12.5px var(--font-body); letter-spacing: .04em;
  text-transform: uppercase; color: var(--slate);
}
.request-form input, .request-form select, .request-form textarea {
  border: 1px solid var(--border-dark); border-radius: 7px;
  padding: 12px 14px; font: 500 14px var(--font-body); background: #fff;
  width: 100%;
}
.request-form select { color: var(--muted); }
.request-form textarea { resize: none; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus {
  outline: 2px solid var(--blue); outline-offset: -1px;
}
.btn-submit {
  background: var(--orange); color: #fff; border: none;
  border-radius: 8px; padding: 15px; text-align: center;
  font-weight: 800; font-size: 16px;
}
.btn-submit:hover { background: #d95d13; }
.btn-submit:disabled { opacity: .55; cursor: default; }
.btn-submit:disabled:hover { background: var(--orange); }
.form-note { font-size: 11.5px; color: var(--faint); text-align: center; }
.form-success {
  display: none; background: #e8f7ee; border: 1px solid var(--green);
  color: #1c7c42; border-radius: 8px; padding: 14px; text-align: center;
  font-weight: 600; font-size: 14.5px;
}
.form-success a { color: #1c7c42; text-decoration: underline; font-weight: 700; }
.request-form.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: var(--sky); padding: 44px 40px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .name { font: 700 20px var(--font-head); color: #fff; text-transform: uppercase; }
.footer-brand p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.footer-brand .fine { font-size: 12px; color: var(--steel); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer-col .head {
  font-weight: 700; color: #fff; text-transform: uppercase;
  font-size: 12.5px; letter-spacing: .08em;
}
.footer-col p { margin: 0; line-height: 1.7; }
.footer-col a { color: var(--sky); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0; font-size: 12px; color: var(--steel);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Chat widget ---------- */
.chat-root { position: fixed; bottom: 24px; right: 24px; z-index: 50; }
.chat-fab {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 24px rgba(15, 43, 70, .35);
  display: flex; align-items: center; justify-content: center;
}
.chat-fab:hover { background: #185f9e; }
.chat-panel {
  position: absolute; bottom: 70px; right: 0;
  width: 340px; height: 460px; background: #fff;
  border-radius: 14px; box-shadow: 0 18px 50px rgba(10, 31, 51, .35);
  display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border);
}
.chat-root.open .chat-panel { display: flex; }
.chat-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0 50%, var(--blue) 50% 100%);
  display: flex; align-items: center; justify-content: center;
  font: 700 13px var(--font-head); flex: none;
}
.chat-title { font-weight: 700; font-size: 14px; }
.chat-status { font-size: 11px; color: var(--steel); }
.chat-status .on { color: var(--green); }
.chat-close {
  margin-left: auto; background: none; border: none;
  font-size: 18px; line-height: 1; color: var(--steel); padding: 4px;
}
.chat-log {
  flex: 1; background: var(--cream); padding: 14px;
  display: flex; flex-direction: column; gap: 10px; overflow-y: auto;
}
.chat-msg {
  padding: 10px 14px; font-size: 13.5px; line-height: 1.45;
  max-width: 85%; white-space: pre-line;
}
.chat-msg.bot {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px; align-self: flex-start;
}
.chat-msg.user {
  background: var(--blue); color: #fff;
  border-radius: 12px 12px 4px 12px; align-self: flex-end;
}
.chat-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px 12px 0; background: #fff; border-top: 1px solid var(--border);
}
.chat-chips a {
  border: 1.5px solid var(--blue); color: var(--blue);
  border-radius: 16px; padding: 6px 12px;
  font-size: 12.5px; font-weight: 700;
}
.chat-chips a.urgent { border-color: var(--orange); color: var(--orange); }
.chat-input-row { display: flex; gap: 8px; padding: 12px; background: #fff; }
.chat-input-row input {
  flex: 1; border: 1px solid var(--border-dark); border-radius: 20px;
  padding: 10px 14px; font: 500 13.5px var(--font-body); min-width: 0;
}
.chat-send {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--orange); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--orange); color: #fff;
  align-items: center; justify-content: center; gap: 10px;
  padding: 16px; font-weight: 800; font-size: 17px;
  box-shadow: 0 -6px 20px rgba(15, 43, 70, .18);
}
.mobile-call-bar:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .steps-line { display: none; }
  .hero h1 { font-size: 48px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card.span-2, .work-card.span-3 { grid-column: span 1; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .site-header { padding: 12px 16px; gap: 12px; }
  .header-actions .phone-chip .phone-label { display: none; }
  .brand-name { font-size: 15px; }
  .brand-tag { display: none; }
  .brand-mark { width: 32px; height: 32px; font-size: 14px; border-radius: 7px; }

  .hero { grid-template-columns: 1fr; padding: 26px 20px 24px; gap: 20px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 14px; color: var(--sky); }
  .hero-photo { height: 240px; }
  .hero-ctas .btn-call { display: none; } /* phone users get the sticky bar */
  .btn-ghost { justify-content: center; width: 100%; }

  .trust-bar { gap: 14px; padding: 14px 16px; font-size: 11.5px; }
  .section { padding: 36px 16px; }
  .section-head h2 { font-size: 30px; }
  .request { grid-template-columns: 1fr; gap: 28px; }
  .request-copy h2 { font-size: 32px; }
  .why { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer { padding: 32px 16px 0; }

  .mobile-call-bar { display: flex; }
  body { padding-bottom: 62px; } /* room for the sticky call bar */
  .chat-root { bottom: 78px; right: 14px; }
  .chat-panel { width: min(340px, calc(100vw - 28px)); height: 420px; }
  .emergency-banner { font-size: 11px; padding: 6px 12px; }
  .emergency-banner .sub { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-name { font-size: 15px; }
  .service-desc { display: none; }
  .service-toggle { display: none; }
  .service-detail { display: none !important; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .work-img { height: 100px; }
  .work-card.span-3 .work-img { height: 100px; }
  .work-card.desktop-only { display: none; } /* mobile mock (1b) shows 2 work cards */
  .map-img { height: 320px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}
