/* Optimizaciones visuales y de interacción para imágenes */

#cursos-serigrafia .curso-flip-front-media img,
#cursos-serigrafia .sample-image img,
#section2 .gallery_line img,
#section1 .card img,
#cursos-serigrafia .vibrate-icon,
#section7 .vibrate-cross-tl,
#section7 .vibrate-cross-tr,
#section7 .vibrate-cross-bl,
#section7 .vibrate-cross-br {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

#cursos-serigrafia .curso-flip-card:not(.is-flipped):hover .curso-flip-front-media img {
    transform: none !important;
}

@media (max-width: 768px) {
    body.mobile-scrolltrigger .main-container > section#section6,
    .main-container > section#section6,
    #section6 {
        padding-top: 0.55rem !important;
    }

    #section6 > .max-w-7xl,
    #section6 > .section-shell-top,
    #section6 > .max-w-7xl[style] {
        padding-top: 0.6rem !important;
    }
}

img[decoding="async"] {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

img[data-defer-image="true"] {
    opacity: 0;
    transition: opacity 0.2s ease;
}

img[data-defer-image="true"].deferred-media-loaded {
    opacity: 1;
}

#section2 .gallery_line img[data-defer-image="true"] {
    opacity: 1 !important;
    visibility: visible !important;
}

#cursos-serigrafia .curso-flip-card:nth-child(2) .curso-flip-front-body .inline-block,
#cursos-serigrafia .curso-flip-card:nth-child(2) .curso-back-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: min(100%, 18rem) !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 768px) {
    #cursos-serigrafia .curso-flip-card:nth-child(2) .curso-flip-front-body .inline-block,
    #cursos-serigrafia .curso-flip-card:nth-child(2) .curso-back-badge {
        min-width: min(100%, 16.4rem) !important;
        font-size: 0.52rem !important;
        letter-spacing: 0 !important;
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
    }
}

.illustrator-mobile-svg {
    display: none;
    position: absolute;
    max-width: none;
}

.nav-logo__image {
    height: 35px;
    width: auto;
    object-fit: contain;
}


.section-hero-bg {
    background: radial-gradient(circle at top, #d9d9d6, #f3f1ec);
}

.section-streetwear-bg {
    background: #ff5a1f;
}

.section-calendar-bg {
    background: #ffd100;
}

.section-contact-bg {
    background: #f3f1ec;
}

.section-hero-bg,
.section-streetwear-bg,
.section-calendar-bg,
.section-contact-bg,
#cursos-serigrafia,
#section5 {
    position: relative;
    isolation: isolate;
}

.bouncy-container,
.static-dots-container {
    z-index: 0 !important;
}

#section1 .scene,
#cursos-serigrafia > .z-10,
#section2 > :not(.static-dots-container),
#section5 > :not(.static-dots-container),
#section6 > :not(.static-dots-container),
#section7 > :not(.static-dots-container) {
    position: relative;
    z-index: 1;
}

.brand-lab-image {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    min-height: 80vh;
    transform: scale(2.1);
}


.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 20000;
    padding: 0.75rem 1rem;
    background: #111111;
    color: #ffffff;
    font: 800 0.75rem/1 'Space Grotesk', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.skip-link:focus {
    top: 1rem;
}

#section1 .section1-copy h1 {
    margin: 0;
    color: #ffffff;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

nav .nav-links a {
    color: #4b5563 !important;
}

#cursos-serigrafia .text-black\/60,
#cursos-serigrafia .text-gray-600\/70,
#section6 .text-black\/60,
#section6 .text-gray-600\/70,
#section7 .text-black\/60,
#section7 .text-gray-600\/70 {
    color: rgba(17, 24, 39, 0.82) !important;
}

#section6 .bg-gray-400,
#section7 .bg-gray-400,
#section6 .border-gray-400,
#section7 .border-gray-400 {
    border-color: rgba(75, 85, 99, 0.72) !important;
}

#section6 .bg-gray-400,
#section7 .bg-gray-400 {
    background-color: #c8ccd1 !important;
}

#section7 a[href^="https://wa.me/"],
#section7 a[href^="mailto:"] {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#section7 .grid.grid-cols-1.md\:grid-cols-3 {
    gap: 1.2rem !important;
}

#section7 .grid.grid-cols-1.md\:grid-cols-3 > div {
    padding: 1.35rem 1.15rem !important;
}

#section7 .grid.grid-cols-1.md\:grid-cols-3 > div .w-12.h-12 {
    width: 2.7rem !important;
    height: 2.7rem !important;
    margin-bottom: 0.8rem !important;
}

#section7 .grid.grid-cols-1.md\:grid-cols-3 > div h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.4rem !important;
}

#section7 .grid.grid-cols-1.md\:grid-cols-3 > div p.text-gray-600\/70 {
    margin-top: 0.45rem !important;
    font-size: 0.78rem !important;
}

#section7 .text-center.mb-12 > .inline-flex {
    padding: 0.7rem 1.35rem !important;
    font-size: 1.02rem !important;
    transform: translateY(-8px) !important;
    margin-bottom: 1.1rem !important;
}

