:root {
  --cream: #f8f1e7;
  --paper: #fffaf2;
  --paper-strong: #fff4df;
  --ink: #191512;
  --muted: #6e6257;
  --line: #e5d6c4;
  --red: #b7352b;
  --red-dark: #8f241d;
  --green: #2d6d4f;
  --whatsapp: #25d366;
  --whatsapp-dark: #168f45;
  --gold: #d8943f;
  --charcoal: #26201b;
  --shadow: 0 26px 80px rgba(45, 30, 18, .16);
  --soft-shadow: 0 14px 42px rgba(45, 30, 18, .08);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --shell: min(1140px, calc(100vw - 40px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, rgba(216, 148, 63, .18), transparent 30vw),
    radial-gradient(circle at 82% 0%, rgba(183, 53, 43, .13), transparent 34vw),
    linear-gradient(90deg, rgba(183,53,43,.045) 1px, transparent 1px),
    linear-gradient(rgba(183,53,43,.035) 1px, transparent 1px),
    var(--cream);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: radial-gradient(rgba(38, 32, 27, .11) .7px, transparent .7px);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 20px; z-index: 30; background: var(--charcoal); color: var(--paper); padding: 10px 14px; border-radius: 999px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,241,231,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(229,214,196,.86); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand, .nav-links, .hero-actions, .form-actions { display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 950; letter-spacing: -.04em; font-size: 18px; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--paper); box-shadow: inset 0 -5px 0 rgba(0,0,0,.12), 0 10px 22px rgba(143,36,29,.22); }
.brand-text { position: relative; }
.brand-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(.58); transform-origin: left; }
.nav-links { color: var(--muted); font-weight: 750; }
.nav-links a { padding: 10px 4px; transition: color .2s ease; }
.nav-links a:hover { color: var(--red-dark); }
.nav-cta, .btn { border-radius: 999px; font-weight: 900; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nav-cta { padding: 12px 18px; background: var(--whatsapp); color: #082d16; box-shadow: 0 12px 30px rgba(37,211,102,.2); }
.btn { padding: 14px 21px; border: 1px solid transparent; cursor: pointer; }
.btn:hover, .nav-cta:hover { transform: translateY(-2px); }
.btn-primary { background: var(--whatsapp); color: #082d16; box-shadow: 0 16px 36px rgba(37,211,102,.24); }
.btn-primary:hover, .nav-cta:hover { background: var(--whatsapp-dark); color: var(--paper); }
.btn-secondary { background: rgba(255,250,242,.76); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { box-shadow: var(--soft-shadow); }
.hero { min-height: calc(100vh - 76px); padding: clamp(54px, 8vw, 104px) 0 clamp(42px, 7vw, 82px); display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, .86fr); gap: clamp(30px, 6vw, 84px); align-items: center; }
.hero-copy { position: relative; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 950; margin: 0 0 14px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .oven-badge strong { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.065em; line-height: .94; }
h1 { font-size: clamp(50px, 6.2vw, 84px); margin-bottom: 22px; max-width: 840px; }
h2 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 16px; }
h3 { font-size: 24px; letter-spacing: -.04em; margin-bottom: 10px; }
.hero-lede, .section-heading p, .promo-copy > p, .order-copy > p { color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }
.hero-actions { margin: 28px 0 24px; flex-wrap: wrap; }
.proof-ribbon { display: flex; flex-wrap: wrap; gap: 10px; }
.proof-ribbon span { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,250,242,.72); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); padding: 10px 13px; box-shadow: 0 8px 22px rgba(45,30,18,.05); }
.proof-ribbon strong { color: var(--ink); }
.hero-stage { position: relative; isolation: isolate; background: linear-gradient(145deg, rgba(255,250,242,.94), rgba(255,244,223,.78)); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); overflow: hidden; transform: rotate(.7deg); }
.hero-stage::before { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(183,53,43,.32); border-radius: 28px; pointer-events: none; z-index: -1; }
.stage-halo { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 999px; left: 14%; top: 16%; background: radial-gradient(circle, rgba(216,148,63,.28), rgba(216,148,63,.08) 42%, transparent 70%); animation: breathe 5.5s ease-in-out infinite; z-index: -1; }
.oven-badge { display: flex; justify-content: space-between; gap: 14px; align-items: start; margin-bottom: 6px; position: relative; z-index: 1; }
.oven-badge span, .ticket-card span, .menu-meta span { color: var(--red); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 950; }
.oven-badge strong { font-size: clamp(30px, 4vw, 45px); }
.hero-pizza { position: relative; z-index: 1; width: 100%; margin: 4px auto 10px; filter: drop-shadow(0 30px 38px rgba(70,36,16,.2)); animation: floatPizza 6s ease-in-out infinite; }
.ticket-card { position: relative; z-index: 1; background: var(--charcoal); color: var(--paper); border-radius: 24px; padding: 18px; display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.ticket-card span { color: #f2c16a; }
.ticket-card strong { display: block; font-size: 23px; letter-spacing: -.035em; margin-top: 3px; }
.ticket-card small { max-width: 210px; color: #d8cab9; text-align: right; }
.marquee { background: var(--red); color: var(--paper); border-block: 1px solid var(--red-dark); overflow: hidden; }
.marquee-track { min-height: 72px; display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); width: max-content; padding-inline: 22px; animation: slideTrack 24s linear infinite; }
.marquee span { font-family: Georgia, "Times New Roman", serif; font-size: clamp(20px, 2.6vw, 35px); font-weight: 850; letter-spacing: -.035em; white-space: nowrap; }
.section { padding: clamp(72px, 9vw, 116px) 0; }
.section-heading { max-width: 800px; margin-bottom: 36px; }
.menu-grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.menu-card, .step, .order-card, .story-frame, .trust-card { background: rgba(255,250,242,.88); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--soft-shadow); }
.menu-card { min-height: 318px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.menu-card::after { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid rgba(183,53,43,.12); border-radius: 999px; right: -70px; top: -70px; }
.menu-card.featured { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); transform: translateY(-12px); }
.menu-card.featured::after { border-color: rgba(242,193,106,.18); }
.menu-number { color: var(--gold); font-weight: 950; font-size: 13px; letter-spacing: .16em; }
.menu-card p, .step p, .trust-card p { color: var(--muted); }
.menu-card.featured p { color: #dccfc0; }
.menu-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.menu-meta span { display: inline-flex; width: max-content; max-width: 100%; padding: 8px 10px; border-radius: 999px; background: rgba(183,53,43,.09); }
.menu-meta strong { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.featured .menu-meta span { background: rgba(242,193,106,.16); color: #f2c16a; }
.featured .menu-meta strong { color: #f2c16a; }
.menu-order { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,250,242,.76); color: var(--ink); font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.menu-order:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); border-color: rgba(37,211,102,.48); }
.featured .menu-order { background: rgba(255,250,242,.95); border-color: rgba(255,250,242,.18); }
.promo-section { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 82px); align-items: center; }
.promo-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.promo-points div { background: var(--paper); border: 1px solid var(--line); border-radius: 19px; padding: 16px; }
.promo-points strong { display: block; color: var(--red); margin-bottom: 8px; }
.promo-points span { color: var(--muted); }
.story-frame { padding: 12px; transform: rotate(-1.4deg); position: relative; }
.story-frame::before { content: ""; position: absolute; inset: -12px 18px auto auto; width: 72px; height: 34px; background: rgba(183,53,43,.18); transform: rotate(8deg); border-radius: 3px; }
.story-frame picture { display: block; height: 540px; overflow: hidden; border-radius: 20px; background: #111; }
.story-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.story-frame p { color: var(--muted); margin: 12px 4px 2px; font-size: 14px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-card { padding: 24px; }
.trust-card span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 16px; background: var(--paper-strong); border: 1px solid var(--line); margin-bottom: 20px; }
.step { padding: 28px; position: relative; overflow: hidden; }
.step span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--paper); font-weight: 950; margin-bottom: 18px; }
.step::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 5px; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(.42); transform-origin: left; opacity: .72; }
.order-card { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(24px, 5vw, 56px); padding: clamp(24px, 5vw, 52px); background: linear-gradient(145deg, var(--paper), #fff4df); }
.order-notes { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.order-notes li { position: relative; padding-left: 26px; }
.order-notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(183,53,43,.1); }
.order-form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-weight: 850; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: rgba(183,53,43,.72); box-shadow: 0 0 0 4px rgba(183,53,43,.1); }
small { color: var(--muted); }
.generated { border: 1px solid #edc897; background: #fff5e5; border-radius: 18px; padding: 15px; }
.generated p { margin: 6px 0 0; color: var(--ink); }
.sticky-order { position: fixed; right: 18px; bottom: 18px; z-index: 19; display: none; background: var(--whatsapp); color: #082d16; border-radius: 999px; padding: 13px 17px; font-weight: 950; box-shadow: 0 16px 34px rgba(37,211,102,.28); }
.footer { padding: 28px 0 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.footer p { margin: 0; }
.footer a { color: var(--ink); font-weight: 850; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.menu-card.reveal:nth-child(2), .trust-card.reveal:nth-child(2), .step.reveal:nth-child(2) { transition-delay: .08s; }
.menu-card.reveal:nth-child(3), .trust-card.reveal:nth-child(3), .step.reveal:nth-child(3) { transition-delay: .16s; }
.trust-card.reveal:nth-child(4) { transition-delay: .24s; }

@keyframes floatPizza {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes breathe {
  0%, 100% { transform: scale(.95); opacity: .8; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes slideTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 960px) {
  .hero, .promo-section, .order-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 52px; }
  .hero-stage { max-width: 560px; margin-inline: auto; transform: none; }
  .menu-grid, .steps { grid-template-columns: 1fr; }
  .menu-card.featured { transform: none; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-frame { max-width: 390px; transform: none; }
}
@media (max-width: 880px) {
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  :root { --shell: min(100vw - 24px, 1140px); }
  .nav { min-height: 66px; }
  .nav-links, .nav-cta { display: none; }
  h1 { font-size: clamp(44px, 13vw, 62px); }
  h2 { font-size: clamp(34px, 10vw, 48px); }
  .hero-actions, .form-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .proof-ribbon { display: grid; }
  .hero-stage { padding: 16px; border-radius: 26px; }
  .oven-badge, .ticket-card { display: grid; }
  .ticket-card small { max-width: none; text-align: left; }
  .marquee-track { animation-duration: 18s; }
  .promo-points, .trust-grid { grid-template-columns: 1fr; }
  .story-frame picture { height: 430px; }
  .sticky-order { display: inline-flex; }
  .footer { flex-direction: column; padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
}
