/* alojamientosencazorla.com — REDISEÑO 2026
   Paleta naturaleza-tierra: verde bosque + terracota
   Tipografía: DM Serif Display (titulares) + Inter (cuerpo)
   Basado en auditoría visual competitiva
*/

/* Importar tipografías desde Google Fonts */
/* NOTA: Las fuentes se cargan desde HTML con preconnect para mejor rendimiento */
/* Ver <head> de cada página HTML para los <link> de Google Fonts */

:root {
  /* Paleta naturaleza-tierra 2026 */
  --verde-bosque: #2D5016;
  --verde-oliva: #6B7F3B;
  --terracota: #CC7A4A;
  --ambar: #D4A847;
  
  /* Fondos */
  --bg-principal: #FAFAF5;
  --bg-secundario: #F5E6CC;
  --card-bg: #ffffff;
  
  /* Textos */
  --texto-principal: #2C2C2C;
  --texto-secundario: #6B6B6B;
  
  /* Sistema */
  --border: rgba(44, 44, 44, 0.12);
  --shadow: 0 10px 30px rgba(44, 44, 44, 0.08);
  --shadow-hover: 0 16px 40px rgba(44, 44, 44, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --maxw: 1200px;
  
  /* Tipografía */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* Reset y base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--texto-principal);
  background: linear-gradient(180deg, var(--bg-principal) 0%, #fff 100%);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 400;
  color: var(--verde-bosque);
}

h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  margin-bottom: 0.875rem;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Enlaces */
a {
  color: var(--verde-oliva);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--verde-bosque);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--terracota);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Contenedor principal */
.container {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

/* Skip link (accesibilidad) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  border: 2px solid var(--verde-bosque);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 9999;
  font-weight: 600;
  color: var(--verde-bosque);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ==================== HEADER ==================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(250, 250, 245, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(44, 44, 44, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--verde-bosque);
}

.brand small {
  display: block;
  color: var(--texto-secundario);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Navegación */
nav.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

nav.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  color: var(--texto-principal);
}

nav.site-nav a:hover {
  background: rgba(107, 127, 59, 0.1);
  border-color: rgba(107, 127, 59, 0.25);
  color: var(--verde-bosque);
  text-decoration: none;
}

nav.site-nav a[rel="noopener"] {
  background: linear-gradient(135deg, var(--terracota), #B8694A);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(204, 122, 74, 0.3);
}

nav.site-nav a[rel="noopener"]:hover {
  background: linear-gradient(135deg, #B8694A, var(--terracota));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(204, 122, 74, 0.4);
}

/* Menú móvil toggle */
.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(107, 127, 59, 0.3);
  background: rgba(107, 127, 59, 0.12);
  color: var(--verde-bosque);
  padding: 0.625rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(107, 127, 59, 0.2);
}

.nav-toggle:active {
  transform: translateY(1px);
}

/* ==================== MAIN CONTENT ==================== */
main {
  padding: 2rem 0 3rem;
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--texto-secundario);
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--texto-secundario);
}

.breadcrumbs a:hover {
  color: var(--verde-oliva);
}

/* Hero section */
.hero {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  color: var(--verde-bosque);
}

.hero p {
  margin: 0;
  color: var(--texto-secundario);
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--verde-oliva), var(--verde-bosque));
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 80, 22, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(45, 80, 22, 0.35);
}

.btn-ghost {
  background: #fff;
  border-color: rgba(45, 80, 22, 0.3);
  color: var(--verde-bosque);
}

.btn-ghost:hover {
  background: rgba(107, 127, 59, 0.08);
  border-color: var(--verde-oliva);
}

.btn-accent {
  background: linear-gradient(135deg, var(--terracota), #B8694A);
  color: #fff;
  box-shadow: 0 8px 20px rgba(204, 122, 74, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #B8694A, var(--terracota));
  box-shadow: 0 12px 28px rgba(204, 122, 74, 0.4);
}

/* Grid layout */
.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}

/* Cards */
.card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--verde-bosque);
}

.card p {
  margin: 0;
  color: var(--texto-secundario);
  font-size: 1rem;
  line-height: 1.6;
}

.card a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card a.card-link:hover {
  text-decoration: none;
}

.card a.card-link:hover .card-title {
  color: var(--terracota);
  text-decoration: none;
}

.card .meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--texto-secundario);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* Pill/Badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(107, 127, 59, 0.3);
  border-radius: 999px;
  background: rgba(107, 127, 59, 0.12);
  font-size: 0.8125rem;
  color: var(--verde-bosque);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Section titles */
