/* =========================================================
   CONFIGURACIÓN GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #eaf8fc;
    color: #26207d;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --morado: #3d1ca8;
    --morado-oscuro: #32158e;

    --azul: #35afe8;
    --azul-claro: #dff7ff;
    --celeste: #65dff0;
    --rosa: #ef55ba;
    --amarillo: #ffd933;
    --blanco: #ffffff;
    --texto: #28207d;
}


/* =========================================================
   PÁGINA PRINCIPAL
========================================================= */

.pagina {

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--morado);
    min-height: 100vh;
    overflow: hidden;
}


/* =========================================================
   HERO / INICIO
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    background: #3d1ca8;
    overflow: hidden;
}


/* =========================================================
   LOGO PRINCIPAL
========================================================= */

.hero-logo {
    position: absolute;

    top: 25px;
    left: 0;
    width: 53%;
    height: 175px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 0 20px 20px 0;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-logo img {
    width: 100%;
    max-width: 360px;
    max-height: 150px;
    object-fit: contain;
    display: block;
}


/* =========================================================
   CONTENIDO DEL HERO
========================================================= */

.hero-contenido {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    display: block;
}


/* =========================================================
   TEXTO DEL HERO
========================================================= */

.hero-texto {
    position: absolute;

    left: 35px;
    bottom: 65px;
    z-index: 7;
    color: white;
}

.hero-texto h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    font-weight: 900;
    color: white;
}

.hero-texto span {
    display: inline-block;
    background: #ef55ba;
    color: white;
    padding: 7px 12px;
    font-size: clamp(16px, 2vw, 25px);
    line-height: 1.1;
    font-weight: 900;
}


/* =========================================================
   OSO
========================================================= */

