/* ============================================================
   LOGRA MÁS · Página Productos (/productos)
   Banner + características + cotizador (estilo Maquimas, dark)
   ============================================================ */

/* ---------- Banner ---------- */
.prod-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}
.prod-banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.prod-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, .94) 0%, rgba(10, 4, 24, .72) 45%, rgba(2, 6, 23, .35) 100%);
}
.prod-banner-content {
  position: relative; z-index: 2;
  padding-top: 7rem; padding-bottom: 4rem;
  max-width: 720px;
}
.prod-banner-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--purple-light);
  background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .35);
  padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.prod-banner-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08;
  font-weight: 900; color: var(--text);
}
.prod-banner-content p {
  margin: 1.1rem 0 1.8rem; color: var(--text-2); font-size: 1.1rem; max-width: 540px;
}

/* ---------- Características (carousel) ---------- */
.prod-caracteristicas {
  padding: 4.5rem 0;
  background: var(--bg-2);
}
.seccion-titulo { margin-bottom: 2rem; }
.seccion-titulo h3 {
  display: inline-block; font-size: 1.9rem; font-weight: 800; color: var(--text);
  position: relative; padding-bottom: .5rem;
}
.seccion-titulo h3:after {
  content: ''; display: block; height: 5px; width: 60px;
  border-radius: 999px; margin-top: .5rem;
  background: var(--grad);
}
.prod-carousel { position: relative; }
.prod-carousel-track { position: relative; overflow: hidden; border-radius: 24px; }
.prod-slide {
  position: relative; display: none; min-height: 430px;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-card);
}
.prod-slide.active { display: block; animation: prodFade .5s ease; }
@keyframes prodFade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
.prod-slide-media { position: absolute; inset: 0; }
.prod-slide-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-slide-media:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, .95) 0%, rgba(2, 6, 23, .55) 55%, rgba(2, 6, 23, .15) 100%);
}
.prod-slide-caption {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 1.3rem; min-height: 430px; padding: 3rem; max-width: 640px;
}
.prod-slide-icon {
  width: 74px; height: 74px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(139, 92, 246, .2); border: 1px solid rgba(139, 92, 246, .45);
  color: #fff; font-size: 2rem;
  box-shadow: 0 0 30px rgba(139, 92, 246, .35);
}
.prod-slide-txt span {
  font-size: 1.6rem; font-weight: 800; color: #fff;
  font-family: var(--font-head);
}
.prod-slide-txt p { margin-top: .5rem; color: var(--text-2); font-size: 1.05rem; line-height: 1.6; }
.prod-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(15, 23, 42, .75); border: 1px solid var(--stroke-strong);
  color: var(--text); font-size: 1.5rem; display: grid; place-items: center;
  transition: all .25s; cursor: pointer;
}
.prod-arrow:hover { background: var(--grad); border-color: transparent; box-shadow: var(--shadow-glow); }
.prod-arrow-prev { left: 1rem; }
.prod-arrow-next { right: 1rem; }
.prod-dots {
  display: flex; justify-content: center; gap: .55rem; margin-top: 1.4rem;
}
.prod-dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .2); transition: all .25s;
}
.prod-dot.active { background: var(--primary); width: 26px; box-shadow: 0 0 12px var(--primary-glow); }

/* ---------- Cotizador ---------- */
.formulario-section {
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, .12), transparent 55%), var(--bg);
}
.formulario-container {
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.formulario-container:before {
  content: ''; position: absolute; top: -160px; right: -160px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 70%);
  pointer-events: none;
}
.formulario-head { margin-bottom: 2rem; position: relative; }
.titulo-formulario {
  display: inline-block; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--text); position: relative; padding-bottom: .6rem;
}
.titulo-formulario:after {
  content: ''; display: block; height: 5px; width: 60px;
  border-radius: 999px; margin-top: .6rem; background: var(--grad);
}
.instrucciones-formulario {
  margin-top: 1.1rem; color: var(--text-2); font-size: 1rem; line-height: 1.7; max-width: 640px;
}
.formulario-suenos { position: relative; }
.req { color: var(--tertiary); font-size: .7rem; vertical-align: middle; }
.hp-field {
  position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; overflow: hidden;
}
.f-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-group input.form-control {
  width: 100%;
  padding: .85rem 1rem;
  background: rgba(2, 6, 23, .5);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
.input-group .select-wrap select {
  padding: .85rem 2.6rem .85rem 2.7rem;
  background: rgba(2, 6, 23, .5);
}
.input-group input.form-control:focus,
.input-group .select-wrap select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
}

