:root {
    --p: #8F7791;
    --w: #fff;
    --dark: #222;
    --gray: #666;
    --text-normal: #635f5f;
    --light: #f1eef1;
    --black-light: #1d1d1d;
    --text-gold: #DFBC8B;
    --text-gold-dark: #C89B2B;
    --text-gold-light: #E2C3A1;
    --gold-rgb: rgba(223, 188, 139);
    --text-purple: #8F7791;
    --p-rgba: rgba(143, 119, 145, 0.9);
}

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

img {
    max-width: 100%;
    display: block;
}

body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Manrope, sans-serif;
    color: #222;
    background-color: var(--light);
}

/*==========================================
                NAVBAR
==========================================*/

.navbar {
    background: var(--p-rgba);
    backdrop-filter: blur(1px);
    padding: 10px;
    margin: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
}

/*logo purple coffee*/
.logo-navbar {
    height: 40px;
    /* 500px es enorme para un navbar */
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
}

.logo-navbar:hover {
    transform: scale(1.05);
}

/*Home-menu etc..*/
.nav-link {
    color: var(--text-gold-light) !important;
    transition: .3s
}

.nav-link:hover {
    color: var(--text-gold) !important;
    transition: .3s
}

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

.hero {
    height: 100vh;
    background-image: url("../img/fondo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.cup-gold {
    width: 110px;
    height: auto;
    display: block;
    margin-bottom: 60px;
}

.hero-subtitle {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    /* o 700 */
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--text-gold-dark);
}

.text-bold {
    font-weight: bold;
    color: var(--text-normal);
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 5.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-top: -70px;
}

.lavender-icon {
    width: auto;
    height: 22px;
}


.btn-purple {
    background: var(--p);
    color: var(--text-gold-light);
    border-radius: 999px;
    padding: .9rem 2rem;
    transition: all .3s ease;
}

.btn-purple:hover {
    background: var(--text-gold-light);
    color: var(--p);
    font-weight: bold;
    transform: translateY(-5px) scale(1.15);

}

/*==========================================
                Body
==========================================*/

.text-gold {
    color: var(--text-gold);
}

.premium-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    letter-spacing: 2px;
}

.lavender-icon {
    width: 90px;
    /* ajusta al tamaño que necesites */
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.lavender-right {
    transform: scaleX(-1);
    /* Opcional: la gira para que mire al otro lado */
}

.text-purple {
    color: var(--p);
    font-size: 24px;
}

.values-section {
    padding: 100px 0;
}

.value-card {
    height: 100%;
    padding: 35px;
    border: 1px solid #ececec;
    border-radius: 12px;
    transition: .3s;
    background: #fff;
}

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

.value-card h4 {
    color: var(--p);
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.8;
}

.section-title {
    color: var(--p);

}

h2 {
    color: var(--p);
}

.story-image,
.coffee-image {
    width: 100%;
    max-width: 520px;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
}


/* ========================================= */
/* OUR HISTORY */
/* ========================================= */

.history-section {
    position: relative;
}

/* Header */

.history-header {
    max-width: 700px;
    margin: 0 auto;
}

.history-header .section-tag {
    display: block;
    margin-bottom: 10px;
}

.history-intro {
    max-width: 600px;
    margin: 20px auto 0;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}


/* Cards */

.history-card {
    height: 100%;
    padding: 45px 35px;
    background: #ffffff;
    border: 1px solid rgba(111, 63, 214, 0.12);
    transition: all 0.3s ease;
}

.history-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}


/* Number */

.history-number {
    font-size: 18px;
    color: var(--text-gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}


/* Title */

.history-card h3 {
    font-size: 34px;
    font-weight: 600;
    color: var(--p);
    margin-bottom: 18px;
}


/* Keywords */

.history-keywords {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.history-keywords span {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-gold-dark);
}

.history-keywords span:not(:last-child)::after {
    content: " •";
    margin-left: 8px;
}


/* Description */

.history-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 320px;
}


/* Closing */

.history-closing {
    margin-top: 70px;
}

.history-divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.history-divider::before,
.history-divider::after {
    content: "";
    height: 1px;
    width: 80px;
    background: #c5a15b;
}

