/* Alojamiento Centro Logroño
   Paleta tomada del logo: crema, marrón y rojo teja. */
:root {
  --cream: #f6efe4;
  --paper: #fbf8f2;
  --sand: #ede3d4;
  --stone: #dccdb9;
  --taupe: #a8927b;
  --brown: #4a3426;
  --ink: #2c2019;
  --muted: #6e5d50;
  --brick: #a63d2a;
  --brick-dark: #80301f;
  --gold: #c39a5e;
  --white: #ffffff;
  --whatsapp: #25d366;

  /* Alias para las páginas que aún usan los nombres antiguos */
  --wine: var(--brick);
  --wine-dark: var(--brick-dark);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Jost", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(44, 32, 25, 0.35);
  --shadow-soft: 0 8px 26px -12px rgba(44, 32, 25, 0.25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1180px;
  --header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brick); text-underline-offset: 3px; }

::selection { background: var(--brick); color: var(--white); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
  color: var(--ink);
}

h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.45rem; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
section.alt {
  background:
    radial-gradient(1200px 400px at 85% 0%, rgba(195, 154, 94, 0.10), transparent 60%),
    radial-gradient(900px 400px at 0% 100%, rgba(166, 61, 42, 0.06), transparent 60%),
    var(--cream);
}

/* Etiqueta sobre los títulos, con líneas como en el logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--brick);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.lead { color: var(--muted); max-width: 640px; font-size: 1.12rem; font-weight: 300; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--brick); color: var(--white); box-shadow: 0 10px 24px -10px rgba(166, 61, 42, .7); }
.btn-primary:hover { background: var(--brick-dark); box-shadow: 0 16px 30px -12px rgba(166, 61, 42, .8); }
.btn-light { background: transparent; color: var(--ink); border-color: var(--stone); }
.btn-light:hover { background: var(--white); border-color: var(--taupe); }
.btn-whatsapp { background: var(--whatsapp); color: #06301a; }
.btn-whatsapp:hover { box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .8); }

/* Cabecera */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(220, 205, 185, 0.6);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(44, 32, 25, .5); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
  transition: height .3s var(--ease);
}
.site-header.scrolled .nav { height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand img { height: 68px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 54px; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
}
.nav-links a:not(.lang):not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brick); }
.nav-links .btn { padding: 10px 20px; color: var(--white); font-size: 0.9rem; }
.nav-links .langs { display: flex; gap: 4px; }
.lang {
  font-size: 0.78rem !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: 5px 10px !important;
  transition: background .2s, color .2s;
}
.lang:hover { background: var(--brown); color: var(--cream) !important; border-color: var(--brown); }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 12px 24px 28px;
    border-bottom: 1px solid var(--stone);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .site-header.scrolled .nav-links { inset: 68px 0 auto 0; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--sand); }
  .nav-links li:last-child, .nav-links li:has(.btn) { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 14px; display: flex; }
  .nav-links .langs { padding-top: 14px; gap: 8px; }
  .nav-links .langs a { display: inline-block; }
}

/* Portada */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: 0 0 clamp(56px, 9vh, 96px);
  overflow: hidden;
  isolation: isolate;
  background: var(--brown);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -2%;
  z-index: -2;
  background: url("../img/hero.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  animation: kenburns 24s ease-out both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 24, 17, .85) 0%, rgba(36, 24, 17, .55) 45%, rgba(36, 24, 17, .08) 80%),
    linear-gradient(0deg, rgba(36, 24, 17, .65) 0%, rgba(36, 24, 17, 0) 45%);
}
@keyframes kenburns {
  from { transform: scale(1.14) translate3d(1%, 1%, 0); }
  to { transform: scale(1.02) translate3d(0, 0, 0); }
}
.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 500;
  line-height: .98;
  max-width: 820px;
  margin-bottom: 22px;
}
.hero p { font-size: 1.18rem; font-weight: 300; max-width: 560px; margin: 0 0 34px; opacity: .92; }
.hero p.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin: 0 0 18px;
  color: #f3dcc4;
  max-width: none;
}
.hero p.hero-kicker::before { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-light { color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.hero .btn-light:hover { background: var(--white); color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.badge:first-child { background: var(--brick); border-color: var(--brick); }
.hero-scroll {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 36px;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0));
  animation: drip 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) {
  .hero-scroll { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(36, 24, 17, .85) 0%, rgba(36, 24, 17, .35) 70%, rgba(36, 24, 17, .2) 100%); }
  .hero p.hero-kicker { letter-spacing: .18em; font-size: .7rem; }
}

