/* Bravas - Las Empanadas de Lulis (landing /bravas). Se carga SOLO en esta página. */
:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}
/* Layout: poster bands stacked like the Bravas key visuals — red / yellow / blue blocks on a blue construction grid */
:root {
  --red: #EE4036;
  --yellow: #FFE04B;
  --blue: #4441EB;
  --white: #FFFDF8;
  --kraft: #D8B88A;
  --crust: #E2A04F;
  --crust-dark: #A9581F;
  --ink: #1D1A55;
  --display: "ltr-principia", "ltr-principia-variable", "LTR Principia", "Imbue", "Bodoni 72 Condensed", "Didot", Georgia, serif;
  --sans: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --cell: clamp(56px, 8vw, 96px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--yellow);
}
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Shared type */
.display {
  font-family: var(--display);
  font-variation-settings: "opsz" 100;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
}
.label {
  font-family: var(--sans);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
}
.grid-bg {
  background-image:
    linear-gradient(to right, var(--grid-line, var(--blue)) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line, var(--blue)) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}

/* Logo lockup */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.logo b {
  font-family: var(--sans); font-weight: 900; font-variation-settings: "wdth" 72;
  font-size: 34px; letter-spacing: -.01em; transform: scaleY(1.12); transform-origin: bottom;
}
.logo small {
  font-family: var(--sans); font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px;
  display: flex; align-items: baseline; gap: .35em;
}
.logo small em { font-style: normal; font-variation-settings: "wdth" 100; font-weight: 900; font-size: 1.55em; letter-spacing: -.02em; text-transform: none; }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--yellow); color: var(--red);
  border-bottom: 1px solid var(--blue);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); }
.top nav .nav-link { text-decoration: none; color: var(--blue); }
.top nav .nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-variation-settings: "wdth" 125; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; font-size: 13px;
  padding: 14px 22px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--blue); color: var(--white);
  box-shadow: 4px 4px 0 var(--red);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--red); }
.top .btn { padding: 10px 16px; font-size: 12px; }
@media (max-width: 640px) { .top nav .nav-link { display: none; } }

/* Hero */
.hero { background: var(--white); }
.hero-brand { background: var(--yellow); position: relative; border-bottom: 2px solid var(--blue); }
.hero-brand .grid-bg { position: absolute; inset: 0; --grid-line: color-mix(in srgb, var(--blue) 70%, transparent); background-position: center top; }
.hero-brand .wrap { position: relative; display: grid; justify-items: center; padding-block: clamp(48px, 9vw, 120px); }
.hero-brand h1.logo-mark { margin: 0; width: min(760px, 100%); }
.hero-brand img { display: block; width: 100%; height: auto; }
.hero-brand { overflow: hidden; }
.hero-brand .wrap { gap: clamp(16px, 2.4vw, 28px); }
.hero-brand .tagline { font-size: clamp(44px, 7vw, 96px); text-align: center; color: var(--red); margin: 0; position: relative; z-index: 1; }

/* Dripping hand that drops into the hero on load */
.drip {
  position: absolute; top: 0; right: 0; z-index: 2; pointer-events: none;
  width: clamp(150px, 24vw, 340px); height: auto;
  transform: translateY(-110%) rotate(-10deg); transform-origin: 85% 15%;
  filter: drop-shadow(-10px 16px 0 color-mix(in srgb, var(--blue) 30%, transparent));
}
.hero-brand.in .drip { animation: drip-drop 1.1s cubic-bezier(.25,1.4,.5,1) .3s forwards, drip-sway 3.6s ease-in-out 1.4s infinite; }
@keyframes drip-drop { from { transform: translateY(-110%) rotate(-10deg); } to { transform: translateY(0) rotate(0); } }
@keyframes drip-sway { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
.hero-brand .drip { width: clamp(150px, 24vw, 340px); height: auto; display: block; }
@media (max-width: 760px) { .hero-brand .drip { width: 150px; } .hero-brand > .wrap { padding-top: 210px; } }

/* Broken empanada resting on the right, over the white band and the blue ticker */
.hero { position: relative; z-index: 2; }
.hero-pic {
  position: absolute; right: clamp(12px, 4vw, 72px); bottom: calc(-1 * clamp(28px, 3.2vw, 48px));
  width: clamp(104px, 16vw, 250px); height: auto; pointer-events: none;
  transform: rotate(-14deg);
  filter: drop-shadow(8px 10px 0 color-mix(in srgb, var(--blue) 35%, transparent));
}
.logo-img { display: block; line-height: 0; }
.logo-img img { display: block; height: 42px; width: auto; }
.hero-text {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 24px 48px;
  padding-block: clamp(32px, 5vw, 64px); padding-right: clamp(128px, 20vw, 320px);
}
.hero-text h2 { color: var(--red); font-size: clamp(48px, 7.4vw, 108px); }
.hero-foot { display: grid; gap: 16px; justify-items: start; color: var(--blue); }
@media (max-width: 760px) { .hero-text { grid-template-columns: minmax(0, 1fr); } }

/* Ticker */
.ticker { background: var(--blue); color: var(--yellow); overflow: hidden; border-block: 1px solid var(--blue); }
.ticker-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.ticker span {
  font-family: var(--display); font-variation-settings: "opsz" 100; font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 4vw, 44px); line-height: 1; padding: 18px 0; white-space: nowrap;
}
.ticker span::after { content: "✶"; font-family: var(--sans); font-size: .6em; margin: 0 .8em; vertical-align: .25em; color: var(--red); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Story */
.story { background: var(--red); color: var(--white); }
.story .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: end;
  padding-block: clamp(56px, 9vw, 120px);
}
.story h2 { font-size: clamp(48px, 7.4vw, 100px); }
.story h2 i { font-style: normal; color: var(--yellow); }
.story .copy { display: grid; gap: 16px; font-size: 18px; max-width: 42ch; }
.story .copy strong { font-family: var(--sans); font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: var(--yellow); }
@media (max-width: 820px) { .story .wrap { grid-template-columns: 1fr; } }

