@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans.woff2") format("woff2");
}

:root {
  --orange: #fd690b;
  --orange-2: #e68037;
  --green: #039a18;
  --dark: #19130e;
  --strip: #1b130d;
  --bar: #0d0807;
  --line: #342c25;
  --card: #241b14;
  --muted: #b9aea4;
  --text: #f6efe9;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff; line-height: 1; flex: none; }
.logo-main { font-size: 52px; font-weight: 700; letter-spacing: 0.035em; }
.logo-main b { color: var(--orange); font-weight: 700; }
.logo-sub { font-size: 13.5px; letter-spacing: 0.3em; margin: 4px 0 0 0.3em; font-weight: 500; }
.logo-sm .logo-main { font-size: 37px; letter-spacing: 0.03em; }
.logo-sm .logo-sub { font-size: 10px; margin-top: 5px; }
.logo-sm { align-items: flex-start; }
.logo-sm .logo-sub { margin-left: 12px; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 30; background: linear-gradient(180deg, rgba(10, 6, 4, 0.6), rgba(10, 6, 4, 0)); }
.header-inner { display: flex; align-items: flex-start; padding: 28px 70px 0 90px; gap: 20px; }
.main-nav { flex: 1; display: flex; justify-content: center; gap: 58px; padding: 11px 0 0 44px; }
.main-nav a { text-decoration: none; font-size: 18.5px; font-weight: 500; color: #fff; padding-bottom: 9px; border-bottom: 3px solid transparent; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.main-nav a:hover { color: #ffd7bb; }
.main-nav a.is-active { color: var(--orange); border-bottom-color: var(--orange); }
.wa-btn { display: inline-flex; align-items: center; gap: 9px; height: 49px; padding: 0 15px 0 11px; background: var(--green); border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 26px; color: #fff; text-decoration: none; font-size: 16.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.wa-btn .ic { width: 32px; height: 32px; stroke-width: 1.5; }
.wa-btn:hover { filter: brightness(1.1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: #120b07; }
.hero { height: clamp(440px, 31.25vw, 660px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 7, 4, 0.82) 0%, rgba(12, 7, 4, 0.55) 34%, rgba(12, 7, 4, 0.08) 60%, rgba(12, 7, 4, 0) 70%); }
.hero-inner { position: relative; padding: 7.3vw 0 0 7.9vw; max-width: 60vw; }
.hero-sign { width: clamp(300px, 33vw, 640px); height: auto; }
.hero-tag { margin: 0 0 0; font-size: clamp(26px, 2.35vw, 46px); line-height: 1.2; font-weight: 600; letter-spacing: -0.005em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.hero-swoosh { width: clamp(180px, 20vw, 380px); height: auto; margin-top: 0.3vw; }
.hero-desc { margin: 0.45vw 0 0; font-size: clamp(15px, 1.17vw, 22px); line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 1.25vw; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 53px; padding: 0 18px; border-radius: 27px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; color: #fff; white-space: nowrap; transition: transform 0.15s, filter 0.15s; }
.btn .ic { width: 22px; height: 22px; }
.btn-orange { background: var(--orange); box-shadow: 0 4px 14px rgba(253, 105, 11, 0.35); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.9); background: rgba(0, 0, 0, 0.18); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Franja de destacados ---------- */
.features { background: var(--strip); height: 68px; }
.features ul { position: relative; left: -17px; list-style: none; margin: 0 auto; padding: 0; max-width: 1140px; height: 100%; display: flex; }
.features li { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 16px; line-height: 1.3; }
.features li + li::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: #3a3029; }
.features .ic { width: 44px; height: 44px; stroke-width: 1.7; }

/* ---------- Tarjetas ---------- */
.cards-band { background: #b7845f url("/assets/defaults/band.jpg") center / cover no-repeat; padding: 20px 2.4vw 25px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; max-width: 1700px; margin: 0 auto; }
.card { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: 4px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 8px 20px rgba(60, 30, 10, 0.4); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover img, .card:focus-visible img { transform: scale(1.05); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 4, 2, 0.72) 0%, rgba(8, 4, 2, 0.25) 45%, rgba(8, 4, 2, 0) 70%); }
.card-text { position: absolute; left: 10.3%; right: 8px; bottom: 16px; display: block; }
.card-text strong { display: block; font-size: clamp(20px, 1.75vw, 32px); font-weight: 600; line-height: 1.12; max-width: 6.2em; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.card-text em { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-style: normal; font-size: clamp(13px, 0.98vw, 18px); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.card-text em .ic { width: 15px; height: 15px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 279fr 456fr 246fr 445fr; padding: 30px 55px 14px; max-width: 1920px; margin: 0 auto; }
.f-col h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.15; font-weight: 700; color: var(--orange-2); }
.f-col p { margin: 0; }
.f-brand { padding-right: 40px; }
.f-brand p { margin-top: 12px; font-size: 13.5px; line-height: 1.4; max-width: 240px; }
.social { display: flex; gap: 18px; margin-top: 12px; }
.social a { display: inline-flex; color: #fff; }
.social .ic { width: 25px; height: 25px; }
.social a:hover { color: var(--orange); }
.f-contact { border-left: 1px solid var(--line); padding-left: 51px; display: flex; flex-direction: column; gap: 26px; }
.f-addr { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.35; }
.f-addr .ic { width: 36px; height: 36px; stroke-width: 1.4; margin-top: -3px; }
.f-wa { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; font-size: 21px; font-weight: 500; }
.f-wa .ic { width: 38px; height: 38px; color: #25d366; stroke-width: 1.5; }
.f-links { padding-left: 34px; }
.f-links ul { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 3px; font-size: 14px; line-height: 1.4; }
.f-links a { text-decoration: none; }
.f-links a:hover { color: var(--orange); }
.f-sub { border-left: 1px solid var(--line); padding-left: 67px; }
.f-sub p { font-size: 14px; }
.sub-form { display: flex; margin-top: 12px; }
.sub-form input[type="email"] { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 0; border-radius: 3px 0 0 3px; background: #f6f4f2; color: #222; font: inherit; font-size: 14px; }
.sub-form button { height: 38px; padding: 0 17px; border: 0; border-radius: 0 3px 3px 0; background: var(--orange); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sub-form button:hover { filter: brightness(1.1); }
.f-sub .sub-note { margin-top: 7px; font-size: 11.5px; color: #9d9289; }
.f-sub .sub-msg { min-height: 1.3em; margin-top: 4px; font-size: 13px; }
.sub-msg.ok { color: #7fe08c; }
.sub-msg.err { color: #ff9a7a; }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--bar); border-top: 1px solid var(--line); padding: 21px 55px 37px; font-size: 13px; }
.footer-bar nav { display: flex; }
.footer-bar a { text-decoration: none; }
.footer-bar a + a { margin-left: 14px; padding-left: 14px; border-left: 1px solid #5d5249; }
.footer-bar a:hover { color: var(--orange); }

/* ---------- Páginas interiores ---------- */
.page-hero { height: clamp(280px, 20vw, 360px); display: flex; align-items: flex-end; }
.page-hero .hero-shade { background: linear-gradient(0deg, rgba(25, 19, 14, 0.95) 0%, rgba(12, 7, 4, 0.55) 55%, rgba(12, 7, 4, 0.7) 100%); }
.page-hero-inner { position: relative; padding: 0 7.9vw 36px; width: 100%; }
.page-hero h1 { margin: 0; font-size: clamp(34px, 3.2vw, 56px); font-weight: 700; line-height: 1.1; }
.page-hero p { margin: 8px 0 0; font-size: 18px; color: #e8dcd2; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow-top { padding-top: 44px; padding-bottom: 72px; }
.center { text-align: center; }
.lead { font-size: 19px; color: #eadfd6; margin: 0 0 20px; }
.small { font-size: 14px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); font-size: 18px; padding: 40px 0; }
.legal-note { color: var(--muted); font-size: 14px; margin-top: 40px; }

.rich { max-width: 780px; }
.rich h2 { font-size: 24px; margin: 1.6em 0 0.5em; color: #fff; }
.rich h2:first-child { margin-top: 0; }
.rich p, .rich li { color: #e6dbd2; line-height: 1.7; }
.rich ul { padding-left: 1.2em; }
.rich a:not(.btn) { color: var(--orange-2); }
.legal { margin: 0 auto; }

/* Carta */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; position: sticky; top: 0; z-index: 5; background: var(--dark); padding: 10px 0; }
.cat-nav a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; font-size: 15px; }
.cat-nav a:hover { border-color: var(--orange); color: var(--orange); }
.menu-cat { margin-bottom: 44px; scroll-margin-top: 70px; }
.menu-cat h2 { font-size: 30px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); display: inline-block; }
.dish-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dish { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.dish img { width: 112px; height: 112px; object-fit: cover; border-radius: 6px; flex: none; }
.dish-body { flex: 1; min-width: 0; }
.dish-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dish h3 { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.price { color: var(--orange); font-weight: 700; white-space: nowrap; }
.dish-desc { margin: 6px 0 0; color: #d6cbc2; font-size: 15px; }
.allergens { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; }
.allergens li { font-size: 12.5px; background: #33271e; border-radius: 12px; padding: 2px 9px; }
.allergen-warn { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.menu-files { margin-bottom: 40px; }
.menu-files h2 { font-size: 24px; margin: 0 0 14px; }
.file-list { display: flex; flex-wrap: wrap; gap: 14px; }
.file-card { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; min-width: 260px; }
.file-card:hover { border-color: var(--orange); }
.file-card .ic { width: 30px; height: 30px; color: var(--orange); }
.file-card strong, .file-card small { display: block; }
.file-card small { color: var(--muted); }
.file-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }

/* Formularios (reservas) */
.res-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.res-facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.res-facts li { display: flex; gap: 14px; align-items: flex-start; }
.res-facts .ic { width: 24px; height: 24px; color: var(--orange); margin-top: 2px; }
.res-form { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: grid; gap: 16px; }
.res-form label { display: grid; gap: 6px; font-size: 14px; color: #e3d8ce; }
.res-form input, .res-form select, .res-form textarea { font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 6px; border: 1px solid #4a3d33; background: #120d09; color: #fff; width: 100%; }
.res-form input:focus, .res-form select:focus, .res-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.res-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.res-form .check { display: flex; gap: 10px; align-items: flex-start; }
.res-form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); }
.res-form .invalid { border-color: #ff7a52; }
.form-msg { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-msg.err { color: #ff9a7a; }
.form-msg.ok { color: #7fe08c; font-size: 17px; }
.res-form .btn { justify-self: start; }

/* Nosotros / Contacto */
.about-wrap { display: grid; gap: 36px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: start; }
.map-box { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: #231a13; }
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Móvil / tablet ---------- */
@media (max-width: 900px) {
  .main-nav { padding-left: 0; }
  .header-inner { padding: 14px 16px 0; align-items: center; gap: 10px; }
  .logo-main { font-size: 30px; }
  .logo-sub { font-size: 8.5px; margin-top: 4px; }
  .nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 22px; border: 2px solid rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.35); color: #fff; cursor: pointer; padding: 0; }
  .nav-toggle .ic { width: 22px; height: 22px; }
  .wa-btn { margin-left: auto; height: 44px; width: 44px; padding: 0; justify-content: center; }
  .wa-btn span { display: none; }
  .wa-btn .ic { width: 28px; height: 28px; }
  .main-nav { display: none; position: absolute; left: 12px; right: 12px; top: 72px; flex-direction: column; gap: 0; padding: 8px 0; background: rgba(20, 14, 10, 0.97); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
  .main-nav a { padding: 14px 20px; border-bottom: 0; font-size: 18px; border-left: 3px solid transparent; }
  .main-nav a.is-active { border-left-color: var(--orange); border-bottom-color: transparent; }
  .site-header.nav-open .main-nav { display: flex; }

  .hero { height: auto; min-height: 560px; }
  .hero-bg { object-position: 72% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(12, 7, 4, 0.78) 0%, rgba(12, 7, 4, 0.55) 55%, rgba(12, 7, 4, 0.72) 100%); }
  .hero-inner { max-width: none; padding: 104px 20px 36px; }
  .hero-sign { width: min(78vw, 360px); }
  .hero-tag { font-size: 26px; margin-top: 4px; }
  .hero-swoosh { width: 180px; margin-top: 4px; }
  .hero-desc { font-size: 16px; margin-top: 8px; }
  .hero-cta { margin-top: 20px; gap: 12px; }
  .btn { height: 48px; padding: 0 14px; font-size: 15px; gap: 6px; }

  .features { height: auto; padding: 8px 20px; }
  .features ul { flex-direction: column; }
  .features li { justify-content: flex-start; padding: 12px 0; }
  .features li + li::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .features .ic { width: 34px; height: 34px; }

  .cards-band { padding: 18px 16px 22px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { aspect-ratio: 4 / 3; }
  .card-text { left: 12px; bottom: 12px; }
  .card-text strong { font-size: 19px; }
  .card-text em { font-size: 13px; }

  .footer-grid { grid-template-columns: 1fr; padding: 28px 20px 8px; gap: 26px; }
  .f-contact, .f-sub { border-left: 0; padding-left: 0; }
  .f-links { padding-left: 0; }
  .f-brand { padding-right: 0; }
  .f-contact { gap: 18px; }
  .f-wa { font-size: 22px; }
  .footer-bar { padding: 18px 20px; flex-direction: column; align-items: flex-start; }

  .page-hero { height: 230px; }
  .page-hero-inner { padding: 0 20px 24px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero p { font-size: 16px; }
  .container { padding: 0 16px; }
  .narrow-top { padding-top: 28px; padding-bottom: 48px; }
  .dish-list, .res-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 22px; }
  .res-form { padding: 18px; }
}
@media (max-width: 480px) {
  .res-form .row2 { grid-template-columns: 1fr; }
  .dish img { width: 84px; height: 84px; }
  .file-card { min-width: 0; width: 100%; }
}
@media (max-width: 360px) {
  .card-text strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