/* El apartamento */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.facts::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--sand);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.fact {
  padding: clamp(26px, 4vw, 44px) 20px;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}
.fact:nth-child(odd) { border-right: 1px solid var(--sand); }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--sand); }
.fact strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--brick);
  margin-bottom: 8px;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px 28px;
  list-style: none;
  padding: 0;
  margin: 30px 0 22px;
}
.amenities li { display: flex; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px dashed var(--stone); }
.amenities li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brick);
  transform: translateY(-2px);
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row dense;
  grid-auto-rows: clamp(150px, 17vw, 230px);
  gap: 14px;
  margin-top: 40px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--sand), var(--stone));
  cursor: zoom-in;
  box-shadow: var(--shadow-soft);
}
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(36, 24, 17, .55), rgba(36, 24, 17, 0) 50%);
  opacity: .7;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure:hover::after { opacity: 1; }
.gallery figcaption {
  position: absolute;
  left: 18px; bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  transition: transform .5s var(--ease);
  pointer-events: none;
}
.gallery figure:hover figcaption { transform: translateY(-4px); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery figcaption { font-size: 1.1rem; left: 12px; bottom: 10px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 16, 11, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 60px 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.97); transition: transform .45s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  color: #e9dccb;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}
@media (max-width: 600px) {
  .lightbox { padding: 60px 10px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; transform: none; }
}

/* Ubicación */
.map {
  width: 100%;
  min-height: 440px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: sepia(.25) saturate(.9);
}
.nearby { list-style: none; padding: 0; margin: 26px 0 0; }
.nearby li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; }
.nearby li span:first-child { flex: 0 1 auto; }
.nearby li span:last-child {
  flex: 1 0 auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--brick);
  white-space: nowrap;
  font-size: 0.92rem;
}
.nearby li span:last-child::before {
  content: "";
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted var(--taupe);
  transform: translateY(-4px);
}

/* Opiniones: banda oscura */
#opiniones {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(195, 154, 94, .18), transparent 70%),
    var(--brown);
  color: var(--cream);
  text-align: center;
}
#opiniones .container::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-size: 9rem;
  line-height: .6;
  color: var(--gold);
  margin-bottom: 10px;
}
#opiniones h2 { color: var(--white); }
#opiniones .eyebrow { color: #e9c9a5; }
#opiniones .lead { color: #e2d4c3; margin-inline: auto; }
#opiniones .btn-light { color: var(--cream); border-color: rgba(246, 239, 228, .4); }
#opiniones .btn-light:hover { background: var(--cream); color: var(--ink); }

/* Carrusel de opiniones */
.review-scores { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 28px; margin: 34px 0 8px; }
.score-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.award-badge {
  width: 220px; height: auto; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  transform: rotate(-2deg); transition: transform .5s var(--ease);
}
.award-badge:hover { transform: rotate(0) scale(1.04); }
@media (max-width: 600px) {
  .score-pills { align-items: center; }
  .award-badge { width: 200px; }
}
.score-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(195, 154, 94, .45);
  background: rgba(246, 239, 228, .06);
  color: #e9dccb; font-size: .92rem; letter-spacing: .02em;
}
.score-pill strong { color: var(--gold); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.score-star { color: var(--gold); }
.review-slider { max-width: 820px; margin: 26px auto 0; }
.review-viewport { overflow: hidden; touch-action: pan-y; transition: height .6s var(--ease); }
.review-track { display: flex; align-items: flex-start; transition: transform .8s var(--ease); }
.review-slide {
  flex: 0 0 100%; margin: 0; padding: 6px 18px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.review-stars { color: var(--gold); letter-spacing: .25em; font-size: 1.05rem; margin: 0 0 14px; }
.review-slide blockquote {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--cream);
}
.review-slide figcaption { margin-top: 18px; color: #d9c6ae; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.review-name { color: var(--white); font-weight: 500; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.review-arrow {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(246, 239, 228, .35); background: transparent; color: var(--cream);
  font-size: 1.4rem; line-height: 1; transition: background .3s var(--ease), color .3s var(--ease);
}
.review-arrow:hover, .review-arrow:focus-visible { background: var(--cream); color: var(--ink); }
.review-dots { display: flex; gap: 8px; }
.review-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(246, 239, 228, .3); transition: width .4s var(--ease), background .4s var(--ease);
}
.review-dot[aria-current="true"] { width: 26px; background: var(--gold); }
.review-note { margin-top: 14px; font-size: .82rem; color: #bfa98f; }
@media (max-width: 600px) {
  .review-slide { padding-inline: 4px; }
  .review-slide blockquote { font-size: 1.2rem; }
  .review-dot { width: 7px; height: 7px; }
  .review-dot[aria-current="true"] { width: 20px; }
}

/* Información práctica */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.info-card {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 26px;
  width: 44px; height: 3px;
  background: var(--brick);
  border-radius: 0 0 3px 3px;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.5rem; }
.info-card p { color: var(--muted); margin: 0; }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--brick);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sand); }
.faq details p { color: var(--muted); margin: 0 0 24px; max-width: 760px; }

