/* Dake Bros Heating & Air - shared styles */

:root {
  --navy: #0b1026;
  --navy-2: #141a36;
  --blue: #2f4fe3;
  --blue-hover: #2440c4;
  --ice: #45d9d0;
  --flame: #f26a1b;
  --flame-hover: #d85710;
  --gold: #f5b417;
  --light: #f3f5fb;
  --white: #fff;
  --text: #2a2f3d;
  --muted: #5b6275;
  --border: #e3e6ef;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(11, 16, 38, 0.08);
  --head: 'Saira Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Barlow', Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  padding-bottom: 56px;
}

main { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 4.5rem 0; scroll-margin-top: 112px; }
.section--light { background: var(--light); }
.section--dark { background: var(--navy); color: #d6dbea; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.section-head p { color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #b9c0d6; }

.eyebrow {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 0.5rem;
}
.section--dark .eyebrow { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.75rem;
  border: 0;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--flame { background: var(--flame); color: var(--white); }
.btn--flame:hover { background: var(--flame-hover); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-hover); }
.btn--lg { font-size: 1.1rem; padding: 1.1rem 2.25rem; }

/* Header */
.topbar {
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.topbar a { color: var(--white); text-decoration: none; }
.topbar-socials { display: flex; gap: 0.25rem; }
.topbar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: background 0.2s;
}
.topbar-socials a:hover { background: rgba(255, 255, 255, 0.15); }
.topbar-socials svg { width: 17px; height: 17px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.site-logo img { height: 96px; width: auto; }

.site-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }

.header-phone {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--white);
  padding: 0.4rem;
  cursor: pointer;
}
.nav-toggle svg { width: 30px; height: 30px; display: block; }

@media (max-width: 991px) {
  .topbar-socials { display: none; }
  .topbar .wrap { justify-content: center; }
  .site-logo img { height: 72px; }
  .nav-toggle { display: block; }
  .header-phone, .site-header .btn { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-2);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy) center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 7rem 0 6rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 28, 0.68);
}
.hero .wrap { position: relative; max-width: 900px; }
.hero h1 { color: var(--white); }
.hero-lead { font-size: 1.2rem; color: #dfe3f0; max-width: 700px; margin: 0 auto; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

@media (max-width: 768px) {
  .hero { padding: 4.5rem 0 4rem; }
}

/* Trust strip */
.trust { background: var(--navy-2); color: var(--white); }
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 0.95rem; }
.trust-item svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--ice); }
@media (max-width: 991px) { .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.google-heading { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.google-heading h2 { margin: 0; }
.google-g { width: 36px; height: 36px; flex: 0 0 auto; display: block; }
.reviewer-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.google-g--card { width: 22px; height: 22px; margin-left: auto; }
.review-stars { display: flex; gap: 2px; color: #fbbc04; margin-bottom: 0.75rem; }
.review-stars svg { width: 18px; height: 18px; }
.review-text { color: var(--text); flex: 1; }
.review-text p { margin: 0 0 0.75rem; }
.review-text.is-clamped {
  flex: 0 0 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}
.review-more {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  font: inherit;
  font-weight: 700;
  color: #1a73e8;
  cursor: pointer;
}
.review-more:hover { color: var(--flame); }
.review-name { font-weight: 700; color: var(--navy); margin: 0; }
.review-meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.reviews-cta { text-align: center; margin-top: 2.25rem; }
.btn--google { background: #1a73e8; color: var(--white); }
.btn--google:hover { background: #1765cc; }
@media (max-width: 991px) { .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Service tiles */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.svc-tile {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.svc-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.svc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 38, 0.95) 0%, rgba(11, 16, 38, 0.35) 65%, rgba(11, 16, 38, 0.15) 100%);
}
.svc-tile:hover > img { transform: scale(1.04); }
.svc-tile__link { position: absolute; inset: 0; z-index: 2; }
.svc-tile__body { position: relative; z-index: 3; padding: 1.5rem; pointer-events: none; }
.svc-tile__body a { pointer-events: auto; }
.svc-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--flame);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: var(--white);
}
.svc-tile__icon svg { width: 26px; height: 26px; }
.svc-tile h3 { color: var(--white); font-size: 1.7rem; text-transform: uppercase; margin-bottom: 0.75rem; }
.svc-tile__btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc-tile__btns a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.2s;
}
.svc-tile__btns a:hover { background: var(--flame); }
@media (max-width: 991px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .svc-grid { grid-template-columns: 1fr; } .svc-tile { min-height: 320px; } }

/* Offers */
.offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.offer-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--flame); }
.offer-card h3 { margin: 0.5rem 0 0.75rem; font-size: 1.6rem; }
.offer-card p { color: var(--muted); flex: 1; margin-bottom: 1.5rem; }
@media (max-width: 991px) { .offers-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* About / Meet the brothers */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-copy p { color: var(--muted); }
.about-points { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.6rem; }
.about-points li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 600; color: var(--navy); }
.about-points svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--blue); margin-top: 2px; }
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 620px; margin: 0 auto; }
  .about-photo { aspect-ratio: 4 / 3; }
}

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { background: var(--navy-2); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.35rem; }
.step p { margin: 0; font-size: 0.98rem; }
@media (max-width: 991px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .steps { grid-template-columns: 1fr; } }

