:root {
    --navy: #062857;
    --navy-deep: #031c3e;
    --blue: #0a4274;
    --yellow: #ffc928;
    --yellow-deep: #e9ac00;
    --sand: #fff8e8;
    --cream: #fffcf4;
    --white: #fff;
    --ink: #10223d;
    --muted: #667085;
    --green: #19a957;
    --red: #c44141;
    --border: rgba(6, 40, 87, .13);
    --shadow: 0 18px 50px rgba(6, 40, 87, .12);
    --radius: 24px;
    --shell: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 201, 40, .12), transparent 26rem),
        var(--sand);
    font-family: Inter, ui-rounded, "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.shell {
    width: min(calc(100% - 32px), var(--shell));
    margin-inline: auto;
}

.top-strip {
    color: var(--white);
    background: var(--navy-deep);
    min-height: 42px;
}

.top-strip__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.status-pill::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(25, 169, 87, .17);
    content: "";
}

.status-pill--closed::before { background: #ff746c; box-shadow: 0 0 0 4px rgba(255, 116, 108, .16); }
.status-pill--loading::before { background: var(--yellow); }

.install-button {
    border: 0;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .75rem;
    font-weight: 900;
}

.site-header {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    width: 270px;
    color: var(--navy);
    text-decoration: none;
    display: grid;
    justify-items: center;
}

.brand__wave { width: 156px; height: 42px; margin-bottom: -5px; }
.brand__name { font-size: 1.45rem; font-weight: 700; letter-spacing: .3em; transform: translateX(.15em); }
.brand__subtitle { margin-top: 3px; display: flex; align-items: center; gap: 9px; font-size: .65rem; font-weight: 800; letter-spacing: .36em; }
.brand__subtitle i { width: 34px; height: 3px; background: var(--yellow); display: block; border-radius: 99px; }

.header-instagram {
    color: var(--navy);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 430px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow);
}

.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 49%;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 28, 62, .94) 0%, rgba(3, 28, 62, .72) 40%, rgba(3, 28, 62, .08) 74%), linear-gradient(0deg, rgba(3, 28, 62, .28), transparent 55%);
}

.hero::after {
    position: absolute;
    right: -70px;
    bottom: -120px;
    width: 330px;
    height: 190px;
    border: 24px solid rgba(255, 201, 40, .92);
    border-radius: 50%;
    content: "";
    transform: rotate(-9deg);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 66px 62px;
    color: var(--white);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--yellow);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .16em;
}

.eyebrow--blue { color: var(--blue); }

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.3rem);
    line-height: .84;
    letter-spacing: -.07em;
    font-weight: 950;
    text-shadow: 0 3px 22px rgba(0,0,0,.24);
}

.hero__highlight {
    display: inline-block;
    margin: 22px 0 18px;
    color: var(--navy-deep);
    background: var(--yellow);
    padding: 10px 17px;
    font-weight: 950;
    font-size: 1.25rem;
    line-height: 1.1;
    transform: rotate(-1deg);
    box-shadow: 8px 7px 0 rgba(255, 255, 255, .18);
}

.hero__meta { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 700; }

.service-card {
    position: relative;
    z-index: 2;
    margin-top: -34px;
    width: min(calc(100% - 86px), 980px);
    min-height: 98px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 26px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(6, 40, 87, .16);
}

.service-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--yellow);
    font-size: 1.35rem;
}

.service-card strong { color: var(--navy); }
.service-card p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.service-card__time { border-left: 1px solid var(--border); padding-left: 24px; display: grid; }
.service-card__time small { color: var(--muted); }
.service-card__time strong { font-size: 1.05rem; }

.menu { padding-top: 82px; padding-bottom: 70px; }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.section-heading h2, .how-it-works h2, .cart-sheet h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -.05em;
    line-height: 1;
}

.section-heading > p { margin: 0; color: var(--muted); }

.menu-category + .menu-category { margin-top: 48px; }

