/* ═══════════════════════════════════════════
   ESTANCIAS PAGE STYLES
   ═══════════════════════════════════════════ */

/* ── STAY TYPES (Permanentes / Temporales) ── */
.stay-types-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--cream);
}

.stay-types-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.stay-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.stay-type-group {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray-100);
  overflow: hidden;
  transition: all 0.5s var(--transition-smooth);
}

.stay-type-group:hover {
  box-shadow: var(--shadow-elevated);
}

.stay-type-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--warm-gray-100);
}

.stay-type-group.permanent .stay-type-group-head { background: linear-gradient(135deg, var(--sage-50), transparent); }
.stay-type-group.temporary .stay-type-group-head { background: linear-gradient(135deg, var(--sky-50), transparent); }

.stay-type-icon-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stay-type-group.permanent .stay-type-icon-lg { background: var(--sage-100); color: var(--sage-600); }
.stay-type-group.temporary .stay-type-icon-lg { background: var(--sky-100); color: var(--sky-500); }

.stay-type-icon-lg svg { width: 26px; height: 26px; }

.stay-type-group-head h3 { font-size: 1.35rem; margin-bottom: 4px; }

.stay-type-group-head p {
  font-size: 0.85rem;
  color: var(--warm-gray-400);
  font-weight: 300;
}

.stay-type-items { padding: 8px 32px 32px; }

.stay-type-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--warm-gray-100);
}

.stay-type-item:first-child { padding-top: 24px; }
.stay-type-item:last-child { border-bottom: none; padding-bottom: 0; }

.stay-type-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.stay-type-group.permanent .stay-type-badge { background: var(--sage-50); color: var(--sage-600); border: 1px solid var(--sage-100); }
.stay-type-group.temporary .stay-type-badge { background: var(--sky-50); color: var(--sky-500); border: 1px solid var(--sky-100); }

.stay-type-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.stay-type-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--warm-gray-50);
}

.stay-type-item-icon svg { width: 16px; height: 16px; color: var(--warm-gray-600); }

.stay-type-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--warm-gray-800);
}

.stay-type-item p {
  font-size: 0.88rem;
  color: var(--warm-gray-500);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 12px;
}

.stay-type-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--warm-gray-600);
  padding: 5px 12px;
  background: var(--warm-gray-50);
  border-radius: var(--radius-xl);
}

.stay-type-fact svg { width: 13px; height: 13px; flex-shrink: 0; }

.stay-type-group.permanent .stay-type-fact svg { color: var(--sage-500); }
.stay-type-group.temporary .stay-type-fact svg { color: var(--sky-500); }

@media (max-width: 900px) {
  .stay-types-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

.rooms-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--white);
}

.rooms-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.room-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  transition: all 0.5s var(--transition-smooth);
}

.room-main:hover {
  box-shadow: var(--shadow-elevated);
  border-color: transparent;
}

.room-main-image { aspect-ratio: 16/9; overflow: hidden; }

.room-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-image-placeholder.suite { background: linear-gradient(135deg, var(--cream) 0%, #E8DFD4 50%, #DCD0C0 100%); }
.room-image-placeholder.double { background: linear-gradient(135deg, var(--sage-50) 0%, #D8E4D0 50%, #C8D8BC 100%); }
.room-image-placeholder.single { background: linear-gradient(135deg, var(--sky-50) 0%, #D0E2EC 50%, #C0D8E4 100%); }
.room-image-placeholder.shared { background: linear-gradient(135deg, var(--gold-50) 0%, #E8E0CC 50%, #DCD0B8 100%); }

.room-image-placeholder svg { width: 60px; height: 60px; opacity: 0.2; }

.room-main-body { padding: 32px; }

.room-type-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius-xl);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.room-main h3 { font-size: 1.5rem; margin-bottom: 12px; }

.room-main p {
  font-size: 0.95rem;
  color: var(--warm-gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-amenity {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--warm-gray-600);
  padding: 6px 14px;
  background: var(--warm-gray-50);
  border-radius: var(--radius-xl);
}

.room-amenity svg { width: 14px; height: 14px; color: var(--sage-500); }

.rooms-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.room-side-card {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  display: flex;
  transition: all 0.5s var(--transition-smooth);
  cursor: pointer;
}

.room-side-card:hover {
  box-shadow: var(--shadow-medium);
  border-color: transparent;
  transform: translateX(4px);
}

.room-side-image { width: 140px; flex-shrink: 0; }

.room-side-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.room-side-body h3 { font-size: 1.1rem; margin-bottom: 6px; }

.room-side-body p {
  font-size: 0.82rem;
  color: var(--warm-gray-500);
  line-height: 1.6;
  font-weight: 300;
}

.room-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--sage-600);
  margin-top: 8px;
}

.room-price span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--warm-gray-400);
  font-weight: 400;
}

/* Features grid */
.room-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.room-feature-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--warm-gray-100);
  transition: all 0.4s var(--transition-smooth);
}

.room-feature-item:hover {
  border-color: var(--sage-200);
  box-shadow: var(--shadow-soft);
}

.room-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-50);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-feature-icon svg { width: 22px; height: 22px; color: var(--sage-500); }

.room-feature-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm-gray-800);
  margin-bottom: 4px;
}

.room-feature-item p {
  font-size: 0.78rem;
  color: var(--warm-gray-400);
  font-weight: 300;
}

/* Pricing table */
.pricing-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--off-white);
}

.pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray-100);
  overflow: hidden;
  transition: all 0.5s var(--transition-smooth);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--sage-300);
  box-shadow: var(--shadow-medium);
}

.pricing-card.featured::before {
  content: 'Recomendada';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 6px;
  background: var(--sage-500);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.pricing-body {
  padding: 36px 28px;
  text-align: center;
}

.pricing-card.featured .pricing-body {
  padding-top: 48px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--warm-gray-900);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.82rem;
  color: var(--warm-gray-400);
  margin-bottom: 20px;
  font-weight: 300;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--sage-600);
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 0.78rem;
  color: var(--warm-gray-400);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--warm-gray-100);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--warm-gray-600);
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--sage-500);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .rooms-showcase { grid-template-columns: 1fr; }
  .rooms-side { flex-direction: row; }
  .room-side-card { flex-direction: column; }
  .room-side-image { width: 100%; height: 120px; }
  .room-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .rooms-side { flex-direction: column; }
  .room-features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}
