/* ═══════════════════════════════════════════════════
   ME GUSTA SUCRE — Design System
   ═══════════════════════════════════════════════════ */

/* ─── FUENTES DE MARCA — Manual de Marca Me Gusta Sucre ─── */
@font-face {
  font-family: 'Aztec Beat';
  src: url('../fonts/AztecBeat.woff2') format('woff2'),
       url('../fonts/AztecBeat.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.woff2') format('woff2'),
       url('../fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* — Paleta de Marca (Manual de Marca Me Gusta Sucre) — */
  --red:        #d61a16;  /* Rojo Intenso: R214 G26 B22  */
  --red2:       #b01310;  /* Rojo oscuro hover            */
  --jet-black:  #000000;  /* Jet Black: fondo principal   */
  --pink:       #ffdcdc;  /* Rosa Empolvado: R255 G220 B220 */
  /* — Paleta complementaria del sitio — */
  --gold:   #e8a020;
  --gold2:  #d18c15;
  --dark:   #000000;
  --cream:  #fdf6ec;
  --cream2: #f7f0e4;
  --cream-2: #f5efe4;
  --text:   #111111;
  --muted:  #555555;
  --white:  #ffffff;
  /* Hospedaje palette */
  --teal:      #14b8a6;
  --teal-dark: #0f766e;
  --teal-pale: #99f6e4;
  --navy:      #0a1628;
  --sand:      #e8ddd0;
  --cafe:      #5aaa6a;
  --school:    #FF3B6B;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 500; /* Inter Medium — especificado en el manual */
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  color: var(--text);
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ─── TIPOGRAFIA — Jerarquía según Manual de Marca ─────────────────
   Titulares:  Aztec Beat · UPPERCASE · rojo
   Subtítulos: Inter · Bold · UPPERCASE
   Cuerpo:     Inter · Medium (500)
   CTA:        Inter · Bold · UPPERCASE · fondo rojo
   ─────────────────────────────────────────────────────────────── */

/* Titular — Aztec Beat siempre uppercase */
.serif { font-family: 'Aztec Beat', serif; text-transform: uppercase; }

/* Subtítulo — Inter Bold uppercase */
.subtitle-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Cuerpo — Inter Medium */
.body-brand { font-family: 'Inter', sans-serif; font-weight: 500; }

/* Accent (reemplaza Sacramento) */
.handwritten { font-family: 'Inter', sans-serif; font-weight: 500; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
}

/* ─── BUTTONS ─── */
.btn-red {
  background: var(--red);
  color: #fff;
  padding: 13px 30px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
  border: 2px solid var(--red);
}
.btn-red:hover { background: var(--red2); }

.btn-black {
  background: #000000;
  color: #fff;
  padding: 13px 30px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
  border: 2px solid #000000;
}
.btn-black:hover { background: #1a1a1a; border-color: #1a1a1a; }


.btn-outline {
  background: transparent;
  color: #fff;
  padding: 11px 28px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  padding: 11px 28px;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--text);
  transition: all 0.2s;
}
.btn-outline-dark:hover { background: var(--text); color: #fff; }

@media (hover: hover) {
  .btn-red:hover         { transform: translateY(-2px); }
  .btn-black:hover       { transform: translateY(-2px); }
  .btn-outline:hover     { transform: translateY(-2px); }
  .btn-outline-dark:hover{ transform: translateY(-2px); }
}

/* ─── NAVBAR ─── */
.top-bar {
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  transition: transform 0.3s ease;
}
.top-bar a { color: #fff; text-decoration: underline; margin-left: 6px; }
.top-bar a:hover { color: #fff; }

#navbar {
  transition: background 0.35s, box-shadow 0.35s, top 0.3s ease;
  top: 32px; /* Offset for top-bar */
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
  backdrop-filter: blur(12px);
  top: 0; /* Move to true top when scrolled, hiding top-bar */
}
/* Hide top bar on scroll using a JS class if needed, or stick to top */
body.scrolled-past .top-bar { transform: translateY(-100%); }

#navbar.scrolled .nav-link { color: var(--text) !important; }
#navbar.scrolled .logo-text { color: var(--dark) !important; }
#navbar.scrolled .logo-accent { color: var(--red) !important; }

/* Logo image — navbar */
.logo-img { height: 56px; width: auto; aspect-ratio: 1205 / 214; flex-shrink: 0; display: block; filter: brightness(0) invert(1); transition: filter 0.35s; }
#navbar.scrolled .logo-img { filter: none; }
.navbar-brand-logo { filter: brightness(0) invert(1); transition: filter 0.35s; }
#navbar.scrolled .navbar-brand-logo { filter: none; }

/* ─── LOGO WORDMARK ─── */
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  transition: color 0.35s;
  letter-spacing: 0.3px;
}
.logo-brand-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
}
#navbar.scrolled .logo-eyebrow { color: rgba(0,0,0,0.35); }

/* Default (transparent desktop nav) */
.lang-btn { color: rgba(255,255,255,0.5) !important; transition: color 0.2s; }
.lang-btn:hover { color: rgba(255,255,255,0.9) !important; }
.lang-btn.active { color: #ffffff !important; }

/* Scrolled desktop nav */
#navbar.scrolled .lang-btn { color: rgba(0,0,0,0.4) !important; }
#navbar.scrolled .lang-btn:hover { color: var(--text) !important; }
#navbar.scrolled .lang-btn.active { color: var(--text) !important; }
#navbar.scrolled .lang-sep { color: rgba(0,0,0,0.1) !important; }
#navbar.scrolled .lang-container { border-color: rgba(0,0,0,0.1) !important; }

/* Mobile menu nav */
#mobile-menu .lang-btn { color: rgba(0,0,0,0.4) !important; }
#mobile-menu .lang-btn:hover { color: var(--text) !important; }
#mobile-menu .lang-btn.active { color: var(--text) !important; }
#navbar.scrolled #menu-btn { color: var(--text) !important; }
#navbar.scrolled .btn-red-nav { background: var(--red) !important; }

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-link:hover::after, .nav-link.nav-active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--red) !important; }

/* ─── HERO ─── */
.hero-section {
  padding-top: 140px; /* Clear fixed navbar (32px top-bar + ~80px navbar + breathing room) */
}

.hero-kenburns {
  animation: kenburns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.08) translateX(0); }
  to   { transform: scale(1.0) translateX(-2%); }
}

/* ─── CARDS ─── */
.card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(26,18,10,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(26,18,10,0.14);
}
.card-img {
  transition: transform 0.7s ease;
}
.card:hover .card-img { transform: scale(1.05); }

/* ─── ATTRACTION BADGE ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214,26,22,0.09);
  border: 1px solid rgba(214,26,22,0.2);
  border-radius: 50px;
  padding: 4px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-gold {
  background: rgba(26,26,26,0.12);
  border-color: rgba(26,26,26,0.3);
  color: var(--dark);
}

/* ─── FADE UP ─── */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── TICKER ─── */
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-flex;
  animation: ticker 30s linear infinite;
  will-change: transform;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── DIVIDER ─── */
.divider-wave {
  height: 60px;
  background: inherit;
}

