/* Serge's Air Conditioning — site styles */
:root {
  --navy: #0e2742;
  --navy-2: #163a5f;
  --red: #d22a3c;
  --red-dark: #a91f2f;
  --sky: #2f7fc1;
  --ice: #e8f2fa;
  --bg: #f8f7f4;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5b6676;
  --line: #e2e0da;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,39,66,.06), 0 8px 24px rgba(14,39,66,.08);
  --max: 1160px;
  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* Top bar */
.topbar { background: var(--navy); color: #cfdbe8; font-size: .88rem; }
.topbar .container { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .tb-left { display: flex; gap: 18px; flex-wrap: wrap; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand .logo-mark { width: 60px; height: auto; flex: none; }
.site-footer .brand .logo-mark { background: #fff; border-radius: 8px; padding: 4px; box-sizing: content-box; }
.brand .name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.05; }
.brand .sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .96rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--ice); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; border-radius: 10px; padding: 12px 20px; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; font-size: 1rem; }
.btn-primary { background: var(--red); color: #fff !important; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: currentColor; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(47,127,193,.45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e6eef7; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #8fc4ee; }
.hero .lead { font-size: 1.15rem; max-width: 36em; color: #c9d7e6; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.hero .eyebrow { color: #ffb3bb; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 14px; }
.hero-card img { border-radius: 10px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-card figcaption { font-size: .85rem; color: #b5c6d8; padding: 10px 4px 2px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-size: .92rem; color: #d6e2ee; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: #8fc4ee; flex: none; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 32px; } }

/* Page header (inner pages) */
.page-head { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #c9d7e6; }
.page-head .container { padding-top: 54px; padding-bottom: 54px; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { max-width: 42em; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 10px; }
.crumbs a { color: #8fc4ee; text-decoration: none; }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -40px; position: relative; }
.stat { padding: 24px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--navy); line-height: 1; }
.stat .lbl { font-size: .9rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ice); color: var(--sky); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card.link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; display: block; }
.card.link:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(14,39,66,.08), 0 14px 32px rgba(14,39,66,.12); }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--red); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 620px) { .checks.two { grid-template-columns: 1fr; } }

/* Quote / callout */
.callout { border-left: 4px solid var(--red); background: var(--surface); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.callout p { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0; }
.callout span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--ice); color: var(--navy); font-weight: 600; font-size: .9rem; padding: 6px 12px; border-radius: 999px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { border-radius: 10px; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr 1fr; } }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.project h3 { margin-bottom: 4px; }
.project .meta { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

/* Letters */
.letter { text-decoration: none; color: inherit; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.letter:hover { transform: translateY(-2px); }
.letter img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.letter div { padding: 14px 16px; font-weight: 700; color: var(--navy); font-size: .98rem; }
.letter small { display: block; font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .letters { grid-template-columns: 1fr 1fr !important; } }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ice); color: var(--sky); display: grid; place-items: center; flex: none; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }

/* CTA band */
.cta { background: var(--red); color: #fff; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 46px; padding-bottom: 46px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #ffe1e4; }
.cta .btn-white { background: #fff; color: var(--red); }
.cta .btn-white:hover { background: var(--navy); color: #fff; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #0a1c30; color: #a9b8c8; font-size: .94rem; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 36px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #dbe6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 620px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -4px 18px rgba(0,0,0,.15); }
  .callbar a { text-align: center; padding: 15px 8px; font-weight: 700; text-decoration: none; color: #fff; }
  .callbar a:first-child { background: var(--red); }
  .callbar a:last-child { background: var(--navy); }
  body { padding-bottom: 54px; }
}

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.badge-es { display: inline-block; background: #fff3f4; color: var(--red-dark); border: 1px solid #f6c9ce; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: .88rem; }