.history-divider span {
    color: #6f3fd6;
    font-size: 18px;
    margin: 0 18px;
}

.history-years {
    font-size: 11px;
    letter-spacing: 3px;
    color: #8a6b3d;
}

.history-closing h3 {
    margin-top: 18px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 500;
    color: var(--text-normal);
}

.history-closing h3 em {
    color: var(--p);
}


/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 768px) {
    .logo-navbar {
        height: 35px;
    }

    .history-section {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .history-header {
        padding: 0 15px;
    }

    .history-header .section-title {
        font-size: 38px;
    }

    .history-intro {
        font-size: 14px;
        line-height: 1.7;
    }

    .history-card {
        padding: 35px 25px;
    }

    .history-card h3 {
        font-size: 30px;
    }

    .history-card p {
        font-size: 13px;
    }

    .history-closing {
        margin-top: 50px;
    }

    .history-closing h3 {
        font-size: 28px;
    }

    .history-divider::before,
    .history-divider::after {
        width: 50px;
    }

    .cup-gold {
        width: 40px;
        height: auto;
        display: block;
        margin-bottom: 70px;
    }

}

@media (max-width: 576px) {

    .history-header .section-title {
        font-size: 34px;
    }

    .history-intro {
        padding: 0 10px;
    }

    .history-card {
        padding: 30px 22px;
    }

    .history-keywords {
        gap: 5px;
    }

    .history-keywords span {
        font-size: 9px;
    }

    .history-closing h3 {
        font-size: 25px;
    }

    .history-years {
        font-size: 9px;
        letter-spacing: 2px;
    }
  

}



/*==========================================
            COFFEE CARDS
==========================================*/

.coffee-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(111, 63, 214, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .35s ease;
    height: 100%;
}

.coffee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(111, 63, 214, .18);
    border-color: rgba(111, 63, 214, .25);
}




/* Imagen */

.coffee-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: .5s;
}

.coffee-card:hover img {
    transform: scale(1.08);
}

/* Contenido */
.coffee-card {
    cursor: pointer;
}

.coffee-content {
    padding: 25px;
}

.coffee-content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.coffee-content p {
    color: var(--gray);
    line-height: 1.8;
    min-height: 75px;
}

/* Precio + botón */

.coffee-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.price {
    color: var(--p);
    font-size: 1.4rem;
    font-weight: 700;
}


/*==========================================
                FEATURES
==========================================*/

.container-features {
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(143, 119, 145, 0.15);
    border-radius: 18px;
    overflow: hidden;

    transition: all .3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}


/* IMAGEN DE LAS TARJETAS */

.feature-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    transition: transform .5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.04);
}


/* CONTENIDO */

.feature-content {
    padding: 25px 25px 30px;
}

.feature-content h4 {
    margin: 0 0 12px;

    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;

    color: var(--p);
}

.feature-content p {
    max-width: 280px;
    margin: 0 auto;

    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/*==========================================
                FOOTER
==========================================*/

.footer {
    position: relative;
    overflow: hidden;
    background-color: var(--p);
    padding-top: 55px;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    max-width: 1100px;

    margin: auto;
    padding: 0 30px 45px;
}


/* LOGO */

.footer-logo img {
    width: 200px;
    height: auto;
    display: block;
}

.social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;

    color: rgba(255, 255, 255, .9);

    transition: all .3s ease;
}

.social-icon {
    width: 23px;
    height: 23px;
}

.social a:hover {
    color: #d8b66a;
    border-color: #d8b66a;
    transform: translateY(-4px);
}

.social-icon:hover {
    color: var(--text-gold-dark);
}


.footer hr {
    border-color: rgba(255, 255, 255, .15);
    margin: 35px 0;
}

.footer p {
    margin-top: 30px;
    color: rgba(255, 255, 255, .85);
    line-height: 2;
    letter-spacing: 1px;
}