#section7 .text-center.mb-12 > p {
    margin-top: 0.35rem !important;
    letter-spacing: 0.035em !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    #section7 .grid.grid-cols-1.md\:grid-cols-3 {
        gap: 0.9rem !important;
    }

    #section7 .grid.grid-cols-1.md\:grid-cols-3 > div {
        padding: 1.05rem 0.95rem !important;
    }

    #section7 .grid.grid-cols-1.md\:grid-cols-3 > div h3 {
        font-size: 1.15rem !important;
    }

    #section7 .text-center.mb-12 > .inline-flex {
        padding: 0.72rem 1.25rem !important;
        font-size: 1rem !important;
        transform: translateY(-10px) !important;
        margin-bottom: 1.25rem !important;
    }

    #section7 .text-center.mb-12 > p {
        margin-top: 0.45rem !important;
        letter-spacing: 0.04em !important;
        font-weight: 700 !important;
    }
}

@media (min-width: 768px) {
    #section7 .grid.grid-cols-1.md\:grid-cols-3 {
        align-items: stretch !important;
        margin-top: 0.35rem !important;
    }

    #section7 .text-center.mb-12 > .inline-flex {
        margin-top: 1.45rem !important;
        margin-bottom: 1rem !important;
        padding: 0.7rem 1.35rem !important;
        font-size: 1.02rem !important;
        transform: translateY(-8px) !important;
    }

    #section7 .text-center.mb-12 {
        margin-bottom: 0.8rem !important;
    }

    #section7 .text-center.mb-12 > p {
        margin-top: 0.25rem !important;
        letter-spacing: 0.035em !important;
        font-weight: 700 !important;
    }

    #section7 .contact-ribbon {
        margin-top: 0.05rem !important;
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }

    #section7 .grid.grid-cols-1.md\:grid-cols-3 > div:nth-child(1),
    #section7 .grid.grid-cols-1.md\:grid-cols-3 > div:nth-child(2) {
        justify-content: center !important;
    }

    #section7 .mt-6.text-center {
        margin-top: 0.2rem !important;
    }

    #section7 .mt-6.text-center > a {
        padding: 0.5rem 0.85rem !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.11em !important;
    }

    #section7 .mt-6.text-center > a .w-7.h-7 {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
}

@media (min-width: 769px) {
    #section1 .brand {
        width: min(96vw, 1820px) !important;
        justify-content: center !important;
    }

    #section1 .brand-lab-image {
        width: min(96vw, 1820px) !important;
        min-height: auto !important;
        max-height: 58vh !important;
        transform: none !important;
        object-fit: contain !important;
    }

    #section1 .section1-copy {
        bottom: 4.25rem !important;
    }
}

.section-shell-top {
    padding-top: 90px !important;
}

.illustrator-watermark {
    left: -10%;
    right: auto;
    width: 120%;
    height: 120%;
    top: -50px;
    opacity: 0.09;
}

.section-label-offset {
    margin-top: 60px !important;
}

.floating-whatsapp-button {
    position: fixed !important;
    right: 1rem !important;
    left: auto !important;
    bottom: 1rem !important;
    z-index: 12000 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    padding: 0.78rem 1.15rem 0.78rem 0.78rem !important;
    border: 2px solid #111111 !important;
    border-radius: 999px !important;
    background: #ff5a1f !important;
    color: #111111 !important;
    text-decoration: none !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22) !important;
    transform: none !important;
}

.floating-whatsapp-button:hover {
    transform: translateY(-2px) !important;
}

.floating-whatsapp-button__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    border: 1px solid #111111 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #ff5a1f !important;
    flex: 0 0 auto !important;
}

.floating-whatsapp-button__svg {
    width: 1.4rem !important;
    height: 1.4rem !important;
    display: block !important;
}

.floating-whatsapp-button__label {
    display: block !important;
    line-height: 1 !important;
    text-align: left !important;
}

.floating-whatsapp-button__title {
    display: block !important;
    font-size: 0.98rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

@media (min-width: 769px) {
    #section7 > .max-w-7xl {
        padding-top: 2.2rem !important;
    }

    .floating-whatsapp-button {
        right: 1.4rem !important;
        bottom: 1.35rem !important;
    }

    #section5 > .max-w-7xl > .grid {
        margin-bottom: -1.6rem !important;
    }

    #section5 .gallery-wrapper {
        margin-top: -1.2rem !important;
    }

    #section2 > .z-10 {
        transform: translateY(-1.35rem) !important;
    }

    #section2 .gallery-wrapper {
        top: -1.35rem !important;
    }
}

@media (max-width: 768px) {
    #floatingWhatsappButton {
        display: none !important;
    }

    #mobileFloatingContact {
        display: inline-flex !important;
    }

    .floating-whatsapp-button__icon {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    .floating-whatsapp-button__svg {
        width: 1.16rem !important;
        height: 1.16rem !important;
    }

    .floating-whatsapp-button__title {
        font-size: 0.84rem !important;
        letter-spacing: 0.05em !important;
    }

}

@media (min-width: 769px) {
    #mobileFloatingContact {
        display: none !important;
    }
}