.section-title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  color: var(--verde-bosque);
}

/* CTA Hotel Box */
.cta-hotel-box {
  border: 2px solid rgba(204, 122, 74, 0.3);
  background: linear-gradient(135deg, rgba(245, 230, 204, 0.4), rgba(250, 250, 245, 0.8));
  border-radius: var(--radius);
  padding: 1.75rem;
}

.cta-hotel-box h3 {
  margin: 0 0 0.75rem;
  color: var(--verde-bosque);
}

.cta-hotel-box p {
  margin: 0.75rem 0;
  color: var(--texto-secundario);
}

.cta-hotel-box .btn {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 520px) {
  .cta-hotel-box .btn {
    width: auto;
  }
}

/* Article */
.article {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-header {
  padding: 2rem 2rem 1rem;
}

.article-header h1 {
  margin: 0 0 1rem;
  color: var(--verde-bosque);
}

.article-header .lede {
  margin: 0;
  color: var(--texto-secundario);
  max-width: 72ch;
  font-size: 1.125rem;
  line-height: 1.65;
}

.article-content {
  padding: 0 2rem 2rem;
}

.article-content h2 {
  margin: 2rem 0 1rem;
  color: var(--verde-bosque);
}

.article-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin: 0.5rem 0;
}

/* Figure */
.figure {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.figure figcaption {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--texto-secundario);
  background: rgba(250, 250, 245, 0.6);
  border-top: 1px solid var(--border);
  font-weight: 500;
}

/* Notice/Alert */
.notice {
  font-size: 0.9375rem;
  color: var(--texto-secundario);
  border-left: 4px solid var(--verde-oliva);
  padding: 1rem 1.25rem;
  background: rgba(107, 127, 59, 0.08);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* Photo grid */
.photo-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 760px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Widget embed */
.embed-widget {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: 1rem;
  overflow: hidden;
}

.embed-widget .civitatis-iframe {
  width: 100%;
  min-height: 640px;
  border: 0;
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .embed-widget .civitatis-iframe {
    min-height: 820px;
  }
}

/* ==================== FOOTER MEJORADO ==================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(245, 230, 204, 0.15));
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
}

.footer-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--verde-bosque);
  font-weight: 600;
  font-family: var(--font-body);
}



.footer-note{margin:.35rem 0 .75rem 0; font-size:.9rem; color: var(--texto-secundario);}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.625rem;
}

.footer-column a {
  color: var(--texto-secundario);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column a:hover {
  color: var(--verde-oliva);
  text-decoration: none;
}

.footer-info {
  color: var(--texto-secundario);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-info p {
  margin-bottom: 0.75rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--texto-secundario);
  font-size: 0.9375rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(107, 127, 59, 0.12);
  color: var(--verde-bosque);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--verde-oliva);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--texto-secundario);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--texto-secundario);
}

.footer-bottom a:hover {
  color: var(--verde-oliva);
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(44, 44, 44, 0.96);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 1.25rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner-text {
  flex: 1 1 300px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--ambar);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: var(--font-body);
}

.cookie-banner .btn-accept {
  background: var(--terracota);
  color: #fff;
}

.cookie-banner .btn-accept:hover {
  background: #B8694A;
}

.cookie-banner .btn-config {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner .btn-config:hover {
  background: rgba(255, 255, 255, 0.1);
}



.cookie-banner .btn-reject{
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-banner .btn-reject:hover{
  background: rgba(255,255,255,0.1);
}

/* Preferencias de cookies (modal) */
.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}
.cookie-modal.is-open{ display: block; }
.cookie-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.cookie-modal-panel{
  position: relative;
  width: min(92vw, 720px);
  max-height: min(80vh, 720px);
  overflow: auto;
  margin: 8vh auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}
.cookie-modal-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cookie-modal-header h2{
  margin:0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}
.cookie-modal-close{
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--texto-secundario);
}
.cookie-modal-body{
  padding: 1rem 1.25rem 0.75rem;
}
.cookie-modal-actions{
  display:flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}
.cookie-pref{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px dashed rgba(44,44,44,0.14);
}
.cookie-small{
  color: var(--texto-secundario);
  font-size: .95rem;
  margin: 0 0 .75rem 0;
}
.cookie-toggle{
  display:flex;
  align-items:center;
  gap: .5rem;
  min-width: 160px;
  justify-content: flex-end;
}
.cookie-toggle input{ width: 18px; height: 18px; }

