/* Tellico HVAC — Tellico Village landing (served by Mellowmen HVAC) */
:root {
  --blue-950: #0a1628;
  --blue-900: #0f2744;
  --blue-800: #163a66;
  --blue-700: #1e4d8c;
  --blue-100: #e8f1fb;
  --blue-50: #f4f8fc;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --lake: #0ea5a4;
  --cool: #38bdf8;
  --text: #1a2332;
  --muted: #5a6a7e;
  --white: #ffffff;
  --border: #d5e0ec;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(15, 39, 68, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--amber-600); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--amber-500); color: #111; padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.topbar {
  background: var(--blue-950);
  color: #dbe7f5;
  font-size: 0.875rem;
  padding: 0.45rem 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: space-between; align-items: center; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--amber-500); }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(15,39,68,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 0;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--blue-900);
}
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.15rem; letter-spacing: 0.02em; }
.logo-text span { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--white); cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--blue-900); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--blue-900);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav { display: none; }
.nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.nav ul { list-style: none; margin: 0; padding: 0.5rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.nav a {
  display: block; padding: 0.7rem 0.85rem; text-decoration: none; color: var(--blue-900); font-weight: 600; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue-800); }
.nav .btn-call { background: var(--amber-500); color: #111 !important; text-align: center; margin-top: 0.35rem; }
.nav .btn-call:hover { background: var(--amber-600); color: #111 !important; }

@media (min-width: 840px) {
  .nav-toggle { display: none; }
  .nav { display: block; position: static; box-shadow: none; border: 0; }
  .nav ul { flex-direction: row; align-items: center; padding: 0; gap: 0.15rem; }
  .nav a { padding: 0.5rem 0.75rem; }
  .nav .btn-call { margin-top: 0; margin-left: 0.35rem; padding-inline: 1rem; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.35rem; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2;
}
.btn-primary { background: var(--amber-500); color: #111; }
.btn-primary:hover { background: var(--amber-600); color: #111; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--blue-800); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero {
  position: relative; color: #fff;
  background: var(--blue-900) center/cover no-repeat;
  min-height: clamp(380px, 62vw, 520px);
  display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,22,40,.9) 0%, rgba(15,39,68,.75) 50%, rgba(14,165,164,.25) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 3rem 0 2.75rem; width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.hero .eyebrow {
  display: inline-block; background: rgba(14,165,164,.22); color: #99f6e4;
  border: 1px solid rgba(14,165,164,.4); padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 0.85rem;
}
.hero h1 { margin: 0 0 0.6rem; font-size: clamp(1.85rem, 4.5vw, 2.75rem); line-height: 1.15; max-width: 20ch; }
.hero .lede { margin: 0 0 1.4rem; font-size: 1.1rem; color: #dbe7f5; max-width: 42ch; }
.hero-phone { font-size: 1.35rem; font-weight: 800; color: var(--amber-500); text-decoration: none; display: inline-block; margin-bottom: 1.1rem; }
.hero-phone:hover { color: #fbbf24; }

.served-by {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 0.55rem 0.9rem; border-radius: 8px; font-size: 0.92rem; color: #e8f1fb; margin-bottom: 1.25rem;
}
.served-by a { color: var(--amber-500); font-weight: 700; text-decoration: none; }
.served-by a:hover { color: #fbbf24; text-decoration: underline; }

section { padding: 3.25rem 0; }
.section-alt { background: var(--blue-50); }
.section-dark { background: var(--blue-900); color: #e8f1fb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--blue-900); }
.section-dark .section-head h2 { color: #fff; }
.section-head p { margin: 0; color: var(--muted); }
.section-dark .section-head p { color: #b8c9de; }

.grid-3 { display: grid; gap: 1.15rem; }
.grid-2 { display: grid; gap: 1.15rem; }
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: 0 2px 8px rgba(15,39,68,.04);
}
.card h3 { margin: 0 0 0.45rem; font-size: 1.1rem; color: var(--blue-900); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-100), #ecfdf5); margin-bottom: 0.85rem;
  color: var(--blue-800); font-size: 1.25rem;
}
.card-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--lake); transform: translateY(-2px); }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.pill-list li {
  background: var(--white); border: 1px solid var(--border); padding: 0.45rem 0.85rem;
  border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--blue-800);
}

.proof { display: grid; gap: 1rem; }
@media (min-width: 700px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof-item {
  text-align: center; padding: 1.1rem 0.75rem; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
}
.proof-item strong { display: block; font-size: 1.05rem; color: var(--amber-500); margin-bottom: 0.25rem; }
.proof-item span { font-size: 0.88rem; color: #c5d4e8; }

.page-hero {
  background: linear-gradient(120deg, var(--blue-900), #0f5c5b 120%);
  color: #fff; padding: 2.5rem 0 2.25rem;
}
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.7rem, 3.5vw, 2.25rem); }
.page-hero p { margin: 0; color: #c5d4e8; max-width: 42rem; }

.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; color: var(--text); }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--text); }
.prose li { margin-bottom: 0.4rem; }
.prose h2 { color: var(--blue-900); margin: 1.5rem 0 0.6rem; font-size: 1.25rem; }

.service-block {
  border-bottom: 1px solid var(--border); padding: 1.5rem 0;
}
.service-block:last-child { border-bottom: 0; }
.service-block h2 { margin: 0 0 0.4rem; font-size: 1.25rem; color: var(--blue-900); }
.service-block p { margin: 0; color: var(--muted); }

.faq details {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.85rem 1rem; margin-bottom: 0.65rem;
}
.faq summary { font-weight: 700; color: var(--blue-900); cursor: pointer; }
.faq details p { margin: 0.65rem 0 0; color: var(--muted); }

.contact-layout { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .contact-layout { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-panel {
  background: var(--blue-900); color: #e8f1fb; border-radius: var(--radius); padding: 1.5rem;
}
.contact-panel h2 { margin: 0 0 0.75rem; color: #fff; }
.contact-panel a.big-phone {
  display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--amber-500); text-decoration: none; margin: 0.5rem 0 1rem;
}
.contact-panel a.big-phone:hover { color: #fbbf24; }
.contact-panel dl { margin: 0; }
.contact-panel dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; color: #8fa3bc; margin-top: 0.85rem; }
.contact-panel dd { margin: 0.2rem 0 0; }
.contact-panel a { color: #99f6e4; }

.form label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--blue-900); font-size: 0.92rem; }
.form .field { margin-bottom: 1rem; }
.form input, .form textarea {
  width: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; color: var(--text); background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.form-note {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 0.85rem 1rem;
  font-size: 0.9rem; color: #9a3412; margin-bottom: 1rem;
}

.cta-band {
  background: linear-gradient(105deg, var(--blue-900), #0f5c5b 55%, #9a3412);
  color: #fff; padding: 2.5rem 0; text-align: center;
}
.cta-band h2 { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.cta-band p { margin: 0 0 1.25rem; color: #dbe7f5; }
.cta-band .phone { font-size: 1.5rem; font-weight: 800; color: var(--amber-500); text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.cta-band .phone:hover { color: #fbbf24; }

.site-footer {
  background: var(--blue-950); color: #9eb2cb; padding: 2.5rem 0 1.5rem; font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 1.5rem; margin-bottom: 1.75rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { margin: 0 0 0.65rem; color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: #c5d4e8; text-decoration: none; }
.site-footer a:hover { color: var(--amber-500); }
.footer-brand strong { color: #fff; display: block; font-size: 1.1rem; margin-bottom: 0.35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between; font-size: 0.85rem;
}

.notice-banner {
  background: linear-gradient(90deg, #ecfdf5, #f0f9ff);
  border-bottom: 1px solid #99f6e4;
  padding: 0.75rem 0;
  font-size: 0.92rem;
  color: var(--blue-900);
}
.notice-banner a { font-weight: 700; color: var(--blue-800); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