.illustrator-mobile-svg-top[aria-hidden="true"] {
    top: 2.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem !important;
    max-width: 1rem !important;
    height: auto !important;
    z-index: 120;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.illustrator-mobile-svg-bottom[aria-hidden="true"] {
    bottom: 2.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.15rem !important;
    max-width: 1.15rem !important;
    height: auto !important;
    z-index: 120;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.streetwear-ornament-left {
    top: 7%;
    left: 20%;
    width: 70px;
}

.streetwear-ornament-right {
    bottom: 14%;
    right: 2.5%;
    width: 110px;
}

.streetwear-gallery-tilt {
    transform: translate(-7%, -20%) rotate(5deg);
}

@media (min-width: 769px) {
    #section2 .flex-\[1\.5\] {
        min-width: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    #section2 .gallery-wrapper {
        position: relative !important;
        right: -4rem !important;
        top: 2rem !important;
        width: 52vw !important;
        max-width: 100% !important;
        height: 92vh !important;
        margin-left: auto !important;
        overflow: visible !important;
        z-index: 1 !important;
    }

    #section2 .streetwear-gallery-tilt {
        transform: translate(0, 0) rotate(5deg) !important;
        height: 92vh !important;
    }

    #section2 .gallery_line,
    #section2 .gallery_line img {
        opacity: 1 !important;
        visibility: visible !important;
    }

    #section2 .gallery_line img {
        display: block !important;
    }
}

.schedule-note-break {
    display: block;
    margin-top: 0.18rem;
}

.visually-hidden-anchor {
    display: none;
}

