/* Goldenrod Roofing Co. — charcoal / cobalt, Barlow Condensed headlines */
:root {
  --ink: #15171b;
  --ink-soft: #23262c;
  --blue: #1d4ed8;
  --blue-dark: #173da8;
  --paper: #ffffff;
  --fog: #eef1f5;
  --line: #dde3ea;
  --muted: #5b6470;
  --radius: 8px;
  --shadow: 0 16px 40px -16px rgba(21, 23, 27, 0.25);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

h1, h2, .section-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; }
h1 { font-size: clamp(3rem, 6.5vw, 5.2rem); }
.section-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.kicker { display: flex; align-items: center; gap: 0.7rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem; }
.kicker span { width: 28px; height: 3px; background: var(--blue); }
.kicker.light { color: #9db4f0; }
.kicker.light span { background: #9db4f0; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; text-decoration: none; padding: 1rem 2rem; border-radius: var(--radius); border: none; cursor: pointer; transition: background 0.2s ease, transform 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--fog); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Top bar + header */
.topbar { background: var(--ink); color: #b9c1cc; font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(21,23,27,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; display: grid; place-items: center; border-radius: var(--radius); flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.04em; }
.brand-name em { font-style: normal; color: var(--blue); }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.header-cta .btn { padding: 0.75rem 1.4rem; font-size: 0.95rem; }
.hamburger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { padding: 4rem 0 4.5rem; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.lede { font-size: 1.1rem; color: var(--muted); margin: 1.3rem 0 2rem; max-width: 32rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-badges { list-style: none; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-badges li { font-size: 0.92rem; color: var(--muted); }
.hero-badges strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }

/* Services — numbered rows */
.services { background: var(--fog); }
.service-rows { margin-top: 2.2rem; border-top: 2px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 70px 1fr 40px; gap: 1.4rem; align-items: center; padding: 1.7rem 0.5rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background 0.2s ease, padding 0.2s ease; }
.service-row:hover { background: #fff; padding-left: 1.2rem; }
.service-row:hover .arrow { transform: translateX(6px); color: var(--blue); }
.num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--blue); }
.service-text strong { display: block; font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.02em; }
.service-text span { color: var(--muted); font-size: 0.97rem; }
.arrow { font-size: 1.6rem; transition: transform 0.2s ease; }

/* Storm */
.storm { background: var(--ink); color: #e8ebef; }
.storm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.storm-media img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.storm h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.1rem; }
.storm-copy p { color: #b9c1cc; margin-bottom: 1.8rem; max-width: 30rem; }

/* About + tile band */
.about-grid, .tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-media img, .tile-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2.1; object-fit: cover; width: 100%; }
.about-points { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.7rem; font-weight: 600; }
.about-points li { display: flex; align-items: center; gap: 0.7rem; }
.about-points li::before { content: "✓"; color: #fff; background: var(--blue); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; flex: none; }
.tile-band { background: var(--fog); }
.tile-grid .btn { margin-top: 1.6rem; }

/* Reviews */
.reviews { background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.2rem; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; display: flex; flex-direction: column; gap: 1rem; background: #fff; }
.stars { color: var(--blue); letter-spacing: 0.15em; }
.review p { flex: 1; }
.review footer strong { display: block; }
.review footer span { color: var(--muted); font-size: 0.9rem; }

/* Areas */
.areas { background: var(--fog); }
.area-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.area-pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1.3rem; font-weight: 600; font-size: 0.95rem; }

/* FAQ */
.faq { background: var(--paper); }
.faq-narrow { max-width: 780px; }
.faq-list { margin-top: 2rem; border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; font: inherit; text-align: left; padding: 1.4rem 0; font-weight: 700; font-size: 1.08rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.faq-icon { font-size: 1.5rem; color: var(--blue); font-weight: 400; flex: none; transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 0 1.5rem; color: var(--muted); }

/* Quote */
.quote { background: var(--paper); }
.quote-card { background: var(--blue); border-radius: 16px; padding: 3.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; box-shadow: var(--shadow); }
.quote-copy h2 { color: #fff; margin-bottom: 1rem; }
.quote-copy p { color: #c9d8fb; }
.quote-phone { margin-top: 1.6rem !important; }
.quote-phone a { font-family: var(--font-display); font-size: 2.6rem; color: #fff; text-decoration: none; font-weight: 700; }
.quote-form { background: #fff; border-radius: 12px; padding: 2.4rem; display: grid; gap: 1.1rem; }
.quote-form label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.quote-form input, .quote-form select { font: inherit; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); width: 100%; }
.quote-form input:focus, .quote-form select:focus { outline: none; border-color: var(--blue); }
.quote-form input.invalid, .quote-form select.invalid { border-color: #c0392b; }
.form-note { font-size: 0.85rem; color: var(--muted); text-align: center; }
.form-success { background: #e6f2e4; border: 1px solid #9ccb97; color: #2c5b28; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c1cc; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.footer-head { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: #8fa8ef; font-weight: 700; margin-bottom: 0.8rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8fa8ef; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.4rem 1.5rem; }

/* Sticky mobile call bar */
.callbar { display: none; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; border-radius: var(--radius); padding: 1rem; align-items: center; justify-content: center; gap: 0.6rem; box-shadow: 0 12px 30px -8px rgba(0,0,0,0.45); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1020px) {
  .hero-grid, .storm-grid, .about-grid, .tile-grid, .quote-card { grid-template-columns: 1fr; gap: 2.5rem; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-card { padding: 2.2rem; }
}
@media (max-width: 760px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.5rem 1.4rem; border-bottom: 1px solid var(--line); gap: 0; z-index: 60; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .hamburger { display: flex; }
  .header-cta .btn { display: none; }
  .hero { padding-top: 2.6rem; }
  .service-row { grid-template-columns: 44px 1fr 28px; gap: 1rem; }
  .num { font-size: 1.5rem; }
  .service-text strong { font-size: 1.35rem; }
  .callbar { display: inline-flex; }
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .quote-form { padding: 1.8rem; }
}
