/* =========================================================
   Family Friendly Dryer Vent Solutions
   Palette pulled from the logo: cobalt blue, deep navy,
   sky-blue swoosh, brushed silver, white.
   ========================================================= */

:root {
  --blue:        #1763c9;   /* primary cobalt */
  --blue-dark:   #0d3f87;
  --navy:        #0c2440;   /* deep outline navy */
  --sky:         #45a3ef;   /* swoosh accent */
  --silver:      #c7d0da;
  --silver-lt:   #eef1f5;
  --ink:         #16202e;   /* body text */
  --muted:       #5a6675;
  --white:       #ffffff;
  --bg:          #f6f8fb;
  --green:       #1f9e57;

  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 10px 30px rgba(12, 36, 64, 0.10);
  --shadow-lg:   0 24px 60px rgba(12, 36, 64, 0.18);
  --maxw:        1140px;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--blue); text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white); box-shadow: 0 8px 20px rgba(23, 99, 201, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 99, 201, 0.45); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--silver); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 36, 64, 0.08);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--navy); font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white) !important; padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(23, 99, 201, 0.3);
}
.nav-cta:hover { color: var(--white) !important; transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(69,163,239,.18), transparent 60%),
    linear-gradient(160deg, #ffffff 0%, var(--silver-lt) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -8%; bottom: -40%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,99,201,.10), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 72px 24px 80px;
}
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: rgba(23,99,201,.10);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
.hero h1 .accent { color: var(--blue); }
.lede { font-size: 1.12rem; color: var(--muted); margin: 22px 0 30px; max-width: 36em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  list-style: none; display: flex; gap: 24px; flex-wrap: wrap; margin-top: 34px;
}
.hero-badges li {
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem;
  position: relative; padding-left: 24px;
}
.hero-badges li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800;
}
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-mascot {
  width: 100%; max-width: 360px;
  filter: drop-shadow(0 24px 36px rgba(12,36,64,.28));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 24px; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--sky); }
.trust-item span { font-size: .88rem; color: rgba(255,255,255,.78); }

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.kicker.light { color: var(--sky); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* ---------- Signs ---------- */
.signs { background: var(--white); }
.signs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sign-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg); border: 1px solid rgba(12,36,64,.06);
  border-radius: var(--radius-sm); padding: 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.sign-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sign-ic { font-size: 1.7rem; line-height: 1; }
.sign-card p { font-weight: 600; color: var(--navy); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-ic {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(23,99,201,.12), rgba(69,163,239,.12));
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); }

/* ---------- Why / fire risk ---------- */
.why { background: var(--navy); color: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-media { position: relative; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-tag {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(12,36,64,.85); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.why-copy h2 { color: var(--white); }
.why-copy p { color: rgba(255,255,255,.82); margin-top: 18px; font-size: 1.06rem; }
.protect { display: flex; flex-direction: column; gap: 2px; margin: 22px 0 28px !important; }
.protect span { font-family: var(--font-head); font-weight: 700; color: var(--sky); font-size: 1.1rem; }

/* ---------- Work / proof ---------- */
.work { background: var(--white); }
.airflow {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center;
  max-width: 880px; margin: 0 auto;
}
.airflow-card {
  background: var(--bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 2px solid transparent;
}
.airflow-card.before { border-color: rgba(214, 69, 69, .35); }
.airflow-card.after { border-color: rgba(31, 158, 87, .45); }
.airflow-card img { width: 100%; height: 230px; object-fit: cover; }
.airflow-card figcaption { padding: 18px 20px; text-align: center; }
.airflow-card .label {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px;
}
.before .label { background: rgba(214,69,69,.12); color: #c33; }
.after  .label { background: rgba(31,158,87,.14); color: var(--green); }
.airflow-card .reading { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--navy); }
.airflow-card .reading small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.airflow-card .note { display: block; color: var(--muted); font-size: .92rem; margin-top: 6px; }
.airflow-arrow { font-size: 2.4rem; color: var(--blue); font-weight: 800; }
.airflow-cap { text-align: center; color: var(--muted); max-width: 620px; margin: 22px auto 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 14px 18px; font-weight: 600; color: var(--navy); font-size: .95rem; }

/* ---------- About ---------- */
.about { background: var(--silver-lt); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: center; }
.about-media { display: flex; justify-content: center; }
.about-media img { max-width: 300px; filter: drop-shadow(0 18px 30px rgba(12,36,64,.22)); }
.about-copy p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 26px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; color: var(--navy); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg); border: 1px solid rgba(12,36,64,.07);
  border-radius: var(--radius-sm); padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy);
  padding: 16px 30px 16px 0; position: relative; list-style: none; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue); transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); padding: 0 0 18px; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(69,163,239,.12), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #08182c 100%);
  color: var(--white);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro h2 { color: var(--white); }
.contact-intro p { color: rgba(255,255,255,.82); margin-top: 16px; font-size: 1.06rem; }
.contact-points { list-style: none; display: grid; gap: 10px; margin: 24px 0; }
.contact-points li { font-weight: 600; font-size: 1.05rem; }
.contact-direct { font-size: .98rem; }
.contact-direct a { color: var(--sky); font-weight: 600; }

.contact-form {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--silver);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(23,99,201,.15);
}
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #d64545; }

/* ---------- Footer ---------- */
.site-footer { background: #08182c; color: rgba(255,255,255,.8); padding: 54px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 52px; margin-bottom: 12px; }
.footer-brand p { font-family: var(--font-head); font-weight: 600; color: var(--sky); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-links a:hover { color: var(--sky); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-art { order: -1; }
  .hero-mascot { max-width: 240px; }
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-media { order: -1; }
  .services-grid, .signs-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 0;
    box-shadow: var(--shadow); transform: translateY(-130%);
    transition: transform .3s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 14px 24px; border-bottom: 1px solid rgba(12,36,64,.06); }
  .nav-cta { margin: 10px 24px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .section { padding: 60px 0; }
  .airflow { grid-template-columns: 1fr; }
  .airflow-arrow { transform: rotate(90deg); margin: 0 auto; }
}

@media (max-width: 520px) {
  .services-grid, .signs-grid, .gallery, .check-list, .field-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