.ld-valor-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1.1rem; align-items: center;
  margin-bottom: .4rem;
}
.valor-fijo {
  min-width: 130px; text-align: center;
  font-size: 1.35rem; font-weight: 800; color: #fff;
  background: var(--grad); border-radius: 12px; padding: .65rem 1rem;
  box-shadow: 0 4px 20px rgba(109, 40, 217, .4);
}

.check-formulario-compacto {
  display: flex; align-items: flex-start; gap: .6rem;
  margin: .8rem 0; font-size: .88rem; color: var(--text-2); line-height: 1.5;
}
.check-formulario-compacto input[type='checkbox'] {
  width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--primary); flex: none;
}
.terminos-link {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: var(--purple-light); text-decoration: underline; font-size: inherit;
}
.terminos-link:hover { color: var(--tertiary); }

.btn-enviar { margin-top: .6rem; font-size: 1.05rem; }
.spin { display: inline-block; animation: prodSpin 1s linear infinite; }
@keyframes prodSpin { to { transform: rotate(360deg); } }

/* ---------- Éxito ---------- */
.lead-ok {
  position: relative; text-align: center; padding: 2.5rem 1rem;
}
.lead-ok-icon {
  width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.4rem; color: #fff;
  background: rgba(16, 185, 129, .18); border: 1px solid rgba(16, 185, 129, .5);
  box-shadow: 0 0 40px rgba(16, 185, 129, .35);
}
.lead-ok h2 { font-size: 1.8rem; color: var(--secondary); margin-bottom: .5rem; }
.lead-ok h3 { font-size: 1.15rem; color: var(--text); margin-bottom: .6rem; }
.lead-ok p { color: var(--text-2); max-width: 520px; margin: 0 auto; }

/* ---------- Planifica la compra ---------- */
.planifica-section {
  padding: 4.5rem 0;
  background: var(--bg);
}
.plan-tabs {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem;
}
.plan-tab {
  padding: .7rem 1.4rem; border-radius: 999px; border: 1px solid var(--stroke);
  background: var(--surface-hover); color: var(--text-2);
  font-weight: 700; font-size: .92rem; transition: all .25s;
}
.plan-tab:hover { border-color: var(--primary); color: var(--text); }
.plan-tab.active {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 18px rgba(109, 40, 217, .4);
}
.plan-pane {
  display: none; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  background: var(--surface-solid); border: 1px solid var(--stroke);
  border-radius: 24px; padding: 1.8rem; box-shadow: var(--shadow-card);
}
.plan-pane.active { display: grid; animation: prodFade .4s ease; }
.plan-pane-media { border-radius: 18px; overflow: hidden; border: 1px solid var(--stroke); }
.plan-pane-media img { width: 100%; height: auto; display: block; }
.plan-pane-txt h4 { font-size: 1.5rem; font-weight: 800; margin-bottom: .8rem; }
.plan-pane-txt p { color: var(--text-2); line-height: 1.7; margin-bottom: 1.4rem; }

/* ---------- Conoce a nuestros clientes ---------- */
.clientes-section {
  padding: 4.5rem 0;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, .1), transparent 60%), var(--bg-2);
}
.clientes-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem;
}
.cliente-card {
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .25s, border-color .25s;
}
.cliente-card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .5); }
.cliente-stars { color: #fbbf24; display: flex; gap: .2rem; font-size: 1.05rem; }
.cliente-quote { color: var(--text-2); font-size: .95rem; line-height: 1.7; flex: 1; }
.cliente-foot { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--stroke); padding-top: 1rem; }
.cliente-foot img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--primary); }
.cliente-foot b { display: block; font-size: .95rem; }
.cliente-foot span { color: var(--text-3); font-size: .82rem; }

