/* =========================================================
   TIERRA Y PERSONA — SECCIONES DE PORTADA
   ========================================================= */


/* HERO
   --------------------------------------------------------- */

.typ-hero {
    min-height: 86vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 100px 30px;

    background: var(--typ-papel);
    text-align: center;
}

.typ-hero-inner {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.typ-hero-symbol img {
    width: 200px;
    max-width: 45vw;

    margin: 0 auto 28px;
}

.typ-hero-name {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    line-height: 1;

    letter-spacing: .07em;
}

.typ-hero-roots {
    margin-top: 12px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;

    letter-spacing: .42em;

    color: var(--typ-tierra);
}

.typ-hero-claim {
    max-width: 760px;

    margin: 48px auto 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(31px, 4vw, 46px);
    font-style: italic;
    font-weight: 400;

    line-height: 1.13;

    color: var(--typ-carbon);
}

.typ-hero-roots-line {
    margin-top: 48px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;

    letter-spacing: .08em;
    line-height: 2;

    color: var(--typ-piedra);
}


/* MANIFIESTO
   --------------------------------------------------------- */

.typ-manifiesto {
    padding: 130px 30px;

    background: #F3EBDD;
}

.typ-manifiesto-inner {
    max-width: 760px;

    margin: 0 auto;
}

.typ-manifiesto-lead {
    margin-bottom: 55px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 500;

    line-height: 1.12;

    text-align: center;
}

.typ-manifiesto-text {
    font-size: 18px;
    line-height: 1.8;
}

.typ-manifiesto-text p {
    margin-bottom: 1.6em;
}

.typ-manifiesto-closing {
    margin-top: 70px;

    text-align: center;
}

.typ-manifiesto-closing strong {
    display: block;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 500;

    line-height: 1.2;
}

.typ-manifiesto-closing em {
    display: block;

    margin-top: 18px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(26px, 3vw, 34px);

    color: var(--typ-tierra);
}


/* FRASE DE TRANSICIÓN
   --------------------------------------------------------- */

.typ-raices-quote {
    padding: 90px 30px;

    background: var(--typ-papel);

    text-align: center;
}

.typ-raices-quote img {
    width: 74px;

    margin: 0 auto 25px;
}

.typ-raices-quote-text {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(31px, 4vw, 44px);
    font-style: italic;

    line-height: 1.15;

    color: var(--typ-tierra);
}


/* CUATRO PUERTAS
   --------------------------------------------------------- */

.typ-puertas {
    padding: 120px 30px;

    background: #F3EBDD;
}

.typ-puertas-inner {
    max-width: var(--typ-contenido);

    margin: 0 auto;
}

.typ-puertas-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 32px;
}

.typ-puerta {
    padding: 18px 8px 28px;

    text-align: center;
}

.typ-puerta-symbol img {
    width: 105px;
    height: 105px;

    object-fit: contain;

    margin: 0 auto 30px;
}

.typ-puerta-kicker {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .26em;

    color: var(--typ-tierra);
}

.typ-puerta-title {
    margin: 9px 0 20px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 500;
}

.typ-puerta-text {
    font-size: 15px;
    line-height: 1.65;

    color: var(--typ-piedra);
}

.typ-puerta-link {
    display: inline-block;

    margin-top: 20px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--typ-tierra);
}


/* RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .typ-puertas-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 55px 35px;
    }

}


@media (max-width: 767px) {

    .typ-hero {
        min-height: auto;

        padding: 90px 24px 80px;
    }

    .typ-hero-symbol img {
        width: 135px;

        margin-bottom: 24px;
    }

    .typ-hero-name {
        letter-spacing: .045em;
    }

    .typ-hero-roots {
        font-size: 10px;
        letter-spacing: .28em;
    }

    .typ-hero-claim {
        margin-top: 38px;
    }

    .typ-hero-roots-line {
        margin-top: 38px;
        font-size: 10px;
    }


    .typ-manifiesto {
        padding: 90px 24px;
    }

    .typ-manifiesto-lead {
        margin-bottom: 40px;
    }

    .typ-manifiesto-text {
        font-size: 16px;
        line-height: 1.75;
    }

    .typ-manifiesto-closing {
        margin-top: 50px;
    }


    .typ-raices-quote {
        padding: 70px 24px;
    }


    .typ-puertas {
        padding: 85px 24px;
    }

    .typ-puertas-grid {
        grid-template-columns: 1fr;

        gap: 65px;
    }

    .typ-puerta {
        max-width: 420px;

        margin: 0 auto;
    }

    .typ-puerta-symbol img {
        width: 90px;
        height: 90px;
    }

}

/* Compatibilidad con widgets de encabezado de Elementor */

.typ-hero-name .elementor-heading-title,
.typ-hero-claim .elementor-heading-title,
.typ-manifiesto-lead .elementor-heading-title,
.typ-raices-quote-text .elementor-heading-title,
.typ-puerta-title .elementor-heading-title {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

/* =========================================================
   AJUSTES ATOMIC EDITOR — HERO
   ========================================================= */

.typ-hero-symbol,
.typ-hero-symbol img {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;

    display: block;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 28px !important;
}

.typ-hero-inner {
    width: 100%;
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}


/* Móvil */

@media (max-width: 767px) {

    .typ-hero-symbol,
    .typ-hero-symbol img {
        width: 135px !important;
        max-width: 135px !important;

        margin-bottom: 24px !important;
    }

}