/* Flavors */
.flavors { background: var(--yellow); position: relative; }
.flavors .grid-bg { position: absolute; inset: 0; --grid-line: color-mix(in srgb, var(--blue) 55%, transparent); }
.flavors .wrap { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.flavors h2 { color: var(--red); font-size: clamp(52px, 8vw, 112px); }
.flavors .section-head p { color: var(--blue); max-width: 34ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.card {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--c-bg); color: var(--c-fg);
  border: 2px solid var(--blue);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--blue); }
.card.red { --c-bg: var(--red); --c-fg: var(--white); --c-hl: var(--yellow); }
.card.blue { --c-bg: var(--blue); --c-fg: var(--white); --c-hl: var(--yellow); }
.card.white { --c-bg: var(--white); --c-fg: var(--blue); --c-hl: var(--red); }
.card .photo {
  aspect-ratio: 4 / 3; max-width: 100%; position: relative; overflow: hidden;
  border-bottom: 2px solid var(--blue);
  --grid-line: color-mix(in srgb, var(--c-fg) 22%, transparent);
  --cell: 48px;
  display: grid; place-items: center;
}
.card .photo img {
  width: 84%; height: auto; max-height: 80%; object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(40, 10, 0, .38));
  transform: rotate(-3deg); transition: transform .35s ease;
}
.card:hover .photo img.closed { transform: rotate(0) translateY(-8px) scale(1.04); }
/* Tap the photo to see the empanada opened */
.card .flip { font: inherit; color: inherit; background-color: transparent; border: 0; border-bottom: 2px solid var(--blue); padding: 0; width: 100%; cursor: pointer; }
.card .flip:focus-visible { outline: 3px solid var(--c-hl); outline-offset: -6px; }
.card .photo img.closed, .card .photo img.open { transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.4,.5,1); }
.card .photo img.open {
  position: absolute; inset: 0; margin: auto; width: auto; height: 88%; max-width: 86%;
  opacity: 0; transform: scale(.8) rotate(8deg);
}
.card .flip.is-open img.closed { opacity: 0; transform: scale(1.15) rotate(-8deg); }
.card .flip.is-open img.open { opacity: 1; transform: scale(1) rotate(0); }
.card .hint {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  background: var(--c-hl); color: var(--c-bg); padding: 6px 10px; font-size: 10.5px;
}
.card .hint::before { content: "Ábrela"; }
.card .flip.is-open .hint::before { content: "Ciérrala"; }
.card .photo .tag { z-index: 1; }
.card .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--yellow); color: var(--blue); padding: 6px 9px; font-size: 10.5px;
}
.card.blue .tag, .card.red .tag { background: var(--white); }
.card .body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: clamp(36px, 3.6vw, 46px); color: var(--c-hl); }
.card .desc { font-size: 15.5px; }
.card .over { color: var(--c-hl); font-size: 12px; }
.card .desc strong { font-weight: 700; color: var(--c-hl); }
.ings { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 10px; }
.ings li { width: 74px; display: grid; justify-items: center; gap: 7px; transition: transform .2s ease; }
.ings .dot {
  width: 74px; height: 74px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--c-hl); background: var(--c-hl); color: var(--c-bg);
  display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-variation-settings: "opsz" 30; font-weight: 800;
  text-transform: uppercase; font-size: 13px; line-height: .95;
  box-shadow: 3px 3px 0 color-mix(in srgb, var(--blue) 70%, transparent);
}
.ings .dot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ings .name { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; line-height: 1.1; color: var(--c-fg); }
.card:hover .ings li { transform: translateY(-3px); }
.card { position: relative; }
.price {
  margin: 0; width: fit-content; line-height: 1; font-size: 17px;
  background: var(--c-hl, var(--red)); color: var(--c-bg, var(--white));
  padding: 5px 9px 3px; border: 2px solid var(--blue);
}
.card .price { position: absolute; top: 12px; right: 12px; z-index: 2; pointer-events: none; }
.dip .price { background: var(--red); color: var(--white); font-size: 15px; }
/* Small Spicy Ranch strip under the flavor cards */
.dip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: clamp(16px, 2vw, 24px); padding: 10px 20px 10px 12px;
  background: var(--white); color: var(--blue); border: 2px solid var(--blue);
  width: fit-content; max-width: 100%;
}
.dip { position: relative; margin-top: clamp(56px, 6vw, 72px); padding-left: clamp(132px, 13vw, 176px); min-height: 64px; }
.dip img {
  position: absolute; left: clamp(-8px, -0.6vw, -4px); bottom: -10px;
  width: clamp(130px, 13vw, 176px); height: auto; display: block;
  filter: drop-shadow(6px 8px 0 color-mix(in srgb, var(--blue) 35%, transparent));
  transform: rotate(-6deg);
}
@media (max-width: 640px) { .dip img { bottom: auto; top: -40px; } }
.dip-name { font-size: clamp(24px, 2.4vw, 30px); color: var(--red); }
.dip-copy { font-size: 15px; }
.card .line { padding: 18px 22px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px dashed color-mix(in srgb, var(--c-fg) 40%, transparent); margin-top: 20px; }
.card .line .label { font-size: 11px; }

