/* Sunstate Garage Doors - multi-page static site
   Brand tokens carried over from the approved single-page design. */
:root {
    --brand: #f5a11b;
    --brand-deep: #c87f0a;
    --brand-ink: #251f21;
    --page: #fdfcfb;
    --ink: #251f21;
    --ink-2: #4d3533;
    --hairline: rgba(37, 31, 33, 0.14);
}

html, body { margin: 0; min-height: 100%; }
body {
    background: var(--page);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand-deep); }
.text-link { font-weight: 600; }

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

.skip { position: absolute; left: -9999px; }
.skip:focus { position: static; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: var(--page);
    border-bottom: 1px solid var(--hairline);
}
.header-inner {
    display: flex; align-items: center; gap: 14px;
    padding-top: 10px; padding-bottom: 10px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand-logo { height: 44px; width: auto; display: block; }

.main-nav {
    display: flex; gap: 2px; margin-left: auto;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
    flex: none; padding: 10px 10px; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-decoration: none;
    color: var(--ink-2); white-space: nowrap;
}
.main-nav a:hover { color: var(--brand-deep); background: rgba(37, 31, 33, 0.05); }
.main-nav a.active { color: var(--brand-deep); box-shadow: inset 0 -2px 0 var(--brand); }
.btn-header { margin-left: 6px; flex: none; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 18px;
    border-radius: 10px; text-decoration: none;
    font-weight: 600; font-size: 15px; line-height: 20px;
    transition: background 0.15s ease, transform 0.05s ease;
    box-sizing: border-box;
}
.btn:active { transform: translateY(1px); }
.btn-icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: rgba(37, 31, 33, 0.05); }
.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 16px; }
.btn-header { min-height: 44px; padding: 8px 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 28px 0 8px; }
.hero-inner { display: grid; gap: 24px; }
.eyebrow {
    margin: 0 0 10px; color: var(--brand-deep);
    font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 {
    margin: 0 0 14px;
    font-family: "Aime", Georgia, serif; font-weight: 400;
    font-size: 40px; line-height: 1.08; letter-spacing: -0.025em;
    color: var(--ink);
}
.hero h1 .accent { color: var(--brand-deep); }
.lede { margin: 0 0 18px; font-size: 16px; line-height: 26px; color: var(--ink-2); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.cta-row .btn { flex: 1 1 auto; }
.trust-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
}
.trust-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.check { width: 20px; height: 20px; fill: var(--brand-deep); flex: none; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; border-radius: 20px; display: block; }
.hero-simple .trust-list { display: none; }

/* ---------- sections ---------- */
.section { padding: 36px 0 8px; }
.section-tint { border-top: 1px solid var(--hairline); }
.kicker {
    margin: 0 0 6px; color: var(--brand-deep);
    font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.section h2 {
    margin: 0 0 16px;
    font-family: "Aime", Georgia, serif; font-weight: 400;
    font-size: 26px; line-height: 1.15; letter-spacing: -0.025em;
    color: var(--ink);
}
.section-intro { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.section p { color: var(--ink-2); font-size: 15px; line-height: 24px; }

/* services */
.service-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.service-card {
    border: 1px solid var(--hairline); border-radius: 16px; padding: 18px;
    background: var(--page);
}
.service-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--ink); }
.service-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.service-card li { font-size: 14px; line-height: 20px; color: var(--ink-2); padding-left: 18px; position: relative; }
.service-card li::before {
    content: ""; position: absolute; left: 2px; top: 8px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
a.service-link { text-decoration: none; display: block; transition: border-color 0.15s ease; }
a.service-link:hover { border-color: var(--brand-deep); }
a.service-link:hover h3 { color: var(--brand-deep); }
.service-more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--brand-deep); }

/* offers / coupons */
.offer-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.coupon {
    border: 2px dashed var(--brand-deep); border-radius: 16px; padding: 20px;
    background: var(--page); display: grid; gap: 6px; justify-items: start;
}
.coupon-amount {
    font-family: "Aime", Georgia, serif; font-weight: 400;
    font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; color: var(--brand-deep);
}
.coupon h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.coupon-terms { margin: 0 0 8px; font-size: 12.5px; line-height: 19px; color: var(--ink-2); }
.coupon-footnote { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-2); }
.coupon-inline { margin-top: 20px; max-width: 420px; }

/* service detail sections */
.service-detail { scroll-margin-top: 76px; }
.ticks { margin: 0 0 6px; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { font-size: 15px; line-height: 23px; color: var(--ink); padding-left: 26px; position: relative; }
.ticks li::before {
    content: ""; position: absolute; left: 4px; top: 8px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.detail-note { font-size: 14px; color: var(--brand-deep); font-weight: 600; margin: 10px 0 0; }
.detail-cta { margin: 14px 0 0; font-size: 14.5px; }
.detail-cta a { color: var(--brand-deep); font-weight: 600; }

/* hurricane highlight box */
.highlight-box {
    margin: 18px 0; padding: 18px 20px;
    border: 1px solid var(--hairline); border-left: 4px solid var(--brand);
    border-radius: 14px; background: var(--page);
}
.highlight-box h3 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.highlight-box p { color: var(--ink-2); font-size: 15px; line-height: 24px; }

/* work gallery */
.work-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; display: block; }
.photo-note { font-size: 12.5px; line-height: 19px; color: var(--ink-2); margin: 12px 0 0; }

/* steps */
.steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.steps strong { color: var(--ink); }
.step-num {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    background: var(--brand); color: var(--brand-ink);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 15px;
}

/* reviews */
.review-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.review-card {
    margin: 0; border: 1px solid var(--hairline); border-radius: 16px; padding: 16px 18px;
    background: var(--page);
}
.review-card p { margin: 4px 0 10px; font-size: 15px; line-height: 23px; color: var(--ink); }
.review-card footer { font-size: 13px; color: var(--ink-2); }

/* areas */
.area-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hairline);
    font-size: 14px; font-weight: 500; color: var(--ink); background: var(--page);
}
.area-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.area-card {
    border: 1px solid var(--hairline); border-radius: 16px; padding: 16px 18px;
    background: var(--page);
}
.area-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.area-card p { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-2); }

