/* ── Solomon Roof Inc — Shared styles for service/location pages ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #1a1a2e; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Variables ── */
:root {
  --navy:   #0d1b2a;
  --blue:   #1b4f72;
  --accent: #28903b;
  --light:  #f4f7fa;
  --white:  #ffffff;
  --text:   #2c3e50;
  --muted:  #7f8c8d;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer; transition: all .2s; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1e7a2e; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(40,144,59,.4); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: #1a1a1a; color: #fff; border: none; }
.btn-dark:hover { background: #333; transform: translateY(-2px); }
.section-label { font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.25; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 600px; }
section { padding: 80px 0; }

/* ── Top Bar ── */
.top-bar { background: var(--navy); color: #fff; font-size: .85rem; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #fff; opacity: .85; transition: opacity .2s; }
.top-bar a:hover { opacity: 1; }
.top-bar-items { display: flex; gap: 24px; align-items: center; }
.top-bar-items span { opacity: .6; }

/* ── Navbar ── */
nav { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-weight: 600; font-size: .9rem; color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; color: var(--navy); font-size: .95rem; }
.nav-phone:hover { color: var(--accent); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--navy); z-index: 999;
  flex-direction: column; padding: 28px 24px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close { align-self: flex-end; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; margin-bottom: 24px; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu ul a { display: block; color: #fff; font-size: 1.1rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-cta a { text-align: center; }

/* ── Page Hero ── */
.page-hero {
  position: relative; min-height: 480px;
  background: var(--navy); display: flex; align-items: center; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: .3;
}
.page-hero .container { position: relative; z-index: 1; width: 100%; }
.page-hero-inner { max-width: 680px; padding: 60px 0; }
.hero-badge {
  display: inline-block; background: var(--accent); color: #fff; border-radius: 4px;
  padding: 5px 14px; font-size: .75rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 16px;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero-desc { font-size: 1rem; color: rgba(255,255,255,.82); margin-bottom: 28px; line-height: 1.75; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-pill {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px; padding: 6px 14px;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.9);
}

/* ── Features Grid ── */
.features { background: var(--light); }
.features-header { text-align: center; margin-bottom: 52px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border-top: 3px solid var(--accent);
}
.feature-icon {
  width: 48px; height: 48px; background: rgba(40,144,59,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ── Why Solomon ── */
.why-section { background: #fff; }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-img-block {
  border-radius: 12px; overflow: hidden; min-height: 380px; position: relative;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}
.why-img-block img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.why-badge-overlay {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--accent); color: #fff; border-radius: 8px;
  padding: 14px 20px; box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.why-badge-overlay strong { font-size: 1.5rem; display: block; line-height: 1; }
.why-badge-overlay span { font-size: .8rem; opacity: .9; }
.why-list { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-check {
  width: 34px; height: 34px; background: rgba(40,144,59,.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.why-check svg { width: 17px; height: 17px; stroke: var(--accent); }
.why-item h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.why-item p { font-size: .87rem; color: var(--muted); }

/* ── Pricing ── */
.pricing-section { background: var(--navy); }
.pricing-section .section-title { color: #fff; }
.pricing-section .section-sub { color: rgba(255,255,255,.6); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pricing-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 28px 24px; text-align: center;
}
.pricing-card.featured { border-color: var(--accent); background: rgba(40,144,59,.1); }
.pricing-range { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.pricing-label { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.pricing-items { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; }
.pricing-items li { font-size: .85rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 7px; }
.pricing-items li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-note { text-align: center; margin-top: 24px; font-size: .83rem; color: rgba(255,255,255,.4); }

/* ── FAQ ── */
.faq-section { background: var(--light); }
.faq-section .section-sub { margin: 0 auto; }
.faq-list { margin-top: 40px; max-width: 800px; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: .95rem; color: var(--navy); text-align: left; gap: 12px;
}
.faq-q .faq-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; transition: transform .25s; color: var(--accent); }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a.open { max-height: 400px; }
.faq-a p { padding: 0 22px 18px; font-size: .92rem; color: var(--muted); line-height: 1.75; }

/* ── Quote CTA Section ── */
.quote-section { background: var(--white); }
.quote-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.quote-info .section-title { color: var(--navy); }
.quote-info .section-sub { color: var(--muted); }
.quote-details { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.quote-detail { display: flex; gap: 14px; align-items: center; }
.quote-detail-icon {
  width: 40px; height: 40px; background: rgba(40,144,59,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.quote-detail-text strong { display: block; font-size: .9rem; color: var(--navy); }
.quote-detail-text span { font-size: .83rem; color: var(--muted); }
.quote-form-card {
  background: #fff; border-radius: 12px; padding: 32px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,.1); border: 1px solid #eaeff5;
}
.quote-form-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.quote-form-card .form-sub { font-size: .83rem; color: var(--muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .82rem; font-weight: 700; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; border: 1.5px solid #dde3ea; border-radius: var(--radius);
  font-size: .92rem; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s; font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40,144,59,.12); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: .78rem; color: var(--muted); line-height: 1.6; }
.form-consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.form-consent a { color: var(--accent); text-decoration: underline; }
.form-submit {
  width: 100%; padding: 15px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1rem; border: none; border-radius: var(--radius);
  cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: #1e7a2e; }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── Related Services ── */
.related-section { background: var(--light); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.related-card {
  background: #fff; border-radius: var(--radius); padding: 22px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.related-icon { font-size: 1.6rem; flex-shrink: 0; }
.related-card h4 { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.related-card p { font-size: .8rem; color: var(--muted); }

/* ── Footer ── */
footer { background: #060e17; padding: 56px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.45); margin-top: 14px; line-height: 1.75; }
.footer-col h4 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer-badges { display: flex; gap: 10px; }
.f-badge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 4px 10px; font-size: .72rem; color: rgba(255,255,255,.45); font-weight: 600; letter-spacing: .5px; }

/* ── Mobile Sticky CTA ── */
.mob-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy); border-top: 2px solid rgba(40,144,59,.4);
  padding: 10px 16px; gap: 10px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.35);
}
.mob-cta-call {
  flex: 1; text-align: center; padding: 13px 0;
  background: rgba(255,255,255,.09); color: #fff; border-radius: 8px;
  font-weight: 700; font-size: .95rem;
}
.mob-cta-quote {
  flex: 1.6; text-align: center; padding: 13px 0;
  background: var(--accent); color: #fff; border-radius: 8px;
  font-weight: 800; font-size: .95rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .mob-cta { display: flex; }
  body { padding-bottom: 68px; }
  .why-inner { grid-template-columns: 1fr; }
  .why-img-block { min-height: 280px; }
  .quote-inner { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .page-hero { min-height: auto; }
}
