@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root{
    --crema: #f5f0ea;
    --crema-2: #efe7dd;
    --blanco: #ffffff;
    --rosa: #d7b8b6;
    --verde: #5f7055;
    --verde-suave: #95a27e;
    --marron: #5d4035;
    --texto: #2d2a28;
    --sombra: rgba(40, 28, 18, 0.10);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'DM Sans', sans-serif;
    color: var(--texto);
    background:
        radial-gradient(circle at top left, rgba(215, 184, 182, 0.55), transparent 28%),
        radial-gradient(circle at bottom right, rgba(149, 162, 126, 0.30), transparent 28%),
        linear-gradient(135deg, #f6f1eb 0%, #efe7dd 52%, #f8f3ed 100%);
    overflow-x: hidden;
    position: relative;
}

.bg-blur{
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -3;
    opacity: 0.42;
    pointer-events: none;
}

.blur1{
    width: 340px;
    height: 340px;
    background: rgba(215, 184, 182, 0.45);
    top: -120px;
    left: -120px;
    animation: driftA 12s ease-in-out infinite alternate;
}

.blur2{
    width: 320px;
    height: 320px;
    background: rgba(149, 162, 126, 0.30);
    bottom: -120px;
    right: -120px;
    animation: driftB 14s ease-in-out infinite alternate;
}

.blur3{
    width: 240px;
    height: 240px;
    background: rgba(232, 208, 194, 0.35);
    top: 42%;
    right: 12%;
    animation: driftC 16s ease-in-out infinite alternate;
}

.grain{
    position: fixed;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
    opacity: 0.045;
    z-index: -2;
    pointer-events: none;
}

/* HEADER */

.header{
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 92%);
    padding: 16px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 30px rgba(40, 28, 18, 0.10);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-container{
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo-frame{
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex: 0 0 60px;
}

.logo-frame img{
    width: 105px;
    height: 105px;
    object-fit: contain;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.14));
}

.logo-frame:hover img{
    transform: rotate(-8deg) scale(1.08);
}

.logo-container h1{
    font-family: 'Baloo 2', sans-serif;
    color: var(--marron);
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: 2px;
}

.logo-container p{
    font-family: 'Cormorant Garamond', serif;
    color: var(--verde);
    font-size: 1.05rem;
    margin-top: -2px;
}

.navbar{
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.navbar a{
    text-decoration: none;
    color: var(--texto);
    font-weight: 700;
    position: relative;
    transition: color 0.28s ease, transform 0.28s ease;
}

.navbar a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--verde);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.navbar a:hover{
    color: var(--verde);
    transform: translateY(-2px);
}

.navbar a:hover::after{
    transform: scaleX(1);
}

/* MAIN */

main{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 160px 5% 70px;
}

/* HERO */

.hero{
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    position: relative;
}

.hero-text{
    flex: 1;
    animation: riseUp 0.9s ease both;
}

