/* Shared responsive finishing for Auto Repair and Auto Shop. */
:root {
    --container: 1200px;
    --bg-soft: #f7f7f8;
    --line: #e5e5e8;
    --shadow: 0 16px 40px rgb(17 20 26 / 9%);
}
body { font-family: "Segoe UI", Arial, sans-serif; }
.container { width: min(calc(100% - 64px), var(--container)); }
.section { padding-block: clamp(64px, 7vw, 104px); }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading h2 { line-height: 1.2; text-wrap: balance; }
.section-heading > p:not(.eyebrow) { line-height: 1.8; }
.header-inner { gap: 24px; min-height: 80px; }
.brand { min-width: 0; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; flex-basis: 36px; }
.brand-fallback { font-size: .88rem; letter-spacing: .065em; }
.main-nav { gap: 22px; }
.main-nav > a:not(.btn) { font-size: .88rem; }
.btn { border-radius: 12px; text-align: center; gap: 10px; }
.btn-small { border-radius: 10px; }
.hero { min-height: 680px; }
.hero-content { grid-template-columns: minmax(0, 1.35fr) minmax(310px, .85fr); gap: clamp(32px, 5vw, 72px); padding-block: 156px 88px; }
.hero h1 { font-size: clamp(2.5rem, 4.1vw, 3.8rem); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.hero-lead { max-width: 560px; font-size: 1.075rem; line-height: 1.8; margin-top: 24px; }
.hero .eyebrow { color: #ffb9bd; }
.hero-card { padding: 30px; border-radius: 22px; background: rgb(21 24 29 / 88%); box-shadow: 0 24px 64px #0003; }
.hero-card-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; color: #ffb9bd; }
.hero-card h2 { font-size: 1.55rem; line-height: 1.3; text-wrap: balance; }
.hero-card .check-list { font-size: .92rem; margin-block: 20px 26px; }
.hero-card small { line-height: 1.6; color: #b8bcc2; }
.hero-card .btn { padding-inline: 14px; font-size: .88rem; }
.trust-strip { padding-block: 12px; }
.trust-item { padding: 22px 24px; }
.trust-item strong { font-size: .98rem; }
.trust-item span { font-size: .82rem; line-height: 1.6; margin-top: 5px; }
.problem-grid, .service-grid, .pricing-grid, .gallery-grid, .testimonial-grid { gap: 24px; }
.problem-card { padding: 28px; border-radius: 18px; box-shadow: 0 4px 18px #11141a04; }
.problem-card h3 { line-height: 1.4; }
.problem-card p { line-height: 1.75; }
.icon-box { border-radius: 12px; }
.service-content { padding: 26px; }
.service-content h3 { line-height: 1.3; }
.service-image, .service-card-featured .service-image { min-height: 0; }
.pricing-card { padding: 32px 28px; }
.pricing-card.featured { transform: none; }
.pricing-card h3, .pricing-card h4 { line-height: 1.3; }
.pricing-card .check-list { margin-block: 4px 28px; }
.price { margin-block: 20px; }
.price strong { color: var(--text); letter-spacing: -.035em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.featured .price strong { color: #fff; }
.popular-label { right: 20px; font-weight: 700; }
.gallery-item { margin: 0; border: 1px solid var(--line); border-radius: 18px; }
.gallery-item figcaption { padding: 16px 18px; line-height: 1.5; }
.process-grid { gap: 18px; }
.process-grid li { padding: 24px 20px; border-radius: 16px; }
.process-grid h3 { line-height: 1.4; }
.feature-list li { padding: 20px 22px; }
.faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-item button { min-height: 72px; gap: 20px; line-height: 1.5; }
.faq-item button span { flex-shrink: 0; }
.cta-card { gap: 36px; padding: 48px; border-radius: 24px; }
.cta-card h2 { line-height: 1.2; text-wrap: balance; }
.cta-card > .btn { flex-shrink: 0; }
.floating-whatsapp { font-size: .88rem; min-height: 50px; padding: 10px 18px; }
.floating-whatsapp .whatsapp-logo { width: 28px; height: 28px; flex-basis: 28px; }
.catalog-nav { gap: 8px; padding: 8px; width: fit-content; max-width: 100%; margin-inline: auto; background: #ececef; border-radius: 16px; }
.catalog-nav a { min-height: 44px; padding: 10px 20px; border-color: transparent; border-radius: 10px; background: transparent; }
.catalog-nav a[aria-selected="true"] { box-shadow: 0 3px 10px #f5152020; }
.group-heading { margin-bottom: 28px; }
.bonus-banner { background: #fff0f0; border: 1px solid #f4d8da; }
.extra-card { display: flex; flex-direction: column; }
.extra-card .btn { margin-top: auto; }
@media (min-width: 821px) and (max-width: 1100px) {
    .container { width: calc(100% - 48px); }
    .main-nav { gap: 13px; }
    .brand-fallback { font-size: .76rem; }
    .header-inner { gap: 16px; }
    .main-nav .btn { padding-inline: 12px; }
}
@media (min-width: 821px) and (max-width: 1024px) {
    .hero-content { grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr); gap: 28px; }
    .hero h1 { font-size: 2.7rem; }
    .hero-card { padding: 24px; }
    .hero-actions .btn { padding-inline: 16px; }
    .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .pricing-card { padding: 28px 20px; }
    .pricing-card h3, .pricing-card h4 { font-size: 1.3rem; }
}
@media (max-width: 820px) {
    .container { width: calc(100% - 40px); }
    .header-inner { min-height: 72px; }
    .main-nav { inset: 80px 20px auto; max-height: calc(100dvh - 168px); overflow-y: auto; border-radius: 16px; }
    .main-nav > a:not(.btn) { font-size: 1rem; border-bottom: 1px solid #ffffff0d; }
    .main-nav .btn { margin-top: 10px; }
    .menu-toggle { width: 44px; height: 44px; padding: 10px; border: 1px solid #ffffff30; border-radius: 10px; }
    .menu-toggle span { transition: transform .2s, opacity .2s; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { min-height: auto; }
    .hero-content { grid-template-columns: 1fr; padding-block: 128px 56px; gap: 36px; }
    .hero-copy, .hero-card { max-width: 640px; }
    .hero h1 { max-width: 620px; font-size: clamp(2.2rem, 6vw, 3.4rem); }
    .hero-card { width: 100%; }
    .faq-layout { grid-template-columns: 1fr; gap: 8px; }
    .pricing-grid { gap: 28px; }
    .cta-card { padding: 36px; flex-direction: column; align-items: flex-start; }
    .trust-item { padding: 20px; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 88px; }
    .container { width: calc(100% - 40px); }
    .section { padding-block: 60px; }
    .brand-fallback { font-size: .76rem; max-width: 185px; }
    .brand img { width: 32px; height: 32px; flex-basis: 32px; }
    .header-inner { gap: 12px; }
    .hero-content { padding-block: 116px 44px; gap: 30px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.85rem); line-height: 1.16; letter-spacing: -.04em; }
    .hero-lead { font-size: 1rem; margin-top: 20px; line-height: 1.75; }
    .eyebrow { font-size: .7rem; letter-spacing: .1em; }
    .hero-actions { margin-top: 24px; gap: 10px; }
    .hero-actions .btn { min-height: 52px; }
    .hero-card { padding: 24px; border-radius: 18px; }
    .hero-card h2 { font-size: 1.4rem; }
    .hero-card-label { font-size: .7rem; }
    .hero-summary { margin-top: 20px; gap: 8px; }
    .hero-summary span { font-size: .75rem; padding: 6px 10px; }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-item { padding: 16px 12px; }
    .trust-item:nth-child(odd) { border-right: 1px solid #ffffff1a; }
    .trust-item:nth-child(n+3) { border-bottom: 0; }
    .trust-item strong { font-size: .88rem; }
    .trust-item span { font-size: .75rem; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2 { font-size: 1.8rem; line-height: 1.25; }
    .section-heading > p:not(.eyebrow) { font-size: .95rem; }
    .problem-grid, .service-grid, .gallery-grid, .testimonial-grid { gap: 16px; }
    .problem-card, .service-content { padding: 24px; }
    .problem-card h3 { margin-block: 16px 10px; }
    .pricing-card { padding: 28px 24px; }
    .pricing-card .price strong { font-size: 1.8rem; }
    .catalog-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 4px; margin-bottom: 28px; }
    .catalog-nav a { text-align: center; padding: 10px 6px; font-size: .85rem; }
    .group-heading h3 { font-size: 1.4rem; }
    .process-grid { gap: 12px; }
    .process-grid li { padding: 22px 24px; }
    .process-grid h3 { margin-block: 10px; }
    .faq-item button { padding-block: 20px; font-size: .95rem; }
    .cta-card { padding: 28px 24px; gap: 24px; align-items: stretch; }
    .cta-card h2 { font-size: 1.8rem; }
    .mobile-sticky-cta { display: none; }
    .floating-whatsapp {
        display: inline-flex;
        right: 20px;
        bottom: calc(20px + env(safe-area-inset-bottom));
        width: auto;
        height: 58px;
        min-height: 58px;
        justify-content: center;
        padding: 0 18px;
        border: 1px solid rgb(255 255 255 / 24%);
        border-radius: 999px;
        box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
        font-size: .88rem;
        gap: 10px;
    }
    .floating-whatsapp span { display: inline; }
    .floating-whatsapp .whatsapp-logo { width: 32px; height: 32px; flex-basis: 32px; }
    .site-footer { padding-top: 48px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
