/* Bricolage Grotesque (SIL OFL), hospedada no próprio site: sem chamada ao Google a cada visita (privacidade e velocidade). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/bricolage-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/bricolage-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Viva la Finca — tokens en DIRECTION.md */
:root {
  --cal: #fdfdfb;
  --basalto: #1f1d1b;
  --gris: #57514c;
  --linea: #e4e0db;
  --buganvilla: #b3155c;
  --buganvilla-osc: #8a0f46;
  --rosa-claro: #fbe9f0;
  --confirmar: #fff1a8;

  --t-display: clamp(2.5rem, 1.35rem + 4.4vw, 5.4rem);
  --t-h2: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --t-h3: 1.375rem;
  --t-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-meta: .8125rem;

  --r: 3px;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(64px, 8vw, 112px);
  --max: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cal); color: var(--basalto);
  font: 400 var(--t-body)/1.6 "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -.01em; line-height: 1.2; margin-bottom: 12px; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--buganvilla); outline-offset: 3px; border-radius: 2px; }

.saltar { position: absolute; left: 12px; top: -60px; background: var(--basalto); color: #fff; padding: 10px 14px; z-index: 10; }
.saltar:focus { top: 12px; }

mark.confirmar {
  background: var(--confirmar); color: #3b3000; font-weight: 600; font-size: .86em;
  padding: .05em .4em; border-radius: 2px; white-space: nowrap; letter-spacing: 0;
}

/* Botones: madera pintada, esquinas casi rectas */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 20px; white-space: nowrap; border: 2px solid var(--buganvilla); border-radius: var(--r);
  background: var(--buganvilla); color: #fff; font-family: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--buganvilla-osc); border-color: var(--buganvilla-osc); }
.btn-2 { background: transparent; color: var(--buganvilla); }
.btn-2:hover { background: var(--rosa-claro); color: var(--buganvilla-osc); }
.enlace { color: var(--buganvilla); font-weight: 700; text-underline-offset: 4px; }

/* Cabecera */
.top {
  display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: 12px var(--pad);
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; margin-right: auto; }
.marca img { width: 48px; height: 48px; }
.secciones { display: flex; gap: 4px 22px; }
.secciones a, .idiomas a { text-decoration: none; font-weight: 600; font-size: var(--t-small); padding: 8px 0; min-height: 24px; }
.secciones a:hover { color: var(--buganvilla); }
.idiomas { display: flex; gap: 2px; }
.idiomas a { padding: 6px 8px; border-radius: var(--r); color: var(--gris); }
.idiomas a[aria-current] { background: var(--basalto); color: #fff; }
.idiomas a:hover:not([aria-current]) { color: var(--buganvilla); }

/* Hero: la ventana */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--pad) var(--sec);
  display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
}
.hero h1 { font-size: var(--t-display); line-height: .98; letter-spacing: -.04em; margin-bottom: 22px; }
.sub { font-size: var(--t-lead); color: var(--gris); max-width: 36ch; margin-bottom: 30px; }
.accion { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.precio-corto { font-size: 1.0625rem; }
.precio-corto b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-vol a { color: var(--buganvilla); font-weight: 700; text-underline-offset: 4px; }

.ventana {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border: clamp(10px, 1.2vw, 16px) solid var(--buganvilla); border-radius: var(--r);
  background: #1d4f6b;
}
.ventana img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.contraventanas { position: absolute; inset: 0; display: flex; pointer-events: none; }
.contraventanas i {
  flex: 1; background: var(--buganvilla-osc);
  background-image: repeating-linear-gradient(180deg, transparent 0 22px, rgba(0,0,0,.16) 22px 24px);
  transform-origin: left center; animation: abrir 1.6s cubic-bezier(.6, 0, .2, 1) .45s forwards;
  border-right: 3px solid #5e0a30;
}
.contraventanas i + i { transform-origin: right center; border-right: 0; border-left: 3px solid #5e0a30; }
@keyframes abrir { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .contraventanas { display: none; } }

/* Secciones comunes */
section { scroll-margin-top: 12px; }
.finca, .refugio, .huevos, .contacto, .legal { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) var(--sec); }
.dos-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; margin-bottom: 40px; }
.prosa p, .lead { max-width: 62ch; }
.lead { font-size: var(--t-lead); }

