/* Pupusas Mima's — shared site styles */
:root {
    --red: #E2343F;
    --red-dark: #C1262F;
    --red-soft: #FDE8E9;
    --navy: #12285A;
    --navy-2: #1B3772;
    --yellow: #FFC23D;
    --cream: #FFF8EF;
    --cream-2: #FBEFDF;
    --ink: #201A16;
    --muted: #6E645C;
    --line: #EFE3D3;
    --white: #FFFFFF;
    --heading: 'Poppins', system-ui, -apple-system, sans-serif;
    --body: 'Poppins', system-ui, -apple-system, sans-serif;
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(32, 26, 22, .06);
    --shadow-md: 0 12px 30px rgba(32, 26, 22, .10);
    --shadow-lg: 0 24px 60px rgba(18, 40, 90, .18);
    --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin: 12px 0 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head-row .section-head { margin-bottom: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--body); font-weight: 600; font-size: .98rem;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(226, 52, 63, .32); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* Navbar */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    font-size: .93rem; font-weight: 500; color: var(--muted);
    padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--cream-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--white); color: var(--ink);
    font-size: 1.1rem; cursor: pointer;
}
.nav-mobile-only { display: none; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 194, 61, .25), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(226, 52, 63, .10), transparent 45%),
        var(--cream);
    padding: 72px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust i { color: var(--red); }
.hero-media { position: relative; }
.hero-media .photo {
    border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    transform: rotate(1.5deg); border: 6px solid var(--white);
}
.hero-media .photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.chip {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: var(--white); border-radius: 16px; padding: 12px 16px;
    box-shadow: var(--shadow-md); font-size: .88rem; line-height: 1.3;
}
.chip strong { display: block; font-size: .95rem; }
.chip .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; }
.chip-1 { left: -28px; bottom: 48px; }
.chip-1 .ico { background: var(--red-soft); color: var(--red); }
.chip-2 { right: -18px; top: 36px; }
.chip-2 .ico { background: #FFF3D6; color: #B7791F; }

/* Order ways */
.ways { margin-top: -56px; position: relative; z-index: 2; }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.way {
    display: flex; gap: 20px; align-items: center; justify-content: space-between;
    border-radius: var(--r-md); padding: 28px 30px; box-shadow: var(--shadow-md);
}
.way h3 { font-size: 1.45rem; margin-bottom: 6px; }
.way p { font-size: .95rem; }
.way-shop { background: var(--red); color: var(--white); }
.way-shop h3 { color: var(--white); }
.way-shop p { color: rgba(255, 255, 255, .85); }
.way-app { background: var(--white); border: 1px solid var(--line); }
.way-app p { color: var(--muted); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badges img { height: 44px; width: auto; }

/* Features */
.features { background: var(--cream); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--white); border-radius: var(--r-md); padding: 26px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.feat .ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.1rem; }
.feat h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: .92rem; }

/* Areas */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area {
    position: relative; border-radius: var(--r-md); padding: 28px 24px; overflow: hidden;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #DDE5F7;
    display: flex; flex-direction: column; min-height: 240px;
}
.area::after { content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -10px; bottom: -24px; font-size: 7rem; color: rgba(255, 255, 255, .06); }
.area .pin { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 194, 61, .16); color: var(--yellow); display: grid; place-items: center; margin-bottom: 18px; }
.area h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 8px; }
.area p { font-size: .9rem; flex: 1; margin-bottom: 18px; }
.area a { color: var(--yellow); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.area a:hover { text-decoration: underline; }

/* Catering band */
.catering-band { padding: 0 0 96px; }
.band {
    border-radius: var(--r-lg); padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
    background: radial-gradient(circle at 100% 0%, rgba(255, 194, 61, .45), transparent 45%), var(--red);
    color: var(--white); flex-wrap: wrap;
}
.band h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.band p { color: rgba(255, 255, 255, .88); max-width: 560px; }
.band .eyebrow { color: var(--yellow); }

/* Download */
.download { background: var(--cream); overflow: hidden; }
.dl-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.dl-media img { width: 100%; max-width: 520px; margin: 0 auto; }
.steps { display: grid; gap: 16px; margin: 28px 0 32px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--white); padding: 20px 22px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.step h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.step p { color: var(--muted); font-size: .92rem; }

/* Footer */
.footer { background: #0E1E44; color: #AEB9D6; padding: 72px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 84px; margin-bottom: 16px; }
.footer h3 { font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--white); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); transition: background .2s; }
.social a:hover { background: var(--red); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Mobile order bar + scroll top */
.mobile-order { display: none; }
.scroll-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: var(--navy); color: var(--white); cursor: pointer; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
    .nav-links a { padding: 8px 10px; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    :root { --nav-h: 68px; }
    .nav-toggle { display: grid; place-items: center; }
    .nav-actions .btn-ghost { display: none; }
    .nav-links {
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--white); padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md); display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; font-size: 1rem; }
    .nav-mobile-only { display: block; }
    .hero { padding: 48px 0 96px; }
    .hero-grid, .dl-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-media { max-width: 480px; margin: 0 auto; width: 100%; }
    .chip-1 { left: -8px; }
    .chip-2 { right: -8px; }
    .ways-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .dl-media { order: 2; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 72px 0; }
    .brand span { display: none; }
    .brand img { width: 46px; height: 46px; }
    .nav-actions .btn-primary { padding: 10px 16px; font-size: .88rem; }
    .hero-cta .btn { flex: 1 1 100%; }
    .way { flex-direction: column; align-items: flex-start; padding: 24px; }
    .feat-grid, .area-grid, .footer-grid { grid-template-columns: 1fr; }
    .area { min-height: 0; }
    .band { padding: 36px 26px; }
    .catering-band { padding-bottom: 72px; }
    .chip { padding: 10px 12px; font-size: .8rem; }
    .chip .ico { width: 34px; height: 34px; }
    .mobile-order {
        display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
        transform: translateY(140%); transition: transform .3s ease;
    }
    .mobile-order.show { transform: none; }
    .mobile-order .btn { width: 100%; padding: 15px; }
    .scroll-top { bottom: 84px; }
    body { padding-bottom: 8px; }
}