/* ─── PHOTO BLOCK ─── */
.photo-block {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.photo-block:hover img { transform: scale(1.05); }

/* ─── GALLERY GRID ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid .tall { grid-row: span 2; }

/* ─── POLAROID COMPONENT ─── */
.polaroid {
  background: #fff;
  padding: 12px 12px 48px 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.45s ease;
  position: relative;
  border: 1px solid #e5e5e5;
  cursor: pointer;
}
.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform 0.6s ease;
}
.polaroid:hover {
  transform: scale(1.12) rotate(0deg) !important;
  box-shadow: 0 36px 72px rgba(26,18,10,0.32), 0 8px 24px rgba(26,18,10,0.12);
  z-index: 50;
}
.polaroid:hover img {
  transform: scale(1.04);
}
.polaroid::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: #1a120a;
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.polaroid:hover::after {
  opacity: 1;
}

/* ─── SCHOOL POLAROID WALL — entrada escalonada + float idle ─── */
@keyframes pol-appear {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pol-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
.school-pol-wrap {
  animation:
    pol-appear 0.65s var(--pol-delay, 0s) cubic-bezier(0.175, 0.885, 0.32, 1.275) both,
    pol-float  var(--pol-dur, 5s) calc(var(--pol-delay, 0s) + 0.65s) ease-in-out infinite;
  animation-play-state: paused;
}
.fade-up.visible .school-pol-wrap {
  animation-play-state: running;
}

/* ─── FLOATING TAG ─── */
.float-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(214,26,22,0.2);
  border-radius: 0;
  padding: 8px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

/* ─── SECTION TITLES ─── */
.section-title {
  font-family: 'Aztec Beat', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  text-transform: uppercase; /* Aztec Beat siempre mayusculas — manual de marca */
  color: var(--dark);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

/* ─── SECTION NUMBERS ─── */
.sec-number {
  position: absolute;
  top: 32px;
  left: 48px;
  font-family: 'Aztec Beat', serif;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 220, 220, 0.6);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: 0;
}
@media (max-width: 640px) {
  .sec-number { left: 20px; font-size: 5rem; }
}

/* ─── BACKGROUND DECOR ─── */
.bg-text-decor {
  position: absolute;
  font-family: 'Aztec Beat', serif;
  font-weight: 400;
  font-size: 20vw;
  color: var(--pink);
  opacity: 0.2;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  white-space: nowrap;
}
.section-title .accent {
  color: var(--red);
}
.section-title .gold {
  color: var(--red);
}

/* ─── ROOM CARDS (Hospedaje) ─── */
.room-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(10,22,40,0.32) !important;
}
.room-card:hover .room-img {
  transform: scale(1.05);
}
.room-amenity {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #93c5fd;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  padding: 4px 12px;
  border-radius: 50px;
}
.room-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.room-cta:hover { opacity: 0.85; transform: translateX(3px); }
@media(max-width:768px) {
  .rooms-grid { grid-template-columns: 1fr !important; }
  .rooms-grid .room-card { grid-column: span 1 !important; grid-row: span 1 !important; }
  .room-dorm-inner { grid-template-columns: 1fr !important; }
}

/* ─── BRAND CARDS (Me Gusta Collection) ─── */
.brand-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.brand-card-body {
  flex: 1;
}
.brand-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.26);
}
.brand-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.brand-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.brand-card:hover .brand-card-img img {
  transform: scale(1.07);
}
.brand-card-overlay {
  position: absolute;
  inset: 0;
}
.brand-card-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  backdrop-filter: blur(8px);
}
.brand-card-body {
  padding: 24px 22px 28px;
}
.brand-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
}
.brand-card-name em { font-style: italic; }
.brand-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 20px;
}
.brand-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 9px 20px;
  border-radius: 0;
  background: var(--red) !important;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.brand-card:hover .brand-card-cta {
  opacity: 0.85;
  transform: translateX(4px);
}