/* ---------- Promoción TU CARRO NUEVO ---------- */
.promo-section {
  padding: 5.5rem 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 92, 246, .22), transparent 60%), var(--bg);
  overflow: hidden;
  position: relative;
}
.promo-card {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center;
  border-radius: 32px; padding: 3rem;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .35);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, .16), rgba(2, 6, 23, .35) 55%),
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, .12), transparent 45%),
    linear-gradient(160deg, #150b2e 0%, #0b0618 60%, #020617 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.promo-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 32px; z-index: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(201, 163, 251, .45) 45%, rgba(16, 185, 129, .4) 60%, transparent 80%);
  filter: blur(24px); opacity: .5;
  animation: promoBorder 6s ease-in-out infinite;
}
@keyframes promoBorder {
  0%, 100% { opacity: .3; transform: translateX(-4%); }
  50%      { opacity: .7; transform: translateX(4%); }
}
.promo-burbuja {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201, 163, 251, .4), rgba(139, 92, 246, .08) 70%);
  filter: blur(6px);
}
.promo-burbuja-1 { width: 130px; height: 130px; top: -40px; left: -30px; animation: promoFloat 9s ease-in-out infinite; }
.promo-burbuja-2 { width: 90px; height: 90px; bottom: 20px; left: 40%; animation: promoFloat 12s ease-in-out infinite reverse; background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, .35), rgba(16, 185, 129, .06) 70%); }
.promo-burbuja-3 { width: 160px; height: 160px; right: -50px; bottom: -60px; animation: promoFloat 10s ease-in-out infinite 1s; }
@keyframes promoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
.promo-media { position: relative; z-index: 1; border-radius: 24px; overflow: hidden; border: 1px solid rgba(139, 92, 246, .35); box-shadow: var(--shadow-glow); transform: rotate(-1.5deg); transition: transform .4s ease; }
.promo-card:hover .promo-media { transform: rotate(0deg) scale(1.02); }
.promo-media img { width: 100%; height: auto; display: block; }
.promo-sticker {
  position: absolute; z-index: 3; top: 1.4rem; right: 1.4rem;
  width: 108px; height: 108px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  background: radial-gradient(circle at 30% 25%, #fcd34d, #f59e0b 70%);
  color: #0f172a; text-align: center; line-height: 1.05;
  box-shadow: 0 10px 30px rgba(245, 158, 11, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
  animation: promoSticker 3.5s ease-in-out infinite;
}
.promo-sticker::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px dashed rgba(245, 158, 11, .55); animation: promoSpin 14s linear infinite;
}
@keyframes promoSticker {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(6deg); }
}
@keyframes promoSpin { to { transform: rotate(360deg); } }
.promo-sticker-num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 900; }
.promo-sticker-txt { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.promo-txt { position: relative; z-index: 1; }
.promo-txt h3 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: .9rem; line-height: 1.05; }
.promo-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fbbf24;
  background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .4);
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, .25);
}
.promo-txt p { color: var(--text-2); font-size: 1.08rem; line-height: 1.7; margin-bottom: 1.4rem; max-width: 480px; }
.promo-stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: .9rem; margin-bottom: 1.5rem;
}
.promo-stat {
  min-width: 104px; text-align: center; padding: .8rem .7rem;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; backdrop-filter: blur(8px);
}
.promo-stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-stat span { font-size: .72rem; color: var(--text-3); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.promo-beneficios { list-style: none; margin: 0 0 1.8rem; display: grid; gap: .65rem; }
.promo-beneficios li { display: flex; align-items: center; gap: .6rem; color: var(--text-2); font-size: .98rem; }
.promo-beneficios i { color: var(--secondary); font-size: 1.15rem; }
.promo-cta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.btn-glow { box-shadow: 0 12px 34px rgba(139, 92, 246, .5); animation: ctaPulse 2.6s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(139, 92, 246, .45); }
  50%      { box-shadow: 0 12px 44px rgba(139, 92, 246, .7); }
}
.promo-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--wa); font-weight: 700; font-size: .98rem; text-decoration: none;
  padding: .7rem 1.1rem; border-radius: 12px; border: 1px solid rgba(37, 211, 102, .35);
  background: rgba(37, 211, 102, .08); transition: all .25s;
}
.promo-wa:hover { background: rgba(37, 211, 102, .16); transform: translateY(-2px); }
.promo-wa i { font-size: 1.3rem; }

/* ---------- Modal privacidad ---------- */
.privacidad-texto { color: var(--text-2); font-size: .92rem; line-height: 1.7; }
.privacidad-texto p { margin-bottom: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .prod-banner { min-height: 70vh; }
  .formulario-container { padding: 1.6rem; }
  .f-grid-2 { grid-template-columns: 1fr; }
  .ld-valor-row { grid-template-columns: 1fr; }
  .valor-fijo { min-width: 0; }
  .prod-slide, .prod-slide-caption { min-height: 380px; }
  .prod-slide-caption { padding: 1.6rem; }
  .prod-slide-txt span { font-size: 1.25rem; }
  .prod-arrow { width: 40px; height: 40px; }
  .plan-pane { grid-template-columns: 1fr; padding: 1.2rem; }
  .clientes-grid { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; padding: 1.8rem; gap: 1.8rem; }
  .promo-stats { grid-template-columns: repeat(3, 1fr); }
  .promo-sticker { width: 92px; height: 92px; top: 1rem; right: 1rem; }
  .promo-sticker-num { font-size: 1.7rem; }
  .promo-sticker-txt { font-size: .6rem; }
  .promo-cta { flex-direction: column; align-items: flex-start; }
}
