/* ============================================================
   Cartel WIFI + NFC — estilos específicos del producto
   Paleta fresca: verde / esmeralda 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, #ECFDF5 0%, var(--blanco) 50%, #D1FAE5 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(16, 185, 129, 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: #059669;
  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: #059669;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}

.pd-hero-btns .btn-primary:hover {
  background: #047857;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

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

.pd-tent {
  position: relative;
  z-index: 2;
  width: 240px;
  background: var(--blanco);
  border-radius: 16px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(16, 185, 129, 0.1),
    0 32px 80px rgba(16, 185, 129, 0.14);
  border: 3px solid #E2E8F0;
  perspective: 800px;
}

.pd-tent-inner {
  padding: 2.2rem 1.6rem;
  text-align: center;
}

.pd-tent-wifi-icon {
  color: #059669;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
}

.pd-tent-text {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--texto);
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.pd-tent-divider {
  width: 40px;
  height: 2px;
  background: var(--borde);
  margin: 0 auto 1rem;
}

.pd-tent-nfc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--texto-suave);
  margin-bottom: 0.4rem;
}

.pd-tent-nfc span {
  font-size: 0.85rem;
  font-weight: 500;
}

.pd-tent-subtitle {
  font-size: 0.78rem;
  color: var(--texto-suave);
}

/* 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 #D1FAE5;
  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); }
}

/* ── PRECIO ─────────────────────────────────────────────── */
.pd-precio {
  background: var(--blanco);
  padding: 2rem 0 0;
}

.pd-precio-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  border-radius: 16px;
  padding: 2rem 2.5rem;
}

.pd-precio-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pd-precio-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--texto-suave);
}

.pd-precio-monto {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--texto);
  line-height: 1.1;
}

.pd-precio-monto span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--texto-suave);
}

.pd-precio-nota {
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-top: 0.25rem;
}

.pd-precio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #059669;
  color: var(--blanco);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  white-space: nowrap;
}

.pd-precio-inner .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.pd-precio-inner .btn-primary {
  background: #059669;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}

.pd-precio-inner .btn-primary:hover {
  background: #047857;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

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

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

.pd-benefit {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  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(16, 185, 129, 0.12);
  border-color: #10B981;
}

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

.pd-benefit-icon--verde {
  background: var(--blanco);
  border-color: #A7F3D0;
  color: #059669;
}

.pd-benefit-icon--azul {
  background: var(--azul-claro);
  border-color: #BFDBFE;
  color: var(--azul);
}

.pd-benefit-icon--ambar {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #D97706;
}

.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: #34D399;
}

.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: #34D399;
  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, #059669 0%, #047857 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: #ECFDF5;
}

.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: #059669;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}

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

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

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

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .pd-hero {
    background: linear-gradient(160deg, #ECFDF5 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-precio-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .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 {
    transform: none;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0;
  }

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

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

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