/* =========================================================
   HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: calc(100vh - 90px);

    display: flex;

    align-items: center;

    overflow: hidden;

    isolation: isolate;

    background:
        linear-gradient(
            135deg,
            #3d006f 0%,
            #6A00CD 45%,
            #7c19d1 100%
        );
}


/* =========================================================
   CARRUSEL
   ========================================================= */

.hero-carousel {

    position: absolute;

    inset: 0;

    z-index: -3;

    overflow: hidden;
}


.hero-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1.2s ease,
        visibility 1.2s ease;
}


.hero-slide.active {

    opacity: 1;

    visibility: visible;
}


.hero-slide img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center right;

    display: block;
}


/* =========================================================
   DEGRADADO
   ========================================================= */

.hero-gradient {

    position: absolute;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:

        /* transición principal */
        linear-gradient(
            90deg,

            rgba(61, 0, 111, 1) 0%,

            rgba(106, 0, 205, .98) 28%,

            rgba(106, 0, 205, .90) 42%,

            rgba(106, 0, 205, .55) 55%,

            rgba(106, 0, 205, .15) 70%,

            rgba(106, 0, 205, 0) 82%
        ),

        /* ligera protección general */
        linear-gradient(
            180deg,
            rgba(30, 0, 50, .18),
            rgba(30, 0, 50, .05)
        );
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: clamp(24px, 4vw, 60px);
    padding-right: clamp(24px, 4vw, 60px);
}


.hero-text {

    max-width: 720px;

    color: #ffffff;
}


.hero-text h1 {

    max-width: 680px;

    margin: 0 0 25px;

    color: #ffffff;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(3.2rem, 6vw, 5.8rem);

    line-height: .98;

    letter-spacing: -.025em;
}


.hero-text p {

    max-width: 680px;

    margin: 0 0 38px;

    color: rgba(255, 255, 255, .92);

    font-size: 1.1rem;

    line-height: 1.75;
}


/* =========================================================
   BOTONES
   ========================================================= */

.hero-actions {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}


.hero-actions a {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 8px;

    font-size: .95rem;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease;
}


.hero-actions a:hover {

    transform: translateY(-2px);
}


/* botón principal */

.btn-primary {

    background: #ffffff;

    color: #6A00CD;

    border: 1px solid #ffffff;
}


.btn-primary:hover {

    background: #f7f3fb;

    color: #52009E;
}


/* botón secundario */

.btn-secondary {

    color: #ffffff;

    background: transparent;

    border:
        1px solid rgba(255, 255, 255, .55);
}


.btn-secondary:hover {

    background:
        rgba(255, 255, 255, .10);

    border-color: #ffffff;
}

.stats{
    display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:70px 0;text-align:center
}

.stats h2{
    color:var(--primary)
}

.section{
    padding:90px 0
}

.sep {
  border: none;
  height: 2px;
  width: 500px;
  background-color: #D9B3F2;
  margin: 30px auto;
  border-radius: 2px;
}


.about{

padding:120px 0;

}

.about-grid{

display:grid;
grid-template-columns:2fr 1fr;
gap:40px;

}

.about-card{

background:var(--bg-soft);

padding:40px;

border-radius:20px;

}

.areas{

padding:120px 0;

background:var(--bg-soft);

}

.section-title{

margin-bottom:50px;

}

.bento-grid{

display:grid;

grid-template-columns:
repeat(4,1fr);

grid-auto-rows:180px;

gap:20px;

}

.card{

background:white;

border-radius:20px;

padding:30px;

}

.large{

grid-column:span 2;
grid-row:span 2;

}

.wide{

grid-column:span 2;

}

/* sep */

.values{

padding:120px 0;

}

.values-grid{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;

margin-top:60px;

}

