/* ==========================================================================
   JELODA - Software para Hostales y Albergues Juveniles (p/hostal/dom/index.css)
   Clean Code - Separación de Responsabilidades
   ========================================================================== */

/* ── Base layout ── */
.product-page-wrapper.hostal-page {
  padding-top: 160px !important;
  padding-bottom: 120px !important;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.product-bg-wave {
  position: absolute;
  top: 4%;
  right: -240px;
  width: 820px;
  height: auto;
  opacity: 0.28;
  z-index: 1;
  pointer-events: none;
  animation: floatSlowHostal 16s infinite ease-in-out;
}

.product-bg-wave img {
  width: 100%;
  height: auto;
}

@keyframes floatSlowHostal {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(2deg); }
}

/* ── Badge Sunset Wanderlust ── */
.badge-hostal-sunset {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.14) 0%, rgba(255, 167, 38, 0.08) 100%) !important;
  border: 1px solid rgba(255, 107, 74, 0.35) !important;
  color: #ff7a59 !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 20px rgba(255, 107, 74, 0.12) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.badge-hostal-sunset i {
  font-size: 16px !important;
  margin-right: 8px;
  color: #ff6b4a;
}

/* ── Gradientes & Títulos ── */
.text-sunset-gradient {
  background: linear-gradient(135deg, #ff6b4a 0%, #ffa726 50%, #ffcc80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hostal-hero-title {
  font-weight: 900 !important;
  font-size: 3.4rem !important;
  line-height: 1.15 !important;
  letter-spacing: -0.8px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .hostal-hero-title {
    font-size: 2.2rem !important;
  }
}

/* ── Botón Principal Sunset ── */
.btn-hostal-sunset {
  background: linear-gradient(135deg, #ff6b4a 0%, #f4511e 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0 2.4rem !important;
  height: 54px !important;
  line-height: 54px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  box-shadow: 0 8px 24px rgba(244, 81, 30, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.btn-hostal-sunset:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(244, 81, 30, 0.6) !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff7a59 0%, #ff5722 100%) !important;
}

/* ── Stats Hero ── */
.hero-stats-wrapper {
  max-width: 920px;
  margin: 0 auto;
}

.stat-item-premium {
  padding: 18px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item-premium:hover {
  background: rgba(255, 107, 74, 0.06);
  border-color: rgba(255, 107, 74, 0.3);
  transform: translateY(-3px);
}

.stat-number-sunset {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #ff7a59 0%, #ffa726 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label-premium {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a0aec0;
  margin-top: 5px;
}

/* ── Mac Window Frame & Mockups ── */
.mac-window-frame {
  background: #181d26;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mac-window-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 107, 74, 0.15);
}

.mac-window-header {
  background: #11151c;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-window-dots {
  display: flex;
  gap: 6px;
  margin-right: 12px;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot-red    { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green  { background: #27c93f; }

.mac-window-title {
  font-size: 0.78rem;
  color: #8b9bb4;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mac-window-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Answer-First Box (AEO Standard 2026) ── */
.answer-first-box {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.08) 0%, rgba(255, 167, 38, 0.03) 100%);
  border-left: 4px solid #ff6b4a;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  color: #e2e8f0;
  font-size: 1.02rem;
  line-height: 1.65;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.answer-first-box strong {
  color: #ffffff;
}

/* ── Showcase Bento Cards ── */
.hostal-showcase-card {
  background: rgba(22, 28, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.hostal-showcase-card:hover {
  border-color: rgba(255, 107, 74, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hostal-showcase-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.hostal-showcase-lead {
  font-size: 0.98rem;
  color: #a0aec0;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ── Listado de Features con Iconos ── */
.hostal-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hostal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.hostal-feature-item:last-child {
  margin-bottom: 0;
}

.hostal-feature-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 74, 0.12);
  border: 1px solid rgba(255, 107, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7a59;
}

.hostal-feature-icon i {
  font-size: 20px;
}

.hostal-feature-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.hostal-feature-item span {
  display: block;
  color: #8b9bb4;
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ── Tarjetas de Dormitorios & Camas Interactivas ── */
.dorm-card-preview {
  background: #141923;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.dorm-card-preview:hover {
  border-color: rgba(255, 107, 74, 0.3);
  transform: translateY(-2px);
}

.dorm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dorm-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.dorm-tag-mixed  { background: rgba(0, 180, 216, 0.18); color: #00b4d8; border: 1px solid rgba(0, 180, 216, 0.4); }
.dorm-tag-female { background: rgba(236, 72, 153, 0.18); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.4); }
.dorm-tag-priv   { background: rgba(255, 167, 38, 0.18); color: #ffa726; border: 1px solid rgba(255, 167, 38, 0.4); }

.bed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.bed-pill {
  padding: 6px 4px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.bed-occupied { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.bed-free     { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.bed-cleaning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

/* ── Pricing Card Hostal ── */
.pricing-card-hostal {
  background: linear-gradient(145deg, rgba(28, 35, 48, 0.9) 0%, rgba(18, 23, 33, 0.95) 100%);
  border: 1px solid rgba(255, 107, 74, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.pricing-card-hostal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b4a 0%, #ffa726 100%);
}

.pricing-header-hostal .pricing-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.pricing-header-hostal .pricing-desc {
  color: #8b9bb4;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 20px;
}

.pricing-amount-hostal {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-amount-hostal .currency {
  font-size: 1.8rem;
  color: #ff7a59;
}

.pricing-amount-hostal .period {
  font-size: 1rem;
  font-weight: 500;
  color: #8b9bb4;
}

.pricing-features-hostal {
  list-style: none;
  padding: 0;
  margin: 25px 0 35px;
  text-align: left;
}

.pricing-features-hostal li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d1d5db;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-hostal li .check {
  color: #ff7a59;
  font-size: 19px;
}

/* ── CTA Banner ── */
.hostal-cta-banner {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.15) 0%, rgba(255, 167, 38, 0.06) 100%);
  border: 1px solid rgba(255, 107, 74, 0.35);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hostal-cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
}

.hostal-cta-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.hostal-cta-guarantee {
  color: #8b9bb4;
  font-size: 0.86rem;
}