@media (max-width: 768px) {
    html,
    body {
        scroll-snap-type: none !important;
        scroll-behavior: smooth !important;
    }

    :root {
        --mobile-uniform-top: 1rem;
        --mobile-uniform-bottom: 0.4rem;
    }

    .static-dots-container.static-dots-painted {
        display: block !important;
        background-image: radial-gradient(circle, rgba(0, 0, 0, 0.16) 1.7px, transparent 1.8px);
        background-size: 22px 22px;
        background-position: center top;
        background-repeat: repeat;
        padding: 0 !important;
    }

    #section2 .static-dots-container.static-dots-painted {
        background-image: radial-gradient(circle, rgba(0, 0, 0, 0.14) 1.6px, transparent 1.75px);
    }

    #section6 .static-dots-container.static-dots-painted {
        background-image: radial-gradient(circle, rgba(0, 0, 0, 0.15) 1.65px, transparent 1.8px);
    }

    .static-dots-container.static-dots-painted .static-dot {
        display: none !important;
    }

    #cursos-serigrafia,
    #section5,
    #section7 {
        content-visibility: auto;
        contain-intrinsic-size: 1000px;
    }

    #cursos-serigrafia .curso-flip-card,
    #section5 .gallery_line {
        content-visibility: auto;
        contain-intrinsic-size: 320px;
    }

    #section2,
    #section6,
    #section2 .gallery_line,
    #section6 .calendar-grid {
        content-visibility: visible;
        contain-intrinsic-size: auto;
    }

    #section2,
    #section6 {
        opacity: 1 !important;
    }

    #section1 {
        min-height: 100svh !important;
        height: 100svh !important;
    }

    #section1 .scene {
        min-height: 100svh !important;
        height: 100svh !important;
    }

    #section1 img[alt="GoroLab"] {
        transform: scale(2.1) translateY(0.55rem) !important;
    }

    #section1 .carousel .card {
        background: transparent !important;
        border: 0 !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
        backface-visibility: visible !important;
        -webkit-backface-visibility: visible !important;
        transform-style: preserve-3d !important;
    }

    #section1 .carousel .card img {
        transform: scale(1.12) !important;
        object-fit: cover !important;
        background: transparent !important;
        backface-visibility: visible !important;
        -webkit-backface-visibility: visible !important;
    }

    #section1 .carousel {
        top: 56% !important;
        left: 51% !important;
    }

    /* Uniformidad real del arranque superior en mobile */
    #section2 > .z-10,
    #cursos-serigrafia > .z-10,
    #section5 > .max-w-7xl,
    #section6 > .max-w-7xl,
    #section7 > .max-w-7xl {
        padding-top: var(--mobile-uniform-top) !important;
        padding-bottom: var(--mobile-uniform-bottom) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        top: auto !important;
        transform: none !important;
    }

    .main-container > section#section2,
    body.mobile-scrolltrigger .main-container > section#section2,
    #section2 {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: 94svh !important;
        max-height: none !important;
        scroll-snap-stop: normal !important;
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
        justify-content: flex-start !important;
    }

    #section2 > .z-10 {
        min-height: calc(94svh - 0.6rem) !important;
        height: auto !important;
        max-height: none !important;
        justify-content: flex-start !important;
        align-items: center !important;
        align-content: flex-start !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
        padding-top: var(--mobile-uniform-top) !important;
        padding-bottom: 0.4rem !important;
        gap: 0.55rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #section2 > .z-10 > .flex-1 {
        justify-content: flex-start !important;
        margin-bottom: 0 !important;
        align-self: center !important;
        gap: 0.85rem !important;
    }

    #section2 > .z-10 > .flex-1 > p:first-child,
    #section2 > .z-10 > .flex-1 > .border-4 {
        margin-top: 0 !important;
    }

    #cursos-serigrafia {
        justify-content: center !important;
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }

    #cursos-serigrafia > .z-10 {
        padding-top: var(--mobile-uniform-top) !important;
        padding-bottom: 0.55rem !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
        justify-content: center !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    #cursos-serigrafia .cursos-grid {
        gap: 0.6rem !important;
    }

    #cursos-serigrafia .curso-flip-card {
        min-height: 32.4rem !important;
        max-height: 32.4rem !important;
    }

    #cursos-serigrafia .curso-flip-front {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        justify-content: center !important;
        gap: 0.8rem !important;
    }

    #cursos-serigrafia .curso-flip-front-media {
        min-height: 11.35rem !important;
        max-height: 11.35rem !important;
    }

    #cursos-serigrafia .curso-flip-front-body,
    #cursos-serigrafia .curso-flip-back-inner {
        gap: 0.18rem !important;
    }

    #cursos-serigrafia .curso-flip-front-body {
        min-height: 8.45rem !important;
        padding-top: 0.95rem !important;
        padding-bottom: 1.05rem !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    #cursos-serigrafia .curso-flip-front-body h3 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }

    #cursos-serigrafia .curso-flip-hint {
        margin-top: 0.35rem !important;
        align-self: center !important;
    }

    #cursos-serigrafia > .z-10 > p:first-of-type {
        margin-top: 0 !important;
    }

    #section5 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: auto !important;
        height: auto !important;
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }

    #section5 .illustrator-mobile-svg {
        display: block !important;
        width: 2.9rem !important;
        max-width: 2.9rem !important;
        min-width: 2.9rem !important;
        height: auto !important;
        flex: none !important;
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18)) !important;
    }

    #section5 .illustrator-mobile-svg.illustrator-mobile-svg-bottom {
        width: 3.35rem !important;
        max-width: 3.35rem !important;
        min-width: 3.35rem !important;
    }

    #section5 > .max-w-7xl,
    #section5 > .max-w-7xl[style] {
        width: 100% !important;
        min-height: auto !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
        padding-top: var(--mobile-uniform-top) !important;
        padding-bottom: 0.4rem !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
        align-self: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #section5 > .max-w-7xl > .grid {
        margin-top: 0 !important;
        align-items: flex-start !important;
        gap: 0.6rem !important;
    }

    #section5 {
        padding-bottom: 0.2rem !important;
        margin-bottom: 0 !important;
    }

    #section5 .space-y-6.relative.z-10 > .inline-block.mt-8 {
        margin-top: 0 !important;
    }

    #section5 .space-y-6.relative.z-10 {
        padding-top: 0 !important;
        margin-top: 0 !important;
        align-self: center !important;
    }

    #section5 > .z-20 {
        transform: none !important;
        align-items: center !important;
    }

    #section5 > .max-w-7xl > .grid {
        align-items: center !important;
    }

    #section5 > .max-w-7xl > .grid > div:last-child {
        align-self: center !important;
    }

    #section1,
    #section2,
    #cursos-serigrafia,
    #section5,
    #section6,
    #section7 {
        scroll-margin-top: 0 !important;
    }

    #section6 > .max-w-7xl,
    #section6 > .max-w-7xl[style] {
        padding-top: var(--mobile-uniform-top) !important;
        padding-bottom: 0.7rem !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        transform: none !important;
    }

    #section6 .space-y-4 > .inline-flex.items-center.gap-2 {
        margin-top: 0 !important;
    }

    #section6 .space-y-4 {
        padding-top: 0 !important;
        margin-top: 0 !important;
        gap: 0.5rem !important;
    }

    #section6 > .max-w-7xl > .grid {
        gap: 0.55rem !important;
    }

    #section6 .two-boxes-wrap,
    #section6 .continuous-gallery {
        margin-bottom: 0.45rem !important;
    }

    #section6 {
        margin-top: 0 !important;
        padding-top: 0.8rem !important;
    }

    #section7 {
        margin-top: 0 !important;
    }

    #section7 > .max-w-7xl {
        padding-top: calc(var(--mobile-uniform-top) - 1rem) !important;
        padding-bottom: var(--mobile-uniform-bottom) !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #section7 .text-center.mb-12 > .inline-flex {
        margin-top: 0 !important;
    }

    #section7 .text-center.mb-12 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    #section2,
    #cursos-serigrafia,
    #section5,
    #section6,
    #section7 {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    #section2 {
        padding-top: 0.35rem !important;
        margin-bottom: -3.4rem !important;
        overflow: visible !important;
    }

    #section2 .flex-\[1\.5\],
    #section2 .gallery-wrapper {
        margin-bottom: 0 !important;
    }

    #section1 {
        margin-bottom: -2px !important;
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    #section1 .scene,
    #section1 .bouncy-container {
        margin-bottom: 0 !important;
        border-bottom: 0 !important;
    }

    #cursos-serigrafia {
        margin-top: -2px !important;
        border-top: 0 !important;
    }

    #section2 .flex-\[1\.5\] {
        align-self: center !important;
        width: 100% !important;
        display: block !important;
        min-height: 14.6rem !important;
    }

    #section2 .gallery-wrapper {
        position: relative !important;
        right: 0 !important;
        width: calc(100% + 8%) !important;
        margin-left: -4% !important;
        min-height: 15.8rem !important;
        height: 15.8rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        overflow: hidden !important;
    }

    #section2 .v-gallery {
        width: 100% !important;
        min-height: 15rem !important;
        height: 15rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        transform: none !important;
    }

    #section2 .v-gallery {
        gap: 1.25rem !important;
    }

    #section2 .gallery_line {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.7rem !important;
        margin-bottom: 0 !important;
        width: max-content !important;
        opacity: 1 !important;
        min-height: 5.95rem !important;
        align-items: center !important;
        animation: slideHorizontalMobile 22s linear infinite !important;
        animation-play-state: running !important;
        will-change: transform !important;
        margin-top: 0 !important;
    }

    #section2 .gallery_line:nth-child(2) {
        animation-direction: reverse !important;
        animation-duration: 25s !important;
    }

    #section2 .gallery_line:nth-child(3),
    #section2 .gallery_line:nth-child(4) {
        display: none !important;
    }

    #section2 .gallery_line img {
        width: 7rem !important;
        min-width: 7rem !important;
        height: 5.2rem !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        object-fit: cover !important;
    }

    #section2 .streetwear-ornament-right {
        top: 0.55rem !important;
        right: 0.85rem !important;
        bottom: auto !important;
        left: auto !important;
        width: 3.9rem !important;
    }

    #section2 .streetwear-ornament-left {
        top: auto !important;
        bottom: 0.8rem !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 2.9rem !important;
    }

    #section2 .gallery-wrapper,
    #section6 > .max-w-7xl > .grid > div:last-child {
        content-visibility: auto;
        contain-intrinsic-size: 320px;
    }

    #section6,
    #section6 > .max-w-7xl,
    #section6 > .section-shell-top,
    #section6 .grid.grid-cols-1.lg\:grid-cols-2 > div:nth-child(2) {
        content-visibility: auto;
        contain-intrinsic-size: 720px;
    }
}