.value-card{

background:white;
padding:32px;
border-radius:24px;
box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.value-card.wide{

grid-column:span 2;

}

/* sep */

.process{

padding:120px 0;
background:var(--surface-soft);

}

.process-grid{

display:grid;
grid-template-columns:repeat(5,1fr);
gap:24px;

margin-top:60px;

}

.step{

text-align:center;

padding:40px 20px;

background:white;
border-radius:24px;

}

.step span{

font-size:3rem;
font-weight:700;

color:var(--primary);

display:block;
margin-bottom:10px;

}

/* sep */

.meaning{

padding:120px 0;

}

.meaning-card{

max-width:900px;

margin:auto;

text-align:center;

padding:80px;

background:linear-gradient(
135deg,
#6A00CD,
#4F00A0
);

color:white;

border-radius:32px;

}

/* sep */

.partnerships{

padding:120px 0;

}

.partnership-box{

background:white;

padding:60px;

border-radius:32px;

box-shadow:
0 15px 40px rgba(0,0,0,.08);

text-align: center;

}

.partnership-tags{

display:flex;
justify-content:center;
gap:16px;

flex-wrap:wrap;

margin:40px 0;

}

.partnership-tags span{

padding:12px 20px;

background:white;

border-radius:999px;

font-weight:600;

}

/* sep */

.faq{

padding:120px 0;

background:var(--surface-soft);

}

.faq-container{

max-width:900px;
margin:60px auto 0;

display:flex;
flex-direction:column;
gap:16px;

}

.faq-item{

background:white;

border-radius:20px;

overflow:hidden;

box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.faq-question{

width:100%;

background:none;

border:none;

padding:24px 32px;

font-size:1rem;
font-weight:600;

display:flex;
justify-content:space-between;
align-items:center;

cursor:pointer;

}

.faq-question span{

font-size:1.5rem;

color:var(--primary);

transition:.3s;

}

.faq-answer{

max-height:0;

overflow:hidden;

transition:max-height .4s ease;

}

.faq-answer p{

padding:0 32px 24px;

color:var(--text-light);

}

/* =========================================
   ÁREAS DE TRABAJO
========================================= */

.areas-section {

    padding: 120px 0;

    background: #ffffff;

}


/* Encabezado */

.areas-section .section-heading {

    max-width: 680px;

    margin-bottom: 60px;

}

.areas-section .section-heading h2 {

    max-width: 600px;

    margin: 18px 0;

}

.areas-section .section-heading p {

    max-width: 520px;

    color: #666;

    line-height: 1.8;

}


/* Grid */

.areas-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;

}


/* Área */

.area-card {

    position: relative;

    display: flex;

    align-items: flex-end;

    min-height: 420px;

    overflow: hidden;

    border-radius: 18px;

    text-decoration: none;

    color: #ffffff;

    isolation: isolate;

}


/* Imagen */

.area-card img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: -2;

    transition: transform .7s ease;

}


/* Degradado */

.area-overlay {

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            to top,
            rgba(20, 0, 45, .92) 0%,
            rgba(20, 0, 45, .55) 45%,
            rgba(20, 0, 45, .05) 100%
        );

    transition: background .4s ease;

}


/* Contenido */

.area-content {

    position: relative;

    width: 100%;

    padding: 36px;

}


/* Número */

.area-number {

    display: block;

    margin-bottom: 18px;

    font-size: .8rem;

    font-weight: 600;

    letter-spacing: .15em;

    color: rgba(255,255,255,.65);

}


/* Título */

.area-content h3 {

    margin: 0 0 14px;

    font-family: "Playfair Display", serif;

    font-size: 2rem;

    font-weight: 600;

}


/* Descripción */

.area-content p {

    max-width: 360px;

    margin: 0 0 24px;

    font-size: .95rem;

    line-height: 1.7;

    color: rgba(255,255,255,.85);

}


/* Enlace */

.area-link {

    display: inline-block;

    font-size: .9rem;

    font-weight: 600;

    color: #ffffff;

    transition: transform .3s ease;

}


/* Hover */

.area-card:hover img {

    transform: scale(1.06);

}

