

:root {

    --principal: #C57FDB;
    --principal-oscuro: #A95FC3;
    --principal-claro: #c9a9d6;

    --fondo: #edd4e5;
    --blanco: #FFFFFF;

    --texto: #333333;
    --texto-suave: #777777;

}


/* ========================================
   CONFIGURACIÓN GENERAL
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    background-color: var(--fondo);

    color: var(--texto);

    font-family: 'Poppins', sans-serif;

    line-height: 1.6;

}


/* ========================================
   MENÚ
======================================== */

.navbar {

    width: 100%;

    padding: 20px 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background-color: rgba(255, 249, 253, 0.95);

    position: sticky;

    top: 0;

    z-index: 1000;

    border-bottom: 1px solid var(--principal-claro);

}


/* Logo */

.logo {

    font-family: 'Playfair Display', serif;

    font-size: 1.5rem;

    font-weight: 600;

    color: var(--principal-oscuro);

}

.logo a {

    text-decoration: none;

    color: #A95FC3;

    font-size: 2rem;

    transition: 0.3s;

}


/* Enlaces */

.navbar nav {

    display: flex;

    gap: 25px;

}


.navbar nav a {

    text-decoration: none;

    color: var(--texto);

    font-size: 1rem;

    transition: 0.3s;

}



.navbar nav a:hover,
.navbar nav a.activo {

    color: var(--principal);

}


/* Botón móvil */

.menu-btn {

    display: none;

    border: none;

    background: none;

    font-size: 1.8rem;

    cursor: pointer;

    color: var(--texto);

}


/* ========================================
   HERO
======================================== */

.hero {

    min-height: 85vh;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 80px;

    padding: 80px 8%;

}

/* ========================================
   OPINIONES - ¿QUIÉN ES CLAUDIA?
======================================== */

.tonto {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 30px 120px;
}

.tonto-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 100px;
}


/* ----------------------------------------
   CADA OPINIÓN
---------------------------------------- */

.burbuja {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 0px;
    padding: 35px 50px;

    background-color: var(--blanco);
    color: var(--texto);

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.6;
}


/* ----------------------------------------
   COMILLAS GRANDES
---------------------------------------- */

.burbuja::before {
    content: "“";

    position: absolute;

    top: -35px;
    left: 25px;

    font-family: 'Playfair Display', serif;
    font-size: 5rem;

    color: var(--principal);
    opacity: 0.7;
}


/* ----------------------------------------
   AUTOR DE LA FRASE
---------------------------------------- */

.burbuja::after {

    display: block;

    margin-top: 20px;

    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;

    color: var(--texto-suave);

    letter-spacing: 0.5px;
}


/* ----------------------------------------
   ALTERNAR TAMAÑOS
---------------------------------------- */

.burbuja:nth-child(2) {
    max-width: 280px;
}

.burbuja:nth-child(3) {
    max-width: 250px;
}

.burbuja:nth-child(4) {
    max-width: 200px;
}

.burbuja:nth-child(1) {
    max-width: 600px;
}


/* ----------------------------------------
   MÓVIL
---------------------------------------- */

@media (max-width: 600px) {

    .tonto {
        padding: 50px 20px 80px;
    }

    .tonto-text {
        gap: 70px;
    }

    .burbuja {
        max-width: 100% !important;

        padding: 30px 25px;

        font-size: 1.15rem;
        line-height: 1.6;

        border-radius: 16px;
    }

    .burbuja::before {
        top: -30px;
        left: 10px;

        font-size: 4rem;
    }

    .burbuja::after {
        font-size: 0.75rem;
        margin-top: 15px;
    }
}

/* Texto */

.hero-text {

    max-width: 550px;

}


.frase {
    margin: 0;
}

.autor {
    margin: 20px 0 0;

    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;

    color: var(--texto-suave);

    letter-spacing: 0.5px;
}



