/* ==========================================================================
   Cocinas Vistahermosa · Carpintería y reformas
   Estilo editorial, cálido y limpio. Fuentes alojadas en local (sin Google Fonts).
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #F7F4EF;
  --sand: #EEE8DF;
  --stone: #E3DCD1;
  --ink: #1E1D1B;
  --ink-2: #3A3732;
  --muted: #69635A;
  --line: #DAD2C6;
  --wood: #8A5A3B;
  --wood-dark: #6E452C;
  --wa: #1FA855;
  --white: #FFFFFF;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--wood); }
p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 1.6rem + 6vw, 6.4rem); }
h2 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); }
h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
::selection { background: var(--stone); }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 9vw, 140px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #EDE8E0; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: #B9B1A5; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.65; color: var(--ink-2); font-weight: 300; }
.section--dark .lead { color: #D7D0C5; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--ink);
  font: 500 .95rem/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--wood-dark); border-color: var(--wood-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--line-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--line-light:hover { background: var(--white); color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; } }
/* En móvil los botones ocupan todo el ancho: la columna queda equilibrada y son más fáciles de pulsar */
@media (max-width: 560px) { .row > .btn { flex: 1 1 100%; } }
.form, .contact > * { min-width: 0; }

/* ---------- Cabecera ---------- */
/* El desenfoque va en ::before: si lo lleva la cabecera, el menú móvil (fixed) queda atrapado dentro de ella */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 244, 239, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-scrolled::before { background: rgba(247, 244, 239, .97); }
.header__inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 600; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; }
.brand__tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; list-style: none; padding: 0; }
.nav__list a { text-decoration: none; font-size: .95rem; letter-spacing: .02em; padding: 8px 0; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { min-height: 46px; padding: 0 22px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper); flex-direction: column; align-items: stretch; gap: 28px; padding: 24px var(--gutter) 40px; display: none; overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 2rem; }
  .nav__list a::after { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand__tag { display: none; } .brand img { width: 42px; height: 42px; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 72px) clamp(72px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 30px; }
.hero h1 em { color: var(--wood); }
.hero__note { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.hero__note a { color: var(--ink); font-weight: 500; }
/* WhatsApp (carpintería / reformas) */
.wa { display: flex; flex-direction: column; gap: 10px; margin-top: -6px; }
.wa__label { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.wa__label .icon { color: var(--wa); }
.wa__links { display: flex; flex-wrap: wrap; gap: 10px; }
.wa__link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .95rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.wa__link strong { font-weight: 500; margin-right: 8px; }
.wa__link:hover, .wa__link:focus-visible { border-color: var(--wa); box-shadow: 0 0 0 3px rgba(31, 168, 85, .14); }
.wa__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); flex: none; }
@media (max-width: 560px) { .wa__link { flex: 1 1 100%; justify-content: center; } }
.contact__wa { display: flex; flex-direction: column; gap: 8px; }
.contact__wa a { display: inline-flex; align-items: center; gap: 10px; }
/* Icono oficial de WhatsApp: img/whatsapp.svg (o .png). Si no está, se ve el punto verde. */
.wa__icon { width: 22px; height: 22px; flex: none; object-fit: contain; }
.wa__icon--sm { width: 20px; height: 20px; }
.wa__icon + .wa__dot { display: none; }
.hero__media { position: relative; }
.hero__img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; left: clamp(-40px, -3vw, -16px); bottom: 36px; max-width: 280px; padding: 18px 22px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(30, 29, 27, .14); }
.hero__caption span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero__caption strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__caption { left: 16px; bottom: 16px; }
}

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__list { list-style: none; padding-block: 0; margin-block: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts__list li { display: flex; align-items: center; gap: 14px; padding: 26px 24px; font-size: 1rem; }
.facts__list li + li { border-left: 1px solid var(--line); }
.facts__list .icon { width: 26px; height: 26px; color: var(--wood); }
@media (max-width: 800px) { .facts__list { grid-template-columns: 1fr; } .facts__list li + li { border-left: 0; border-top: 1px solid var(--line); } .facts__list li { padding: 18px 0; } }

/* ---------- Cabeceras de sección ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head__title { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* ---------- Servicios ---------- */
.services { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 40px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background-color .3s; }
.service__num { font-family: var(--serif); font-size: 1.4rem; color: var(--wood); }
.service h3 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); }
.service p { color: var(--muted); max-width: 560px; }
@media (max-width: 1000px) { .service { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 24px; } .service p { grid-column: 2; } }
@media (max-width: 600px) { .service { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; } .service p { grid-column: auto; } }

