/* ============================================================
   Hotel Lisboa México - lisboahotel.com.mx
   Professional Hotel Booking Design - Warm Mexico Theme
   ============================================================ */

:root {
  --primary:      #8b1a1a;
  --primary-dark: #5c0e0e;
  --accent:       #c8922a;
  --accent-light: #e8b84a;
  --teal:         #0d7377;
  --text:         #2c2c2c;
  --text-light:   #6b7280;
  --bg:           #fdf8f3;
  --white:        #ffffff;
  --border:       #e8ddd3;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.1);
  --shadow-md:    0 4px 12px rgba(0,0,0,.12);
  --shadow-lg:    0 10px 30px rgba(0,0,0,.15);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   .25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* ── Utilidades ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--primary-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.3px;
}
.site-logo span { color: var(--accent-light); }
.site-logo__icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Navegación ────────────────────────────────────────────── */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover, .site-nav a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  margin-left: 8px;
  border-radius: 20px !important;
}
.nav-cta:hover { background: var(--accent-light) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--white); }

/* Dropdown de ciudades */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { cursor: pointer; }
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
  border: 1px solid var(--border);
}
.nav-dropdown:hover .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a {
  display: block;
  padding: 9px 18px;
  color: var(--text) !important;
  font-size: .9rem !important;
  transition: background var(--transition);
  background: transparent !important;
}
.nav-dropdown__menu a:hover { background: var(--bg) !important; color: var(--primary) !important; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #b83030 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='rgba(255,255,255,.03)' d='M40 0l40 40-40 40L0 40z'/%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-block;
  background: rgba(200,146,42,.3);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Barra de búsqueda */
.search-bar {
  display: flex;
  gap: 0;
  max-width: 580px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.search-bar input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}
.search-bar button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 16px 28px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-bar button:hover { background: var(--accent-light); }

/* Tabs de búsqueda */
.hero__tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.hero__tab {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 18px;
  border-radius: 20px;
  font-size: .87rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.hero__tab:hover, .hero__tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Stats hero */
.hero__stats { display: flex; gap: 40px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.hero__stat { text-align: center; }
.hero__stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent-light); }
.hero__stat span { font-size: .83rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .5px; }

/* ── Sección ───────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section--alt { background: var(--white); }
.section--teal { background: linear-gradient(135deg, var(--teal), #095e62); color: var(--white); }
.section__header { text-align: center; margin-bottom: 40px; }
.section__label { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
                  text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--primary); letter-spacing: -.3px; }
.section--teal .section__label { color: var(--accent-light); }
.section--teal .section__title { color: var(--white); }

/* ── Ciudades Destacadas ────────────────────────────────────── */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.city-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.city-chip:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.city-chip__icon { font-size: 2rem; }
.city-chip__name { font-size: .95rem; font-weight: 700; color: var(--primary); transition: color var(--transition); }
.city-chip:hover .city-chip__name { color: var(--white); }
.city-chip__count { font-size: .78rem; color: var(--text-light); transition: color var(--transition); }
.city-chip:hover .city-chip__count { color: rgba(255,255,255,.7); }

/* ── Hotels Grid ───────────────────────────────────────────── */
.hotels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.hotel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hotel-card__img {
  height: 170px;
  background: linear-gradient(135deg, var(--primary) 0%, #b83030 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: rgba(255,255,255,.3);
}
.hotel-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.hotel-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.hotel-card__title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.3; }
.hotel-card__desc { font-size: .87rem; color: var(--text-light); flex: 1;
                    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hotel-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
}
.hotel-card__location { font-size: .8rem; color: var(--text-light); display: flex; gap: 4px; align-items: center; }

/* ── Botones ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--white); }
.btn--secondary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--sm { padding: 6px 14px; font-size: .82rem; }
.btn--lg { padding: 14px 32px; font-size: 1.05rem; border-radius: 40px; }

/* ── Página hotel detalle ───────────────────────────────────── */
.hotel-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 48px 0 36px;
}
.hotel-header__breadcrumb {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.hotel-header__breadcrumb a { color: rgba(255,255,255,.8); }
.hotel-header__breadcrumb a:hover { color: var(--white); }
.hotel-header__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.3px; margin-bottom: 10px; }
.hotel-header__city { color: rgba(255,255,255,.75); font-size: 1rem; }

