/* ==========================================================================
   Garage Reset – One-Page Landing Styles
   Design system, layout, and responsive styles
   ========================================================================== */

/* -----------------------------
   CSS Reset / Base
------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    line-height: 1.6;
}
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}
input,
button,
textarea,
select {
    font: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
ul,
ol {
    margin: 0;
    padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0 0 0.75rem 0;
}

/* -----------------------------
   Design Tokens
------------------------------ */
:root {
    /* Brand */
    --brand-900: #0f2435;
    --brand-800: #13324b;
    --brand-700: #184769;
    --brand-600: #1e5d8a;

    /* Accents */
    --accent-600: #0ea5a8;
    --accent-700: #0b8b8e;
    --accent-800: #0a7376;
    --cta-600: #f59e0b;
    --cta-700: #d97706;

    /* Neutrals */
    --ink-900: #0b1220;
    --ink-800: #111827;
    --ink-700: #1f2937;
    --ink-600: #374151;
    --ink-500: #4b5563;
    --ink-400: #6b7280;
    --ink-300: #9ca3af;
    --ink-200: #e5e7eb;
    --ink-150: #eef2f6;
    --ink-100: #f5f7fa;
    --white: #ffffff;

    /* Surfaces */
    --surface: #ffffff;
    --surface-alt: #fafcff;

    /* Effects */
    --shadow-sm:
        0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 1px rgba(16, 24, 40, 0.04);
    --shadow-md:
        0 10px 25px rgba(2, 14, 26, 0.08), 0 2px 8px rgba(2, 14, 26, 0.06);
    --shadow-lg:
        0 24px 60px rgba(2, 14, 26, 0.12), 0 8px 24px rgba(2, 14, 26, 0.08);
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    /* Layout */
    --container: 1180px;
    --gap-1: 0.5rem;
    --gap-2: 0.75rem;
    --gap-3: 1rem;
    --gap-4: 1.5rem;
    --gap-5: 2rem;
    --gap-6: 3rem;

    /* Typography */
    --font-sans:
        Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        "Apple Color Emoji", "Segoe UI Emoji";
    --mono:
        "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", monospace;
    --fs-900: clamp(2rem, 2vw + 1.8rem, 3.2rem);
    --fs-800: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem);
    --fs-700: 1.5rem;
    --fs-600: 1.25rem;
    --fs-500: 1.125rem;
    --fs-400: 1rem;
}

/* -----------------------------
   Base Typography / Body
------------------------------ */
body {
    font-family: var(--font-sans);
    color: var(--ink-800);
    background:
        radial-gradient(
            1200px 400px at 10% -10%,
            rgba(14, 165, 168, 0.08),
            transparent 60%
        ),
        radial-gradient(
            1000px 400px at 110% -20%,
            rgba(24, 71, 105, 0.1),
            transparent 60%
        ),
        var(--surface);
}

.lead {
    font-size: var(--fs-600);
    color: var(--ink-700);
}
.small {
    font-size: 0.9rem;
}
.muted {
    color: var(--ink-500);
}
.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    color: var(--brand-800);
    background: linear-gradient(180deg, #f1fbfb, #e5f6f7);
    border: 1px solid #d6eff0;
}

/* -----------------------------
   Layout Utilities
------------------------------ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 var(--gap-4);
}
.flex {
    display: flex;
    gap: var(--gap-3);
}
.between {
    justify-content: space-between;
}
.align-center {
    align-items: center;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--gap-6);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-4);
}

/* -----------------------------
   Buttons
------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.04s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
    box-shadow: var(--shadow-sm);
    will-change: transform;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(180deg, var(--brand-600), var(--brand-800));
    color: var(--white);
    border-color: #0f3a57;
}
.btn-secondary {
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    color: var(--ink-700);
    border-color: var(--ink-200);
}
.btn-outline {
    background: transparent;
    color: var(--brand-800);
    border-color: var(--brand-700);
}
.btn-accent {
    background: linear-gradient(180deg, var(--cta-600), var(--cta-700));
    color: #1a1003; /* high contrast on orange */
    border-color: #b45309;
}
.btn.small {
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    border-radius: var(--radius-xs);
}
.btn.wide {
    width: 100%;
}

