/* ==========================================================================
   Hôtel Edouard VI — Paris Montparnasse
   Hoja de estilo única del sitio (sitio 100% estático)
   Orden: 1) tokens  2) reset  3) tipografía  4) layout  5) componentes
          6) páginas  7) utilidades  8) responsive  9) impresión
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS DE DISEÑO
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --c-brand: #8c1d2b;
  --c-brand-dark: #6d1421;
  --c-brand-soft: #f6ecec;
  --c-gold: #b08d4f;
  --c-gold-soft: #f6f0e4;
  --c-ink: #1b1f23;
  --c-ink-2: #454c54;
  --c-ink-3: #6b7480;
  --c-line: #e4ddd1;
  --c-line-soft: #f0ebe2;
  --c-bg: #fbf9f5;
  --c-surface: #ffffff;
  --c-surface-2: #f5f1e9;
  --c-footer: #20252b;
  --c-footer-2: #2b3138;

  /* Tipografía */
  --f-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", sans-serif;

  /* Espaciado y forma */
  --w-page: 1140px;
  --w-read: 68ch;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --gap: 28px;
  --sect: clamp(48px, 7vw, 88px);
  --shadow-sm: 0 1px 2px rgba(27, 31, 35, .06), 0 2px 8px rgba(27, 31, 35, .05);
  --shadow-md: 0 6px 24px rgba(27, 31, 35, .09);
  --ring: 0 0 0 3px rgba(140, 29, 43, .32);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink-2);
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.6vw, 17px);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg,
iframe { max-width: 100%; }

img { height: auto; display: block; }

figure { margin: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: 40px 0;
}

:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--c-brand); color: #fff; }

/* --------------------------------------------------------------------------
   3. TIPOGRAFÍA
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-serif);
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 .55em;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.35rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--c-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--c-brand-dark); }

strong, b { color: var(--c-ink); font-weight: 650; }

small { font-size: .86rem; }

ul, ol { padding-left: 1.25em; }
li { margin-bottom: .45em; }
li::marker { color: var(--c-gold); }

blockquote {
  margin: 0 0 24px;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--c-gold);
  font-family: var(--f-serif);
  font-size: 1.14rem;
  font-style: italic;
  color: var(--c-ink);
}
blockquote cite {
  display: block;
  margin-top: 8px;
  font: 500 .84rem/1.5 var(--f-sans);
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

address { font-style: normal; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.container--read { max-width: 820px; }

.section { padding-block: var(--sect); }
.section--tight { padding-block: clamp(32px, 4vw, 52px); }
.section--paper { background: var(--c-surface); }
.section--soft { background: var(--c-surface-2); }
.section--brand {
  background: linear-gradient(160deg, var(--c-brand-dark), var(--c-brand) 55%, #a52636);
  color: #f7ecec;
}
.section--brand h2,
.section--brand h3 { color: #fff; }
.section--brand a { color: #ffd9a8; }

.section__head {
  max-width: 660px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}
.section__head p {
  color: var(--c-ink-3);
  font-size: 1.03rem;
  margin-bottom: 0;
}
.section--brand .section__head p { color: #f0d8d8; }

.eyebrow {
  display: block;
  margin-bottom: 10px;
  font: 600 .74rem/1 var(--f-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.section--brand .eyebrow { color: #f0c98a; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--c-brand);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   5. COMPONENTES
   -------------------------------------------------------------------------- */

/* --- Cabecera ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding-block: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: var(--c-ink);
  text-decoration: none;
}
.brand:hover { color: var(--c-brand); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font: 600 1rem/1 var(--f-serif);
  letter-spacing: .02em;
}

.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font: 600 1.02rem/1.2 var(--f-serif);
  letter-spacing: .01em;
}
.brand__tag {
  font: 500 .68rem/1.3 var(--f-sans);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }

.nav__link {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 500;
  color: var(--c-ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { background: var(--c-brand-soft); color: var(--c-brand); }
.nav__link[aria-current="page"] {
  color: var(--c-brand);
  font-weight: 650;
  background: var(--c-brand-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  font: 600 .88rem/1 var(--f-sans);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 18px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-brand);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.header-cta:hover { background: var(--c-brand-dark); color: #fff; }

/* --- Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .95rem/1.2 var(--f-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--c-brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-brand-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: var(--c-line);
  color: var(--c-ink);
}
.btn--ghost:hover { border-color: var(--c-brand); color: var(--c-brand); background: var(--c-surface); }

.btn--onBrand {
  background: #fff;
  color: var(--c-brand-dark);
}
.btn--onBrand:hover { background: #fdeee3; color: var(--c-brand-dark); }

.btn--wide { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn-row--center { justify-content: center; }

/* --- Migas de pan -------------------------------------------------------- */
.breadcrumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--c-line-soft);
  background: var(--c-surface);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .82rem;
  color: var(--c-ink-3);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: "/"; color: var(--c-line); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(430px, 62vh, 620px);
  padding-block: clamp(48px, 7vw, 84px);
  background: #2a2f36;
  color: #fff;
  overflow: hidden;
}
.hero--short { min-height: clamp(280px, 38vh, 400px); }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Las fotografías originales del sitio son de 2004 y algunas no llegan a
   200 px de ancho. Ampliadas a pantalla completa se verían pixeladas, así que
   esas páginas llevan un fondo suavemente desenfocado: el resultado se lee
   como un fondo fuera de foco intencionado y el texto mantiene el contraste.
   Solo se aplica a partir de 700 px de ancho de ventana, porque en móvil esas
   mismas imágenes se muestran a su tamaño o reducidas y se ven nítidas. */