.footer-bottom {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 25px 30px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-heart {
    color: #d8b66a;
    font-size: 25px;
    line-height: 1;
}

.order {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    transition: .3s;
}

.order:hover {
    color: var(--p);
    transform: translateY(-3px);
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all .3s ease;
}

.social-icon {
    width: 100%;
    height: 100%;
    transition: inherit;
}

.social a:hover {
    color: var(--p);
    transform: translateY(-5px) scale(1.15);
}




/*==========================================
                MENU
==========================================*/

.menu {
    background: #f8f5fc;
}

.section-description {
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--gray);
    line-height: 1.8;
}

/* ===========================
   RESPONSIVE - TABLETS Y MÓVILES
=========================== */

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    /* NAVBAR */

    .navbar {
        padding: 8px 0;
    }

    .navbar-toggler {
        border: 0px;
        /* color del borde normal */
        background: transparent;
        border-radius: 0;
        /* cuadrado */
        padding: 6px;
        outline: none;
        /* quita el outline por defecto */
        box-shadow: none;
        /* quita sombra por defecto */
    }

    /* Cuando se hace click / foco */
    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler.show {
        border-color: var(--gold-rgb);
        /* mismo o similar color, no negro */
        outline: none;
        box-shadow: none;
        background: transparent;
    }

    /* Color de las 3 líneas */
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(223, 188, 139, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 24px 24px;
    }

    .logo-navbar {
        height: 25px;
        width: auto;
    }

    .navbar-collapse {
        margin-top: 15px;
        padding: 20px;
        border-radius: 18px;
        background: rgba(119, 78, 128, 0.5);
        backdrop-filter: blur(18px);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 1.05rem;
        color: var(--text-gold) !important;
    }

    /* HERO */
    .hero {
        min-height: 100vh;
        background-image: url("../img/fondo-9-16.png");
        padding: 120px 20px 70px;
        background-position: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 4px;
        line-height: 1.8;
    }

    .lavender-icon {
        width: 30px;
        height: auto;
    }

    .text-purple {
        font-size: 54px;
        line-height: 1.05;
    }

    .text-bold {
        font-size: 18px;
    }

    .btn-purple {
        padding: 12px 28px;
    }

    .taza-café {
        position: relative;
        /* Ya no flota para no tapar el texto */
        width: 220px;
        /* Tamaño mucho más pequeño */
        margin: 30px auto 0 auto;
        /* Se ubica de forma centrada debajo del botón */
        display: block;
    }

    .hero h5 {
        font-size: .9rem;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 7vw, 5.5rem);
        line-height: 1.08;
        margin-bottom: 20px;
        color: var(--text-purple);
    }

    .hero p {
        font-size: 1.05rem;
        max-width: 340px;
        line-height: 1.6;
        margin-bottom: 35px;
    }

    .btn-purple {
        padding: 15px 40px;
        font-size: 1rem;
    }


    /* SECCIONES */

    section {
        padding: 70px 0;
    }

    section h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: .85rem;
        letter-spacing: 3px;
    }


    /* IMÁGENES */

    .coffee-image {
        width: 100%;
        max-width: 500px;
        height: auto;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }

    .coffee-image-deatil {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: auto;
        display: block;
    }

    /* FEATURES */

    .container-features {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .feature-card {
        height: 100%;
        margin-bottom: 0;
    }

    .feature-image {
        height: 230px;
    }

    .feature-content {
        padding: 25px 20px 28px;
    }

    .feature-content h4 {
        font-size: 27px;
    }

    .feature-content p {
        font-size: 13px;
    }

    /* CARDS MENÚ */
    .menu-card {
        margin-bottom: 25px;
    }

    /* FOOTER */

    .footer-logo img {
        width: 180px;
    }

    .social {
        justify-content: center;
    }

    .footer {
        padding: 45px 20px;
    }


    .footer-content {
        flex-direction: column;
        gap: 30px;
        padding: 0;
        text-align: center;
    }

    .footer-logo img {
        width: 180px;
    }

    .social {
        gap: 15px;
    }

    .social a {
        width: 45px;
        height: 45px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;

        text-align: center;

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

    .footer-heart {
        order: -1;
    }


    .order {
        display: inline-block;
        margin-top: 10px;
    }

    .coffee-image {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 40px auto 0;
    }

}

@media (max-width: 480px) {

    .feature-image {
        height: 210px;
    }

    .feature-content h4 {
        font-size: 25px;
    }

}