/* ---------- Proyectos ---------- */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.project { grid-column: span 6; display: flex; flex-direction: column; gap: 18px; }
.project__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; border-radius: var(--radius); }
.project__img { display: block; }
.project--wide { grid-column: span 12; }
.project--small { grid-column: span 5; }
.project--tall { grid-column: span 7; }
.project__img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); aspect-ratio: 4 / 5; }
.project--wide .project__img { aspect-ratio: 16 / 9; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project__open:hover .project__img img, .project__open:focus-visible .project__img img { transform: scale(1.035); }
.project__count { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(247, 244, 239, .92); font-size: .85rem; font-weight: 500; }
.project__meta { display: flex; flex-direction: column; gap: 6px; }
.project__meta h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.project__meta p { color: var(--muted); max-width: 560px; }
.project-cta { grid-column: span 7; align-self: center; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 56px); background: var(--paper); border-radius: var(--radius); }
.project-cta__title { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); line-height: 1.08; }
@media (max-width: 860px) { .project, .project--small, .project--tall, .project-cta { grid-column: span 12; } .project--wide .project__img { aspect-ratio: 4 / 5; } }

/* Galería (lightbox) */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 19, 17, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(20, 19, 17, .9); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--gutter); }
.lightbox__title { font-family: var(--serif); font-size: 1.6rem; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__bottom { padding: 16px var(--gutter) 22px; text-align: center; color: #BDB5A9; font-size: .95rem; }
.lb-btn { width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .25s; }
.lb-btn:hover { background: rgba(255,255,255,.12); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 640px) { .lightbox__stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -70px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } .lightbox__bottom { padding: 86px var(--gutter) 24px; } }

/* ---------- Detalles / consejos ---------- */
.tips { display: flex; flex-wrap: wrap; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.tip { flex: 1 1 220px; background: var(--ink); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.tip__num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: #C69C7C; }
.tip h3 { font-size: 1.6rem; }
.tip p { color: #CFC8BD; font-size: 1rem; }
.budget { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 64px; align-items: start; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255,255,255,.18); }
.budget h3 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); }
.budget p { color: #D7D0C5; }
@media (max-width: 860px) { .budget { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process__img { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.process__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.stack { display: flex; flex-direction: column; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 40px 72px; }
.steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 0; top: -4px; font-family: var(--serif); font-size: 2rem; color: var(--wood); }
.steps li::after { content: ""; position: absolute; left: 18px; top: 46px; bottom: 6px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.7rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process__img { position: relative; top: 0; aspect-ratio: 4 / 3; } }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.25; padding-left: 24px; border-left: 1px solid var(--wood); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__img { aspect-ratio: 4 / 3; } }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.insta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.insta__grid a { aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--stone); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.insta__grid a:hover img { transform: scale(1.05); opacity: .9; }
@media (max-width: 860px) { .insta { grid-template-columns: 1fr; } .insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__list .label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.contact__list a, .contact__list address { font-style: normal; font-size: 1.15rem; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact__list li { grid-template-columns: 1fr; gap: 4px; } }
.form { position: relative; display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 48px); background: var(--white); border-radius: var(--radius); }
.form h3 { font-size: 2rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; transition: border-color .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field [aria-invalid="true"] { border-bottom-color: #A33A2A; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.check input[aria-invalid="true"] { outline: 2px solid #A33A2A; outline-offset: 2px; }
.form__status { font-size: .95rem; color: #A33A2A; min-height: 1.4em; }
.form__status.is-ok { color: #2F6B3A; padding: 14px 16px; background: #EEF5EE; border-left: 2px solid #2F6B3A; }
.form__hint { margin-top: -8px; font-size: .88rem; color: var(--muted); }
.form button[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.map { position: relative; margin-top: 32px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-align: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
.map__consent { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; max-width: 360px; }
.map__consent .icon { width: 36px; height: 36px; color: var(--wood); }
.map__consent small { color: var(--muted); }
.map.is-loaded .map__consent { display: none; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: #CFC8BD; padding-block: 72px 36px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer .brand { color: var(--white); }
.footer .brand__tag { color: #A9A196; }
.footer__claim { font-family: var(--serif); font-size: 2rem; line-height: 1.15; color: var(--white); margin-top: 24px; max-width: 420px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #A9A196; font-weight: 500; margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: .88rem; color: #A9A196; }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }

/* Botón flotante de llamada (móvil) */
.call-fab { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 500; box-shadow: 0 14px 30px rgba(30, 29, 27, .3); }
.call-fab:hover { color: var(--white); background: var(--wood-dark); }
@media (max-width: 760px) { .call-fab { display: inline-flex; } }

/* Páginas legales */
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.legal h1 { font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); margin-bottom: 16px; }
.legal h2 { font-size: 1.8rem; margin-top: 24px; }
.legal ul { padding-left: 1.2em; }
.legal .note { padding: 16px 20px; background: var(--sand); border-left: 2px solid var(--wood); font-size: .95rem; }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
