/* ============================================================
   VIDEOVIGILANCIA.CSS — Estilos exclusivos de la landing de
   Videovigilancia Escolar
============================================================ */

/* ── Hero Videovigilancia ── */
.hero-vigilancia {
  min-height: auto;
  padding: 130px 0 50px;
}
.hero-vigilancia .hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-vigilancia h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  margin-bottom: 20px !important;
}

/* Botón outline blanco */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}


/* ── Hero visual videovigilancia ── */
.hero-vigilancia-visual {
  position: relative;
  width: 360px;
  height: 340px;
}

.vig-hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.vig-hero-center {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  background: rgba(251,82,82,.15);
  border: 1px solid rgba(251,82,82,.3);
  border-radius: 16px;
  padding: 20px 28px 14px;
  backdrop-filter: blur(6px);
}

.vig-hero-center svg {
  width: 56px;
  height: 56px;
  color: var(--yellow);
}

.vig-hero-center span {
  font-size: .85rem;
  color: var(--white);
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  text-align: center;
  white-space: nowrap;
}

.vig-hero-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px 18px 10px;
  backdrop-filter: blur(4px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.vig-hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,208,87,.4);
  background: rgba(255,208,87,.08);
}

.vhc-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vhc-icon svg {
  width: 100%;
  height: 100%;
  color: var(--white);
}

.vig-hero-card span {
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  letter-spacing: .3px;
  text-align: center;
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
}

.vhc-1 { bottom: 30px; left: 0; }
.vhc-2 { bottom: 0; left: 50%; transform: translateX(-50%); }
.vhc-3 { bottom: 30px; right: 0; }
.vhc-2:hover { transform: translateX(-50%) translateY(-4px); }


/* ============================================================
   FLUJO DE "CÓMO FUNCIONA"
============================================================ */
.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flow-step {
  flex: 0 1 240px;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.flow-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}

.flow-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: var(--white);
  font-weight: 900;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
}

.flow-icon {
  width: 56px;
  height: 56px;
  margin: 10px auto 16px;
  border-radius: 14px;
  background: rgba(251,82,82,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
}

.flow-step h3 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 800;
  display: flex;
  align-items: center;
  padding-top: 40px;
}


/* ============================================================
   MÓDULOS — SECCIONES ONE-PAGE
============================================================ */
.modulo-section {
  padding: 72px 0;
}

.modulo-white {
  background: var(--white);
}

.modulo-light {
  background: var(--gray-light);
}

.modulo-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.modulo-row.modulo-reverse {
  direction: rtl;
}

.modulo-row.modulo-reverse > * {
  direction: ltr;
}

.modulo-img-col,
.modulo-text-col {
  min-width: 0;
}

/* ── Info panel ── */
.acceso-info {
  padding: 8px 0;
}

.acceso-info-badge {
  display: inline-block;
  background: rgba(251,82,82,.08);
  color: var(--red);
  font-size: .75rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  letter-spacing: .5px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(251,82,82,.15);
  margin-bottom: 16px;
}

.acceso-info h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.acceso-info p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ── Features list ── */
.acceso-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acceso-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all .25s ease;
}

.acceso-features li:hover {
  background: rgba(251,82,82,.04);
  border-color: rgba(251,82,82,.2);
  transform: translateX(4px);
}

.acceso-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* ============================================================
   BENEFICIOS
============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,208,87,.35);
  background: rgba(255,255,255,.08);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

.ben-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,208,87,.1);
  border: 1px solid rgba(255,208,87,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background .3s ease;
}

.benefit-card:hover .ben-icon {
  background: rgba(255,208,87,.2);
}

.ben-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--yellow);
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}


/* ============================================================
   SERVICIO VISUAL — Iconos grandes para módulos
============================================================ */
.vig-service-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 32px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}

.vig-service-visual::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(251,82,82,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.vig-svc-icon-big {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(255,208,87,.08);
  border: 1px solid rgba(255,208,87,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
  position: relative;
  z-index: 1;
}

.vig-svc-icon-big:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(255,208,87,.14);
  box-shadow: 0 12px 40px rgba(255,208,87,.15);
}

.vig-svc-icon-big svg {
  width: 56px;
  height: 56px;
  color: var(--yellow);
}

.vig-outdoor svg { color: #60A5FA; }
.vig-remote svg { color: #34D399; }
.vig-install svg { color: #F97316; }

.vig-svc-label {
  font-family: 'Nunito', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-vigilancia-visual { display: none; }
  .modulo-row { grid-template-columns: 1fr; gap: 32px; }
  .modulo-row.modulo-reverse { direction: ltr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); padding-top: 0; }
  .modulo-section { padding: 48px 0; }
  .vig-service-visual { padding: 36px 24px; }
  .vig-svc-icon-big { width: 96px; height: 96px; }
  .vig-svc-icon-big svg { width: 44px; height: 44px; }
}
