/* city_template_4 — Modern Minimal (DM Serif Display + DM Sans, teal/slate) */

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

:root {
    --white: #ffffff; --off: #f8f9fb; --pale: #eef2f7;
    --teal: #0b7a75; --teal-light: #13a99e; --teal-pale: #e6f5f4;
    --slate: #1a2633; --slate2: #2c3e50;
    --gray: #6b7a8d; --gray-light: #c8d0db; --border: #e2e8f0;
    --font-head: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 12px; --radius-sm: 6px; --radius-lg: 20px;
    --spacing-md: 64px; --spacing-lg: 96px;
}

html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--slate); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ===== NAV ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--font-head); font-size: 1.6rem; color: var(--slate); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo img { max-height: 44px; width: auto; }
.logo span { color: var(--slate); }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { color: var(--gray); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--slate); }
.nav-links a.btn-teal, .nav-links a.btn-teal:hover { color: #fff; }
.nav-links a.btn-white, .nav-links a.btn-white:hover { color: var(--teal); }
.nav-links a.btn-outline:hover { color: var(--teal); }
.hamburger { display: none; background: transparent; border: 0; font-size: 1.5rem; color: var(--slate); cursor: pointer; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 13px 28px; font-weight: 600; font-size: 0.875rem; border-radius: 100px; text-decoration: none; cursor: pointer; transition: all 0.2s; border: 0; font-family: var(--font-body); white-space: nowrap; line-height: 1; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(11,122,117,0.25); color: #fff; }
.btn-outline { background: transparent; color: var(--slate); border: 1.5px solid var(--border); padding: 11.5px 26.5px; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-white { background: #fff; color: var(--teal); padding: 14px 36px; }
.btn-white:hover { background: var(--slate); color: #fff; }
.btn-amber { background: var(--teal); color: #fff; } /* alias for compatibility */
.btn-amber:hover { background: var(--teal-light); color: #fff; }

/* ===== HERO ===== */
.hero { background: var(--white); padding: 80px 0; position: relative; overflow: hidden; }
.hero > .container { display: grid; grid-template-columns: 1fr 480px; align-items: center; gap: 60px; min-height: 80vh; }
.hero-inner { display: contents; } /* legacy, kept for backward compat */
.hero-bg-shape { position: absolute; top: -120px; right: -120px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(11,122,117,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-bg-dots { position: absolute; bottom: 40px; left: 40px; opacity: 0.05; background-image: radial-gradient(var(--teal) 1px, transparent 1px); background-size: 24px 24px; width: 240px; height: 240px; pointer-events: none; }
.pill-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-pale); color: var(--teal); font-size: 0.75rem; font-weight: 600; padding: 5px 14px; border-radius: 100px; margin-bottom: 24px; }
.pill-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.05; color: var(--slate); margin-bottom: 20px; font-weight: 400; }
.hero h1 strong { color: var(--teal); font-weight: 400; }
.hero-desc { color: var(--gray); font-size: 1.05rem; max-width: 520px; line-height: 1.75; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.trust-pill { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray); font-weight: 500; }
.trust-pill-icon { color: var(--teal); font-size: 0.95rem; }

/* Breadcrumb (city pages) */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--gray); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span.current { color: var(--teal); font-weight: 500; }

/* ===== HERO FORM ===== */
.hero-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: 0 12px 48px rgba(26,38,51,0.08); position: relative; z-index: 1; }
.hero-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); border-radius: var(--radius) var(--radius) 0 0; }
.hf-title { font-family: var(--font-head); font-size: 1.7rem; color: var(--slate); margin-bottom: 4px; }
.hf-sub { color: var(--gray); font-size: 0.85rem; margin-bottom: 22px; }
.fg { margin-bottom: 13px; }
.fg label { display: block; font-size: 0.72rem; font-weight: 600; color: var(--gray); margin-bottom: 5px; letter-spacing: 0.3px; text-transform: uppercase; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--off); border: 1px solid var(--border); color: var(--slate); padding: 11px 14px; font-size: 0.875rem; font-family: var(--font-body); outline: none; border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,122,117,0.1); background: var(--white); }
.btn-form-submit { width: 100%; background: var(--teal); color: #fff; border: 0; padding: 12px; font-weight: 600; font-size: 0.9rem; cursor: pointer; font-family: var(--font-body); border-radius: 100px; transition: background 0.2s; margin-top: 8px; }
.btn-form-submit:hover { background: var(--teal-light); }

/* ===== SECTIONS ===== */
section { padding: 88px 0; }
.section-sm { padding: 48px 0; }
.chip { display: inline-block; background: var(--teal-pale); color: var(--teal); font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; }
.section-title { font-family: var(--font-head); font-size: clamp(1.9rem, 3.6vw, 3.2rem); color: var(--slate); line-height: 1.1; margin-bottom: 14px; font-weight: 400; }
.section-desc { color: var(--gray); max-width: 600px; font-size: 1rem; line-height: 1.75; }
.centered { text-align: center; }
.centered .section-desc { margin: 0 auto; }

/* ===== TRUST BADGES ROW (homepage) ===== */
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px 0; }
.trust-badge { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.trust-badge .num { font-family: var(--font-head); font-size: 2.2rem; color: var(--teal); line-height: 1; }
.trust-badge p { font-size: 0.8rem; color: var(--gray); margin-top: 6px; }

/* ===== SERVICES ===== */
.services-section { background: var(--off); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,38,51,0.1); border-color: var(--teal); }
.svc-icon, .service-icon-wrap { width: 52px; height: 52px; background: var(--teal-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.4rem; }
.service-card h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--slate); margin-bottom: 10px; font-weight: 400; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }
.service-link { font-size: 0.78rem; color: var(--teal); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.service-link:hover { gap: 8px; }

/* ===== WHY (state/index) ===== */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-visual { display: flex; flex-direction: column; gap: 16px; }
.metric-tile { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; align-items: center; gap: 20px; transition: all 0.2s; }
.metric-tile:hover { border-color: var(--teal); }
.metric-tile.featured { background: var(--teal); border-color: var(--teal); }
.metric-tile.featured .mt-num, .metric-tile.featured .mt-label { color: #fff; }
.mt-num { font-family: var(--font-head); font-size: 2.8rem; color: var(--teal); line-height: 1; }
.mt-label { font-size: 0.875rem; color: var(--gray); }
.why-features { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.wf-item { display: flex; gap: 16px; align-items: flex-start; }
.wf-icon { width: 40px; height: 40px; background: var(--teal-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.wf-text h4 { font-weight: 600; font-size: 0.95rem; color: var(--slate); margin-bottom: 4px; }
.wf-text p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; }

/* ===== ABOUT (city pages: 2x2 stat grid + checklist) ===== */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-grid.reverse > :first-child { order: 2; }
.about-grid img { width: 100%; height: auto; border-radius: var(--radius); }
.about-text h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--slate); line-height: 1.15; margin-bottom: 14px; font-weight: 400; }
.about-text p, .about-text li { color: var(--gray); font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.8em; }
.about-text h2, .about-text h3 { color: var(--slate); }
.about-text a { color: var(--teal); }
.about-text ul, .about-text ol { padding-left: 1.4em; margin: 0.5em 0 1em; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat-card { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.about-stat-card.featured { background: var(--teal); border-color: var(--teal); }
.about-stat-card.featured .asn { color: #fff; }
.about-stat-card.featured .asl { color: rgba(255,255,255,0.7); }
.asn { font-family: var(--font-head); font-size: 2.4rem; color: var(--teal); line-height: 1; }
.asl { font-size: 0.8rem; color: var(--gray); margin-top: 6px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-icon { width: 36px; height: 36px; background: var(--teal-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.9rem; }
.check-text h5 { font-weight: 600; font-size: 0.92rem; margin-bottom: 3px; }
.check-text p { font-size: 0.83rem; color: var(--gray); line-height: 1.6; }

/* ===== NEIGHBORHOODS ===== */
.neigh-section { background: var(--off); }
.neigh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.neigh-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: all 0.2s; text-decoration: none; color: inherit; display: block; }
.neigh-card:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(11,122,117,0.08); }
.neigh-name { font-weight: 600; font-size: 0.9rem; color: var(--slate); margin-bottom: 4px; }
.neigh-dist { font-size: 0.78rem; color: var(--gray); }
.zip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.zip-list li { background: var(--white); border: 1px solid var(--border); padding: 6px 12px; border-radius: var(--radius-sm); font-size: 0.82rem; color: var(--gray); }
.nearby-list { margin-top: 14px; line-height: 2; }
.nearby-list a { color: var(--teal); text-decoration: none; margin-right: 6px; }
.nearby-list a:hover { text-decoration: underline; }

/* ===== MAP + CONTACT ===== */
.map-section { background: var(--white); }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.map-box { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 4/3; overflow: hidden; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.contact-items { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.ci { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius-sm); border-left: 3px solid var(--teal); padding: 16px 20px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; transition: background 0.2s; }
.ci:hover { background: var(--teal-pale); }
.ci-icon { font-size: 1.2rem; flex-shrink: 0; }
.ci strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--slate); }
.ci span { font-size: 0.78rem; color: var(--gray); }

/* ===== CITIES (state) / STATES (index) ===== */
.cities-section, .states-section { background: var(--slate); }
.cities-section .chip, .states-section .chip { background: rgba(11,122,117,0.2); color: var(--teal-light); }
.cities-section .section-title, .states-section .section-title { color: var(--white); }
.cities-section .section-desc, .states-section .section-desc { color: rgba(255,255,255,0.55); }
.cities-grid, .states-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 40px; list-style: none; }
.city-link, .state-link { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 10px 14px; font-size: 0.82rem; color: rgba(255,255,255,0.7); text-decoration: none; border-radius: var(--radius-sm); transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.city-link::before, .state-link::before { content: '›'; color: var(--teal-light); font-size: 0.9rem; }
.city-link:hover, .state-link:hover { background: rgba(11,122,117,0.18); border-color: var(--teal-light); color: #fff; }
.homepage-extras { margin-top: 32px; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.homepage-extras a { color: var(--teal-light); }

/* ===== FAQ ===== */
.faq-section { background: var(--off); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
.faq-list { max-width: 820px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; cursor: pointer; }
.faq-question, .faq-q { font-weight: 600; font-size: 0.95rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; color: var(--slate); }
.faq-icon { color: var(--teal); font-size: 1.4rem; flex-shrink: 0; transition: transform 0.2s; line-height: 1; }
.faq-answer, .faq-a { font-size: 0.88rem; color: var(--gray); line-height: 1.7; margin-top: 12px; display: none; }
.faq-answer p { margin-bottom: 0.5em; }
.faq-item.open .faq-answer, .faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ===== REVIEWS ===== */
.reviews-section { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.review-card { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.review-quote { font-family: var(--font-head); font-size: 3rem; color: var(--teal); line-height: 0.6; margin-bottom: 8px; }
.review-stars { color: var(--teal); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 0.92rem; color: var(--gray); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.review-author { font-weight: 600; font-size: 0.88rem; color: var(--slate); }

/* ===== CTA STRIP ===== */
.cta-strip { background: var(--teal); padding: 80px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-strip h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.6vw, 3rem); color: #fff; line-height: 1.1; font-weight: 400; }
.cta-strip p { color: rgba(255,255,255,0.7); margin-top: 8px; font-size: 1rem; }

/* ===== FOOTER ===== */
.footer { background: var(--slate); border-top: 1px solid rgba(255,255,255,0.07); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal-light); margin-bottom: 14px; }
.footer p, .footer-links a, .contact-info a { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.7; text-decoration: none; transition: color 0.2s; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover, .contact-info a:hover { color: #fff; }
.contact-info { display: flex; flex-direction: column; gap: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 22px; color: rgba(255,255,255,0.32); font-size: 0.8rem; text-align: center; }
.copyright a { color: rgba(255,255,255,0.55); text-decoration: none; }
.copyright a:hover { color: #fff; }

/* ===== Markdown content (about/why bodies) ===== */
.md h1, .md h2 { font-family: var(--font-head); color: var(--slate); margin: 0.6em 0 0.4em; font-weight: 400; }
.md h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.md h3 { font-family: var(--font-head); color: var(--slate); margin: 0.6em 0 0.3em; font-weight: 400; font-size: 1.25rem; }
.md p, .md li { color: var(--gray); line-height: 1.75; margin-bottom: 0.6em; }
.md a { color: var(--teal); }

/* ===== Blog ===== */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,38,51,0.08); border-color: var(--teal); }
.blog-card-image { aspect-ratio: 16/10; background: var(--pale); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px 24px; }
.blog-card-meta { font-size: 0.74rem; color: var(--gray-light); margin-bottom: 6px; }
.blog-card h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--slate); line-height: 1.25; font-weight: 400; }
.blog-card p { font-size: 0.86rem; color: var(--gray); margin-top: 8px; line-height: 1.6; }
.blog-post { max-width: 760px; margin: 0 auto; }
.blog-post h1 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--slate); margin-bottom: 14px; font-weight: 400; }
.blog-post .meta { font-size: 0.82rem; color: var(--gray-light); margin-bottom: 28px; }
.blog-post img { width: 100%; border-radius: var(--radius); margin: 1.4em 0; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .cities-grid, .states-grid { grid-template-columns: repeat(4, 1fr); }
    .trust-badges { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (max-width: 900px) {
    .container { padding: 0 22px; }
    section { padding: 60px 0; }
    .hamburger { display: block; }
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; gap: 0; padding: 12px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a, .nav-links .btn { display: block; padding: 12px 24px; border-radius: 0; }
    .hero { padding: 56px 0; }
    .hero > .container { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
    .services-grid, .blog-list { grid-template-columns: 1fr 1fr; }
    .why-grid, .about-grid, .map-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid.reverse > :first-child { order: 0; }
    .neigh-grid { grid-template-columns: 1fr 1fr; }
    .faq-grid, .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-strip-inner { flex-direction: column; align-items: flex-start; }
    .cities-grid, .states-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-badges { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .services-grid, .blog-list { grid-template-columns: 1fr; }
    .neigh-grid { grid-template-columns: 1fr; }
    .cities-grid, .states-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-trust { gap: 14px; }
}