@media (min-width: 700px) {
  .hero--blur .hero__media img {
    filter: blur(7px) saturate(1.08);
    transform: scale(1.12);
  }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(24, 20, 20, .86) 0%,
    rgba(24, 20, 20, .68) 46%,
    rgba(24, 20, 20, .38) 100%
  );
}

.hero__inner { position: relative; z-index: 1; max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero p {
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  color: rgba(255, 255, 255, .9);
  max-width: 56ch;
}
.hero .eyebrow { color: #f0c98a; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: rgba(255, 255, 255, .88);
}
.hero__facts li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__facts li::before {
  content: "★";
  color: var(--c-gold);
  font-size: .78rem;
}
.hero--short .hero__facts { display: none; }

/* --- Rejillas ------------------------------------------------------------ */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.grid--split-rev > *:first-child { order: 2; }

/* --- Tarjetas ------------------------------------------------------------ */
.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .95rem; }

.card--flush { padding: 0; overflow: hidden; }
.card--flush .card__body { padding: 24px 26px 26px; }
.card--flush .card__media { aspect-ratio: 4 / 3; }
.card--flush .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--c-gold-soft);
  color: var(--c-brand);
  font-size: 1.25rem;
  line-height: 1;
}

.card__meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: .84rem;
  color: var(--c-ink-3);
}

.card--accent { border-top: 3px solid var(--c-gold); }

/* Enlace con flecha */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* --- Lista de datos (ficha) --------------------------------------------- */
.factlist {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
}
.factlist li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  margin: 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.factlist li:last-child { border-bottom: 0; }
.factlist__k {
  flex: 0 0 42%;
  font-weight: 600;
  color: var(--c-ink);
}
.factlist__v { flex: 1 1 auto; }