/* Reserva: banda oscura */
#reservar {
  background:
    linear-gradient(115deg, rgba(36, 24, 17, .94), rgba(74, 52, 38, .9)),
    url("../img/salon-terraza.jpg") center / cover;
  background-image:
    linear-gradient(115deg, rgba(36, 24, 17, .94), rgba(74, 52, 38, .9)),
    image-set(url("../img/salon-terraza.webp") type("image/webp"), url("../img/salon-terraza.jpg") type("image/jpeg"));
  color: var(--cream);
}
#reservar h2 { color: var(--white); }
#reservar .eyebrow { color: #e9c9a5; }
#reservar .lead { color: #e2d4c3; }
#reservar .contact-list a { color: var(--white); }
.booking-box {
  background: var(--paper);
  color: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.74rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 8px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 13px 15px;
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 4px rgba(166, 61, 42, .12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 16px; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 30px; }
.contact-list li { margin-bottom: 12px; font-size: 1.05rem; }

/* Guía y blog: cabecera de página con la silueta de Logroño del logo */
.guide-hero, .page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0 clamp(150px, 16vw, 210px);
  background:
    radial-gradient(900px 420px at 80% 30%, rgba(195, 154, 94, .22), transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
.guide-hero::after, .page-head::after {
  content: "";
  position: absolute;
  right: max(-40px, calc((100vw - var(--max)) / 2 - 80px));
  bottom: -6px;
  width: min(760px, 70vw);
  aspect-ratio: 1010 / 380;
  background: url("../img/skyline.png") right bottom / contain no-repeat;
  opacity: .95;
  pointer-events: none;
}
.guide-hero .container, .page-head .container { position: relative; z-index: 1; }
.guide-hero h1, .page-head h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 500; max-width: 860px; }
@media (max-width: 700px) {
  .guide-hero, .page-head { padding-bottom: 46vw; }
  .guide-hero::after, .page-head::after { width: 110vw; right: -5vw; }
}
.guide-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.guide-toc a {
  color: var(--ink);
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: 8px 18px;
  text-decoration: none;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  transition: background .25s, color .25s;
}
.guide-toc a:hover { background: var(--brick); border-color: var(--brick); color: var(--white); }

.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 36px; }
.place {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.place::before {
  content: "";
  position: absolute;
  top: 0; left: 26px;
  width: 44px; height: 3px;
  background: var(--brick);
  border-radius: 0 0 3px 3px;
  transition: width .4s var(--ease);
}
.place:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.place:hover::before { width: calc(100% - 52px); }
.place h3 { font-size: 1.5rem; }
.place p { margin: 0 0 12px; color: var(--muted); }
.place-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 0.86rem; letter-spacing: 0.02em; }
.place-meta span:last-child { color: var(--brick); font-weight: 500; white-space: nowrap; }
.place-map { margin-top: auto; padding-top: 8px; font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.place-map:hover { text-decoration: underline; }
.guide-cta { text-align: center; }
.guide-cta .lead { margin-inline: auto; }
.guide-cta .eyebrow { justify-content: center; }

/* Guía: imágenes */
.place { overflow: hidden; }
.place-img {
  display: block;
  width: calc(100% + 52px);
  max-width: none;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
  margin: -28px -26px 22px;
}
.place::before { z-index: 1; }

/* Guía: supermercados, aparcar y teléfonos */
.info-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.info-list li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  background: var(--white); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow-soft);
}
.info-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.info-text strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.info-text span { color: var(--muted); font-size: 0.95rem; }
.info-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.info-dist { color: var(--brick); font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
.info-tel {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  background: var(--brick); color: var(--white); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.info-tel:hover { background: var(--brick-dark); }
.info-map { font-size: 0.92rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.info-map:hover { text-decoration: underline; }

.fiestas-intro { max-width: 760px; margin-top: 18px; }
.fiestas-intro p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.fiestas-intro strong { color: var(--ink); font-weight: 500; }

/* Guía: pueblos */
.pueblo { padding-top: 26px; }
.pueblo-num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); margin: 0 0 8px !important; }
.pueblo-tip { font-size: 0.92rem; background: var(--cream); border-radius: var(--radius-sm); padding: 10px 14px; }
.pueblo-tip strong { color: var(--brick); font-weight: 500; }
.pueblo-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pueblo-links .place-map { margin-top: 0; }
.place.destacada { border: 2px solid var(--gold); }
@media (min-width: 900px) { .place.destacada { grid-column: span 2; } .place.destacada .place-img { aspect-ratio: auto; height: 166px; object-fit: cover; } }
.badge-fav { display: inline-block; align-self: flex-start; background: var(--brick); color: var(--white) !important; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; margin: 0 0 4px !important; }
.subhead { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 64px; }

/* Blog */
.post-meta { color: var(--muted); font-size: 0.9rem; }
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.post-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brick), var(--gold));
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card:hover::before { transform: scaleX(1); }
.post-card h2 { font-size: 1.75rem; margin: 12px 0 10px; }
.post-card p { color: var(--muted); margin: 0 0 18px; }
.post-card .more { margin-top: auto; color: var(--brick); font-weight: 500; letter-spacing: .02em; }
.post { max-width: 760px; font-size: 1.08rem; }
.post > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.4em;
  line-height: .8;
  padding: 6px 10px 0 0;
  color: var(--brick);
}
.post h2 { font-size: 2.1rem; margin-top: 1.5em; }
.post h3 { font-size: 1.45rem; margin-top: 1.3em; }
.post table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); }
.post th, .post td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--sand); vertical-align: top; }
.post th { color: var(--muted); font-weight: 500; background: var(--cream); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.post .note { background: var(--cream); border-left: 3px solid var(--brick); border-radius: var(--radius-sm); padding: 18px 22px; }
.post .sources { font-size: 0.88rem; color: var(--muted); }
.post-cta { margin-top: 56px; background: var(--brown); color: var(--cream); border-radius: var(--radius); padding: 36px; }
.post-cta h2 { margin-top: 0; color: var(--white); }
.post-cta .lead, .post-cta p { color: #e2d4c3; }
@media (max-width: 600px) { .post table { display: block; overflow-x: auto; } }
.tag { display: inline-block; background: var(--cream); color: var(--brick); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .14em; border-radius: 999px; padding: 4px 12px; margin-right: 8px; }

/* Blog: imágenes y calendario */
.post-card-img {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  height: auto;
  flex-shrink: 0;
  margin: -34px -30px 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--sand);
  transition: transform .6s var(--ease);
}
.post-card:hover .post-card-img { transform: scale(1.03); }
.post-cover { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

.cal-section { padding-bottom: 0; }
.cal { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: clamp(18px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-head h3 { margin: 0; font-size: 1.9rem; text-transform: capitalize; }
.cal-nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--stone); background: var(--paper); color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background .2s, color .2s; }
.cal-nav:hover:not(:disabled) { background: var(--brick); border-color: var(--brick); color: var(--white); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 4px 0 8px; }
.cal-day { position: relative; aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: .98rem; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.cal-day.empty { visibility: hidden; }
.cal-day.past { color: var(--taupe); }
.cal-day.today { outline: 1.5px solid var(--gold); outline-offset: -2px; }
.cal-day.has { background: var(--cream); cursor: pointer; font-weight: 500; transition: background .2s, color .2s; }
.cal-day.has:hover { background: var(--sand); }
.cal-day.sel { background: var(--brick); color: var(--white); }
.cal-dots { display: flex; gap: 3px; height: 6px; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--brick); }
.cal-day.sel .cal-dots i { background: var(--white) !important; }
.cal-dots i.c-bodegas { background: #7a2335; }
.cal-dots i.c-fiestas { background: var(--gold); }
.cal-dots i.c-noticias { background: var(--taupe); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--brick); display: inline-block; }
.cal-panel h3 { font-size: 1.5rem; margin: 0 0 12px; }
.cal-list { list-style: none; margin: 0; padding: 0; max-height: 440px; overflow-y: auto; }
.cal-list li { border-top: 1px solid var(--sand); padding: 12px 0; }
.cal-list li:first-child { border-top: 0; padding-top: 0; }
.cal-when { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brick); font-weight: 500; }
.cal-what { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; margin: 2px 0 4px; }
.cal-extra { display: block; font-size: .86rem; color: var(--muted); margin: 0 0 6px; }
.cal-kids { padding-top: clamp(48px, 7vw, 80px); }
.cal-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; }
.cal-links a { font-weight: 500; }
.cal-empty { color: var(--muted); }
@media (max-width: 820px) { .cal { grid-template-columns: 1fr; } .cal-list { max-height: none; } }
@media (max-width: 420px) { .cal-day { font-size: .88rem; border-radius: 8px; } .cal-head h3 { font-size: 1.5rem; } }

