/* The Eagle Heating & A/C — eagleheating.us */
:root{
  --navy:#0a2342;
  --navy-2:#0b2a5b;
  --navy-3:#123a75;
  --red:#b22234;
  --red-dark:#8e1a29;
  --ink:#1d2733;
  --muted:#5c6874;
  --bg:#ffffff;
  --bg-soft:#f4f6f9;
  --line:#dde4ec;
  --gold:#e9a100;
  --radius:14px;
  --shadow:0 10px 30px rgba(10,35,66,.12);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy-2)}
.wrap{width:min(1140px,92%);margin:0 auto}
h1,h2,h3{color:var(--navy);line-height:1.15}
h2{font-size:clamp(1.6rem,3.4vw,2.3rem);margin-bottom:.5rem}
.section{padding:4rem 0}
.section.soft{background:var(--bg-soft)}
.kicker{
  display:inline-block;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  font-size:.75rem;color:var(--red);margin-bottom:.6rem;
}
.lead{color:var(--muted);max-width:46rem}

/* ---------- Header ---------- */
.topbar{
  background:var(--navy);color:#fff;font-size:.86rem;
}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;justify-content:space-between;align-items:center;padding:.45rem 0}
.topbar a{color:#fff;text-decoration:none;font-weight:600}
.topbar .tb-item{display:inline-flex;align-items:center;gap:.4rem}
header.site{
  position:sticky;top:0;z-index:50;background:#fff;
  border-bottom:1px solid var(--line);box-shadow:0 2px 14px rgba(10,35,66,.06);
}
.header-in{display:flex;align-items:center;gap:1rem;padding:.55rem 0}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;margin-right:auto}
.brand img{height:56px;width:auto}
.brand .brand-name{font-weight:800;color:var(--navy);font-size:1.02rem;line-height:1.1}
.brand .brand-sub{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--red);font-weight:700}
nav.main{display:none;gap:1.3rem}
nav.main a{color:var(--navy);text-decoration:none;font-weight:600;font-size:.95rem}
nav.main a:hover{color:var(--red)}
.lang-toggle{display:inline-flex;border:1.5px solid var(--navy);border-radius:999px;overflow:hidden}
.lang-toggle button{
  border:0;background:#fff;color:var(--navy);font-weight:700;font-size:.82rem;
  padding:.38rem .8rem;cursor:pointer;
}
.lang-toggle button.active{background:var(--navy);color:#fff}
.btn{
  display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;cursor:pointer;
  font-weight:700;border-radius:999px;padding:.72rem 1.4rem;font-size:.98rem;border:0;
  transition:transform .08s ease, background .15s ease;
}
.btn:active{transform:scale(.98)}
.btn-call{background:var(--red);color:#fff}
.btn-call:hover{background:var(--red-dark)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-3)}
.btn-outline{background:#fff;color:var(--navy);border:2px solid var(--navy)}
.btn-outline:hover{background:var(--bg-soft)}
.btn-sm{padding:.5rem 1rem;font-size:.88rem}
@media(min-width:900px){ nav.main{display:inline-flex} }

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(180deg,#fdfefe 0%,var(--bg-soft) 100%);
  border-bottom:4px solid var(--red);
  padding:2.6rem 0 3.2rem;text-align:center;
}
.hero .hero-logo{width:min(520px,88%);margin:0 auto 1.2rem}
.hero h1{font-size:clamp(1.9rem,4.6vw,3rem);max-width:22ch;margin:0 auto .7rem}
.hero h1 .accent{color:var(--red)}
.hero p.sub{color:var(--muted);font-size:clamp(1rem,2vw,1.18rem);max-width:56ch;margin:0 auto 1.4rem}
.hero-badges{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:center;margin-bottom:1.6rem}
.badge{
  background:#fff;border:1.5px solid var(--navy);color:var(--navy);
  border-radius:999px;padding:.35rem .95rem;font-weight:700;font-size:.86rem;
}
.badge.red{border-color:var(--red);color:var(--red)}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center}
.hero-ctas .btn{font-size:1.05rem;padding:.85rem 1.7rem}
.hero .alt-phone{margin-top:.9rem;color:var(--muted);font-size:.94rem}
.hero .alt-phone a{font-weight:700}

/* ---------- Services ---------- */
.grid{display:grid;gap:1.1rem;margin-top:2rem}
@media(min-width:640px){ .grid.cols-3{grid-template-columns:repeat(2,1fr)} .grid.cols-2{grid-template-columns:repeat(2,1fr)} }
@media(min-width:980px){ .grid.cols-3{grid-template-columns:repeat(3,1fr)} }
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem 1.4rem;box-shadow:0 3px 12px rgba(10,35,66,.05);
}
.card .ico{font-size:1.7rem;line-height:1;margin-bottom:.7rem}
.card h3{font-size:1.12rem;margin-bottom:.4rem}
.card p{color:var(--muted);font-size:.95rem}

