/* Woodshapers DECO — sistema de diseño
   Concepto: galería de interiorismo mediterráneo. Esquinas rectas, sin sombras, foto protagonista. */
@import url("/css/fonts.css");

:root {
  color-scheme: light;
  --bg: #EEF6FC;
  --surface: #F7FBFE;
  --surface-alt: #DBE3E6;
  --text: #15232F;
  --text-muted: #46596A;
  --border: #C3CFD5;
  --accent: #124E78;
  --accent-hover: #0C3A5A;
  --on-accent: #FFFFFF;
  --sea: #124E78;
  --wood: #7FA6C2;
  --ink: #124E78;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --fs-display: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  --fs-h3: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem;
  --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --container: 1320px;
  --narrow: 760px;
  --gutter: clamp(1rem, .5rem + 2vw, 1.5rem);
  --page-x: clamp(1rem, .25rem + 3.5vw, 3rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 240ms;
  --dur-slow: 700ms;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 var(--fs-body)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
strong, b { font-weight: 500; }

h1, h2, h3, h4 { color: var(--accent); font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 var(--sp-5); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
.display { font-size: var(--fs-display); line-height: 1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: var(--sp-3); }
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text); }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-small); }
em.serif, .serif-i { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.eyebrow, .label {
  font: 500 var(--fs-label)/1.4 var(--font-body);
  letter-spacing: .18em; text-transform: uppercase; color: var(--sea); margin: 0 0 var(--sp-4);
}
.label { color: var(--text-muted); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--page-x)); margin-inline: auto; padding-inline: var(--page-x); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--page-x)); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--surface { background: var(--surface-alt); }
.section__head { max-width: 680px; margin-bottom: var(--sp-8); }
.section__head--center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: var(--sp-7) var(--gutter); }
@media (min-width: 40rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 40rem) and (max-width: 63.99rem) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 64rem) {
  .split { grid-template-columns: 7fr 5fr; gap: var(--sp-9); }
  .split--rev { grid-template-columns: 5fr 7fr; }
  .split--rev > :first-child { order: 2; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-6); border: 1px solid transparent; border-radius: 0;
  font: 500 var(--fs-label)/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: none; color: inherit;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--outline { border-color: currentColor; color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--wa { background: var(--sea); color: #fff; }
.btn--wa:hover { background: var(--accent-hover); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 var(--sp-5); }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

.link-arrow {
  font: 500 var(--fs-label)/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur) var(--ease); padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--accent); }
.link-arrow::after { content: "→"; display: inline-block; margin-left: .5em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--accent); color: #fff;
  border-bottom: 1px solid var(--accent-hover);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: var(--sp-5); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: #fff; }
.brand img { width: 52px; height: auto; }
.brand__name { font: 500 .8125rem/1.15 var(--font-body); letter-spacing: .22em; text-transform: uppercase; }
.brand__name span { display: block; font: 500 italic 1.05rem/1 var(--font-display); letter-spacing: .04em; text-transform: none; color: #DBE3E6; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: clamp(1rem, .2rem + 1.6vw, 2.25rem); margin: 0; padding: 0; }
.header a:hover { color: #DBE3E6; }
.nav a { color: #fff; font: 500 var(--fs-label)/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 16px 0; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #DBE3E6; }
.header__cta { display: none; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: #fff; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform var(--dur) var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 64rem) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg);
  padding: var(--sp-7) var(--page-x); overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0 0 var(--sp-7); padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu a { display: block; padding: 18px 0; font: 500 2rem/1.1 var(--font-display); text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (min-width: 64rem) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 5rem) var(--section-y); }
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 64rem) { .hero__grid { grid-template-columns: 5fr 7fr; gap: var(--sp-9); } }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero__badge {
  position: absolute; left: var(--sp-5); bottom: var(--sp-5); background: var(--bg); padding: var(--sp-4) var(--sp-5);
  max-width: 260px;
}
.hero__badge p { margin: 0; font-size: var(--fs-small); line-height: 1.4; }
.hero__badge strong { display: block; font: 600 1.5rem/1.1 var(--font-display); color: var(--accent); }
.trust { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6); padding: 0; list-style: none; font-size: var(--fs-small); color: var(--text-muted); }
.trust li::before { content: "—"; margin-right: .5em; color: var(--wood); }

/* Cabecera de página interior */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1rem + 3vw, 4rem); border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.breadcrumb { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--sp-5); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5em; color: var(--border); }
.breadcrumb a { text-decoration: none; }

