/* =============================================
   SSCC — Landing HiLook Auto-instalables
   style.css
   ============================================= */

/* --- FUENTES --- */
/* Locales a fonts/ dentro de esta misma carpeta (self-contained) */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Exo2';
  src: url('fonts/Exo2-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Exo2';
  src: url('fonts/Exo2-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Exo2';
  src: url('fonts/Exo2-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- TOKENS --- */
:root {
  --azul:       #04153b;
  --azul-medio: #071e4a;
  --azul-card:  #071e4a;
  --rojo:       #CC1A1A;
  --rojo-hover: #b01515;
  --amarillo:   #F5A623;
  --amarillo-hover: #e09510;
  --blanco:     #FFFFFF;
  --gris-claro: rgba(255,255,255,0.85);
  --gris-sub:   rgba(255,255,255,0.75);
  --borde:      rgba(255,255,255,0.10);

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Exo2', sans-serif;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.35);
  --shadow-card:0 8px 32px rgba(0,0,0,0.45);
}
/* Sistema de tiers: las secciones son SIEMPRE oscuras (--azul) o claras
   (--blanco), nunca --azul-medio — ese token es solo para SUPERFICIES
   elevadas (cards), nunca fondo de sección completa. */

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--azul);
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* --- UTILIDADES --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn-wsp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #128C7E;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-wsp:hover { background: #0f7268; transform: translateY(-2px); }
.btn-wsp svg { flex-shrink: 0; }
.btn-wsp { box-shadow: 0 6px 20px rgba(18,140,126,0.35); }

.btn-wsp-rojo {
  background: var(--rojo);
  color: var(--blanco);
  box-shadow: 0 6px 20px rgba(204,26,26,0.35);
}
.btn-wsp-rojo:hover { background: var(--rojo-hover); }

/* =============================================
   BARRA FLOTANTE SUPERIOR
   position: absolute (no sticky/fixed) — se superpone al hero sin
   empujarlo y desaparece de la vista apenas se scrollea, sin volver a
   anclarse al viewport. Ver landings/CLAUDE.md «Barra flotante superior»
   para por qué se descartaron sticky y fixed antes de llegar acá.
   left:0 + right:0 hacen falta: un absolute sin ancho explícito se
   encoge al contenido.
   ============================================= */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 56px;
  background: var(--azul);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.topbar__logo img { display: block; height: 28px; width: auto; }
/* Logo sin link a propósito — tráfico pago, no queremos que un clic
   accidental saque al visitante hacia sscc.com.ar. Decorativo. */

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 12, 28, 0.92) 0%,
    rgba(7, 12, 28, 0.80) 45%,
    rgba(7, 12, 28, 0.30) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 20px 80px;
}
.hero__content {
  max-width: 600px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 14px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  color: var(--blanco);
}
.hero__title span {
  color: var(--amarillo);
  display: block;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.btn-wsp-outline {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: none;
}
.btn-wsp-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--blanco);
  transform: translateY(-2px);
}
.hero__cta-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* =============================================
   SPECS — LO QUE INCLUYE CADA KIT
   ============================================= */
/* Sección clara — único quiebre real de tono del recorrido: contenido
   de especificaciones (informativo), no de venta directa como Kits o
   Diferenciales, que se quedan oscuras a propósito. */
.specs {
  background: var(--blanco);
  padding: 48px 0;
}
.specs__title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  text-transform: uppercase;
  margin-bottom: 32px;
  letter-spacing: 0.06em;
  color: var(--azul);
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--blanco);
  border: 1px solid rgba(4,21,59,0.12);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(4,21,59,0.06);
}
.spec-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(4,21,59,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.spec-item__icon svg { color: var(--azul); }
.spec-item__label {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--azul);
}
.spec-item__sub {
  font-size: 0.78rem;
  color: rgba(4,21,59,0.65);
}

/* =============================================
   KITS — CARDS DE PRECIOS
   ============================================= */
.kits {
  padding: 72px 0;
}
.kits__header {
  text-align: center;
  margin-bottom: 48px;
}
.kits__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 10px;
}
.kits__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1.15;
}
.kits__title span { color: var(--amarillo); }
.kits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 44px;
}

/* CARD */
.kit-card {
  background: var(--azul-card);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.kit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.kit-card--featured {
  border-color: var(--amarillo);
  box-shadow: 0 8px 40px rgba(245,166,35,0.25);
}
.kit-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--amarillo);
  color: var(--azul);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 50px;
}
.kit-card__hd {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--rojo);
  color: var(--blanco);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 50px;
}
.kit-card__img-wrap {
  background: #04153b;
  padding: 0;
  text-align: center;
  overflow: hidden;
}
.kit-card__img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.kit-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}
.kit-card__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
/* kit-card__camcount eliminado — info va en la imagen */
.kit-card__includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kit-card__includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gris-claro);
}
.kit-card__includes li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amarillo);
  border-radius: 50%;
  flex-shrink: 0;
}
.kit-card__price-wrap {
  background: rgba(245,166,35,0.10);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}
.kit-card__price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gris-sub);
  margin-bottom: 4px;
}
.kit-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--amarillo);
  line-height: 1;
}
.kit-card__btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 13px 20px;
}

