/* Taylor Roofing Company — shared stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #c0392b;
  --red-dk: #a93226;
  --black:  #0e0e0e;
  --gray:   #1c1c1c;
  --mid:    #3a3a3a;
  --light:  #f5f5f5;
  --white:  #ffffff;
  --text:   #222222;
  --radius: 4px;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dk); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-red { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }
.btn-lg { font-size: 1.05rem; padding: 0.85rem 1.9rem; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--red);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo img { height: 40px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--red); background: transparent; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 0.3em; cursor: pointer; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.7em; opacity: 0.6; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--red);
  border-radius: 0 0 6px 6px;
  min-width: 220px;
  z-index: 200;
  padding: 0.4rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.65rem 1rem;
  border-radius: 0;
  background: transparent;
  transition: color 0.12s, background 0.12s;
}
.dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,0.07); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-phone {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}
.nav-phone .icon { color: var(--red); margin-right: 0.3em; }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  background: #161616;
  border-bottom: 2px solid var(--red);
  padding: 1rem 1.5rem;
}
.nav-drawer.open { display: block; }
.nav-drawer ul { list-style: none; }
.nav-drawer a {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a.active { color: var(--red); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-phone { display: none; }
}
@media (max-width: 480px) {
  .nav-logo img { height: 32px; }
}

/* ── Trust bar ────────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--red);
  padding: 0.8rem 1.5rem;
}
.trust-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: center;
}
.trust-item {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-item::before { content: '✓'; }

/* ── Page hero (interior pages) ──────────────────────────────────────────── */
.page-hero {
  background: var(--black);
  padding: 4.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
  background: var(--red);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
  max-width: 700px;
}
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── Section shared ───────────────────────────────────────────────────────── */
section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}
.section-sub {
  font-size: 1rem;
  color: #555;
  max-width: 560px;
  margin-bottom: 2.75rem;
  line-height: 1.75;
}
.section-sub.wide { max-width: 780px; }
.dark .section-title { color: var(--white); }
.dark .section-label { color: #e05a50; }
.dark .section-sub   { color: rgba(255,255,255,0.55); }

/* dark/light section backgrounds */
section.bg-dark  { background: var(--gray); }
section.bg-black { background: var(--black); }
section.bg-light { background: var(--light); }
section.bg-white { background: var(--white); }

/* ── Card grids ───────────────────────────────────────────────────────────── */
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px;
  padding: 2rem;
}
.card-dark:hover { border-color: rgba(192,57,43,0.5); }
.card-red-top { border-top: 4px solid var(--red); }
.card-gray-top { border-top: 4px solid var(--mid); }

.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}
.card-dark h3 { color: var(--white); }
.card p { font-size: 0.92rem; color: #555; line-height: 1.7; }
.card-dark p { color: rgba(255,255,255,0.52); }

/* ── Check list ───────────────────────────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.check-list li {
  font-size: 0.93rem;
  color: #444;
  padding-left: 1.5em;
  position: relative;
  line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.check-list.white li { color: rgba(255,255,255,0.72); }
.check-list.white li::before { color: #e05a50; }

/* ── Numbered steps ───────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

.step {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
}
.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--red);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-band p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cta-band .btn-white {
  background: var(--white);
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  display: inline-block;
  margin: 0 0.5rem 0.5rem;
  transition: background 0.15s, transform 0.1s;
}
.cta-band .btn-white:hover { background: #f0f0f0; }
.cta-band .btn-outline-white {
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  display: inline-block;
  margin: 0 0.5rem 0.5rem;
  transition: border-color 0.15s, background 0.15s;
}
.cta-band .btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── Two-col content ──────────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-wide { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) {
  .two-col, .two-col-wide { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Highlight stat boxes ─────────────────────────────────────────────────── */
.stat-box {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}
.stat-box .stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat-box .stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.35rem;
}

/* ── FAQ accordion ────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .faq-icon { color: var(--red); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  padding-bottom: 1.1rem;
}
.faq-a.open { display: block; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: #080808;
  border-top: 3px solid var(--red);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-brand img { height: 36px; width: auto; display: block; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-staff-link { color: rgba(255,255,255,0.35); text-decoration: none; margin-left: 1rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-staff-link:hover { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.45); }