body.calendar-modal-open {
    overflow: hidden !important;
}

.calendar-event-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
}

.calendar-event-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.calendar-event-modal__dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(92vw, 26rem);
    max-height: min(80vh, 34rem);
    overflow-y: auto;
    transform: translate(-50%, -50%);
    background: #fff7cc;
    border: 1px solid rgba(0, 0, 0, 0.18);
    padding: 0.95rem 0.9rem 0.85rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.calendar-event-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-bottom: 0.7rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #ffffff;
    padding: 0.35rem 0.65rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calendar-event-modal__content .split-info-box {
    display: block !important;
}

.gazette-video-shell {
    position: relative;
    isolation: isolate;
}

.gazette-video-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.55rem;
    width: 100%;
    padding: 1rem;
    border: 0;
    background:
        linear-gradient(180deg, rgba(255, 209, 0, 0.06) 0%, rgba(0, 0, 0, 0.72) 100%),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.24) 0%, transparent 48%),
        #d1d5db;
    color: #111;
    text-align: left;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.gazette-video-poster.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.gazette-video-poster__eyebrow,
.gazette-video-poster__title,
.gazette-video-poster__play {
    display: inline-flex;
}

.gazette-video-poster__eyebrow {
    padding: 0.2rem 0.4rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(17, 17, 17, 0.12);
    font: 900 0.58rem/1 'Space Grotesk', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gazette-video-poster__title {
    max-width: 13rem;
    color: #fff;
    font: 900 clamp(1.1rem, 3vw, 1.45rem)/0.95 'Montserrat', sans-serif;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.gazette-video-poster__play {
    padding: 0.45rem 0.8rem;
    background: #ffd100;
    border: 1px solid #111;
    color: #111;
    font: 900 0.72rem/1 'Space Grotesk', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Reemplazo de estilos antes inyectados desde support.js */
@media screen and (max-width: 1200px) {
    section {
        padding: 1.5rem 2rem !important;
    }

    .container,
    .max-w-7xl {
        padding: 0 1.5rem !important;
    }

    h1,
    h2 {
        font-size: clamp(2rem, 3.5vw, 3.5rem) !important;
    }

    p,
    .text-lg {
        font-size: clamp(0.95rem, 1.5vw, 1.1rem) !important;
    }

    #section1 h1,
    #section1 h2 {
        font-size: clamp(1.2rem, 2vw, 2rem) !important;
    }

    #section1 p,
    #section1 .text-lg {
        font-size: clamp(0.75rem, 1vw, 0.9rem) !important;
    }

    #section5 .w-full.z-20.text-left {
        margin-left: 50px !important;
        padding-top: 12rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 60vh !important;
    }

    #section5 h1 {
        font-size: clamp(3rem, 5vw, 8rem) !important;
    }

    #section5 .gallery-wrapper {
        position: absolute !important;
        right: -10% !important;
        top: -50px !important;
        transform: scale(0.8) !important;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 1rem 1.5rem !important;
    }

    .container,
    .max-w-7xl {
        padding: 0 1rem !important;
    }

    h1,
    h2 {
        font-size: clamp(1.5rem, 2.5vw, 2.5rem) !important;
    }

    p,
    .text-lg {
        font-size: clamp(0.85rem, 1.2vw, 1rem) !important;
    }

    #section5 .w-full.z-20.text-left {
        margin-left: 0 !important;
        padding-top: 2rem !important;
        text-align: center !important;
    }

    #section5 h1 {
        font-size: clamp(2rem, 4vw, 4rem) !important;
    }

    #section5 .gallery-wrapper {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: scale(0.7) !important;
        margin: 2rem auto 0 !important;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 0.75rem 1rem !important;
    }

    .container,
    .max-w-7xl {
        padding: 0 0.75rem !important;
    }

    h1,
    h2 {
        font-size: clamp(1.25rem, 2vw, 2rem) !important;
    }

    p,
    .text-lg {
        font-size: clamp(0.8rem, 1.1vw, 0.95rem) !important;
    }

    img,
    video {
        max-width: 100% !important;
        height: auto !important;
    }

    #section5 .w-full.z-20.text-left {
        margin-left: 0 !important;
        padding-top: 1.5rem !important;
        text-align: center !important;
    }

    #section5 h1 {
        font-size: clamp(1.5rem, 3vw, 3rem) !important;
        line-height: 1.1 !important;
    }

    #section5 .grid {
        margin-top: 1rem !important;
        max-width: 100% !important;
    }

    #section5 .gallery-wrapper {
        transform: scale(0.5) !important;
        margin: 1rem auto 0 !important;
    }

    #section5 .gallery_line img {
        width: 60px !important;
        height: 60px !important;
    }
}


