/* ═══════════════════════════════════════════════════════
   Depurarte – Página Sobre Mí / Sobre Nosotros
   Acorde al Design System Depurarte
   ═══════════════════════════════════════════════════════ */

:root {
    --dp-violeta: #340E49;
    --dp-purpura: #3F0F52;
    --dp-oro: #D0A761;
    --dp-oro-claro: #EAD095;
    --dp-marfil: #FCFAF4;
    --dp-body: #2A1806;
    --dp-radius: 20px;
    --dp-radius-sm: 12px;
    --dp-font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --dp-font-body: 'Montserrat', sans-serif;
}

/* ═══════════════════════════════════════════════════════
   1. HERO SOBRE MÍ (Esther a la Izquierda, Texto a la Derecha)
   ═══════════════════════════════════════════════════════ */
.dp-about-hero {
    position: relative;
    background: #340E49;
    color: #FCFAF4;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Imagen de fondo de la sección (Esther posicionada a la izquierda) */
.dp-about-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
}

/* Overlay Berenjena (#340E49):
   - Izquierda (0% a 30%): Transparente para destacar la imagen de Esther.
   - Centro a Derecha (40% a 100%): Berenjena sólido creando espacio negativo para el texto.
*/
.dp-about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(52, 14, 73, 0) 0%,
        rgba(52, 14, 73, 0.15) 22%,
        rgba(52, 14, 73, 0.7) 42%,
        rgba(52, 14, 73, 0.96) 62%,
        #340E49 80%,
        #340E49 100%
    );
    z-index: 2;
    pointer-events: none;
}

.dp-about-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
}

/* Bio Content — posicionado a la derecha sobre el espacio negativo */
.dp-about-hero-content {
    text-align: left;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

.dp-about-kicker {
    font-family: var(--dp-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dp-oro);
    margin-bottom: 12px;
}

.dp-about-title {
    font-family: var(--dp-font-serif);
    font-size: 56px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.05;
    margin: 0 0 8px;
}

.dp-about-subtitle {
    font-family: var(--dp-font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--dp-oro);
    margin: 0 0 24px;
}

.dp-about-intro {
    font-family: var(--dp-font-serif);
    font-size: 21px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0 0 20px;
}

/* Pillars — on hero */
.dp-about-hero .dp-about-pillars {
    border-top-color: rgba(208, 167, 97, 0.35);
}

.dp-about-hero .dp-about-pillar span {
    color: rgba(255, 255, 255, 0.9);
}

/* Badge — positioned inside hero content */
.dp-about-hero .dp-about-portrait-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 28px;
    display: inline-flex;
}

.dp-about-text {
    font-family: var(--dp-font-body);
    font-size: 15px;
    line-height: 1.8;
    color: rgba(42, 24, 6, 0.78);
    margin: 0 0 20px;
}

/* Pillars */
.dp-about-pillars {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(208, 167, 97, 0.25);
}

.dp-about-pillar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--dp-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--dp-violeta);
}

/* Badge base */
.dp-about-portrait-badge {
    background: var(--dp-violeta);
    color: #FFFFFF;
    padding: 16px 22px;
    border-radius: var(--dp-radius-sm);
    box-shadow: 0 8px 24px rgba(52, 14, 73, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dp-badge-number {
    font-family: var(--dp-font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--dp-oro);
    line-height: 1;
}

.dp-badge-label {
    font-family: var(--dp-font-body);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    max-width: 10ch;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════
   2. FILOSOFÍA & MISIÓN
   ═══════════════════════════════════════════════════════ */
.dp-about-philosophy {
    background: #FFFFFF;
    padding: 0 0 96px; /* Eliminado padding-top */
    margin-top: -30px; /* Solapamiento de -30px exactamente */
    position: relative;
    z-index: 10;
}

.dp-about-philosophy-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.dp-about-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: flex-start;
}

.dp-about-section-title {
    font-family: var(--dp-font-serif);
    font-size: 38px;
    font-weight: 600;
    color: var(--dp-violeta);
    line-height: 1.2;
    margin: 0 0 24px;
}

.dp-about-img-card {
    border-radius: var(--dp-radius);
    overflow: hidden;
    /* Sombra con efecto 3D flotante */
    box-shadow: 0 30px 60px -12px rgba(52, 14, 73, 0.32), 0 14px 28px -6px rgba(208, 167, 97, 0.25);
    border: 1px solid rgba(208, 167, 97, 0.28);
    background: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: -60px; /* Eleva la tarjeta de imagen por encima del hero en capa */
    position: relative;
    z-index: 20; /* Capa sobrepuesta destacada */
    aspect-ratio: 2 / 3; /* Aspect Ratio exacto 2:3 */
}

.dp-about-img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 70px -14px rgba(52, 14, 73, 0.4), 0 16px 32px -4px rgba(208, 167, 97, 0.35);
}

.dp-about-img-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center; /* Muestra todas las personas completas */
}

