/* All City A/C & Heating — allcityaclv.com
   Rebuilt 2026-07. Tokens sampled from the live site. */

:root {
  --navy-900: #081e30;
  --navy-800: #0a2a44;
  --navy-700: #0b273f;
  --ink: #101820;
  --ink-soft: #33404d;
  --orange: #ed771d;
  --orange-dark: #d3660f;
  --blue-link: #2f71a0;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --line: #d9e1e8;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(8, 30, 48, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-link); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--ink); }
h3 { font-size: 1.1rem; font-weight: 700; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-lead { max-width: 62ch; color: var(--ink-soft); }
.eyebrow { color: var(--orange); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .75em; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-block { width: 100%; }

/* Header */
.site-header { background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; padding: 10px 20px; }
.brand img { display: block; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a, .dropdown-toggle { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; background: none; border: 0; font-family: inherit; cursor: pointer; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--orange); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; min-width: 200px; display: none; flex-direction: column; gap: 2px; }
.has-dropdown.open .dropdown, .has-dropdown:hover .dropdown { display: flex; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 4px; text-transform: none; }
.dropdown a:hover { background: var(--bg-soft); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-pill { border: 1px solid var(--blue-link); color: var(--blue-link); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: .8rem; text-decoration: none; }
.nav-toggle { display: none; font-size: 1.5rem; background: none; border: 0; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(105deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); color: #fff; background-size: cover; background-position: center; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 72px; align-items: center; }
.hero-copy .lead { font-size: 1.125rem; color: rgba(255,255,255,.92); max-width: 55ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 8px 0 0; }
.chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }

/* Quote card */
.quote-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 28px; box-shadow: var(--shadow); }
.quote-card h2 { margin-top: 0; }
.quote-card > p { color: var(--ink-soft); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .85rem; }
.form-grid label em { font-weight: 400; font-style: normal; color: var(--ink-soft); }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); width: 100%; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }

/* Sections */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item h3, .benefit h3 { margin-bottom: .25em; }
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 32px; }
.stat strong { display: block; font-size: 1.6rem; color: var(--navy-800); }
.stat span { color: var(--ink-soft); font-size: .9rem; }

.cards { background: var(--bg-soft); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.card-tag { display: inline-block; color: var(--orange); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.card-link { font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }

.step-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step-list li { display: flex; gap: 16px; }
.step-num { color: var(--orange); font-weight: 800; font-size: 1.4rem; }

.faq-list { margin-top: 24px; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { font-weight: 700; cursor: pointer; padding: 12px 0; list-style: none; position: relative; padding-right: 32px; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; color: var(--orange); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); margin: 0 0 14px; }

.service-area .nap { font-style: normal; margin-top: 16px; color: var(--ink-soft); }

.final-cta { background: linear-gradient(105deg, var(--navy-900), var(--navy-800)); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta .section-lead { margin: 0 auto 8px; }
.final-cta .hero-ctas { justify-content: center; }

/* Prose pages (about / privacy) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.85); padding: 28px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* Sticky mobile call bar */
.sticky-call { display: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 20px; }
  .dropdown { position: static; display: flex; box-shadow: none; border: 0; padding-left: 16px; }
  .nav-toggle { display: block; }
  .header-call { display: none; }
  .sticky-call { display: block; position: fixed; bottom: 0; left: 0; right: 0; background: var(--orange); color: #fff; text-align: center; padding: 14px; font-weight: 800; text-decoration: none; z-index: 60; }
  body { padding-bottom: 52px; }
}
