/* ============================================================
   ESCALA TIPOGRÁFICA — Variables globales
   Uso de clamp() para tipografía fluida:
   clamp(mínimo, preferido, máximo)
   ============================================================ */
:root {
    --fs-xs:   clamp(0.625rem, 1.2vw, 0.75rem);   /* 10–12px  — pie de foto */
    --fs-sm:   clamp(0.8rem,   1.5vw, 0.875rem);   /* 13–14px  — etiquetas secundarias */
    --fs-base: clamp(0.9rem,   1.8vw, 1rem);        /* 14–16px  — base body */
    --fs-p:    clamp(0.9375rem, 2vw, 1.25rem);      /* 15–20px  — párrafos */
    --fs-lg:   clamp(0.875rem, 2vw,   1.0625rem);   /* 14–17px  — li */
    --fs-h6:   clamp(0.625rem, 1vw,   0.6875rem);   /* 10–11px  — h6 */
    --fs-h2:   clamp(1rem,     2.5vw, 1.375rem);    /* 16–22px  — h2 secciones */
    --fs-h1:   clamp(1.75rem,  6vw,   4.375rem);    /* 28–70px  — título principal */
    --fs-vive: clamp(1.5rem,   4vw,   3rem);        /* 24–48px  — .vive */

    --lh-body: 1.9;
    --lh-heading: 1.2;
}

/* ============================================================
   BASE
   ============================================================ */
body {
    background-color: #fff;
    font-family: 'Georgia', serif !important;
    font-size: var(--fs-base);
}

/* ============================================================
   TIPOGRAFÍA — Headings
   ============================================================ */
h1 {
    font-family: 'Gupter', serif;
    font-weight: 800;
    text-transform: uppercase;
    line-height: var(--lh-heading);
}

h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    line-height: var(--lh-heading);
}

h6 {
    font-size: var(--fs-h6);
}

/* ============================================================
   TIPOGRAFÍA — Párrafos y listas
   ============================================================ */
p {
    margin: 0;
    line-height: var(--lh-body);
    font-size: var(--fs-p);
    font-weight: 500;
    text-align: justify;
}

li {
    display: list-item;
    margin: 0;
    line-height: var(--lh-body);
    font-size: var(--fs-lg);
    font-weight: 500;
}

/* ============================================================
   CLASES DE TÍTULO
   ============================================================ */
.titulo1 {
    text-align: -webkit-center;
}

.conamanali {
    text-align: center;
    font-family: 'Gupter', serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: var(--fs-h1);
    margin-bottom: -0.1em;
}

.vive {
    text-align: center;
    font-family: 'Gupter', serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: var(--fs-vive);
}

/* ============================================================
   INTRO
   ============================================================ */
.intro1 p {
    color: #242424;
    text-align: center;
    /* hereda font-size de p base (--fs-p) */
}

/* ============================================================
   LAYOUT — Rows y containers
   ============================================================ */