/* faq */
.faq-list { display: grid; gap: 10px; }
.faq-list details {
    border: 1px solid var(--hairline); border-radius: 14px; padding: 4px 16px;
    background: var(--page);
}
.faq-list summary {
    cursor: pointer; list-style: none; padding: 12px 0; min-height: 44px;
    display: flex; align-items: center;
    font-weight: 600; font-size: 15px; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+"; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--brand-deep);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 14px; font-size: 14.5px; line-height: 23px; }

/* contact */
.contact-cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
.contact-facts { display: grid; gap: 12px; margin-top: 16px; }
.fact { display: grid; gap: 2px; font-size: 15px; color: var(--ink); }
.fact-label { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours caption {
    text-align: left; font-size: 12.5px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--ink-2); padding-bottom: 8px;
}
.hours th, .hours td { padding: 10px 0; border-top: 1px solid var(--hairline); text-align: left; }
.hours th { font-weight: 500; color: var(--ink); }
.hours td { text-align: right; color: var(--ink-2); }
.trust-wide { margin-top: 18px; }

/* CTA band */
.cta-band {
    margin-top: 44px; padding: 34px 0 40px;
    border-top: 1px solid var(--hairline);
    background: rgba(245, 161, 27, 0.08);
}
.cta-band h2 {
    margin: 0 0 8px;
    font-family: "Aime", Georgia, serif; font-weight: 400;
    font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink);
}
.cta-band p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 24px; max-width: 56ch; }

/* footer */
.site-footer {
    margin-top: 0; padding: 24px 0 28px;
    border-top: 1px solid var(--hairline);
}
.site-footer .wrap { display: grid; gap: 6px; justify-items: start; }
.footer-logo { height: 36px; width: auto; margin-bottom: 6px; }
.site-footer p { margin: 0; font-size: 13.5px; line-height: 20px; color: var(--ink-2); }
.site-footer a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.footer-nav a { font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--brand-deep); }

/* mobile sticky call bar */
.mobile-callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--page); border-top: 1px solid var(--hairline);
}
.mobile-callbar .btn { flex: 1; }
.site-footer { margin-bottom: 76px; }

/* ---------- wider screens ---------- */
@media (min-width: 768px) {
    .mobile-callbar { display: none; }
    .site-footer { margin-bottom: 0; }
    .header-inner { gap: 20px; }
    .hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 36px; }
    .hero { padding: 40px 0 12px; }
    .hero-simple .hero-inner { grid-template-columns: 1fr; }
    .hero-simple .trust-list { display: grid; }
    .hero h1 { font-size: 48px; }
    .cta-row .btn { flex: 0 0 auto; }
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .ticks { grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
    .work-grid { grid-template-columns: repeat(3, 1fr); }
    .work-grid img { height: 220px; }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
    .section h2 { font-size: 30px; }
}
@media (min-width: 1024px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .review-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .area-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Service-area map */
.area-map { margin: 28px 0 0; }
.area-map svg { display: block; width: 100%; max-width: 620px; margin: 0 auto; height: auto; border: 1px solid var(--hairline); border-radius: 18px; box-shadow: 0 12px 32px rgba(37, 31, 33, 0.08); }
.area-map text { font-family: inherit; }

.detail-figure{margin:20px 0;max-width:680px}.detail-figure img{width:100%;height:auto;border-radius:12px;display:block}

/* ---------- v2: forms, focus, city pages ---------- */
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 2px; border-radius: 4px; }
.skip:focus { position: static; display: block; padding: 10px 16px; background: var(--brand); color: var(--brand-ink); font-weight: 600; }
.est-form { display: grid; gap: 14px; max-width: 560px; margin-top: 6px; }
.f-row { display: grid; gap: 6px; }
.f-row label { font-size: 14px; font-weight: 600; color: var(--ink); }
.f-row input, .f-row select, .f-row textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--hairline); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.f-row input[type=file] { padding: 10px; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { border-color: var(--brand-deep); }
.est-form button { border: 0; cursor: pointer; justify-content: center; font: inherit; font-weight: 600; }
.f-note { font-size: 13px; line-height: 20px; color: var(--ink-2); margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.city-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.city-links a:hover { border-color: var(--brand-deep); }
.area-card h3 a { color: inherit; text-decoration: none; }
.area-card h3 a:hover { color: var(--brand-deep); text-decoration: underline; }
.mobile-callbar { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media (max-width: 767px) {
  .header-inner { flex-wrap: wrap; row-gap: 4px; padding-top: 6px; padding-bottom: 4px; }
  .main-nav { order: 3; flex: 1 0 100%; width: 100%; overflow-x: visible; flex-wrap: wrap; }
  .btn-header { margin-left: auto; }
}
@media (max-width: 767px) { .main-nav a { padding-left: 8px; padding-right: 8px; font-size: .95rem; } }

.part-gallery{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.part-gallery figure{margin:0;flex:1 1 140px;max-width:220px;background:#fff;border:1px solid #eadfce;border-radius:12px;overflow:hidden}.part-gallery img{width:100%;height:auto;display:block}

.door-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:18px 0}.door-gallery figure{margin:0}.door-gallery img{width:100%;height:260px;object-fit:cover;border-radius:12px;display:block}