/* Pie de página */
.site-footer {
  background: #231913;
  color: #cdbfae;
  padding: 80px 0 0;
  font-size: 0.95rem;
}
.site-footer a { color: #f1e6d7; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 10px;
}
.footer-tagline { text-transform: uppercase; letter-spacing: .3em; font-size: .7rem; color: #d59b7f; margin: 0 0 18px; }
.footer-title { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: #a8927b; margin: 0 0 16px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
  font-size: .85rem;
  color: #a8927b;
}

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -6px rgba(0,0,0,0.35);
  z-index: 60;
  transition: transform .3s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulse 2.6s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* Animación al hacer scroll (la activa main.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Mejoras: valoraciones, iconos, mapa a pie, esta semana, anfitrión, cómo llegar ===== */

/* Resumen de valoraciones en la portada */
.hero-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 28px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background .3s var(--ease);
}
.hero-rating:hover { background: rgba(255, 255, 255, 0.2); }
.hero-rating strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-right: 4px; }
.hero-rating .stars { color: #f2c46b; letter-spacing: 2px; }
.hero-rating .sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .35); }
@media (max-width: 600px) { .hero-rating { border-radius: var(--radius-sm); } .hero-rating .sep { display: none; } }

/* Franja de iconos */
.highlights { padding: 0; background: var(--brown); color: var(--cream); }
.highlights ul {
  list-style: none;
  margin: 0 auto;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.highlights li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 0.86rem; letter-spacing: 0.04em; }