.pequeno-texto {

    color: var(--principal-oscuro);

    font-size: 0.9rem;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 10px;

}


.hero h1 {

    font-family: 'Playfair Display', serif;

    font-size: clamp(4rem, 8vw, 7rem);

    font-weight: 500;

    color: var(--principal);

    line-height: 1;

    margin-bottom: 25px;

}


.descripcion {

    color: var(--texto-suave);

    font-size: 1rem;

    max-width: 450px;

    margin-bottom: 35px;

}


/* ========================================
   BOTONES
======================================== */

.boton {

    display: inline-block;

    padding: 13px 28px;

    background-color: var(--principal);

    color: white;

    text-decoration: none;

    border-radius: 30px;

    transition: 0.3s;

}


.boton:hover {

    background-color: var(--principal-oscuro);

    transform: translateY(-3px);

}

.burbuja {


    padding: 13px 28px;

    background-color: var(--principal);

    color: white;

    text-decoration: none;

    border-radius: 30px;

    

}




/* ========================================
   IMAGEN HERO
======================================== */

.hero-imagen {

    width: 400px;

    height: 500px;

    overflow: hidden;

    border-radius: 200px 200px 20px 20px;

    box-shadow: 0 20px 50px rgba(197, 127, 219, 0.25);

}


.hero-imagen img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* ========================================
   INTRODUCCIÓN
======================================== */

.introduccion {

    margin: 0px;

    text-align: center;

    padding: 50px ;
    padding-bottom: 20px;
    border-top: 1px solid var(--principal-claro);

}


.linea {

    text-align: center;

    padding: 30px;

    color: var(--texto-suave);

    font-size: 0.8rem;

    border-top: 1px solid var(--principal-claro);

}


.etiqueta {

    color: var(--principal);

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 0.8rem;

}


.introduccion h2 {

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    font-weight: 500;

    margin: 15px 0 25px;

}


.introduccion h1 {


    font-size: 2rem;

    font-weight: 50;

    margin: 15px 0 25px;

}


.introduccion p {

    color: var(--texto-suave);
    padding: 50px;

}


.enlace {

    display: inline-block;

    margin-top: 25px;

    color: var(--principal-oscuro);

    text-decoration: none;

    font-weight: 500;

}


/* ========================================
   FOOTER
======================================== */

footer {

    text-align: center;

    padding: 30px;

    color: var(--texto-suave);

    font-size: 0.8rem;

    border-top: 1px solid var(--principal-claro);

}


/* ========================================
   GALERÍA
======================================== */

.galeria-intro {

    text-align: center;

    max-width: 700px;

    margin: 0 auto;

    padding: 80px 30px 50px;

}


.galeria-intro h1 {

    font-family: 'Playfair Display', serif;

    font-size: 4rem;

    font-weight: 500;

    color: var(--principal);

    margin: 10px 0 20px;

}


.galeria-intro p:last-child {

    color: var(--texto-suave);

}


/* ========================================
   CONTENEDOR DE TARJETAS
======================================== */

.galeria {

    max-width: 1200px;

    margin: 0 auto;

    padding: 30px 40px 100px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 35px;

}


/* ========================================
   TARJETA
======================================== */

.tarjeta {

    height: 430px;

    perspective: 1000px;

    cursor: pointer;

}


/* Interior */

.tarjeta-interior {

    position: relative;

    width: 100%;

    height: 100%;

    transition: transform 0.8s;

    transform-style: preserve-3d;

}


/* Cuando está girada */

.tarjeta.girada .tarjeta-interior {

    transform: rotateY(180deg);

}


/* ========================================
   PARTE FRONTAL Y TRASERA
======================================== */

.tarjeta-frontal,
.tarjeta-trasera,
.tarjeta-frontal-gustos {

    position: absolute;

    width: 100%;

    height: 100%;

    top: 0;

    left: 0;

    backface-visibility: hidden;

    border-radius: 25px;

    overflow: hidden;

}