.container2 {
    text-align: center;
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    background-color: #000;
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* ============================================================
   FOOTER / FOOT
   ============================================================ */
.foot {
    padding-top: 1%;
    padding-bottom: 1%;
    border-style: solid;
    border-color: #ED1D24;
}

.foot p {
    text-align: justify;
}

footer {
    height: 10px;
    color: #fff;
}

footer p {
    flex-basis: 100%;
    text-align: center;
}

/* ============================================================
   ENLACES
   ============================================================ */
a {
    color: #179dcd;
}

a:hover {
    text-decoration: none;
    color: #ed1c24;
}

/* ============================================================
   BOTÓN
   ============================================================ */
.boton {
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 5px;
    color: #fff;
    transition: 0.5s;
}

.boton:hover {
    border: 1px solid #ed1c24;
    padding: 10px 15px;
    border-radius: 0px;
    color: #ed1c24;
}

/* ============================================================
   INTERACTIVO — TABS
   ============================================================ */
.tabs {
    text-align: center;
}

.tabs .tabs-container {
    max-width: 60%;
    text-align: center;
    justify-content: center;
}

.tabs .tabs-container ul {
    text-align: center;
}

.tabs .nav-tabs {
    text-align: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    border-bottom: none;
}

.tabs .nav-link {
    margin-right: 1.625rem;
    margin-bottom: 0.875rem;
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    color: #c1cace;
    font: 700 1.375rem/1.375rem 'Montserrat', sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tabs .nav-link:hover,
.tabs .nav-link.active {
    color: #ED1D24;
}

.tabs .nav-link .fas {
    margin-right: 0.125rem;
    font-size: 0.875rem;
    vertical-align: 20%;
}

.tabs p {
    text-align: center;
}

/* ============================================================
   REDES SOCIALES
   ============================================================ */
.redes {
    opacity: 1;
    max-width: 40px !important;
    transition: transform 0.3s;
}

.redes:hover {
    opacity: 0.8;
    transform: scale(1.2);
}

/* ============================================================
   CABECERA
   ============================================================ */
.head_exp {
    top: 0;
    background-color: #ed1c24;
    padding: 0.4em;
    position: fixed;
    display: block;
    width: 100%;
    border-bottom-color: #000;
    border-right-width: 2px;
    border-bottom-style: solid;
    z-index: 99;
    transition: background-color 0.5s ease-out;
    -webkit-transition: background-color 0.5s ease-out;
}

.head_exp:hover {
    background-color: #000;
}

.logocc img {
    max-width: 0%;
    padding-top: 3em;
}

.logocc2 img {
    max-width: 80%;
    padding-top: 3em;
    padding-bottom: 3em;
}

/* ============================================================
   ESTADOS
   ============================================================ */
.op-0 {
    opacity: 0;
    transition: all 0.5s;
}

.op-1 {
    opacity: 1;
    transition: all 0.5s;
}

.pie {
    font-size: var(--fs-sm);
    color: #666;
    font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   HERO / PORTADA
   ============================================================ */
.oper {
    background-image: url(../img/everland-8.jpg);
    background-attachment: fixed;
    -webkit-background-size: cover;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom;
    min-height: 700px;
    margin-top: 40px;
}

.title {
    background-color: #fff;
    padding: 40px 0;
    text-align: -webkit-center;
}

.title h1 {
    color: #000;
    margin-bottom: 0.5em;
    line-height: 1;
    font-size: clamp(1.75rem, 6vw, 3.75rem);
}

/* ============================================================
   PIE DE FOTO
   ============================================================ */
.pie-foto {
    position: relative;
    text-align: right;
    bottom: 0;
    left: 0;
    color: #666;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    padding: 0.5em 1em;
}

.pie-foto p {
    font-size: var(--fs-xs);
    font-weight: 200;
}

/* ============================================================
   VIDEO
   ============================================================ */
.video iframe {
    padding-top: 2em;
    padding-bottom: 2em;
    width: 100%;
    height: 500px;
}

/* ============================================================
   SECCIONES
   ============================================================ */
.s-1 {
    padding-top: 3em;
}

.s-1 p {
    text-align: justify;
}

.s-1 li {
    margin-top: 15px;
    line-height: var(--lh-body);
    text-align: justify;
}

.s-1- {
    padding-top: 1em;
    padding-bottom: 1em;
}

.s-1 h2 {
    color: #242424;
    font-size: var(--fs-h2);
}

.s-2 {
    padding: 2em;
}

.s-2 h2 {
    color: #000;
    text-align: center;
    padding: 0.5em 0;
    line-height: 1.3;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    text-transform: none;
}

.s-2 h2 span {
    font-family: 'Georgia', serif;
    font-weight: 800;
}

.s-3 {
    text-align: center;
}

.s-3 h2 {
    color: #000;
    text-align: center;
    padding: 1em 0;
    line-height: 1.3;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    text-transform: none;
}

.s-3 h3 {
    font-family: 'Georgia', serif;
    color: #ed1c24;
    text-align: center;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: none;
}

/* ============================================================
   FOTOS
   ============================================================ */
.foto_horizontal {
    padding: 2em 0;
}

.foto_horizontal2 {
    padding: 2em 0;
}

.foto_horizontal img {
    transition: all 0.5s ease-in-out;
}

.foto_horizontal img:hover {
    transform: scale(1.03, 1.03);
}

/* ============================================================
   FRASE
   ============================================================ */
.frase2 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    line-height: 0.5;
}

.frase2 p {
    line-height: 1.5;
}

.frase2 h2 {
    color: #000;
    text-transform: none;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* ============================================================
   DIVISORES VERTICALES
   ============================================================ */
.vertical-row {
    float: left;
    margin: 1em;
    height: 150px;
    width: 1px;
    background-color: #000;
}

.vertical-row2 {
    float: left;
    margin: 1em;
    height: 400px;
    width: 1px;
    background-color: #000;
}

/* ============================================================
   RESPONSIVE — Tableta (≤1024px)
   ============================================================ */
@media screen and (max-width: 1024px) {
    .redes .nav {
        width: auto;
    }

    .oper {
        background-image: url(../img/everland-8.jpg);
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
        min-height: 450px;
        padding-top: 40px;
    }
}

/* ============================================================
   RESPONSIVE — Móvil grande (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    .title h1 {
        font-size: clamp(1.75rem, 7vw, 3rem);
    }

    .oper {
        background-image: url(../img/everland-8.jpg);
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
        min-height: 300px;
    }

    .intro1 h2 {
        color: #242424;
        text-align: center;
    }

    .cita2 {
        margin-left: 25%;
    }

    footer {
        padding: 12% 15px;
    }
}

/* ============================================================
   RESPONSIVE — Móvil pequeño (≤575px)
   ============================================================ */
@media screen and (max-width: 575px) {
    .title h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .cita2 {
        margin-left: 0;
    }

    footer {
        padding: 15% 15px;
    }

    .s-1 {
        padding-top: 2em;
    }

    .foto_horizontal {
        padding: 1em 0;
    }

    .s-1 li {
        margin-top: 10px;
    }
}

/* ============================================================
   RESPONSIVE — Tabs (breakpoints de componente)
   ============================================================ */
@media (min-width: 368px) {
    .tabs .tabs-container {
        max-width: 100%;
        padding-top: 1.75rem;
        padding-bottom: 0;
    }
}

@media (min-width: 768px) {
    .tabs .tabs-container {
        max-width: 100%;
        padding-top: 1.75rem;
        padding-bottom: 0;
    }
}

@media (min-width: 992px) {
    .tabs {
        height: auto;
    }

    .tabs .area-1 {
        width: 70%;
        height: auto;
        display: inline-block;
        vertical-align: top;
    }

    .tabs .tabs-container {
        max-width: 100%;
        padding-top: 1.75rem;
        padding-bottom: 0;
    }

    .tabs .nav-tabs {
        text-align: center;
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .tabs .tabs-container {
        max-width: 100%;
    }
}