.highlights svg { width: 34px; height: 34px; stroke: #e9c9a5; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.highlights li:hover svg { transform: translateY(-3px) scale(1.08); }
@media (max-width: 760px) { .highlights ul { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; } }

/* Mapa "todo a un paseo" */
.walkmap { margin: 56px 0 0; }
.walkmap-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.walkmap-head h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.walkmap-head p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.walkmap-box {
  margin-top: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.walkmap svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.wm-ring { fill: none; stroke: var(--stone); stroke-dasharray: 4 6; }
.wm-ring-label { fill: var(--taupe); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.wm-river { fill: none; stroke: #b9d3d6; stroke-width: 26; stroke-linecap: round; opacity: .8; }
.wm-river-label { fill: #6f9599; font-size: 14px; font-style: italic; font-family: var(--serif); }
.wm-home circle.core { fill: var(--brick); }
.wm-home circle.halo { fill: var(--brick); opacity: .25; transform-origin: center; transform-box: fill-box; animation: wm-halo 2.6s var(--ease) infinite; }
@keyframes wm-halo { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }
.wm-home text { fill: var(--brick-dark); font-weight: 500; font-size: 16px; }
.wm-pt { cursor: pointer; }
.wm-pt circle { fill: var(--white); stroke: var(--brick); stroke-width: 3; transition: r .25s var(--ease), fill .25s; }
.wm-pt text { fill: var(--ink); font-size: 15px; }
.wm-pt text tspan.min { fill: var(--brick); font-weight: 500; }
.wm-pt:hover circle, .wm-pt:focus circle { fill: var(--brick); r: 10; }
.wm-pt:focus { outline: none; }
.wm-pt:focus-visible text { text-decoration: underline; }
.walkmap.anim .wm-pt { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transform-box: fill-box; }
.walkmap.anim.is-on .wm-pt { opacity: 1; transform: none; }
.walkmap-note { font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }

/* Esta semana en Logroño */
.week-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .week-grid { grid-template-columns: 1fr; } }
.week-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 3vw, 32px);
}
.week-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.weather { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.weather-day { text-align: center; padding: 14px 6px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--sand); }
.weather-day .wd { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.weather-day .wi { font-size: 2rem; line-height: 1.3; display: block; margin: 4px 0; }
.weather-day .wt { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.weather-day .wt small { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.week-events { list-style: none; margin: 0; padding: 0; }
.week-events li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--stone); align-items: center; }
.week-events li:last-child { border-bottom: 0; }
.we-date { text-align: center; background: var(--brick); color: var(--white); border-radius: var(--radius-sm); padding: 8px 4px; line-height: 1.1; }
.we-date b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.we-date span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .14em; }
.we-title { font-weight: 500; color: var(--ink); text-decoration: none; }
.we-title:hover { color: var(--brick); }
.we-meta { display: block; font-size: 0.86rem; color: var(--muted); }
.we-book { font-size: 0.86rem; font-weight: 500; text-decoration: none; }
.week-more { margin: 18px 0 0; font-size: 0.95rem; }

/* Anfitrión */
.host { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 760px) { .host { grid-template-columns: 1fr; text-align: center; } .host .eyebrow { justify-content: center; } .host-sign { justify-content: center; } }
.host-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 30% 25%, #c45a44, var(--brick-dark));
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.host-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.host-photo img { width: 100%; height: 100%; object-fit: cover; }
.host-photo .initial { font-family: var(--serif); font-size: 7rem; color: var(--cream); font-style: italic; }
.host blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--ink); font-style: italic; }
.host-sign { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }

/* Cómo llegar */
.getting-here { margin-top: 64px; }
.getting-here h2 { margin-bottom: 0.2em; }
.getting-here .info-card .icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }

/* Burbuja junto al botón de WhatsApp */
.wa-bubble {
  position: fixed;
  right: 92px; bottom: 30px;
  z-index: 60;
  max-width: 230px;
  background: var(--white);
  color: var(--ink);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 34px 12px 16px;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble a { color: inherit; text-decoration: none; display: block; }
.wa-bubble b { color: #128c4b; }
.wa-bubble button { position: absolute; top: 6px; right: 6px; border: 0; background: none; font-size: 1.1rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }

/* Planes de 48 horas */
.plan { margin-top: 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: clamp(24px, 4vw, 44px); }
.plan-head { display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.plan-head .plan-icon { font-size: 2.6rem; flex: none; }
.plan-head h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.plan > p { color: var(--muted); max-width: 760px; }
.plan-days { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
@media (max-width: 800px) { .plan-days { grid-template-columns: 1fr; } }
.plan-day h3 { font-size: 1.4rem; color: var(--brick); border-bottom: 1px solid var(--sand); padding-bottom: 8px; }
.plan-day ol { list-style: none; margin: 0; padding: 0; }
.plan-day li { position: relative; padding: 0 0 18px 26px; border-left: 1px dashed var(--stone); margin-left: 6px; }
.plan-day li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--brick); }
.plan-day li:last-child { border-left-color: transparent; }
.plan-day .when { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.plan-day li p { margin: 2px 0 0; }
.plan-cta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.plans-toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 30px; }
.plans-toc a { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-sm); padding: 16px 18px; text-decoration: none; color: var(--ink); font-weight: 500; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plans-toc a:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.plans-toc a span { font-size: 1.8rem; }

/* Guía del huésped y página de despedida */
.lang-switch { display: inline-flex; gap: 6px; margin-top: 22px; background: var(--white); border: 1px solid var(--sand); border-radius: 999px; padding: 4px; }
.lang-switch button { border: 0; background: none; font: inherit; font-size: 0.86rem; letter-spacing: .1em; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--brick); color: var(--white); }
[data-l]:not(.on) { display: none !important; }
.guest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.guest-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 26px 28px; }
.guest-card h2 { font-size: 1.6rem; display: flex; gap: 10px; align-items: center; }
.guest-card p, .guest-card li { color: var(--muted); }
.guest-card ul { padding-left: 1.1em; margin: 0; }
.guest-card li { margin-bottom: 6px; }
.wifi-box { display: grid; gap: 8px; background: var(--paper); border: 1px dashed var(--taupe); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 1.05rem; }
.wifi-box b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); letter-spacing: .03em; }
.copy-btn { justify-self: start; border: 1px solid var(--stone); background: var(--white); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.86rem; cursor: pointer; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.thanks-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; max-width: 760px; }
.thanks-steps li { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); padding: 18px 22px; }
.thanks-steps li b { display: block; font-family: var(--serif); font-size: 1.35rem; }