/* ========================================
   FRENTE
======================================== */

.tarjeta-frontal {

    background-color: var(--blanco);

    box-shadow: 0 15px 35px rgba(197, 127, 219, 0.18);

}


.tarjeta-frontal img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


/* Oscurecimiento inferior */

.tarjeta-frontal::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 100px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.45)
    );

}


/* Texto de ayuda */

.indicador {

    position: absolute;

    bottom: 20px;

    left: 0;

    right: 0;

    text-align: center;

    color: white;

    z-index: 2;

    font-size: 0.8rem;

    letter-spacing: 1px;

    opacity: 0.9;

}


/* ========================================
   PARTE TRASERA
======================================== */
.tarjeta-frontal-gustos{
   background: linear-gradient(
        145deg,
        #ffffff,
        var(--principal-claro)
    );

    padding: 45px 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    
}

.tarjeta-frontal-gustos img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


/* Oscurecimiento inferior */

.tarjeta-frontal-gustos::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 100px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.45)
    );

}


.tarjeta-frontal-gustos h2 {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 500;

    color: var(--principal-oscuro);

    margin-bottom: 20px;

}


.tarjeta-frontal-gustos p {

    color: var(--texto-suave);

    font-size: 0.95rem;

    line-height: 1.8;

}


.tarjeta-frontal-gustos span {

    font-size: 2rem;

    color: var(--principal);

    margin-top: 30px;

}
.tarjeta-trasera {

    background: linear-gradient(
        145deg,
        #ffffff,
        var(--principal-claro)
    );

    transform: rotateY(180deg);

    padding: 45px 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

}

.tarjeta-trasera img{

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


.tarjeta-trasera h2 {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 500;

    color: var(--principal-oscuro);

    margin-bottom: 20px;

}


.tarjeta-trasera p {

    color: var(--texto-suave);

    font-size: 0.95rem;

    line-height: 1.8;

}


.tarjeta-trasera span {

    font-size: 2rem;

    color: var(--principal);

    margin-top: 30px;

}


/* ========================================
   EFECTO AL PASAR EL RATÓN
======================================== */

.tarjeta:hover {

    transform: translateY(-7px);

    transition: transform 0.3s;

}


/* ========================================
   RESPONSIVE
======================================== */


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .galeria {

        grid-template-columns: repeat(2, 1fr);

        padding: 30px;

    }

}


/* ========================================
   MÓVIL
======================================== */

@media (max-width: 900px) {

    /* -----------------------------
       MENÚ MÓVIL
    ----------------------------- */

    .navbar {

        position: sticky;

    }


    .navbar nav {

        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background-color: rgba(255, 249, 253, 0.98);

        flex-direction: column;

        align-items: center;

        gap: 20px;

        padding: 25px 0;

        border-bottom: 1px solid var(--principal-claro);

    }


    /* MENÚ ABIERTO */

    .navbar nav.active {

        display: flex;

    }


    /* Botón */

    .menu-btn {

        display: block;

    }


    /* -----------------------------
       HERO
    ----------------------------- */

    .hero {

        flex-direction: column;

        text-align: center;

        gap: 50px;

    }


    .hero-imagen {

        width: 300px;

        height: 380px;

    }

}


/* ========================================
   MÓVIL PEQUEÑO
======================================== */

@media (max-width: 600px) {

    .navbar {

        padding: 18px 5%;

    }


    .hero {

        padding: 60px 5%;

    }


    .hero h1 {

        font-size: 4rem;

    }


    .hero-imagen {

        width: 260px;

        height: 340px;

    }


    .introduccion h2 {

        font-size: 2.3rem;

    }


    /* GALERÍA */

    .galeria-intro {

        padding: 60px 25px 30px;

    }


    .galeria-intro h1 {

        font-size: 3rem;

    }


    .galeria {

        grid-template-columns: 1fr;

        padding: 20px 25px 70px;

    }


    .tarjeta {

        height: 450px;

    }

}


