/* ============================================================
   Zentria — ZentrIA Voice
   · Bloque destacado del home (voice-feature)
   · Landing page exclusiva del servicio (/servicios/zentria-voice.php)
   Marca del servicio: gradiente violeta → cian (#7C3AED → #0EA5E9)
   ============================================================ */

:root {
  --zv-a: #7C3AED;
  --zv-b: #0EA5E9;
  --zv-grad: linear-gradient(135deg, #7C3AED 0%, #0EA5E9 100%);
  --zv-grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(14, 165, 233, 0.12));
}

/* ============================================================
   HOME — Bloque destacado
   ============================================================ */
.voice-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(124, 58, 237, 0.12), transparent 55%),
    radial-gradient(120% 160% at 0% 100%, rgba(14, 165, 233, 0.12), transparent 55%),
    var(--card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.voice-feature-body { position: relative; z-index: 2; }
.voice-feature-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin: 12px 0 14px;
  letter-spacing: -0.02em;
}
.voice-feature-desc {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 620px;
}
.voice-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.voice-feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--fg-soft);
}
.voice-feature-bullets li svg { width: 17px; height: 17px; color: var(--zv-a); flex-shrink: 0; margin-top: 2px; }
.voice-feature-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.voice-feature-ctas .pill svg { width: 17px; height: 17px; }
.voice-feature-phone {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.voice-feature-phone-label { font-size: 11px; color: var(--muted); font-weight: 500; }
.voice-feature-phone-num { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Tarjeta de llamada (visual del asistente Zana) */
.voice-feature-visual { position: relative; z-index: 2; display: flex; justify-content: center; }
.voice-call-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 60px -28px rgba(124, 58, 237, 0.45);
  overflow: hidden;
}
.voice-call-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--zv-grad-soft);
}
.voice-call-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--zv-grad);
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.6);
}
.voice-call-orb svg { width: 22px; height: 22px; }
.voice-call-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.voice-call-name { font-weight: 600; font-size: 1rem; }
.voice-call-sub { font-size: 12px; color: var(--muted); }
.voice-call-body { padding: 22px 18px; }
.voice-call-line {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.5;
  position: relative;
}
.voice-call-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-soft);
  font-variant-numeric: tabular-nums;
}
.voice-call-footer svg { width: 15px; height: 15px; }

@media (min-width: 880px) {
  .voice-feature { grid-template-columns: 1.25fr 1fr; padding: 56px; }
}

/* ============================================================
   LANDING PAGE — /servicios/zentria-voice.php
   ============================================================ */
.zv-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(80% 120% at 10% 100%, rgba(14, 165, 233, 0.12), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.zv-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.zv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--zv-a);
  background: var(--zv-grad-soft);
  border: 1px solid rgba(124, 58, 237, 0.25);
  margin-bottom: 20px;
}
.zv-hero-badge svg { width: 14px; height: 14px; }
.zv-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.zv-hero h1 .zv-hero-accent {
  background: var(--zv-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.zv-hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: var(--zv-b);
  margin-bottom: 14px;
}
.zv-hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 28px;
}
.zv-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.zv-hero-ctas .pill svg { width: 17px; height: 17px; }
.zv-hero-ctas .zv-cta-phone { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; text-align: left; }
.zv-hero-ctas .zv-cta-phone .lbl { font-size: 11px; color: rgba(255,255,255,0.72); font-weight: 500; }
.zv-hero-ctas .zv-cta-phone .num { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }

/* Visual del hero: tarjeta de Zana con ondas */
.zv-hero-visual { display: flex; justify-content: center; position: relative; }
.zv-hero-card {
  width: 100%;
  max-width: 400px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.5);
  overflow: hidden;
}
.zv-hero-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--zv-grad);
  color: #fff;
}
.zv-hero-card-head .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.zv-hero-card-head .avatar svg { width: 26px; height: 26px; }
.zv-hero-card-head .id { display: flex; flex-direction: column; }
.zv-hero-card-head .name { font-weight: 600; font-size: 1.1rem; }
.zv-hero-card-head .role { font-size: 12.5px; opacity: 0.9; }
.zv-hero-card-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.zv-hero-card-msg {
  background: var(--bg-soft);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 16px;
  font-size: 0.98rem;
  color: var(--fg-soft);
  line-height: 1.55;
}
.zv-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  margin-top: 6px;
}
.zv-wave span {
  width: 4px;
  border-radius: 4px;
  background: var(--zv-grad);
  animation: zv-wave 1.1s ease-in-out infinite;
}
.zv-wave span:nth-child(1) { height: 10px; animation-delay: 0s; }
.zv-wave span:nth-child(2) { height: 22px; animation-delay: 0.1s; }
.zv-wave span:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.zv-wave span:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.zv-wave span:nth-child(5) { height: 26px; animation-delay: 0.4s; }
.zv-wave span:nth-child(6) { height: 14px; animation-delay: 0.5s; }
.zv-wave span:nth-child(7) { height: 24px; animation-delay: 0.6s; }
@keyframes zv-wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}
.zv-hero-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
}
.zv-hero-card-foot .phone { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }

@media (min-width: 920px) {
  .zv-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* Secciones internas */
.zv-section { padding: 64px 0; }
.zv-section-soft { background: var(--bg-soft); }
.zv-section-head { max-width: 720px; margin-bottom: 40px; }
.zv-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.zv-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zv-a);
  margin-bottom: 12px;
}
.zv-section-kicker svg { width: 15px; height: 15px; }
.zv-section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.zv-section-desc { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }

/* ESCUCHA · ENTIENDE · ACTÚA · CONECTA */
.zv-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.zv-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.zv-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(124, 58, 237, 0.3); }
.zv-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--zv-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.zv-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--zv-grad-soft);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.zv-step-icon svg { width: 26px; height: 26px; }
.zv-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.zv-step p { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
@media (min-width: 700px) { .zv-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .zv-steps-grid { grid-template-columns: repeat(4, 1fr); } }

/* Beneficios */
.zv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.zv-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zv-benefit:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.zv-benefit .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--zv-grad-soft);
  border: 1px solid var(--border);
  color: var(--zv-a);
  flex-shrink: 0;
}
.zv-benefit .ic svg { width: 19px; height: 19px; }
.zv-benefit span.txt { font-size: 0.93rem; font-weight: 500; color: var(--fg-soft); line-height: 1.35; }
@media (max-width: 560px) { .zv-benefits-grid { grid-template-columns: 1fr; } }

/* Precios */
.zv-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
.zv-price {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.zv-price--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--zv-grad) border-box;
  box-shadow: 0 24px 60px -30px rgba(124, 58, 237, 0.55);
}
.zv-price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--zv-grad);
  padding: 5px 11px;
  border-radius: 9999px;
}
.zv-price-label { font-size: 13px; font-weight: 600; color: var(--zv-a); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.zv-price h3 { font-size: 1.35rem; margin-bottom: 6px; }
.zv-price .amount { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.zv-price .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.zv-price .period { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.zv-price .desc { font-size: 0.95rem; color: var(--fg-soft); line-height: 1.6; margin: 16px 0; }
.zv-price ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.zv-price ul li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.92rem; color: var(--fg-soft); }
.zv-price ul li svg { width: 16px; height: 16px; color: var(--zv-a); flex-shrink: 0; margin-top: 2px; }
.zv-price .pill { margin-top: auto; justify-content: center; }
.zv-price-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 18px; }
@media (min-width: 800px) { .zv-pricing-grid { grid-template-columns: 1fr 1fr; } }

/* Vista previa del dossier */
.zv-dossier {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.zv-dossier-preview {
  display: flex;
  justify-content: center;
  position: relative;
}
.zv-dossier-preview img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -32px rgba(0, 0, 0, 0.45);
}
.zv-dossier-body .zv-dossier-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
@media (min-width: 900px) { .zv-dossier { grid-template-columns: 0.85fr 1.15fr; } }

/* Botón de descarga reutilizado con acento de voz */
.zv-dossier-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--zv-grad);
  text-decoration: none;
  box-shadow: 0 10px 28px -12px rgba(124, 58, 237, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zv-dossier-dl:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(124, 58, 237, 0.8); }
.zv-dossier-dl svg { width: 20px; height: 20px; }
.zv-dossier-dl .pdf-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.zv-dossier-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
}
.zv-dossier-view:hover { color: var(--zv-a); }
.zv-dossier-view svg { width: 15px; height: 15px; }

/* Sectores */
.zv-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.zv-sector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.zv-sector:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, 0.35); }
.zv-sector svg { width: 15px; height: 15px; color: var(--zv-a); }
.zv-sector-more { color: var(--muted); font-style: italic; }

/* FAQ de la landing */
.zv-faq { max-width: 800px; margin: 0 auto; }
.zv-faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.zv-faq summary {
  padding: 18px 20px;
  font-weight: 500;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.zv-faq summary::-webkit-details-marker { display: none; }
.zv-faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--zv-a);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.zv-faq details[open] summary::after { transform: rotate(45deg); }
.zv-faq details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.7; }

/* CTA final */
.zv-cta {
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  color: #fff;
  background: var(--zv-grad);
  position: relative;
  overflow: hidden;
}
.zv-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 100% at 15% 0%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(60% 100% at 85% 100%, rgba(255,255,255,0.14), transparent 55%);
  pointer-events: none;
}
.zv-cta h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; position: relative; }
.zv-cta p { color: rgba(255,255,255,0.92); max-width: 620px; margin: 0 auto 26px; font-size: 1.0625rem; line-height: 1.7; position: relative; }
.zv-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }
.zv-cta-actions .pill { background: #fff; color: var(--zv-a); border-color: transparent; }
.zv-cta-actions .pill-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.zv-cta-actions .pill-outline:hover { background: rgba(255,255,255,0.12); }
.zv-cta-note { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-top: 18px; position: relative; }

@media (prefers-reduced-motion: reduce) {
  .zv-wave span { animation: none; }
}