/* =============================================
   DIFERENCIALES
   ============================================= */
/* Pico de énfasis intencional — mismo gradiente que el hero/CTA final. */
.diferenciales {
  background: linear-gradient(160deg, #0a1530 0%, var(--azul) 100%);
  padding: 64px 0;
}
.diferenciales__header {
  text-align: center;
  margin-bottom: 40px;
}
.diferenciales__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  text-transform: uppercase;
  line-height: 1.15;
}
.diferenciales__title span { color: var(--amarillo); }
.diferenciales__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.dif-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 20px;
  background: var(--azul-card);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.dif-item__icon {
  width: 52px;
  height: 52px;
  background: rgba(204,26,26,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dif-item__icon svg { color: var(--rojo); }
.dif-item__title {
  font-weight: 800;
  font-size: 1rem;
}
.dif-item__desc {
  font-size: 0.82rem;
  color: var(--gris-sub);
  line-height: 1.5;
}

/* =============================================
   CTA FINAL
   ============================================= */
.cta-final {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(160deg, #0a1530 0%, var(--azul) 100%);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(204,26,26,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 12px;
}
.cta-final__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-final__title span { color: var(--amarillo); }
.cta-final__desc {
  font-size: 1.05rem;
  color: var(--gris-sub);
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta-final__group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.cta-final__envio {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gris-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cta-final__envio svg { color: var(--amarillo); flex-shrink: 0; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #02102e;
  border-top: 1px solid var(--borde);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
}
.footer__logo img {
  height: 36px;
  width: auto;
  opacity: 0.85;
}
.footer__copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

/* =============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================= */
.wsp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.wsp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.wsp-float svg { color: #fff; }

/* pulso */
.wsp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.45);
  animation: wsp-pulse 2s ease-out infinite;
}
@keyframes wsp-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Botón flotante de llamada — mismo patrón que .wsp-float, espejado a la
   izquierda, en el celeste de marca (#1565C0, el mismo que ya usaba el
   viejo botón de la barra superior y el panel de llamada de desktop). */
.llamar-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 60px; height: 60px; background: #1565C0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: none;
  box-shadow: 0 4px 20px rgba(21,101,192,0.45);
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.llamar-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(21,101,192,0.6); }
.llamar-float svg { color: #fff; }
/* Mismo pulso que .wsp-float (reusa el keyframe wsp-pulse), en el celeste
   propio de este botón — antes solo lo tenía el de WhatsApp. */
.llamar-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(21,101,192,0.45);
  animation: wsp-pulse 2s ease-out infinite;
}

/* Confirmación de llamada (mobile) — modal centrado propio, sin la
   franja de color arriba ni la estética genérica de un confirm() nativo:
   mismo lenguaje visual que el resto del sitio (card oscura, borde
   sutil, título bicolor Montserrat). */
.confirmar-llamada {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: rgba(4,21,59,0.75); align-items: center; justify-content: center; padding: 24px;
}
.confirmar-llamada.visible { display: flex; }
.confirmar-llamada__card {
  width: 100%; max-width: 320px; background: var(--azul-card); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 28px 24px; text-align: center;
}
.confirmar-llamada__icono {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 50%; background: rgba(245,166,35,0.16); border: 1px solid rgba(245,166,35,0.45);
  color: var(--amarillo); margin-bottom: 14px;
}
.confirmar-llamada__titulo {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--blanco);
  font-size: 1.3rem; line-height: 1.25; margin-bottom: 22px;
}
.confirmar-llamada__titulo span { color: var(--amarillo); display: block; }
.confirmar-llamada__botones { display: flex; gap: 12px; }
.confirmar-llamada__si, .confirmar-llamada__no {
  flex: 1; border: none; border-radius: 50px; padding: 13px; font-family: var(--font-body);
  font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--blanco); cursor: pointer; transition: filter 0.15s;
}
.confirmar-llamada__si:hover, .confirmar-llamada__no:hover { filter: brightness(1.1); }
.confirmar-llamada__botones { align-items: center; }
/* La acción ocupa el 70% y lleva ícono; «No» queda chico, 30%. Así se ve qué hace cada uno. */
.confirmar-llamada__si {
  flex: 1 1 70%; background: #128C7E; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 15px 10px; font-size: 0.95rem; letter-spacing: 0.01em; box-shadow: 0 4px 14px rgba(18,140,126,0.4);
}
.confirmar-llamada__si svg { flex-shrink: 0; }
.confirmar-llamada__no { flex: 0 0 30%; background: var(--rojo); padding: 10px 6px; font-size: 0.8rem; }

/* =============================================
   ANIMACIONES DE ENTRADA
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 100svh; }
  .hero__bg img { object-position: center center; }
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(7,12,28,0.55) 0%,
      rgba(7,12,28,0.90) 55%,
      rgba(7,12,28,0.97) 100%
    );
  }
  .hero__inner { padding: 60px 20px 60px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero__cta-group { flex-direction: column; align-items: flex-start; }
  .kits { padding: 48px 0; }
  .kits__grid { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 32px; }
  .diferenciales { padding: 48px 0; }
  .cta-final { padding: 56px 0; }
  .footer__inner { flex-direction: column; align-items: center; }
  .footer__copy { text-align: center; }
  /* Punto intermedio entre el tamaño mobile de antes (54px) y el 25%
     más chico que se probó después (40px) -> 47px. */
  .wsp-float, .llamar-float { bottom: 20px; width: 47px; height: 47px; }
  .wsp-float { right: 20px; }
  .llamar-float { left: 20px; }
  .wsp-float svg { width: 26px; height: 26px; }
  .llamar-float svg { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  .kits__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .kit-card__price { font-size: 2rem; }
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .diferenciales__grid { grid-template-columns: 1fr 1fr; }
}

/* Reducir movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none; opacity: 1; transform: none; }
  .wsp-float::after { animation: none; }
  .llamar-float::after { animation: none; }
  .kit-card:hover { transform: none; }
}
/* =============================================
   PANEL DE CONTACTO WHATSAPP
   ============================================= */
.wsp-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 1000;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.wsp-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.wsp-panel__header {
  background: #075E54;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wsp-panel__avatar {
  width: 40px;
  height: 40px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.wsp-panel__info { flex: 1; }
.wsp-panel__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  margin: 0;
  font-family: var(--font-body);
}
.wsp-panel__status {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-family: var(--font-body);
}
.wsp-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  line-height: 1;
}
.wsp-panel__close:hover { color: #fff; }
.wsp-panel__body {
  padding: 16px 16px 8px;
  background: #ece5dd;
}
.wsp-panel__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px;
  font-family: var(--font-body);
}
.wsp-panel__req { color: var(--rojo); }
.wsp-panel__opt { color: #888; font-weight: 400; }
.wsp-panel__input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  margin-bottom: 10px;
  resize: none;
}
.wsp-panel__input:focus { border-color: #25D366; }
.wsp-panel__textarea { min-height: 68px; }
.wsp-panel__error {
  display: none;
  font-size: 0.75rem;
  color: var(--rojo);
  margin: -6px 0 10px;
  font-family: var(--font-body);
}
.wsp-panel__footer {
  padding: 10px 16px 16px;
  background: #ece5dd;
}
.wsp-panel__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #128C7E;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 50px;
  padding: 13px 20px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.wsp-panel__btn:hover {
  background: #0f7268;
  transform: translateY(-1px);
}

/* Campo de teléfono compartido (panel de WhatsApp + panel de llamada).
   Prefijo fijo Argentina (+54, banderita) — sin selector de país, todo
   el tráfico hoy es de Tucumán/Argentina. El usuario solo carga área+
   número (ver .tel-field__hint) y JS arma el E.164 completo
   (telefonoE164 en main.js). */
.tel-field { display: flex; align-items: stretch; gap: 6px; margin-bottom: 4px; }
.tel-field__prefix {
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
  padding: 10px 10px; border: 1.5px solid #ccc; border-radius: 8px;
  background: #f4f4f4; font-family: var(--font-body); font-size: 0.86rem;
  font-weight: 700; color: #444;
}
.tel-field__input {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid #ccc; border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9rem; color: #222; background: #fff;
  outline: none; transition: border-color 0.15s;
}
.tel-field__input:focus { border-color: #25D366; }
.tel-field__hint { font-size: 0.72rem; color: #888; margin: 4px 0 10px; font-family: var(--font-body); }

/* ---- Variante celeste: panel "Te llamamos" (desktop) ---- */
/* Ancla abajo a la izquierda, igual criterio que .wsp-panel con
   .wsp-float — el disparador (#llamar-float) vive ahí, ya no arriba en
   la barra superior. Sin override de position/transform: hereda el
   mismo "aparece deslizando desde abajo" que .wsp-panel de WhatsApp. */
.wsp-panel--llamada { right: auto; left: 28px; }
.wsp-panel--llamada .wsp-panel__header { background: #1565C0; }
.wsp-panel--llamada .wsp-panel__avatar { background: #1E88E5; }
.wsp-panel--llamada .wsp-panel__input:focus,
.wsp-panel--llamada .tel-field__input:focus { border-color: #1E88E5; }
.wsp-panel--llamada .wsp-panel__btn { background: #1565C0; }
.wsp-panel--llamada .wsp-panel__btn:hover { background: #0d47a1; }

@media (max-width: 480px) {
  .wsp-panel {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 86px;
  }
  /* .wsp-panel--llamada solo se abre en desktop (ver esTactil en
     main.js), pero por si una ventana desktop queda muy angosta. */
  .wsp-panel--llamada { left: 16px; right: auto; }
}

/* Teléfono mal cargado (2026-10-07): borde rojo y la ayuda en rojo y negrita. Va al final para
   ganarle al borde de foco, incluido el azul del panel de llamada. */
.tel-field--mal .tel-field__input,
.tel-field--mal .tel-field__input:focus,
.wsp-panel--llamada .tel-field--mal .tel-field__input:focus { border-color: var(--rojo, #d32f2f); }
.tel-field__hint--mal { color: var(--rojo, #d32f2f); font-weight: 700; }
