/* 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;
  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-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); }

/* 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;
  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; }

/* 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; }

/* 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; }
}