.hero-oso {
    position: absolute;
    right: 15px;
    bottom: 0;
    width: 48%;
    max-width: 430px;
    height: 330px;
    z-index: 6;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-oso img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

/* =========================================================
   MENÚ
========================================================= */

.menu {

    width: calc(100% - 30px);
    margin: 25px auto;
    padding: 14px;
    background: #c8f2ff;
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


/* ITEM */

.menu-item {

    min-height: 95px;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    color: var(--texto);
    font-weight: 800;
    font-size: 20px;
    transition: 0.3s;
    background: #bceeff;
}

.menu-item:nth-child(1) {
    background: #dd7aef;
    color: white;
}

.menu-item:nth-child(2) {
    background: #5dd7eb;
}

.menu-item:nth-child(3) {
    background: #96e6fc;
}

.menu-item:nth-child(4) {
    background: #7760eb;
    color: white;
}


.menu-item i {

    font-size: 35px;
}


.menu-item:hover {

    transform: translateY(-5px);
    box-shadow:
        0 7px 12px rgba(0, 0, 0, 0.2);
}


/* =========================================================
   SECCIONES
========================================================= */

.seccion {

    padding: 15px 30px 45px;
    background: var(--morado);
}


/* =========================================================
   GALERÍA
========================================================= */

.galeria {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}


/* FOTOS */

.foto {

    background: white;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.foto:hover {

    transform: scale(1.03);
}


.foto img {

    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}


/* ROTACIONES */

.foto-1 {

    transform: rotate(-2deg);
}

.foto-2 {

    transform: rotate(2deg);
}

.foto-3 {

    transform: rotate(-4deg);
}

.foto-4 {

    transform: rotate(3deg);
}


/* =========================================================
   OFERTA
========================================================= */

.oferta {

    background: #2ea9e6;
    margin: 0 20px;
    border-radius: 22px;
    min-height: 210px;
    position: relative;
    padding: 35px 30px;
    scroll-margin-top: 20px;
}


.oferta-contenido {

    display: grid;
    grid-template-columns: 0.7fr 1fr 1fr;
    align-items: center;
    gap: 20px;
}


/* OSO OFERTA */

.oferta-oso {

    position: relative;
    height: 230px;
    align-self: end;
}

.oferta-oso img {

    position: absolute;
    bottom: -35px;
    left: -20px;
    width: 230px;
    max-width: 100%;
    object-fit: contain;
}


/* TARJETAS */

.info-card {

    min-height: 120px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    text-align: center;
    background: white;
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.2);
}


.info-card i {

    font-size: 50px;
    color: #26207d;
}


.info-card h2 {

    font-size: 25px;
    margin-bottom: 8px;
}


/* ETIQUETAS */

.etiquetas {

    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


.etiquetas span {

    background: var(--morado);
    color: white;
    padding: 7px 15px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
}


/* EDAD */

.edades {

    background: #fff5cc;
}


.edad {

    display: inline-block;
    background: #9845df;
    color: white;
    padding: 7px 12px;
    border-radius: 8px;
    font-weight: bold;
}


/* =========================================================
   BANNER ESPACIO
========================================================= */

.banner-espacio {

    padding: 45px 20px;
    background: var(--morado);
    scroll-margin-top: 20px;
}


.banner-espacio img {

    width: 100%;
    max-width: 1000px;
    display: block;
    margin: auto;
    border-radius: 2px;
    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   METODOLOGÍA
========================================================= */

.metodologia {

    margin: 0 25px 50px;
    padding: 30px 20px;
    background: #e9faff;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}


.metodo-card {

    min-height: 150px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
}


/* COLORES */

.metodo-card:nth-child(1) {

    background: #62dcea;
}

.metodo-card:nth-child(2) {

    background: #ffdc38;
}

.metodo-card:nth-child(3) {

    background: #f4a4d6;
}


/* ICONOS */

.metodo-icono {

    font-size: 55px;
    margin-bottom: 10px;
}


.metodo-card h3 {

    font-size: 17px;
    color: var(--texto);
}


/* =========================================================
   CONTACTO
========================================================= */

.contacto {
    background: var(--morado);
    min-height: 230px;
    padding: 45px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    color: white;
    text-align: center;
    scroll-margin-top: 20px;
}


/* =========================================================
   LOGO CONTACTO
========================================================= */

.contacto-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.contacto-logo img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: auto;
}


/* =========================================================
   LÍNEA
========================================================= */

.linea {
    width: 2px;
    height: 120px;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}


/* =========================================================
   DATOS DE CONTACTO
========================================================= */

.datos-contacto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    width: 40%;
}


.dato {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-size: 19px;
    font-weight: bold;
    text-align: left;
}

.dato-whatsapp {
    padding: 12px 18px;
    border-radius: 999px;
    background: #075e54;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dato-whatsapp:visited {
    color: white;
}

.dato-whatsapp:hover {
    background: #064e46;
    transform: translateY(-2px);
}

.dato-whatsapp:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}


.dato i {
    font-size: 30px;
    width: 35px;
    min-width: 35px;
    text-align: center;
}

/* =========================================================
   BOTÓN VOLVER ARRIBA
========================================================= */

.btn-arriba {

    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--rosa);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.3);

    z-index: 100;
    transition: 0.3s;
}


.btn-arriba:hover {

    transform: translateY(-5px);
    background: #d93ba3;
}


/* =========================================================
   RESPONSIVE - TABLETS
========================================================= */

@media (max-width: 800px) {

    .hero {

        min-height: 350px;
    }


    .hero-logo {

        width: 65%;

        padding: 12px 20px;
    }


    .hero-contenido {

        padding: 0 20px 15px;
    }


    .hero-texto {

        margin-bottom: 50px;
    }


    .hero-oso {

        width: 52%;
    }


    .menu-item {

        min-height: 80px;

        font-size: 16px;
    }


    .menu-item i {

        font-size: 28px;
    }


    .galeria {

        gap: 25px;
    }


    .foto img {

        height: 210px;
    }


    .oferta-contenido {

        grid-template-columns: 1fr 1fr;
    }


    .oferta-oso {

        display: none;
    }


    .metodologia {

        grid-template-columns: 1fr 1fr;
    }


    .metodo-card:last-child {

        grid-column: span 2;
    }


    .contacto {

        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 25px;
    }


    .contacto-logo img {

        margin: auto;
    }


    .linea {

        width: 80%;
        height: 2px;
        margin: auto;
    }


    .datos-contacto {

        align-items: center;
    }
}


/* =========================================================
   RESPONSIVE - CELULARES
========================================================= */

