    /* -----------------------
    IMPORTAR FUENTES DE GOOGLE
    -------------------------- */
        @import url('https://fonts.googleapis.com/css2?family=Croissant+One&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
    

    /* -----------------------
    VARIABLES
   -------------------------- */
    :root {
        /* PALETA */
        --orange: #DB712E;
        --light-blue: #A7C7C8;
        --dark-brown: #6D220F;
        --cream: #EAC393;
        --gold: #E4A853;
        --brick: #B75432;
        --light-cream: #E2D2BD;
        --wine: #7A260E;

        /* COLORES GENERALES */
        --bg: var(--light-cream);
        --text: var(--dark-brown);

        --header-bg: var(--wine);
        --header-text: var(--light-cream);

        --nav-bg: var(--dark-brown);
        --nav-hover: var(--brick);

        --section-bg: #fffaf4;

        --button-bg: var(--orange);
        --button-hover: var(--brick);

        --shadow: rgba(109, 34, 15, 0.15);

        /* FUENTES */
        --title-font: 'Croissant One', serif;
        --body-font: 'Roboto', sans-serif;
    }


    /* -----------------------
    RESET BÁSICO
    -------------------------- */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    /* -----------------------
    BODY
    -------------------------- */
    body {
        font-family: var(--body-font);
        line-height: 1.6;
        /* Color de fondo */
        background-color: var(--bg);
        /* imagen transparente */
        background-image: url("assets/books_bg.png");
        background-repeat: repeat; 
        background-size: cover; 
        background-position: center;
        color: var(--text);
    }


    /* -----------------------
    TIPOGRAFÍA
    -------------------------- */
    h1,
    h2,
    h3,
    h4 {
        font-family: var(--title-font);
    }


    /* -----------------------
    HEADER
    -------------------------- */
    header {
        /* imagen de fondo */
        background-image:
            linear-gradient(
            rgba(122, 38, 14, 0.45),
            rgba(109, 34, 15, 0.55)
            ),
            url("./assets/banner.jpg");

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        color: var(--header-text);
        padding: 5rem 1.5rem;
        text-align: center;
        border-bottom: 4px solid var(--wine);
    }

    header h1 {
        margin-bottom: 0.5rem;
        font-size: 3rem;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    }

    header p {
        font-size: 1.2rem;
        text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
    }


    /* -----------------------
    NAV
    -------------------------- */
    nav {
        background: var(--nav-bg);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav li {
        margin: 0;
    }

    nav a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
        color: var(--light-cream);
        text-decoration: none;
        transition: 0.3s;
    }

    nav a:hover {
        background: var(--nav-hover);
    }


    /* -----------------------
    ICONOS
    -------------------------- */
    iconify-icon {
        font-size: 1.2rem;
        vertical-align: middle;
    }


    /* -----------------------
    MAIN
    -------------------------- */
    main {
        max-width: 1200px;
        margin: auto;
        padding: 2rem;
    }


    /* -----------------------
    SECTIONS
    -------------------------- */
    section {
        display: none;
        background: var(--section-bg);
        padding: 2rem;
        margin-bottom: 2rem;
        border-radius: 16px;
        box-shadow: 0 4px 12px var(--shadow);
        border: 2px solid rgba(109, 34, 15, 0.08);
    }

    section.active {
        display: block;
    }

    section h2 {
        margin-bottom: 1rem;
        color: var(--wine);
    }


    /* -----------------------
    INICIO
    -------------------------- */
    .intro-text {
        margin-top: 1rem;
        max-width: 700px;
        line-height: 1.8;
    }

    /* contenedor */
    .home-content {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        margin-top: 2rem;
    }

    /* cards */
    .home-card {
        flex: 1 1 250px;
        background: rgba(255,255,255,0.9);
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        transition: 0.3s;
    }

    .home-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

    /* iconos */
    .home-icon {
        font-size: 3rem;
        color: var(--orange);
        margin-bottom: 1rem;
    }

    /* títulos */
    .home-card h3 {
        margin-bottom: 0.8rem;
        color: var(--wine);
    }

    
    /* -----------------------
    FORMULARIO CONTACTO
    -------------------------- */

    .contact-form {
        width: 100%;
        max-width: 700px;
        margin: 2rem auto 0;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* grupo */
    .form-group {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    /* labels */
    .form-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.7rem;
        font-weight: bold;
        color: var(--wine);
        font-size: 1rem;
    }

    /* inputs + textarea */
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1rem;
        border: 2px solid rgba(109, 34, 15, 0.15);
        border-radius: 14px;
        background: rgba(255,255,255,0.9);
        color: var(--text);
        font-family: var(--body-font);
        font-size: 1rem;
        transition: 0.3s;
        resize: vertical;
    }

    /* placeholder */
    .form-group input::placeholder,
    .form-group textarea::placeholder {

        color: rgba(109, 34, 15, 0.45);
    }

    /* focus */
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--orange);
        box-shadow: 0 0 0 4px rgba(219, 113, 46, 0.15);
        background: white;
    }

    /* textarea */
    .form-group textarea {
        min-height: 180px;
    }

    /* botón enviar */
    .submit-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
        width: fit-content;
        padding: 1rem 2rem;
        border: none;
        border-radius: 14px; 
        background: var(--orange);
        color: white;
        font-family: var(--body-font);
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }


    /* hover */
    .submit-btn:hover {
        background: var(--brick);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(109, 34, 15, 0.2);
    }

    /* active */
    .submit-btn:active {
        transform: scale(0.98);
    }


    /* -----------------------
    PRODUCTOS
    -------------------------- */
    .products-container {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        margin-top: 2rem;
        justify-content: center;
    }

    /* card */
    .product-card {
        flex: 1 1 300px;
        max-width: 350px;
        background: rgba(255,255,255,0.9);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        transition: 0.3s;
        display: flex;
        flex-direction: column;
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

    /* imagen */
    .product-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    /* contenido */
    .product-card h3 {
        padding: 1rem 1rem 0.5rem;
        color: var(--wine);
    }

    .product-card p {
        padding: 0 1rem;
        flex-grow: 1;
    }

    /* precio */
    .product-price {
        padding: 1rem;
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--orange);
    }

    /* botón */
    .product-btn {
        margin: 0 1rem 1rem;
        padding: 1rem;
        border: none;
        border-radius: 12px;
        background: var(--orange);
        color: white;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: 0.3s;
    }

    .product-btn:hover {
        background: var(--brick);
    }


    /* -----------------------
    RESEÑAS
    -------------------------- */

    .reviews-grid {
        display: grid;
        grid-template-columns: repeat(
            auto-fit,
            minmax(280px, 1fr)
        );
        gap: 2rem;
        margin-top: 2rem;
    }

    /* card */
    .review-card {
        background: rgba(255,255,255,0.9);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }


    /* estrellas */
    .review-stars {
        color: var(--gold);
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    /* texto */
    .review-text {
        font-style: italic;
        line-height: 1.8;
    }

    /* usuario */
    .review-user {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-top: auto;
    }

    /* avatar */
    .review-avatar {

        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--orange);
    }

    /* nombre */
    .review-user h3 {
        margin-bottom: 0.2rem;
        color: var(--wine);
        font-size: 1rem;
    }

    /* rol */
    .review-user span {
        font-size: 0.9rem;
        opacity: 0.7;
    }


    /* -----------------------
    LANDING
    -------------------------- */
    /* ocultar layout en landing */
    body.landing-mode header,
    body.landing-mode nav,
    body.landing-mode footer {
        display: none;
    }

    /* landing */
    #landing {
        min-height: 100vh;
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        background:
            linear-gradient(
            rgba(122, 38, 14, 0.65),
            rgba(109, 34, 15, 0.8)
            ),
            var(--gold);

        color: var(--light-cream);
        border-radius: 0;
        box-shadow: none;
    }

    /* cuando está activo */
    #landing.active {
        display: flex;
    }

    #landing h2 {
        color: var(--light-cream);
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    #landing p {
        max-width: 600px;
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    /* contenedor visual */
    .landing-visual {
        position: relative;
        width: 100%;
        max-width: 500px;
    }

    /* imagen landing */
    .landing-image {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
        border-radius: 20px;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
    }

    /* botón landing */
    .landing-btn {
        position: absolute;
        left: 50%;
        bottom: 30%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: rgba(219, 113, 46, 0.95);
        color: white;
        text-decoration: none;
        border-radius: 12px;
        font-weight: bold;
        backdrop-filter: blur(5px);
        transition: 0.3s;
    }

    .landing-btn:hover {
        background: var(--brick);
        transform: translateX(-50%) scale(1.05);
    }


    /* -----------------------
    FOOTER
    -------------------------- */
    footer {
        background: var(--header-bg);
        color: var(--header-text);
        text-align: center;
        padding: 1.5rem;
        border-top: 4px solid var(--gold);
    }


    /* -----------------------
    RESPONSIVE
    -------------------------- */
    @media (max-width: 768px) {

        nav ul {
            flex-direction: column;
        }

        nav a {
            justify-content: center;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        main {
            padding: 1rem;
        }

        section {
            padding: 1.5rem;
        }

        #landing {
            justify-content: flex-start;
            padding-top: 2rem;
            padding-bottom: 2rem;
            min-height: auto;
        }

        #landing h2 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        #landing p {
            font-size: 1rem;
            margin-bottom: 1rem;
            padding-inline: 1rem;
        }

        /* imagen */
        .landing-visual {
            max-width: 320px;
            margin-top: 0;
        }

        /* botón */
        .landing-btn {
            padding: 0.8rem 1.2rem;
            font-size: 0.9rem;
            bottom: 20%;
        }
    }
 
    /* formulario responsive */
    @media (max-width: 768px) {
        .contact-form {
            gap: 1rem;
        }
        .form-group input,
        .form-group textarea {
            padding: 0.9rem;
        }

        .submit-btn {
            width: 100%;
            justify-content: center;
        }
    }