/* =========================================
   TECNOLOGIA SIE — CURSOS PREMIUM
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#eef2f7;
  --white:#fff;

  --primary:#0f172a;
  --primary2:#1e3a5f;

  --accent:#2563eb;

  --text:#0f172a;
  --textSoft:#475569;

  --border:#dbe3ee;

  --radius:24px;

  --shadow:
  0 10px 30px rgba(15,23,42,.06);

  --shadowHover:
  0 20px 50px rgba(15,23,42,.12);

  --transition:.3s ease;
}

/* ========================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;

  background:
  linear-gradient(
    to bottom,
    #f8fafc 0%,
    #eef2f7 100%
  );

  color:var(--text);

  overflow-x:hidden;

  line-height:1.7;
}

a{
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

/* =========================================
   HEADER
========================================= */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:9999;
  background:rgb(255, 255, 255);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(15,23,42,.04);
  box-shadow:0 4px 20px rgba(15,23,42,.03);
}

header::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,transparent,rgba(37,99,235,.55),transparent);
}

/* =========================================
   TOPBAR
========================================= */

.topbar{
  width:min(1200px,92%);
  height:92px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.brand-text h1{
  font-size:18px;
  font-weight:700;
  color:#0f172a;
}

.brand-text p{
  font-size:13px;
  color:#64748b;
  font-weight:500;
}

nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin-left:auto;
}

nav a{
  height:46px;
  padding:0 20px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#334155;
  font-size:14px;
  font-weight:600;
  transition:all .3s ease;
  text-decoration:none;
}

nav a:hover{
  background:#f1f5f9;
  color:#0f172a;
}

.admin-link{
  background:linear-gradient(135deg,#0f172a,#1e3a5f);
  color:#fff !important;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}

/* RESPONSIVE NAVBAR */

@media(max-width:768px){
  .topbar{
    height:78px;
  }
  .brand-logo{
    width:145px;
  }
  nav a{
    padding:0 14px;
    height:40px;
    font-size:13px;
  }
}

/* =========================================
   HERO
========================================= */
/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  padding: 160px 20px 140px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Capa de imagen de fondo - PUNTO DE VENTA */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://storage.googleapis.com/netzunplus/media/courses/photos/2023/09/16/dejgl-b1575000-544e-11ee-863c-0a58a9feac02.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  opacity: 0.5;
}

/* Degradado superpuesto */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(7, 17, 31, 0.88) 0%,
    rgba(20, 40, 77, 0.82) 30%,
    rgba(37, 99, 235, 0.7) 70%,
    rgba(30, 64, 175, 0.85) 100%
  );
  z-index: -1;
}

/* Efecto de brillo radial */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, 
    transparent 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* Contenedor del contenido centrado */
.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Contenido centrado */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Badge centrado */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Título principal */
.hero h2 {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Párrafo */
.hero p {
  margin: 0 0 40px 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Botón */
.btn-cotizar {
  min-height: 56px;
  padding: 0 42px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cotizar:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* =========================================
   SERVICIOS/PLANES
========================================= */

.servicios{
  padding:80px 20px;
  text-align:center;
}

.servicios h3{
  font-size:36px;
  font-weight:800;
  margin-bottom:60px;
  color:var(--text);
}

.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  margin-bottom:40px;
}

.serv-card{
  background:#fff;
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.9);
  transition:var(--transition);
  text-align:left;
  display:flex;
  flex-direction:column;
}

.serv-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadowHover);
}

.serv-card h4{
  font-size:24px;
  font-weight:800;
  margin-bottom:8px;
  color:var(--text);
}

.serv-card > p{
  color:var(--textSoft);
  font-size:14px;
  margin-bottom:24px;
}

.serv-card ul{
  list-style:none;
  padding:0;
  margin-bottom:24px;
  flex-grow:1;
}

.serv-card li{
  color:var(--textSoft);
  font-size:14px;
  padding:8px 0;
  padding-left:20px;
  position:relative;
}

.serv-card li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#2563eb;
  font-weight:800;
}

.serv-price{
  width:100%;
  padding:12px;
  background:linear-gradient(135deg,#0f172a,#1e3a5f);
  color:#fff;
  border:none;
  border-radius:16px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:var(--transition);
  text-align:center;
  margin-top:auto;
}

.serv-price:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(15,23,42,.12);
}

/* =========================================
   LAYOUT
========================================= */