/* Animales */
.h-animales { margin-top: 8px; }
.animales { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.animales figure, .galeria figure, .casita figure { margin: 0; }
.animales img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--r); }
figcaption { font-size: var(--t-small); color: var(--gris); margin-top: 8px; line-height: 1.35; }

/* La finca en vídeo: sala oscura de basalto, pantalla con marco de ventana */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cine { background: var(--basalto); color: #f2efea; padding: var(--sec) 0; margin-bottom: var(--sec); }
.cine-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.cine-cab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; margin-bottom: 40px; }
.cine .lead { color: #e6e1db; max-width: 52ch; }
.cine :focus-visible { outline-color: #fff; }
.cine-sala { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pantalla { width: min(400px, calc(min(78vh, 720px) * 9 / 16 + 28px)); }
.pantalla-marco { border: clamp(10px, 1.2vw, 14px) solid var(--buganvilla); border-radius: var(--r); background: #000; aspect-ratio: 9 / 16; overflow: hidden; position: relative; }
.pantalla-marco img, .pantalla-marco video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pantalla-marco video { object-fit: contain; background: #000; }
.pantalla-play { display: block; height: 100%; position: relative; }
.play-ico {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  display: grid; place-items: center; background: var(--buganvilla); border-radius: 50%;
  transition: transform .2s cubic-bezier(.6, 0, .2, 1), background-color .2s;
}
.play-ico svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.cine .pantalla-play:focus-visible { outline: 4px solid #fff; outline-offset: -8px; }
.pantalla-play:focus-visible .play-ico { background: var(--buganvilla-osc); box-shadow: 0 0 0 4px #fff; }
.pantalla-play:hover .play-ico { transform: scale(1.08); background: var(--buganvilla-osc); }
.pantalla-tit { margin: 14px 0 0; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }

.clips { list-style: none; margin: 0; padding: 0; border-top: 1px solid #4a4541; counter-reset: c; }
.clips a {
  display: grid; grid-template-columns: 2.4em 40px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 10px 12px 10px 0; border-bottom: 1px solid #4a4541; text-decoration: none; color: #f2efea; position: relative;
}
.clips img { width: 40px; height: 71px; object-fit: cover; border-radius: 2px; }
.clip-n { font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; color: #a59d95; font-variant-numeric: tabular-nums; text-align: right; }
.clip-t { font-weight: 600; line-height: 1.3; }
.clip-ok { display: block; margin-top: 4px; font-weight: 400; }
.clip-d { color: #cfc9c2; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.clips a:hover .clip-t { text-decoration: underline; text-underline-offset: 4px; }
.clips a[aria-current] { background: #2c2926; }
.clips a[aria-current]::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 6px; background: var(--buganvilla); border-radius: 1px; }
.clips a[aria-current] .clip-n { color: #fff; }
.cine-ig { margin: 28px 0 64px; }
.cine .enlace { color: #fff; }

/* Fotos: listones de contraventana que se abren al pasar */
.h-fotos { margin-bottom: 18px; }
.listones { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; height: clamp(360px, 46vw, 560px); }
.listones li { flex: 1 1 0; min-width: 0; transition: flex-grow .6s cubic-bezier(.6, 0, .2, 1); }
.listones li:first-child { flex-grow: 3.4; }
.listones:hover li:first-child { flex-grow: 1; }
.listones:hover li:hover { flex-grow: 3.4; }
.listones figure { margin: 0; height: 100%; position: relative; overflow: hidden; border-radius: var(--r); }
.listones img { width: 100%; height: 100%; object-fit: cover; }
.listones figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; width: max-content; max-width: calc(100% - 20px);
  margin: 0; padding: 6px 10px; background: var(--basalto); color: #f2efea; font-size: var(--t-small); border-radius: 2px;
  opacity: 0; transition: opacity .3s;
}
.listones li:first-child figcaption { opacity: 1; }
.listones:hover li:first-child figcaption { opacity: 0; }
.listones:hover li:hover figcaption { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .listones li, .listones figcaption, .play-ico { transition: none; } }

/* Refugio */
.galeria { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-bottom: 56px; }
.galeria img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.galeria .g0 { grid-row: span 2; display: flex; flex-direction: column; }
.galeria .g0 img { flex: 1; min-height: 0; aspect-ratio: auto; }
.galeria .g5 img { aspect-ratio: 4 / 3; }
.galeria .g6 { grid-column: span 2; }
.galeria .g6 img { aspect-ratio: 4 / 3; }

.ficha { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 5fr); gap: 40px; padding: 36px 0 48px; border-top: 2px solid var(--basalto); }
.precio { display: flex; flex-direction: column; gap: 2px; }
.precio-lbl { font-weight: 600; color: var(--gris); }
.precio-num { font-size: clamp(2.2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; overflow-wrap: break-word; hyphens: auto; color: var(--buganvilla); font-variant-numeric: tabular-nums; }
.precio-sem { margin-top: 10px; }
.incluye { list-style: none; margin: 0; padding: 0; }
.incluye li { padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid var(--linea); }
.incluye li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 9px; background: var(--buganvilla); border-radius: 1px; }
.tabla { margin: 0; }
.tabla > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linea); }
.tabla dt { font-weight: 600; }
.tabla dd { margin: 0; }

.reserva { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.calendario { margin-top: 8px; border: 2px dashed #c9b88a; border-radius: var(--r); background: #fffbea; padding: 24px; min-height: 260px; display: flex; align-items: center; }
.calendario .cal-falta { margin: 0; max-width: 46ch; }
.calendario.con-calendario { border: 1px solid var(--linea); background: #fff; padding: 0; display: block; }
.calendario iframe { width: 100%; height: 460px; border: 0; display: block; }

/* Formularios */
.pedido { background: #fff; border: 1px solid var(--linea); border-top: 6px solid var(--buganvilla); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.pedido .nota { color: var(--gris); font-size: var(--t-small); }
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.campo { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.campo label { font-weight: 600; font-size: var(--t-small); }
.campo input, .campo select, .campo textarea {
  font: inherit; font-size: 1rem; color: var(--basalto); background: #fff;
  border: 1.5px solid #a8a19a; border-radius: var(--r); padding: 11px 12px; min-height: 48px; width: 100%;
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 3px solid var(--buganvilla); outline-offset: 0; border-color: var(--buganvilla); }
.revisado :invalid { border-color: #c0392b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-small); margin: 6px 0 18px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--buganvilla); }
.botones { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.estado { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.estado.es-err { color: #a3241a; }
.estado.es-ok { color: #1f6b3a; }

/* Voluntariado: campo buganvilla */
.voluntariado { background: var(--buganvilla); color: #fff; padding: var(--sec) 0; margin-bottom: var(--sec); }
.vol-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.voluntariado .lead { color: #fff; }
.vol-dos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-bottom: 56px; }
.voluntariado .incluye li, .voluntariado .tabla > div { border-color: rgba(255,255,255,.28); }
.voluntariado .incluye li::before { background: #fff; }
.casita { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 56px; }
.casita img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid #fff; border-radius: var(--r); }
.voluntariado figcaption { color: #fff; }
.voluntariado .pedido { color: var(--basalto); max-width: 760px; border-top-color: var(--basalto); }
.voluntariado :focus-visible { outline-color: #fff; }
.voluntariado .pedido :focus-visible { outline-color: var(--buganvilla); }

/* Huevos: el puesto */
.huevos { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.huevos-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.huevos-fotos img { width: 100%; border-radius: var(--r); object-fit: cover; aspect-ratio: 1 / 1; }
.huevos-fotos img:first-child { grid-column: span 2; aspect-ratio: 16 / 11; }
.huevos h2 { margin-bottom: 20px; }
.lista-puesto { list-style: none; margin: 0 0 22px; padding: 0; border-top: 2px solid var(--basalto); }
.lista-puesto li { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.lista-puesto b { font-weight: 700; }
.lista-puesto span { color: var(--gris); }

/* Contacto */
.contacto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(28px, 5vw, 80px); align-items: start; }
.contacto h2 { margin-bottom: 18px; }
.contacto-lista dd a { color: var(--buganvilla); font-weight: 700; text-decoration: none; word-break: break-word; }
.contacto-lista dd a:hover { text-decoration: underline; }
.contacto-lista > div { padding: 14px 0; font-size: 1.125rem; }

/* Pie */
.pie { background: var(--basalto); color: #f2efea; }
.pie-in { max-width: var(--max); margin: 0 auto; padding: 40px var(--pad) 48px; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; }
.pie p { margin: 0; }
.pie-marca { font-weight: 800; font-size: 1.25rem; margin-right: auto !important; line-height: 1.3; }
.pie-marca span { font-weight: 400; font-size: var(--t-small); color: #cfc9c2; }
.pie .idiomas a { color: #cfc9c2; }
.pie .idiomas a[aria-current] { background: #f2efea; color: var(--basalto); }
.pie-fotos { font-size: var(--t-meta); color: #cfc9c2; }

/* Página legal */
.legal { max-width: 820px; padding-top: 24px; }
.legal h1 { font-size: var(--t-h2); margin-bottom: 18px; }
.legal h2 { font-size: 1.375rem; letter-spacing: -.01em; margin: 34px 0 10px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal .nota { color: var(--gris); }

/* Portátiles con pantalla baja (Windows 150 %): la acción tiene que verse sin bajar */
@media (min-width: 761px) and (max-height: 780px) {
  .hero { padding-top: 4px; align-items: start; }
  .hero h1 { font-size: clamp(2.4rem, 8vh, 4.4rem); margin-bottom: 14px; }
  .sub { font-size: 1.0625rem; margin-bottom: 18px; }
  .ventana { aspect-ratio: auto; height: calc(100vh - 104px); min-height: 360px; }
}

/* Tablet */
@media (max-width: 1020px) {
  .ficha { grid-template-columns: 1fr 1fr; }
  .ficha .precio { grid-column: span 2; }
  .reserva { grid-template-columns: 1fr; }
  .animales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Móvil */
@media (max-width: 760px) {
  .top { padding-top: 10px; padding-bottom: 6px; }
  .marca img { width: 40px; height: 40px; }
  .secciones { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; scrollbar-width: none; }
  .secciones a { white-space: nowrap; }
  .hero { grid-template-columns: 1fr; padding-top: 6px; gap: 22px; }
  .ventana { order: -1; aspect-ratio: 5 / 4; }
  .sub { margin-bottom: 22px; }
  .dos-col, .vol-dos, .huevos, .contacto { grid-template-columns: 1fr; }
  .dos-col { margin-bottom: 28px; }
  .animales { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; scrollbar-width: thin; }
  .animales li { flex: 0 0 68%; scroll-snap-align: start; }
  .galeria { grid-template-columns: 1fr 1fr; gap: 10px; }
  .galeria .g0 { grid-column: span 2; grid-row: auto; }
  .galeria .g0 img { aspect-ratio: 4 / 4.4; height: auto; flex: none; }
  .galeria .g6 { grid-column: span 2; }
  .ficha { grid-template-columns: 1fr; gap: 32px; }
  .ficha .precio { grid-column: auto; }
  .rejilla { grid-template-columns: 1fr; }
  .botones .btn { width: 100%; }
  .casita { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); gap: 12px; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; }
  .casita figure { flex: 0 0 70%; scroll-snap-align: start; }
  .huevos-fotos { order: 2; }
  .cine-cab { grid-template-columns: 1fr; margin-bottom: 28px; }
  .cine-sala { grid-template-columns: 1fr; gap: 28px; }
  .pantalla { width: min(100%, calc(72svh * 9 / 16 + 20px)); margin: 0 auto; }
  .clips a { grid-template-columns: 2em 34px minmax(0, 1fr) auto; gap: 12px; padding-right: 4px; }
  .clips img { width: 34px; height: 60px; }
  .clips a[aria-current]::before { left: calc(-1 * var(--pad)); }
  .cine-ig { margin-bottom: 48px; }
  .listones { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; }
  .listones li, .listones li:first-child, .listones:hover li:first-child, .listones:hover li:hover { flex: 0 0 64%; scroll-snap-align: start; }
  .listones figure { height: auto; }
  .listones img { height: auto; aspect-ratio: 9 / 14; }
  .listones figcaption, .listones li:first-child figcaption, .listones:hover li:first-child figcaption, .listones:hover li:hover figcaption { position: static; opacity: 1; background: none; padding: 8px 0 0; color: #cfc9c2; width: auto; max-width: none; }
  .tabla > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
  .calendario { min-height: 180px; padding: 18px; }
}

/* Preguntas frecuentes */
.faq { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) var(--sec); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; }
.faq-lista { border-top: 2px solid var(--basalto); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.125rem; padding: 16px 40px 16px 0; position: relative; min-height: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--buganvilla); border-bottom: 2.5px solid var(--buganvilla); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--buganvilla); }
.faq details p { margin: 0 0 18px; max-width: 62ch; color: var(--gris); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* Claudio, el personaje (09/11) */
.claudio { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) var(--sec); }
.cla-cabeza { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cla-fotos { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; align-items: end; }
.cla-fotos figure { margin: 0; min-width: 0; }
.cla-foto { position: relative; }
.cla-fotos img { width: 100%; height: auto; display: block; border-radius: var(--r); }
.cla-foto img { border: 10px solid var(--buganvilla); }
.cla-sello { position: absolute; left: -8px; bottom: -16px; margin: 0; background: var(--basalto); color: var(--cal); padding: 10px 14px; border-radius: var(--r); display: grid; line-height: 1.1; }
.cla-sello b { font-size: 1.8rem; font-weight: 800; }
.cla-sello span { font-size: .8125rem; }
.cla-txt { min-width: 0; }
.cla-txt .eyebrow { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin: 0 0 8px; }
.vivavoz { margin-top: clamp(48px, 7vw, 88px); border-top: 10px solid var(--buganvilla); padding-top: 28px; }
.vivavoz h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; margin: 0 0 8px; }
.vivavoz h4 { font-size: 1.125rem; margin: 28px 0 12px; }
.vv-hechos { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 20px 0; }
.vv-hechos div { display: grid; }
.vv-hechos dt { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--buganvilla); line-height: 1; font-variant-numeric: tabular-nums; }
.vv-hechos dd { margin: 4px 0 0; color: var(--gris); }
.vv-pilares { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.vv-pilares li { border-left: 4px solid var(--buganvilla); padding: 4px 0 4px 14px; display: grid; gap: 4px; }
.vv-clases { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 24px; }
.vv-clases li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(31,29,27,.14); }
.vv-clases .n { font-weight: 800; color: var(--buganvilla); font-variant-numeric: tabular-nums; min-width: 2ch; }
@media (max-width: 760px) {
  .cla-cabeza { grid-template-columns: 1fr; }
}

.cla-show { margin-top: clamp(40px, 6vw, 72px); background: var(--basalto); color: var(--cal); border-radius: var(--r); padding: clamp(22px, 4vw, 40px); }
.cla-show h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 10px; }
.cla-show ul { display: grid; gap: 6px; padding-left: 1.2em; margin: 14px 0 20px; }
.cla-show p { max-width: 62ch; }

/* Dos alojamientos (09/11) */
.opciones { margin: 8px 0 28px; }
.opciones h3 { margin: 0 0 12px; }
.op-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.op { border: 2px solid var(--buganvilla); border-radius: var(--r); padding: 16px 18px; min-width: 0; }
.op h4 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; color: var(--buganvilla); }
.op p { margin: 0; }
.opciones .nota { margin-top: 12px; }

.op-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.op-fotos figure { margin: 0; min-width: 0; }
.op-fotos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); display: block; }
.op-fotos figcaption { font-size: .8125rem; color: var(--gris); margin-top: 4px; }

/* Alojamientos con mosaico (09/11, pedido del Sergio: como la galería) */
.alojamientos { margin: 8px 0 56px; }
.alojamientos > h3 { margin: 0 0 18px; }
.aloj { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 44px); align-items: start; padding: 28px 0; border-top: 1px solid var(--linea); }
.aloj-txt h4 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--buganvilla); line-height: 1.1; }
.aloj-txt p { margin: 0 0 12px; }
.aloj-txt .aloj-lista { margin-top: 18px; }
.aloj-rosa { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.aloj-rosa .aloj-txt { order: 2; }
.aloj-rosa .mosaico { order: 1; }
.mosaico { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mosaico figure { margin: 0; min-width: 0; }
.mosaico img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); display: block; }
.mosaico .m-big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.mosaico .m-big img { flex: 1; min-height: 0; aspect-ratio: auto; }
.mosaico .m-wide { grid-column: span 2; }
.mosaico .m-wide img { aspect-ratio: 16 / 9; }
.mosaico figcaption { font-size: .8125rem; color: var(--gris); margin-top: 5px; }
.aloj-nota { margin-top: 4px; }
@media (max-width: 760px) {
  .aloj, .aloj-rosa { grid-template-columns: 1fr; }
  .aloj-rosa .aloj-txt { order: 0; }
  .mosaico { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mosaico .m-big { grid-column: span 2; grid-row: auto; }
  .mosaico .m-big img { aspect-ratio: 4 / 3.4; flex: none; }
}

/* Botón flotante de WhatsApp: solo en el móvil */
.wa-flota{display:none}
@media (max-width:760px){
  .wa-flota{display:inline-flex;align-items:center;gap:.45rem;position:fixed;right:16px;bottom:16px;z-index:50;
    padding:.75rem 1.05rem;min-height:48px;border-radius:999px;background:#1f7a4d;color:#fff;font-weight:700;
    text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.25)}
  .wa-flota:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #1f7a4d}
  .pie{padding-bottom:88px}
  .wa-flota{transition:opacity .2s,transform .2s}
  .wa-flota.oculto{opacity:0;transform:translateY(12px);pointer-events:none;visibility:hidden}
}
@media (prefers-reduced-motion:reduce){.wa-flota{transition:none}}
@media print{.wa-flota{display:none}}

/* Fotos del voluntariado, bajo "Qué harás" */
.vol-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.vol-fotos figure { margin: 0; }
.vol-fotos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.vol-fotos figcaption { font-size: .875rem; margin-top: 6px; opacity: .9; }

/* Vídeo del Al Cafone Show: miniatura propia; YouTube solo carga al tocar */
.yt-show { margin: 24px 0; max-width: 640px; }
.yt-show .yt, .yt-show iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); overflow: hidden; background: #000; }
.yt-show img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-show figcaption { font-size: .875rem; margin-top: 6px; color: inherit; opacity: .9; }
.yt:focus-visible { outline: 4px solid var(--buganvilla); outline-offset: 3px; }
.yt:hover .play-ico, .yt:focus-visible .play-ico { transform: scale(1.06); }

/* Guía gratis Viva Voz */
.guia { margin-top: 36px; padding: clamp(20px, 3vw, 32px); border: 2px solid var(--buganvilla); border-radius: var(--r); max-width: 720px; }
.guia h4 { margin: 0 0 10px; color: var(--buganvilla); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; }
.guia-form .campo { max-width: 420px; }
.guia-form .estado:empty { display: none; }

/* Grupos del FAQ */
.faq-grupo { grid-column: 1 / -1; margin: 28px 0 4px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--buganvilla); }
.faq-grupo:first-child { margin-top: 0; }

/* Blog */
.blog-mini { margin: 8px 0 12px; padding-left: 1.1em; display: grid; gap: 8px; }
.blog-lista { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; margin: 28px 0; }
.blog-item a { text-decoration: none; color: inherit; display: block; }
.blog-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.blog-item h2 { font-size: 1.2rem; line-height: 1.2; margin: 12px 0 6px; color: var(--buganvilla); }
.blog-item p { margin: 0; font-size: .95rem; }
.blog-foto { margin: 20px 0 28px; }
.blog-foto img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--r); }
.blog-post h2 { margin-top: 32px; }

/* ¿Cómo está Viva la Finca hoy? + contador de seguidores */
.ig-hoy { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linea); max-width: 520px; }
.ig-hoy-botoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 8px; }
.btn-ig { background: linear-gradient(90deg, #b3155c, #8a0f46); }
.ig-hoy-sub { margin: 0 0 12px; font-size: .95rem; }
.ig-contador p { margin: 0; }
.ig-num { font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--buganvilla); }
.ig-barra { height: 8px; border-radius: 99px; background: var(--linea); overflow: hidden; margin: 8px 0 4px; }
.ig-barra i { display: block; height: 100%; background: var(--buganvilla); border-radius: 99px; }
.ig-meta, .ig-nota { font-size: .8125rem; opacity: .8; }
.ig-nota { margin-top: 8px; }

/* Menú del móvil (☰): solo en pantallas estrechas */
.menu-movil { display: none; }
@media (max-width: 760px) {
  .top { position: relative; flex-wrap: nowrap; }
  .top > .secciones, .top > .idiomas { display: none; }
  .menu-movil { display: block; }
  .menu-movil > summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    min-height: 44px; padding: 8px 14px; border: 2px solid var(--basalto); border-radius: 999px; font-weight: 700; }
  .menu-movil > summary::-webkit-details-marker { display: none; }
  .menu-movil > summary:focus-visible { outline: 3px solid var(--buganvilla); outline-offset: 2px; }
  .hamb { display: grid; gap: 4px; width: 18px; }
  .hamb i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-movil[open] .hamb i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-movil[open] .hamb i:nth-child(2) { opacity: 0; }
  .menu-movil[open] .hamb i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-fechar, .menu-movil[open] .menu-abrir { display: none; }
  .menu-movil[open] .menu-fechar { display: inline; }
  .menu-painel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--cal, #fdfdfb);
    padding: 8px var(--pad) 20px; box-shadow: 0 18px 30px rgba(0,0,0,.18); max-height: calc(100vh - 80px); overflow-y: auto; }
  .menu-lista { list-style: none; margin: 0; padding: 0; }
  .menu-lista a { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--linea); text-decoration: none; color: inherit; }
  .menu-lista b { font-size: 1.125rem; }
  .menu-lista span { font-size: .875rem; color: var(--gris); }
  .menu-lista a:hover b, .menu-lista a:focus-visible b { color: var(--buganvilla); }
  .menu-idioma { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 12px; }
  .menu-idioma > span { font-size: .875rem; color: var(--gris); }
  .menu-idioma .idiomas, .menu-idioma a { display: inline-flex; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .hamb i { transition: none; } }
@media (max-width: 760px) {
  .menu-idioma a { text-decoration: none; font-weight: 600; padding: 6px 10px; border-radius: var(--r); color: var(--gris); min-height: 32px; align-items: center; }
  .menu-idioma a[aria-current] { background: var(--basalto); color: #fff; }
}

/* Bandeirinhas nos idiomas */
.band { display: inline-block; vertical-align: -1px; margin-right: 5px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.idiomas a, .menu-idioma a { display: inline-flex; align-items: center; }
/* iPhone: os campos de data têm largura mínima própria e saíam da caixa */
.campo input, .campo select, .campo textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.campo input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 48px; line-height: 1.3; }
.campo input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.rejilla > * { min-width: 0; }

/* FAQ: "ver todas" desplegable */
.faq-mais { border-bottom: 0 !important; margin-top: 12px; }
.faq-mais > summary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px !important; border: 2px solid var(--basalto);
  border-radius: 999px; font-size: 1rem !important; margin: 8px 0 4px; }
.faq-mais > summary::after { display: none !important; }
.faq-mais[open] > summary { background: var(--basalto); color: #fff; }

/* Bloque de Instagram dentro de "Quiénes somos" */
.finca .ig-hoy { max-width: var(--max); margin: 8px auto 28px; padding: 22px var(--pad) 0; }
.finca .ig-hoy > * { max-width: 560px; }

.vol-reel { display: grid; gap: 6px; justify-items: start; margin: 22px 0 4px; }
.vol-reel span { font-size: .875rem; opacity: .9; }
.voluntariado .btn-ig { background: #fff; color: var(--buganvilla); }
.voluntariado .btn-ig:hover { background: #fbe9f1; }
.vol-reel .btn { white-space: normal; max-width: 100%; text-align: left; }
.vol-dos > div { min-width: 0; }
.voluntariado .enlace, .voluntariado dd a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