/* -----------------------------
   Header / Navigation
------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(15, 51, 77, 0.06);
}
.branding {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    color: var(--brand-800);
}
.logo-mark {
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.05));
}
.logo-text strong {
    color: var(--brand-600);
}

.main-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}
.main-nav a {
    display: inline-block;
    padding: 0.75rem 0.25rem;
    color: var(--ink-700);
    font-weight: 500;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover {
    color: var(--brand-700);
    border-bottom-color: rgba(24, 71, 105, 0.25);
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.phone-link {
    font-weight: 600;
    color: var(--brand-700);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--ink-200);
    background: var(--surface);
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-direction: column;
}
.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ink-700);
    border-radius: 4px;
    display: block;
}

/* Mobile nav */
@media (max-width: 920px) {
    .main-nav {
        position: fixed;
        inset: 64px 0 0 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s;
        padding: 1rem 1.25rem;
        border-top: 1px solid var(--ink-200);
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0.25rem;
    }
    .nav-toggle {
        display: flex;
    }
    body.nav-open .main-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* -----------------------------
   Hero
------------------------------ */
.hero {
    padding: clamp(2rem, 4vw + 1rem, 6rem) 0 clamp(2rem, 3vw + 1rem, 4rem);
    background:
        radial-gradient(
            1200px 500px at -10% 10%,
            rgba(15, 51, 77, 0.06),
            transparent 60%
        ),
        radial-gradient(
            900px 500px at 120% -20%,
            rgba(14, 165, 168, 0.12),
            transparent 60%
        );
}
.hero-copy h1 {
    font-size: var(--fs-900);
    line-height: 1.06;
    color: var(--brand-800);
    letter-spacing: -0.5px;
}
.value-points {
    list-style: none;
    margin: 1rem 0 1.25rem;
    display: grid;
    gap: 0.5rem;
}
.value-points li {
    padding-left: 1.65rem;
    position: relative;
    color: var(--ink-700);
}
.value-points li::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    position: absolute;
    left: 0.4rem;
    top: 0.55rem;
    background: linear-gradient(180deg, var(--accent-600), var(--accent-800));
    box-shadow: 0 0 0 4px rgba(14, 165, 168, 0.12);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 0.5rem;
}
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hero-visual {
    margin: 0;
    align-self: center;
    position: relative;
    filter: drop-shadow(0 40px 60px rgba(2, 14, 26, 0.12));
}
.hero-visual picture,
.hero-visual img {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 51, 77, 0.08);
}
.hero-visual figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(19, 50, 75, 0.75);
    color: #e8f3fb;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

/* -----------------------------
   Problem Cards
------------------------------ */
.problem {
    padding: var(--gap-6) 0;
}
.problem h2,
.process h2,
.pricing h2,
.addons h2,
.market h2,
.estimate h2,
.testimonials h2,
.gallery h2,
.faq h2,
.contact h2,
.cta-final h2 {
    font-size: var(--fs-800);
    line-height: 1.2;
    color: var(--brand-800);
    margin-bottom: 1rem;
}
.card {
    background: var(--surface);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    box-shadow: var(--shadow-sm);
}
.card h3 {
    font-size: var(--fs-600);
    color: var(--ink-800);
    margin-bottom: 0.25rem;
}
.card p {
    color: var(--ink-600);
}

/* -----------------------------
   Process Steps
------------------------------ */
.process {
    padding: var(--gap-6) 0;
    background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}
.process-steps {
    counter-reset: step;
    list-style: none;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}
