/* ==========================================================================
   VDN Brands — pages/promociones.css
   Estilos exclusivos de promociones/. Los campos del formulario de la
   ventana «Me interesa» vienen de pages/contacto.css.
   ========================================================================== */

/* ---------- Encabezado ---------- */
.promo-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
}

.promo-hero__row .page-hero__lead {
  margin-top: 0;
}

.promo-pais {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.promo-pais__note {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Barra de categorías (fija al bajar) ---------- */
.promo-body {
  position: relative;
}

.promo-tabs {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(24px, 3vw, 40px);
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(12px);
}

.promo-tabs::-webkit-scrollbar {
  display: none;
}

.promo-tabs__link {
  flex-shrink: 0;
  white-space: nowrap;
}

.promo-tabs__link.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.promo-tabs__link.is-active .chip__num {
  color: var(--ink);
}

/* ---------- Categorías ---------- */
.promo-cat {
  padding-top: clamp(72px, 8vw, 120px);
  scroll-margin-top: 64px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Tarjeta de paquete ---------- */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-2);
  transition: border-color 0.3s ease, transform 0.45s var(--ease-snap), box-shadow 0.45s ease;
}

.plan:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.plan--featured {
  border-color: rgba(206, 215, 34, 0.55);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(206, 215, 34, 0.12), transparent 60%),
    var(--ink-2);
}

.plan--featured:hover {
  border-color: var(--accent);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: clamp(26px, 2.6vw, 36px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan__name {
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.plan__pitch {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.plan__desde {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan__amount {
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

/* Sin JavaScript se ven los dos importes: uno debajo del otro */
html:not([data-pais]) .plan__amount span {
  display: block;
}

.plan__unit {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.plan__save {
  align-self: flex-start;
  margin-top: -8px;
  padding: 6px 12px;
  border: 1px solid rgba(206, 215, 34, 0.45);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-2);
}

/* Visto lima */
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--accent);
}

.plan__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Acceso al asistente ---------- */
.promo-ai {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 16px;
  padding: 22px 26px 22px 30px;
  border: 1px solid rgba(206, 215, 34, 0.3);
  border-radius: var(--radius-md);
  background: radial-gradient(90% 160% at 0% 50%, rgba(206, 215, 34, 0.14), transparent 60%), var(--ink-2);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.promo-ai:hover {
  border-color: var(--accent);
}

.promo-ai__text {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 4px;
}

.promo-ai__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.promo-ai__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.promo-ai__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Cómo funciona ---------- */
.promo-steps-wrap {
  padding-top: clamp(96px, 10vw, 150px);
}

.promo-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  counter-reset: none;
}

@media (max-width: 1000px) {
  .promo-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .promo-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.promo-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border-top: 1px solid var(--line-strong);
}

.promo-step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.promo-step__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.promo-step__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Condiciones ---------- */
.promo-legal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: clamp(56px, 6vw, 88px) var(--section-y);
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.promo-legal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Ventana «Me interesa» ---------- */
.modal__form {
  gap: 28px;
}

.modal__title {
  padding-right: 48px;
}

.modal__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
}

.modal__cat {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal__success {
  min-height: 0;
  padding-block: 24px 8px;
}

.modal__success .form-success__text strong {
  color: var(--paper);
}

/* Desplegable con la misma línea que los demás campos */
.field__select {
  appearance: none;
  padding-right: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A09E98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 4px center / 18px no-repeat;
  cursor: pointer;
}

.field__select option {
  background: var(--ink-2);
  color: var(--paper);
}

.promo-pais .pais-switch__btn {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .pais-switch__cur {
    display: none;
  }
}

/* ---------- Promo destacada (la landing) ---------- */
.promo-flash {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(8px, 1vw, 16px);
  padding: 18px 22px 18px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background:
    radial-gradient(90% 180% at 0% 50%, rgba(206, 215, 34, 0.22), transparent 60%),
    var(--ink-2);
  box-shadow: 0 0 0 4px rgba(206, 215, 34, 0.06), 0 18px 50px rgba(206, 215, 34, 0.08);
  color: var(--paper);
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.4s var(--ease-snap);
}

.promo-flash:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(206, 215, 34, 0.1), 0 22px 60px rgba(206, 215, 34, 0.14);
}

.promo-flash__tag {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: promo-pulse 2.4s ease-in-out infinite;
}

.promo-flash__text {
  display: flex;
  flex: 1 1 300px;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.promo-flash__price {
  color: var(--accent);
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: -0.04em;
}

html:not([data-pais]) .promo-flash__price span + span::before {
  content: " / ";
  color: var(--muted);
}

.promo-flash__small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.promo-flash__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(206, 215, 34, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(206, 215, 34, 0); }
}

/* Tarjeta en promo: lima, con brillo */
.plan--promo {
  border-color: var(--accent);
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(206, 215, 34, 0.2), transparent 62%),
    var(--ink-2);
  box-shadow: 0 0 0 4px rgba(206, 215, 34, 0.07);
}

.plan--promo:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(206, 215, 34, 0.1), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.plan--promo .plan__amount {
  color: var(--accent);
}

.plan__badge--promo {
  animation: promo-pulse 2.4s ease-in-out infinite;
}

.plan__note {
  width: 100%;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.plan__name {
  scroll-margin-top: 170px;
}
