/* My Florida Smart Home
 * Shared components first; layout modifiers describe composition, not pages.
 * Responsive adjustments are collected at the end of this file.
 */

/* Tokens and foundations */
:root {
    --ink: #182f2d;
    --green: #164e46;
    --deep: #123d39;
    --paper: #f8f9f5;
    --muted: #58665f;
    --line: #dce1da;
    --lime: #d8ee9a;
    --radius: 18px;
    --gutter: 40px;
    --section-space: 80px;
    --icon-stroke: 1.7px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.6 Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 4.9vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 3.3vw, 3.4rem); }
h3 { font-size: 1.65rem; }
h1 em, h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--heading-accent, var(--green));
}
a:focus-visible, button:focus-visible, summary:focus-visible, .gallery-track:focus-visible {
    outline: 3px solid #c26a23;
    outline-offset: 5px;
}
#main:focus { outline: none; }
.wrap { max-width: 1280px; margin: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-space); }
.eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.dot { width: 7px; height: 7px; background: #b27b45; border-radius: 50%; }
.section-head {
    display: flex; align-items: end; justify-content: space-between; gap: 32px;
    margin-bottom: 34px;
}
.section-head h2 { margin-top: 17px; }
.section-head p { max-width: 330px; color: var(--muted); font-size: .95rem; }
.section-head--large h2 { font-size: clamp(2.5rem, 4.2vw, 4.2rem); }
.split-layout { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); gap: 48px; }

/* Actions */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 24px;
    min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: 7px;
    font-size: .875rem; font-weight: 600; transition: background .18s, transform .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: #103c36; }
