/* ===========================================================
   RESERVAR SERVICIO ONLINE - Diseño Moderno
   Basado en activar-servicio-custom.css
   =========================================================== */

/* ---------- RESET BASE ---------- */
#rs-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2d3436;
  line-height: 1.6;
  grid-column: 1 / -1 !important;
  width: 100%;
  box-sizing: border-box;
}

/* ---------- CONTAINER ---------- */
.rs-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION ---------- */
.rs-section {
  padding: 60px 0;
}
.rs-section-light {
  background: #ffffff;
}

.rs-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.rs-section-label {
  display: inline-block;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rs-section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #0a1628;
  margin: 0;
  line-height: 1.2;
}

/* ---------- HERO ---------- */
.rs-hero {
  background: linear-gradient(135deg, #00e5ff 0%, #00b0d6 40%, #0088aa 100%);
  padding: 80px 0 60px;
  text-align: center;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.rs-hero-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.rs-hero-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- STEP CARDS ---------- */
.rs-step-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 28px;
  border: 1px solid #e9ecef;
  transition: all 0.4s ease;
}

.rs-step-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Active state */
.rs-step-active {
  border: 2px solid #00b0d6 !important;
  box-shadow: 0 8px 30px rgba(0, 176, 214, 0.25) !important;
}

/* Completed state */
.rs-step-completed {
  opacity: 0.55;
  filter: grayscale(0.6);
  border: 1px solid #d1d5db !important;
  box-shadow: none !important;
  pointer-events: none;
}

.rs-step-completed .rs-download-item {
  pointer-events: none;
  opacity: 0.7;
}

.rs-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00b0d6;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rs-step-title {
  font-size: 20px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 12px;
}

.rs-step-text {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  margin: 0 0 16px;
}

/* ---------- PHONE WRAP ---------- */
.rs-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 14px 24px;
  margin-bottom: 24px;
  border: 1px solid #e9ecef;
}

.rs-phone-number {
  font-size: 24px;
  font-weight: 800;
  color: #00b0d6;
  text-decoration: none;
  letter-spacing: 1px;
}

.rs-phone-number:hover {
  color: #0088aa;
}

/* ---------- DOWNLOAD GRID ---------- */
.rs-download-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.rs-download-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  border-radius: 14px;
  border: 1px solid #e9ecef;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.rs-download-item:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #00b0d6;
}

.rs-download-item img {
  height: 80px;
  width: auto;
}

.rs-download-label {
  font-size: 13px;
  font-weight: 600;
  color: #00b0d6;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- TERMS TOGGLE ---------- */
.rs-terms-wrap {
  margin: 20px 0;
  text-align: center;
}

.rs-terms-btn {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #00b0d6;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.rs-terms-btn:hover {
  background: #e0f7fa;
  border-color: #00b0d6;
}

.rs-terms-content {
  display: none;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 12px;
  text-align: left;
  max-height: 400px;
  overflow-y: auto;
}

.rs-terms-content.open {
  display: block;
  animation: rsFadeSlide 0.3s ease;
}

@keyframes rsFadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rs-terms-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 12px;
}

.rs-terms-content hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 16px 0;
}

.rs-terms-content ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.rs-terms-content ul li {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 4px;
}

.rs-terms-content a {
  color: #00b0d6;
  text-decoration: underline;
}

/* ---------- INFO BOX (sin precio, reserva gratuita) ---------- */
.rs-info-box {
  background: #e0f7fa;
  border: 1px solid #80deea;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
  text-align: center;
}

.rs-info-text {
  font-size: 15px;
  font-weight: 600;
  color: #0a1628;
  margin: 0;
  line-height: 1.6;
}

/* ---------- BUTTON ---------- */
.rs-btn-center {
  text-align: center;
  margin-top: 24px;
}

.rs-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.rs-btn-primary {
  background: #0a0a0a;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.35);
}

.rs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  background: #1a1a1a;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .rs-hero {
    padding: 50px 0 40px;
  }
  .rs-step-card {
    padding: 24px;
  }
  .rs-download-item {
    padding: 16px 20px;
  }
  .rs-download-item img {
    height: 60px;
  }
  .rs-phone-number {
    font-size: 20px;
  }
  .rs-btn {
    padding: 14px 28px;
    font-size: 14px;
  }
  .rs-info-box {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  .rs-download-grid {
    flex-direction: column;
    align-items: center;
  }
  .rs-section {
    padding: 40px 0;
  }
}
