/* Los Manantiales de la Vera — hoja de estilos pública
   Paleta inspirada en el logotipo: verde bosque, crema, tierra y agua. */
:root {
  --forest: #2f4a35;
  --forest-2: #24392a;
  --moss: #6b8a55;
  --cream: #f7f2e8;
  --sand: #ece3d1;
  --paper: #fffdf8;
  --clay: #b4643a;
  --clay-2: #9a522d;
  --water: #3f7d8c;
  --ink: #1e2721;
  --muted: #637064;
  --line: #ddd3bf;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(30, 39, 33, .25);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .18em; }
a:hover { color: var(--clay); }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; color: var(--forest-2); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 980px; }
.center { text-align: center; }
.center-block { margin: 0 auto 2rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.ico { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; flex: none; }
.ico.big { width: 3rem; height: 3rem; color: var(--moss); margin: 0 auto 1rem; display: block; }
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--clay); margin-bottom: .7rem; }
.kicker a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; justify-content: center; padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .15s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-2); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-light { background: var(--paper); color: var(--forest-2); }
.btn-light:hover { background: #fff; color: var(--clay); }
.btn-cta { background: var(--forest); color: #fff; }
.btn-cta:hover { background: var(--clay); color: #fff; }
.btn.block { width: 100%; }
.btn.small { padding: .5em 1em; font-size: .85rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }

/* Aviso superior */
.notice-bar { background: var(--forest-2); color: #e9efe3; font-size: .85rem; text-align: center; padding: .5rem 1rem; display: flex; gap: .5rem; justify-content: center; align-items: center; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 242, 232, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.06); transition: background .3s, box-shadow .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--forest-2); }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--serif); }
.brand-small { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.brand-big { font-size: 1.45rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.nav ul a { display: block; padding: .5rem .75rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--clay); }
.nav ul a[aria-current] { box-shadow: inset 0 -2px 0 var(--clay); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; color: inherit; cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
body.is-home .site-header.over-hero { position: fixed; left: 0; right: 0; }
body.is-home .site-header.over-hero:not(.scrolled) { background: linear-gradient(rgba(0,0,0,.45), transparent); border-color: transparent; backdrop-filter: none; }
body.is-home .site-header.over-hero:not(.scrolled) .brand, body.is-home .site-header.over-hero:not(.scrolled) .nav ul a, body.is-home .site-header.over-hero:not(.scrolled) .nav-toggle { color: #fff; }
.site-header.scrolled { box-shadow: 0 4px 20px -10px rgba(0,0,0,.25); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(85vw, 340px); background: var(--paper); flex-direction: column; align-items: stretch; padding: 5.5rem 1.5rem 2rem; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow); z-index: 50; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; }
  .nav ul a, body.is-home .site-header.over-hero:not(.scrolled) .nav ul a { color: var(--ink); font-size: 1.1rem; padding: .8rem .5rem; border-bottom: 1px solid var(--line); }
  .nav-toggle { position: relative; z-index: 60; }
  .nav-open .nav-toggle { color: var(--ink) !important; }
}

/* Hero portada */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowzoom 30s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,22,.25) 0%, rgba(20,30,22,.15) 40%, rgba(20,30,22,.8) 100%); }
.hero-inner { position: relative; padding: 9rem 0 3rem; }
.hero h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero .kicker { color: #f3d9b5; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; opacity: .95; }
.quick-book { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .6rem; background: rgba(255,253,248,.97); color: var(--ink); padding: .8rem; border-radius: 18px; max-width: 820px; margin: 2rem 0 1.5rem; box-shadow: var(--shadow); }
.quick-book label { min-width: 0; display: flex; flex-direction: column; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .2rem .7rem; border-right: 1px solid var(--line); }
.quick-book label:nth-child(3) { border: 0; }
.quick-book input, .quick-book select { width: 100%; min-width: 0; border: 0; background: transparent; font: 500 1rem var(--sans); color: var(--ink); padding: .25rem 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.hero-facts li { display: flex; gap: .45rem; align-items: center; }
@media (max-width: 760px) {
  .quick-book { grid-template-columns: 1fr 1fr; }
  .quick-book label { border: 0; border-bottom: 1px solid var(--line); }
  .quick-book label:nth-child(3) { grid-column: 1 / -1; }
  .quick-book .btn { grid-column: 1 / -1; }
}

/* Cabecera de página */
.page-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color: #fff; background: var(--forest); overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,22,.15), rgba(20,30,22,.75)); }
.page-hero-inner { position: relative; z-index: 1; padding: 6rem 0 2.5rem; }
.page-hero h1 { color: #fff; margin-bottom: .3rem; }
.page-hero .kicker { color: #f3d9b5; }
.page-hero-sub { font-size: 1.15rem; max-width: 60ch; opacity: .95; margin: 0; }
.page-hero.slim { min-height: 0; }
.page-hero.slim .page-hero-inner { padding: 3.5rem 0 2rem; }

/* Secciones */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.alt { background: var(--sand); }
.section-head { margin-bottom: 2.2rem; max-width: 680px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 1rem; flex-wrap: wrap; }
.section-head p:last-child { color: var(--muted); }
.prose { font-size: 1.05rem; }
.prose .lead { font-size: 1.25rem; font-family: var(--serif); line-height: 1.5; color: var(--forest-2); }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { border-left: 4px solid var(--moss); margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; font-family: var(--serif); font-size: 1.2rem; }
.prose .note { background: #fff4d6; border-left: 4px solid #e2b64a; padding: .7rem 1rem; border-radius: 6px; font-size: .92rem; }
.prose .callout { background: var(--paper); border: 1px solid var(--line); padding: 1rem 1.2rem; border-radius: var(--radius); }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* Intro + collage */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: .8rem; }
.collage a { border-radius: var(--radius); overflow: hidden; display: block; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.collage a:hover img { transform: scale(1.05); }
.collage-0 { grid-row: span 2; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Comodidades */
.amenities-section { background: var(--paper); }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.amenities li { display: flex; gap: 1rem; padding: 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.amenities li.hl { border-color: transparent; background: var(--cream); }
.am-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--forest); color: #fff; display: grid; place-items: center; flex: none; }
.am-ico .ico { width: 24px; height: 24px; }
.amenities strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--forest-2); }
.amenities span { font-size: .92rem; color: var(--muted); }

/* Dormitorios */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.2rem; }
.room { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.room-img { display: block; aspect-ratio: 4/3; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room:hover .room-img img { transform: scale(1.05); }
.room-body { padding: 1rem 1.1rem 1.1rem; }
.room-body h3 { margin-bottom: .3rem; }
.room-body p { margin: 0 0 .25rem; font-size: .93rem; }

/* Banda bosque */
.forest-band { position: relative; color: #fff; padding: clamp(5rem, 12vw, 9rem) 0; overflow: hidden; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,40,28,.88) 0%, rgba(25,40,28,.55) 55%, rgba(25,40,28,.2) 100%); }
.band-inner { position: relative; max-width: var(--wrap); }
.band-inner > * { max-width: 560px; }
.forest-band h2 { color: #fff; }
.forest-band .kicker { color: #f3d9b5; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.3rem; position: relative; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--clay); color: #fff; font: 600 1.15rem var(--serif); margin-bottom: 1rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.gallery.teaser { grid-template-columns: repeat(3, 1fr); }
.gallery.teaser .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.gallery.teaser .g-item:first-child { aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.g-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery.masonry { display: block; columns: 4 240px; column-gap: .7rem; }
.gallery.masonry .g-item { aspect-ratio: auto; margin-bottom: .7rem; break-inside: avoid; }
.g-item[hidden] { display: none !important; }
@media (max-width: 640px) { .gallery.teaser { grid-template-columns: 1fr 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: .5rem 1rem; border-radius: 999px; font: 500 .92rem var(--sans); cursor: pointer; text-decoration: none; }
.chip.active, .chip:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.chip small { opacity: .7; margin-left: .2em; }

/* Vídeos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.videos.single { grid-template-columns: 1fr; margin: 2rem 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .5s; }
.yt:hover img { opacity: .95; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(180,100,58,.92); display: grid; place-items: center; }
.yt-play .ico { width: 26px; height: 26px; margin-left: 4px; }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; text-align: left; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fauna { background: var(--forest-2); color: #e7eee2; }
.fauna h2 { color: #fff; }
.fauna .section-head p:last-child { color: #bccbb6; }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 3/2; overflow: hidden; display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-body h3, .card-body .h3 { margin-bottom: .4rem; }
.card-body h3 a, .card-body .h3 a { text-decoration: none; color: var(--forest-2); }
.card-body p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }
.tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--moss); font-weight: 700; margin-bottom: .4rem; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pager a, .pager span { padding: .4rem .85rem; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.pager .current { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Dos columnas y fichas */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.facts-card { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); position: sticky; top: 100px; }
.facts-card.green { background: var(--forest); color: #e9efe3; border: 0; }
.facts-card.green h3 { color: #fff; }
.facts-card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.facts-card li { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.facts-card.green li { border-color: rgba(255,255,255,.15); }
.facts-card li:last-child { border: 0; }
.facts-card li .ico { color: var(--clay); margin-top: .2em; }
.facts-card.green li .ico { color: #f3d9b5; }

/* Ubicación */
.location { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.distances { list-style: none; padding: 0; }
.distances li { padding: .4rem 0; display: flex; gap: .6rem; align-items: center; }
.distances .ico { color: var(--clay); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }

/* Formularios */
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; font-size: .92rem; margin-bottom: 1rem; }
.form input, .form select, .form textarea { font: 1rem var(--sans); padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(107,138,85,.2); }
.form .check { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; }
.form .check input { width: auto; margin-top: .3rem; accent-color: var(--forest); }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem .3rem; margin: 0 0 1.2rem; }
.form legend { font-weight: 600; padding: 0 .4rem; font-family: var(--serif); font-size: 1.1rem; color: var(--forest-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .8rem 1rem; border-radius: 10px; background: #fff4d6; border: 1px solid #ecd28f; margin-bottom: 1rem; }
.alert.err { background: #fde8e4; border-color: #f0b3a6; color: #8a2a15; }
.paused, .success-box { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 2rem; }
.paused.inline { text-align: left; display: flex; gap: 1.2rem; padding: 1.5rem; margin-bottom: 2rem; align-items: flex-start; }
.paused.inline .ico.big { margin: 0; width: 2.4rem; height: 2.4rem; }
.success-box .ico.big { color: var(--moss); }
.success-box.wide { max-width: 760px; margin: 0 auto; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--sand); padding: .1em .4em; border-radius: 6px; }
.info-box { display: flex; gap: 1rem; background: #e8f0ec; border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; font-size: .95rem; }
.info-box .ico { width: 1.8rem; height: 1.8rem; color: var(--water); }
.info-box p { margin: 0; }

/* Reserva y calendario */
.book-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } }
.book-form { background: var(--paper); padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); position: sticky; top: 100px; }
.calendar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.cal-nav { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.cal-nav button { background: var(--paper); border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; cursor: pointer; color: var(--forest); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-month { background: var(--paper); border-radius: var(--radius); padding: 1rem; border: 1px solid var(--line); }
.cal-month h3 { font-size: 1.05rem; text-align: center; margin-bottom: .6rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: .88rem; }
.cal-grid .dow { font-size: .72rem; color: var(--muted); font-weight: 600; padding-bottom: .3rem; }
.cal-day { aspect-ratio: 1; border: 0; background: #eef3ea; border-radius: 8px; font: inherit; cursor: pointer; color: var(--ink); padding: 0; }
.cal-day:hover:not(:disabled) { background: var(--moss); color: #fff; }
.cal-day.busy { background: repeating-linear-gradient(135deg, #efe6d8, #efe6d8 4px, #e4d7c3 4px, #e4d7c3 8px); color: #a99d8a; text-decoration: line-through; cursor: not-allowed; }
.cal-day.past { background: transparent; color: #c5bfb3; cursor: default; }
.cal-day.in { background: #cddcc2; }
.cal-day.start, .cal-day.end { background: var(--forest); color: #fff; }
.legend { font-size: .85rem; color: var(--muted); display: flex; gap: .4rem 1rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: .3rem; }
.lg.free { background: #eef3ea; box-shadow: inset 0 0 0 1px #c9d6c0; } .lg.busy { background: #e4d7c3; } .lg.sel { background: var(--forest); }
.quote { background: var(--cream); border-radius: 10px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; font-size: .95rem; }
.quote table { width: 100%; border-collapse: collapse; }
.quote td { padding: .25rem 0; }
.quote td:last-child { text-align: right; }
.quote .total td { border-top: 1px solid var(--line); font-weight: 700; padding-top: .5rem; font-size: 1.05rem; }
.quote .ok { color: var(--moss); font-weight: 600; }
.quote .ko { color: #a33d22; font-weight: 600; }

/* Check-in */
.booking-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; background: var(--forest); color: #fff; padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.booking-summary span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.traveler { position: relative; background: var(--paper); }
.tr-remove { position: absolute; top: .6rem; right: .6rem; background: none; border: 0; color: #a33d22; cursor: pointer; padding: .3rem; }
.traveler:not(.is-minor) .minor-only { display: none; }
.traveler.is-young .doc-fields label:not(.minor-only) { opacity: .55; }
.sig-wrap { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; margin-bottom: 1rem; }
#sig { width: 100%; max-width: 600px; height: 180px; background: #fff; border: 1.5px dashed var(--line); border-radius: 10px; touch-action: none; }

/* Embed escape room */
.embed-facade { text-align: center; padding: 3rem 1.5rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); max-width: 760px; margin: 0 auto; }
.embed-facade .ico { width: 3rem; height: 3rem; color: var(--clay); }
.embed-frame { width: 100%; height: 80vh; border: 0; border-radius: var(--radius); background: #fff; }

/* Pie */
.site-footer { background: var(--forest-2); color: #cfd9cb; padding: 4rem 0 0; font-size: .95rem; }
.site-footer a { color: #e9efe3; text-decoration: none; }
.site-footer a:hover { color: #f3d9b5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand { font: 600 1.5rem var(--serif); color: #fff; margin-bottom: .5rem; }
.footer-title { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .25rem 0; }
.footer-links a { display: inline-flex; gap: .5rem; align-items: center; }
.footer-addr { display: flex; gap: .5rem; align-items: flex-start; }
.license { font-size: .85rem; margin-bottom: .3rem; }
.site-footer .muted { color: #9fb09a; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.3rem 0; font-size: .85rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Visor de imágenes */
.lightbox { position: fixed; inset: 0; background: rgba(12,16,13,.95); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #ddd; margin-top: .8rem; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: 1rem; } .lb-next { right: 1rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .notice-bar, .quick-book { display: none !important; } body { background: #fff; } }