.btn-light { background: var(--lime); color: var(--deep); }
.btn-outline { border-color: #b4c0b8; background: transparent; }
.arrow { font-size: 1.3rem; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: .9rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
button.text-link { border: 0; background: none; padding: 0; }

/* Site navigation */
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: white; padding: 12px; }
.skip:focus { top: 10px; }
.topline { background: var(--deep); color: #e8efe8; text-align: center; font-size: .75rem; padding: 7px 16px; letter-spacing: .04em; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(248,249,245,.97); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-icon { width: 38px; height: 42px; color: var(--green); }
.brand-text { font-size: 1.1rem; font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.brand-text small { display: block; margin-top: 5px; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 23px; font-size: 1rem; }
.desktop-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 7px; }
.header .btn { min-height: 44px; padding: 10px 18px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 7px; background: transparent; }
.mobile-nav { display: none; padding: 0 24px 24px; }
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Hero: shared copy and grid, with two image compositions */
.hero { padding-bottom: 48px; }
.hero--cover { padding: 36px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.hero-copy { padding-block: 24px; }
.hero-copy h1 { margin: 24px 0; }
.hero-copy > p { max-width: 400px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 30px; }
.hero-meta, .hero-copy > .hero-location { margin-top: 28px; color: var(--muted); font-size: .8rem; }
.hero-meta { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 17px; height: 17px; flex-shrink: 0; }
.hero-location a { border-bottom: 1px solid #aab8ac; }
.hero-media { position: relative; overflow: hidden; aspect-ratio: 4/3; border-radius: 12px 12px 64px 12px; background: var(--line); }
.hero-media--cover { height: 550px; aspect-ratio: auto; border-radius: var(--radius); }
.hero-media--cover img { object-position: 75% center; }
.hero-image figcaption { display: flex; justify-content: space-between; gap: 15px; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.hero-image figcaption span:last-child { white-space: nowrap; }
.hero-caption { position: absolute; inset: auto 22px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 21px; background: rgba(248,249,245,.95); border: 1px solid rgba(255,255,255,.6); border-radius: 10px; }
.hero-caption span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero-caption strong { display: block; margin-top: 2px; font-size: 1.1rem; font-weight: 500; }
.circle-arrow { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #b7c2b9; border-radius: 50%; }
.photo-label { position: absolute; top: 17px; right: 17px; padding: 5px 10px; background: rgba(255,255,255,.9); border-radius: 4px; color: #34433a; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 0; font-size: .78rem; color: var(--muted); }
.breadcrumb a:hover { text-decoration: underline; }
.quick-services { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 36px; border-block: 1px solid var(--line); }
.quick-services a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 10px; font-size: .85rem; min-height: 68px; }
.quick-services a + a { border-left: 1px solid var(--line); }
.quick-services a:hover { background: #eaf0e4; }
.quick-services svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.page-nav { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 40px; padding: 6px 0; border-block: 1px solid var(--line); }
.page-nav a { padding: 13px 0; font-size: .85rem; }
.page-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.page-nav span { color: var(--muted); margin-right: 9px; font-size: .7rem; }

/* Featured installation */
.featured-installation { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 56px; align-items: start; }
.featured-main { min-width: 0; }
.featured-photo { aspect-ratio: 4/3; overflow: hidden; background: #dfe4da; border-radius: 12px 12px 58px 12px; }
.project-caption { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.project-caption strong { font-weight: 500; }
.featured-copy { padding-top: 36px; }
.service-number { font-size: .75rem; letter-spacing: .13em; color: var(--muted); margin-bottom: 19px; }
.featured-copy h3 { font-size: 2.4rem; margin-bottom: 17px; }
.featured-copy > p { max-width: 365px; font-size: .95rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0; }
.checks li { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: .9rem; font-weight: 600; color: var(--green); }
.checks li::before { content: '✓'; }

/* Gallery and project prompt: same markup and behavior on every page */
.gallery--inset { margin-top: 48px; --gallery-ratio: 16/10; }
.gallery--section { padding: 64px 0; background: #edf1e8; }
.gallery-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.gallery-header h2 { margin-top: 14px; }
.gallery-header > h3 { font-size: 1.3rem; }
.gallery-controls { display: flex; align-items: center; gap: 8px; }
.gallery-count { margin-right: 8px; white-space: nowrap; color: var(--muted); font-size: .75rem; }
.gallery-controls button { width: 48px; height: 48px; flex-shrink: 0; border: 1px solid #b2c0b0; border-radius: 50%; background: transparent; color: var(--green); font-size: 1.25rem; }
.gallery-controls button:hover:not(:disabled) { background: var(--green); color: white; }
.gallery-controls button:disabled { opacity: .3; }
.gallery-track {
    --gallery-gap: 24px;
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gallery-gap))/3);
    gap: var(--gallery-gap); overflow-x: auto; padding-bottom: 12px;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: thin; scrollbar-color: var(--green) transparent;
}
.gallery-track figure { min-width: 0; scroll-snap-align: start; }
.gallery-photo { aspect-ratio: var(--gallery-ratio, 4/3); overflow: hidden; border-radius: 10px; }
.gallery-track figcaption { padding-top: 14px; }
.gallery-track h3 { font-size: 1.1rem; letter-spacing: -.025em; line-height: 1.25; }
.gallery-track p { margin-top: 7px; font-size: .85rem; color: var(--muted); }
.project-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.project-cta h3 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -.035em; }
.project-cta p { margin-top: 9px; font-size: .95rem; color: var(--muted); }
.project-cta .btn { flex-shrink: 0; min-height: 52px; }

/* Static reference cards share the photo/caption markup used by project galleries. */
.reference-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.reference-photo { aspect-ratio: 16/10; overflow: hidden; border-radius: 12px; background: var(--line); }
.reference-card figcaption { padding-top: 22px; }
.reference-card h3 { font-size: 1.55rem; }
.reference-card p { max-width: 56ch; margin-top: 12px; font-size: .95rem; color: var(--muted); }
.feature-link { margin-top: 24px; color: var(--lime); }

/* Service cards and compact details */
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #f4f7ef; }
.service-icon svg { width: 25px; height: 25px; }
.quick-services svg, .service-icon svg, .plan-top svg { stroke-width: var(--icon-stroke); }
.plan-top svg * { vector-effect: non-scaling-stroke; }
.small-services { display: grid; grid-template-columns: 1.22fr 1fr; gap: 30px; align-items: start; }
.small-card { position: relative; min-width: 0; display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 30px; border: 1px solid var(--line); border-radius: 12px; }
.small-card--highlight { padding: 36px; background: #eaf0e4; border-color: #d5dfcc; min-height: 250px; }
.small-card--offset { margin-top: 34px; min-height: 215px; }
.small-card h3 { font-size: 1.45rem; padding-right: 28px; }
.small-card p { max-width: 370px; margin: 13px 0 6px; font-size: .9rem; color: var(--muted); }
.card-index { position: absolute; right: 22px; top: 21px; font-size: .75rem; letter-spacing: .08em; color: var(--muted); }
.planning { padding-top: 24px; }
.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.plan-card { padding-top: 22px; border-top: 1px solid #a6b6a6; }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.plan-top > span { font-size: .75rem; color: var(--muted); }
.plan-top svg { width: 36px; height: 36px; stroke: var(--green); fill: none; }
.plan-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.plan-card p { font-size: .92rem; color: var(--muted); }
.plan-card .detail { margin-top: 18px; }
.plan-card .detail, .craft-points li, .pills span { font-size: .875rem; font-weight: 600; }
.plan-card .detail, .craft-points li { color: var(--green); }

/* Dark feature sections */
.feature-section { --muted: #d0dbd1; --heading-accent: var(--lime); padding: 72px 0; background: var(--deep); color: #f5f7f0; }
.feature-section .eyebrow { color: var(--lime); }
.feature-copy h2 { margin: 22px 0; font-size: clamp(2.5rem,3.6vw,3.5rem); }
.feature-copy > p { max-width: 440px; font-size: .97rem; color: var(--muted); }
.accent-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 72px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.pills span { padding: 5px 12px; border: 1px solid #51706a; border-radius: 30px; }
.accent-photo { position: relative; height: 460px; overflow: hidden; border-radius: var(--radius); background: #426259; }
.accent-photo img { object-position: 50% 58%; }
.accent-photo figcaption { position: absolute; inset: auto 0 0; padding: 36px 22px 20px; background: linear-gradient(transparent,rgba(0,0,0,.65)); font-size: .85rem; }
.cables-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: center; }
.feature-options { display: grid; gap: 22px; margin-top: 30px; }
.feature-options article { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-top: 19px; border-top: 1px solid #48665e; }
.feature-options .number { font-size: .75rem; color: #c2d3bb; padding-top: 3px; }
.feature-options h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.feature-options p { max-width: 415px; margin-top: 9px; color: var(--muted); font-size: .9rem; }
.cables-grid figure { max-width: 340px; justify-self: end; width: 100%; }
.cable-photo { aspect-ratio: 3/4; overflow: hidden; border-radius: 65px 12px 12px 12px; background: #bec5b9; }
.cables-grid figcaption { margin-top: 14px; color: var(--muted); font-size: .78rem; }
.feature-copy > .small-note { margin-top: 25px; font-size: .82rem; }

/* Preparation and process */
.craft { padding-bottom: var(--section-space); }
.craft-grid { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); gap: 56px; align-items: center; }
.craft-photo { position: relative; overflow: hidden; aspect-ratio: 4/3; border-radius: 12px 46px 12px 12px; background: #d2d7cf; }
.craft-photo img { object-position: 50% 58%; transform: scale(1.08); transform-origin: 50% 58%; }
.photo-credit-label { position: absolute; bottom: 14px; left: 15px; padding: 5px 9px; background: rgba(248,249,245,.94); font-size: .7rem; letter-spacing: .04em; }
.craft-copy h2, .process-intro h2 { margin: 20px 0; }
.craft-copy > p, .process-intro > p { max-width: 365px; color: var(--muted); font-size: .95rem; }
.craft-points { margin: 25px 0 0; padding: 0; list-style: none; max-width: 360px; }
.craft-points li { display: flex; gap: 17px; border-top: 1px solid var(--line); padding: 13px 0; }
.craft-points span { color: var(--muted); font-size: .75rem; font-weight: 400; padding-top: 2px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; border-top: 1px solid var(--line); padding: 23px 0; }
.steps:not(.steps--columns) li:first-child { padding-top: 8px; border-top: 0; }
.steps .number { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #c7d2c1; border-radius: 50%; font-size: .75rem; }
.steps h3 { font-size: 1.3rem; margin: 4px 0 10px; }
.steps p { max-width: 60ch; color: var(--muted); font-size: .92rem; }
.steps--columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 38px; }
.steps--columns li { display: block; padding: 14px 0 0; border-top: 1px solid #a4b6a8; }
.steps--columns .number { display: block; width: auto; height: auto; border: 0; color: var(--muted); }
.steps--columns h3 { margin: 15px 0 12px; font-size: 1.2rem; }
.scope-note { background: #edf1e8; border-radius: 8px; padding: 17px 20px; margin-top: 9px; font-size: .84rem; color: #445b4f; }
.scope-note strong { font-weight: 600; }

/* Service area */
.area { padding-bottom: var(--section-space); }
.area-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; padding: 48px; background: #eaf0e4; border-radius: var(--radius); }
.area h2 { font-size: 2.4rem; margin: 18px 0; }
.area p { max-width: 440px; color: var(--muted); font-size: .95rem; }
.area-counties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.county { border-left: 1px solid #b8c8b5; padding-left: 24px; }
.county strong { font-size: 1.08rem; font-weight: 500; }
.county ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: .85rem; color: var(--muted); line-height: 2; }

/* FAQ */
.faq { padding-bottom: var(--section-space); }
.faq h2 { margin: 18px 0; }
.faq-column { min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq-column + .faq-column details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 35px 22px 0; position: relative; font-size: .98rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 5px; top: 19px; font-size: 1.35rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); font-size: .9rem; padding: 0 25px 22px 0; }

/* Shared closing CTA, footer and contact dialog */
.contact { background: var(--green); color: white; padding: 60px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact h2 { font-size: 2.6rem; }
.contact p { color: #c4d7cd; margin-top: 14px; }
.contact .btn { min-height: 62px; padding: 18px 29px; font-size: .95rem; flex-shrink: 0; }
.footer { padding: 38px 0 22px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 24px; font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.credit { margin-top: 14px; font-size: .75rem; color: var(--muted); }
.credit a { text-decoration: underline; text-underline-offset: 3px; }
.mobile-actions { display: none; }
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 440px; width: calc(100% - 40px); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(10,35,30,.5); }
dialog .eyebrow { margin: 8px 0 16px; }
dialog h2 { font-size: 2rem; margin-bottom: 18px; }
dialog p { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }
.close-modal { position: absolute; right: 12px; top: 9px; border: 0; background: none; font-size: 1.6rem; width: 44px; height: 44px; }

/* Responsive layout */
@media (min-width: 1100px) {
    .faq-questions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; align-items: start; }
    .faq-column + .faq-column details:first-child { border-top: 1px solid var(--line); }
    .faq summary { min-height: 88px; display: flex; align-items: center; }
    .faq summary::after { top: 50%; transform: translateY(-50%); }
}
@media (max-width: 1080px) {
    :root { --gutter: 28px; }
    .desktop-nav { gap: 18px; }
    .hero-grid, .featured-installation, .craft-grid { gap: 30px; }
    .hero-copy h1 { font-size: 3.5rem; }
    .hero-media--cover { height: 490px; }
    .hero-actions { gap: 14px; }
    .featured-copy { padding-top: 22px; }
    .featured-copy h3 { font-size: 2.1rem; }
    .gallery-track { --gallery-gap: 20px; }
    .accent-grid { gap: 38px; }
    .cables-grid { gap: 60px; }
    .area-box { padding: 34px; gap: 30px; }
}
@media (max-width: 850px) {
    :root { --section-space: 65px; }
    .desktop-nav, .nav > .btn { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav { display: block; }
    .nav { height: 74px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero--cover .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hero-copy { padding: 0; }
    .hero-copy h1 { font-size: 3rem; }
    .hero-copy > p { max-width: 570px; }
    .hero-image { max-width: 680px; }
    .hero-media--cover { height: 465px; }
    .hero-caption { inset: auto 14px 14px; padding: 14px; }
    .hero-caption strong { font-size: .95rem; }
    .quick-services a { font-size: .75rem; gap: 8px; }
    .page-nav { gap: 27px; }
    .section-head { display: block; }
    .section-head p { margin-top: 20px; max-width: 550px; }
    .section-head--large h2 { font-size: 2.8rem; }
    .featured-installation { grid-template-columns: 1.1fr 1fr; gap: 26px; }
    .featured-copy { padding-top: 9px; }
    .featured-copy h3 { font-size: 1.9rem; }
    .featured-copy > p { font-size: .9rem; }
    .gallery-track { --gallery-gap: 16px; grid-auto-columns: calc((100% - var(--gallery-gap))/2); }
    .small-services, .plan-grid { gap: 22px; }
    .small-card { grid-template-columns: 1fr; padding: 26px; gap: 14px; }
    .plan-card h3 { font-size: 1.3rem; }
    .accent-grid { gap: 30px; }
    .accent-photo { height: 420px; }
    .cables-grid { gap: 32px; grid-template-columns: 1.2fr .8fr; }
    .feature-copy h2 { font-size: 2.6rem; }
    .split-layout, .area-box { grid-template-columns: 1fr; gap: 32px; }
    .process-intro > p { max-width: 550px; }
    .craft-copy h2 { font-size: 2.3rem; }
    .steps--columns { gap: 25px; }
    .area-counties { max-width: 520px; }
    .contact h2 { font-size: 2.15rem; }
    .footer-top { align-items: start; }
    .footer-links { flex-wrap: wrap; justify-content: end; gap: 14px 20px; }
}
@media (max-width: 600px) {
    :root { --gutter: 22px; --section-space: 52px; }
    html { scroll-padding-top: 88px; }
    .topline { font-size: .69rem; }
    .brand-text { font-size: 1rem; }
    .brand-icon { width: 32px; }
    .nav { height: 70px; }
    .eyebrow { font-size: .68rem; letter-spacing: .12em; }
    .hero { padding-bottom: 22px; }
    .hero--cover { padding: 25px 0 0; }
    .hero--cover .hero-grid { grid-template-columns: 1fr; gap: 25px; }
    .hero-copy h1 { font-size: clamp(2.7rem,11.3vw,3.65rem); margin: 20px 0 18px; }
    .hero-copy > p { font-size: .95rem; line-height: 1.6; }
    .hero-actions { margin-top: 22px; gap: 16px 20px; }
    .hero-actions .btn { padding: 12px 19px; }
    .hero-meta, .hero-copy > .hero-location { margin-top: 20px; font-size: .75rem; }
    .hero-media { border-radius: 10px 10px 38px 10px; }
    .hero-media--cover { height: 330px; border-radius: 12px; }
    .hero-caption { inset: auto 12px 12px; }
    .hero-image figcaption { font-size: .73rem; gap: 8px; }
    .photo-label { top: 12px; right: 12px; font-size: .6rem; }
    .breadcrumb { padding: 22px 0; font-size: .74rem; }
    .quick-services { grid-template-columns: 1fr 1fr; margin-top: 24px; }
    .quick-services a { justify-content: start; padding: 16px 12px; font-size: .8rem; min-height: 58px; }
    .quick-services a:nth-child(3) { border-left: 0; }
    .quick-services a:nth-child(n+3) { border-top: 1px solid var(--line); }
    .page-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 26px; }
    .page-nav a { padding: 11px 0; font-size: .8rem; }
    .section-head { margin-bottom: 26px; }
    .section-head h2, .gallery-header h2, .process-intro h2, .faq h2 { font-size: 2.3rem; }
    .section-head--large h2 { font-size: 2.7rem; }
    .featured-installation { grid-template-columns: 1fr; gap: 20px; }
    .featured-photo { border-radius: 10px 10px 36px 10px; }
    .project-caption { font-size: .8rem; padding: 12px 0; }
    .featured-copy { padding-top: 0; }
    .featured-copy h3 { font-size: 2.2rem; }
    .featured-copy > p, .checks li { font-size: .95rem; }
    .service-number { margin-bottom: 13px; }
    .checks { margin: 18px 0; }
    .gallery--inset { margin-top: 32px; }
    .gallery--section { padding: 44px 0; }
    .gallery-header { gap: 12px; flex-wrap: wrap; }
    .gallery-controls { gap: 6px; }
    .gallery-count { margin-right: 4px; }
    .gallery-track { grid-auto-columns: 86%; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scroll-padding-right: var(--gutter); }
    .project-cta { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 20px; padding-top: 24px; }
    .project-cta h3 { font-size: 1.5rem; }
    .project-cta .btn { width: 100%; }
    .reference-grid { grid-template-columns: 1fr; gap: 32px; }
    .small-services, .plan-grid { grid-template-columns: 1fr; gap: 28px; }
    .small-card { grid-template-columns: 40px 1fr; padding: 24px 20px; gap: 16px; margin: 0; min-height: 0; }
    .service-icon { width: 40px; height: 40px; }
    .small-card h3 { font-size: 1.35rem; padding-right: 20px; }
    .small-card p { font-size: .875rem; }
    .card-index { right: 15px; top: 17px; }
    .planning { padding-top: 22px; }
    .plan-card { padding-top: 17px; }
    .plan-top { margin-bottom: 12px; }
    .plan-top svg { width: 30px; height: 30px; }
    .plan-card h3 { font-size: 1.5rem; }
    .plan-card .detail { margin-top: 13px; }
    .feature-section { padding: 48px 0; }
    .feature-copy h2 { margin: 20px 0; }
    .feature-copy > p { font-size: .95rem; }
    .accent-grid, .cables-grid, .craft-grid { grid-template-columns: 1fr; gap: 30px; }
    .accent-photo { height: 325px; border-radius: 12px; }
    .pills { margin: 20px 0 25px; }
    .cables-grid figure { justify-self: center; max-width: 330px; }
    .cable-photo { border-radius: 42px 10px 10px 10px; }
    .craft-photo { border-radius: 10px 30px 10px 10px; }
    .craft-copy h2 { font-size: 2.55rem; margin: 18px 0; }
    .craft-points { max-width: none; }
    .steps li { grid-template-columns: 34px 1fr; gap: 13px; }
    .steps--columns { grid-template-columns: 1fr; margin-top: 25px; gap: 20px; }
    .steps--columns li { padding-top: 17px; }
    .steps--columns .number { margin-bottom: 10px; }
    .steps--columns h3 { margin-top: 0; }
    .area-box { padding: 28px 24px; margin: 0 -3px; border-radius: 12px; }
    .area h2 { font-size: 2.1rem; }
    .area-counties { gap: 16px; }
    .county { padding-left: 14px; }
    .county strong { font-size: 1rem; }
    .county ul { font-size: .8rem; }
    .split-layout { gap: 25px; }
    .faq summary { font-size: .94rem; padding-top: 19px; padding-bottom: 19px; }
    .contact { padding: 42px 0; }
    .contact-inner, .footer-top, .footer-bottom { display: block; }
    .contact h2 { font-size: 2.2rem; max-width: 330px; }
    .contact p { font-size: .95rem; }
    .contact .btn { min-height: 60px; width: 100%; margin-top: 24px; padding: 17px 16px; }
    .footer { padding: 30px 0 calc(95px + env(safe-area-inset-bottom)); }
    .footer-links { justify-content: start; margin-top: 24px; gap: 12px 24px; }
    .footer-links a { padding: 6px 0; }
    .footer-bottom span { display: block; margin-top: 8px; }
    .credit { font-size: .7rem; }
    .mobile-actions { position: fixed; z-index: 15; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: rgba(248,249,245,.98); border-top: 1px solid var(--line); padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); }
    .mobile-actions .btn { min-height: 44px; padding: 8px 14px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