.category-title {
    position: relative;
    display: inline-block;
    margin: 0 0 22px;
    padding: 8px 17px 9px;
    color: var(--navy);
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -.03em;
    isolation: isolate;
}

.category-title::before {
    position: absolute;
    inset: 2px -8px;
    z-index: -1;
    background: var(--yellow);
    content: "";
    transform: rotate(-1.6deg) skewX(-4deg);
    border-radius: 3px 9px 3px 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-card {
    min-height: 142px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    gap: 8px 12px;
    padding: 20px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(6, 40, 87, .055);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-card:has(.quantity-control) {
    border-color: rgba(255, 183, 0, .8);
    box-shadow: 0 10px 28px rgba(255, 183, 0, .14);
}

.product-card:hover { transform: translateY(-2px); }
.product-card__info { min-width: 0; }
.product-card__name { margin: 0; color: var(--navy); font-size: 1rem; line-height: 1.2; }
.product-card__portion { display: block; margin-top: 5px; color: var(--muted); font-size: .8rem; }
.product-card__price { align-self: end; color: var(--navy); font-weight: 950; font-size: 1.03rem; white-space: nowrap; }

.add-button, .quantity-control {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.add-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 15px;
    color: var(--navy);
    background: var(--yellow);
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
}

.quantity-control {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 15px;
    background: var(--navy);
}

.quantity-control button {
    width: 31px;
    height: 29px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: var(--navy);
    background: var(--white);
    font-weight: 950;
}

.quantity-control strong { color: var(--white); font-size: .85rem; }

.menu-skeleton {
    display: inline-block;
    width: calc(33.333% - 14px);
    height: 140px;
    margin-right: 10px;
    border-radius: 20px;
    background: linear-gradient(100deg, #f2ead9 25%, #fffdf7 38%, #f2ead9 52%);
    background-size: 200% 100%;
    animation: shine 1.2s infinite linear;
}

@keyframes shine { to { background-position-x: -200%; } }

.menu-error { padding: 28px; text-align: center; background: var(--white); border-radius: var(--radius); color: var(--red); }

.how-it-works {
    margin-bottom: 90px;
    padding: 40px;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.how-it-works::after {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 26px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    content: "";
}

.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.step { padding: 20px; background: rgba(255,255,255,.76); border-radius: 20px; }
.step > span { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 14px; color: var(--white); background: var(--navy); border-radius: 50%; font-weight: 900; }
.step strong { display: block; font-size: 1.12rem; }
.step p { margin: 4px 0 0; font-size: .9rem; }

.site-footer { padding: 44px 0 110px; color: var(--white); background: var(--navy-deep); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-grid p { margin: 5px 0 0; color: rgba(255,255,255,.67); font-size: .85rem; }
.admin-link { color: var(--yellow); font-size: .8rem; font-weight: 800; text-underline-offset: 4px; }

.cart-bar {
    position: fixed;
    left: 50%;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 20;
    width: min(calc(100% - 24px), 620px);
    transform: translateX(-50%);
    animation: rise .22s ease both;
}

@keyframes rise { from { opacity: 0; transform: translate(-50%, 20px); } }

.cart-bar__button {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 9px 18px;
    color: var(--white);
    background: var(--navy);
    border: 3px solid var(--yellow);
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(3, 28, 62, .34);
    text-align: left;
}

.cart-bar__count { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 13px; font-weight: 950; }
.cart-bar__button small, .cart-bar__button strong { display: block; }
.cart-bar__button small { color: rgba(255,255,255,.66); }
.cart-bar__button strong { font-size: 1.08rem; }
.cart-bar__arrow { font-size: 1.5rem; }

.cart-dialog {
    width: min(100%, 680px);
    max-width: none;
    max-height: min(94vh, 940px);
    margin: auto auto 0;
    padding: 0;
    border: 0;
    border-radius: 30px 30px 0 0;
    background: var(--cream);
    color: var(--ink);
    overflow: hidden;
}

.cart-dialog::backdrop { background: rgba(2, 18, 40, .68); backdrop-filter: blur(4px); }
.cart-dialog[open] { animation: sheetIn .25s ease both; }
@keyframes sheetIn { from { transform: translateY(30px); opacity: 0; } }

.cart-sheet { max-height: min(94vh, 940px); overflow-y: auto; padding: 10px 26px calc(28px + env(safe-area-inset-bottom)); }
.cart-sheet__handle { width: 52px; height: 5px; margin: 0 auto 22px; border-radius: 99px; background: #cbd1d9; }
.cart-sheet__header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.cart-sheet__header h2 { font-size: 2.2rem; }
.icon-button { width: 42px; height: 42px; border: 0; color: var(--navy); background: #e9edf2; border-radius: 14px; font-size: 1.55rem; line-height: 1; }

.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 13px 14px; background: var(--white); border: 1px solid var(--border); border-radius: 15px; }
.cart-item__name { min-width: 0; }
.cart-item__name strong { display: block; color: var(--navy); font-size: .9rem; }
.cart-item__name small { color: var(--muted); }
.cart-item__controls { display: flex; align-items: center; gap: 8px; }
.cart-item__controls button { width: 29px; height: 29px; border: 1px solid var(--border); border-radius: 9px; color: var(--navy); background: var(--sand); font-weight: 900; }
.cart-item__price { min-width: 74px; text-align: right; color: var(--navy); font-weight: 900; font-size: .86rem; }

.cart-totals { margin: 16px 0 22px; padding: 15px 16px; background: #f1ead9; border-radius: 15px; }
.cart-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 3px 0; }
.cart-totals__total { margin-top: 5px; padding-top: 9px !important; border-top: 1px solid rgba(6,40,87,.12); color: var(--navy); font-size: 1.1rem; }

.checkout-form { display: grid; gap: 16px; }
.optional-note { padding: 11px 13px; border: 1px dashed rgba(6,40,87,.25); border-radius: 12px; color: var(--muted); font-size: .78rem; text-align: center; }

.field { display: grid; gap: 7px; }
.field > span, .field legend { color: var(--navy); font-size: .82rem; font-weight: 800; }
.field input, .field textarea {
    width: 100%;
    border: 1px solid rgba(6,40,87,.18);
    border-radius: 13px;
    background: var(--white);
    padding: 13px 14px;
    color: var(--ink);
    outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--yellow-deep); box-shadow: 0 0 0 4px rgba(255,201,40,.16); }
.field textarea { resize: vertical; }

.payment-field { border: 0; padding: 0; margin: 0; }
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.payment-options label { cursor: pointer; }
.payment-options input { position: absolute; opacity: 0; pointer-events: none; }
.payment-options span { display: block; padding: 12px 8px; border: 1px solid rgba(6,40,87,.16); border-radius: 12px; background: var(--white); text-align: center; font-size: .85rem; font-weight: 800; }
.payment-options input:checked + span { color: var(--navy); border-color: var(--yellow-deep); background: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow-deep); }

.location-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; padding: 15px; border-radius: 16px; color: var(--white); background: var(--navy); }
.location-box strong { font-size: .9rem; }
.location-box p { margin: 2px 0 0; color: rgba(255,255,255,.7); font-size: .74rem; }
.secondary-button { border: 0; padding: 10px 12px; border-radius: 11px; color: var(--navy); background: var(--yellow); font-size: .78rem; font-weight: 900; }
.location-status { grid-column: 1 / -1; color: var(--yellow) !important; }

.photo-option { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 15px; background: var(--white); cursor: pointer; }
.photo-option input { margin-top: 4px; accent-color: var(--navy); }
.photo-option span { display: grid; }
.photo-option strong { color: var(--navy); font-size: .85rem; }
.photo-option small { color: var(--muted); }

.whatsapp-button { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 13px; border: 0; border-radius: 17px; color: var(--white); background: #16a34a; box-shadow: 0 10px 26px rgba(22,163,74,.24); font-weight: 950; }
.whatsapp-button > span:first-child { width: 31px; height: 31px; display: grid; place-items: center; color: #16a34a; background: var(--white); border-radius: 50%; }
.whatsapp-button small { display: block; font-weight: 500; opacity: .8; }
.whatsapp-button:disabled { cursor: wait; opacity: .65; }
.submit-disclaimer { margin: -7px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

.toast { position: fixed; left: 50%; bottom: 108px; z-index: 100; max-width: min(90%, 520px); padding: 12px 18px; border-radius: 13px; color: var(--white); background: var(--navy-deep); box-shadow: var(--shadow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s ease; font-size: .85rem; font-weight: 700; }
.toast--visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: #a83232; }

@media (max-width: 820px) {
    .site-header { min-height: 108px; }
    .brand { width: 220px; }
    .brand__wave { width: 125px; height: 34px; }
    .brand__name { font-size: 1.08rem; }
    .brand__subtitle { font-size: .55rem; }
    .header-instagram { display: none; }
    .hero { min-height: 400px; }
    .hero__content { padding: 56px 34px; }
    .hero__shade { background: linear-gradient(90deg, rgba(3,28,62,.92), rgba(3,28,62,.45) 72%, rgba(3,28,62,.06)); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-skeleton { width: calc(50% - 14px); }
}

@media (max-width: 560px) {
    .shell { width: min(calc(100% - 22px), var(--shell)); }
    .top-strip__inner { width: min(calc(100% - 28px), var(--shell)); }
    .site-header { justify-content: center; min-height: 104px; }
    .hero { width: 100%; min-height: 420px; border-radius: 0 0 28px 28px; }
    .hero > img { object-position: 56% 56%; transform: scale(2.6); }
    .hero__shade { background: linear-gradient(0deg, rgba(3,28,62,.94) 0%, rgba(3,28,62,.7) 45%, rgba(3,28,62,.05) 100%); }
    .hero__content { position: absolute; inset: auto 0 0; padding: 28px 24px 51px; }
    .hero h1 { font-size: 3.25rem; }
    .hero__highlight { margin: 17px 0 12px; font-size: 1rem; }
    .hero::after { right: -140px; bottom: -155px; }
    .service-card { width: calc(100% - 30px); margin-top: -24px; grid-template-columns: auto 1fr; gap: 12px; padding: 16px; }
    .service-card__icon { width: 46px; height: 46px; }
    .service-card__time { grid-column: 2; border-left: 0; border-top: 1px solid var(--border); padding: 8px 0 0; display: flex; gap: 8px; }
    .menu { padding-top: 64px; padding-bottom: 54px; }
    .section-heading { align-items: start; margin-bottom: 25px; }
    .section-heading > p { display: none; }
    .product-grid { grid-template-columns: 1fr; gap: 10px; }
    .product-card { min-height: 108px; padding: 16px; }
    .menu-skeleton { width: 100%; height: 110px; display: block; margin: 0 0 10px; }
    .how-it-works { margin-bottom: 56px; padding: 27px 20px; }
    .steps { grid-template-columns: 1fr; gap: 9px; }
    .step { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; padding: 13px; }
    .step > span { grid-row: 1 / 3; margin: 0; }
    .step p { grid-column: 2; }
    .footer-grid { display: grid; }
    .cart-sheet { padding-inline: 16px; }
    .cart-item { grid-template-columns: 1fr auto; }
    .cart-item__price { grid-column: 1; grid-row: 2; text-align: left; }
    .cart-item__controls { grid-column: 2; grid-row: 1 / 3; }
    .location-box { grid-template-columns: 1fr; }
    .secondary-button { justify-self: start; }
    .cart-dialog { max-height: 96vh; }
    .cart-sheet { max-height: 96vh; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

