/* Ajustes responsive cargados despues del bundle principal. */
html,
body.public-site {
    max-width: 100%;
    overflow-x: clip;
}

.public-site main,
.public-site section,
.public-site header,
.public-site footer {
    min-width: 0;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site p,
.public-site a,
.public-site span {
    overflow-wrap: break-word;
}

@media (max-width: 820px) {
    html.navigation-open,
    html.navigation-open body {
        overflow: hidden;
    }

    .site-header.menu-open {
        height: var(--header-height);
        background: #080a0b;
        box-shadow: none;
    }

    .site-navigation {
        z-index: 1;
        inset: 0;
        min-height: 100vh;
        min-height: 100dvh;
        padding: calc(var(--header-height) + 18px) 24px 28px;
        overflow-x: hidden;
        overflow-y: auto;
        align-items: stretch;
        justify-content: flex-start;
        overscroll-behavior: contain;
        background: #080a0b;
    }

    .site-navigation a {
        flex: 0 0 auto;
        padding: 10px 0;
        font-size: clamp(22px, 5.8vw, 27px);
        line-height: 1.12;
    }

    .mobile-social-links {
        display: grid;
        flex: 0 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 18px;
    }

    .mobile-social-links a {
        min-width: 0;
        padding: 4px 0;
        font-size: 10px;
        white-space: normal;
    }

    .hero-content,
    .about-content,
    .section-heading > *,
    .appointment-layout > *,
    .contact-grid > * {
        min-width: 0;
    }

    .hero-content h1,
    .store-content h1,
    .about-content h2,
    .section-heading h2,
    .appointment-layout h2 {
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
    }
}

@media (max-width: 560px) {
    :root {
        --header-height: 68px;
    }

    body.public-site {
        font-size: 15px;
        line-height: 1.55;
    }

    .section-shell,
    .header-inner,
    .footer-main,
    .footer-bottom,
    .hero-inner {
        width: calc(100% - 36px);
    }

    .site-header.is-scrolled,
    .site-header.menu-open {
        height: var(--header-height);
    }

    .header-logo {
        width: 122px;
        height: 50px;
    }

    .header-actions .system-link,
    .menu-toggle {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .menu-toggle {
        padding: 10px 8px;
    }

    .menu-toggle > span:not(.sr-only) {
        width: 24px;
    }

    .site-navigation {
        padding: calc(var(--header-height) + 16px) 24px 24px;
    }

    .site-navigation a {
        padding: 9px 0;
        font-size: clamp(21px, 6.4vw, 25px);
    }

    .mobile-social-links {
        padding-top: 12px;
    }

    .hero-section {
        min-height: max(680px, 100svh);
    }

    .hero-inner {
        padding: 108px 0 42px;
        gap: 28px;
    }

    .eyebrow {
        gap: 10px;
        font-size: 9px;
        letter-spacing: .14em;
    }

    .hero-content h1 {
        font-size: clamp(43px, 13vw, 58px);
        line-height: .92;
    }

    .hero-lead {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-actions {
        margin-top: 22px;
        gap: 10px;
    }

    .button {
        min-height: 48px;
        padding-inline: 17px;
        gap: 16px;
        font-size: 11px;
    }

    .hero-facts strong {
        font-size: 27px;
    }

    .hero-facts span {
        font-size: 10px;
    }

    .about-section,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 64px 0;
    }

    .about-layout {
        gap: 58px;
    }

    .about-content h2,
    .section-heading h2,
    .appointment-layout h2 {
        font-size: clamp(38px, 11.5vw, 46px);
        line-height: .96;
    }

    .about-intro {
        margin: 22px 0 30px;
        font-size: 15px;
        line-height: 1.6;
    }

    .principle h3,
    .contact-primary > p {
        font-size: 22px;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .service-card {
        min-height: 390px;
    }

    .service-card h3 {
        font-size: 28px;
    }

    .store-content {
        width: calc(100% - 36px);
        padding: 105px 0 90px;
    }

    .store-content h1 {
        font-size: clamp(43px, 13vw, 58px);
        line-height: .92;
    }

    .store-content > p:not(.eyebrow) {
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.55;
    }

    .whatsapp-float {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
}

@media (max-width: 380px) {
    .section-shell,
    .header-inner,
    .footer-main,
    .footer-bottom,
    .hero-inner,
    .store-content {
        width: calc(100% - 28px);
    }

    .header-logo {
        width: 108px;
    }

    .site-navigation {
        padding-inline: 18px;
    }

    .hero-content h1,
    .store-content h1 {
        font-size: clamp(40px, 12.5vw, 48px);
    }

    .about-content h2,
    .section-heading h2,
    .appointment-layout h2 {
        font-size: 38px;
    }
}
