/* ===== Toledo Superior Commercial Roofing — Shared Stylesheet ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #1a1a2e; background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --navy: #0a2240; --navy2: #163460; --blue: #1565c0;
  --accent: #f97316; --gold: #f59e0b; --light: #f0f4f8;
  --white: #ffffff; --gray: #64748b; --dark: #1a1a2e;
  --red: #dc2626; --green: #16a34a;
  --radius: 8px; --shadow: 0 4px 24px rgba(0,0,0,.12); --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--navy); color: #fff; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: .95rem; letter-spacing: .02em; cursor: pointer; transition: all .2s ease; border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c2410c; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0d47a1; transform: translateY(-1px); }
.btn-hero-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); border-radius: var(--radius); padding: 12px 24px; font-weight: 700; font-size: .92rem; transition: all .2s; }
.btn-hero-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Top bar + header */
.top-bar { background: var(--navy); color: #fff; padding: 8px 0; font-size: .82rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--gold); font-weight: 600; }
.top-bar a:hover { text-decoration: underline; }
.top-bar-left { display: flex; gap: 24px; }
header { background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.1); position: sticky; top: 0; z-index: 100; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { display: flex; flex-direction: column; }
.logo-name { font-family: 'Dancing Script', cursive; font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1.1; letter-spacing: .01em; }
.logo-tag { font-size: .68rem; color: var(--gray); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; font-family: 'Inter', sans-serif; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--dark); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.phone-header { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.phone-header:hover { color: var(--accent); }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; padding: 64px 0 56px; position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.35); }
h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 900; line-height: 1.13; margin-bottom: 18px; }
h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 660px; }
.page-hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Section headers */
.section-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; color: var(--navy); margin-bottom: 16px; }
.section-dark h2 { color: #fff; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--navy); margin-bottom: 10px; }
.section-intro { font-size: 1.05rem; color: var(--gray); max-width: 660px; margin: 0 auto 48px; }
.prose p { margin-bottom: 18px; color: #374151; font-size: 1rem; line-height: 1.8; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 32px; margin-bottom: 12px; font-size: 1.25rem; }
.prose ul.bullets { margin: 0 0 18px; }
.prose ul.bullets li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: #374151; font-size: 1rem; line-height: 1.6; }
.prose ul.bullets li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }

/* Cards */
.card { background: #fff; border-radius: 12px; padding: 28px 24px; box-shadow: 0 2px 16px rgba(0,0,0,.07); border: 1.5px solid #e8edf4; transition: all .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.card-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--navy), var(--navy2)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.card h3 { font-size: 1.05rem; }
.card p { font-size: .9rem; color: var(--gray); }
.card a.card-link { font-size: .85rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; }
.card a.card-link:hover { color: var(--accent); }

/* Stat boxes */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 32px 20px; background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.stat-box-num { font-size: 2.4rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat-box-num span { color: var(--accent); }
.stat-box-label { font-size: .85rem; color: var(--gray); font-weight: 500; line-height: 1.4; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
thead { background: var(--navy); color: #fff; }
th { padding: 14px 18px; text-align: left; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
td { padding: 13px 18px; border-bottom: 1px solid #e8edf4; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #f8fafc; }

/* Area pills */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area-pill { background: #fff; border: 1.5px solid #dde3ec; border-radius: 8px; padding: 12px 16px; font-size: .88rem; font-weight: 600; color: var(--navy); text-align: center; transition: all .2s; }
.area-pill:hover { border-color: var(--blue); background: #eff6ff; }

/* FAQ */
.faq-item { border-bottom: 1.5px solid #e8edf4; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 700; font-size: .98rem; color: var(--navy); gap: 16px; }
.faq-question:hover { color: var(--blue); }
.faq-icon { width: 28px; height: 28px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--navy); transition: transform .3s; flex-shrink: 0; }
.faq-answer { font-size: .92rem; color: var(--gray); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--navy); color: #fff; }

/* CTA section */
.cta-section { background: linear-gradient(135deg, var(--accent) 0%, #c2410c 100%); color: #fff; padding: 72px 0; text-align: center; }
.cta-section h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.9); font-size: 1.05rem; max-width: 580px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-outline { border-color: rgba(255,255,255,.6); }

/* Footer */
footer { background: #061629; color: rgba(255,255,255,.7); }
.footer-main { padding: 60px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand p { font-size: .87rem; margin: 14px 0 20px; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .87rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .87rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* Local content blocks */
.local-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.info-box { background: var(--light); border-radius: 12px; padding: 28px; border-left: 4px solid var(--accent); }
.info-box h3 { font-size: 1.05rem; margin-bottom: 12px; }
.info-box p { font-size: .9rem; color: var(--gray); margin-bottom: 0; }
.callout-navy { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; border-radius: 16px; padding: 36px; }
.callout-navy h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 14px; }
.callout-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: 12px; line-height: 1.5; }
.callout-list li::before { content: '→'; color: var(--gold); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .stat-grid, .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .local-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .stat-grid, .areas-grid { grid-template-columns: 1fr 1fr; }
  .top-bar-left { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .stat-grid, .areas-grid { grid-template-columns: 1fr; }
  .page-hero-ctas, .cta-btns { flex-direction: column; align-items: stretch; }
}
