/* Muebles A La Carta · grafito + roble, con la "carta" como pieza central */
:root {
  --graphite: #2c2a27;
  --oak: #b9875a;        /* roble: detalles y líneas */
  --oak-dark: #8a5f38;   /* roble oscuro para texto/links */
  --wood-bg: #f3ebe1;
  --ink: #23211e;
  --grey: #67615a;
  --line: #e2d8cc;
  --bg: #fdfcfa;
  --display: "Gloock", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oak-dark); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--oak-dark); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 .3em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--graphite); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { text-decoration: none; color: var(--graphite); display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-size: 1.4rem; }
.brand__name i { font-style: italic; color: var(--oak-dark); font-size: .9em; }
.brand__sub { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 3px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--oak-dark); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--graphite); margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero { padding: clamp(40px, 7vw, 88px) 0; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.eyebrow { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--oak-dark); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); color: var(--graphite); }
.lead { font-size: 1.12rem; color: var(--grey); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; background: var(--graphite); color: #fff; text-decoration: none; padding: 14px 22px; font-weight: 600; border: 1px solid var(--graphite); }
.btn:hover { background: #000; }
.btn--line { background: transparent; color: var(--graphite); }
.btn--line:hover { background: var(--wood-bg); }
.hero__photo { margin: 0; position: relative; }
.hero__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--wood-bg); border: 1px solid var(--oak); z-index: -1; }
.hero__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.summary { background: var(--graphite); color: #fff; padding: 22px 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 28px; margin: 0; }
.facts dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--oak); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.facts a { color: #fff; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--wood { background: var(--wood-bg); }
.section--dark { background: var(--graphite); color: #f3ede6; }
.section--dark h2 { color: #fff; }
.section--dark figcaption { color: #cfc6bb; }

/* La carta (firma) */
.menu { background: #fff; border: 1px solid var(--oak); outline: 1px solid var(--oak); outline-offset: -10px; padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); box-shadow: 0 30px 60px -40px rgba(60,40,20,.35); }
.menu__head { text-align: center; max-width: 34em; margin: 0 auto clamp(24px, 4vw, 44px); }
.menu__kicker { font-family: var(--display); font-style: italic; color: var(--oak-dark); margin: 0 0 4px; }
.menu__head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 12px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.menu__head h2::before, .menu__head h2::after { content: "✦"; font-size: .32em; color: var(--oak); }
.menu__note { color: var(--grey); font-style: italic; margin: 0; }
.menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px) clamp(28px, 5vw, 64px); }
.course h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.course ul { list-style: none; margin: 0; padding: 0; }
.course li { padding: 9px 0; }
.course b { display: block; font-weight: 600; }
.course span { display: block; color: var(--grey); font-style: italic; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border: 1px solid var(--oak); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); color: var(--oak-dark); background: #fff; }
.steps p { color: var(--grey); margin: 0; }
.stack { display: grid; gap: 18px; }
.stack figure, .gallery figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--grey); margin-top: 6px; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; align-items: start; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery .g-wide img { aspect-ratio: 4 / 3; }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.quotes figure { margin: 0; padding: 26px; border-left: 3px solid var(--oak); background: #fff; box-shadow: 0 1px 0 var(--line); }
.quotes blockquote { margin: 0 0 12px; font-family: var(--display); font-size: 1.12rem; line-height: 1.5; }
.quotes figcaption { font-weight: 600; color: var(--oak-dark); margin: 0; }
.source { color: var(--grey); font-size: .9rem; margin-top: 16px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.3rem; color: var(--oak-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--grey); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; vertical-align: top; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); }
.table th { width: 28%; }
.after-table { margin-top: 18px; }
.map iframe { width: 100%; height: 340px; border: 1px solid var(--line); display: block; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 96px; font-size: .9rem; color: var(--grey); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot p { margin: 0; }
.share { background: none; border: 1px solid var(--line); padding: 9px 14px; font: inherit; color: var(--ink); cursor: pointer; }
.demo-note { width: 100%; font-size: .8rem; }
.demo-note a { color: var(--grey); }
.sticky-cta { display: none; }

@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .hero__grid, .split, .quotes, .menu__cols { grid-template-columns: 1fr; }
  .hero__photo { max-width: 380px; margin-right: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-wide { grid-column: 1 / -1; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--graphite); color: #fff; text-align: center; text-decoration: none; font-weight: 600; padding: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .menu { outline-offset: -7px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
