:root{
  --bg:#0b1220;
  --panel:#121c2f;
  --panel2:#0f1729;
  --text:#e7eefc;
  --muted:#b6c3df;
  --line:rgba(255,255,255,.10);
  --accent1:#49c6ff;
  --accent2:#7b5cff;
  --warn:#ffb020;
  --danger:#ff4d5e;
  --ok:#3ad29f;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(123,92,255,.20), transparent 55%),
              radial-gradient(1200px 800px at 80% 10%, rgba(73,198,255,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{width:min(1100px, 92vw); margin:0 auto}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}

.brand{display:flex; align-items:center; gap:10px}
.brand__mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 10px 30px rgba(123,92,255,.25);
}
.brand__name{font-weight:800; letter-spacing:.3px}
.brand__name small{opacity:.85; font-weight:600}

.nav{position:relative}
.nav__toggle{
  display:none;
  font-size:20px;
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:12px;
  padding:8px 10px;
}
.nav__list{display:flex; gap:18px; align-items:center; list-style:none; margin:0; padding:0}
.nav__list a{opacity:.9}
.nav__list a:hover{opacity:1}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:14px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border:0; color:#061021; font-weight:800;
  box-shadow: 0 14px 40px rgba(73,198,255,.18);
  transition: transform .15s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn--ghost{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow:none;
}
.btn--sm{padding:10px 12px; border-radius:12px}

/* Hero */
.hero{position:relative; padding:72px 0 44px}
.hero__grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:26px; align-items:start}
.hero__bg{
  position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(900px 380px at 30% 20%, rgba(73,198,255,.10), transparent 60%),
              radial-gradient(700px 360px at 70% 40%, rgba(123,92,255,.10), transparent 60%);
}

.pill{
  display:inline-block;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  margin:0 0 14px;
}

h1{font-size: clamp(30px, 3.6vw, 46px); line-height:1.08; margin:0 0 12px}
.lead{color:var(--muted); font-size:16px; line-height:1.6; margin:0 0 16px}

.hero__badges{display:flex; gap:8px; flex-wrap:wrap; margin:0 0 16px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size:13px;
}

.hero__cta{display:flex; gap:12px; flex-wrap:wrap}

.hero__stats{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:20px}
.stat{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:16px; padding:12px;
}
.stat__kpi{font-weight:800}
.stat__txt{color:var(--muted); font-size:13px; margin-top:4px; line-height:1.35}

.mini-callout{
  margin-top:14px;
  border:1px solid rgba(73,198,255,.30);
  background: rgba(73,198,255,.06);
  border-radius:14px;
  padding:12px;
  color: var(--muted);
}

/* Sections */
.section{padding:54px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 40%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head h2{margin:0 0 8px; font-size:28px}
.section__head p{margin:0 0 18px; color:var(--muted); line-height:1.55}

/* Grid */
.grid{display:grid; gap:14px}
.grid--3{grid-template-columns:repeat(3, 1fr)}
.grid--2{grid-template-columns:repeat(2, 1fr)}

/* Cards */
.card{
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card--glow{
  background: radial-gradient(600px 240px at 20% 0%, rgba(73,198,255,.14), transparent 60%),
              radial-gradient(600px 240px at 80% 20%, rgba(123,92,255,.12), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}

/* Lists */
.checklist{padding-left:18px; margin:12px 0}
.checklist li{margin:8px 0; color:var(--muted)}
.bullets{padding-left:18px; margin:10px 0}
.bullets li{margin:8px 0; color:var(--muted); line-height:1.45}

.muted{color:var(--muted); font-size:13px}

/* Tags */
.tagrow{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}
.tag{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size:13px;
}
.tag--soft{
  border:1px solid rgba(123,92,255,.22);
  background: rgba(123,92,255,.06);
}

/* Law bar */
.lawbar{
  margin-top:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:14px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.lawbar__title{color:var(--muted); font-size:13px; font-weight:700}
.lawbar__chips{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  display:inline-flex; align-items:center;
  padding:8px 10px; border-radius:999px;
  background: linear-gradient(135deg, rgba(73,198,255,.12), rgba(123,92,255,.10));
  border:1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-size:13px;
}

/* Steps */
.steps{display:grid; grid-template-columns:repeat(6, 1fr); gap:10px}
.step{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:14px 12px;
}
.step span{
  display:inline-flex; width:28px; height:28px; border-radius:10px;
  align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color:#061021; font-weight:900;
  margin-bottom:10px;
}
.step h3{margin:0 0 6px; font-size:14px}
.step p{margin:0; color:var(--muted); font-size:13px; line-height:1.35}

/* Forms */
.form input, .form textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding:12px 12px;
  outline:none;
}
.form input:focus, .form textarea:focus{
  border-color: rgba(73,198,255,.35);
  box-shadow: 0 0 0 4px rgba(73,198,255,.10);
}
.form label{display:block; font-weight:700; margin-bottom:6px}
.form__row{margin-bottom:12px}
.hp{display:none}

/* Contact box */
.contact__box{margin-top:10px; border-top:1px solid var(--line); padding-top:12px}
.note{
  margin-top:12px;
  border:1px dashed rgba(73,198,255,.35);
  background: rgba(73,198,255,.06);
  border-radius:14px;
  padding:12px;
}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

/* Footer */
.footer{padding:22px 0; border-top:1px solid var(--line)}
.footer__inner{display:flex; justify-content:space-between; align-items:center; gap:10px; color:var(--muted)}
.to-top{opacity:.9}
.to-top:hover{opacity:1}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .grid--2{grid-template-columns:1fr}
  .steps{grid-template-columns:repeat(2, 1fr)}
  .hero__stats{grid-template-columns:1fr}
  .nav__toggle{display:inline-flex}

  .nav__list{
    display:none;
    position:absolute;
    right:0;
    top:52px;
    flex-direction:column;
    gap:10px;
    background: rgba(11,18,32,.95);
    border:1px solid var(--line);
    border-radius:16px;
    padding:12px;
    width: min(280px, 92vw);
  }
  .nav__list.is-open{display:flex}
}

/* Logo en header */
.brand__logo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  padding: 6px;
}

/* Galería de visuales */
.media-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.media-card{
  margin: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.media-card img{
   width: 450px;
  height: 250px;
//  object-fit: cover;
   border-radius: 14px;
  display: block;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.media-card figcaption{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 980px){
  .media-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   HERO SERVICIOS VCISO / VDPO
   ========================= */

.services-hero{
  background: radial-gradient(circle at top, #0f3a66 0%, #071d33 70%);
  padding: 80px 20px;
}

.services-container{
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card{
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.service-card img{
  width: 80%;
  max-width: 350px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 14px;
}

.service-card h2{
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card p{
  color: #cfe6ff;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px){
  .services-container{
    grid-template-columns: 1fr;
  }
}