/* Taberna El Candil — referencia 10 (moodboard de pizzería), paleta "pizzería" de la guía */
:root {
  --white: #ffffff; --cream: #f3e9df; --cream-2: #e7d9cf;
  --red: #88371f; --orange: #bb4e19; --ink: #412818; --toast: #bf875e;
  --display: "Bowlby One", "Arial Black", sans-serif;
  --hand: "Caveat", cursive;
  --text: "DM Sans", system-ui, sans-serif;
  --lang-on-bg: #88371f; --lang-on-fg: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px clamp(16px, 5vw, 56px); background: var(--red); color: var(--white); }
.logo { font: 400 1.25rem/1 var(--display); letter-spacing: .02em; text-decoration: none; }
.links { display: none; gap: 26px; font-weight: 700; }
.links a { text-decoration: none; }
.links a:hover { color: #ffd2b8; }
.nav .lang { --lang-on-bg: #fff; --lang-on-fg: var(--red); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--red); }
.btn-cream:hover { background: #fff; }
.btn-line { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--orange); }
.btn-outline { border-color: var(--red); color: var(--red); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Portada */
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,15,8,.45), rgba(40,15,8,.55)); }
.hero-inner { position: relative; z-index: 1; padding: 64px 18px; }
.hero-meta { font: 500 .78rem/1 "DM Mono", monospace; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font: 400 clamp(3.4rem, 15vw, 9.5rem)/.9 var(--display); color: var(--cream); letter-spacing: .01em; text-shadow: 0 6px 30px rgba(0,0,0,.25); }
.hero-script { font: 700 clamp(2rem, 7vw, 3.6rem)/1 var(--hand); color: #ffd2b8; margin: -.25em 0 34px; transform: rotate(-3deg); }

/* Palabra repetida */
.repeat { position: relative; background: var(--orange); color: var(--cream); padding: 40px 18px 56px; overflow: hidden; text-align: center; }
.repeat-words { display: grid; justify-items: center; }
.repeat-words span { font: 400 clamp(5rem, 26vw, 15rem)/.82 var(--display); letter-spacing: -.01em; color: #d9733f; }
.repeat-photo { position: absolute; left: 50%; top: 40px; width: min(62vw, 420px); aspect-ratio: 1; margin: 0; transform: translateX(-50%) rotate(-4deg); border-radius: 50%; overflow: hidden; border: 8px solid var(--cream); box-shadow: 0 30px 50px -20px rgba(0,0,0,.5); }
.repeat-photo img { width: 100%; height: 100%; object-fit: cover; }
.note-hand { position: absolute; right: 6%; top: 20px; max-width: 150px; font: 700 1.5rem/1.05 var(--hand); color: #fff; transform: rotate(6deg); text-align: left; }
.note-hand svg { width: 90px; height: 45px; display: block; margin-top: 4px; }
.today { position: relative; margin-top: 26px; }
.label { font: 500 .78rem/1 "DM Mono", monospace; letter-spacing: .2em; text-transform: uppercase; }
.today-t { font: 400 clamp(1.4rem, 4vw, 2rem)/1.15 var(--display); margin-top: 8px; }

/* Secciones */
.section { padding: clamp(60px, 10vw, 110px) clamp(16px, 5vw, 56px); max-width: 1180px; margin: 0 auto; }
.h2 { font: 400 clamp(2.6rem, 9vw, 5rem)/.95 var(--display); color: var(--red); margin-bottom: 30px; }
.menu { display: grid; gap: 16px; }
.menu-col { background: var(--white); border-radius: 22px; padding: 26px 24px; box-shadow: 0 18px 40px -30px rgba(65,40,24,.5); }
.menu-col h3 { font: 700 2rem/1 var(--hand); color: var(--orange); margin-bottom: 14px; }
.menu-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.menu-col li { display: flex; align-items: baseline; gap: 10px; }
.menu-col li > span { flex: 1; display: flex; align-items: baseline; gap: 8px; }
.menu-col li > span::after { content: ""; flex: 1; border-bottom: 2px dotted var(--cream-2); transform: translateY(-4px); }
.menu-col b { color: var(--red); white-space: nowrap; }
.note { margin-top: 16px; color: #7a5a46; font-size: .95rem; }

.banner { position: relative; min-height: 60vh; display: grid; place-items: center; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(40,15,8,.42); }
.banner-t { position: relative; z-index: 1; text-align: center; font: 400 clamp(2.4rem, 10vw, 6rem)/.95 var(--display); color: var(--cream); padding: 0 18px; }

.split { display: grid; gap: 34px; }
.hours { margin: 0 0 20px; display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 2px dotted var(--cream-2); }
.hours dd { margin: 0; font-weight: 700; text-align: right; }
.addr { margin-bottom: 22px; }
.split .cta { justify-content: flex-start; }
.map { position: relative; border-radius: 24px; overflow: hidden; min-height: 300px; display: grid; }
.map-btn { position: absolute; left: 16px; bottom: 16px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }

.reviews-sec { text-align: center; }
.example-note { color: var(--orange); margin-bottom: 22px; }
.reviews { display: grid; gap: 16px; margin-bottom: 26px; text-align: left; }
.review { margin: 0; background: var(--white); border: 2px dashed var(--toast); border-radius: 22px; padding: 24px; }
.stars { color: var(--orange); letter-spacing: 3px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 12px; font: 700 1.5rem/1.2 var(--hand); }
.review figcaption { font: 500 .72rem/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #7a5a46; }

.foot { background: var(--red); color: #f6d9c8; padding: 34px 18px 100px; text-align: center; display: grid; gap: 10px; font-size: .95rem; }
.foot .logo { color: #fff; font-size: 1.6rem; }
.foot a { color: #fff; }
.float-wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1f8f4e; color: #fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); }
.float-wa svg { width: 30px; height: 30px; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .links { display: flex; }
  .menu { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .note-hand { right: 12%; top: 60px; max-width: 200px; font-size: 1.9rem; }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
}