.process-steps li {
    background: var(--surface);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    min-height: 120px;
}
.process-steps li h3 {
    font-size: 1.05rem;
    color: var(--ink-800);
    margin-bottom: 0.35rem;
}
.process-steps li p {
    color: var(--ink-600);
}
.process-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -12px;
    right: -12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #083344;
    background: linear-gradient(180deg, #d5f6f6, #bff0f2);
    border: 1px solid #a9e8ea;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

/* -----------------------------
   Pricing
------------------------------ */
.pricing {
    padding: var(--gap-6) 0;
}
.pricing-card {
    max-width: 720px;
    margin-inline: auto;
    background: var(--surface);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.25rem 1.35rem;
    box-shadow: var(--shadow-lg);
    background-image: radial-gradient(
        600px 200px at 120% -20%,
        rgba(14, 165, 168, 0.08),
        transparent 60%
    );
}
.price-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.price-amount {
    font-family: var(--mono);
    color: var(--brand-700);
    font-size: clamp(2rem, 4vw, 2.6rem);
    letter-spacing: -0.5px;
}
.price-tagline {
    color: var(--ink-600);
    font-weight: 500;
}
.included-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}
.included-list li {
    padding-left: 1.35rem;
    position: relative;
    color: var(--ink-700);
}
.included-list li::before {
    content: "✓";
    position: absolute;
    left: 0.15rem;
    color: var(--accent-800);
    font-weight: 800;
}
.note {
    color: var(--ink-500);
}

/* -----------------------------
   Add-Ons
------------------------------ */
.addons {
    padding: var(--gap-6) 0;
    background: linear-gradient(180deg, var(--surface-alt), var(--surface));
}
.addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.addon {
    background: var(--surface);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.addon h3 {
    font-size: 1.05rem;
    color: var(--ink-800);
    margin-bottom: 0.25rem;
}
.addon p {
    color: var(--ink-600);
    min-height: 40px;
}
.addon .range {
    display: inline-block;
    font-weight: 700;
    color: var(--brand-700);
    background: #f1fbfb;
    border: 1px solid #d6eff0;
    border-radius: 8px;
    padding: 0.15rem 0.5rem;
    margin-top: 0.35rem;
}
.addon.partner {
    outline: 2px dashed rgba(14, 165, 168, 0.35);
    outline-offset: 4px;
}

/* -----------------------------
   Market Segments
------------------------------ */
.market {
    padding: var(--gap-6) 0;
}
.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.segment {
    padding: 1rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    background: var(--surface);
}
.segment h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--ink-800);
}
.segment p {
    color: var(--ink-600);
}

/* -----------------------------
   Estimate Builder
------------------------------ */
.estimate {
    padding: var(--gap-6) 0;
    background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}
.estimate-form {
    background: var(--surface);
    padding: 1rem;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin-inline: auto;
}
.estimate-form fieldset {
    margin: 0 0 0.75rem;
    padding: 0.75rem;
    border: 1px dashed var(--ink-200);
    border-radius: 12px;
}
.estimate-form legend {
    padding: 0 0.35rem;
    color: var(--ink-700);
    font-weight: 700;
    letter-spacing: 0.2px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.form-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    padding: 0.6rem 0.65rem;
    cursor: pointer;
    background: #fbfdff;
}
.form-grid input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-700);
}

.estimate-output {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    align-items: center;
    background: linear-gradient(180deg, #f7fbff, #f2f6fb);
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    padding: 0.75rem;
}
.estimate-output p {
    margin: 0;
}
.total-line {
    grid-column: 1 / -1;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-700);
}

/* -----------------------------
   Testimonials
------------------------------ */
.testimonials {
    padding: var(--gap-6) 0;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.testimonial {
    background: var(--surface);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial p {
    color: var(--ink-700);
}
.testimonial footer {
    margin-top: 0.45rem;
    color: var(--ink-500);
    font-weight: 600;
}

/* -----------------------------
   Gallery
------------------------------ */
.gallery {
    padding: var(--gap-6) 0;
    background: linear-gradient(180deg, var(--surface-alt), var(--surface));
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 960px;
    margin-inline: auto;
}
.gallery figure {
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.gallery figcaption {
    padding: 0.65rem 0.6rem;
    color: var(--ink-600);
    text-align: center;
}

/* -----------------------------
   FAQ
------------------------------ */
.faq {
    padding: var(--gap-6) 0;
}
.faq details {
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.5rem;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--ink-800);
    list-style: none;
    position: relative;
    padding-right: 1.25rem;
}
.faq summary::after {
    content: "›";
    position: absolute;
    right: 0.25rem;
    transform: rotate(90deg);
    color: var(--ink-400);
    font-weight: 900;
}
.faq details[open] summary::after {
    transform: rotate(-90deg);
}
.faq p {
    color: var(--ink-600);
    margin-top: 0.35rem;
}

/* -----------------------------
   Contact
------------------------------ */
.contact {
    padding: var(--gap-6) 0;
    background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}
.contact-form {
    max-width: 880px;
    margin-inline: auto;
    background: var(--surface);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}
.form-row {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}
label {
    color: var(--ink-700);
    font-weight: 600;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    background: #fbfdff;
    color: var(--ink-800);
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-700);
    box-shadow: 0 0 0 3px rgba(24, 71, 105, 0.15);
}
.check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.check-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    background: #fbfdff;
}
input[type="checkbox"] {
    accent-color: var(--brand-700);
}
.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}
.consent-row {
    margin-top: 0.35rem;
}

