/* Base */
.sl-about {
    width: 100%;
    min-width: 0;
    padding: 0;
    color: #195995;
    background: #fff;
    font-family: inherit;
}

.sl-about,
.sl-about * {
    box-sizing: border-box;
}

.sl-about-container {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.sl-about h1,
.sl-about h2,
.sl-about h3,
.sl-about p,
.sl-about figure {
    margin: 0;
}

.sl-about h1,
.sl-about h2,
.sl-about h3 {
    color: inherit;
    font-family: inherit;
}

.sl-about p {
    font-size: 16px;
    line-height: 1.75;
}

.sl-about p + p {
    margin-top: 18px;
}

.sl-about .sl-about-eyebrow {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Presentación */
.sl-about-hero {
    padding: 72px 0;
    background: #f5f5f5;
}

.sl-about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.sl-about h1 {
    margin-bottom: 24px;
    font-size: clamp(38px, 4.8vw, 64px);
    font-weight: 700;
    line-height: 1.08;
}

.sl-about .sl-about-lead {
    margin-bottom: 24px;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 500;
    line-height: 1.35;
}

.sl-about-intro {
    margin-bottom: 30px;
}

.sl-about-hero-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 22px;
}

.sl-about .sl-about-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-about-brand-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
    min-height: 480px;
    padding: 42px;
    border-radius: 22px;
    color: #195995;
    background: #89dad8;
}

.sl-about-brand-name {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.sl-about .sl-about-brand-panel p {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.25;
}

/* Botones y enlaces */
.sl-about .sl-about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border: 1px solid #6fa3a8;
    border-radius: 7px;
    background: #6fa3a8;
    color: #102f42;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.sl-about .sl-about-button:hover {
    border-color: #195995;
    background: #195995;
    color: #fff;
}

.sl-about .sl-about-text-link {
    display: inline-block;
    margin-top: 24px;
    color: #195995;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.sl-about a:focus-visible {
    outline: 3px solid #195995;
    outline-offset: 5px;
}

/* Historia */
.sl-about-story {
    padding: 88px 0;
}

.sl-about-story-grid,
.sl-about-collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.sl-about h2 {
    font-size: 35px;
    font-weight: 600;
    line-height: 1.2;
}

/* Propuesta */
.sl-about-values {
    padding: 0 0 88px;
}

.sl-about-section-heading {
    max-width: 650px;
    margin-bottom: 36px;
}

.sl-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sl-about-card {
    padding: 30px;
    border-radius: 16px;
}

.sl-about-card-quality {
    background: #dfe6ed;
}

.sl-about-card-comfort {
    background: #89dad8;
}

.sl-about-card-design {
    background: #d7abd9;
}

.sl-about-card-number {
    display: block;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 700;
}

.sl-about h3 {
    margin-bottom: 16px;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
}

/* Colección */
.sl-about-collection {
    padding: 72px 0;
    background: #a9c6ef;
}

/* Cierre */
.sl-about-closing {
    padding: 200px 0;
    text-align: center;
}

.sl-about-closing h2 {
    max-width: 820px;
    margin: 0 auto 30px;
}

