:root {
    --red: #C9162B;
    --red2: #8E0F1E;
    --yel: #FFC61A;
    --ink: #1E1210;
    --paper: #FFF6DD;
    --card: #FFFFFF;
    --txt: #2A1A16;
    --mut: #6B5249;
    --d: 'Bowlby One', 'Impact', sans-serif;
    --b: 'Nunito', system-ui, sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --paper: #241513;
        --card: #33201C;
        --txt: #FBEBD0;
        --mut: #CDB19F
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(70px + env(safe-area-inset-top, 0px))
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: var(--b);
    font-size: 17px;
    line-height: 1.55;
    background: var(--paper);
    color: var(--txt)
}

a {
    color: inherit
}

:focus-visible {
    outline: 3px solid var(--yel);
    outline-offset: 3px
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--red);
    color: #fff;
    padding: 10px 20px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 4px solid var(--yel)
}

.logo {
    font-family: var(--d);
    font-size: 20px;
    text-decoration: none;
    color: var(--yel)
}

nav {
    display: flex;
    gap: 18px;
    font-weight: 800;
    font-size: 15px
}

nav a {
    text-decoration: none;
    transition: color .18s ease, transform .18s ease
}

nav a:hover {
    color: var(--yel);
    transform: translateY(-2px)
}


.btn {
    display: inline-block;
    font-weight: 800;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--yel);
    color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 0 4px 0 var(--ink);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 var(--ink);
    filter: brightness(1.05)
}

.btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--ink)
}

.btn.wa {
    background: #25D366
}

.btn.out {
    background: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 0 #fff
}

.hero {
    background: var(--ink);
    color: #fff;
    padding: 56px 20px 70px;
    position: relative;
    overflow: hidden
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 18px;
    background: repeating-linear-gradient(90deg, var(--red) 0 28px, var(--yel) 28px 56px)
}

.wrap {
    max-width: 1040px;
    margin: 0 auto
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center
}

.hero small {
    display: inline-block;
    background: var(--red);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 800;
    transform: rotate(-2deg)
}

h1 {
    font-family: var(--d);
    font-weight: 400;
    font-size: clamp(46px, 9vw, 92px);
    line-height: .95;
    margin: 18px 0 14px;
    color: var(--yel);
    text-shadow: 4px 4px 0 var(--red);
    animation: hero-title-in .7s ease-out both;
}


.hero p {
    max-width: 46ch;
    font-size: 19px;
    color: #F3E3C6
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px
}

.stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .4))
}

.stack img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid var(--yel);
    border-radius: 50%
}

.stack img:nth-child(2) {
    transform: translateX(28px)
}

.stack img:nth-child(3) {
    transform: translateX(-12px)
}

section {
    padding: 64px 20px
}

h2 {
    font-family: var(--d);
    font-weight: 400;
    font-size: clamp(32px, 6vw, 52px);
    margin: 0 0 6px;
    color: var(--red)
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) h2 {
        color: var(--yel)
    }
}

.sub {
    color: var(--mut);
    margin: 0 0 30px;
    max-width: 54ch
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 20px
}

.item {
    background: var(--card);
    border: 3px solid var(--ink);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 6px 6px 0 var(--ink)
}

.item {
    transition: transform .18s ease, box-shadow .18s ease
}

.item:hover {
    transform: translateY(-8px);
    box-shadow: 8px 14px 0 var(--ink)
}

.product-image {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px
}

.item h3 {
    margin: 4px 0 0;
    font-size: 21px;
    display: flex;
    align-items: center;
    gap: 8px
}

.item p {
    margin: 0;
    color: var(--mut);
    font-size: 15px;
    flex: 1
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px
}

.price {
    font-family: var(--d);
    font-size: 22px;
    background: var(--red);
    color: #fff;
    padding: 2px 12px;
    border-radius: 10px;
    transform: rotate(-3deg)
}

.pedir {
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 3px solid var(--yel);
    transition: color .18s ease
}

.pedir:hover {
    color: var(--red)
}

.tag {
    font-size: 12px;
    background: var(--yel);
    color: var(--ink);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800
}

.band {
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 48px 20px;
    border-block: 6px solid var(--yel)
}

.band h2 {
    color: var(--yel)
}

.band .num {
    font-family: var(--d);
    font-size: clamp(34px, 8vw, 64px);
    display: block;
    margin: 6px 0 18px
}

footer {
    background: var(--ink);
    color: #EBD9BC;
    padding: 46px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 10px solid var(--yel)
}

.fg {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px
}

footer h4 {
    font-family: var(--d);
    font-weight: 400;
    color: var(--yel);
    margin: 0 0 10px;
    font-size: 18px
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px
}

footer a {
    text-decoration: none
}

footer a:hover {
    color: var(--yel)
}

.copy {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px dashed #6B5249;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px
}

@media (max-width:760px) {
    nav {
        display: none
    }

    .hero .wrap,
    .fg {
        grid-template-columns: 1fr
    }

    .stack {
        flex-direction: row;
        justify-content: center;
        gap: 10px
    }

    .stack img {
        width: clamp(80px, 24vw, 120px);
        height: clamp(80px, 24vw, 120px)
    }

    .stack img:nth-child(2),
    .stack img:nth-child(3) {
        transform: none
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .btn,
    .item,
    .pedir {
        transition: none
    }

    .item:hover {
        transform: none
    }
}

/* Ubicación */
.location-section {
    background: var(--red2);
    color: #fff;
    text-align: center;
    padding: 64px 20px;
    border-top: 6px solid var(--yel)
}

.location-section .section-title {
    color: #fff
}

.location-section>p {
    margin: 0 auto 2rem;
    max-width: 54ch;
    font-size: 19px
}

.map-container {
    max-width: 1040px;
    margin: 0 auto;
    border: 4px solid var(--ink);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--ink);
    background: var(--card);
    animation: enter-up .65s ease-out backwards
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block
}

.address-info {
    margin-top: 28px;
    display: grid;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    animation: enter-up .65s ease-out backwards
}

.address-info p {
    margin: 0
}

.address-info .btn {
    justify-self: center;
    margin-top: 12px
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

@keyframes hero-title-in {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.item.scroll-reveal.is-visible:hover {
    transform: translateY(-8px)
}

@media (prefers-reduced-motion:reduce) {
    h1 {
        animation: none
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    nav a,
    .btn {
        transition: none
    }

    nav a:hover,
    .btn:hover {
        transform: none;
        filter: none
    }
}