/* Service areas */
.areas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.area-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.15rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.area-tile svg { width: 18px; height: 18px; color: var(--flame); flex: 0 0 auto; }
.area-tile:hover { background: var(--white); border-color: var(--flame); }
@media (max-width: 991px) { .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; color: var(--flame); flex: 0 0 auto; transition: transform 0.2s; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* Contact / Quote */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-info li { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-info svg { width: 22px; height: 22px; color: var(--ice); flex: 0 0 auto; margin-top: 3px; }
.contact-info a { color: var(--white); font-weight: 700; text-decoration: none; }
.contact-info a:hover { color: var(--gold); }

.quote-form { background: var(--white); border-radius: var(--radius); padding: 2rem; color: var(--text); }
.quote-form h3 { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 110px; resize: vertical; }
.quote-form .btn { width: 100%; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; text-align: center; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Pre-footer */
.prefooter { background: var(--navy); color: #c3c9dc; padding: 3.5rem 0 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.prefooter-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 2rem; }
.prefooter h4 { color: var(--white); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.prefooter ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.prefooter a { color: #c3c9dc; text-decoration: none; }
.prefooter a:hover { color: var(--gold); }
.prefooter-logo img { width: 280px; margin-bottom: 1rem; }
.prefooter-socials { display: flex; gap: 0.5rem; margin-top: 1rem; }
.prefooter-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  transition: background 0.2s;
}
.prefooter-socials a:hover { background: var(--flame); color: var(--white); }
.prefooter-socials svg { width: 18px; height: 18px; }
.prefooter-map { width: 100%; height: 200px; border: 0; border-radius: var(--radius); }
@media (max-width: 991px) { .prefooter-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .prefooter-grid { grid-template-columns: 1fr; } }

.site-footer { background: #060915; color: var(--white); font-size: 0.9rem; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold); }
.footer-credit, .footer-copy { display: flex; align-items: center; gap: 0.25rem; white-space: nowrap; }
.footer-credit img { height: 1em; width: auto; display: inline-block; }
.footer-sep { margin: 0 0.5rem; }
@media (max-width: 575px) { .footer-sep { display: none; } .footer-copy { white-space: normal; flex-wrap: wrap; justify-content: center; } }

/* Sticky call bar (shown on every screen size, same as Comfortable HVAC) */
.mobile-call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; }
.sticky-call-link,
.sticky-book-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.mobile-call-bar svg { width: 20px; height: 20px; flex: 0 0 auto; }
.sticky-call-link { background: var(--blue); }
.sticky-call-link:hover { background: var(--blue-hover); }
.sticky-book-btn { background: var(--flame); }
.sticky-book-btn:hover { background: var(--flame-hover); }