@media screen {
    #section1 .brand {
        transform: translateY(calc(-4.5rem + 100px)) scale(0.3) !important;
    }

    #section1 .carousel {
        transform: translate(-50%, calc(-50% + 100px)) rotateX(-3deg) rotateZ(-35deg) !important;
    }
}


@media screen and (min-width: 1025px) and (max-width: 1400px) {
    #section1 .brand {
        transform: translateY(calc(-4.5rem + 100px)) scale(0.3) !important;
    }

    #section1 .carousel {
        transform: translate(-50%, calc(-50% + 100px)) rotateX(-3deg) rotateZ(-35deg) !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    #section1 .brand {
        transform: translateY(calc(-3.5rem + 100px)) scale(0.3) !important;
    }

    #section1 .carousel {
        transform: translate(-50%, calc(-50% + 100px)) rotateX(-3deg) rotateZ(-35deg) !important;
    }
}

@media screen and (max-width: 768px) {
    #section1 .brand {
        transform: translateX(-50%) translateY(calc(-50% + 132px)) scale(0.95) !important;
    }

    #section1 .carousel {
        top: 60% !important;
        bottom: auto !important;
        left: 55% !important;
        transform: translate(-50%, -50%) rotateX(-3deg) rotateZ(-35deg) !important;
    }
}

@media screen and (max-width: 480px) {
    #section1 .brand {
        transform: translateX(-50%) translateY(calc(-50% + 126px)) scale(1.02) !important;
    }

    #section1 .carousel {
        top: 58% !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translate(-50%, -50%) rotateX(-3deg) rotateZ(-35deg) !important;
    }
}

@media screen and (min-width: 769px) {
    #section1 .brand {
        width: min(96vw, 1820px) !important;
        justify-content: center !important;
        transform: translateY(calc(-4.5rem + 84px)) scale(0.56) !important;
        transform-origin: center center !important;
    }

    #section1 .brand-lab-image {
        width: min(96vw, 1820px) !important;
        min-height: auto !important;
        max-height: 68vh !important;
        transform: none !important;
        object-fit: contain !important;
    }

    #section1 .section1-copy {
        top: 18% !important;
        bottom: auto !important;
    }
}

/* ============================================================================
   CALENDAR/GAZETTE MOBILE FINAL - Clean Root Fix
   ============================================================================ */
