/* Base responsive safeguards */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe,
canvas,
svg {
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

/* Header */
@media (min-width: 901px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

@media (max-width: 1199px) {
    .site-header .nav {
        width: min(100% - 28px, 1280px);
        gap: 20px;
    }

    .site-header .brand {
        width: clamp(82px, 10vw, 96px);
        height: clamp(82px, 10vw, 96px);
        padding: clamp(9px, 1.4vw, 11px);
        transform: translateY(6px);
    }

    .site-header .brand img {
        max-width: 106px;
    }

    .site-header .nav-links {
        gap: 16px;
        font-size: .94rem;
    }

    .site-header .nav-login,
    .site-header .nav-cta {
        padding: 11px 14px;
    }
}

@media (max-width: 1199px) {
    .site-header .nav {
        min-height: 60px;
    }

    .site-header .brand {
        position: relative;
        top: auto;
        left: auto;
        width: 82px;
        height: 82px;
        margin: 0 0 -8px;
        padding: 9px;
        transform: translateY(6px);
    }

    .site-header .brand::before {
        top: -24px;
        left: 18px;
        right: 18px;
        height: 30px;
        background:
            repeating-linear-gradient(180deg, #4f4a43 0 5px, #b8afa2 5px 7px, #5d5750 7px 12px) left top / 6px 30px no-repeat,
            repeating-linear-gradient(180deg, #4f4a43 0 5px, #b8afa2 5px 7px, #5d5750 7px 12px) right top / 6px 30px no-repeat;
    }

    .site-header .brand img {
        max-width: 64px;
        padding: 5px;
    }

    .site-header .nav-toggle-label {
        display: inline-flex;
    }

    .site-header .nav-panel {
        top: calc(100% + 12px);
        right: 0;
        left: auto;
        width: max-content;
        min-width: 224px;
        max-width: calc(100vw - 36px);
        display: none;
        max-height: calc(100vh - 96px);
        overflow: auto;
    }

    .site-header .nav-links,
    .site-header .nav-actions {
        width: 100%;
    }

    .site-header .nav-links a,
    .site-header .nav-login,
    .site-header .nav-cta {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 375px) and (max-width: 1199px) {
    .site-header .brand {
        width: clamp(82px, 10vw, 96px);
        height: clamp(82px, 10vw, 96px);
    }
}

/* Home / promo carousel */
@media (max-width: 1024px) {
    .promo-hero {
        padding-bottom: clamp(42px, 6vw, 68px);
    }

    .promo-hero > .container,
    .menu-pdf-viewer,
    .points-layout,
    .info-grid,
    .faq-section,
    .feedback-form-section {
        width: min(calc(100% - var(--page-gutter-total, 40px)), 1180px);
    }

    .promo-stage--wide,
    .promo-banner {
        min-height: 430px;
        height: 430px;
    }

    .promo-banner {
        padding: 30px;
    }

    .promo-banner-content {
        width: min(560px, 72vw);
        padding: clamp(22px, 3vw, 34px);
    }

    .promo-banner h2 {
        font-size: clamp(2.4rem, 5.8vw, 4.2rem);
    }
}

@media (max-width: 1199px) {
    .section-heading--featured h2 {
        font-size: var(--home-title-size);
        white-space: normal;
    }

    .points-section .step-callout {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    /* Tablet and small laptop banners keep the original side logic while shrinking the text card. */
    .promo-stage--wide,
    .promo-banner {
        min-height: clamp(360px, 40vw, 460px);
        height: clamp(360px, 40vw, 460px);
    }

    .promo-banner {
        padding: clamp(22px, 3vw, 34px);
    }

    .promo-banner-content,
    .promo-banner-content--panecillos {
        width: min(430px, 43vw);
        padding: clamp(18px, 2.6vw, 30px);
    }

    .promo-banner--content-left .promo-banner-content {
        margin-left: clamp(48px, 6vw, 76px);
    }

    .promo-banner--content-right .promo-banner-content {
        margin-right: clamp(48px, 6vw, 76px);
    }

    .promo-banner h2 {
        font-size: clamp(2rem, 4vw, 3.2rem);
    }

    .promo-banner p {
        font-size: clamp(.92rem, 1.35vw, 1rem);
        line-height: 1.42;
    }

    .promo-controls {
        left: 10px;
        right: 10px;
    }

    .promo-btn {
        width: 42px;
        height: 42px;
    }

    .promo-banner--image,
    .promo-banner--image-three,
    .promo-banner--image-five {
        background-position: right center;
    }

    .promo-banner--image-two,
    .promo-banner--image-four {
        background-position: left center;
    }
}

@media (max-width: 768px) {
    .promo-hero {
        padding-top: 34px;
    }

    .promo-hero > .container {
        width: 100%;
    }

    .promo-shell {
        border-radius: 0;
    }

    .promo-info-toggle {
        display: none;
    }

    .promo-shell.is-info-hidden .promo-banner-content {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .promo-topbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .promo-stage--wide,
    .promo-banner {
        min-height: 0;
        height: auto;
    }

    .promo-slide.is-active {
        position: relative;
    }

    .promo-banner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: min(70vw, 700px) 0 0;
    }

    .promo-banner--content-left .promo-banner-content,
    .promo-banner--content-right .promo-banner-content {
        width: 100%;
        padding: clamp(16px, 4.5vw, 24px);
    }

    .promo-banner--content-left .promo-banner-content {
        margin: 0;
    }

    .promo-banner--content-right .promo-banner-content {
        margin: 0;
    }

    .promo-banner-content {
        background: rgba(255, 250, 242, .96);
        border-width: 0;
        box-shadow: none;
    }

    .promo-chip {
        margin-bottom: 8px;
        font-size: clamp(.68rem, 2.4vw, .8rem);
        padding: 7px 10px;
        border-radius: 5px;
    }

    .promo-banner h2 {
        margin-top: 6px;
        font-size: clamp(1.65rem, 8vw, 2.4rem);
        line-height: .96;
    }

    .promo-banner p {
        margin-top: 8px;
        font-size: clamp(.9rem, 3.6vw, 1.05rem);
        line-height: 1.35;
    }

    .promo-controls {
        left: 8px;
        right: 8px;
        top: 0;
        bottom: auto;
        height: min(70vw, 700px);
        justify-content: space-between;
        transform: none;
        translate: none;
    }

    .promo-btn {
        width: 30px;
        height: 30px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    }

    .promo-btn::before {
        width: 7px;
        height: 7px;
        border-width: 2px;
    }

    .promo-dots {
        bottom: 6px;
        gap: 6px;
    }

    .promo-dot {
        width: 8px;
        height: 8px;
    }

    .promo-dot.is-active {
        width: 20px;
    }

    .promo-banner--image,
    .promo-banner--image-two,
    .promo-banner--image-three,
    .promo-banner--image-four,
    .promo-banner--image-five {
        background-color: #f8f2e8;
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

    .promo-banner--image {
        background-image: url("../img/banners/ResBanner1.png");
    }

    .promo-banner--image-two {
        background-image: url("../img/banners/ResBanner2.png");
    }

    .promo-banner--image-three {
        background-image: url("../img/banners/ResBanner3.png");
    }

    .promo-banner--image-four {
        background-image: url("../img/banners/ResBanner4.png");
    }

    .promo-banner--image-five {
        background-image: url("../img/banners/ResBanner5.png");
    }
}

/* PDF menu viewer */
@media (max-width: 900px) {
    .menu-pdf-viewer {
        margin-top: clamp(34px, 7vw, 54px);
        padding: 16px;
    }

    .menu-pdf-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-pdf-heading h2 {
        font-size: var(--home-title-size);
    }

    .menu-pdf-open {
        width: fit-content;
        max-width: 100%;
    }

    .menu-pdf-toolbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-pdf-divider {
        display: none;
    }

    .menu-pdf-frame {
        height: clamp(520px, 72vh, 700px);
        padding: 42px 10px;
        overflow: auto;
    }

    .menu-pdf-frame img {
        width: min(100%, 680px);
    }
}

@media (max-width: 640px) {
    .menu-pdf-viewer {
        width: min(100% - 28px, 1180px);
        margin-top: 32px;
        padding: 18px;
        border-radius: var(--radius-md, 14px);
    }

    .menu-pdf-heading {
        display: grid;
        gap: 14px;
        margin-bottom: 16px;
    }

    .menu-pdf-heading .eyebrow {
        font-size: var(--home-eyebrow-size);
        line-height: var(--home-eyebrow-line-height);
    }

    .menu-pdf-heading h2 {
        max-width: 100%;
        font-size: var(--home-title-size);
        line-height: var(--home-title-line-height);
    }

    .menu-pdf-open {
        justify-self: start;
        min-height: 40px;
        padding: 9px 13px;
        font-size: .95rem;
    }

    .menu-pdf-toolbar {
        display: grid;
        grid-template-columns: 40px minmax(54px, auto) 40px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 12px;
    }

    .menu-pdf-toolbar [data-pdf-zoom-out],
    .menu-pdf-toolbar [data-pdf-zoom-in],
    .menu-pdf-zoom,
    .menu-pdf-reset {
        display: none;
    }

    .menu-pdf-btn {
        width: 40px;
        height: 40px;
    }

    .menu-pdf-page,
    .menu-pdf-zoom {
        min-width: auto;
        font-size: .95rem;
        font-weight: 900;
    }

    .menu-pdf-frame {
        height: min(132vw, 700px);
        margin-top: 14px;
        padding: 32px 10px;
        overflow: auto;
    }

    .menu-pdf-frame img {
        width: min(100%, 560px) !important;
        max-width: 100%;
    }
}

/* Featured cards */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(16px, 3vw, 22px);
    }

    .section-heading--featured h2,
    .points-copy h2,
    .menu-pdf-heading h2,
    .info-content h2,
    .feedback-hero h1,
    .faq-section h2 {
        font-size: var(--home-title-size);
    }
}

@media (max-width: 640px) {
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(12px, 3.5vw, 16px);
    }

    .featured-card img {
        aspect-ratio: 4 / 3;
        height: auto;
        padding: clamp(6px, 2vw, 10px);
        object-fit: contain;
        object-position: center;
    }

    .featured-card--pizza img {
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: contain;
    }

    .featured-card div {
        padding: clamp(12px, 3.6vw, 16px);
    }

    .featured-card h3 {
        font-size: clamp(.95rem, 4vw, 1.2rem);
        line-height: 1.08;
    }

    .featured-card p {
        font-size: clamp(.78rem, 3.3vw, .95rem);
        line-height: 1.35;
    }
}

/* Points section */
@media (max-width: 1024px) {
    .points-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .points-copy {
        max-width: 760px;
    }

    .points-visual {
        justify-content: center;
    }

    .points-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .points-section {
        padding: clamp(48px, 10vw, 72px) 0;
    }

    .points-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .points-actions .btn,
    .points-actions .btn-secondary {
        width: 100%;
    }

    .points-visual {
        grid-template-columns: auto auto;
        justify-content: center;
        justify-items: center;
        align-items: center;
        gap: clamp(12px, 3.8vw, 30px);
        overflow: visible;
    }

    .ticket-preview,
    .phone-area {
        width: auto;
        overflow: visible;
    }

    .receipt {
        width: clamp(132px, 30vw, 220px);
        padding: clamp(12px, 2.4vw, 20px) clamp(9px, 2vw, 16px);
        font-size: clamp(.48rem, 1.45vw, .72rem);
    }

    .receipt-header {
        gap: 6px;
        padding-bottom: clamp(6px, 1.4vw, 10px);
    }

    .receipt-subheader {
        padding: clamp(6px, 1.4vw, 10px) 0;
    }

    .receipt-table {
        margin: clamp(7px, 1.6vw, 12px) 0;
    }

    .receipt-table th,
    .receipt-table td {
        padding: clamp(2px, .7vw, 4px) 0;
    }

    .receipt-qr {
        gap: clamp(8px, 2vw, 14px);
        padding: clamp(12px, 2.6vw, 20px) 0 clamp(10px, 2.2vw, 16px);
        font-size: clamp(.44rem, 1.3vw, .64rem);
    }

    .qr-box {
        width: clamp(48px, 13vw, 78px);
        height: clamp(48px, 13vw, 78px);
        border-width: clamp(3px, 1vw, 5px);
        outline-width: 2px;
    }

    .phone-mockup {
        width: clamp(154px, 34vw, 260px);
        height: clamp(270px, 56vw, 430px);
        max-width: none;
        padding: clamp(14px, 3vw, 22px) clamp(9px, 2vw, 15px) clamp(10px, 2vw, 16px);
        border-width: clamp(3px, .9vw, 4px);
        border-radius: clamp(12px, 3vw, 18px);
    }

    .phone-notch {
        width: clamp(68px, 15vw, 104px);
        height: clamp(9px, 2vw, 14px);
    }

    .phone-side-button {
        top: clamp(48px, 10vw, 82px);
        right: clamp(-8px, -1.2vw, -5px);
        width: clamp(5px, 1vw, 8px);
        height: clamp(24px, 5vw, 38px);
        border-width: clamp(3px, .9vw, 4px);
    }

    .phone-slide {
        padding: clamp(14px, 3vw, 24px) clamp(10px, 2.2vw, 18px) clamp(10px, 2vw, 18px);
    }

    .points-phone-card,
    .redeem-phone-card {
        gap: clamp(5px, 1.2vw, 8px);
        padding: clamp(12px, 2.8vw, 22px) clamp(9px, 2vw, 16px);
    }

    .points-phone-card h3,
    .redeem-phone-card h3 {
        font-size: clamp(1rem, 4.5vw, 1.5rem);
    }

    .points-phone-card strong {
        font-size: clamp(1.2rem, 5vw, 1.85rem);
    }

    .points-phone-card img {
        width: min(100%, clamp(68px, 18vw, 112px));
        margin-top: clamp(8px, 2vw, 16px);
    }

    .redeem-phone-card img {
        width: min(100%, clamp(82px, 24vw, 142px));
        max-height: clamp(82px, 23vw, 136px);
    }

    .redeem-phone-card button {
        min-width: clamp(92px, 24vw, 132px);
        min-height: clamp(38px, 9vw, 50px);
        font-size: clamp(1rem, 4.5vw, 1.25rem);
    }

    .phone-controls {
        gap: 6px;
        padding-top: clamp(14px, 3vw, 24px);
    }

    .phone-controls button {
        width: 18px;
        height: 22px;
    }

    .points-section .step-callout {
        display: block;
    }

    .step-callout-badge {
        width: clamp(24px, 6vw, 34px);
        height: clamp(24px, 6vw, 34px);
        border-width: clamp(2px, .8vw, 3px);
        font-size: clamp(.72rem, 2.4vw, .9rem);
    }

    .step-callout-line {
        height: clamp(2px, .7vw, 3px);
    }

    .step-callout--ticket {
        top: 42%;
        left: 100%;
        width: clamp(54px, 16vw, 104px);
        height: clamp(34px, 9vw, 54px);
        transform: translate(6px, -50%);
    }

    .step-callout--ticket .step-callout-line {
        left: 0;
        right: auto;
        top: 54%;
        width: clamp(42px, 12vw, 82px);
        height: clamp(2px, .7vw, 3px);
        transform: translateY(-50%) rotate(-28deg);
        transform-origin: left center;
    }

    .step-callout--ticket .step-callout-badge {
        left: auto;
        right: 0;
        top: 0;
        transform: none;
    }

    .step-callout--phone {
        top: clamp(24px, 6vw, 44px);
        right: clamp(-28px, -5vw, -12px);
        width: clamp(72px, 20vw, 130px);
        height: clamp(56px, 14vw, 110px);
    }

    .step-callout--phone .step-callout-line {
        right: clamp(26px, 6vw, 38px);
        top: clamp(24px, 6vw, 34px);
        width: clamp(54px, 15vw, 98px);
        height: clamp(2px, .7vw, 3px);
    }

    .step-callout--redeem {
        top: clamp(150px, 36vw, 260px);
        right: clamp(-24px, -5vw, -10px);
        width: clamp(66px, 18vw, 112px);
        height: clamp(42px, 11vw, 78px);
    }

    .step-callout--redeem .step-callout-line {
        right: clamp(26px, 6vw, 42px);
        top: clamp(18px, 4vw, 30px);
        width: clamp(44px, 12vw, 76px);
        height: clamp(2px, .7vw, 3px);
    }

    .points-steps {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .points-visual {
        grid-template-columns: auto auto;
        justify-content: center;
        justify-items: center;
        align-items: center;
        gap: clamp(22px, 4vw, 34px);
        overflow: visible;
    }

    .ticket-preview,
    .phone-area {
        width: auto;
        overflow: visible;
    }

    .points-section .step-callout {
        display: block;
    }

    .step-callout--ticket {
        top: 36%;
        left: 100%;
        width: 120px;
        height: 58px;
        transform: translate(8px, -50%);
    }

    .step-callout--ticket .step-callout-line {
        left: 0;
        right: auto;
        top: 54%;
        width: 92px;
        transform: translateY(-50%) rotate(-28deg);
        transform-origin: left center;
    }

    .step-callout--ticket .step-callout-badge {
        left: auto;
        right: 0;
        top: 0;
        transform: none;
    }

    .step-callout--phone {
        right: -58px;
        width: 170px;
    }

    .step-callout--phone .step-callout-line {
        width: 118px;
    }
}

@media (max-width: 640px) {
    /* Mobile keeps the ticket-phone story readable by stacking the mockups while preserving callout direction. */
    .points-visual {
        grid-template-columns: 1fr;
        width: min(100%, 380px);
        margin-inline: auto;
        gap: clamp(30px, 9vw, 42px);
        justify-items: center;
        overflow: visible;
    }

    .ticket-preview,
    .phone-area {
        width: 100%;
        justify-content: center;
        overflow: visible;
    }

    .receipt {
        width: clamp(156px, 48vw, 184px);
        padding: clamp(18px, 5vw, 22px) clamp(14px, 4vw, 18px);
        font-size: clamp(.62rem, 2.4vw, .78rem);
    }

    .receipt-header {
        padding-bottom: 9px;
    }

    .receipt-subheader {
        padding: 9px 0;
    }

    .receipt-table {
        margin: 11px 0;
    }

    .receipt-table th,
    .receipt-table td {
        padding: 3px 0;
    }

    .receipt-qr {
        gap: 13px;
        padding: 18px 0 15px;
        font-size: clamp(.54rem, 2vw, .68rem);
    }

    .qr-box {
        width: clamp(72px, 22vw, 86px);
        height: clamp(72px, 22vw, 86px);
        border-width: 5px;
    }

    .phone-mockup {
        width: clamp(182px, 57vw, 212px);
        height: clamp(300px, 90vw, 345px);
        padding: clamp(17px, 4.8vw, 20px) clamp(12px, 3.2vw, 15px) 14px;
        border-width: 4px;
        border-radius: 18px;
    }

    .phone-notch {
        width: clamp(94px, 29vw, 112px);
        height: 14px;
    }

    .phone-side-button {
        top: 82px;
        right: -9px;
        width: 8px;
        height: 40px;
        border-width: 4px;
    }

    .phone-slide {
        padding: clamp(16px, 4.4vw, 21px) clamp(11px, 3vw, 14px) 14px;
    }

    .points-phone-card,
    .redeem-phone-card {
        padding: clamp(18px, 5vw, 21px) clamp(13px, 3.4vw, 16px);
    }

    .points-phone-card h3,
    .redeem-phone-card h3 {
        font-size: clamp(1.35rem, 6vw, 1.65rem);
    }

    .points-phone-card strong {
        font-size: clamp(1.7rem, 7vw, 2rem);
    }

    .points-phone-card img {
        width: min(100%, clamp(100px, 32vw, 118px));
        margin-top: 16px;
    }

    .redeem-phone-card img {
        width: min(100%, clamp(124px, 40vw, 154px));
        max-height: clamp(124px, 38vw, 148px);
    }

    .redeem-phone-card button {
        min-width: clamp(120px, 38vw, 142px);
        min-height: 52px;
        font-size: clamp(1.15rem, 5.2vw, 1.35rem);
    }

    .step-callout-badge {
        width: 34px;
        height: 34px;
        border-width: 3px;
        font-size: .9rem;
    }

    .step-callout-line {
        height: 3px;
    }

    .step-callout--ticket {
        top: 50%;
        left: 100%;
        width: clamp(88px, 27vw, 112px);
        height: 52px;
        transform: translate(10px, -50%);
    }

    .step-callout--ticket .step-callout-line {
        left: 0;
        right: auto;
        top: 50%;
        width: clamp(58px, 18vw, 76px);
        transform: translateY(-50%) rotate(-25deg);
        transform-origin: left center;
    }

    .step-callout--ticket .step-callout-badge {
        left: auto;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .step-callout--phone,
    .step-callout--redeem {
        right: -18px;
        width: clamp(90px, 27vw, 116px);
        height: 58px;
    }

    .step-callout--phone {
        top: clamp(92px, 27vw, 124px);
    }

    .step-callout--phone .step-callout-line,
    .step-callout--redeem .step-callout-line {
        right: 30px;
        top: 50%;
        width: clamp(58px, 18vw, 76px);
        height: 3px;
        transform: none;
    }

    .step-callout--redeem {
        top: clamp(292px, 86vw, 340px);
    }

    .step-callout--phone .step-callout-badge,
    .step-callout--redeem .step-callout-badge {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 640px) {
    .step-callout--ticket {
        top: 50%;
        left: 4px;
        width: clamp(112px, 35vw, 150px);
        height: clamp(112px, 35vw, 150px);
        transform: translate(-83%, -72%);
    }

    .step-callout--phone {
        top: clamp(86px, 25vw, 118px);
        right: -15px;
        width: clamp(112px, 34vw, 150px);
        height: clamp(112px, 34vw, 150px);
    }

    .step-callout--redeem {
        top: clamp(200px, 62vw, 236px);
        right: -15px;
        width: clamp(112px, 34vw, 150px);
        height: clamp(112px, 34vw, 150px);
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .step-callout--ticket {
        top: 50%;
        left: 4px;
        width: 150px;
        height: 150px;
        transform: translate(-83%, -72%);
    }

    .step-callout--phone {
        top: 92px;
        right: -42px;
        width: 170px;
        height: 170px;
    }

    .step-callout--redeem {
        top: 226px;
        right: -42px;
        width: 170px;
        height: 170px;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .step-callout--ticket {
        top: 50%;
        left: 4px;
        width: 160px;
        height: 160px;
        transform: translate(-83%, -72%);
    }

    .step-callout--phone {
        top: 66px;
        right: -86px;
        width: 180px;
        height: 180px;
    }

    .step-callout--redeem {
        top: 250px;
        right: -92px;
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 640px) {
    /* Indicator PNGs follow the same reduction ratio as their target mockup. */
    .step-callout--ticket {
        top: 10%;
        left: -8px;
        width: clamp(169px, 52vw, 199px);
        height: clamp(169px, 52vw, 199px);
        transform: translate(-68%, -72%);
    }

    .step-callout--phone {
        top: clamp(-8px, -1vw, -2px);
        right: clamp(-62px, -16vw, -50px);
        width: clamp(169px, 52.8vw, 197px);
        height: clamp(169px, 52.8vw, 197px);
    }

    .step-callout--redeem {
        top: clamp(120px, 37.6vw, 136px);
        right: clamp(-64px, -16.8vw, -52px);
        width: clamp(169px, 52.8vw, 197px);
        height: clamp(169px, 52.8vw, 197px);
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .step-callout--ticket {
        top: 10%;
        left: -8px;
        width: clamp(208px, 32.5vw, 238px);
        height: clamp(208px, 32.5vw, 238px);
        transform: translate(-83%, -72%);
    }

    .step-callout--phone {
        top: -2px;
        right: clamp(-144px, -17.95vw, -110px);
        width: clamp(202px, 31.6vw, 241px);
        height: clamp(202px, 31.6vw, 241px);
    }

    .step-callout--redeem {
        top: clamp(144px, 22.5vw, 172px);
        right: clamp(-148px, -18.3vw, -113px);
        width: clamp(202px, 31.6vw, 241px);
        height: clamp(202px, 31.6vw, 241px);
    }
}

@media (max-width: 767px) {
    /* Phone layouts stack the mockups, so external callout PNGs add clutter and become unreliable. */
    .points-section .step-callout {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .points-steps {
        display: none;
    }

    .points-mobile-step {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px 14px;
        width: min(100%, 336px);
        padding: 18px 20px;
        border-radius: var(--radius-sm);
        background: color-mix(in srgb, var(--card) 96%, transparent);
        border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
        box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
    }

    .points-mobile-step span {
        grid-row: span 2;
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: var(--primary);
        color: var(--card);
        font-weight: 900;
    }

    .points-mobile-step h3 {
        align-self: end;
        color: var(--text);
        font-size: clamp(1rem, 4.6vw, 1.2rem);
        line-height: 1.15;
    }

    .points-mobile-step p {
        margin: 0;
        color: var(--muted);
        font-size: clamp(.88rem, 3.7vw, 1rem);
        line-height: 1.45;
    }

    .points-visual {
        gap: clamp(18px, 6vw, 28px);
    }

    .redeem-phone-card {
        align-content: center;
        gap: clamp(8px, 2.8vw, 12px);
        padding: clamp(14px, 4vw, 18px) clamp(10px, 3vw, 14px);
    }

    .redeem-phone-card h3 {
        max-width: 150px;
        font-size: clamp(1.08rem, 5.6vw, 1.32rem);
        line-height: 1.05;
    }

    .redeem-phone-card img {
        width: min(100%, clamp(96px, 31vw, 124px));
        max-height: clamp(96px, 30vw, 124px);
        margin-top: 0;
    }

    .redeem-phone-card button {
        min-width: clamp(104px, 34vw, 128px);
        min-height: clamp(42px, 11vw, 48px);
        font-size: clamp(1rem, 4.8vw, 1.18rem);
    }
}

/* Info / map */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .info-content {
        position: static;
    }

    .info-image,
    .info-photo-frame {
        min-height: clamp(340px, 56vw, 520px);
        height: clamp(340px, 56vw, 520px);
    }
}

@media (max-width: 640px) {
    .info-block {
        padding: 20px;
    }

    .info-hours p {
        flex-direction: column;
        gap: 4px;
    }

    .info-hours strong {
        text-align: left;
    }

    .info-local-controls {
        right: 12px;
        bottom: 12px;
    }

    .map {
        height: 320px;
    }
}

/* Footer */
@media (max-width: 1024px) {
    .site-footer .container {
        width: min(calc(100% - var(--page-gutter-total, 40px)), 1280px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 44px 0;
    }

    .site-footer .container {
        width: min(100% - 28px, 1480px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .footer-brand img,
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Account page */
@media (max-width: 640px) {
    .account-page {
        min-height: auto;
        padding: 38px 0 52px;
    }

    .account-shell {
        width: min(100% - 24px, 430px);
    }

    .account-card {
        padding: 18px;
    }

    .account-title {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .account-tab,
    .account-btn,
    .social-login {
        width: 100%;
    }
}

/* Feedback page */
@media (max-width: 900px) {
    .feedback-hero {
        padding: clamp(48px, 10vw, 72px) 0;
    }

    .faq-grid,
    .feedback-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .feedback-form,
    .login-card {
        padding: clamp(20px, 5vw, 30px);
    }
}

@media (max-width: 640px) {
    .feedback-attachments-row {
        align-items: stretch;
    }

    .feedback-attach-button {
        align-self: center;
    }

    .feedback-attachment-chip {
        width: 100%;
        justify-content: space-between;
    }
}

/* Menu page */
@media (max-width: 1024px) {
    .wrapped {
        padding: 58px 16px 96px;
    }

    .menu-featured-section {
        width: min(100%, 900px);
        margin-bottom: 58px;
    }

    .menu-flip-card-grid {
        grid-template-columns: repeat(2, minmax(280px, 340px));
        gap: 34px;
    }

    .menu-extra-note,
    .menu-salad-note {
        grid-column: span 2;
        width: min(100%, 720px);
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .menu-flip-notice {
        top: 88px;
        right: 12px;
        width: min(330px, calc(100vw - 24px));
    }

    .menu-section-title {
        margin-bottom: 46px;
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .menu-featured-section--pastas,
    .menu-featured-section--ensaladas,
    .menu-featured-section--cafe,
    .menu-featured-section--sodas,
    .menu-featured-section--frappes {
        margin-top: 66px;
    }

    .menu-flip-card-grid {
        grid-template-columns: minmax(0, 360px);
        gap: 28px;
    }

    .flip-card {
        height: 540px;
    }

    .flip-card--compact,
    .flip-card:not(:has(.flip-card-size-label)) {
        height: 480px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 22px;
    }

    .flip-card-photo {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .flip-card-info h3,
    .flip-card-back h3 {
        font-size: 1.28rem;
    }

    .flip-card-ingredients {
        gap: 8px;
        font-size: .94rem;
        line-height: 1.28;
    }

    .menu-extra-note,
    .menu-salad-note {
        grid-column: span 1;
        min-height: 220px;
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .wrapped {
        padding: 38px 12px 72px;
    }

    .menu-featured-section {
        width: 100%;
        margin-bottom: 44px;
    }

    .menu-flip-card-grid {
        grid-template-columns: minmax(0, 100%);
        gap: 24px;
    }

    .flip-card {
        height: clamp(510px, 138vw, 540px);
    }

    .flip-card--compact,
    .flip-card:not(:has(.flip-card-size-label)) {
        height: clamp(450px, 122vw, 500px);
    }

    .flip-card-front,
    .flip-card-back {
        padding: 16px;
    }

    .flip-card-photo {
        aspect-ratio: 1 / 1;
        height: auto;
        margin-bottom: 16px;
    }

    .flip-card-title-row {
        align-items: flex-start;
        gap: 8px;
    }

    .flip-card-title-row span {
        font-size: 1rem;
    }

    .flip-card-price {
        font-size: 1.12rem !important;
    }

    .flip-card-size-label {
        font-size: 1rem !important;
    }
}

/* Very small devices */
@media (max-width: 380px) {
    .promo-hero {
        padding-top: 30px;
    }

    .site-header .nav {
        width: min(100% - 20px, 1280px);
    }

    .site-header .brand {
        width: 72px;
        height: 72px;
        padding: 8px;
    }

    .site-header .brand img {
        max-width: 56px;
    }

    .site-header .world-cup-title,
    .site-header .world-cup-year {
        font-size: clamp(.78rem, 4.2vw, 1rem);
    }

    .promo-stage--wide,
    .promo-banner {
        min-height: 0;
        height: auto;
    }

    .promo-banner {
        padding-top: 70vw;
    }

    .promo-controls {
        height: 70vw;
    }

    .promo-banner-content {
        padding: 14px;
    }

    .promo-banner h2 {
        font-size: clamp(1.35rem, 7.4vw, 1.85rem);
    }

    .menu-pdf-toolbar {
        gap: 6px;
        grid-template-columns: 38px minmax(48px, auto) 38px;
    }

    .menu-pdf-btn {
        width: 38px;
        height: 38px;
    }

    .menu-pdf-page,
    .menu-pdf-zoom {
        min-width: 58px;
        font-size: .9rem;
    }


    .flip-card {
        height: clamp(490px, 138vw, 520px);
    }

    .flip-card--compact,
    .flip-card:not(:has(.flip-card-size-label)) {
        height: clamp(430px, 122vw, 470px);
    }

    .flip-card-photo {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .feedback-form,
    .login-card,
    .account-card {
        padding: 16px;
    }
}
