/* ============================================================
   Sistema de Gestión de Reservas — estilos específicos del producto
   Paleta técnica: índigo como acento principal
   Complementa ../../assets/css/style.css
============================================================ */

/* ── HERO ───────────────────────────────────────────────── */
.pd-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #EEF2FF 0%, var(--blanco) 50%, #E0E7FF 100%);
}

.pd-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pd-hero-bg .shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.pd-hero-bg .shape-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.pd-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.pd-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.pd-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--texto);
  margin-bottom: 20px;
}

.pd-hero-title .highlight {
  color: #4F46E5;
  position: relative;
}

.pd-hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--azul);
  border-radius: 2px;
  opacity: 0.25;
}

.pd-hero-sub {
  font-size: 1.1rem;
  color: var(--texto-suave);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.pd-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pd-hero-btns .btn-primary {
  background: #4F46E5;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.pd-hero-btns .btn-primary:hover {
  background: #4338CA;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

/* ── MOCKUP DASHBOARD ───────────────────────────────────── */
.pd-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.pd-dashboard {
  position: relative;
  z-index: 2;
  width: 380px;
  background: var(--blanco);
  border-radius: 12px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(79, 70, 229, 0.1),
    0 32px 80px rgba(79, 70, 229, 0.14);
  overflow: hidden;
  border: 3px solid #E2E8F0;
  display: flex;
  height: 300px;
}

.pd-dash-sidebar {
  width: 56px;
  background: #1E1B4B;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pd-dash-logo {
  width: 28px;
  height: 28px;
  background: #6366F1;
  border-radius: 8px;
  margin-bottom: 12px;
}

.pd-dash-nav-item {
  width: 32px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.pd-dash-nav-item.active {
  background: #818CF8;
}

.pd-dash-main {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-dash-search {
  width: 140px;
  height: 10px;
  background: #E2E8F0;
  border-radius: 5px;
}

.pd-dash-avatar {
  width: 22px;
  height: 22px;
  background: #C7D2FE;
  border-radius: 50%;
}

.pd-dash-stats {
  display: flex;
  gap: 8px;
}

.pd-dash-stat {
  flex: 1;
  background: #EEF2FF;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.pd-dash-stat-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #4F46E5;
  line-height: 1.2;
}

.pd-dash-stat-label {
  font-size: 0.45rem;
  color: #64748B;
  margin-top: 2px;
}

.pd-dash-calendar {
  flex: 1;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  padding: 8px;
}

.pd-dash-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pd-dash-cal-title {
  width: 60px;
  height: 6px;
  background: #CBD5E1;
  border-radius: 3px;
}

.pd-dash-cal-nav {
  display: flex;
  gap: 4px;
}

.pd-dash-cal-nav span {
  width: 12px;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
}

.pd-dash-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.pd-dash-cal-day {
  aspect-ratio: 1;
  background: #F1F5F9;
  border-radius: 4px;
}

.pd-dash-cal-day.filled {
  background: #C7D2FE;
}

.pd-dash-cal-day.highlight {
  background: #4F46E5;
}

/* Tarjetas flotantes */
.pd-hero-float {
  position: absolute;
  background: var(--blanco);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #E0E7FF;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 4;
}

.pd-hero-float span:first-child {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.pd-float-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--texto);
  white-space: nowrap;
}

.pd-float-sub {
  font-size: 0.66rem;
  color: var(--texto-suave);
  white-space: nowrap;
  margin-top: 1px;
}

.pd-float-1 {
  top: 70px;
  right: -10px;
  animation: floatCard 3.6s ease-in-out infinite;
}

.pd-float-2 {
  bottom: 100px;
  right: 10px;
  animation: floatCard 4.2s ease-in-out infinite 0.9s;
}

.pd-float-3 {
  top: 180px;
  left: 0;
  animation: floatCard 3.9s ease-in-out infinite 1.6s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ── BENEFICIOS ─────────────────────────────────────────── */
.pd-beneficios {
  background: var(--blanco);
}

.pd-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pd-benefit {
  background: #EEF2FF;
  border: 1.5px solid #C7D2FE;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pd-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.12);
  border-color: #6366F1;
}

.pd-benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--blanco);
  border: 1.5px solid #C7D2FE;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4F46E5;
  margin-bottom: 1.25rem;
}

.pd-benefit-icon--indigo {
  background: var(--blanco);
  border-color: #C7D2FE;
  color: #4F46E5;
}

.pd-benefit-icon--verde {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #16A34A;
}

.pd-benefit h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 0.5rem;
}

.pd-benefit p {
  font-size: 0.88rem;
  color: var(--texto-suave);
  line-height: 1.65;
}

/* ── CÓMO FUNCIONA ──────────────────────────────────────── */
.pd-como {
  background: #0F172A;
  color: var(--blanco);
}

.pd-como .section-label {
  color: #A5B4FC;
}

.pd-como .section-title {
  color: var(--blanco);
}

.pd-como .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.pd-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.pd-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  flex: 1;
  max-width: 280px;
  transition: transform 0.2s, background 0.2s;
}

.pd-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.pd-step-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: #A5B4FC;
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1rem;
}

.pd-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 0.6rem;
}

.pd-step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.pd-step-arrow {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.2);
  padding-top: 4rem;
  flex-shrink: 0;
  user-select: none;
}

/* ── PARA QUIÉN ES ──────────────────────────────────────── */
.pd-usuarios {
  background: linear-gradient(160deg, #4F46E5 0%, #4338CA 100%);
  color: var(--blanco);
}

.pd-usuarios .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.pd-usuarios .section-title {
  color: var(--blanco);
}

.pd-usuarios-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.pd-usuarios-izq {
  position: sticky;
  top: 100px;
}

.pd-usuarios-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-top: 1.5rem;
}

.pd-usuarios-der {
  display: flex;
  flex-direction: column;
}

.pd-user-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pd-user-card:first-child {
  padding-top: 0;
}

.pd-user-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pd-user-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blanco);
}

.pd-user-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ── CTA ─────────────────────────────────────────────────── */
.pd-cta {
  background: #EEF2FF;
}

.pd-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.pd-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--texto);
  margin-bottom: 16px;
}

.pd-cta-inner p {
  font-size: 1.02rem;
  color: var(--texto-suave);
  margin-bottom: 32px;
  line-height: 1.65;
}

.pd-cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pd-cta-btns .btn-primary {
  background: #4F46E5;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.pd-cta-btns .btn-primary:hover {
  background: #4338CA;
}

.pd-cta-btns .btn-secondary {
  border-color: #4F46E5;
  color: #4F46E5;
}

.pd-cta-btns .btn-secondary:hover {
  background: #E0E7FF;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .pd-hero {
    background: linear-gradient(160deg, #EEF2FF 0%, var(--blanco) 100%);
  }

  .pd-hero .container {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .pd-hero-visual {
    display: none;
  }

  .pd-hero-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .pd-hero-sub {
    font-size: 0.93rem;
  }

  .pd-hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .pd-hero-btns .btn {
    justify-content: center;
    width: 100%;
  }

  .pd-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-steps {
    flex-direction: column;
    align-items: center;
  }

  .pd-step {
    max-width: 100%;
    width: 100%;
  }

  .pd-step-arrow {
    font-size: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .pd-step-arrow::after {
    content: '↓';
    font-size: 1.8rem;
  }

  .pd-usuarios-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pd-usuarios-izq {
    position: static;
  }
}