@media (max-width: 768px) {
    #section6,
    #section6.section-calendar-bg {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: relative !important;
        padding: 0 0 5px !important;
    }

    #section6 .section-shell-top,
    #section6 .max-w-7xl {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: relative !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #section6 .grid.grid-cols-1.lg\:grid-cols-2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: relative !important;
    }

    #section6 .grid.grid-cols-1.lg\:grid-cols-2 > div {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: relative !important;
        transform: none !important;
        margin: 0 !important;
        z-index: auto !important;
    }

    #section6 .grid.grid-cols-1.lg\:grid-cols-2 > div:nth-child(1) {
        order: 1 !important;
    }

    #section6 .grid.grid-cols-1.lg\:grid-cols-2 > div:nth-child(2) {
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.1rem !important;
        margin-top: -62px !important;
    }

    #section6 .border.border-gray-400.bg-white\/30,
    #section6 .border.border-gray-400.bg.white\/40,
    #section6 .bg-white.border.border-gray-400.p-5 {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: relative !important;
    }

    #section6 .border.border.gray-400.bg.white\/30 {
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0px !important;
    }

    #section6 .space-y-4 {
        gap: 0.14rem !important;
    }

    #section6 .space-y-2 {
        gap: 0.1rem !important;
    }

    #section6 .bg-white.border.border-gray-400.p-5 {
        padding: 0.44rem !important;
    }

    #section6 .border.border-gray-400.bg-white\/40.p-4.min-h-\[180px\] {
        padding: 0.44rem !important;
        min-height: 0 !important;
    }

    #section6 .border.border-gray-400.bg-white\/30.p-4.space-y-3.group {
        padding: 0.44rem !important;
    }

    #section6 .inline-flex.items-center.gap-2,
    #section6 .inline-block.mt-8 {
        margin-bottom: 0 !important;
    }

    #section6 h2 {
        margin-bottom: 0.15rem !important;
        font-size: clamp(1.3rem, 5.1vw, 1.72rem) !important;
    }

    #section6 p.text-black.text-sm.font-\[\'Inter\'\].max-w-sm.leading-relaxed {
        margin-bottom: 0.15rem !important;
        font-size: 0.58rem !important;
        line-height: 1.06 !important;
    }

    #section6 .inline-flex.items-center.gap-2 {
        font-size: 0.46rem !important;
        padding: 0.18rem 0.38rem !important;
        transform: translateY(8px) !important;
    }

    #section6 .bg-white.border.border-gray-400.p-5 h3 {
        font-size: 0.56rem !important;
    }

    #section6 .bg-white.border.border-gray-400.p-5 span.text-\[9px\] {
        font-size: 0.4rem !important;
    }

    #section6 .grid.grid-cols-7.gap-1\.5 {
        gap: 0.18rem !important;
    }

    #section6 .grid.grid-cols-7.gap-1\.5 > button {
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
        font-size: 0.48rem !important;
    }

    #section6 #contenedor-split-eventos h4,
    #section6 .split-info-box h4 {
        font-size: 0.64rem !important;
        line-height: 1.08 !important;
    }

    #section6 #contenedor-split-eventos p,
    #section6 .split-info-box p {
        font-size: 0.5rem !important;
        line-height: 1.04 !important;
    }

    #section6 .inline-block.mt-8 {
        margin-top: 0.2rem !important;
        font-size: 0.41rem !important;
        padding: 0.16rem 0.36rem !important;
    }

    #section6 .border.border-gray-400.bg-white\/30.p-4.space-y-3.group h3 {
        font-size: 0.64rem !important;
        line-height: 1.08 !important;
    }

    #section6 .border.border-gray-400.bg-white\/30.p-4.space-y-3.group p,
    #section6 .space-y-2 > p.text-black.text-xs.font-\[\'Inter\'\] {
        font-size: 0.5rem !important;
        line-height: 1.04 !important;
    }

    #section6 .space-y-2 > form.flex.gap-2 {
        gap: 0.28rem !important;
    }

    #section6 .space-y-2 > form.flex.gap-2 input,
    #section6 .space-y-2 > form.flex.gap-2 button {
        min-height: 1.6rem !important;
        height: 1.6rem !important;
        font-size: 0.43rem !important;
    }

    #section6 .aspect-\[16\/9\] {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        overflow: hidden !important;
        position: relative !important;
        min-height: 12.75rem !important;
        background: rgba(0, 0, 0, 0.08) !important;
    }

    #section6 .gazette-video-shell {
        min-height: 12.75rem !important;
    }

    #section6 video {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        display: block !important;
        background: #d1d5db !important;
    }

    #section7 {
        position: relative !important;
        clear: both !important;
        margin-top: 0 !important;
    }
}

/* ============================================================================
   CALENDAR MOBILE SAFETY PASS
   Mantiene todos los elementos visibles dentro de la sección
   ============================================================================ */
@media (max-width: 768px) {
    body.mobile-scrolltrigger .main-container > section#section6,
    .main-container > section#section6,
    #section6,
    #section6.section-calendar-bg {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 1rem !important;
        padding-bottom: 5.25rem !important;
        background: #ffd100 !important;
        z-index: 1 !important;
        position: relative !important;
    }

    #section6::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: -2.8rem !important;
        height: 4.5rem !important;
        background: #ffd100 !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }

    #section6 > .max-w-7xl,
    #section6 > .section-shell-top,
    #section6 > .max-w-7xl[style] {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 1rem !important;
        padding-bottom: 2.75rem !important;
        transform: none !important;
        overflow: visible !important;
        background: transparent !important;
        position: relative !important;
        z-index: 1 !important;
    }

    #section6 > .max-w-7xl > .grid,
    #section6 .grid.grid-cols-1.lg\:grid-cols-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
    }

    #section6 > .max-w-7xl > .grid > div,
    #section6 .grid.grid-cols-1.lg\:grid-cols-2 > div {
        margin: 0 !important;
        transform: none !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #section6 .grid.grid-cols-1.lg\:grid-cols-2 > div:nth-child(2) {
        margin-top: 0 !important;
        gap: 0.85rem !important;
    }

    #section6 .space-y-4,
    #section6 .border.border-gray-400.bg-white\/40.p-4.min-h-\[180px\],
    #section6 .border.border-gray-400.bg-white\/30.p-4.space-y-3.group,
    #section6 .bg-white.border.border-gray-400.p-5 {
        margin-bottom: 0 !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #section6 #contenedor-split-eventos,
    #section6 .split-info-box {
        display: block !important;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    body.mobile-scrolltrigger .main-container > section#section7,
    .main-container > section#section7,
    #section7 {
        margin-top: 0 !important;
        padding-top: 1.1rem !important;
        position: relative !important;
        z-index: 2 !important;
        background: #f3f1ec !important;
    }
}

/* ============================================================================
   CALENDAR MOBILE LEAN PASS
   Reduce trabajo de layout, blur y transiciones en section6
   ============================================================================ */
