:root {
  --cream: #fbefb8;
  --cream-soft: #fdf6d4;
  --peach: #fce1b6;
  --blue: #1139a0;
  --blue-deep: #0a2470;
  --navy: #1c2f6e;
  --white: #fffef6;
  --line: rgba(17, 57, 160, 0.22);
  --font: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--blue);
  background: var(--cream-soft);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
main:focus { outline: none; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--blue); color: var(--cream); padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.caps { text-transform: uppercase; letter-spacing: 0.08em; }

/* Barra superior */
.util { background: var(--blue); color: var(--cream); font-size: 0.78rem; }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.util a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
.util a:hover { text-decoration: underline; text-underline-offset: 4px; }
.util nav, .util .socials { display: flex; gap: 20px; }
.util-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang button { background: transparent; border: 1.5px solid transparent; border-radius: 999px; color: var(--cream); padding: 2px 11px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--blue); }
.lang button:not([aria-pressed="true"]):hover { border-color: var(--cream); }
.util .lang button:focus-visible { outline-color: var(--cream); }

/* Cabecera */
.head { background: var(--cream); border-bottom: 1px solid var(--line); }
.head-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: center; }
.brand img { width: 76px; height: 76px; object-fit: contain; }
.brand-name { font-size: 1.35rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.1; }
.brand-name small { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; opacity: 0.8; margin-top: 3px; }
.head .search { justify-self: start; }
.menu-btn { justify-self: end; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 4px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; }
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; content: ""; }
.burger { position: relative; }
.burger::before { position: absolute; top: -7px; }
.burger::after { position: absolute; top: 7px; }

.search { display: flex; align-items: center; width: min(240px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px 0 14px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 0; font-size: 0.95rem; }
.search input::placeholder { color: rgba(17, 57, 160, 0.6); }
.search input:focus-visible { outline: none; }
.search:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.search button { border: 0; background: none; padding: 6px; display: grid; place-items: center; }
.search svg { width: 18px; height: 18px; }

/* Portada */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.hero-text { background: var(--navy); color: var(--cream); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 48px clamp(20px, 6vw, 80px); }
.hero-text .eyebrow { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; opacity: 0.85; }
.hero-text h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 500; }
.hero-text p { margin: 0; max-width: 34ch; font-size: 1.1rem; opacity: 0.92; }
.hero-art { background: var(--cream); display: grid; place-items: center; padding: 16px; }
.hero-art img { width: min(100%, 460px); aspect-ratio: 1136 / 1142; object-fit: contain; }

.btn { display: inline-block; text-decoration: none; border: 2px solid currentColor; border-radius: 999px; padding: 10px 26px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; font-weight: 600; background: transparent; transition: background 0.15s, color 0.15s; }
.btn-light { background: var(--cream); color: var(--blue); border-color: var(--cream); }
.btn-light:hover { background: transparent; color: var(--cream); }
.btn-dark { background: var(--blue); color: var(--cream); border-color: var(--blue); }
.btn-dark:hover { background: transparent; color: var(--blue); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Franja de newsletter */
.news { background: var(--peach); }
.news-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; padding-top: 22px; padding-bottom: 22px; }
.news h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.news form { display: flex; flex-wrap: wrap; gap: 10px; }
.news input { width: min(300px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; }
.news input:disabled { opacity: 0.7; }

/* Secciones */
.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; }
.section-head h2::after { content: ""; display: block; width: 44px; height: 2px; background: var(--blue); margin: 12px auto 0; }

