/* ============================================================
   Strong Roofing — strongroofingfl.com
   Charcoal (#0e1418) + Strong Red (#38b54a) + White
   Mobile-first, no frameworks.
   ============================================================ */

:root {
  --ink: #0e1418;
  --ink-2: #151d23;
  --ink-3: #1d2830;
  --red: #38b54a;
  --red-dark: #2c9a3c;
  --white: #ffffff;
  --paper: #f4f5f6;
  --muted: #9aa7af;
  --muted-dark: #5b6a73;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(14, 20, 24, 0.12);
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

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

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

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

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

a { color: inherit; }

h1, h2, h3, .btn {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: 0.04em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.kicker {
  display: inline-block;
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 10px;
}

.section { padding: 64px 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .kicker { color: var(--red); }
.section--light p { color: #3a464d; }
.section--dark2 { background: var(--ink-2); }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 10px; }
.section--light .section-head p { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }

.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn--dark-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--dark-ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 20, 24, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-chip {
  background: var(--white);
  border-radius: 8px;
  padding: 4px 8px;
}
.logo-chip img { height: 38px; width: auto; }
.logo-text {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.main-nav { display: none; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none;
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cfd8dd;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.main-nav a.active { color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}
.call-btn:hover { background: var(--red-dark); }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cfd8dd;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active { color: var(--red); }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(64vh, 720px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 24, 0.55) 0%, rgba(14, 20, 24, 0.5) 50%, rgba(14, 20, 24, 0.88) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero-tag {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.hero h1 { max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lede { max-width: 560px; margin-top: 16px; font-size: 1.1rem; color: #d8e0e4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-proof span strong { color: var(--white); }

.hero--sub { min-height: min(42vh, 480px); }

/* ---------- Service grid ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.svc-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(14, 20, 24, 0.1);
  transition: transform 0.15s, box-shadow 0.15s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14, 20, 24, 0.18); }
.svc-card img { height: 180px; width: 100%; object-fit: cover; }
.svc-card-body { padding: 18px 20px 22px; }
.svc-card-body h3 { color: var(--ink); margin-bottom: 6px; }
.svc-card-body p { font-size: 0.92rem; color: var(--muted-dark); }
.svc-card-body .more { display: inline-block; margin-top: 10px; font-family: var(--head); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); }

/* ---------- Why-us strip ---------- */
.why-strip { background: var(--red); color: var(--white); padding: 40px 0; }
.why-items { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .why-items { grid-template-columns: repeat(4, 1fr); } }
.why-item strong {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.why-item span { font-size: 0.88rem; opacity: 0.9; }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid var(--red);
  box-shadow: 0 4px 18px rgba(14, 20, 24, 0.08);
}
.review-card .stars { color: var(--red); letter-spacing: 3px; margin-bottom: 10px; font-size: 0.95rem; }
.review-card blockquote { font-size: 0.96rem; color: #333e45; }
.review-card cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-size: 0.9rem;
}
.review-card cite small { display: block; font-family: var(--body); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted-dark); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.gallery-grid a:hover img { transform: scale(1.04); }

/* ---------- Service detail sections ---------- */
.svc-section { padding: 56px 0; border-bottom: 1px solid var(--line-dark); }
.svc-section:nth-child(even) { background: var(--paper); }
.svc-inner {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .svc-inner { grid-template-columns: 5fr 6fr; }
  .svc-section:nth-child(even) .svc-inner .svc-photo { order: 2; }
}
.svc-photo img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.svc-copy h2 { color: var(--ink); margin-bottom: 12px; }
.svc-copy p { color: #3a464d; margin-bottom: 12px; }
.svc-copy ul { margin: 0 0 16px 20px; color: #3a464d; }
.svc-copy li { margin-bottom: 4px; }
.svc-copy .btn { margin-top: 6px; }

.section--services-list { background: var(--white); color: var(--ink); padding: 0; }

/* ---------- Checklist ---------- */
ul.checks { list-style: none; margin: 14px 0 0; }
ul.checks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; }
.faq-list details {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 20px;
  font-family: var(--head);
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0.01em;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
}
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { padding: 0 20px 18px; color: #3a464d; }

/* ---------- Forms ---------- */
.quote-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.quote-form h3 { color: var(--ink); margin-bottom: 4px; font-size: 1.4rem; font-weight: 700; }
.quote-form .form-sub { font-size: 0.9rem; color: var(--muted-dark); margin-bottom: 18px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.quote-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-dark);
  margin-bottom: 4px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cdd6db;
  border-radius: 8px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fbfcfc;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(56,181,74, 0.12);
}
.quote-form textarea { resize: vertical; min-height: 100px; }
.quote-form button[type='submit'] { width: 100%; margin-top: 4px; }
.form-status { margin-top: 12px; font-size: 0.92rem; display: none; }
.form-status.ok { display: block; color: #157a3c; font-weight: 600; }
.form-status.err { display: block; color: var(--red); font-weight: 600; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .big { font-size: 2.4rem; }
.form-success h3 { color: var(--ink); margin: 10px 0 6px; }
.form-success p { color: var(--muted-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 72px 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 20, 24, 0.85);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band-inner {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1fr 1fr; } }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 20px; }
.cta-phone {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 8px;
}
.cta-phone:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0f12;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-license {
  display: inline-block;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--head);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #cfd8dd;
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ---------- Voice widget ---------- */
.voice-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
}
.voice-widget-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(56,181,74, 0.45);
  transition: transform 0.15s, background 0.15s;
}
.voice-widget-btn:hover { transform: scale(1.07); background: var(--red-dark); }
.voice-tooltip {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 230px;
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  display: none;
}
.voice-tooltip.show { display: block; }
.voice-tooltip strong { display: block; margin-bottom: 4px; }
.voice-tooltip a { color: var(--red); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.voice-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--white);
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 20px; }
.contact-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .contact-cards { grid-template-columns: 1fr 1fr; align-items: start; } }
.info-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.info-card h3 { color: var(--white); margin-bottom: 10px; }
.info-card p, .info-card li { color: var(--muted); }
.info-card ul { list-style: none; }
.info-card li { margin-bottom: 8px; }
.info-card a { color: var(--white); text-decoration: none; }
.info-card a:hover { color: var(--red); }
.info-card .big-phone {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--white);
}