.area-card:hover .area-overlay {

    background:
        linear-gradient(
            to top,
            rgba(106, 0, 205, .95) 0%,
            rgba(106, 0, 205, .55) 50%,
            rgba(106, 0, 205, .08) 100%
        );

}

.area-card:hover .area-link {

    transform: translateX(6px);

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .areas-section {

        padding: 80px 0;

    }

    .areas-section .section-heading {

        margin-bottom: 36px;

    }

    .areas-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }

    .area-card {

        min-height: 360px;

        border-radius: 14px;

    }

    .area-content {

        padding: 28px;

    }

    .area-content h3 {

        font-size: 1.8rem;

    }

}

@media (max-width: 480px) {

    .area-card {

        min-height: 320px;

    }

    .area-content {

        padding: 24px;

    }

    .area-content h3 {

        font-size: 1.6rem;

    }

}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

    .hero {
        min-height: calc(100svh - 80px);
    }

    .hero-content {
        padding-left: clamp(28px, 5vw, 50px);
        padding-right: clamp(28px, 5vw, 50px);
    }

    .hero-text {
        max-width: 620px;
    }

    .hero-text h1 {
        max-width: 600px;

        font-size:
            clamp(3rem, 7vw, 4.5rem);

        line-height: 1;
    }

    .hero-text p {
        max-width: 560px;

        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-slide img {
        object-position: center right;
    }

    .hero-gradient {
        background:
            linear-gradient(
                90deg,
                rgba(61, 0, 111, 1) 0%,
                rgba(106, 0, 205, .97) 35%,
                rgba(106, 0, 205, .72) 55%,
                rgba(106, 0, 205, .30) 75%,
                rgba(106, 0, 205, 0) 100%
            );
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hero {
        min-height: calc(100svh - 64px);
        display: flex;
        align-items: flex-end;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;

        padding-top: 90px;
        padding-bottom: 50px;

        padding-left: 0;
        padding-right: 0;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .hero-text h1 {
        max-width: 100%;

        margin-bottom: 20px;

        font-size: clamp(2.5rem, 10vw, 4rem);
        line-height: .98;
        letter-spacing: -.025em;
    }

    .hero-text p {
        max-width: 100%;

        margin-bottom: 28px;

        font-size: .95rem;
        line-height: 1.65;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;

        gap: 12px;
    }

    .hero-actions a {
        width: 100%;
        min-height: 50px;

        padding: 0 18px;
    }

    .hero-slide img {
        object-position: 68% center;
    }

    .hero-gradient {
        background:
            linear-gradient(
                180deg,
                rgba(61,0,111,.10) 0%,
                rgba(61,0,111,.30) 25%,
                rgba(61,0,111,.72) 48%,
                rgba(61,0,111,.96) 72%,
                rgba(61,0,111,1) 100%
            );
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .meaning-card {
        padding: 50px 30px;
    }

    .partnership-box {
        padding: 40px 25px;
    }

}

@media (max-width: 480px) {

    .hero-content {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-text h1 {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
    }

    .hero-text p {
        font-size: .9rem;
        line-height: 1.6;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-grid,
    .values-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .meaning-card {
        padding: 40px 22px;
        border-radius: 24px;
    }

    .partnership-box {
        padding: 35px 20px;
        border-radius: 24px;
    }

}


/* =========================
   MOBILE PEQUEÑO
========================= */

@media (max-width: 480px) {

    .hero-content {

        padding-left:20px;
        padding-right:20px;

        padding-bottom:40px;
    }


    .hero-text h1 {

        font-size:
            clamp(2.45rem, 11vw, 3.2rem);

        line-height:.98;
    }


    .hero-text p {

        font-size:.9rem;

        line-height:1.6;

        margin-bottom:24px;
    }


    .hero-actions {

        gap:10px;
    }


    .hero-actions a {

        min-height:48px;

        font-size:.88rem;
    }


    .hero-slide img {

        object-position:
            70% center;
    }

}