/* --- Tablas -------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
caption {
  padding: 16px 18px 4px;
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-ink);
  text-align: left;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line-soft);
}
thead th {
  background: var(--c-surface-2);
  font: 600 .78rem/1.4 var(--f-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fdfbf7; }
td .price {
  font-family: var(--f-serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--c-brand);
  white-space: nowrap;
}

/* --- Avisos -------------------------------------------------------------- */
.notice {
  padding: 16px 20px;
  border-radius: var(--r-md);
  border-left: 4px solid var(--c-gold);
  background: var(--c-gold-soft);
  font-size: .92rem;
  color: var(--c-ink-2);
}
.notice--info { border-left-color: #2f6f8f; background: #eef5f8; }
.notice--warn { border-left-color: var(--c-brand); background: var(--c-brand-soft); }
.notice strong { color: var(--c-ink); }
.notice p { margin-bottom: .5em; }

/* --- Formularios --------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; }
.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-ink);
}
.field .hint { font-size: .8rem; color: var(--c-ink-3); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  font: inherit;
  font-size: .95rem;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--c-brand);
  outline: none;
  box-shadow: var(--ring);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.form__status {
  font-size: .9rem;
  color: var(--c-ink-3);
}

/* --- Galería ------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gallery figure {
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery img:hover { transform: scale(1.03); }
.gallery figcaption {
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--c-ink-3);
}

/* --- Destacados de atracciones ------------------------------------------ */
.spot {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.spot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.spot h3 { margin-bottom: .35em; }
.spot p { font-size: .93rem; margin-bottom: .6em; }
.spot dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: .84rem;
  color: var(--c-ink-3);
}
.spot dt { font-weight: 600; color: var(--c-ink-2); }
.spot dd { margin: 0; }

/* --- Itinerario --------------------------------------------------------- */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.timeline > li {
  position: relative;
  padding: 0 0 30px 62px;
  margin: 0;
  counter-increment: step;
}
.timeline > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font: 600 1rem/1 var(--f-serif);
}
.timeline > li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 6px;
  width: 1px;
  background: var(--c-line);
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::after { display: none; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { font-size: .95rem; }

/* --- Preguntas frecuentes ------------------------------------------------ */
.faq { display: grid; gap: 10px; max-width: var(--w-read); margin-inline: auto; }
.faq details {
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details[open] { border-color: var(--c-line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font: 600 1rem/1.45 var(--f-sans);
  color: var(--c-ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  font: 400 1.35rem/1 var(--f-serif);
  color: var(--c-gold);
  text-align: center;
}
.faq details[open] summary::before { content: "–"; }
.faq summary:hover { color: var(--c-brand); }
.faq .faq__body {
  padding: 0 20px 20px 54px;
  font-size: .95rem;
}
.faq .faq__body > :last-child { margin-bottom: 0; }

/* --- CTA ----------------------------------------------------------------- */
.cta {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
}
.section--brand .cta {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}
.cta h2 { margin-bottom: .3em; }
.cta p { margin-bottom: 0; }

/* --- Pie de página ------------------------------------------------------- */
.site-footer {
  margin-top: 0;
  padding-top: clamp(44px, 6vw, 68px);
  background: var(--c-footer);
  color: #b9c0c8;
  font-size: .93rem;
}
.site-footer a { color: #e6e9ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  padding-bottom: 40px;
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
  font: 600 .8rem/1.4 var(--f-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer li::marker { content: none; }

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: #fff;
}
.site-footer__brand .brand__mark { background: var(--c-brand); }

.site-footer__note {
  max-width: 34ch;
  color: #98a1aa;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid var(--c-footer-2);
  font-size: .84rem;
  color: #8b949d;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* --- Volver arriba ------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------------------
   6. AJUSTES POR PÁGINA
   -------------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(30px, 4vw, 46px) clamp(20px, 3vw, 30px);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line-soft);
}
.page-head h1 { margin-bottom: .35em; }
.page-head__lede {
  max-width: var(--w-read);
  font-size: 1.06rem;
  color: var(--c-ink-2);
  margin-bottom: 0;
}

.prose { max-width: var(--w-read); }
.prose h2 { margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.prose figcaption {
  margin-top: 10px;
  font-size: .85rem;
  color: var(--c-ink-3);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
  font-size: .92rem;
}

.related { margin-top: clamp(40px, 5vw, 64px); }
.related h2 { text-align: center; }
.related .grid { margin-top: 26px; }

.room-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.room-nav li { margin: 0; }
.room-nav a {
  display: block;
  padding: 7px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: .86rem;
  text-decoration: none;
  background: var(--c-surface);
}
.room-nav a[aria-current="page"] {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
  font-weight: 600;
}

.map-frame {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.map-frame img { width: 100%; }

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li { display: flex; gap: 12px; margin: 0; }
.contact-list__icon {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  font-size: .95rem;
}

/* --------------------------------------------------------------------------
   7. UTILIDADES
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 26px; }
.mt-5 { margin-top: 40px; }
.lead { font-size: 1.08rem; color: var(--c-ink-2); }
.muted { color: var(--c-ink-3); }
.text-left { text-align: left; }
.gap-md { gap: 18px; }

/* Botones y tarjetas sobre fondo oscuro o de marca */
.btn--onDark {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn--onDark:hover {
  background: #fff;
  border-color: #fff;
  color: var(--c-brand-dark);
}

.card--onBrand {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
}

.card--onBrand h2,
.card--onBrand h3 {
  color: #fff;
  font-size: 1.05rem;
}

.card--onBrand p {
  color: #f2dede;
  font-size: .9rem;
}

/* Escala tipográfica de apoyo para encabezados dentro de componentes */
.h-xs { font-size: 1.05rem; }
.h-sm { font-size: 1.15rem; }
.h-md { font-size: 1.25rem; }
.h-lg { font-size: 1.30rem; }
.h-xl { font-size: 1.35rem; }

/* Medios y bloques */
.media-16x10 { aspect-ratio: 16 / 10; }
.section--flush { padding-block: clamp(56px, 9vw, 110px); }
.fieldset-reset { border: 0; padding: 0; margin: 0; }

/* --------------------------------------------------------------------------
   8. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__list { gap: 0; }
  .nav__link { padding: 9px 9px; font-size: .89rem; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 940px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
  .grid--split-rev > *:first-child { order: 0; }
  .cta { grid-template-columns: minmax(0, 1fr); }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 14px clamp(18px, 4vw, 32px) 24px;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 12px 12px; font-size: 1rem; border-radius: var(--r-sm); }
  .header-cta { display: none; }
  .site-header__inner { position: relative; }
}

@media (max-width: 720px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .spot { grid-template-columns: minmax(0, 1fr); }
  .spot img { aspect-ratio: 16 / 10; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero { min-height: auto; }
  .hero__media img { object-position: 55% center; }
  .factlist li { flex-direction: column; gap: 2px; }
  .factlist__k { flex-basis: auto; }
  th, td { padding: 12px 14px; }
  .timeline > li { padding-left: 52px; }
  .timeline > li::before { width: 34px; height: 34px; font-size: .9rem; }
  .timeline > li::after { left: 16px; top: 40px; }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .brand__tag { display: none; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .form__actions { flex-direction: column; align-items: stretch; }
}

/* Accesibilidad: movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .gallery img:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   9. IMPRESIÓN
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .breadcrumbs,
  .cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .hero { min-height: auto; color: #000; background: none; }
  .hero__media { display: none; }
  .hero h1, .hero p { color: #000; }
  .card, .spot, .table-wrap { box-shadow: none; border: 1px solid #ccc; }
  a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