.cookie-modal-actions .btn-primary,
.cookie-modal-actions .btn-secondary{
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-body);
}
.cookie-modal-actions .btn-primary{
  background: var(--terracota);
  color:#fff;
}
.cookie-modal-actions .btn-primary:hover{ background:#B8694A; }
.cookie-modal-actions .btn-secondary{
  background: transparent;
  border-color: rgba(44,44,44,0.22);
  color: var(--texto-principal);
}
.cookie-modal-actions .btn-secondary:hover{
  background: rgba(44,44,44,0.06);
}

/* Contenido externo bloqueado por consentimiento */
.embed-consent{
  position: relative;
}
.embed-placeholder{
  border: 1px dashed rgba(44,44,44,0.22);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: rgba(245,230,204,0.45);
  text-align: left;
}
.embed-placeholder p{ margin: 0 0 .75rem 0; }
.embed-placeholder .btn-embed{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: var(--terracota);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-right: .5rem;
}
.embed-placeholder .btn-embed:hover{ background:#B8694A; }
.embed-placeholder .btn-embed.btn-embed-secondary{
  background: transparent;
  color: var(--texto-principal);
  border: 1px solid rgba(44,44,44,0.22);
}
.embed-placeholder .btn-embed.btn-embed-secondary:hover{
  background: rgba(44,44,44,0.06);
}
.embed-consent iframe{ display:none; }
.embed-consent.is-enabled iframe{ display:block; }
.embed-consent.is-enabled .embed-placeholder{ display:none; }

/* Enlaces sociales desactivados */
.footer-social a.social-disabled{
  opacity: .55;
  pointer-events: none;
}

/* ==================== ICONOS SVG ==================== */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  fill: currentColor;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

.icon-lg {
  width: 1.75em;
  height: 1.75em;
}

/* ==================== UTILITIES ==================== */
.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* ==================== RESPONSIVE MOBILE MENU ==================== */
@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav.site-nav {
    width: 100%;
  }

  html.js nav.site-nav ul {
    display: none;
  }

  html.js nav.site-nav.is-open ul {
    display: flex;
  }

  nav.site-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding-top: 1rem;
    max-height: 70vh;
    overflow: auto;
  }

  nav.site-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.875rem 1.25rem;
  }

  /* Hero responsive */
  .hero {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Cards mobile */
  .card-body {
    padding: 1.25rem;
  }

  /* Article mobile */
  .article-header,
  .article-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Footer mobile */
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Cookie banner mobile */
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner button {
    width: 100%;
  }
}

/* ==================== ACCESIBILIDAD ==================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== PERFORMANCE ==================== */
.card,
.section,
.cta-hotel-box {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* ==================== WETRAVELHUB (BOTONES FIJOS) ==================== */
/* Forzamos el anclaje del widget a centro-derecha cuando se usa como botón fixed. */
.hth-button[hth-position="fixed"] {
  position: fixed !important;
  top: 50% !important;
  bottom: auto !important;
  left: auto !important;
  right: 16px !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 9999 !important;
}

/* Ajuste definitivo: centro derecha (evita que el script lo deje arriba/centrado) */
.hth-button[hth-position="fixed"] {
  position: fixed !important;
  top: 50% !important;
  bottom: auto !important;
  right: 16px !important;
  left: auto !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;
}


/* Modal de vídeo (YouTube) */
.video-modal{
  position: fixed;
  inset: 0;
  z-index: 230;
  display: none;
}
.video-modal.is-open{ display:block; }
.video-modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
}
.video-modal-panel{
  position: relative;
  width: min(92vw, 920px);
  max-height: min(84vh, 760px);
  overflow: auto;
  margin: 7vh auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  outline: none;
}
.video-modal-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.video-modal-header h2{
  margin:0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}
.video-modal-close{
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--texto-secundario);
}
.video-modal-body{
  padding: 1rem 1.25rem 1.25rem;
}

/* Iframe responsive del vídeo */
.video-embed iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}


/* Share box */
.share-box{margin:1.25rem 0;padding:1.25rem;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(135deg, rgba(107,127,59,.10), rgba(250,250,245,.88));}
.share-title{margin:0 0 .75rem;color:var(--verde-bosque);font-weight:700;}
.share-actions{display:flex;flex-wrap:wrap;gap:.75rem;}
@media (max-width:520px){.share-box{padding:1rem}.share-actions .btn{width:100%}}