.hotel-content { padding: 48px 0; }
.hotel-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

.hotel-body {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.hotel-body h1, .hotel-body h2, .hotel-body h3,
.hotel-body h4, .hotel-body h5, .hotel-body h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
  margin: 1.2em 0 .6em;
}
.hotel-body h1 { font-size: 1.9rem; }
.hotel-body h2 { font-size: 1.5rem; }
.hotel-body h3 { font-size: 1.2rem; }
.hotel-body p { margin-bottom: 1em; }
.hotel-body ul, .hotel-body ol { margin: .8em 0 1em 1.5em; }
.hotel-body li { margin-bottom: .4em; }
.hotel-body strong { color: var(--primary-dark); }
.hotel-body table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.hotel-body td, .hotel-body th { padding: 10px 14px; border: 1px solid var(--border); }
.hotel-body th { background: var(--bg); font-weight: 600; }

/* Sidebar */
.hotel-sidebar { position: sticky; top: 88px; }
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent);
  margin-bottom: 20px;
}
.booking-card__title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; text-align: center; }
.booking-card__sub { font-size: .85rem; color: var(--text-light); text-align: center; margin-bottom: 20px; }
.booking-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.booking-card__note { font-size: .78rem; color: var(--text-light); text-align: center; margin-top: 12px; }

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.info-card__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .8px;
                    font-weight: 700; color: var(--text-light); margin-bottom: 14px; }
.info-list { list-style: none; }
.info-list li { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0;
                font-size: .9rem; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* ── Página ciudad ──────────────────────────────────────────── */
.city-header {
  background: linear-gradient(135deg, var(--primary-dark), #b83030);
  color: var(--white);
  padding: 52px 0;
}
.city-header__back { font-size: .84rem; color: rgba(255,255,255,.7); margin-bottom: 14px; display: flex; gap: 6px; }
.city-header__back a { color: rgba(255,255,255,.85); }
.city-header__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.city-header__count { color: rgba(255,255,255,.75); font-size: 1rem; }

/* ── Blog ──────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card__img {
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, #b83030 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,.3);
}
.blog-card__body { padding: 20px; }
.blog-card__title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.3; }
.blog-card__excerpt { font-size: .87rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .8rem; color: var(--text-light); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .site-logo { margin-bottom: 14px; font-size: 1.1rem; }
.footer-desc { font-size: .9rem; line-height: 1.7; }
.footer-col h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
                 color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.footer-flag { font-size: 1.2rem; }

/* ── Header de hotel con foto real ─────────────────────── */
.hotel-header--photo {
  padding: 0; position: relative; min-height: 380px;
  display: flex; align-items: flex-end;
}
.hotel-header__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hotel-header__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.22) 55%, transparent 100%);
}
.hotel-header--photo .container {
  position: relative; z-index: 1; padding: 48px 20px 36px; width: 100%;
}
@media (max-width: 640px) {
  .hotel-header--photo { min-height: 280px; }
}

/* ── Amenidades detectadas automáticamente ───────────────── */
.amenities-section {
  margin-bottom: 28px;
  padding: 22px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.amenities-section__title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text-light); margin-bottom: 14px;
}
.amenities-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.amenity-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--text);
  padding: 6px 13px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.amenity-item svg {
  width: 14px; height: 14px; fill: var(--accent); flex-shrink: 0;
}

/* ── 404 ────────────────────────────────────────────────────── */
.not-found { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.not-found__code { font-size: 8rem; font-weight: 900; color: var(--border); line-height: 1; }
.not-found__title { font-size: 2rem; color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.not-found__text { color: var(--text-light); margin-bottom: 24px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hotel-layout { grid-template-columns: 1fr; }
  .hotel-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cities-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 640px) {
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
              background: var(--primary-dark); flex-direction: column; padding: 12px;
              box-shadow: var(--shadow-md); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; align-items: center; }
  .hero { padding: 50px 0 40px; }
  .search-bar { flex-direction: column; border-radius: var(--radius-lg); overflow: visible; box-shadow: none; }
  .search-bar input, .search-bar button { border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-md); }
  .hotels-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