.container{
  width:min(1200px,92%);
  margin:auto;
}

.grid{
  display:grid;

  grid-template-columns:
  1fr 340px;

  gap:30px;

  margin-top:-60px;

  position:relative;

  z-index:10;
}

/* =========================================
   CARDS
========================================= */

.card{
  background:rgba(255,255,255,.98);

  border-radius:var(--radius);

  padding:34px;

  box-shadow:var(--shadow);

  border:
  1px solid rgba(255,255,255,.9);

  margin-bottom:30px;
}

.card h2{
  font-size:38px;

  margin-bottom:18px;

  letter-spacing:-2px;

  text-align:center;
}

.card h3{
  font-size:24px;

  margin:
  30px 0 14px;
}

.card p{
  color:var(--textSoft);

  font-size:15px;
}

/* =========================================
   BENEFICIOS EN CARDS
========================================= */

.includes-grid{
  display:grid;

  grid-template-columns:
  repeat(2,minmax(0,1fr));

  gap:24px;

  margin-top:40px;
}

.include-item{
  position:relative;

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,.98),
    rgba(248,250,252,.98)
  );

  border:
  1px solid #e2e8f0;

  border-radius:24px;

  padding:28px;

  overflow:hidden;

  transition:var(--transition);

  box-shadow:
  0 10px 30px rgba(15,23,42,.05);
}

.include-item::before{
  content:"";

  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:5px;

  background:
  linear-gradient(
    90deg,
    #2563eb,
    #60a5fa
  );
}

.include-item:hover{
  transform:translateY(-6px);

  box-shadow:
  0 20px 50px rgba(15,23,42,.12);
}

.include-icon{
  width:62px;
  height:62px;

  border-radius:18px;

  display:flex;

  align-items:center;

  justify-content:center;

  margin-bottom:20px;

  background:
  linear-gradient(
    135deg,
    #dbeafe,
    #eff6ff
  );

  font-size:28px;

  color:#2563eb;
}

.include-item strong{
  display:block;

  margin-bottom:10px;

  font-size:22px;

  color:#0f172a;

  font-weight:800;
}

.include-item p{
  font-size:15px;

  line-height:1.8;

  color:#475569;
}

/* =========================================
   LOGIN
========================================= */

.login-card form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.login-card input{
  width:100%;

  height:54px;

  border:none;

  background:#f8fafc;

  border-radius:16px;

  padding:0 16px;

  outline:none;

  border:
  1px solid #e2e8f0;
}

.login-card button{
  height:54px;

  border:none;

  border-radius:16px;

  background:
  linear-gradient(
    135deg,
    #0f172a,
    #1e3a5f
  );

  color:#fff;

  font-weight:700;

  cursor:pointer;
}

/* =========================================
   INVERSION
========================================= */

.price{
  font-size:28px;

  font-weight:800;

  color:#0f172a;

  margin-bottom:10px;
}

#inversion ul{
  margin-top:12px;

  padding-left:18px;

  color:var(--textSoft);
}

/* =========================================
   MODAL
========================================= */

 .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.65);
      backdrop-filter: blur(4px);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 80px 16px 16px;
    }
    .modal-overlay.active { display: flex; }