.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--peach); border-radius: 4px; overflow: hidden; display: grid; place-items: center; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img.cutout { object-fit: contain; padding: 10px; background: #fff; }
.card-media span { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.card h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; margin: 14px 0 4px; }
.card p { margin: 0 0 6px; font-size: 0.98rem; opacity: 0.9; }
.card .more { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; border-bottom: 2px solid currentColor; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.card--ghost { pointer-events: none; }
.card--ghost .card-media { background: transparent; border: 2px dashed var(--line); }
.card--ghost h3 { opacity: 0.6; }

.about { background: var(--white); text-align: center; }
.about .wrap { max-width: 720px; }
.about h2 { font-size: 2rem; margin-bottom: 14px; }
.about p { margin: 0 0 18px; }
.link-arrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

.tiles { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; padding: 18px; border-radius: 4px; text-decoration: none; background: var(--navy); color: var(--cream); border: 2px solid var(--navy); transition: background 0.15s, color 0.15s; }
.tile:nth-child(even) { background: var(--cream); color: var(--navy); }
.tile:hover { background: var(--cream); color: var(--navy); }
.tile:nth-child(even):hover { background: var(--navy); color: var(--cream); }
.tile b { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; line-height: 1.15; }
.tile small { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }

/* Páginas interiores */
.page { padding: 44px 0 64px; }
.page > .wrap > h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; text-align: center; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.chip { text-decoration: none; border: 1.5px solid var(--blue); border-radius: 999px; padding: 5px 16px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; }
.chip[aria-current="true"] { background: var(--blue); color: var(--cream); }

.empty { text-align: center; max-width: 440px; margin: 0 auto; padding: 24px 0 8px; display: grid; gap: 14px; justify-items: center; }
.empty img { width: 180px; height: 180px; object-fit: contain; }
.empty h2 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; }
.empty p { margin: 0; }

.prose { max-width: 680px; margin: 0 auto; display: grid; gap: 16px; }
.prose p { margin: 0; }
.prose .portrait { width: 220px; margin: 0 auto 8px; }

.about-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 28px 44px; align-items: center; max-width: 860px; margin: 0 auto; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 4px; border: 6px solid var(--white); box-shadow: 0 10px 30px rgba(10, 36, 112, 0.18); }
.about-photo--logo { object-fit: contain; border: 0; box-shadow: none; aspect-ratio: 1136 / 1142; }
.about-text { display: grid; gap: 14px; }
.about-text p { margin: 0; font-size: 1.3rem; line-height: 1.45; }
.about-text p:first-child { font-size: 1.7rem; font-weight: 600; line-height: 1.2; }
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .about-text { text-align: center; }
}
.contact-link { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.contact-net { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; opacity: 0.8; }
.contact-link a { font-size: 1.8rem; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.recipe { max-width: 760px; margin: 0 auto; }
.recipe h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500; text-align: center; }
.recipe .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 14px 0 24px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.recipe .hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 4px; margin-bottom: 28px; }
.recipe .hero-img.cutout { object-fit: contain; max-height: 380px; margin-left: auto; margin-right: auto; background: #fff; padding: 12px; }
.recipe h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; margin: 28px 0 12px; }
.recipe ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.recipe ol { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; }
.recipe ol li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.recipe ol li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--cream); font-weight: 600; font-size: 0.9rem; }
.macros { width: 100%; border-collapse: collapse; text-align: center; background: var(--white); border: 1px solid var(--line); }
.macros th { padding: 10px 8px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; background: var(--cream); border-bottom: 1px solid var(--line); }
.macros td { padding: 14px 8px; font-size: 1.35rem; font-weight: 600; }
.recipe .fine { margin: 8px 0 0; font-size: 0.82rem; opacity: 0.8; }
.crumbs { text-align: center; margin-bottom: 14px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; }

/* Pie */
.foot { background: var(--navy); color: var(--cream); margin-top: 0; }
.foot-in { display: grid; gap: 28px 40px; grid-template-columns: 1.2fr 1fr 1fr; padding-top: 44px; padding-bottom: 28px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--cream); }
.foot h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 10px; font-weight: 600; opacity: 0.85; }
.foot ul { display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-brand p { margin: 0; font-size: 0.95rem; opacity: 0.9; }
.foot-brand strong { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.1rem; }
.foot-copy { border-top: 1px solid rgba(251, 239, 184, 0.3); padding: 16px 0 24px; font-size: 0.8rem; text-align: center; opacity: 0.85; }

/* Menú lateral */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(380px, 100vw); height: 100vh; max-height: none; padding: 0; border: 0; background: var(--cream); color: var(--blue); box-shadow: -10px 0 40px rgba(10, 36, 112, 0.3); }
.drawer::backdrop { background: rgba(10, 36, 112, 0.45); }
.drawer-in { padding: 20px 24px 40px; display: grid; gap: 22px; align-content: start; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-top b { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; }
.close { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--blue); background: none; font-size: 1.1rem; line-height: 1; }
.drawer .search { width: 100%; }
.drawer nav ul { display: grid; gap: 4px; }
.drawer nav a { display: block; padding: 8px 0; text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.2rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.drawer h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; margin: 8px 0 -8px; opacity: 0.8; }
.drawer nav ul.sub a { font-size: 1rem; letter-spacing: 0.08em; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art img { width: min(100%, 320px); }
  .foot-in { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .head-in { grid-template-columns: 1fr auto; }
  .head .search { display: none; }
  .brand { justify-self: start; }
  .brand img { width: 60px; height: 60px; }
  .brand-name { font-size: 1.1rem; }
  .util nav a:nth-child(n + 3) { display: none; }
  .section { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
}
