:root {
    --navy: #073d73;
    --navy-deep: #032c55;
    --blue: #0a68a7;
    --sky: #dff3fb;
    --foam: #f4fbfe;
    --white: #ffffff;
    --ink: #10283a;
    --muted: #607485;
    --yellow: #efc449;
    --line: #d7e6ed;
    --shadow: 0 18px 55px rgba(6, 55, 94, .12);
    --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sea-lines {
    position: absolute;
    top: 0; right: 0;
    width: min(46vw, 650px); height: 570px;
    opacity: .13; pointer-events: none;
    background: repeating-radial-gradient(ellipse at 100% 0, transparent 0 24px, var(--blue) 25px 27px, transparent 28px 48px);
    mask-image: linear-gradient(135deg, black, transparent 70%);
}

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(3,44,85,.96);
    border-bottom: 3px solid var(--yellow);
    backdrop-filter: blur(15px);
}
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 104px; height: auto; padding: 5px 8px; background: white; border-radius: 0 0 15px 15px; mix-blend-mode: normal; }
.quick-actions { display: flex; gap: 10px; }
.action-link {
    min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px;
    color: white; background: var(--navy); border: 1px solid var(--navy); border-radius: 999px;
    font-weight: 700; font-size: .9rem; transition: .2s ease;
}
.action-link--ghost { background: transparent; color: var(--navy); }
.site-header .action-link { color: var(--navy-deep); border-color: white; background: white; }
.site-header .action-link--ghost { color: white; border-color: rgba(255,255,255,.6); background: transparent; }
.action-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(7,61,115,.15); }
.action-link svg { width: 18px; height: 18px; fill: currentColor; }

.intro {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 8vw, 110px);
    align-items: center; min-height: 680px; padding-block: 68px 88px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 35px; height: 2px; background: var(--yellow); }
