/* Nation Air Con — site styles. Sans-serif only, mobile-first. */
:root {
  --navy: #16324a;
  --navy-soft: #24486b;
  --ink: #23303b;
  --muted: #5b6a77;
  --line: #e3e8ed;
  --bg: #ffffff;
  --bg-warm: #f6f8fa;
  --cta: #e8720c;
  --cta-dark: #c95f04;
  --good: #1d8a4a;
  --maxw: 760px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }

/* Masthead — one plain line, no slogan, not sticky. Flag stripe + patriotic wordmark. */
.masthead {
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #b22234 0 50%, #3c3b6e 50% 100%) 1;
  background: #fff;
}
.masthead-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-weight: 900; font-size: 1.15rem; color: #1f2f5e; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.brand::before { content: "\2605\00a0"; color: #b22234; }
.brand span { color: #b22234; }
.masthead--center .masthead-inner { justify-content: center; padding: 11px 18px; }
.masthead--center .brand { font-size: 0.98rem; }
.mast-nav { display: flex; gap: 18px; font-size: 0.92rem; }
.mast-nav a { color: var(--muted); text-decoration: none; }
.mast-nav a.nav-cta { color: var(--cta); font-weight: 700; }
.mast-nav a:hover { color: var(--navy); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* Article / content */
.content { padding: 28px 0 40px; }
.content h1 { font-size: clamp(1.55rem, 5.2vw, 2.15rem); line-height: 1.22; color: var(--navy); letter-spacing: -0.015em; margin-bottom: 10px; }
.content h2 { font-size: clamp(1.22rem, 4vw, 1.5rem); line-height: 1.3; color: var(--navy); margin: 30px 0 10px; }
.content h3 { font-size: 1.08rem; color: var(--navy); margin: 22px 0 8px; }
.content p { margin: 0 0 16px; }
.content ul, .content ol { margin: 0 0 16px 22px; }
.content li { margin-bottom: 6px; }
.byline { display: flex; align-items: center; gap: 10px; margin: 14px 0 22px; color: var(--muted); font-size: 0.9rem; }
.byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.article-img { border-radius: 10px; margin: 20px 0; overflow: hidden; }
.article-img img { width: 100%; max-height: 420px; object-fit: cover; }
.article-img figcaption { font-size: 0.85rem; color: var(--muted); padding-top: 7px; }

/* Widgets */
.callout { background: #fdf6dd; border-left: 4px solid #c9a32a; border-radius: 8px; padding: 14px 16px; margin: 20px 0; }
.callout strong { color: var(--navy); }
.tipbox { background: var(--bg-warm); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 20px 0; font-size: 0.97rem; }
.pullquote { border-left: 4px solid var(--cta); padding: 6px 0 6px 16px; margin: 22px 0; font-size: 1.15rem; font-style: italic; color: var(--navy); }
table.simple { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
table.simple th, table.simple td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; }
table.simple th { background: var(--bg-warm); color: var(--navy); }
.table-scroll { overflow-x: auto; margin: 18px 0; }
.table-scroll table.simple { margin: 0; min-width: 460px; }

/* CTA blocks */
.cta-box { background: var(--bg-warm); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; margin: 26px 0; text-align: center; }
.cta-box .cta-lead { font-size: 1.02rem; margin-bottom: 12px; color: var(--ink); text-align: left; }
.cta-btn {
  display: inline-block; background: var(--cta); color: #fff !important; font-weight: 800;
  font-size: 1.05rem; padding: 15px 26px; border-radius: 10px; text-decoration: none;
  text-align: center; border: none; cursor: pointer;
}
.cta-btn:hover { background: var(--cta-dark); color: #fff !important; }
.cta-btn.block { display: block; width: 100%; }
.cta-fine { font-size: 0.83rem; color: var(--muted); font-style: italic; margin-top: 9px; }
.cta-card-final { background: #fdf6dd; border: 2px dashed #c9a32a; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 22px 18px; margin: 28px 0; text-align: center; }

/* Home page cards */
.hero { padding: 34px 0 8px; }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 620px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 22px 0 34px; }
.card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.card img { height: 140px; object-fit: cover; width: 100%; }
.card .card-body { padding: 12px 14px 14px; }
.card h3 { font-size: 1rem; line-height: 1.35; color: var(--navy); margin: 0 0 6px; }
.card p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.card:hover h3 { color: var(--cta); }

/* Footer */
footer.site-footer { border-top: 1px solid var(--line); background: var(--bg-warm); margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 26px 18px 34px; font-size: 0.83rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-links a { color: var(--navy-soft); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-inner p { margin-bottom: 10px; }

/* ---------- Quote form (multi-step) ---------- */
.quote-shell { max-width: 560px; margin: 0 auto; padding: 24px 18px 46px; }
.q-eyebrow {
  text-align: center; font-size: 1.08rem; font-weight: 800;
  color: var(--navy); margin-bottom: 14px; line-height: 1.3;
}
.q-options.icon-grid { grid-template-columns: 1fr 1fr; }
.q-options.icon-grid .q-opt { padding: 14px 10px 12px; font-size: 0.95rem; line-height: 1.25; }
.q-options.icon-grid .q-opt.span2 { grid-column: 1 / -1; }
.q-opt img { width: 58px; height: 58px; display: block; margin: 0 auto 7px; }
.q-opt.span2 img { margin-bottom: 5px; }
.progress-track { height: 7px; background: var(--line); border-radius: 99px; margin: 0 0 24px; overflow: hidden; }
.progress-fill { height: 100%; width: 8%; background: #3c3b6e; border-radius: 99px; transition: width .3s ease; }
.quote-shell .cta-btn { background: #b22234; }
.quote-shell .cta-btn:hover { background: #8e1b29; }
.quote-shell .q-opt:hover { border-color: #3c3b6e; background: #f4f6fb; }
.q-step { display: none; }
.q-step.active { display: block; animation: fadeIn .22s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }
.q-question { font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 6px; text-align: center; }
.q-help { color: var(--muted); font-size: 0.9rem; text-align: center; margin-bottom: 16px; }
.q-options { display: grid; gap: 11px; }
.q-opt {
  display: block; width: 100%; text-align: center; background: #fff; border: 2px solid var(--line);
  border-radius: 12px; padding: 15px 14px; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: border-color .12s ease, background .12s ease;
  font-family: inherit;
}
.q-opt:hover { border-color: var(--cta); background: #fff8f1; }
.q-input {
  width: 100%; font-size: 1.15rem; padding: 14px 14px; border: 2px solid var(--line);
  border-radius: 12px; font-family: inherit; color: var(--ink);
}
.q-input:focus { outline: none; border-color: var(--navy-soft); }
.q-input.err { border-color: #c43c3c; }
.q-error { color: #c43c3c; font-size: 0.88rem; margin-top: 8px; display: none; }
.q-error.show { display: block; }
.q-next { margin-top: 14px; }
.q-back { background: none; border: none; color: var(--muted); font-size: 0.88rem; cursor: pointer; margin-top: 16px; text-decoration: underline; display: inline-block; font-family: inherit; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .q-row { grid-template-columns: minmax(0, 1fr); } }
.q-zipcity { font-size: 0.92rem; color: var(--good); font-weight: 700; margin-top: 8px; display: none; }
.q-zipcity.show { display: block; }
.tcpa { font-size: 0.72rem; color: var(--muted); line-height: 1.5; margin-top: 14px; text-align: left; }
.tcpa a { color: var(--muted); }
.q-trust { display: flex; justify-content: center; gap: 16px; margin-top: 22px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.q-trust span { display: flex; align-items: center; gap: 5px; }
.q-done { text-align: center; padding: 30px 0; }
.q-done h2 { color: var(--navy); margin-bottom: 10px; }
.q-done p { color: var(--muted); }
.spin { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: sp 0.8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes sp { to { transform: rotate(360deg); } }