/* ---------- Franja de valores ---------- */
.values { display: grid; gap: var(--sp-6) var(--gutter); padding: 0; margin: 0; list-style: none; }
@media (min-width: 40rem) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .values { grid-template-columns: repeat(4, 1fr); } }
.values li { border-top: 1px solid var(--text); padding-top: var(--sp-5); }
.values h3 { font-size: 1.375rem; }
.values p { color: var(--text-muted); margin: 0; font-size: var(--fs-small); }
.icon { width: 32px; height: 32px; color: var(--sea); margin-bottom: var(--sp-4); }

/* ---------- Tarjetas de producto ---------- */
.card { position: relative; display: grid; gap: var(--sp-4); align-content: start; }
.card__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body p { margin: 0; }
.card__title { font-size: var(--fs-h3); margin: 0 0 var(--sp-2); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__meta { color: var(--text-muted); font-size: var(--fs-small); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--sp-3); }
.price { font: 500 1.5rem/1 var(--font-display); color: var(--accent); }
.price small { font: 300 var(--fs-small)/1 var(--font-body); color: var(--text-muted); }
.pos-r { object-position: 78% 50%; } .pos-rr { object-position: 88% 50%; } .pos-l { object-position: 28% 50%; } .pos-c62 { object-position: 60% 50%; } .pos-top { object-position: 50% 15%; }

/* Ficha de modelo (colección) */
.model { display: grid; gap: var(--sp-6); padding-block: var(--sp-8); border-top: 1px solid var(--border); }
.model:first-of-type { border-top: 0; }
@media (min-width: 64rem) { .model { grid-template-columns: 5fr 7fr; gap: var(--sp-9); align-items: start; } }
.model__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.model h2 { margin-bottom: var(--sp-3); }
.hook { font: italic 500 var(--fs-h3)/1.3 var(--font-display); color: var(--accent); margin-bottom: var(--sp-5); }
.specs { width: 100%; border-collapse: collapse; margin: var(--sp-5) 0; font-size: var(--fs-small); }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs th { font-weight: 500; width: 38%; color: var(--text-muted); padding-right: var(--sp-4); }

/* ---------- Bloque foto + texto ---------- */
.figure img { width: 100%; object-fit: cover; }
.figure--tall img { aspect-ratio: 4 / 5; }
.figure--wide img { aspect-ratio: 3 / 2; }
.figure figcaption { font-size: var(--fs-small); color: var(--text-muted); margin-top: var(--sp-3); }
.checklist { list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.checklist li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--border); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 1px; background: var(--accent); }

