/* ============================================================
   GRUPO PLATANERAS — group.css
   Estilos específicos de la landing de grupo
   ============================================================ */

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-section {
  background: var(--teal);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ── HOTELES GRID ────────────────────────────────────────────── */
#hoteles {
  padding: var(--section-py) 0;
  background: var(--cream);
}
#hoteles .section-header {
  margin-bottom: 56px;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.hotel-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.hotel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.hotel-card-photo {
  display: block;
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: filter 0.3s;
  text-decoration: none;
}
.hotel-card:hover .hotel-card-photo { filter: brightness(1.05); }

.hotel-card-photo--placeholder {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hotel-card-photo--placeholder::after {
  content: '\f594';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}

.hotel-card-city {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(10,32,22,0.72);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hotel-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hotel-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hotel-card-meta i { color: var(--gold); margin-right: 4px; }

.hotel-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--teal-deep);
}

.hotel-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.hotel-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.hotel-card-amenities span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  background: rgba(27,107,58,0.08);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hotel-card-amenities i { font-size: 0.65rem; }

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--cream-dark);
}

.hotel-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hotel-card-price span {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.hotel-card-price strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.hotel-card-price small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hotel-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-card-wa {
  width: 44px;
  height: 44px;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.btn-card-wa:hover { background: #1dbd5a; transform: scale(1.05); }

.btn-card-view {
  background: var(--teal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn-card-view:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ── POR QUÉ ELEGIRNOS ───────────────────────────────────────── */
#por-que {
  padding: var(--section-py) 0;
  background: var(--white);
}
#por-que .section-header { margin-bottom: 56px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--cream-dark);
}
.why-item {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.25s;
}
.why-item:hover { background: var(--cream); }

.why-icon {
  width: 52px; height: 52px;
  background: rgba(27,107,58,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-icon i {
  font-size: 1.2rem;
  color: var(--teal);
}
.why-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 10px;
  font-family: var(--font-sans);
}
.why-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── GALERÍA (reutiliza el del style.css, sección diferente) ─── */
#galeria {
  padding: var(--section-py) 0;
  background: var(--cream);
}
#galeria .section-header { margin-bottom: 48px; }

/* ── CONTACTO HOTELES ────────────────────────────────────────── */
#contacto {
  padding: var(--section-py) 0;
  background: var(--teal-deep);
}
#contacto .section-header .section-label { color: var(--gold-light); }
#contacto .section-header .section-title { color: var(--white); }
#contacto .section-header .section-sub   { color: rgba(255,255,255,0.6); }

.contact-hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-hotel-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.25s, border-color 0.25s;
}
.contact-hotel-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.contact-hotel-card h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}
.contact-hotel-card h4 i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.contact-hotel-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}
.contact-hotel-card .btn-whatsapp {
  margin-top: auto;
  font-size: 0.78rem;
  padding: 10px 16px;
  justify-content: center;
}

/* ── NAVBAR overrides para grupo (siempre sólido) ────────────── */
#navbar.group-nav {
  background: var(--teal-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(10,30,18,0.18);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .contact-hotels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .hotels-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
}

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .contact-hotels-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hotel-card-photo { height: 200px; }
}