/* ═══════════════════════════════════════════════════════
   3. CITA DESTACADA
   ═══════════════════════════════════════════════════════ */
.dp-about-quote-section {
    background: var(--dp-marfil);
    padding: 80px 0;
    border-top: 1px solid rgba(208, 167, 97, 0.15);
    border-bottom: 1px solid rgba(208, 167, 97, 0.15);
}

.dp-about-quote-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
}

.dp-about-quote-mark {
    margin-bottom: 20px;
}

.dp-about-quote {
    font-family: var(--dp-font-serif);
    font-size: 30px;
    font-weight: 500;
    font-style: italic;
    color: var(--dp-violeta);
    line-height: 1.4;
    margin: 0 0 20px;
    border: none;
    padding: 0;
}

.dp-about-quote-author {
    font-family: var(--dp-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--dp-oro);
    font-style: normal;
}

/* ═══════════════════════════════════════════════════════
   4. GALERÍA DE MOMENTOS (Mosaico Masonry sin bordes ni espacios)
   ═══════════════════════════════════════════════════════ */
.dp-about-gallery {
    background: #FFFFFF;
    padding: 96px 0;
}

.dp-about-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.dp-about-gallery-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
    padding: 0 24px;
}

/* Mosaico Masonry 0 Espacios / 0 Gaps */
.dp-about-gallery-grid {
    columns: 2;
    column-gap: 0;
    row-gap: 0;
    width: 100%;
}

.dp-about-gallery-item {
    break-inside: avoid;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #340E49;
    width: 100%;
    height: auto;
    display: block;
}

.dp-about-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease;
}

.dp-about-gallery-item:hover img {
    transform: scale(1.04);
}

.dp-about-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(52, 14, 73, 0) 0%, rgba(52, 14, 73, 0.85) 100%);
    font-family: var(--dp-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════════
   5. CTA SECTION
   ═══════════════════════════════════════════════════════ */
.dp-about-cta-section {
    background: var(--dp-violeta);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dp-about-cta-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(208, 167, 97, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.dp-about-cta-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.dp-about-cta-title {
    font-family: var(--dp-font-serif);
    font-size: 42px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 16px;
}

.dp-about-cta-text {
    font-family: var(--dp-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 36px;
}

.dp-about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dp-about-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    background: var(--dp-oro);
    color: #12071B !important;
    font-family: var(--dp-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(208, 167, 97, 0.35);
    transition: all 0.2s ease;
}

.dp-about-btn-primary:hover {
    background: var(--dp-oro-claro);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(208, 167, 97, 0.5);
    color: #12071B !important;
}

.dp-about-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #FFFFFF !important;
    font-family: var(--dp-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.dp-about-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .dp-about-hero {
        min-height: 540px;
        background-size: cover;
        background-position: center 10%;
        padding-bottom: 32px;
        align-items: flex-end;
    }

    /* Capa de overlay de berenjena (#340E49) a transparente desde abajo */
    .dp-about-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(52, 14, 73, 0) 0%,
            rgba(52, 14, 73, 0.25) 30%,
            rgba(52, 14, 73, 0.88) 58%,
            #340E49 85%,
            #340E49 100%
        );
    }

    /* Texto posicionado justo debajo del hombro de Esther sobre la capa berenjena */
    .dp-about-hero-container {
        padding: 240px 20px 24px;
        box-sizing: border-box;
    }

    .dp-about-hero-content {
        max-width: 100%;
        text-align: left;
    }

    .dp-about-philosophy {
        margin-top: 0;
        padding: 48px 0 64px;
    }

    .dp-about-img-card {
        margin-top: 0;
        aspect-ratio: 4 / 3;
        max-height: 360px;
    }

    .dp-about-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dp-about-title {
        font-size: 34px;
    }

    .dp-about-section-title {
        font-size: 26px;
    }

    .dp-about-quote {
        font-size: 20px;
    }

    .dp-about-gallery-grid {
        columns: 2;
        column-gap: 0;
    }

    .dp-about-gallery-wide {
        grid-column: span 1;
    }

    .dp-about-cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dp-about-btn-primary,
    .dp-about-btn-secondary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 580px) {
    .dp-about-hero {
        min-height: 0;
    }

    .dp-about-gallery-grid {
        columns: 2;
        column-gap: 0;
    }

    .dp-about-gallery-wide {
        grid-column: span 1;
    }

    .dp-about-pillars {
        flex-direction: column;
        gap: 14px;
    }

    .dp-about-title {
        font-size: 28px;
    }
}