/* ---------- Offers band ---------- */
.offers{background:var(--navy);color:#fff}
.offers h2{color:#fff}
.offers .lead{color:#c9d6e8}
.offer-grid{display:grid;gap:1.1rem;margin-top:2rem}
@media(min-width:640px){ .offer-grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:980px){ .offer-grid{grid-template-columns:repeat(4,1fr)} }
.offer{
  background:var(--navy-2);border:1px solid var(--navy-3);border-radius:var(--radius);
  padding:1.4rem 1.2rem;text-align:center;
}
.offer .big{font-size:1.9rem;font-weight:800;color:#fff;line-height:1.1}
.offer .big span{color:var(--gold)}
.offer p{color:#c9d6e8;font-size:.92rem;margin-top:.35rem}
.offers .fineprint{margin-top:1.4rem;color:#9db2cc;font-size:.85rem;text-align:center}

/* ---------- Service area ---------- */
.city-list{
  list-style:none;display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.6rem;
}
.city-list li{
  background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:.42rem 1rem;font-weight:600;color:var(--navy);font-size:.93rem;
}

/* ---------- About ---------- */
.about-flex{display:flex;flex-direction:column;gap:2rem;margin-top:1rem}
@media(min-width:900px){ .about-flex{flex-direction:row;align-items:center} .about-flex>*{flex:1} }
.about-logo{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.about-flex p{color:var(--muted);margin-bottom:.9rem}
.about-flex p strong{color:var(--ink)}

/* ---------- Contact ---------- */
.contact-grid{display:grid;gap:1.6rem;margin-top:2rem}
@media(min-width:900px){ .contact-grid{grid-template-columns:1fr 1.15fr;align-items:start} }
.contact-lines{display:grid;gap:1rem}
.contact-line{
  display:flex;gap:.9rem;align-items:flex-start;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:1.1rem 1.2rem;
}
.contact-line .ico{font-size:1.35rem}
.contact-line h3{font-size:1rem;margin-bottom:.15rem}
.contact-line p,.contact-line a{font-size:1.02rem}
.contact-line a{font-weight:700;text-decoration:none}
.contact-line a:hover{text-decoration:underline}
form.quote{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;box-shadow:var(--shadow);
}
form.quote h3{margin-bottom:.3rem}
form.quote .hint{color:var(--muted);font-size:.9rem;margin-bottom:1.1rem}
.field{margin-bottom:.95rem}
.field label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.3rem;color:var(--navy)}
.field input,.field select,.field textarea{
  width:100%;border:1.5px solid var(--line);border-radius:10px;padding:.68rem .8rem;
  font:inherit;font-size:1rem;background:#fff;color:var(--ink);
}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--navy-3);border-color:var(--navy-3)}
.form-status{margin-top:.9rem;font-size:.93rem;font-weight:600;display:none}
.form-status.ok{display:block;color:#1c7c3c}
.form-status.err{display:block;color:var(--red)}

/* ---------- Footer ---------- */
footer.site{background:var(--navy);color:#dbe5f2;padding:2.6rem 0 1.6rem;margin-top:0}
.footer-in{display:flex;flex-direction:column;gap:1.4rem;align-items:flex-start}
@media(min-width:820px){ .footer-in{flex-direction:row;justify-content:space-between;align-items:center} }
footer.site .f-brand{background:#fff;border-radius:12px;padding:.6rem .9rem}
footer.site .f-brand img{height:64px;width:auto}
footer.site a{color:#fff}
footer.site nav{display:flex;flex-wrap:wrap;gap:.4rem 1.3rem}
footer.site nav a{text-decoration:none;font-weight:600;font-size:.93rem}
footer.site nav a:hover{text-decoration:underline}
.footer-bottom{border-top:1px solid var(--navy-3);margin-top:1.8rem;padding-top:1.1rem;font-size:.85rem;color:#9db2cc;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;justify-content:space-between}

/* Floating call button (mobile) */
.call-fab{
  position:fixed;right:1rem;bottom:1rem;z-index:60;background:var(--red);color:#fff;
  border-radius:999px;padding:.85rem 1.3rem;font-weight:800;text-decoration:none;
  box-shadow:0 10px 24px rgba(142,26,41,.4);font-size:.98rem;
}
@media(min-width:900px){ .call-fab{display:none} }

/* Privacy page */
.privacy-body{max-width:52rem}
.privacy-body h2{margin-top:2rem}
.privacy-body h2:first-child{margin-top:0}
.privacy-body p{color:var(--muted);margin-bottom:.8rem}
.back-link{display:inline-block;margin-bottom:1.4rem;font-weight:700;text-decoration:none}
.back-link:hover{text-decoration:underline}

/* ---------- Quote request section ---------- */
.contact-grid{grid-template-columns:1fr}
@media(min-width:900px){ .contact-lines{grid-template-columns:repeat(2,1fr)} }
form.quote-wide{max-width:780px;margin-top:2rem}
fieldset.field{border:0;padding:0}
fieldset.field legend{font-weight:600;font-size:.9rem;margin-bottom:.45rem;color:var(--navy)}
.radio-row{display:flex;flex-wrap:wrap;gap:.7rem}
.radio-pill{
  display:inline-flex;align-items:center;gap:.45rem;border:1.5px solid var(--line);
  border-radius:999px;padding:.55rem 1.1rem;font-weight:600;cursor:pointer;background:#fff;
}
.radio-pill:has(input:checked){border-color:var(--navy);background:var(--bg-soft)}
.radio-pill input{accent-color:var(--red)}

/* ---------- FAQ ---------- */
.faq-list{display:grid;gap:1rem;margin-top:2rem}
@media(min-width:820px){ .faq-list{grid-template-columns:repeat(2,1fr)} }
.faq-item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.3rem 1.4rem;box-shadow:0 3px 12px rgba(10,35,66,.05);
}
.faq-item h3{font-size:1.05rem;margin-bottom:.35rem}
.faq-item p{color:var(--muted);font-size:.95rem}

/* Form consent line */
form.quote .consent{font-size:.82rem;color:var(--muted);margin-top:.85rem;max-width:44rem}

/* ---------- Mobile: phones and small tablets ---------- */
/* Safety net: never scroll sideways; long emails and links wrap instead. */
body{overflow-x:clip}
.contact-line a,.footer-bottom a,.privacy-body a{overflow-wrap:anywhere}
.call-fab{max-width:calc(100vw - 2rem)}

@media(max-width:899px){
  /* The floating call button is visible here: keep the footer clear of it
     and respect the iPhone home-indicator safe area. */
  .call-fab{bottom:calc(1rem + env(safe-area-inset-bottom))}
  footer.site{padding-bottom:5.75rem}
}

@media(max-width:860px){
  .section{padding:2.8rem 0}
  /* Header wraps into two clean rows: brand, then toggle and buttons. */
  .header-in{flex-wrap:wrap;gap:.55rem .8rem;padding:.5rem 0}
  .brand img{height:46px}
  .brand .brand-name{font-size:.95rem}
  /* Tap targets at least 44px tall. */
  .lang-toggle button{min-height:44px;padding:.38rem .95rem;font-size:.88rem}
  .btn-sm{min-height:44px;padding:.55rem 1.05rem}
  .radio-pill{min-height:44px}
  .back-link{padding:.65rem 0}
  footer.site nav a{padding:.6rem .15rem}
  form.quote{padding:1.3rem}
  form.quote .consent{font-size:.88rem}
}

@media(max-width:560px){
  .section{padding:2.3rem 0}
  .topbar .wrap{justify-content:center;text-align:center}
  .brand{gap:.55rem}
  .brand img{height:40px}
  .brand .brand-name{font-size:.88rem}
  .brand .brand-sub{font-size:.66rem}
  /* One call action in the header; the quote action lives in the hero. */
  header.site .btn-outline{display:none}
  .hero{padding:2rem 0 2.4rem}
  .hero .hero-logo{width:min(520px,94%)}
  .hero-ctas{flex-direction:column;align-items:stretch;gap:.7rem}
  .hero-ctas .btn{width:100%;justify-content:center;font-size:1rem;padding:.85rem 1rem;min-height:52px}
  .hero-badges{gap:.45rem}
  .badge{font-size:.8rem;padding:.32rem .8rem}
  .offer .big{font-size:1.6rem}
  .card{padding:1.25rem 1.1rem}
  .contact-line{padding:1rem}
  .city-list li{font-size:.88rem;padding:.4rem .85rem}
  /* Quote form: full width fields, 16px text (no iOS auto-zoom),
     48px tall controls, full width submit. */
  form.quote{padding:1.1rem 1rem}
  .field input,.field select{min-height:48px}
  .field textarea{min-height:120px}
  .field label{font-size:.95rem}
  .radio-row{gap:.55rem}
  .radio-pill{padding:.55rem 1rem}
  form.quote button[type="submit"]{width:100%;justify-content:center;min-height:50px;font-size:1rem}
  .privacy-body h2{font-size:1.4rem}
  footer.site .f-brand img{height:52px}
}