/* Tablet y mobile */
@media (max-width: 800px) {
    .sl-about-container {
        width: calc(100% - 40px);
    }

    .sl-about-hero {
        padding: 44px 0;
    }

    .sl-about-hero-grid,
    .sl-about-story-grid,
    .sl-about-collection-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sl-about-values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sl-about-hero-image {
        max-height: 560px;
    }

    .sl-about-brand-panel {
        min-height: 320px;
        padding: 30px;
    }

    .sl-about-story,
    .sl-about-collection,
    .sl-about-closing {
        padding: 56px 0;
    }

    .sl-about-values {
        padding-bottom: 56px;
    }

    .sl-about-card {
        padding: 26px;
    }

    .sl-about-card-number {
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sl-about .sl-about-button {
        transition: none;
    }
}

/* Texto blanco en botones */
.sl-about .sl-about-button,
.sl-about .sl-about-button:visited {
    color: #fff;
}

/* Video */
.sl-about .sl-about-brand-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.sl-about-brand-panel:empty {
    display: none;
}

.sl-about-social-video {
    display: block;
    width: 100%;
    max-height: 680px;
    border-radius: 22px;
    background: #1d2b42;
}

.sl-about-brand-panel iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

.sl-about-brand-panel > .sl-about-image {
    width: 100%;
    height: auto;
    border-radius: 22px;
}

/* Evitar que el carrusel ensanche las columnas */
.sl-about-story-grid > div,
.sl-about-story-copy {
    min-width: 0;
}

/* Carrusel */
.sl-about-carousel {
    margin-top: 30px;
}

.sl-about-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 10px;
}

.sl-about-carousel-slide {
    min-width: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    scroll-snap-align: start;
}

.sl-about-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-about-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.sl-about-carousel-controls[hidden] {
    display: none;
}

.sl-about .sl-about-carousel-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #195995;
    border-radius: 50%;
    background: transparent;
    color: #195995;
    font-size: 22px;
    line-height: 1;
}

.sl-about .sl-about-carousel-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}

.sl-about-carousel-track:focus-visible,
.sl-about-carousel-controls button:focus-visible {
    outline: 3px solid #195995;
    outline-offset: 3px;
}

/* Botones por público: cuatro columnas */
.sl-about-audiences {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.sl-about-audiences .sl-about-button {
    min-width: 0;
    padding: 13px 6px;
    font-size: 14px;
}

/* Secciones a todo el ancho de la pantalla */
.sl-about-collection,
.sl-about-closing {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Cierre con fondo fotográfico */
.sl-about-closing {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #dfe6ed;
}

.sl-about-closing-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sl-about-closing-has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(29 43 66 / 65%);
}

.sl-about-closing-has-image {
    color: #fff;
}

.sl-about-closing-has-image a:focus-visible {
    outline-color: #fff;
}

@media (max-width: 800px) {
    .sl-about-carousel-track {
        grid-auto-columns: calc((100% - 12px) / 2);
    }
}

@media (max-width: 600px) {
    .sl-about-carousel-track {
        grid-auto-columns: 82%;
    }

    .sl-about-social-video {
        max-height: 580px;
    }
}

.sl-about-hero {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Reel de Instagram */
.sl-about .sl-about-brand-panel {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    padding: 0;
    background: transparent;
}

.sl-about-brand-panel .instagram-media,
.sl-about-brand-panel iframe.instagram-media {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 540px !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.sl-about .sl-about-brand-panel {
    display: flex;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.sl-about-youtube {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 22px;
}

.sl-about-youtube iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Compactar la presentación */
.sl-about-hero {
    padding-top: 48px;
    padding-bottom: 48px;
}

.sl-about-hero-grid {
    align-items: center;
}

/* Limitar la altura del video vertical */
.sl-about-youtube {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 16;
}

/* Reducir la separación entre secciones */
.sl-about-story {
    padding-top: 48px;
    padding-bottom: 56px;
}

.sl-about-story-grid {
    align-items: start;
    gap: 48px;
}

/* Equilibrar el título con el texto */
.sl-about #sl-about-story-title {
    font-size: 35px;
    line-height: 1.2;
}

@media (max-width: 800px) {
    .sl-about-hero {
        padding: 36px 0;
    }

    .sl-about-story {
        padding: 36px 0 44px;
    }

    .sl-about-story-grid {
        gap: 28px;
    }
}

.sl-about-hero-copy {
    padding-left: 35px;
}

.sl-about .sl-about-brand-panel {
    width: 100%;
    display: flex;
    justify-content: center;
    justify-self: center;
}

.sl-about-story-copy {
    align-self: center;
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary.sl-about {
        margin-top: 0;
        margin-bottom: 0;
    }
}