.modal-overlay.active { display: flex; }

  .modal-cotizacion {
      background: #fff;
      border-radius: 16px;
      padding: 33px 30px 30px;
      width: 100%;
      max-width: 900px;
      max-height: 75vh;
      overflow-y: auto;
      position: relative;
      box-shadow: 0 24px 64px rgba(0,0,0,.25);
      animation: modalIn .22s ease;
    }

 @keyframes modalIn {
      from { opacity: 0; transform: translateY(18px) scale(.97); }
      to   { opacity: 1; transform: none; }
    }
    .modal-cotizacion h3 {
      font-size: 1.35rem;
      font-weight: 800;
      color: #0f3460;
      margin: 0 0 4px;
    }
    .modal-cotizacion .subtitle {
      color: #64748b;
      font-size: .875rem;
      margin: 0 0 20px;
    }
    .modal-close {
      position: absolute;
      top: 14px; right: 16px;
      background: none;
      border: none;
      font-size: 1.3rem;
      cursor: pointer;
      color: #94a3b8;
      line-height: 1;
      transition: color .15s;
    }
    .modal-close:hover { color: #0f3460; }

    /* ══ MODAL INSCRIPCIÓN ══ */
    .modal-inscripcion {
      background: #fff;
      border-radius: 16px;
      padding: 36px 32px 32px;
      width: 100%;
      max-width: 700px;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      box-shadow: 0 24px 64px rgba(0,0,0,.25);
      animation: modalIn .22s ease;
    }
    .modal-inscripcion h3 {
      font-size: 1.35rem;
      font-weight: 800;
      color: #0f3460;
      margin: 0 0 4px;
    }
    .modal-inscripcion .subtitle {
      color: #64748b;
      font-size: .875rem;
      margin: 0 0 20px;
    }

    /* ══ SELECTOR DE MODALIDAD ══ */
    .modalidad-selector {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 18px;
    }
    .modalidad-opt {
      border: 2px solid #e2e8f0;
      border-radius: 10px;
      padding: 14px 12px;
      cursor: pointer;
      text-align: center;
      transition: border-color .15s, background .15s;
      user-select: none;
    }
    .modalidad-opt:hover { border-color: #0f3460; }
    .modalidad-opt.selected { border-color: #0f3460; background: #eef2ff; }
    .modalidad-opt .modalidad-nombre { font-weight: 700; font-size: .95rem; color: #0f3460; }
    .modalidad-opt .modalidad-desc { font-size: .8rem; color: #475569; margin-top: 4px; }

    .modal-divider { border: none; border-top: 1px solid #e2e8f0; margin: 16px 0; }

/* =========================================
   FORM
========================================= */

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 5px;
      margin-bottom: 14px;
    }
    .form-group label {
      font-size: .82rem;
      font-weight: 600;
      color: #475569;
      letter-spacing: .02em;
    }
    .form-group input,
    .form-group select {
      border: 1.5px solid #e2e8f0;
      border-radius: 8px;
      padding: 10px 12px;
      font-size: .9rem;
      font-family: inherit;
      color: #1e293b;
      background: #fff;
      transition: border-color .15s;
      outline: none;
    }
    .form-group input:focus,
    .form-group select:focus {
      border-color: #0f3460;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    @media (max-width: 480px) {
      .form-row { grid-template-columns: 1fr; }
    }

.btn-submit{
  width:100%;

  padding: 13px;

  background: #0f3460;

  color:#fff;

  border: none;

  border-radius:10px;

  font-size:.95rem;

  font-weight:700;

  cursor:pointer;

  margin-top: 6px;

  transition: background .15s, transform .1s;
}

.btn-submit:hover:not(:disabled) {
  background: #1a4a80;
}

.btn-submit:active:not(:disabled) {
  transform: scale(.98);
}

.btn-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* =========================================
   TOAST
========================================= */

.toast{
  position:fixed;

  right:24px;
  bottom:24px;

  background:#0f172a;

  color:#fff;

  padding:16px 22px;

  border-radius:16px;

  font-size:14px;

  opacity:0;

  transform:translateY(20px);

  transition:.3s ease;

  z-index:999999;
}

.toast.show{
  opacity:1;
  transform:translateY(0);
}

.toast.success{
  background:#16a34a;
}

.toast.error{
  background:#dc2626;
}
/* =========================================
   UBICACION
========================================= */

.ubicacion-card{
  background:#fff;
  border-radius:34px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
  max-width:900px;
  margin:auto;
  box-shadow:0 16px 40px rgba(15,23,42,.06);
}

.ubicacion-mapa{

  min-height:430px;
}


.ubicacion-mapa iframe{
  width:100%;
  height:280px;
}
.ubicacion-info{
  padding:42px;
  display:flex;
  flex-direction:column;
  gap:30px;
}

.ubicacion-item{
  display:flex;
  gap:18px;
}

.ubicacion-item strong{
  display:block;
  margin-bottom:4px;
  color:#0f172a;
}

.ubicacion-item p{
  color:#475569;
  font-size:14px;
}

.ubicacion-mapa{
  min-height:280px;
}

.ubicacion-mapa iframe{
  width:100%;
  height:280px;
  border:0;
}
/* =========================================
   FOOTER
========================================= */

.witrfm_area{

    background:#0f172a;

    color:#fff;

    margin-top:120px;
}

.footer-middle{

    padding:90px 0 60px;
}

.footer-middle .container{

    width:min(1200px,92%);

    margin:auto;
}

.footer-middle .row{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:50px;
}

.footer-box h2{

    font-size:22px;

    margin-bottom:26px;

    position:relative;
}

.footer-box h2::after{

    content:'';

    width:55px;
    height:3px;

    background:#2563eb;

    position:absolute;

    left:0;
    bottom:-10px;

    border-radius:20px;
}

.footer-box p{

    color:rgba(255,255,255,.72);

    line-height:1.9;

    font-size:15px;
}

.social-icons{

    display:flex;

    gap:14px;

    margin-top:24px;
}

.social-icons a{

    width:46px;
    height:46px;

    border-radius:14px;

    background:rgba(255,255,255,.08);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    transition:.3s;
}

.social-icons a:hover{

    background:#2563eb;

    transform:translateY(-4px);
}

.footer-links{

    list-style:none;

    display:flex;

    flex-direction:column;

    gap:14px;
}

.footer-links a{

    color:rgba(255,255,255,.72);

    transition:.3s;
}

.footer-links a:hover{

    color:#60a5fa;

    padding-left:6px;
}

.footer-contact{

    display:flex;

    flex-direction:column;

    gap:20px;
}

.footer-item{

    display:flex;

    gap:14px;

    align-items:flex-start;
}

.footer-item i{

    color:#60a5fa;

    margin-top:4px;
}

.footer-item span{

    color:rgba(255,255,255,.72);

    line-height:1.7;

    font-size:15px;
}

.footer-hours{

    display:flex;

    flex-direction:column;

    gap:18px;
}

.hour-row{

    display:flex;

    justify-content:space-between;

    border-bottom:
    1px solid rgba(255,255,255,.08);

    padding-bottom:10px;

    color:rgba(255,255,255,.72);

    font-size:15px;
}

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,.08);

    padding:24px 20px;

    text-align:center;
}

.copy-right-text p{

    color:rgba(255,255,255,.6);

    font-size:14px;
}

/* RESPONSIVE */

@media(max-width:1000px){

    .footer-middle .row{

        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px){

    .footer-middle .row{

        grid-template-columns:1fr;
    }

    .footer-box{

        text-align:center;
    }

    .footer-box h2::after{

        left:50%;

        transform:translateX(-50%);
    }

    .social-icons{

        justify-content:center;
    }

    .footer-item{

        justify-content:center;
    }

    .hour-row{

        flex-direction:column;

        gap:6px;

        text-align:center;
    }
}

@media(max-width:900px){

  .serv-card{

    grid-template-columns:1fr;

    padding:34px 28px;
  }

  .serv-card ul{

    grid-template-columns:1fr;
  }

  .serv-price{

    width:100%;
  }

  .serv-card h4{

    font-size:28px;
  }
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp-float{

  position:fixed;

  right:26px;
  bottom:26px;

  width:62px;
  height:62px;

  border-radius:50%;

  background:#25D366;

  color:#fff;

  display:flex;

  align-items:center;

  justify-content:center;

  font-size:30px;

  box-shadow:
  0 16px 34px rgba(37,211,102,.24);

  z-index:999;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:950px){

  .camaras-hero{

    padding:130px 20px 80px;
  }

  .camaras-hero .hero-content{

    align-items:center;

    text-align:center;
  }

  .camaras-hero h2{

    font-size:clamp(42px,10vw,64px);
  }

  .camaras-hero p{

    font-size:18px;
  }

  .serv-card ul{

    grid-template-columns:1fr;
  }

  .ubicacion-card{

    grid-template-columns:1fr;
  }

  .footer-middle .row{

    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:768px){

  .topbar{

    height:78px;
  }

  .brand-logo{

    width:145px;
  }

  nav a{

    padding:0 14px;

    height:40px;

    font-size:13px;
  }

  .servicios h3{

    font-size:34px;
  }

  .serv-card{

    padding:30px 24px;
  }

  .serv-card h4{

    font-size:28px;
  }

  .footer-middle .row{

    grid-template-columns:1fr;
  }
}

/* =========================================
   CENTRAR Y JUSTIFICAR TEXTOS
========================================= */

/* Títulos centrados */
.serv-card h4,
.card h2,
.card h3,
.include-item strong,
.servicios h3{
    text-align: center;
}

/* Párrafos justificados */
.serv-card p,
.card p,
.include-item p,
.hero p{
    text-align: justify;
    text-align:center;
}

/* Listas justificadas */
.serv-card ul li{
    text-align: justify;
}

/* Opcional: centrar contenido de las tarjetas */
.serv-card{
    text-align: center;
}

.serv-card ul{
    text-align: left;
}