:root {
  --bg: #f7f2eb;
  --surface: #ffffff;
  --text: #2e2a28;
  --muted: #6c5a53;
  --brand: #7d1d2e;
  --brand-hover: #5e1421;
  --accent: #c99c76;
  --border: rgba(125, 29, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.nav-logo {
  width: 40px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-decoration: none;
  font-size: 1.1rem;
}

.brand-text {
  margin-left: 0.6rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.35rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 242, 235, 0.93);
  border-bottom: 1px solid rgba(125, 29, 46, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--brand);
}

/* LISTAS CON GUION SEGURO */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}

/* Botones */
.btn, .btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-top: 1rem;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(172, 143, 149, 0.25);
}

/* Botones WhatsApp */
.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.btn-icon {
  width: 22px !important;
  height: 22px !important;
  margin-right: 8px;
  border-radius: 0 !important;
  object-fit: contain;
  display: inline-block;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 0.65rem 1.15rem;
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand);
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  min-height: 85vh;
  position: relative;
  display: grid;
  place-items: center;
  color: #ffffff;
  background-image: linear-gradient(180deg, rgba(9, 15, 24, 0.45), rgba(9, 15, 24, 0.15)), url('recursos/3.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 24, 35, 0.15), rgba(15, 24, 35, 0.55));
}

.hero-content {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  max-width: 760px;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f2d8b7;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  margin: 0;
  line-height: 1.05;
  font-weight: 700;
}

.hero-text {
  margin: 1.25rem auto 2rem;
  font-size: 1.1rem;
  max-width: 42rem;
  color: #f7f2eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-meta div {
  background: rgba(79, 129, 82, 0.31);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-meta strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.hero-meta span {
  font-size: 0.85rem;
  color: #f3e4d9;
  line-height: 1.3;
}

/* Secciones */
.section-light {
  padding: 5rem 0;
  background: var(--bg);
}

.section-dark {
  padding: 5rem 0;
  background: #312521;
  color: #f4efe8;
}

.section-header {
  max-width: 670px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0.6rem 0 0;
}

.section-title {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.section-header-white .section-title,
.section-header-white h2 {
  color: #f3e4d9;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

/* Tarjetas */
.info-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(26, 20, 18, 0.06);
  padding: 2rem;
  border: 1px solid var(--border);
  align-self: start !important;
  height: fit-content !important;
}

.info-card h3 {
  margin-top: 0;
  color: var(--brand);
}

.info-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-grid strong {
  display: block;
  color: var(--brand);
  margin-bottom: 0.2rem;
}

.info-grid a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.info-grid a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* Redes Sociales Info Card */
.social-links-info {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.social-links-info a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.social-links-info a:hover {
  color: var(--brand);
  text-decoration: none;
}

.social-links-info img {
  width: 22px !important;
  height: 22px !important;
  border-radius: 0 !important;
  object-fit: contain;
  display: block;
}

/* Tarjetas de Habitaciones */
.room-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.room-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(12, 10, 10, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.room-card img {
  border-radius: 0;
  height: 220px;
}

.room-card h3 {
  margin: 1.2rem 1.2rem 0.5rem;
  color: #fff;
}

.room-card p {
  margin: 0 1.2rem 1.5rem;
  color: #ded3cd;
  font-size: 0.95rem;
}

/* Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-grid img {
  height: 240px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* Sección Contacto */
.split-section {
  padding: 5rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 16px 40px rgba(26, 20, 18, 0.06);
  border: 1px solid var(--border);
}

.contact-card h3 {
  margin-top: 0;
  color: var(--brand);
}

.contact-info {
  display: grid;
  gap: 1.1rem;
  margin: 1.5rem 0;
}

.contact-info div {
  display: grid;
  gap: 0.2rem;
}

.contact-info strong {
  font-size: 0.9rem;
  color: var(--brand);
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: #231815;
  color: #ccbdad;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0.2rem 0;
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-social a img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.footer-social a:hover img {
  transform: translateY(-3px);
  opacity: 1;
}

/* Banderas de Idioma */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-flag {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.lang-flag.active-lang {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  transform: scale(1.1);
}

.lang-flag:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

/* Diseño Responsivo UNIFICADO */
@media (max-width: 940px) {
  .grid-2,
  .room-grid,
  .gallery-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem; 
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    font-size: 0.95rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
  }

  .site-header:hover .site-nav,
  .site-header:focus-within .site-nav {
    max-height: 150px;
    opacity: 1;
    margin: 0.5rem 0;
  }

  .header-actions {
    flex-direction: row; 
    gap: 1.5rem;
    margin-top: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 3rem 0;
  }
}