.mini-tag{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(149, 162, 126, 0.18);
    color: var(--verde);
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-title{
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(3.8rem, 8vw, 6.8rem);
    line-height: 0.94;
    color: var(--marron);
    margin-bottom: 24px;
    max-width: 10ch;
}

.hero-description{
    max-width: 560px;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #534e49;
    margin-bottom: 32px;
}

.hero-buttons{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn{
    padding: 15px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.30s ease, background 0.30s ease, color 0.30s ease, border 0.30s ease;
}

.primary-btn{
    background: var(--verde);
    color: var(--blanco);
    box-shadow: 0 12px 26px rgba(95, 112, 85, 0.22);
}

.primary-btn:hover{
    transform: translateY(-5px);
    background: #4f5e47;
}

.secondary-btn{
    border: 2px solid var(--verde);
    color: var(--verde);
    background: rgba(255, 255, 255, 0.28);
}

.secondary-btn:hover{
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.80);
}

/* HERO SLIDER */

.hero-slider{
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 560px;
}

.slider-shell{
    width: min(100%, 460px);
    height: 560px;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 55px rgba(40, 28, 18, 0.13);
    animation: floatCard 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.slider-shell img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    animation: sliderFade 16s infinite;
}

.slider-shell img:nth-child(1){ animation-delay: 0s; }
.slider-shell img:nth-child(2){ animation-delay: 4s; }
.slider-shell img:nth-child(3){ animation-delay: 8s; }
.slider-shell img:nth-child(4){ animation-delay: 12s; }

.slider-chip{
    position: absolute;
    z-index: 3;
    left: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    color: var(--marron);
    box-shadow: 0 10px 18px rgba(0,0,0,0.08);
}

/* SECTION HEADING */

.section-heading{
    text-align: center;
    margin: 110px 0 52px;
}

.section-heading span{
    display: inline-block;
    color: var(--verde);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading h2{
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(2.6rem, 4vw, 4rem);
    color: var(--marron);
    line-height: 1;
}

/* HOME FOCUS */

.home-focus{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    align-items: stretch;
    margin-top: 20px;
}

.home-panel{
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.52);
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 14px 30px rgba(40, 28, 18, 0.08);
}

.home-copy h3{
    font-family: 'Baloo 2', sans-serif;
    font-size: 2.6rem;
    color: var(--marron);
    line-height: 1;
    margin-bottom: 18px;
}

.home-copy p{
    line-height: 1.9;
    color: #564f4a;
    font-size: 1rem;
    margin-bottom: 14px;
}

.home-visual{
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-visual img{
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* VALUE GRID */

.value-grid{
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.value-card{
    background: rgba(255, 255, 255, 0.56);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(40, 28, 18, 0.08);
    transition: transform 0.3s ease;
}

.value-card:hover{
    transform: translateY(-6px);
}

.value-card h4{
    font-family: 'Baloo 2', sans-serif;
    font-size: 1.8rem;
    color: var(--marron);
    margin-bottom: 10px;
}

.value-card p{
    line-height: 1.8;
    color: #5b5652;
}

/* PAGE HERO */

.page-hero,
.menu-hero{
    background: rgba(255,255,255,0.50);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 34px;
    padding: 34px;
    margin-bottom: 36px;
    box-shadow: 0 14px 30px rgba(40, 28, 18, 0.08);
}

.page-hero h2,
.menu-hero h2{
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    color: var(--marron);
    margin-bottom: 12px;
    line-height: 1;
}

.page-hero p,
.menu-hero p{
    line-height: 1.9;
    max-width: 820px;
    color: #5a534f;
}

/* BADGES */

.badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(149, 162, 126, 0.16);
    color: var(--verde);
    font-size: 0.80rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.badge.pink{
    background: rgba(215, 184, 182, 0.20);
    color: var(--marron);
}

/* POSTRES */

.menu-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 24px;
}

.menu-card{
    background: rgba(255,255,255,0.58);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.50);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(40, 28, 18, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 22px 42px rgba(40, 28, 18, 0.12);
}

.menu-card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-card:hover img{
    transform: scale(1.05);
}

.menu-card-content{
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.menu-card-content h3{
    font-family: 'Baloo 2', sans-serif;
    font-size: 2rem;
    color: var(--marron);
    line-height: 1;
}

.menu-card-content p{
    line-height: 1.8;
    color: #5b5652;
}

.price{
    margin-top: auto;
    display: inline-flex;
    background: rgba(149, 162, 126, 0.14);
    color: var(--verde);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    width: fit-content;
}

.order-btn{
    text-decoration: none;
    transition:
        transform 0.30s ease,
        background 0.30s ease,
        color 0.30s ease,
        box-shadow 0.30s ease;
}

.order-btn:hover{
    transform: translateY(-4px) scale(1.03);
    background: var(--verde);
    color: white;
    box-shadow: 0 10px 20px rgba(95, 112, 85, 0.20);
}

.order-btn{
    text-decoration: none;
    cursor: pointer;
}

/* EVENTOS */

.event-layout{
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.event-block{
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: center;
    background: rgba(255,255,255,0.56);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.46);
    border-radius: 34px;
    padding: 22px;
    box-shadow: 0 14px 30px rgba(40, 28, 18, 0.08);
}

.event-block.reverse{
    grid-template-columns: 1.05fr 0.95fr;
}

.event-block.reverse .event-image{
    order: 2;
}

.event-block.reverse .event-info{
    order: 1;
}

.event-image img{
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    transition: transform 0.4s ease;
}

.event-block:hover .event-image img{
    transform: scale(1.03);
}

.event-info{
    padding: 10px 10px 10px 8px;
}

.event-info h3{
    font-family: 'Baloo 2', sans-serif;
    font-size: 2.55rem;
    color: var(--marron);
    margin-bottom: 14px;
    line-height: 1;
}

.event-info p{
    line-height: 1.9;
    color: #5b5652;
    margin-bottom: 12px;
}

.event-pill{
    display: inline-flex;
    width: fit-content;
    background: rgba(215, 184, 182, 0.20);
    color: var(--marron);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* NOSOTROS */

.about-box{
    max-width: 1040px;
    margin: 0 auto;
    background: rgba(255,255,255,0.58);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.48);
    border-radius: 40px;
    padding: 36px;
    box-shadow: 0 14px 30px rgba(40, 28, 18, 0.08);
}

.about-top{
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 26px;
    align-items: center;
}

.about-copy h2{
    font-family: 'Baloo 2', sans-serif;
    font-size: clamp(2.8rem, 4vw, 4rem);
    color: var(--marron);
    line-height: 1;
    margin-bottom: 18px;
}

.about-copy p{
    line-height: 1.95;
    color: #5b5652;
    margin-bottom: 14px;
}

.about-image img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.10);
}

.about-values{
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.value-card{
    background: rgba(255,255,255,0.60);
    border-radius: 26px;
    padding: 22px;
    text-align: center;
}

.value-card h3{
    font-family: 'Baloo 2', sans-serif;
    color: var(--marron);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.value-card p{
    line-height: 1.8;
    color: #5b5652;
}

/* AYUDA */

.faq{
    display: grid;
    gap: 20px;
}

.faq-item{
    background: rgba(255,255,255,0.58);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.48);
    border-radius: 28px;
    padding: 0 24px;
    box-shadow: 0 14px 30px rgba(40, 28, 18, 0.08);
    overflow: hidden;
}

.faq-item summary{
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-family: 'Baloo 2', sans-serif;
    font-size: 2rem;
    color: var(--marron);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker{
    display: none;
}

.faq-item summary::after{
    content: "+";
    flex-shrink: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--verde);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after{
    content: "–";
}

.faq-item p{
    padding: 0 0 18px;
    line-height: 1.9;
    color: #5b5652;
}

/* FOOTER */

footer{
    margin-top: 110px;
    padding: 48px 5%;
    background: rgba(255,255,255,0.52);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.5);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

footer h3{
    font-family: 'Baloo 2', sans-serif;
    color: var(--marron);
    font-size: 1.8rem;
    margin-bottom: 14px;
}

footer a,
footer p{
    display: block;
    margin-bottom: 10px;
    color: #534f4c;
    text-decoration: none;
}

footer a:hover{
    color: var(--verde);
}

.redes{
    display: flex;
    gap: 12px;
}

.redes a{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: transform 0.30s ease;
}

.redes a:hover{
    transform: translateY(-6px) rotate(6deg);
}

/* ANIMACIONES */

@keyframes sliderFade{
    0%{opacity:0; transform:scale(1.06);}
    10%{opacity:1;}
    25%{opacity:1;}
    33%{opacity:0;}
    100%{opacity:0; transform:scale(1.06);}
}

@keyframes floatCard{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-14px); }
}

@keyframes driftA{
    from{ transform: translate(0,0); }
    to{ transform: translate(36px, 22px); }
}

@keyframes driftB{
    from{ transform: translate(0,0); }
    to{ transform: translate(-36px, -22px); }
}

@keyframes driftC{
    from{ transform: translate(-20px, 10px); }
    to{ transform: translate(24px, -18px); }
}

@keyframes riseUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

@media (max-width: 1080px){
    .hero{
        flex-direction: column;
        text-align: center;
    }

    .hero-description{
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons{
        justify-content: center;
    }

    .home-focus,
    .about-top{
        grid-template-columns: 1fr;
    }

    .event-block,
    .event-block.reverse{
        grid-template-columns: 1fr;
    }

    .event-block.reverse .event-image,
    .event-block.reverse .event-info{
        order: initial;
    }
}

@media (max-width: 760px){
    .header{
        flex-direction: column;
        padding: 16px 18px;
        gap: 14px;
    }

    main{
        padding-top: 210px;
    }

    .navbar{
        gap: 16px;
    }

    .hero-title{
        max-width: none;
    }

    .slider-shell{
        width: 100%;
        height: 430px;
    }

    .section-heading{
        margin-top: 86px;
    }

    .value-grid{
        grid-template-columns: 1fr;
    }

    .menu-grid{
        grid-template-columns: 1fr;
    }

    .about-values{
        grid-template-columns: 1fr;
    }

    .faq-item summary{
        font-size: 1.5rem;
    }

    footer{
        flex-direction: column;
    }
}