.eyebrow--blue span { background: var(--blue); }
.intro h1, .menu-heading h2, .modal-content h2 {
    font-family: 'Fraunces', Georgia, serif; line-height: .98; letter-spacing: -.04em;
}
.intro h1 { margin: 0; color: var(--navy-deep); font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 700; }
.intro h1 em { color: var(--blue); font-style: italic; }
.intro-text { max-width: 590px; margin: 28px 0; color: var(--muted); font-size: 1.08rem; }
.service-note { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); }
.service-note__icon, .round-arrow { display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy-deep); font-weight: 800; }
.service-note__icon { width: 34px; height: 34px; }
.service-note strong { margin-right: 7px; }
.intro-photo { position: relative; margin: 0; padding: 18px 18px 42px; background: white; border: 1px solid var(--line); border-radius: 32px 32px 110px 32px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.intro-photo::before { content: ''; position: absolute; inset: 24px -18px -20px 24px; z-index: -1; background: var(--yellow); border-radius: 24px 24px 110px 24px; transform: rotate(-3deg); }
.intro-photo img { width: 100%; max-height: 440px; object-fit: cover; object-position: 50% 15%; border-radius: 20px 20px 82px 20px; }
.intro-photo figcaption { position: absolute; left: 28px; bottom: 10px; color: var(--navy); font-size: .85rem; font-weight: 700; }

.menu-section { position: relative; min-height: 70vh; padding: 42px 0 100px; overflow: hidden; background: linear-gradient(180deg, #eaf7fc 0, #f8fcfe 420px, #f1f8fb 100%); }
.menu-section::before,.menu-section::after { content: ''; position: absolute; z-index: 0; width: 660px; aspect-ratio: 1; background: url('../images/oz-reis-logo.png') center/contain no-repeat; opacity: .035; pointer-events: none; filter: grayscale(1); }
.menu-section::before { top: 310px; right: -230px; transform: rotate(-10deg); }
.menu-section::after { bottom: 180px; left: -280px; transform: rotate(14deg); }
.menu-section > .shell { position: relative; z-index: 1; }
.menu-heading { position: relative; min-height: 190px; padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 8px; overflow: hidden; color: white; background: linear-gradient(120deg, var(--navy-deep), var(--navy) 62%, #08659a); border-radius: 28px; box-shadow: 0 20px 50px rgba(3,44,85,.2); }
.menu-heading::before { content: ''; position: absolute; inset: 0; opacity: .13; background: repeating-radial-gradient(ellipse at 105% 0,transparent 0 28px,#fff 29px 31px,transparent 32px 56px); }
.menu-heading::after { content: ''; position: absolute; left: 38px; bottom: 0; width: 120px; height: 5px; background: var(--yellow); border-radius: 6px 6px 0 0; }
.menu-heading__content,.menu-count { position: relative; z-index: 2; }
.menu-heading__watermark { position: absolute; z-index: 1; right: 125px; top: 50%; width: 245px; transform: translateY(-50%) rotate(-7deg); opacity: .12; mix-blend-mode: screen; filter: grayscale(1) contrast(1.4); }
.menu-heading .eyebrow { color: var(--yellow); }
.menu-heading h1 { margin: 0; color: white; font-family: 'Fraunces', Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; }
.menu-intro-note { margin: 12px 0 0; color: rgba(255,255,255,.72); }
.menu-count { flex: 0 0 92px; height: 92px; margin: 0; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.menu-count strong,.menu-count span { display: block; }
.menu-count strong { color: white; font-family: 'Fraunces', Georgia, serif; font-size: 2rem; line-height: 1; }
.menu-count span { margin-top: 4px; color: rgba(255,255,255,.7); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.search-box { height: 62px; padding: 0 20px; display: flex; align-items: center; gap: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(7,61,115,.06); }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,104,167,.1); }
.search-box svg { width: 23px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.search-box kbd { padding: 3px 8px; color: var(--muted); background: var(--foam); border: 1px solid var(--line); border-radius: 7px; font-size: .75rem; }
.category-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 18px 1px 13px; scrollbar-width: none; position: sticky; top: 108px; z-index: 8; background: rgba(234,247,252,.94); backdrop-filter: blur(10px); }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { flex: 0 0 auto; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: white; font-weight: 700; cursor: pointer; transition: .2s ease; }
.category-tab:hover, .category-tab.is-active { color: white; border-color: var(--navy); background: var(--navy); transform: translateY(-1px); }
.category-tab.is-active { box-shadow: inset 0 -3px var(--yellow), 0 7px 18px rgba(7,61,115,.15); }
.service-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 16px; overflow: hidden; color: white; background: var(--navy-deep); border-radius: 17px; box-shadow: 0 12px 30px rgba(3,44,85,.12); }
.service-strip > div,.service-strip > a { min-width: 0; padding: 14px 18px; display: flex; align-items: center; gap: 11px; border-right: 1px solid rgba(255,255,255,.14); }
.service-strip > :last-child { border-right: 0; }
.service-strip__icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--navy-deep); background: var(--yellow); border-radius: 50%; font-weight: 800; }
.service-strip p,.service-strip strong,.service-strip small { display: block; margin: 0; min-width: 0; }
.service-strip strong { font-size: .86rem; }
.service-strip small { color: rgba(255,255,255,.62); font-size: .72rem; }
.category-section { scroll-margin-top: 90px; padding-top: 42px; }
.category-title-row { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; border-bottom: 2px solid var(--navy); }
.category-title-row::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 76px; height: 5px; background: var(--yellow); border-radius: 4px 4px 0 0; }
.category-title-row h3 { margin: 0 0 10px; color: var(--navy-deep); font-family: 'Fraunces', Georgia, serif; font-size: 1.8rem; }
.category-title-row span { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
    position: relative; display: flex; flex-direction: column;
    width: 100%; min-width: 0; min-height: 390px; padding: 0; text-align: left; color: var(--ink); background: white;
    border: 1px solid rgba(7,61,115,.14); border-radius: 24px; cursor: pointer; overflow: hidden; box-shadow: 0 10px 26px rgba(4,52,88,.07);
    opacity: 1; transform: none; transition: transform .25s ease, border-color .2s ease, box-shadow .2s ease;
}
.product-card.is-visible { opacity: 1; }
.product-card::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow)); transition: width .3s ease; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(10,104,167,.4); box-shadow: 0 14px 35px rgba(7,61,115,.09); }
.product-card:hover::after { width: 100%; }
.product-card__media { position: relative; width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dff3fb, #bfe2f0); }
.product-card__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -24px 28px -30px rgba(3,44,85,.7); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card__media .product-card__logo { width: 58%; height: auto; object-fit: contain; mix-blend-mode: multiply; opacity: .52; filter: saturate(.75); }
.product-card:hover .product-card__media img:not(.product-card__logo) { transform: scale(1.035); }
.product-card__body { min-width: 0; display: flex; flex-direction: column; padding: 17px 18px 0; }
.product-card__name { color: var(--navy-deep); font-size: 1.08rem; font-weight: 800; line-height: 1.28; }
.product-card__description { display: -webkit-box; margin-top: 7px; color: var(--muted); font-size: .86rem; line-height: 1.45; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.product-card__meta span { padding: 2px 8px; color: var(--blue); background: var(--sky); border-radius: 999px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.product-card__aside { width: 100%; margin-top: auto; padding: 14px 18px 18px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; white-space: nowrap; }
.product-card__aside strong { color: var(--navy); font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; }
.round-arrow { width: 32px; height: 32px; transition: transform .2s ease; }
.product-card:hover .round-arrow { transform: rotate(90deg); }
.product-card[hidden], .category-section[hidden] { display: none; }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state > span { font-size: 3rem; color: var(--blue); }
.empty-state h3 { margin: 8px 0 0; color: var(--navy); }
.empty-state p { margin-top: 4px; color: var(--muted); }

.site-footer { position: relative; min-height: 84px; display: block; overflow: hidden; color: white; background: var(--navy-deep); border-top: 4px solid var(--yellow); }
.site-footer::before { content: ''; position: absolute; top: -120px; right: -80px; width: 460px; height: 300px; opacity: .08; background: repeating-radial-gradient(ellipse at 100% 0,transparent 0 23px,#fff 24px 26px,transparent 27px 47px); pointer-events: none; }
.footer-details { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding-block: 46px 38px; }
.footer-detail { padding: 21px 24px; display: flex; align-items: center; gap: 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.045); }
.footer-detail__icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy-deep); background: var(--yellow); border-radius: 50%; font-size: 1.1rem; font-weight: 800; }
.footer-detail p,.footer-detail a { display: block; margin: 0; color: rgba(255,255,255,.76); }
.footer-detail a:hover { color: white; }
.footer-bottom.footer-bottom--credit { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-bottom.footer-bottom--credit small:last-child { text-align: right; }
.footer-credit { padding: 8px 12px; color: rgba(255,255,255,.58); font-size: .76rem; letter-spacing: .02em; text-align: center; transition: color .2s ease; }
.footer-credit:hover { color: white; }
.footer-credit img { display: block; width: 112px; height: 48px; object-fit: contain; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-block: 68px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { padding: 5px; background: white; border-radius: 16px; }
.footer-brand p { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; line-height: 1.3; }
.footer-label { display: block; margin-bottom: 12px; color: var(--yellow); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { display: block; margin: 0 0 6px; color: rgba(255,255,255,.76); }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 20px 30px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); }

.product-modal { width: min(760px, calc(100% - 28px)); max-height: min(88vh, 780px); padding: 0; color: var(--ink); background: white; border: 0; border-radius: 28px; box-shadow: 0 30px 90px rgba(1,27,53,.42); overflow: auto; }
.product-modal::backdrop { background: rgba(3,44,85,.66); backdrop-filter: blur(5px); }
.product-modal[open] { animation: modal-in .24s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: rgba(3,44,85,.82); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.modal-visual { min-height: 210px; display: grid; place-items: center; padding: 30px; background: linear-gradient(135deg, var(--sky), white); overflow: hidden; }
.modal-visual img { width: min(250px, 60%); mix-blend-mode: multiply; }
.modal-visual.has-product-image img { width: 100%; height: 270px; object-fit: cover; mix-blend-mode: normal; }
.modal-content { padding: 32px; }
.modal-content h2 { margin: 0; color: var(--navy-deep); font-size: clamp(2.2rem, 6vw, 3.8rem); }
.modal-description { margin: 18px 0 22px; color: var(--muted); }
.modal-price-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-block: 1px solid var(--line); }
.modal-price-row span { color: var(--muted); }
.modal-price-row strong { color: var(--navy); font-family: 'Fraunces', Georgia, serif; font-size: 1.8rem; }
.nutrition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.nutrition-grid div { padding: 15px; background: var(--foam); border-radius: 14px; }
.nutrition-grid span, .nutrition-grid strong { display: block; }
.nutrition-grid span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.nutrition-grid strong { margin-top: 4px; color: var(--navy); }
.allergen-note { margin: 16px 0 0; color: var(--muted); font-size: .78rem; }

@media (max-width: 820px) {
    :root { --shell: min(100% - 28px, 680px); }
    .header-inner { min-height: 88px; }
    .brand img { width: 96px; }
    .intro { grid-template-columns: 1fr; min-height: 0; gap: 46px; padding-block: 54px 78px; }
    .intro-photo { max-width: 520px; margin-inline: auto; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-tabs { top: 88px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .quick-actions .action-link--ghost { display: none; }
    .action-link { padding-inline: 15px; }
    .intro h1 { font-size: clamp(3.05rem, 16vw, 4.7rem); }
    .intro-text { font-size: 1rem; }
    .intro-photo { border-radius: 24px 24px 72px 24px; padding: 12px 12px 38px; }
    .intro-photo img { max-height: 340px; border-radius: 16px 16px 55px 16px; }
    .menu-section { padding-block: 18px 78px; }
    .menu-heading { min-height: 176px; padding: 25px 20px; align-items: flex-end; border-radius: 22px; }
    .menu-heading__watermark { right: 36px; top: 44%; width: 190px; opacity: .11; }
    .menu-heading h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
    .menu-intro-note { max-width: 245px; font-size: .88rem; }
    .menu-count { flex-basis: 62px; width: 62px; height: 62px; align-self: flex-start; }
    .menu-count strong { font-size: 1.45rem; }
    .menu-count span { font-size: .58rem; }
    .menu-heading::after { left: 20px; }
    .menu-heading { align-items: start; }
    .menu-heading > p { margin-top: 10px; font-size: .8rem; }
    .search-box { height: 58px; }
    .search-box kbd { display: none; }
    .category-tabs { margin-inline: -14px; padding-inline: 14px; }
    .service-strip { grid-template-columns: 1fr; }
    .service-strip > div,.service-strip > a { padding: 11px 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .service-strip > :last-child { border-bottom: 0; }
    .category-section { padding-top: 32px; }
    .product-grid { gap: 10px; }
    .product-card { min-height: 332px; border-radius: 18px; }
    .product-card__media { aspect-ratio: 1 / .82; }
    .product-card__body { padding: 12px 12px 0; }
    .product-card__name { font-size: .95rem; }
    .product-card__description { margin-top: 5px; font-size: .78rem; line-height: 1.35; }
    .product-card__aside { padding: 11px 12px 13px; }
    .product-card__aside strong { font-size: 1rem; }
    .product-card__meta { margin-top: 8px; }
    .product-card__meta span { font-size: .6rem; }
    .product-card__meta span:nth-child(2) { display: none; }
    .round-arrow { width: 27px; height: 27px; font-size: .82rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .footer-details { grid-template-columns: 1fr; gap: 10px; padding-block: 30px 24px; }
    .footer-detail { padding: 16px; }
    .footer-bottom.footer-bottom--credit { display: flex; align-items: center; text-align: center; }
    .footer-bottom.footer-bottom--credit small:last-child { text-align: center; }
    .nutrition-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .product-card { opacity: 1; transform: none; }
}