@media (max-width: 600px) {

    body {

        background: var(--morado);
    }


    .pagina {

        width: 100%;
    }


    /* HERO */

    .hero {

        min-height: 430px;
    }


    .hero-logo {

        top: 15px;
        width: 85%;
        padding: 10px 20px;
    }


    .hero-contenido {

        min-height: 430px;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding: 0 15px;
    }


    .hero-texto {

        margin-bottom: 0;
        text-align: center;
        z-index: 10;
    }


    .hero-texto h1 {

        font-size: 30px;
    }


    .hero-texto span {

        font-size: 17px;
    }


    .hero-oso {

        width: 80%;
        max-width: 290px;
        margin-top: -5px;
    }


    /* MENÚ */

    .menu {

        width: calc(100% - 20px);
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
    }


    .menu-item {

        min-height: 90px;
        font-size: 15px;
    }


    .menu-item i {

        font-size: 28px;
    }


    /* GALERÍA */

    .seccion {

        padding: 15px 18px 40px;
    }


    .galeria {

        grid-template-columns: 1fr;
        gap: 35px;
    }


    .foto {

        max-width: 95%;
        margin: auto;
    }


    .foto img {

        height: auto;
        max-height: 300px;
    }


    /* OFERTA */

    .oferta {

        margin: 0 10px;
        padding: 20px 12px;
        min-height: auto;
    }


    .oferta-contenido {

        grid-template-columns: 1fr;
        gap: 15px;
    }


    .oferta-oso {

        display: block;
        height: 170px;
        order: 3;
        margin-top: -15px;
    }


    .oferta-oso img {

        width: 180px;
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
    }


    .info-card {

        min-height: 100px;
    }


    .info-card i {

        font-size: 35px;
    }


    .info-card h2 {

        font-size: 20px;
    }


    .etiquetas span {

        font-size: 18px;
        padding: 5px 12px;
    }


    /* BANNER */

    .banner-espacio {

        padding: 35px 10px;
    }


    .banner-espacio img {

        border-radius: 0;
    }


    /* METODOLOGÍA */

    .metodologia {

        margin: 0 10px 35px;
        padding: 15px;
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .metodo-card {

        min-height: 125px;
    }


    .metodo-card:last-child {

        grid-column: auto;
    }


    .metodo-icono {

        font-size: 45px;
    }


    /* CONTACTO */

    .contacto {

        padding: 40px 20px;
        gap: 25px;
    }


    .dato {

        font-size: 16px;
        text-align: left;
    }


    .dato i {

        font-size: 27px;
    }


    /* BOTÓN */

    .btn-arriba {

        width: 48px;
        height: 48px;
        right: 15px;
        bottom: 15px;
    }
}


/* =========================================================
   CELULARES MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .hero {

        min-height: 400px;
    }


    .hero-contenido {

        min-height: 400px;
    }


    .hero-texto h1 {

        font-size: 25px;
    }


    .hero-texto span {

        font-size: 14px;
    }

    .menu-item {

        min-height: 80px;
        font-size: 13px;
    }

    .menu-item i {

        font-size: 24px;
    }
}
/* =========================================================
   CONTACTO - CELULAR
========================================================= */

@media (max-width: 600px) {

    .contacto {
        min-height: 400px;

        padding: 45px 20px;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 25px;

        text-align: center;
    }


    .contacto-logo {
        width: 100%;

        display: flex;

        justify-content: center;

        align-items: center;
    }


    .contacto-logo img {
        width: 80%;

        max-width: 280px;

        margin: 0 auto;
    }


    .linea {
        width: 70%;

        height: 2px;

        margin: 0 auto;
    }


    .datos-contacto {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 20px;
    }


    .dato {
        width: auto;

        justify-content: center;

        align-items: center;

        text-align: center;

        font-size: 16px;
    }


    .dato i {
        font-size: 27px;
    }
}

/* --- Barra Inferior (Derechos de Autor) --- */
.footer-bottom {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 20px 20px;
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333333;
  color: #777777;
  font-size: 14px;
}

/* --- Media Query para Pantallas Medianas y Grandes (Tablets / PC) --- */
@media screen and (min-width: 768px) {
  .footer-section {
    flex: 1; /* Distribuye el espacio equitativamente entre las 3 columnas */
  }
}