/* ========================================
   PÁGINA DE ACCESO
======================================== */

.pagina-acceso {
    margin: 0;
    min-height: 100vh;

    background: linear-gradient(
        135deg,
        var(--fondo),
        var(--principal-claro)
    );
}


/* ----------------------------------------
   CONTENEDOR PRINCIPAL
---------------------------------------- */

.acceso {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}


/* ----------------------------------------
   CAJA DE ACCESO
---------------------------------------- */

.acceso-caja {
    width: 100%;
    max-width: 430px;

    padding: 50px 45px;

    background-color: var(--blanco);

    border-radius: 25px;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}


/* ----------------------------------------
   ICONO
---------------------------------------- */

.acceso-icono {
    width: 70px;
    height: 70px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--principal);

    border-radius: 50%;

    font-size: 1.8rem;

    box-shadow: 0 8px 20px rgba(197, 127, 219, 0.3);
}


/* ----------------------------------------
   TÍTULO
---------------------------------------- */

.acceso-caja h1 {
    margin: 0 0 10px;

    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;

    color: var(--texto);
}


/* ----------------------------------------
   TEXTOS
---------------------------------------- */

.acceso-subtitulo {
    margin: 0 0 8px;

    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;

    color: var(--principal-oscuro);
}

.acceso-texto {
    margin: 0 0 30px;

    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;

    color: var(--texto-suave);
}


/* ----------------------------------------
   FORMULARIO
---------------------------------------- */

.acceso-form {
    display: flex;
    flex-direction: column;

    text-align: left;
}

.acceso-form label {
    margin-bottom: 8px;

    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;

    color: var(--texto);
}

.acceso-form input {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;

    border: 2px solid var(--fondo);
    border-radius: 12px;

    outline: none;

    font-family: 'Poppins', sans-serif;
    font-size: 1rem;

    color: var(--texto);

    transition: 0.25s ease;
}

.acceso-form input:focus {
    border-color: var(--principal);

    box-shadow: 0 0 0 3px rgba(197, 127, 219, 0.15);
}


/* ----------------------------------------
   BOTÓN ENTRAR
---------------------------------------- */

.acceso-form button {
    margin-top: 15px;

    padding: 14px;

    border: none;
    border-radius: 12px;

    background-color: var(--principal);
    color: var(--blanco);

    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;

    cursor: pointer;

    transition: 0.25s ease;
}

.acceso-form button:hover {
    background-color: var(--principal-oscuro);

    transform: translateY(-2px);
}


/* ----------------------------------------
   SOLICITAR CÓDIGO
---------------------------------------- */

.solicitar-codigo {
    margin-top: 20px;

    border: none;
    background: none;

    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;

    color: var(--principal-oscuro);

    cursor: pointer;

    transition: 0.2s ease;
}

.solicitar-codigo:hover {
    color: var(--principal);
    text-decoration: underline;
}


/* ----------------------------------------
   AVISO
---------------------------------------- */

.acceso-aviso {
    margin: 25px 0 0;

    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    line-height: 1.5;

    color: var(--texto-suave);
}


/* ----------------------------------------
   MÓVIL
---------------------------------------- */

@media (max-width: 600px) {

    .acceso {
        padding: 20px;
    }

    .acceso-caja {
        padding: 40px 25px;

        border-radius: 20px;
    }

    .acceso-caja h1 {
        font-size: 1.9rem;
    }

    .acceso-icono {
        width: 60px;
        height: 60px;

        font-size: 1.5rem;
    }
}


/* ========================================
   CERRAR SESIÓN
======================================== */

.cerrar-sesion {
    border: none;
    background: transparent;

    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;

    color: var(--principal-oscuro);

    cursor: pointer;

    padding: 8px 12px;

    transition: 0.25s ease;
}

.cerrar-sesion:hover {
    color: var(--principal);
    transform: translateY(-1px);
}