/* Páginas especiales (mascotas, grupos, San Mateo) */
.landing-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 34px; }
.landing-points .info-card .icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.landing-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.related a { border: 1px solid var(--stone); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--ink); background: var(--white); font-size: 0.92rem; }
.related a:hover { border-color: var(--brick); color: var(--brick); }

@media (prefers-reduced-motion: reduce) {
  .walkmap.anim .wm-pt { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .walkmap-box { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .walkmap svg { width: 640px; max-width: none; }
}
.getting-here .info-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 480px) {
  .weather { gap: 6px; }
  .weather-day { padding: 12px 2px; }
  .weather-day .wd { letter-spacing: .04em; font-size: 0.7rem; }
}
.gallery picture { display: block; width: 100%; height: 100%; }
/* Textos legales */
.map-consent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 32px;
  background: var(--sand);
  filter: none;
  color: var(--muted);
}
.map-consent .btn { margin: 4px 8px 4px 0; }
.footer-bottom .footer-legal { flex-basis: 100%; }
.post .disclaimer { font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--sand); padding-top: 16px; margin-top: 28px; }
.container > .disclaimer { font-size: 0.88rem; color: var(--muted); max-width: 760px; margin-top: 36px; }
.post.legal > p:first-of-type::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.post.legal h2 { font-size: 1.6rem; }
.post.legal ul { padding-left: 1.2em; }
.post.legal li { margin-bottom: 8px; }
mark.ph { background: #fde7a8; color: var(--ink); padding: 0 4px; border-radius: 3px; }

/* App instalable */
[data-install] svg { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }
.footer-app {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 6px; padding: 11px 20px;
  border-radius: 999px; border: 1px solid rgba(241, 230, 215, .35);
  background: transparent; color: #f1e6d7;
  font: inherit; font-size: .92rem; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-app:hover { background: var(--brick); border-color: var(--brick); color: var(--white); }
.footer-app:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.app-promo {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px 28px;
  margin-top: 40px; padding: 26px 30px;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.app-promo img { border-radius: 20px; box-shadow: var(--shadow-soft); }
.app-promo h3 { margin: 0 0 6px; }
.app-promo p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .app-promo { grid-template-columns: auto 1fr; align-items: start; padding: 22px; }
  .app-promo img { width: 64px; height: 64px; border-radius: 16px; }
  .app-promo .btn { grid-column: 1 / -1; }
}

.app-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin: 0 0 30px; color: var(--muted); max-width: 720px;
}
.app-strip .btn { padding: 10px 20px; font-size: .92rem; }

.app-dialog {
  border: 0; padding: 0; border-radius: var(--radius);
  width: min(440px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow);
}
.app-dialog::backdrop { background: rgba(35, 25, 19, .55); backdrop-filter: blur(3px); }
.app-dialog-box { position: relative; padding: 34px 28px 26px; text-align: center; }
.app-dialog-box img { display: block; margin: 0 auto; border-radius: 18px; box-shadow: var(--shadow-soft); }
.app-dialog h2 { font-size: 1.9rem; margin: 14px 0 16px; }
.app-dialog-close {
  position: absolute; top: 10px; right: 12px;
  width: 40px; height: 40px; border: 0; background: transparent;
  font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.app-steps { text-align: left; margin: 0 0 16px; padding-left: 1.3em; }
.app-steps li { margin-bottom: 10px; }
.app-note { font-size: .88rem; color: var(--muted); margin: 0; }

.offline-box { max-width: 760px; }
.offline-lang { padding: 22px 0; border-bottom: 1px solid var(--sand); }
.offline-lang .btn { margin: 4px 6px 0 0; }
.offline-call { margin-top: 26px; }
.app-strip-blog { margin: 22px 0 0; }
.post-cta-app { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(246, 239, 228, .2); font-size: .95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.post-cta-app .footer-app { margin: 0; }
