:root {
  color-scheme: light;
  --verde: #183e32;
  --tinta: #202d26;
  --texto: #4d5d52;
  --papel: #faf9f3;
  --linea: #d8dcd1;
  --palma: #efcf8e;
  --serif: "Iowan Old Style", "Sitka Text", Georgia, serif;
  font: 100%/1.5 "Segoe UI", Arial, sans-serif;
  color: var(--tinta);
  background: var(--papel);
}
* { box-sizing: border-box; }
body, figure, dl, dd, h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid #a44e21; outline-offset: 4px; }
[hidden] { display: none !important; }
.contenedor { width: min(94%, 82rem); margin-inline: auto; }
.cabecera, nav, footer { display: flex; align-items: center; justify-content: space-between; }
.cabecera { min-height: 5.5rem; gap: 1rem; }
nav { gap: 1.6rem; }
nav a { font-size: .95rem; text-underline-offset: .35em; text-decoration-thickness: 1px; }
nav .enlace-dueno { text-decoration: none; border: 1px solid #9faea1; padding: .5rem .95rem; border-radius: 3rem; }
.portada { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); background: var(--verde); color: var(--papel); }
.portada-texto { padding: clamp(2rem, 4.1vw, 4.25rem); align-self: center; }
.lugar { font-size: .8rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.portada .lugar { color: var(--palma); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4.3rem, 7.2vw, 7.3rem); line-height: .94; letter-spacing: -.07em; margin: 1.6rem 0 1.35rem; }
h1 em { font-weight: 400; color: var(--palma); }
.bajada { max-width: 30ch; font-size: 1.04rem; line-height: 1.55; margin-bottom: 1.6rem; color: #eef1e2; }
.portada figure { min-width: 0; position: relative; min-height: 23rem; }
.portada img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 57%; position: absolute; inset: 0; }
figcaption { position: absolute; right: .8rem; bottom: .8rem; color: white; background: #14291ed9; padding: .2rem .55rem; border-radius: .2rem; font-size: .78rem; }
.boton { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid transparent; background: var(--verde); color: white; border-radius: .45rem; padding: .72rem 1.2rem; font-size: 1rem; font-weight: 600; text-decoration: none; min-height: 2.9rem; }
.boton:hover { background: #285642; }
.claro { background: var(--palma); color: var(--verde); }
.claro:hover { background: #f7e0af; }
.borde { background: transparent; color: var(--verde); border-color: var(--verde); }
.borde:hover { background: #eef1e6; }
.ancho { width: 100%; }
h2 { font-size: clamp(2.1rem, 3.7vw, 3.7rem); line-height: 1.08; letter-spacing: -.055em; }
.busqueda { border-bottom: 1px solid var(--linea); padding: 2.3rem clamp(.25rem, 3vw, 3rem) 1.7rem; scroll-margin: 1rem; }
.busqueda h2 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); margin-bottom: 1.2rem; }
#filtros { display: grid; grid-template-columns: 1fr .8fr 1fr auto; align-items: end; gap: 1rem; }
label { display: block; font-size: .9rem; font-weight: 600; min-width: 0; }
input, textarea { width: 100%; min-width: 0; background: #fffefa; border: 1px solid #a5b0a5; border-radius: .35rem; padding: .6rem .75rem; color: var(--tinta); font-size: 1rem; }
input { height: 2.95rem; margin-top: .35rem; }
.aclaracion, #aviso-copia { color: var(--texto); font-size: .89rem; }
.busqueda .aclaracion { margin-top: .65rem; }
.ficha { padding: 2.4rem clamp(.25rem, 3vw, 3rem) 3.5rem; scroll-margin: 1rem; }
.estado:empty { display: none; }
.estado { margin-bottom: 1rem; color: var(--verde); font-weight: 600; }
#tarjeta { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.9fr); gap: clamp(2rem,6vw,6.5rem); }
.descripcion .lugar { color: #745234; margin-bottom: .9rem; }
.descripcion>p:not(.lugar) { max-width: 48ch; margin-top: 1.15rem; }
.foto-quinta { display: block; width: 100%; height: auto; aspect-ratio: 2.7; object-fit: cover; margin-top: 1.05rem; border-radius: .25rem; }
.comodidades { padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.comodidades li { border: 1px solid var(--linea); border-radius: 2rem; padding: .3rem .75rem; color: var(--verde); font-size: .9rem; }
.tarifa { border: 1px solid var(--linea); background: #f0f2e9; padding: 1.4rem; border-radius: .45rem; }
h3 { font-size: 1.55rem; line-height: 1.2; }
dl { margin: 1rem 0; font-size: .94rem; }
dl>div { display: flex; gap: .75rem; justify-content: space-between; padding-block: .28rem; }
dd { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.total { margin-top: .35rem; padding-block: .6rem; border-block: 1px solid #c5cebf; font-weight: 650; }
#sin-resultados p { margin-block: .8rem 1.2rem; }
footer { border-top: 1px solid var(--linea); gap: 1rem; padding: 1.5rem 0; color: var(--texto); font-size: .86rem; }
.pie-sao p { max-width: 49ch; text-wrap: pretty; }
dialog { background: var(--papel); color: var(--tinta); width: min(92vw,29rem); max-height: 88dvh; border: 0; border-radius: .6rem; padding: clamp(1.25rem,4vw,2rem); box-shadow: 0 1.5rem 6rem #07160d44; }
dialog::backdrop { background: #0d231bb3; }
.encabezado-dialogo { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.cerrar { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer; color: var(--verde); font-size: 1.6rem; }
dialog h2 { font-size: 2.4rem; margin: .8rem 0; }
dialog label { margin-top: 1.1rem; }
textarea { resize: vertical; margin: .35rem 0 .9rem; }
#aviso-copia:not(:empty) { margin-top: .7rem; }
@media (max-width: 720px) {
  .contenedor { width: min(92%, 40rem); }
  .cabecera { min-height: 4.6rem; }
  nav a:first-child { display: none; } nav .enlace-dueno { font-size: .875rem; padding: .45rem .7rem; }
  .portada { grid-template-columns: minmax(0,1fr); }
  .portada figure { min-height: 0; aspect-ratio: 1.96; grid-row: 1; }
  .portada-texto { padding: 1.6rem 1.4rem 1.7rem; } h1 { font-size: clamp(3.2rem, 10.5vw, 4.4rem); margin: .7rem 0; } h1 br { display: none; }
  .bajada { max-width: 38ch; margin-bottom: 1rem; }
  #filtros { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
  #tarjeta { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .busqueda { padding: 1.7rem .2rem 1.2rem; } .ficha { padding: 1.8rem .2rem 2rem; }
}
@media (max-width: 390px) {
  nav .enlace-dueno { font-size: .82rem; padding: .42rem .56rem; }
  #filtros { grid-template-columns: minmax(0,1fr); }
  footer { flex-wrap: wrap; }
}