/* ─── FOOTER ─── */
footer a { color: #aaa; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--red); }

/* ─── FOOTER REDESIGN ─────────────────────────────────────── */
.footer-main {
  background: #000000;
  color: #555;
  padding: 80px 0 0;
  border-top: 2px solid var(--pink);
  border-image: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  aspect-ratio: 1205 / 214;
}
.footer-wordmark {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.footer-wordmark em { color: var(--red); }
.footer-tagline {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  max-width: 280px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-nav-list { list-style: none; padding: 0; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a { color: #555; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-nav-list a:hover { color: #fff; }
.footer-loc { margin-bottom: 20px; }
.footer-loc:last-child { margin-bottom: 0; }
.footer-loc-brand {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--pink);
}
.footer-loc-brand--inn    { color: var(--pink); }
.footer-loc-brand--cafe   { color: var(--pink); }
.footer-loc-brand--school { color: var(--pink); }
.footer-loc-addr {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  margin-bottom: 5px;
}
.footer-loc-wa {
  font-size: 11px;
  font-weight: 700;
  color: #25d366;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-loc-wa:hover { opacity: 1; }
.footer-loc-link {
  font-size: 11px;
  font-weight: 700;
  color: #8b6c42;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-loc-link:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--red); text-decoration: none; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 640px) {
  .footer-main { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-brand { grid-column: span 1; }
}


/* ─── TESTIMONIALS MARQUEE ─── */
.testimonial-strip {
  overflow: hidden; /* fallback */
  overflow: clip;   /* prevents animation from escaping on iOS Safari */
  white-space: nowrap;
  margin-bottom: 20px;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.testimonial-track {
  display: inline-flex;
  gap: 20px;
  padding: 6px 0;
  will-change: transform;
}
.testimonial-track.scroll-left  { animation: rev-scroll-left  50s linear infinite; }
.testimonial-track.scroll-right { animation: rev-scroll-right 55s linear infinite; }
@keyframes rev-scroll-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes rev-scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); }    }
.testimonial-strip:hover .testimonial-track { animation-play-state: paused; }

.tcard {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(26,18,10,0.08);
  box-shadow: 0 4px 20px rgba(26,18,10,0.06);
  padding: 26px 28px 22px;
  width: 320px;
  min-width: 320px;
  white-space: normal;
  vertical-align: top;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: default;
}
.tcard:hover {
  box-shadow: 0 14px 44px rgba(26,18,10,0.13);
  transform: translateY(-5px);
}
.tcard-bg-mark {
  position: absolute;
  top: -10px;
  left: 14px;
  font-family: 'Aztec Beat', serif;
  font-size: 120px;
  color: var(--pink);
  opacity: 0.6;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.tcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tcard-stars { color: var(--red); font-size: 12px; letter-spacing: 1px; }
.tcard-service {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(214,26,22,0.08);
  border: 1px solid rgba(214,26,22,0.18);
  padding: 3px 10px;
  border-radius: 50px;
}
/* Cita testimonial — Inter italic (cuerpo, no titular) */
.tcard-quote {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  flex: 1;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.tcard-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.07);
  position: relative;
  z-index: 1;
}
.tcard-flag { font-size: 20px; line-height: 1; }
.tcard-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.tcard-country {
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  font-weight: 500;
}

/* ─── MAP ─── */
.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 0;
  filter: sepia(20%) contrast(95%);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
   ═══════════════════════════════════════════════════ */

/* ─── POLAROID FLOAT — desactivar en mobile y reduced-motion ─── */
@media (prefers-reduced-motion: reduce), (hover: none) {
  .school-pol-wrap {
    animation: pol-appear 0.65s var(--pol-delay, 0s) cubic-bezier(0.175, 0.885, 0.32, 1.275) both !important;
  }
}

/* ─── PHOTO STAGGER GRID — reset offsets below 768px ─── */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tall { grid-row: span 1; }
  .hero-content { padding-bottom: 60px !important; }
  .photo-stagger > div { margin-top: 0 !important; }
}

/* ─── NAV TABLET: hamburger menu below 1024px ─── */
@media (max-width: 1023px) {
  /* Hide desktop nav groups */
  #navbar .md\:flex { display: none !important; }
  /* Show hamburger */
  #navbar .md\:hidden { display: block !important; }
  /* Logo left-aligned (no absolute centering) */
  #navbar .md\:absolute { position: static !important; transform: none !important; }
}

/* ─── TABLET (768px – 1024px) ─── */
@media (min-width: 641px) and (max-width: 1024px) {
  /* Reduce heavy gaps in 2-col text/image layouts */
  .why-grid, .gastro-grid, .school-grid,
  .inn-grid, .cafe-grid, .cafe-intro-grid,
  .atm-grid { gap: 48px !important; }

  /* Section padding */
  section:not(.hero-section) {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  /* Gallery masonry: 3 cols on tablet */
  .gallery-masonry { columns: 3 !important; }
}

/* ─── MOBILE (≤ 640px) ─── */
@media (max-width: 640px) {
  /* Hide top bar — move navbar flush to top */
  .top-bar { display: none; }
  #navbar { top: 0 !important; }

  /* Reduce navbar logo size */
  .logo-text { font-size: 1.4rem !important; }
  .logo-img { height: 46px !important; width: auto !important; }
  .navbar-brand-logo { height: 46px !important; width: auto !important; }

  /* Hero: full viewport height on mobile so content never overflows into navbar */
  .hero-section {
    min-height: 100svh !important;
    padding-top: 90px !important;
    padding-bottom: 48px !important;
  }

  /* Section padding */
  section:not(.hero-section) {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* Photo stagger: normalize heights for single-column context */
  .photo-stagger > div { height: 200px !important; margin-top: 0 !important; }

  /* Gallery masonry: 2 cols on mobile */
  .gallery-masonry { columns: 2 !important; }
  .gallery-item { height: 160px !important; margin-bottom: 8px !important; }

  /* Menu item cards (image + text row layout) */
  .menu-card-row { grid-template-columns: 90px 1fr !important; }

  /* Reduce section text padding on mobile */
  .max-w-7xl.mx-auto { padding-left: 20px !important; padding-right: 20px !important; }

  /* CTA banner height */
  section[style*="height:500px"] > div,
  div[style*="height:500px"] { height: 380px !important; }

  /* Ticker text size */
  .ticker-track { font-size: 10px !important; letter-spacing: 1.5px !important; }

  /* Stats bar spacing in hero */
  .flex.flex-wrap.gap-8 { gap: 16px !important; }

  /* Footer: 2 cols on mobile for better use of space */
  footer .grid.md\:grid-cols-4 { grid-template-columns: 1fr 1fr !important; }


  /* Map frame */
  .map-frame { height: 300px !important; }

  /* ── Overflow fixes ──────────────────────────────────────── */

  /* hospedaje.html: container padding + narrative text padding */
  .container { padding-left: 20px !important; padding-right: 20px !important; }
  .s-narrative-text { padding: 40px 24px !important; }

  /* Blog CTA sections: collapse 3-column stats grid to 1 column.
     These divs use inline style="grid-template-columns:repeat(3,1fr)".
     Without this, 2rem headings overflow narrow columns past the viewport edge. */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   LAS CRÓNICAS — Blog section in guia.html
═══════════════════════════════════════════════════════════ */
.blog-section { padding: 80px 0; background: #ffffff; }
.blog-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid #e8dfd0; }
.blog-eyebrow { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.blog-title { font-family: 'Aztec Beat', serif; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; color: #111; line-height: 1; }
.blog-title em { color: var(--red); font-style: normal; }
.blog-sub { font-size: 14px; color: #777; max-width: 320px; line-height: 1.6; padding-bottom: 6px; }

/* Editorial Grid */
.blog-grid-premium { display: grid; grid-template-columns: 1.2fr 1fr; gap: 52px; align-items: stretch; }

/* Article Featured */
.art-featured { text-decoration: none; color: inherit; display: block; position: relative; grid-column: span 1; }
.art-featured .art-img-wrap { position: relative; height: 460px; overflow: hidden; margin-bottom: 24px; clip-path: inset(0 0 0 0); transition: clip-path 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.art-featured .art-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.art-featured:hover .art-img-wrap { clip-path: inset(20px 20px 20px 20px); }
.art-featured:hover .art-img-wrap img { transform: scale(1.1); }

.art-tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; background: rgba(214, 26, 22, 0.06); padding: 4px 12px; transition: all 0.3s; }
.art-featured:hover .art-tag, .art-minimal:hover .art-tag { background: var(--red); color: #fff; }

.art-title-lg { font-family: 'Inter', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: #111; line-height: 1.1; margin-bottom: 14px; transition: color 0.3s; }
.art-featured:hover .art-title-lg { color: var(--red); }

.art-excerpt { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 16px; max-width: 90%; }
.art-meta { font-size: 10px; font-weight: 700; color: #999; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }

/* Side List Minimal */
.art-side-list { display: flex; flex-direction: column; gap: 0; justify-content: space-between; }
.art-minimal { display: grid; grid-template-columns: 150px 1fr; gap: 24px; text-decoration: none; color: inherit; padding-bottom: 28px; border-bottom: 1px solid #e8dfd0; transition: transform 0.3s ease; }
.art-minimal:last-child { border-bottom: none; padding-bottom: 0; }
.art-minimal:hover { transform: translateX(10px); }

.art-minimal-img { height: 150px; overflow: hidden; }
.art-minimal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.art-minimal:hover .art-minimal-img img { transform: scale(1.1); }

.art-minimal-body { display: flex; flex-direction: column; justify-content: center; }
.art-minimal-title { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; color: #111; line-height: 1.2; margin-bottom: 8px; transition: color 0.3s; }
.art-minimal:hover .art-minimal-title { color: var(--red); }
.art-minimal-excerpt { font-size: 13px; color: #666; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1100px) {
  .blog-grid-premium { grid-template-columns: 1fr; gap: 48px; }
  .art-featured .art-img-wrap { height: 380px; }
  .blog-inner { padding: 0 24px; }
}

@media (max-width: 640px) {
  .art-minimal { grid-template-columns: 1fr; gap: 16px; }
  .art-minimal-img { height: 180px; }
  .art-featured .art-img-wrap { height: 280px; }
  .art-title-lg { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG POST PAGES — post-* components
═══════════════════════════════════════════════════════════ */
.post-hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; }
.post-hero-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%); }
.post-hero-body { position: relative; z-index: 1; padding: 0 48px 80px; max-width: 900px; }

.post-breadcrumb { display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 24px; }
.post-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.post-breadcrumb a:hover { color: #fff; }
.post-breadcrumb span { color: rgba(255,255,255,0.25); }

.post-tag { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #d61a16; margin-bottom: 16px; background: rgba(214,26,22,0.15); display: inline-block; padding: 6px 14px; }
.post-title { font-family: 'Aztec Beat', serif; text-transform: uppercase; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; color: #fff; line-height: 1.05; margin-bottom: 24px; }
.post-title em { color: #d61a16; font-style: normal; }
.post-meta { display: flex; align-items: center; gap: 12px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }
.post-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.25); }

.post-body { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }
.post-lead { font-family: 'Inter', sans-serif; font-weight: 500; font-size: clamp(1.2rem, 2.5vw, 1.6rem); color: #111; line-height: 1.6; margin-bottom: 56px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #888; text-decoration: none; margin-bottom: 48px; transition: gap 0.3s; }
.post-back:hover { gap: 14px; }

.post-section { margin-bottom: 64px; }
.post-section-eyebrow { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #d61a16; margin-bottom: 12px; }
.post-section-title { font-family: 'Aztec Beat', serif; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; color: #111; line-height: 1.15; margin-bottom: 24px; }
.post-section-title em { color: #d61a16; font-style: normal; }
.post-p { font-size: 16px; color: #444; line-height: 1.85; margin-bottom: 20px; }

.post-callout { background: #fdf8f3; border-left: 3px solid #d61a16; padding: 24px 28px; margin: 32px 0; }
.post-callout-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #d61a16; margin-bottom: 8px; }
.post-callout-text { font-size: 15px; color: #555; line-height: 1.75; font-style: italic; margin: 0; }

.post-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e8dfd0; border: 1px solid #e8dfd0; margin: 0 0 56px; }
.post-fact { background: #fff; padding: 24px; text-align: center; }
.post-fact-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #999; margin-bottom: 8px; }
.post-fact-value { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 700; color: #111; margin-bottom: 4px; }
.post-fact-desc { font-size: 12px; color: #888; line-height: 1.5; }

.post-divider { border: none; border-top: 1px solid #e8dfd0; margin: 0 0 64px; }

.post-related { padding: 80px 0; background: #f4f4f4; }
.post-related-inner { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.post-related-eyebrow { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #d61a16; margin-bottom: 8px; }
.post-related-title { font-family: 'Aztec Beat', serif; text-transform: uppercase; font-size: 2rem; font-weight: 400; color: #111; margin-bottom: 40px; }
.post-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-related-card { background: #fff; text-decoration: none; display: block; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.post-related-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.post-related-img { height: 180px; overflow: hidden; }
.post-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.post-related-card:hover .post-related-img img { transform: scale(1.05); }
.post-related-body { padding: 24px; }
.post-related-tag { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #d61a16; margin-bottom: 8px; }
.post-related-name { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: #111; margin-bottom: 8px; line-height: 1.3; }
.post-related-desc { font-size: 13px; color: #666; line-height: 1.6; }

@media (max-width: 768px) {
  .post-hero-body { padding: 0 24px 48px; }
  .post-body { padding: 48px 24px 80px; }
  .post-facts { grid-template-columns: 1fr 1fr; }
  .post-related-inner { padding: 0 24px; }
  .post-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .post-facts { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   BRANDS SECTION — index.html (Me Gusta Spanish + Café)
═══════════════════════════════════════════════════════════ */
.brands-section {
  background: #000000;
  padding: 100px 0;
}
.brands-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.brands-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 380px;
  padding-bottom: 4px;
}
.brands-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s ease;
}
.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.35);
}
.pcard-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.pcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.pcard:hover .pcard-img { transform: scale(1.07); }
.pcard-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.pcard-body { flex: 1; background: #1a1a1a; }
.pcard-inner { padding: 28px 28px 32px; }
.pcard-cat {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pcard-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.pcard-rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0 0 20px;
}
.pcard-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 24px;
}
.pcard-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: letter-spacing 0.2s;
}
.pcard:hover .pcard-cta { letter-spacing: 0.8px; }

@media (max-width: 900px) {
  .brands-header { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 24px 48px; }
  .brands-grid { grid-template-columns: 1fr; padding: 0 24px; gap: 16px; }
  .brands-section { padding: 72px 0; }
}

/* ═══════════════════════════════════════════════════════════
   SCALE-IN + DIVIDER LINE — Animation utilities
═══════════════════════════════════════════════════════════ */
.scale-in {
  opacity: 0;
  transform: scale(0.98) translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.scale-in.in {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.divider-line {
  height: 1px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.divider-line.in { transform: scaleX(1); }

/* ═══════════════════════════════════════════════════════════
   CLASES PAGE — School-specific components
═══════════════════════════════════════════════════════════ */

/* Buttons */
.school-btn-coral {
  display: inline-block;
  background: #FF3B6B;
  color: #fff;
  padding: 13px 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid #FF3B6B;
  transition: background 0.2s, transform 0.2s;
}
.school-btn-coral:hover { background: #e0204e; border-color: #e0204e; transform: translateY(-2px); }

.school-btn-teal {
  display: inline-block;
  background: transparent;
  color: #2ECEC4;
  padding: 11px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid #2ECEC4;
  transition: all 0.2s;
}
.school-btn-teal:hover { background: #2ECEC4; color: #0a1a18; transform: translateY(-2px); }

/* Programs section background */
.programs-section { background: #000000; }

/* Dark cards */
.school-dark-card {
  background: #111111;
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.school-dark-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.45);
}
.school-dark-card.coral { border-top-color: #FF3B6B; }
.school-dark-card.teal  { border-top-color: #FF3B6B; }

/* Editorial photo composition (split section) */
.school-editorial {
  position: relative;
  padding-bottom: 48px;
}
.photo-main {
  background: #fff;
  padding: 12px 12px 48px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  transform: rotate(-1.5deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  line-height: 0;
}
.school-editorial:hover .photo-main {
  transform: rotate(0deg);
  box-shadow: 0 20px 56px rgba(0,0,0,0.24), 0 4px 12px rgba(0,0,0,0.12);
}
.photo-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.school-editorial:hover .photo-main img { transform: scale(1.04); }
.photo-accent {
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 48%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.photo-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .photo-accent { right: 0; width: 44%; }
}
@media (max-width: 640px) {
  .photo-accent { display: none; }
  .school-editorial { padding-bottom: 0; }
  .school-dark-card { padding: 28px 24px 32px; }
}

/* ═══════════════════════════════════════════════════════════
   FOOD SECTION — guia.html
═══════════════════════════════════════════════════════════ */
.food-section {
  padding: 120px 0;
  background: #000000;
}
.food-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.food-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.food-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d61a16;
  margin-bottom: 14px;
}
.food-title {
  font-family: 'Aztec Beat', serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
}
.food-title em { color: #d61a16; font-style: normal; }
.food-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  max-width: 340px;
  padding-bottom: 6px;
}
.food-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.food-img-col { position: sticky; top: 100px; }
.food-img-wrap {
  position: relative;
  overflow: hidden;
  height: 560px;
}
.food-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cafe-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #1a0e06;
  padding: 24px 28px;
  text-decoration: none;
  transition: background 0.25s;
  border-top: 2px solid #5aaa6a;
}
.cafe-cta:hover { background: #2c1a0e; }
.cafe-cta-left { display: flex; align-items: center; gap: 16px; }
.cafe-cta-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #5aaa6a;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}
.cafe-cta-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5aaa6a;
  margin-bottom: 4px;
}
.cafe-cta-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.cafe-cta-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
}
.cafe-cta-arrow {
  font-size: 13px;
  font-weight: 700;
  color: #5aaa6a;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.cafe-cta:hover .cafe-cta-arrow { gap: 13px; }

.dish-list { display: flex; flex-direction: column; }
.dish-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dish-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.dish-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.dish-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.dish-name.featured { color: #d61a16; font-style: normal; }
.dish-name.gold     { color: #b8860b; font-style: normal; }
.dish-name.green    { color: #3a7d44; font-style: normal; }
.dish-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.dish-badge.red   { background: #d61a16; color: #fff; }
.dish-badge.gold  { background: #b8860b; color: #fff; }
.dish-badge.green { background: #3a7d44; color: #fff; }
.dish-badge.muted { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.dish-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.aji-note {
  margin-top: 36px;
  background: #1a1a1a;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-left: 3px solid #d61a16;
}
.aji-icon {
  width: 44px; height: 44px;
  background: rgba(214,26,22,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aji-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d61a16;
  margin-bottom: 6px;
}
.aji-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.aji-body {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .food-body { grid-template-columns: 1fr; gap: 48px; }
  .food-img-col { position: static; }
  .food-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .food-inner { padding: 0 24px; }
  .food-img-wrap { height: 400px; }
}


/* ═══════════════════════════════════════════════════════════
   MGCTA — Products cross-sell (guia.html)
═══════════════════════════════════════════════════════════ */
.mgcta {
  background: #0e0e0e;
}

/* ── Header ── */
.mgcta-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 48px 64px;
  text-align: center;
}
.mgcta-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: #d61a16;
  margin-bottom: 18px; display: block;
}
.mgcta-title {
  font-family: 'Aztec Beat', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400; color: #fff; line-height: 1.08;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.mgcta-title em {
  color: #d61a16; font-style: normal;
}
.mgcta-sub {
  font-size: 15px; color: rgba(255,255,255,0.38);
  line-height: 1.75; max-width: 560px; margin: 0 auto;
}

/* ── Grid ── */
.mgcta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── Card base ── */
.mgcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: opacity 0.2s;
}
.mgcard:last-child { border-right: none; }
.mgcard:hover { opacity: 0.92; }

/* ── School — full width ── */
.mgcard--school {
  grid-column: 1 / -1;
  min-height: 460px;
  border-right: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mgcard-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(0.25,0.46,0.45,0.94);
}
.mgcard--school:hover .mgcard-img { transform: scale(1.03); }
.mgcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(8,4,2,0.96) 0%,
    rgba(8,4,2,0.80) 45%,
    rgba(8,4,2,0.30) 100%
  );
}
.mgcard--school .mgcard-body {
  position: relative; z-index: 1;
  padding: 56px 60px 60px;
  max-width: 560px;
}

/* ── Hostal ── */
.mgcard--hostal {
  background: #000000;
  min-height: 380px;
}
.mgcard--hostal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: #000000;
}

/* ── Café ── */
.mgcard--cafe {
  background: #000000;
  min-height: 380px;
}
.mgcard--cafe::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: #5aaa6a;
}

/* ── Card body (hostal + café) ── */
.mgcard--hostal .mgcard-body,
.mgcard--cafe .mgcard-body {
  padding: 48px 44px 52px;
  display: flex; flex-direction: column;
  height: 100%;
}

/* ── Card content ── */
.mgcard-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px; display: block;
}
.mgcard--school .mgcard-tag  { color: #FF3B6B; }
.mgcard--hostal .mgcard-tag  { color: rgba(255,255,255,0.6); }
.mgcard--cafe   .mgcard-tag  { color: #5aaa6a; }

.mgcard-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  font-weight: 700; color: #fff; line-height: 1.1;
  margin-bottom: 14px;
}
.mgcard-line {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.75; margin-bottom: 24px;
}
.mgcard-price {
  font-size: 13px; color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
}
.mgcard-price strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem; color: #fff; font-weight: 700;
}
.mgcard-detail {
  font-size: 12px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px; margin-bottom: 28px;
  margin-top: auto;
}

/* ── Buttons ── */
.mgcard-btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.3px; text-decoration: none;
  align-self: flex-start;
  transition: filter 0.2s;
}
.mgcard-btn:hover { filter: brightness(1.1); }
.mgcard-btn--coral { background: transparent; color: #FF3B6B; border: 1px solid #FF3B6B; }
.mgcard-btn--black { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.mgcard-btn--green { background: transparent; color: #5aaa6a; border: 1px solid #5aaa6a; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .mgcta-header { padding: 72px 28px 48px; }
  .mgcard--school { min-height: 380px; }
  .mgcard--school .mgcard-body { padding: 40px 32px 44px; }
}
@media (max-width: 640px) {
  .mgcta-grid { grid-template-columns: 1fr; }
  .mgcard { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .mgcard--hostal .mgcard-body,
  .mgcard--cafe   .mgcard-body { padding: 36px 28px 40px; }
}

/* ═══════════════════════════════════════════════════════════
   EL MANIFIESTO — Founder's letter section
═══════════════════════════════════════════════════════════ */
.manifest-section {
  background: var(--pink);
  padding: 160px 24px;
}
.manifest-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.manifest-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #d61a16; margin-bottom: 20px;
}
.manifest-title {
  font-family: 'Aztec Beat', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; color: #111;
  line-height: 1.15; margin-bottom: 36px;
  text-transform: uppercase;
}
.manifest-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem; color: #000000;
  line-height: 2.2; margin-bottom: 40px;
  text-align: left; letter-spacing: -0.01em;
  opacity: 0.8;
}
.manifest-sig {
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 28px;
  text-align: right;
}
.manifest-sig-name {
  font-family: 'Aztec Beat', serif;
  font-size: 2.5rem; color: #111;
  font-weight: 400; text-transform: uppercase;
  line-height: 1.2; margin-bottom: 4px;
}
.manifest-sig-since {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  color: #999; letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .manifest-inner { padding: 0 24px; }
  .manifest-text { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   LOS CAPÍTULOS — Chapter navigation section
═══════════════════════════════════════════════════════════ */
.chapters-section {
  background: #ffffff;
  padding: 100px 0;
}
.chapters-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.chapters-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #d61a16; margin-bottom: 16px;
}
.chapters-title {
  font-family: 'Aztec Beat', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400; color: #000000;
  line-height: 1.1; margin-bottom: 56px;
  text-transform: uppercase;
}
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.chapter-card {
  position: relative;
  display: block;
  height: 500px;
  overflow: hidden;
  text-decoration: none;
  background: #111;
}
.chapter-img {
  position: absolute;
  inset: 0;
}
.chapter-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.chapter-card:hover .chapter-img img { transform: scale(1.05); }
.chapter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
}
.chapter-num {
  position: absolute;
  top: 28px; left: 28px;
  font-family: 'Aztec Beat', serif;
  font-size: 2.4rem; font-weight: 400;
  color: rgba(255,255,255,0.05);
  line-height: 1;
}
.chapter-body {
  position: absolute;
  bottom: 28px; left: 28px; right: 52px;
}
.chapter-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.45rem; font-weight: 700;
  color: #fff; line-height: 1.2;
  margin-bottom: 10px;
}
.chapter-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.chapter-arrow {
  position: absolute;
  bottom: 28px; right: 28px;
  font-size: 1.2rem; color: #d61a16;
  transition: transform 0.2s;
}
.chapter-card:hover .chapter-arrow { transform: translateX(4px); }
@media (max-width: 960px) {
  .chapters-grid { grid-template-columns: repeat(3, 1fr); }
  .chapters-inner { padding: 0 24px; }
}
@media (max-width: 640px) {
  .chapters-grid { grid-template-columns: 1fr; }
  .chapter-card { height: 380px; }
}

/* ═══════════════════════════════════════════════════════════
   SOCIAL PROOF — Stats bar
═══════════════════════════════════════════════════════════ */
.social-proof-section {
  background: #ffffff;
  padding: 72px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sp-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.sp-stat {
  padding: 0 56px;
  text-align: center;
}
.sp-num {
  font-family: 'Inter', sans-serif;
  font-size: 4rem; font-weight: 700;
  color: #111; line-height: 1;
  display: block; margin-bottom: 6px;
}
.sp-stars {
  display: block;
  font-size: 14px; color: #f5a623;
  margin-bottom: 8px; letter-spacing: 2px;
}
.sp-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  color: #888; text-transform: uppercase;
  letter-spacing: 2px;
}
.sp-divider {
  width: 1px; height: 60px;
  background: #e0d5c4;
}
@media (max-width: 640px) {
  .sp-stats { flex-direction: column; gap: 40px; }
  .sp-divider { width: 60px; height: 1px; }
  .sp-stat { padding: 0; }
}


/* =======================================================
   HOSPEDAJE PAGE
   ======================================================= */

/* 1. HERO */
.s-hero {
  position: relative; height: 85vh; min-height: 580px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: url('../imagenes/hostal/hostal_general/vista_terraza.webp') center/cover;
}
.s-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); }
.s-hero-content { position: relative; z-index: 10; padding: 90px 48px 0; width: 100%; }
.eyebrow-teal { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: block; }
.s-hero h1 { font-family: 'Aztec Beat', serif; font-size: clamp(3rem, 6vw, 5rem); font-weight: 400; text-transform: uppercase; color: #fff; line-height: 1.05; margin-bottom: 12px; }
.s-hero h1 em { color: var(--red); font-style: normal; }
.s-hero p { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 480px; margin-bottom: 48px; line-height: 1.7; }

/* Booking Bar */
.booking-bar { background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); border-radius: 0; padding: 24px 32px; display: flex; align-items: center; gap: 0; box-shadow: 0 -4px 40px rgba(0,0,0,0.15); max-width: 900px; }
.bb-field { flex: 1; padding: 0 24px; transition: background 0.15s; border-radius: 0; }
.bb-field:first-child { padding-left: 0; }
.bb-field:hover { background: rgba(214,26,22,0.04); }
.bb-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #999; margin-bottom: 4px; }
.bb-input { font-size: 14px; font-weight: 600; color: #111; border: none; outline: none; background: transparent; font-family: 'Inter', sans-serif; width: 100%; cursor: pointer; padding: 0; }
.bb-input[type="number"] { width: 48px; -moz-appearance: textfield; }
.bb-input[type="number"]::-webkit-inner-spin-button,
.bb-input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
.bb-input:focus { color: var(--red); }
.bb-div { width: 1px; height: 32px; background: rgba(0,0,0,0.1); flex-shrink: 0; }
.bb-btn { background: var(--red); color: #fff; padding: 14px 28px; border: none; border-radius: 0; font-weight: 700; font-size: 13px; white-space: nowrap; margin-left: 20px; cursor: pointer; transition: background 0.2s; }
.bb-btn:hover { background: #a81f27; }

/* 2. NARRATIVE */
.s-narrative { background: rgb(255,241,241); display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.s-narrative-text { padding: 80px 64px 80px 80px; display: flex; flex-direction: column; justify-content: center; }
.s-narrative-text .overline { font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 20px; display: block; }
.s-narrative-text h2 { font-family: 'Aztec Beat', serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; text-transform: uppercase; line-height: 1.1; margin-bottom: 24px; color: #111; }
.s-narrative-text h2 em { color: var(--red); font-style: normal; }
.s-narrative-text p { font-size: 16px; line-height: 1.85; color: #444; max-width: 420px; margin-bottom: 16px; }
.s-narrative-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.s-narrative-badge-item { background: rgba(214,26,22,0.08); border: 1px solid rgba(214,26,22,0.25); border-radius: 0; padding: 5px 14px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.s-narrative-img { position: relative; overflow: hidden; }
.s-narrative-img img { width: 100%; height: 100%; object-fit: cover; }
.s-narrative-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.3) 0%, transparent 50%); }
.s-narrative-float { position: absolute; bottom: 28px; left: 28px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-radius: 0; padding: 14px 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.s-narrative-float-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #999; margin-bottom: 2px; }
.s-narrative-float-value { font-size: 13px; font-weight: 700; color: #111; }

/* 3. ROOMS */
.s-rooms { background: #fff; padding: 96px 0 112px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-header { margin-bottom: 56px; }
.section-header h2 { font-family: 'Aztec Beat', serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; text-transform: uppercase; line-height: 1.1; margin-bottom: 12px; }
.section-header h2 em { color: var(--red); font-style: normal; }
.section-header p { font-size: 15px; color: #666; max-width: 480px; line-height: 1.75; }
.rooms-list { display: flex; flex-direction: column; gap: 20px; }
.room-card { display: grid; grid-template-columns: clamp(360px, 42%, 500px) 1fr; background: #fff; border-radius: 0; overflow: hidden; border: 1px solid var(--pink); transition: box-shadow 0.3s, transform 0.3s, border-bottom-color 0.3s; }
.room-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.12); transform: translateY(-4px); border-bottom: 3px solid var(--red); }
.room-card--alt { grid-template-columns: 1fr clamp(360px, 42%, 500px); }
.room-card--dark { background: #000; border-color: #000; }
.room-card--dark .room-card-name { color: #fff; }
.room-card--dark .room-card-desc { color: rgba(255,255,255,0.6); }
.room-card--dark .room-card-body { background: #000; }
.room-card--dark .chip { background: rgba(255,255,255,0.08); color: var(--pink); border-color: rgba(255,255,255,0.15); }
.room-card--dark .room-discount { background: rgba(255,220,220,0.06); border-color: rgba(255,220,220,0.25); color: var(--pink); }
.room-card--dark .room-discount-icon { color: var(--red); }
.room-card--alt .room-card-img { order: 2; }
.room-card--alt .room-card-body { order: 1; }
.room-card-img { position: relative; height: 380px; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.room-card:hover .room-card-img img { transform: scale(1.04); }
.room-card-badge { position: absolute; top: 20px; left: 20px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 0; z-index: 5; }
.room-card-price { position: absolute; bottom: 20px; right: 20px; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-radius: 0; padding: 12px 20px; text-align: right; z-index: 5; }
.room-card-price .num { font-family: 'Inter', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--red); line-height: 1; }
.room-card-price .unit { font-size: 11px; color: #888; margin-top: 2px; }
.room-card-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.room-card-name { font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 700; color: #111; margin-bottom: 10px; line-height: 1.15; }
.room-card-desc { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 20px; max-width: 340px; }
.room-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 0; background: var(--pink); color: var(--red); border: 1px solid rgba(214,26,22,0.3); }
.room-discount { display: flex; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid var(--red); border-radius: 0; padding: 10px 14px; margin-bottom: 24px; font-size: 12px; color: #333; line-height: 1.7; }
.room-discount-icon { font-size: 13px; font-weight: 800; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.room-card-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 13px 28px; border-radius: 0; font-weight: 700; font-size: 13px; text-decoration: none; align-self: flex-start; transition: background 0.2s, transform 0.15s; }
.room-card-cta:hover { background: #a81f27; transform: translateY(-1px); }
.room-dorm { background: #000; border-radius: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.room-dorm-img { overflow: hidden; position: relative; min-height: 340px; }
.room-dorm-img img { width: 100%; height: 100%; object-fit: cover; }
.room-dorm-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.room-dorm-price-wrap { margin-bottom: 18px; }
.room-dorm-price { font-family: 'Aztec Beat', serif; font-size: 2.2rem; font-weight: 400; color: var(--red); line-height: 1; }
.room-dorm-unit { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; }
.room-dorm-name { font-family: 'Inter', sans-serif; font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.room-dorm-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 16px; max-width: 320px; }
.room-dorm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-dark { font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 0; background: rgba(255,255,255,0.1); color: var(--pink); border: 1px solid rgba(255,255,255,0.2); }
.room-dorm-discount { background: rgba(255,220,220,0.08); border: 1px solid rgba(255,220,220,0.2); border-radius: 0; padding: 10px 14px; margin-bottom: 24px; font-size: 12px; color: var(--pink); line-height: 1.7; }
.room-dorm-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 13px 28px; border-radius: 0; font-weight: 700; font-size: 13px; text-decoration: none; align-self: flex-start; }

/* 4. AMENITIES */
.s-amenities { background: #000; padding: 80px 0 88px; }
.s-amenities .section-header h2 { color: #fff; }
.s-amenities .section-header h2 em { color: var(--red); font-style: normal; }
.s-amenities .section-header p { color: rgba(255,255,255,0.55); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #222; border-radius: 0; overflow: hidden; margin-bottom: 32px; }
.amenity-cell { background: #111; padding: 28px 24px; }
.amenity-icon { width: 40px; height: 40px; border-radius: 0; background: rgba(214,26,22,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.amenity-icon svg { width: 18px; height: 18px; stroke: var(--red); fill: none; }
.amenity-name { font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 3px; }
.amenity-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.55; }
.crossell-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cafe-banner { background: #000; border-radius: 0; display: flex; align-items: center; gap: 28px; padding: 32px 40px; }
.cafe-banner-img { width: 80px; height: 64px; object-fit: cover; border-radius: 0; flex-shrink: 0; opacity: 0.85; }
.cafe-banner-text { flex: 1; }
.cafe-banner-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--cafe); margin-bottom: 4px; }
.cafe-banner-title { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cafe-banner-title em { color: var(--cafe); font-style: italic; }
.cafe-banner-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.65; }
.cafe-banner-btn { color: #fff; padding: 10px 20px; border-radius: 0; font-weight: 700; font-size: 12px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.cafe-banner-btn--cafe { background: var(--cafe); }
.cafe-banner--green { background: linear-gradient(135deg,#0a1a0d 0%,#0f2d14 100%); }
.cafe-banner--green .cafe-banner-eyebrow { color: var(--cafe); }
.cafe-banner--green .cafe-banner-title em { color: var(--cafe); font-style: italic; }
.cafe-banner-btn--school { background: var(--school); }

/* 5. GALLERY */
.s-gallery { background: #fff; padding: 96px 0; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 300px 300px; gap: 12px; }
.g-cell { border-radius: 0; overflow: hidden; position: relative; }
.g-cell--tall { grid-row: span 2; }
.g-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.g-cell:hover img { transform: scale(1.05); }
.g-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%); }
.g-label { position: absolute; bottom: 20px; left: 20px; }
.g-pill { display: inline-block; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 0; padding: 5px 16px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; }

/* 6. BOOKING FORM */
.s-booking { background: #fff; padding: 96px 0 112px; }
.booking-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; max-width: 980px; margin: 0 auto; }
.booking-form-card { background: #fff; border-radius: 0; border: 1px solid var(--pink); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.booking-accent-line { height: 4px; background: var(--red); }
.booking-form-body { padding: 40px; }
.form-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #aaa; margin-bottom: 8px; }
.form-input { width: 100%; border: none; border-bottom: 1.5px solid rgba(0,0,0,0.12); padding: 10px 0; font-size: 14px; font-weight: 600; color: #111; background: transparent; outline: none; margin-bottom: 24px; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.room-option-light { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 0; border: 1.5px solid var(--pink); background: #fff; margin-bottom: 10px; cursor: pointer; transition: all 0.2s; }
.room-option-light:hover { border-color: var(--red); background: rgba(214,26,22,0.04); }
.room-option-light.sel { border-color: var(--red); background: rgba(214,26,22,0.06); }
.rol-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.15); flex-shrink: 0; }
.room-option-light.sel .rol-dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,26,22,0.2); }
.rol-text { font-size: 13px; font-weight: 600; color: #111; flex: 1; }
.rol-price { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--red); white-space: nowrap; }
.booking-summary { position: sticky; top: 20px; }
.summary-card { background: #000; border-radius: 0; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.35); }
.sum-accent { height: 3px; background: var(--red); }
.sum-body { padding: 28px; }
.sum-title { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.sum-thumb { width: 100%; height: 160px; object-fit: cover; border-radius: 0; margin-bottom: 18px; opacity: 0.9; }
.sum-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.sum-lbl { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.sum-val { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 22px; }
.sum-total-lbl { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.sum-total-num { font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; }
.sum-discount { background: rgba(255,220,220,0.08); border: 1px solid rgba(255,220,220,0.2); border-radius: 0; padding: 10px 12px; margin-bottom: 18px; }
.sum-discount p { font-size: 11px; color: var(--pink); line-height: 1.65; margin: 0; }
.sum-cta { width: 100%; background: var(--red); color: #fff; border: none; border-radius: 0; padding: 16px; font-weight: 700; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sum-note { text-align: center; font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 12px; }
.student-toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 14px 16px; border-radius: 0; border: 1.5px solid var(--pink); background: #fff; margin-bottom: 24px; transition: all 0.2s; user-select: none; }
.student-toggle:has(input:checked) { border-color: var(--red); background: rgba(214,26,22,0.04); }
.student-toggle input { display: none; }
.student-toggle-box { width: 20px; height: 20px; border-radius: 0; border: 2px solid rgba(0,0,0,0.2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.student-toggle:has(input:checked) .student-toggle-box { background: var(--red); border-color: var(--red); }
.student-toggle:has(input:checked) .student-toggle-box::after { content: ''; width: 5px; height: 9px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg) translateY(-1px); display: block; }
.student-toggle-text { font-size: 13px; font-weight: 600; color: #111; flex: 1; }
.student-toggle-badge { display: inline-block; background: rgba(214,26,22,0.1); color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 1.5px; padding: 2px 8px; border-radius: 0; margin-left: 8px; vertical-align: middle; }

/* 7. FINAL CTA */
.s-cta { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; background: url('../imagenes/hostal/hostal_general/terraza_1.webp') center/cover; }
.s-cta-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.85)); }
.s-cta-body { position: relative; z-index: 1; text-align: center; padding: 80px 24px; max-width: 600px; }
.s-cta-body h2 { font-family: 'Aztec Beat', serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.s-cta-body p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 400px; margin: 0 auto 36px; line-height: 1.75; }
.cta-btns { display: flex; justify-content: center; gap: 14px; }
.btn-primary { background: var(--red); color: #fff; padding: 15px 32px; border: 2px solid var(--red); border-radius: 0; font-weight: 700; font-size: 14px; text-decoration: none; }
.btn-outline-white { background: transparent; color: #fff; padding: 15px 32px; border: 2px solid rgba(255,255,255,0.35); border-radius: 0; font-weight: 700; font-size: 14px; text-decoration: none; }

@media (max-width: 900px) {
  .s-narrative, .room-card, .room-card--alt, .room-dorm, .amenities-grid, .crossell-banners, .booking-grid { grid-template-columns: 1fr; }
  .room-card-img { height: 300px; }
  .room-card--alt .room-card-img { order: 0; }
  .s-hero { min-height: 720px; }
  .s-hero-content { padding: 80px 20px 0; }
  .booking-bar { flex-direction: column; border-radius: 20px; padding: 20px; }
  .bb-field { border-bottom: 1px solid rgba(0,0,0,0.08); width: 100%; padding: 15px 0; }
  .bb-div { display: none; }
  .bb-btn { width: 100%; margin-left: 0; margin-top: 15px; }
  .booking-summary { position: static; margin-top: 32px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* Gallery: stack to single column */
  .s-gallery { padding: 60px 0; }
  .s-gallery .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 220px 180px;
  }
  .s-gallery .g-cell--tall { grid-row: span 1; }
  /* Booking form body padding */
  .booking-form-body { padding: 24px 20px; }
  /* CTA buttons stack */
  .cta-btns { flex-direction: column; align-items: center; }

  /* Cross-sell banners: compact horizontal card */
  .cafe-banner {
    padding: 20px;
    gap: 14px;
    align-items: center;
  }
  .cafe-banner-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    opacity: 0.9;
  }
  .cafe-banner-desc { display: none; }
  .cafe-banner-text { flex: 1; min-width: 0; }
  .cafe-banner-btn {
    padding: 10px 16px;
    font-size: 11px;
    flex-shrink: 0;
    align-self: center;
  }
}

/* =======================================================
   GUIA PAGE
   ======================================================= */

@keyframes calSlide1 {
  0%, 45% { opacity: 1 }
  50%, 95% { opacity: 0 }
  100% { opacity: 1 }
}
@keyframes calSlide2 {
  0%, 45% { opacity: 0 }
  50%, 95% { opacity: 0.7 }
  100% { opacity: 0 }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); box-shadow: 0 10px 28px rgba(90,170,106,0.35); }
  50% { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(90,170,106,0.45); }
}
.cafe-badge { animation: floatBadge 3s ease-in-out infinite; transition: transform 0.2s, box-shadow 0.2s; }
.cafe-badge:hover { animation: none; transform: translateY(-8px) scale(1.04); box-shadow: 0 22px 44px rgba(90,170,106,0.55) !important; }

.carousel-wrap { position: relative; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; align-items: stretch; }
.carousel-track::-webkit-scrollbar { display: none; }
.spot-card { flex: 0 0 340px; height: 460px; scroll-snap-align: start; position: relative; overflow: hidden; cursor: pointer; }
.spot-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.spot-card:hover > img { transform: scale(1.04); }
.spot-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 55%, transparent 100%); pointer-events: none; }
.daytrip-card { flex: 0 0 400px; scroll-snap-align: start; overflow: hidden; display: flex; flex-direction: column; }
.carousel-nav { display: flex; align-items: center; gap: 16px; margin-top: 24px; justify-content: flex-end; }
.carousel-arrow { width: 42px; height: 42px; border: 1.5px solid #ccc; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, border-color 0.15s; flex-shrink: 0; }
.carousel-arrow:hover { background: #111; border-color: #111; color: #fff !important; }
.carousel-counter { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; font-family: 'Inter', sans-serif; color: #999; min-width: 36px; text-align: center; }
.spots-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.spot-filter { padding: 8px 20px; border: 1.5px solid rgba(255,255,255,0.2); background: none; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.45); cursor: pointer; transition: all 0.15s; }
.spot-filter:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.spot-filter.active { background: #d61a16; border-color: #d61a16; color: #fff; }
.carousel-sides { display: flex; align-items: center; gap: 16px; }
.carousel-side-btn { flex-shrink: 0; width: 44px; height: 44px; border: 1.5px solid #ddd; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, border-color 0.15s; box-shadow: 0 4px 16px rgba(0,0,0,0.08); color: #111; }
.carousel-side-btn:hover { background: #111; border-color: #111; color: #fff; }
.carousel-counter-row { display: flex; justify-content: flex-end; margin-top: 16px; }
.spot-price { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.55); backdrop-filter: blur(10px); color: #f5d76e; padding: 5px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; font-family: 'Inter', sans-serif; }
@media (max-width: 640px) {
  .carousel-side-btn { width: 36px; height: 36px; }
  .carousel-sides { gap: 8px; }
}
.spot-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 24px; }
.spot-modal.open { display: flex; }
.spot-modal-inner { background: #fff; max-width: 820px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; max-height: 90vh; overflow: hidden; position: relative; }
.spot-modal-img { overflow: hidden; min-height: 280px; }
.spot-modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-modal-content { padding: 44px 40px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 640px) {
  .spot-card { flex: 0 0 84vw; height: 400px; }
  .daytrip-card { flex: 0 0 88vw; }
  .spot-modal-inner { grid-template-columns: 1fr; }
  .spot-modal-img { min-height: 200px; max-height: 220px; }
  .spot-modal-content { padding: 28px 24px; }
}
.editorial-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 24px; }
.editorial-modal.open { display: flex; }
.editorial-modal-inner { background: #fff; max-width: 600px; width: 100%; padding: 52px 48px 44px; position: relative; max-height: 88vh; overflow-y: auto; }
.editorial-modal-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #d61a16; margin-bottom: 14px; }
.editorial-modal-title { font-family: 'Inter', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: #111; line-height: 1.1; margin-bottom: 24px; }
.editorial-modal-divider { width: 40px; height: 2px; background: #d61a16; margin-bottom: 24px; }
.editorial-modal-desc { font-size: 14px; color: #555; line-height: 1.9; margin-bottom: 32px; }
.editorial-modal-cta { display: block; width: 100%; background: #d61a16; color: #fff; padding: 14px 24px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-decoration: none; transition: background 0.15s; }
.editorial-modal-cta:hover { background: #a81f27; }
.editorial-modal-close { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,0.08); border: none; width: 34px; height: 34px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
@media (max-width: 640px) {
  .editorial-modal-inner { padding: 40px 24px 32px; }
}
