@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Updock&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:wght@500;600&family=Kalam:wght@400;700&display=swap');
:root{--olive:#394525;--paper:#f1e5ce}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--olive);font-family:'Kalam','Comic Sans MS',cursive;background-image:radial-gradient(#b7aa7c19 1px,transparent 1px);background-size:18px 18px}header{display:flex;align-items:center;justify-content:space-between;padding:14px 4%;gap:25px;border-bottom:2px solid #d6c9a2;background:#fbf7e9}a{color:inherit;text-decoration:none}.logo{font-family:'Kalam',cursive;font-size:48px;line-height:.85;white-space:nowrap}.logo small{display:block;font:20px 'Kalam',cursive;text-align:center;margin-top:12px}.leaves{font-size:32px;color:#7b8a4c}nav{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(12px,2.3vw,40px);font-size:20px}nav a.active{border-bottom:4px solid #59613a}main{max-width:1500px;margin:auto}.hero{position:relative;min-height:590px;background:url('imagenes/fachada-real.jpg') center/cover;display:flex;align-items:center;color:white}.hero-copy{padding:5%;max-width:600px;text-shadow:0 2px 5px #0009}.hero h1{font-family:'Kalam',cursive;font-size:48px;line-height:.8;margin:20px 0}.hero p{font-size:20px;line-height:1.25}.btn{display:inline-block;border-radius:30px;background:#414e28;color:white;padding:10px 28px;font-size:20px}.welcome{text-align:center;padding:50px 4% 70px}.welcome h2{font:700 32px 'Kalam',cursive;margin:10px}.welcome>p{font-size:20px}.features{display:grid;grid-template-columns:repeat(4,1fr);margin:35px 0;gap:0}.feature{padding:14px 24px;border-right:1px solid #c3b67e}.feature:last-child{border:0}.feature .symbol{font-size:32px}.feature h3{font:700 32px 'Kalam',cursive;margin:0}.feature p{font-size:20px;line-height:1.35}.apartment{display:grid;grid-template-columns:1.6fr 1fr;gap:17px;padding:34px 3% 50px}.mainphoto img{width:100%;height:520px;object-fit:cover;border-radius:7px;display:block}.gallery{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:260px 190px 190px;gap:10px}.gallery img{width:100%;height:100%;object-fit:cover;border-radius:7px}.gallery img:nth-child(1){grid-column:span 2}.description{font-size:20px;line-height:1.55;padding:16px 7% 0}.description p{margin:0 0 14px}.landscape{text-align:center;font:32px 'Kalam',cursive;color:#87936b;padding:40px 0 20px;background:linear-gradient(0deg,#c9cba06b,transparent)}footer{background:#303d20;color:#fff;padding:30px 6%;display:flex;justify-content:space-around;gap:30px;flex-wrap:wrap}footer .logo{font-size:48px}footer p{font-size:20px}@media(max-width:800px){header{flex-direction:column}.hero{min-height:480px}.features{grid-template-columns:1fr 1fr}.feature:nth-child(2){border:0}.apartment{grid-template-columns:1fr}.mainphoto img{height:auto;max-height:490px}.gallery{grid-template-rows:200px 140px 140px}.description{padding:20px 2%}}@media(max-width:480px){.features{grid-template-columns:1fr}.feature{border:0;border-bottom:1px solid #d6c9a2}.gallery{grid-template-rows:160px 120px 120px}.hero h1{font-size:48px}}
/* Cambio tipográfico: tres tamaños aprobados */
.titulo-principal{font-family:"Kalam",cursive;font-size:48px}
.titulo-seleccion{font-family:"Kalam",cursive;font-size:32px}
.texto-base{font-family:"Kalam",cursive;font-size:20px}

/* Hormiguitas bajo Sierra de Guara · Castilsabás */
/* Hormiguitas delicadas a todo el ancho, sin modificar el resto */
.landscape::after{content:"";display:block;width:100%;height:38px;margin-top:12px;background:url("imagenes/hormiguitas.svg") repeat-x left center;background-size:180px 38px}

/* Cabecera de prueba: sol, dos golondrinas y nombre en Allura */
header{background:var(--paper);border-bottom:1px solid #d6c9a2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 3%}header .leaves{display:flex;align-items:center;flex:0 1 220px}header .leaves img{display:block;width:100%;height:auto;max-width:220px}.nombre-cabecera{font-family:'Allura',cursive;font-size:clamp(42px,4.1vw,65px);line-height:1.05;color:#394525;white-space:nowrap;flex:0 0 auto}header nav{gap:clamp(12px,1.5vw,25px);justify-content:flex-end;font-family:'Kalam',cursive;font-size:clamp(22px,1.85vw,29px)}header nav a{white-space:nowrap}header nav a.active{border-bottom:2px solid #59613a}@media(max-width:1150px){header{flex-wrap:wrap;justify-content:center}header .leaves{flex:0 1 180px}header nav{width:100%;justify-content:center}}@media(max-width:600px){header{gap:8px;padding:12px 3%}header .leaves{flex:0 1 120px}.nombre-cabecera{font-size:42px}header nav{gap:12px;font-size:22px}}

/* Galería compacta del Apartamento: panorámica y tres fotografías circulares. */
.apartment{display:block;max-width:860px;margin:0 auto;padding:28px 4% 34px}
.apartment .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto;column-gap:clamp(12px,3vw,28px);row-gap:16px;justify-items:center;align-items:center}
.apartment .gallery img{display:block;width:min(100%,148px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%}
.apartment .gallery img:first-child{grid-column:1 / -1;width:100%;height:clamp(120px,19vw,175px);aspect-ratio:auto;object-fit:cover;border-radius:12px}
.apartment .description{padding:22px 2% 0}
@media(max-width:480px){.apartment{padding:20px 4% 28px}.apartment .gallery{column-gap:10px;row-gap:12px}.apartment .gallery img{width:100%;max-width:100px}.apartment .gallery img:first-child{height:115px}}

/* PRUEBA SOLICITADA: solo presentación de fachada, sin alterar la foto */
.hero{min-height:370px;margin:18px 3% 0;border-radius:28px;overflow:hidden}
@media(max-width:800px){.hero{min-height:300px;border-radius:24px}}
@media(max-width:480px){.hero{min-height:260px;margin:12px 3% 0;border-radius:20px}}

/* PRUEBA 2: mostrar la fachada real algo más alejada sin modificar el archivo */
.hero{background-color:#e7dfcd;background-repeat:no-repeat;background-position:center center;background-size:88% auto;}
@media(max-width:800px){.hero{background-size:100% auto;}}

/* PRUEBA 3: foto completa sin franjas laterales, proporcion original 1600x777 */
.hero{min-height:0;aspect-ratio:1600 / 777;background-size:cover;background-position:center center;background-repeat:no-repeat;background-color:transparent}
@media(max-width:800px){.hero{min-height:0;background-size:cover}}
@media(max-width:480px){.hero{min-height:0;background-size:cover}}

/* Galeria restaurada de la pagina Refugio */
.apartment.refuge .gallery img:not(:first-child){aspect-ratio:4 / 5;border-radius:50%;}

/* Prueba: dos golondrinas en el espacio del antiguo logotipo izquierdo */
.aves-cabecera{display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 145px;min-width:0}
.aves-cabecera img{width:67px;height:67px;object-fit:contain;display:block}
.aves-cabecera img:nth-child(2){transform:scaleX(-1) translateY(-9px);width:58px;height:58px}
@media(max-width:1150px){.aves-cabecera{flex-basis:130px}.aves-cabecera img{width:58px;height:58px}.aves-cabecera img:nth-child(2){width:50px;height:50px}}
@media(max-width:600px){.aves-cabecera{flex-basis:100px;gap:0}.aves-cabecera img{width:48px;height:48px}.aves-cabecera img:nth-child(2){width:42px;height:42px}.nombre-cabecera{font-size:clamp(35px,8vw,42px)}}

/* Tres golondrinas mas separadas; titulo decorativo, sin accion de boton */
.aves-cabecera{gap:16px;flex:0 0 230px}
.aves-cabecera img{width:62px;height:62px;flex-shrink:0}
.aves-cabecera img:nth-child(2){width:56px;height:56px;transform:scaleX(-1) translateY(-12px)}
.aves-cabecera img:nth-child(3){width:57px;height:57px;transform:translateY(8px)}
.nombre-cabecera{cursor:default}
@media(max-width:1150px){.aves-cabecera{flex-basis:205px;gap:12px}.aves-cabecera img{width:55px;height:55px}.aves-cabecera img:nth-child(2){width:49px;height:49px}.aves-cabecera img:nth-child(3){width:50px;height:50px}}
@media(max-width:600px){.aves-cabecera{flex-basis:145px;gap:7px}.aves-cabecera img{width:39px;height:39px}.aves-cabecera img:nth-child(2){width:35px;height:35px}.aves-cabecera img:nth-child(3){width:35px;height:35px}}

/* Única modificación: título de cabecera menos curvo */
.nombre-cabecera{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;letter-spacing:.01em}

/* Fotos de galeria: rectangulares con esquinas redondeadas; sin modificar los archivos */
.apartment .gallery img:not(:first-child), .apartment.refuge .gallery img:not(:first-child){width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;border-radius:16px;}

/* Títulos de las páginas Refugio y Apartamento centrados y estables */
body:has(.titulo-principal) .titulo-principal{display:block;width:100%;margin:28px auto 0;padding:0 16px;text-align:center;position:relative;left:auto;right:auto;transform:none;}
/* Tipografía Lora elegida para el nombre del encabezado */
.nombre-cabecera{font-family:"Lora",Georgia,serif;}

/* Motivos de los cuatro bloques: un poco mayores, sin deformar, adaptables */
.features .symbol img{width:40px;height:40px;max-width:100%;object-fit:contain;}
@media(max-width:480px){.features .symbol img{width:36px;height:36px;}}

/* Motivos decorativos: tamaño adaptable, priorizando lectura en móvil.
   Solo modifica las dimensiones visuales de los cuatro motivos de Inicio. */
.features .symbol img{display:block;width:clamp(40px,4vw,48px);height:clamp(40px,4vw,48px);max-width:100%;object-fit:contain;margin:0 auto;}
@media(max-width:800px){.features .symbol img{width:44px;height:44px;}}
@media(max-width:480px){.features .symbol img{width:42px;height:42px;}}

/* Prueba solicitada: solo grosor de letra del nombre de cabecera */
.nombre-cabecera{font-weight:400;}

/* Solo cambio solicitado: tipografia del nombre del encabezado */
.nombre-cabecera{font-family:'Updock',cursive;font-weight:400;}

/* Unico ajuste: aumentar ligeramente el nombre Updock del encabezado */
.nombre-cabecera{font-size:clamp(48px,4.8vw,75px)}
@media(max-width:600px){.nombre-cabecera{font-size:clamp(40px,9vw,49px)}}

/* Enlace de ubicación y mapa emergente, adaptable a móvil */
.enlace-ubicacion{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:none;text-align:left}
.enlace-ubicacion:hover,.enlace-ubicacion:focus-visible{opacity:.75}
.modal-mapa{box-sizing:border-box;width:min(92vw,760px);max-height:90dvh;padding:clamp(14px,3vw,24px);border:0;border-radius:18px;background:#f1e5ce;color:#34362d;box-shadow:0 16px 60px #0005}
.modal-mapa::backdrop{background:rgba(0,0,0,.58)}
.modal-mapa-cabecera{display:flex;align-items:center;justify-content:space-between;gap:12px}
.modal-mapa-cabecera h2{margin:0;font-size:clamp(1.2rem,4vw,1.65rem)}
.modal-mapa p{margin:10px 0;font-size:clamp(.9rem,2.5vw,1rem)}
.modal-mapa iframe{display:block;width:100%;height:min(52dvh,420px);min-height:260px;border:0;border-radius:12px}
.cerrar-mapa{border:0;background:transparent;color:inherit;font:inherit;font-size:2rem;line-height:1;cursor:pointer;padding:2px 8px}
@media(max-width:480px){.modal-mapa{width:95vw;padding:12px}.modal-mapa iframe{height:48dvh;min-height:220px}}

/* Página Qué hacer: estilos propios, sin modificar páginas aprobadas */
.qh-main{max-width:1120px;margin:0 auto;padding:20px 22px 70px}.qh-intro{text-align:center;margin:10px auto 36px}.qh-intro img{object-fit:contain}.qh-section{margin:42px auto}.qh-section h2{text-align:center}.qh-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:26px}.qh-item{background:rgba(255,255,255,.35);border-radius:16px;padding:20px 22px}.qh-item h3{margin:0 0 12px}.qh-item p{margin:0}.qh-barrancos{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px;margin-top:22px}.qh-barrancos figure{margin:0}.qh-barrancos img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:16px}.qh-barrancos figcaption{text-align:center;margin-top:8px}@media(max-width:600px){.qh-main{padding:16px 16px 48px}.qh-section{margin:30px auto}}

/* Tres entradas de Qué hacer: cambios exclusivos de esta página */
.qh-heading{text-align:center;margin:10px auto 26px}.qh-entradas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:22px auto 48px}.qh-entrada{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;min-height:170px;padding:24px 16px;background:rgba(255,255,255,.35);border-radius:18px;text-decoration:none;color:inherit;transition:background .2s}.qh-entrada:hover,.qh-entrada:focus-visible{background:rgba(255,255,255,.65)}.qh-entrada img{width:56px;height:56px;object-fit:contain}.qh-entrada span{font-size:1.12rem;font-weight:600}.qh-links{list-style:none;padding:0;max-width:900px;margin:22px auto;display:grid;gap:12px}.qh-links li{padding:14px 18px;background:rgba(255,255,255,.3);border-radius:12px;line-height:1.5}.qh-links a{color:inherit;text-underline-offset:3px}.qh-section{scroll-margin-top:24px}@media(max-width:650px){.qh-entradas{grid-template-columns:1fr;gap:12px}.qh-entrada{min-height:105px;flex-direction:row;justify-content:flex-start;text-align:left}.qh-entrada img{width:42px;height:42px}}

/* Prueba de encabezado: logo a la izquierda y tres golondrinas junto al titulo. */
header .logo-cabecera-nuevo{width:clamp(64px,7vw,94px);height:auto;max-height:108px;object-fit:contain;flex:0 0 auto;display:block}
header{column-gap:clamp(7px,1vw,16px)}
header .aves-cabecera{flex:0 0 auto;gap:clamp(4px,.7vw,11px);margin-right:0}
header .aves-cabecera img{width:clamp(35px,4vw,57px);height:clamp(35px,4vw,57px)}
header .aves-cabecera img:nth-child(2){width:clamp(31px,3.6vw,51px);height:clamp(31px,3.6vw,51px)}
header .aves-cabecera img:nth-child(3){width:clamp(32px,3.7vw,52px);height:clamp(32px,3.7vw,52px)}
@media(max-width:1150px){header .logo-cabecera-nuevo{width:76px}header .aves-cabecera{flex-basis:auto}}
@media(max-width:600px){header .logo-cabecera-nuevo{width:58px;max-height:70px}header .aves-cabecera{flex-basis:auto;gap:3px}header .aves-cabecera img{width:32px;height:32px}header .aves-cabecera img:nth-child(2){width:29px;height:29px}header .aves-cabecera img:nth-child(3){width:29px;height:29px}}

/* Prueba: solo títulos de los cuatro bloques de Inicio */
.welcome .features .feature h3.titulo-seleccion {font-family:"Caveat",cursive;font-weight:600;font-size:clamp(34px,3vw,44px);line-height:1.15;}

/* Enlace del texto Campers sin alterar su aspecto */
#campers .texto-base a { color: inherit; text-decoration: none; }

/* Solo Inicio: titulo centrado con las tres golondrinas a su derecha. */
header.cabecera-inicio-centrada{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}
header.cabecera-inicio-centrada .logo-cabecera-nuevo{justify-self:start}
header.cabecera-inicio-centrada .cabecera-inicio-grupo{grid-column:2;display:flex;align-items:center;justify-content:center;gap:clamp(8px,1.5vw,22px);min-width:0}
header.cabecera-inicio-centrada .cabecera-inicio-equilibrio{grid-column:3}
header.cabecera-inicio-centrada .aves-cabecera{display:flex;align-items:center;flex:0 0 auto;margin:0}
@media(max-width:700px){header.cabecera-inicio-centrada{grid-template-columns:1fr;justify-items:center;gap:6px}header.cabecera-inicio-centrada .logo-cabecera-nuevo{grid-column:1;grid-row:1;justify-self:start}header.cabecera-inicio-centrada .cabecera-inicio-grupo{grid-column:1;grid-row:2;gap:6px;max-width:100%}header.cabecera-inicio-centrada .nombre-cabecera{font-size:clamp(31px,7.4vw,49px)}header.cabecera-inicio-centrada .aves-cabecera{gap:2px}header.cabecera-inicio-centrada .aves-cabecera img{width:clamp(23px,6vw,32px);height:clamp(23px,6vw,32px)}header.cabecera-inicio-centrada .cabecera-inicio-equilibrio{display:none}}

/* Ajuste solicitado SOLO en Inicio: título centrado y golondrinas en el extremo derecho. */
header.cabecera-inicio-centrada {
  display:grid;
  grid-template-columns:minmax(80px,1fr) minmax(0,auto) minmax(80px,1fr);
  align-items:center;
  column-gap:12px;
  position:relative;
}
header.cabecera-inicio-centrada .logo-cabecera-nuevo {grid-column:1;grid-row:1;justify-self:start;}
header.cabecera-inicio-centrada .cabecera-inicio-grupo {
  display:contents;
}
header.cabecera-inicio-centrada .nombre-cabecera {
  grid-column:2;grid-row:1;justify-self:center;
  font-family:'Updock',cursive;font-weight:400;
  font-size:clamp(64px,6.2vw,96px);
  line-height:1.15;letter-spacing:normal;
  white-space:nowrap;transform:none;
}
header.cabecera-inicio-centrada .aves-cabecera {
  grid-column:3;grid-row:1;justify-self:end;
  display:flex;align-items:center;flex:0 0 auto;
  gap:clamp(4px,.7vw,11px);margin:0;
}
header.cabecera-inicio-centrada .cabecera-inicio-equilibrio {display:none;}
@media(max-width:900px) {
  header.cabecera-inicio-centrada .nombre-cabecera {font-size:clamp(49px,6.7vw,66px);}
  header.cabecera-inicio-centrada .aves-cabecera {gap:3px;}
  header.cabecera-inicio-centrada .aves-cabecera img {width:36px;height:36px;}
  header.cabecera-inicio-centrada .aves-cabecera img:nth-child(2),
  header.cabecera-inicio-centrada .aves-cabecera img:nth-child(3) {width:32px;height:32px;}
}
@media(max-width:700px) {
  header.cabecera-inicio-centrada {
    grid-template-columns:1fr 1fr;grid-template-rows:auto auto;
    column-gap:8px;row-gap:0;
  }
  header.cabecera-inicio-centrada .logo-cabecera-nuevo {grid-column:1;grid-row:1;justify-self:start;}
  header.cabecera-inicio-centrada .aves-cabecera {grid-column:2;grid-row:1;justify-self:end;}
  header.cabecera-inicio-centrada .nombre-cabecera {
    grid-column:1 / -1;grid-row:2;justify-self:center;
    font-size:clamp(48px,10.7vw,75px);white-space:nowrap;
  }
}

/* Prueba solicitada: mas aire entre letras del titulo de Inicio, sin alterar otros elementos. */
header.cabecera-inicio-centrada .nombre-cabecera {letter-spacing:0.025em;}

/* Páginas interiores de rutas: estilos aislados */
.ruta-detalle{max-width:850px;margin:1.5rem auto 3rem;padding:0 1.25rem;line-height:1.8}
.ruta-detalle .texto-base{margin:0 0 1.2rem;white-space:normal}
.ruta-detalle .titulo-seleccion{margin:2rem 0 1rem}
.ruta-detalle .mapa-ruta{display:block;width:auto;max-width:100%;height:auto;margin:2rem auto;border-radius:12px}
.ruta-detalle .volver-rutas{display:inline-block;margin-top:1rem;color:inherit;text-decoration:underline;text-underline-offset:4px}

/* Solo presentacion de los cinco mapas originales aprobados. */
.ruta-detalle .mapa-ruta.acuarela-aprobada{width:100%;max-width:640px;height:auto;border-radius:0;mix-blend-mode:multiply;filter:drop-shadow(0 2px 2px rgba(92,77,49,.06));}

/* Prueba aprobada: solo cabecera panorámica en Inicio; sin menú ni fotografía duplicada. */
header.cabecera-panoramica-inicio{display:block;padding:0;margin:0;border:0;background:transparent;line-height:0;width:100%;overflow:hidden}
header.cabecera-panoramica-inicio img{display:block;width:100%;height:auto;max-width:none}
header.cabecera-panoramica-inicio .solo-lectores{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Cabecera de páginas interiores: misma imagen aprobada en Inicio; menú adaptativo. */
header.cabecera-interior-panoramica{display:block;padding:0;margin:0;gap:0;border:0;background:transparent;width:100%}
.cabecera-interior-imagen{width:100%;line-height:0;overflow:hidden}
.cabecera-interior-imagen a{display:block}
.cabecera-interior-imagen img{display:block;width:100%;height:auto;max-width:none}
.barra-menu-interior{background:#fbf7e9;border-bottom:2px solid #d6c9a2;padding:9px 16px}
.barra-menu-interior nav.menu-interior-enlaces{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(12px,2.3vw,40px);font-size:20px}
.barra-menu-interior nav.menu-interior-enlaces a{padding:5px 2px}
.boton-menu-interior{display:none}
@media(max-width:700px){
 .barra-menu-interior{padding:0}
 .boton-menu-interior{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px 18px;border:0;background:#fbf7e9;color:#394525;font:600 20px 'Kalam',sans-serif;cursor:pointer}
 .boton-menu-interior:focus-visible,.menu-interior-enlaces a:focus-visible{outline:3px solid #7b8a4c;outline-offset:-3px}
 .barra-menu-interior nav.menu-interior-enlaces{display:none;flex-direction:column;align-items:stretch;gap:0;width:100%;padding:0 16px 12px;font-size:19px}
 .barra-menu-interior.desplegado nav.menu-interior-enlaces{display:flex}
 .barra-menu-interior nav.menu-interior-enlaces a{display:block;padding:10px 12px;text-align:center;border-bottom:1px solid #d6c9a2}
 .barra-menu-interior nav.menu-interior-enlaces a.active{border-bottom:3px solid #59613a}
}