/* -----------------------------
   Final CTA
------------------------------ */
.cta-final {
    padding: var(--gap-6) 0;
    background:
        linear-gradient(
            180deg,
            rgba(14, 165, 168, 0.1),
            rgba(14, 165, 168, 0.05)
        ),
        linear-gradient(180deg, var(--surface), var(--surface));
    text-align: center;
}
.cta-final p {
    color: var(--ink-700);
    margin-bottom: 0.75rem;
}

/* -----------------------------
   Footer
------------------------------ */
.site-footer {
    background: #0f1b28;
    color: #cfdae7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.4fr 1.6fr;
    gap: 1rem;
    padding: 1.2rem var(--gap-4);
}
.footer-brand {
    color: #e6f0fa;
}
.footer-brand .logo-mark {
    filter: none;
}
.footer-nav ul {
    list-style: none;
    display: grid;
    gap: 0.35rem;
}
.footer-nav a {
    color: #cfe2f4;
}
.footer-nav a:hover {
    color: #a7c6e6;
    text-decoration: underline;
}
.footer-contact p {
    margin: 0 0 0.3rem;
}
.footer-contact a {
    color: #cfe2f4;
    text-decoration: underline;
}
.subscribe-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.subscribe-form input {
    background: #0c1622;
    color: #dfe9f6;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
}
.subscribe-form .btn {
    box-shadow: none;
}
.legal {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem var(--gap-4);
    text-align: center;
    color: #b9c8da;
}

/* -----------------------------
   Back to Top
------------------------------ */
.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    color: var(--ink-800);
    display: grid;
    place-items: center;
    border: 1px solid var(--ink-200);
    box-shadow: var(--shadow-sm);
    opacity: 0.85;
    transition:
        opacity 0.2s ease,
        transform 0.08s ease;
    z-index: 40;
}
.back-to-top:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* -----------------------------
   Responsive
------------------------------ */
@media (max-width: 1140px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
        margin-bottom: 0.5rem;
    }
}
@media (max-width: 980px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .check-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .estimate-output {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .grid-3,
    .addons-grid,
    .market-grid,
    .testimonial-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .form-grid,
    .check-grid {
        grid-template-columns: 1fr;
    }
    .price-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 var(--gap-3);
    }
}

/* -----------------------------
   Accessibility / Focus
   (Skip link is visually hidden until focused)
------------------------------ */
:focus-visible {
    outline: 3px solid rgba(14, 165, 168, 0.6);
    outline-offset: 2px;
    border-radius: 8px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    box-shadow: 0 0 0 3px rgba(14, 165, 168, 0.25);
}

.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;
}
/* Skip Link */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    background: var(--brand-800);
    color: #fff;
    padding: 0.65rem 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: transform 0.25s ease;
    z-index: 100;
}
.skip-link:focus {
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}

/* -----------------------------
   Print (simple)
------------------------------ */
@media print {
    .site-header,
    .nav-toggle,
    .hero-visual,
    .hero-actions,
    .back-to-top {
        display: none !important;
    }
    .btn {
        border: 1px solid #000 !important;
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    .container {
        max-width: none;
        padding: 0;
    }
    .pricing-card,
    .estimate-form,
    .contact-form {
        box-shadow: none !important;
    }
}