@media (max-width: 768px) {
    #section6,
    #section6 > .max-w-7xl,
    #section6 > .section-shell-top,
    #section6 .grid.grid-cols-1.lg\:grid-cols-2 > div,
    #section6 .bg-white.border.border-gray-400.p-5,
    #section6 .border.border-gray-400.bg-white\/30.p-4.space-y-3.group,
    #section6 .border.border-gray-400.bg-white\/40.p-4.min-h-\[180px\] {
        contain: layout paint style !important;
    }

    #section6 .relative.overflow-hidden.aspect-\[16\/9\].bg-gray-400\/10.border.border-gray-400 > div.absolute.inset-0,
    #section6 .border.border-gray-400.bg-white\/30.p-4.space-y-3.group .absolute.inset-0 {
        display: none !important;
    }

    #section6 video,
    #section6 .group video {
        filter: none !important;
        opacity: 1 !important;
        transition: none !important;
        will-change: auto !important;
    }

    #section6 .group,
    #section6 .group * {
        transition-property: none !important;
        animation: none !important;
    }

    #section6 .border.border-gray-400.bg-white\/30.p-4.space-y-3.group,
    #section6 .bg-white.border.border-gray-400.p-5 {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    #section6 .space-y-4,
    #section6 .space-y-2,
    #section6 .split-info-box,
    #section6 .grid.grid-cols-7,
    #section6 .grid.grid-cols-1.lg\:grid-cols-2 {
        will-change: auto !important;
    }

    .calendar-event-modal__backdrop {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(0, 0, 0, 0.58) !important;
    }

    .calendar-event-modal__dialog {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
    }
}

/* ============================================================================
   HERO -> CURSOS JOIN FIX
   Elimina la franja gris entre portada y cursos
   ============================================================================ */
#section1 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

#section1 .scene,
#section1 .bouncy-container {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
}

#cursos-serigrafia {
    margin-top: -1px !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

/* ============================================================================
   MOBILE SECTION STABILIZER
   Devuelve el orden visual y evita que los bloques se salgan de su área
   ============================================================================ */
@media (max-width: 768px) {
    body.mobile-scrolltrigger .main-container > section#cursos-serigrafia,
    .main-container > section#cursos-serigrafia,
    #cursos-serigrafia,
    body.mobile-scrolltrigger .main-container > section#section5,
    .main-container > section#section5,
    #section5,
    body.mobile-scrolltrigger .main-container > section#section6,
    .main-container > section#section6,
    #section6,
    body.mobile-scrolltrigger .main-container > section#section7,
    .main-container > section#section7,
    #section7 {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    #cursos-serigrafia > .z-10,
    #section5 > .max-w-7xl,
    #section6 > .max-w-7xl,
    #section7 > .max-w-7xl {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        transform: none !important;
    }

    #section5 > .max-w-7xl {
        padding-top: 0.8rem !important;
    }

    #section6 {
        padding-top: 1rem !important;
        padding-bottom: 1.2rem !important;
    }

    #section6 > .max-w-7xl {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #section7 {
        padding-top: 0.25rem !important;
    }

    #section7 > .max-w-7xl {
        padding-top: 0.05rem !important;
    }
}

/* ============================================================================
   DEFERRED SECTION PAINT
   Reduce el costo inicial de render fuera del hero
   ============================================================================ */
@media (max-width: 768px) {
    #section2,
    #section5,
    #section6,
    #section7 {
        content-visibility: auto;
        contain-intrinsic-size: 900px;
    }
}

@media (max-width: 768px) {
    #section6 > .max-w-7xl,
    #section6 > .section-shell-top {
        transform: translateY(-38px) !important;
    }
}

@media (max-width: 768px) {
    #section5,
    body.mobile-scrolltrigger .main-container > section#section5,
    .main-container > section#section5 {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 1.25rem !important;
        padding-bottom: 1rem !important;
        overflow: visible !important;
    }

    #section5 > .max-w-7xl,
    #section5 > .section-shell-top,
    #section5 > .max-w-7xl[style] {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.75rem !important;
        transform: none !important;
    }

    #section5 > .max-w-7xl > .grid {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        gap: 0.9rem !important;
        transform: none !important;
        align-items: center !important;
    }

    #section5 .space-y-6.relative.z-10,
    #section5 .w-full.lg\:max-w-xl,
    #section5 > .z-20 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        transform: none !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #section5 .space-y-6.relative.z-10 {
        gap: 0.75rem !important;
        padding-top: 0 !important;
        text-align: center !important;
        align-items: center !important;
    }

    #section5 .space-y-6.relative.z-10 > .inline-block.mt-8 {
        margin-top: 0.2rem !important;
        margin-bottom: 0.15rem !important;
        transform: none !important;
    }

    #section5 .relative.group {
        margin-top: 0.45rem !important;
        padding: 0.55rem !important;
        border: 1px solid rgba(17, 24, 39, 0.2) !important;
        background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(243,241,236,0.9)) !important;
        box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08) !important;
    }

    #section5 .aspect-video,
    #section5 iframe,
    #section5 video,
    #section5 .mt-4.border-l-4 {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #section5 .relative.group > .absolute.-inset-1 {
        display: none !important;
    }

    #section5 .relative.group > .relative.bg-white\/90 {
        border: 1px solid rgba(17, 24, 39, 0.16) !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55) !important;
    }

    #section5 .mt-4.border-l-4 {
        border-left-width: 3px !important;
        border-color: #ff5a1f !important;
        background: rgba(255,255,255,0.62) !important;
        padding: 0.7rem 0.8rem !important;
        box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06) !important;
    }
}