/* ---------- Banda a sangre ---------- */
.band { position: relative; min-height: clamp(520px, 70vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(8 30 48 / .12) 0%, rgb(8 30 48 / .25) 40%, rgb(8 30 48 / .8) 100%); }
.band__content { position: relative; z-index: 2; padding-block: var(--sp-9); max-width: 640px; }
.band .eyebrow { color: #DBE3E6; }
.band h2 { color: #fff; }
.band p { color: #EEF6FC; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-7) var(--gutter); counter-reset: step; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--5 { grid-template-columns: repeat(5, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; border-top: 1px solid var(--border); padding-top: var(--sp-4); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 3.5rem/1 var(--font-display); color: var(--wood); margin-bottom: var(--sp-4); }
.steps h3 { font-size: 1.375rem; }
.steps p { color: var(--text-muted); font-size: var(--fs-small); margin: 0; }

/* ---------- Precio / descuento ---------- */
.pricebox { border: 1px solid var(--text); padding: var(--sp-6); background: var(--surface); }
.pricebox__big { font: 500 clamp(3rem, 2rem + 4vw, 4.5rem)/1 var(--font-display); color: var(--accent); margin: 0 0 var(--sp-3); }
.pricebox ul { padding-left: 1.1em; margin: var(--sp-4) 0 0; }
.pricebox li { margin-bottom: 6px; }
.offer { display: flex; gap: var(--sp-5); align-items: center; padding: var(--sp-5) var(--sp-6); background: var(--sea); color: #fff; flex-wrap: wrap; }
.offer strong { font: 600 2.5rem/1 var(--font-display); }
.offer p { margin: 0; flex: 1 1 260px; }
.offer a { color: #fff; }

/* ---------- Testimonios ---------- */
.quote { text-align: center; max-width: 820px; margin-inline: auto; }
.quote blockquote { margin: 0; font: italic 500 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1.3 var(--font-display); }
.quote figcaption { margin-top: var(--sp-5); font-size: var(--fs-small); color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--sp-5); padding: 22px 0; font: 500 1.3rem/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--font-body); color: var(--accent); transition: transform var(--dur) var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--sp-5); color: var(--text-muted); max-width: 64ch; }
.faq h2.faq__group { font-size: 1.75rem; margin: var(--sp-8) 0 var(--sp-4); }

/* ---------- Galería ---------- */
.gallery { display: grid; gap: var(--gutter); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption { font-size: .875rem; color: var(--text-muted); margin-top: var(--sp-2); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font: 500 var(--fs-label)/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.field .hint { font-size: .875rem; color: var(--text-muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 0;
  font: 300 1rem/1.4 var(--font-body); color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.error-msg { color: #B3261E; font-size: .875rem; min-height: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: 6px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: var(--fs-small); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-legal { font-size: .8125rem; line-height: 1.5; color: var(--text-muted); background: var(--surface-alt); padding: var(--sp-4); margin: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--sp-4); border-left: 3px solid var(--sea); background: var(--surface); display: none; }
.form-status.is-visible { display: block; }

.contact-card { background: var(--surface); padding: var(--sp-6); border: 1px solid var(--border); }
.contact-card dl { margin: 0; }
.contact-card dt { font: 500 var(--fs-label)/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--sp-5); }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; }

/* ---------- Prosa (legales) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.75rem; margin-top: var(--sp-7); }
.prose h3 { font-size: 1.3rem; margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin: var(--sp-5) 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; min-width: 120px; }
.notice { border-left: 3px solid var(--accent); background: var(--surface); padding: var(--sp-4) var(--sp-5); font-size: var(--fs-small); }

/* ---------- Footer ---------- */
.footer { background: var(--surface-alt); color: var(--text); padding-block: var(--sp-9) var(--sp-6); font-size: var(--fs-small); }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__grid { display: grid; gap: var(--sp-7) var(--gutter); }
@media (min-width: 40rem) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer h2 { font: 500 var(--fs-label)/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__brand img { width: 72px; margin-bottom: var(--sp-4); }
.footer__brand p { max-width: 34ch; }
.footer__bottom { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; font-size: .8125rem; color: var(--text-muted); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.desist { border: 1px solid var(--accent); padding: 6px 12px; display: inline-block; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 6px 18px rgb(0 0 0 / .18);
}
.wa-float:hover { color: #fff; background: #1EBE5A; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Animación de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card__media img, .card:hover .card__media img { transition: none; transform: none; }
}

.center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0; }
.hr-wave { width: 120px; height: auto; color: var(--wood); margin: 0 auto var(--sp-6); display: block; }
[hidden] { display: none !important; }
.actions--center { justify-content: center; }
.specs caption { text-align: left; caption-side: top; padding-bottom: 8px; }
.todo { background: #FFF1B8; padding: 0 4px; }
.figure { margin: 0; }
.split:has(form) { align-items: start; }

/* Cabecera azul Yale: botón claro y fotos de forma */
.header .btn--outline { color: #fff; border-color: #fff; }
.header .btn--outline:hover { background: #fff; color: var(--accent); border-color: #fff; }
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); list-style: none; padding: 0; margin: var(--sp-7) 0 0; text-align: center; }
.shapes li { background: var(--surface-alt); padding: var(--sp-5) var(--sp-3); }
.shapes img { height: 180px; width: auto; margin: 0 auto var(--sp-3); }
.shapes strong { display: block; color: var(--accent); font: 600 1.25rem/1.2 var(--font-display); }
.shapes span { font-size: .875rem; color: var(--text-muted); }

/* Galería horizontal (hostelería): fotos apaisadas a dos columnas */
.gallery--wide { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .gallery.gallery--wide { grid-template-columns: repeat(2, 1fr); } }
.gallery--wide img { aspect-ratio: 3 / 2; }