/* Pull quote band */
.pull { background: var(--white); color: var(--blue); overflow: hidden; }
.pull .wrap { padding-block: clamp(56px, 8vw, 104px); display: grid; justify-items: center; gap: 18px; text-align: center; }
.pull p.display { font-size: clamp(64px, 13vw, 180px); transform: rotate(-6deg); color: var(--blue); }
.pull p.display span { color: var(--red); }

/* Order */
.order { background: var(--blue); color: var(--white); }
.order .wrap { padding-block: clamp(56px, 8vw, 104px); }
.order h2 { font-size: clamp(52px, 8vw, 112px); color: var(--yellow); }
.order .section-head p { max-width: 36ch; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .ways { grid-template-columns: minmax(0, 1fr); } }
.way {
  background: var(--white); color: var(--blue); padding: clamp(22px, 3vw, 36px);
  display: grid; gap: 14px; align-content: start; position: relative;
}
.way:nth-child(2) { background: var(--yellow); }
.way h3 { font-size: clamp(38px, 4.4vw, 58px); color: var(--red); }
.way .label { color: var(--blue); }
.steps { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.way .num { font-size: clamp(72px, 8vw, 104px); color: var(--blue); line-height: .8; }
.way a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.wa { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.wa-num {
  font-family: var(--display); font-variation-settings: "opsz" 60; font-weight: 800;
  font-size: clamp(26px, 2.6vw, 32px); color: var(--red); font-variant-numeric: tabular-nums;
  user-select: all;
}
.wa-copy {
  font-size: 11px; padding: 8px 12px; cursor: pointer;
  background: var(--blue); color: var(--white); border: 0;
}
.wa-copy:hover { background: var(--red); }
.order-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 4vw, 44px); }
.btn-big { font-size: 16px; padding: 18px 30px; background: var(--yellow); color: var(--blue); }
.wa-link { color: var(--white); text-underline-offset: 4px; }

/* Footer */
.foot { background: var(--yellow); color: var(--red); position: relative; overflow: hidden; }
.foot .grid-bg { position: absolute; inset: 0; --grid-line: color-mix(in srgb, var(--blue) 55%, transparent); }
.foot .wrap { position: relative; padding-block: clamp(48px, 7vw, 96px) 28px; display: grid; gap: 28px; }
.foot .tagline { font-size: clamp(44px, 7vw, 96px); text-align: center; }
.foot .big-logo { justify-self: center; width: min(620px, 100%); }
.foot .big-logo img { width: 100%; height: auto; }
.foot .fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--blue); border-top: 1px solid var(--blue); padding-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .card, .card .photo img, .btn { transition: none; }
  .drip, .hero-brand.in .drip { animation: none; transform: none; }
  .card .photo img.closed, .card .photo img.open { transition: none; }
  html { scroll-behavior: auto; }
}
