/* SJ Puerta de Redes · estilos
   Identidad heredada de la web anterior: crema, marrón tierra, verde bosque,
   Cormorant Garamond para títulos e Inter para texto. */

@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --cream: #F8F5F2;
  --cream-2: #F1ECE6;
  --paper: #FFFFFF;
  --ink: #372C25;
  --ink-deep: #2B221C;
  --muted: #6B5E55;          /* 5,6:1 sobre crema */
  --green: #49795D;          /* botón principal: 5,0:1 con blanco */
  --green-dark: #3B6550;
  --line: rgba(55, 44, 37, .14);
  --on-dark: #F8F5F2;
  --on-dark-muted: rgba(248, 245, 242, .78);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(43, 34, 28, .05), 0 8px 24px rgba(43, 34, 28, .07);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.65 var(--sans); text-rendering: optimizeLegibility; -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(--green-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--cream); }
main:focus { outline: none; }

/* ── tipografía ── */
h1, h2, h3, .h3 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.badge-num, .contact-big, .footer__name { font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
h3, .h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow { font: 500 .75rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .9rem; }
.eyebrow--light { color: rgba(255, 255, 255, .9); }
.center { text-align: center; }
.center.wrap--narrow, .wrap--narrow.center { margin-inline: auto; }

/* ── layout ── */
.wrap { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.wrap--mid { width: min(100% - 2.5rem, 900px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section--alt { background: var(--cream-2); }
.sub-block { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.rounded { border-radius: var(--radius-lg); }

/* ── botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent; font: 500 .82rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease); touch-action: manipulation; }
.btn:active { transform: scale(.98); }
.btn .ico { width: 18px; height: 18px; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-deep); color: var(--cream); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; }
.ico { width: 22px; height: 22px; flex: none; }

/* ── cabecera ── */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(248, 245, 242, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.site-header__in { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 40px; height: 40px; }
.brand__txt { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font: 500 1.35rem/1.1 var(--serif); white-space: nowrap; }
.brand__tag { font: 500 .6rem/1.3 var(--sans); letter-spacing: .16em; color: var(--muted); white-space: nowrap; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .9rem; padding-block: .5rem; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { border-color: currentColor; color: var(--green-dark); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.lang { display: flex; align-items: center; gap: .4rem; font-size: .8rem; letter-spacing: .08em; }
.lang a { text-decoration: none; padding: .4rem .2rem; opacity: .7; }
.lang a:hover { opacity: 1; }
.lang__cur { font-weight: 600; }
.header__cta { min-height: 42px; padding: .6rem 1.2rem; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 0; margin-right: -10px; }
.menu-btn .ico--x { display: none; }

/* cabecera transparente sobre la foto de portada */
.site-header.is-overlay { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; color: #fff; }
.site-header.is-overlay .brand__tag { color: rgba(255, 255, 255, .8); }
.site-header.is-overlay .nav a[aria-current="page"] { color: #fff; }
.site-header.is-overlay .header__cta { background: rgba(255, 255, 255, .95); color: var(--ink); }
.site-header.is-overlay.is-solid { background: rgba(248, 245, 242, .97); border-color: var(--line); color: var(--ink); backdrop-filter: saturate(1.2) blur(8px); }
.site-header.is-overlay.is-solid .brand__tag { color: var(--muted); }
.site-header.is-overlay.is-solid .nav a[aria-current="page"] { color: var(--green-dark); }
.site-header.is-overlay.is-solid .header__cta { background: var(--ink); color: var(--cream); }

@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: .95rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green-dark) !important; font-weight: 500; }
  .lang { padding-top: 1rem; font-size: .95rem; }
  .menu-btn[aria-expanded="true"] .ico--menu { display: none; }
  .menu-btn[aria-expanded="true"] .ico--x { display: block; }
  .site-header.is-overlay.menu-open { background: var(--cream); color: var(--ink); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .brand__name { font-size: 1.2rem; }
  .brand__tag { font-size: .55rem; letter-spacing: .12em; }
}

/* ── portada ── */
.hero { position: relative; min-height: min(92svh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; background: #2d3a2f; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .55) 0%, rgba(20, 16, 12, .15) 35%, rgba(20, 16, 12, .6) 100%); }
.hero__content { position: relative; text-align: center; padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 8vh, 6rem); max-width: 860px; }
.hero__h1 { color: #fff; font-size: clamp(2.6rem, 1.7rem + 4.5vw, 4.75rem); line-height: 1.05; }
.hero__p { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255, 255, 255, .92); max-width: 640px; margin-inline: auto; }

/* ── formulario de fechas ── */
.booking { display: grid; gap: .9rem; }
.booking__field { display: grid; gap: .35rem; }
.booking__field label { font: 500 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.booking input[type="date"] { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 400 1rem var(--sans); }
.booking input[type="date"]:focus-visible { outline-offset: 1px; border-color: var(--green); }
.booking__btn { width: 100%; }
.booking__err { grid-column: 1 / -1; margin: 0; color: #9A2B1E; font-size: .9rem; }
.booking__note { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--muted); }
.booking-band { background: var(--cream-2); border-bottom: 1px solid var(--line); padding-block: 1.4rem; }
@media (min-width: 720px) {
  .booking--band, .booking--card { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .booking__btn { width: auto; min-width: 220px; }
}
.booking--card { background: var(--paper); padding: 1.25rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.panel .booking--card { box-shadow: none; padding: 0; }

/* ── tarjetas ── */
.cards { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.cards--services { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.6rem; text-align: center; }
.card p { color: var(--muted); margin: 0; }
.card--left { text-align: left; }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(73, 121, 93, .1); color: var(--green-dark); margin-bottom: 1.1rem; }

/* ── bloques imagen + texto ── */
.split { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 5.5rem); }
  .split--flip .split__media { order: 2; }
}
.split--block + .split--block { margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-home .split__media img { aspect-ratio: 4 / 5; }
.split__text > :last-child { margin-bottom: 0; }
.split__text .btn { margin-top: .75rem; }
.badge-num { position: absolute; right: -8px; bottom: 24px; margin: 0; background: var(--green); color: #fff; border-radius: var(--radius-lg); padding: .9rem 1.2rem; font-size: .9rem; box-shadow: var(--shadow); }
.badge-num strong { display: block; font: 500 2.2rem/1 var(--serif); }

/* ── galerías ── */
.gallery { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .gallery--3 li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.gallery__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--cream-2); border-radius: var(--radius); overflow: hidden; }
.gallery__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery--4 .gallery__btn img { aspect-ratio: 3 / 4; }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(248, 245, 242, .9); color: var(--ink); opacity: 0; transition: opacity .2s var(--ease); }
.gallery__zoom .ico { width: 18px; height: 18px; }
@media (hover: hover) { .gallery__btn:hover img { transform: scale(1.03); } .gallery__btn:hover .gallery__zoom { opacity: 1; } }
.gallery__btn:focus-visible .gallery__zoom { opacity: 1; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 16, 12, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 16, 12, .6); }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; padding: 4.5rem 1rem 2rem; max-width: 100%; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 78dvh; width: auto; border-radius: var(--radius); }
.lightbox figcaption { font-size: .9rem; color: rgba(255, 255, 255, .85); text-align: center; max-width: 60ch; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } }

/* ── cierre de portada ── */
.cta-final { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--ink); }
.cta-final__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-final__veil { position: absolute; inset: 0; background: rgba(28, 22, 18, .6); }
.cta-final__in { position: relative; padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; margin-bottom: 1.75rem; }

/* ── cabecera de página interior ── */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); text-align: center; }
.page-head .lead { margin-inline: auto; max-width: 62ch; }
.page-head--404 { padding-block: 7rem; }

/* ── habitaciones ── */
.section--rooms { padding-top: 1rem; }
.room { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); border-top: 1px solid var(--line); }
.room:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .room { grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 4vw, 4.5rem); align-items: start; }
  .room--flip .room__media { order: 2; }
  .room__media { position: sticky; top: calc(var(--header-h) + 24px); }
}
.room__media { position: relative; }
.gallery--room { margin: 0; grid-template-columns: 1fr 1fr; }
.gallery--room .is-main { grid-column: 1 / -1; }
.gallery--room .is-main img { aspect-ratio: 4 / 5; }
.gallery--room li:only-child img { aspect-ratio: 4 / 5; }
.room__badge { position: absolute; top: 14px; left: 14px; margin: 0; background: rgba(248, 245, 242, .95); color: var(--ink); font: 500 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .6rem .8rem; border-radius: 999px; }
.room__body h2 { margin-bottom: .2rem; }
.room__specs { list-style: none; padding: 0; margin: .25rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }
.room__specs li { display: flex; align-items: center; gap: .45rem; }
.room__specs .ico { width: 19px; height: 19px; color: var(--green-dark); }
.room__lists { display: grid; gap: 1.5rem; margin: 1.5rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
@media (min-width: 560px) { .room__lists { grid-template-columns: 1.15fr 1fr; } }
.h-list { font: 500 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .93rem; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.45; }
.checks .ico { width: 17px; height: 17px; margin-top: .15rem; color: var(--green); }
.checks--muted .ico { color: var(--muted); }
.room__times { font-size: .9rem; color: var(--muted); }
.more { margin-bottom: 1rem; }
.more summary { cursor: pointer; list-style: none; display: inline-flex; min-height: 44px; align-items: center; font: 500 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); text-decoration: underline; text-underline-offset: .25em; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { order: 2; }
.more[open] { display: flex; flex-direction: column; }
.note { display: flex; gap: .7rem; align-items: flex-start; background: var(--cream-2); border-radius: var(--radius); padding: 1rem 1.1rem; font-size: .9rem; color: var(--ink); }
.note .ico { color: var(--green-dark); margin-top: .1rem; }
.note--center { justify-content: center; text-align: left; max-width: 720px; margin: 2rem auto 0; }

/* ── reservas y contacto ── */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.contact-big { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; font: 500 1.35rem/1.3 var(--serif); }
.contact-big a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.contact-big .ico { color: var(--green-dark); }
.contact { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }
.form__row { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.form label { font-size: .88rem; font-weight: 500; }
.form input:not([type="checkbox"]), .form textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); font: 400 1rem var(--sans); color: var(--ink); }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: #9A2B1E; }
.form__err { margin: 0; color: #9A2B1E; font-size: .85rem; }
.form__check { grid-template-columns: auto 1fr; align-items: start; column-gap: .65rem; }
.form__check input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--green); }
.form__check label { font-weight: 400; }
.form__check .form__err { grid-column: 1 / -1; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.form__legal { font-size: .75rem; color: var(--muted); line-height: 1.55; margin: 0; }
.info { margin: 1.25rem 0 0; display: grid; gap: 1.1rem; }
.info dt { display: flex; align-items: center; gap: .55rem; font: 500 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info dt .ico { width: 18px; height: 18px; color: var(--green-dark); }
.info dd { margin: .3rem 0 0 calc(18px + .55rem); }
.map { margin: 2rem 0 1.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ── legales ── */
.prose { font-size: 1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35rem; }
.prose a { word-break: break-word; }

/* ── pie ── */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: .92rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; }
.site-footer .linklike { color: var(--on-dark); font-size: inherit; }
.footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.footer__brand img { width: 48px; height: 48px; margin-bottom: .9rem; filter: brightness(1.6); }
.footer__name { font: 500 1.5rem/1.1 var(--serif); color: var(--on-dark); margin-bottom: .3rem; }
.footer__cat { font-size: .68rem; letter-spacing: .16em; margin-bottom: 1rem; }
.footer__h { font: 500 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1rem; }
.footer__sig { margin-top: 1rem; }
.footer__sig strong { color: var(--on-dark); letter-spacing: .04em; }
.footer__cofin { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid rgba(248, 245, 242, .14); text-align: center; }
.footer__cofin-t { font-size: .7rem; letter-spacing: .2em; margin-bottom: .9rem; }
.footer__cofin img { margin-inline: auto; width: 100%; max-width: 1024px; height: auto; background: #fff; border-radius: 4px; padding: 8px 12px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(248, 245, 242, .14); font-size: .8rem; }
.footer__bottom p { margin: 0; }

/* ── barra fija en móvil ── */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(248, 245, 242, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(43, 34, 28, .08); transform: translateY(0); transition: transform .25s var(--ease); }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar__call { display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-size: .85rem; font-weight: 500; }
  .mobile-bar__call .ico { width: 18px; height: 18px; color: var(--green-dark); }
  .mobile-bar__book { width: 100%; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ── aviso de cookies (solo si hay medición activada) ── */
.cookie { position: fixed; inset: auto 0 0 0; z-index: 60; padding: 1rem; }
.cookie__in { max-width: 920px; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(43, 34, 28, .18); padding: 1.25rem 1.4rem; font-size: .9rem; }
.cookie__in p { margin-bottom: .9rem; }
.cookie__prefs { display: grid; gap: .5rem; margin-bottom: 1rem; }
.cookie__prefs label { display: flex; gap: .55rem; align-items: center; min-height: 36px; }
.cookie__prefs input { width: 20px; height: 20px; accent-color: var(--green); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cookie__btns .btn { min-height: 44px; padding: .6rem 1.1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
