:root{
  --bg:#0B1520;
  --surface:#101F30;
  --surface-2:#152840;
  --line: rgba(140,160,179,0.18);
  --text:#E8EEF5;
  --muted:#8CA0B3;
  --amber:#F2A93B;
  --teal:#3EC9A7;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.5;
}
a{color:inherit; text-decoration:none;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--amber); display:flex; align-items:center; gap:10px;
}
.eyebrow::before{content:''; width:16px; height:1px; background:var(--amber);}

header{
  position:sticky; top:0; z-index:50;
  background:rgba(11,21,32,0.85); backdrop-filter: blur(8px);
  border-bottom:1px solid var(--line);
}
nav{display:flex; align-items:center; justify-content:space-between; padding:18px 0;}
.logo{font-family:'Space Grotesk'; font-weight:700; font-size:20px; letter-spacing:0.02em;}
.logo span{color:var(--amber);}
.navlinks{display:flex; gap:32px; font-size:14px; color:var(--muted);}
.navlinks a:hover{color:var(--text);}

.menu-toggle{display:none;}
.hamburger{display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; margin-left:12px;}
.hamburger span{width:22px; height:2px; background:var(--text); display:block; transition:.2s;}
.mobile-nav{display:none; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:var(--surface); border-bottom:1px solid var(--line);}
.mobile-nav a{padding:16px 24px; border-top:1px solid var(--line); font-size:15px; color:var(--text);}
.mobile-nav a:first-child{border-top:none;}
.mobile-nav .btn{margin:16px 24px 20px; text-align:center;}
.btn{
  font-family:'IBM Plex Mono'; font-size:13px; font-weight:500;
  padding:10px 18px; border:1px solid var(--amber); color:var(--amber);
  border-radius:2px; transition:.2s; display:inline-block;
}
.btn:hover{background:var(--amber); color:var(--bg);}
.btn-solid{background:var(--amber); color:var(--bg); border-color:var(--amber);}
.btn-solid:hover{background:#ffbf5c;}

/* HERO (home) */
.hero{padding:100px 0 80px; position:relative;}
.hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:center;}
.hero-grid.hero-solo{grid-template-columns:1fr; max-width:760px;}
h1{
  font-family:'Space Grotesk'; font-size:52px; line-height:1.08; font-weight:700;
  margin:18px 0 22px; letter-spacing:-0.01em;
}
h1 .accent{color:var(--amber);}
.lead{color:var(--muted); font-size:17px; max-width:480px; margin-bottom:32px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap;}
.hero-panel{
  border:1px solid var(--line); background:var(--surface); border-radius:4px;
  padding:28px; position:relative;
}
.hero-panel::before, .hero-panel::after{
  content:''; position:absolute; width:14px; height:14px; border:2px solid var(--amber);
}
.hero-panel::before{top:-2px; left:-2px; border-right:0; border-bottom:0;}
.hero-panel::after{bottom:-2px; right:-2px; border-left:0; border-top:0;}
.status-row{display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--line); font-family:'IBM Plex Mono'; font-size:13px;}
.status-row:last-child{border-bottom:none;}
.dot{width:8px; height:8px; border-radius:50%; background:var(--teal); display:inline-block; margin-right:8px; box-shadow:0 0 8px var(--teal);}

/* STATS */
.stats{border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:36px 0;}
.stats-row{display:grid; grid-template-columns:repeat(4,1fr); text-align:center;}
.stats-row div{border-left:1px solid var(--line); padding:0 12px;}
.stats-row div:first-child{border-left:none;}
.stat-num{font-family:'Space Grotesk'; font-size:34px; font-weight:700; color:var(--amber);}
.stat-label{font-size:12.5px; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em; margin-top:4px;}

/* SECTIONS / SERVICES */
.section{padding:96px 0;}
.section-head{max-width:600px; margin-bottom:56px;}
h2{font-family:'Space Grotesk'; font-size:34px; margin-top:14px; font-weight:600;}
.services-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
.service-card{background:var(--bg); padding:32px 26px; transition:.2s; display:block; cursor:pointer;}
.service-card:hover{background:var(--surface-2);}
.service-num{font-family:'IBM Plex Mono'; color:var(--amber); font-size:13px;}
.service-card h3{font-family:'Space Grotesk'; font-size:18px; margin:16px 0 10px;}
.service-card p{color:var(--muted); font-size:14px;}
.service-more{
  display:inline-flex; align-items:center; gap:6px; margin-top:14px;
  font-family:'IBM Plex Mono'; font-size:12px; color:var(--amber);
}
.service-card:hover .service-more{gap:10px;}
.service-more{transition:gap .2s;}

/* TESTIMONIALS */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.testi{background:var(--surface); border:1px solid var(--line); border-radius:4px; padding:26px;}
.testi p{color:var(--text); font-size:14.5px; margin-bottom:16px;}
.testi-name{font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--teal);}

/* CONTACT */
.contact{background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; padding:80px 0;}
.contact-item{padding:16px 0; border-bottom:1px solid var(--line);}
.contact-item .label{font-family:'IBM Plex Mono'; font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:0.08em;}
.contact-item .value{font-size:18px; margin-top:6px; font-family:'Space Grotesk';}

footer{padding:36px 0; text-align:center; color:var(--muted); font-size:13px; font-family:'IBM Plex Mono';}

/* --- PANEL LATERAL DE SERVICIO (DRAWER) --- */
.overlay{position:fixed; inset:0; background:rgba(0,0,0,0.55); opacity:0; pointer-events:none; transition:opacity .25s; z-index:90;}
.overlay.open{opacity:1; pointer-events:auto;}

.drawer{
  position:fixed; top:0; right:0; height:100%; width:480px; max-width:92vw;
  background:var(--surface); border-left:1px solid var(--line);
  transform:translateX(100%); transition:transform .3s ease; z-index:100;
  overflow-y:auto;
}
.drawer.open{transform:translateX(0);}
.drawer-head{padding:28px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:flex-start;}
.drawer-close{font-family:'IBM Plex Mono'; color:var(--muted); cursor:pointer; font-size:20px; line-height:1; background:none; border:none;}
.drawer-close:hover{color:var(--amber);}
.drawer-head h2{font-family:'Space Grotesk'; font-size:26px; margin:10px 0 8px;}
.drawer-head p{color:var(--muted); font-size:14.5px;}

.tabs{display:flex; border-bottom:1px solid var(--line); padding:0 28px;}
.tab{font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--muted); padding:16px 0; margin-right:26px; cursor:pointer; border-bottom:2px solid transparent; background:none; border-top:none; border-left:none; border-right:none;}
.tab.active{color:var(--amber); border-bottom-color:var(--amber);}
.tab-panel{display:none; padding:26px 28px;}
.tab-panel.active{display:block;}
.drawer-feature{display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); font-size:14.5px;}
.drawer-feature:last-child{border-bottom:none;}
.drawer-step{padding:14px 0; border-bottom:1px solid var(--line);}
.drawer-step:last-child{border-bottom:none;}
.drawer-step .n{font-family:'Space Grotesk'; color:var(--amber); font-weight:700; margin-right:10px;}
.drawer-cta{padding:24px 28px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:10px;}
.drawer-cta .btn{text-align:center;}
.drawer-fullpage{font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--muted); text-align:center; padding:4px 0;}
.drawer-fullpage:hover{color:var(--amber);}

/* --- PÁGINAS DE DETALLE DE SERVICIO --- */
.breadcrumb{
  font-family:'IBM Plex Mono'; font-size:13px; color:var(--muted);
  padding:24px 0 0;
}
.breadcrumb a{color:var(--amber);}
.breadcrumb a:hover{text-decoration:underline;}

.detail-hero{padding:40px 0 70px;}
.detail-hero .service-num{
  font-size:15px; display:inline-block; margin-bottom:18px;
  border:1px solid var(--line); padding:6px 12px; border-radius:2px;
}
.detail-hero h1{font-size:44px; max-width:720px;}
.detail-hero .lead{max-width:640px; font-size:18px;}

.feature-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
.feature-item{background:var(--bg); padding:26px 28px; display:flex; gap:16px;}
.feature-check{
  flex-shrink:0; width:28px; height:28px; border-radius:50%; background:var(--surface-2);
  border:1px solid var(--teal); color:var(--teal); display:flex; align-items:center; justify-content:center;
  font-size:14px; font-family:'IBM Plex Mono';
}
.feature-item p{color:var(--text); font-size:15px; padding-top:4px;}

.process{display:grid; grid-template-columns:repeat(5,1fr); gap:20px;}
.process-step{position:relative; padding-top:20px;}
.process-step::before{content:''; position:absolute; top:0; left:0; width:32px; height:1px; background:var(--amber);}
.process-step .num{font-family:'Space Grotesk'; color:var(--amber); font-size:22px; font-weight:700;}
.process-step h4{font-size:14.5px; margin:10px 0 8px; font-family:'Space Grotesk';}
.process-step p{color:var(--muted); font-size:13px;}

.cta-band{
  background:var(--surface); border:1px solid var(--line); border-radius:6px;
  padding:48px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
}
.cta-band h3{font-family:'Space Grotesk'; font-size:24px; font-weight:600;}
.cta-band p{color:var(--muted); font-size:14.5px; margin-top:6px;}

@media(max-width:900px){
  .hero-grid, .contact-grid{grid-template-columns:1fr;}
  .services-grid, .feature-grid{grid-template-columns:1fr 1fr;}
  .stats-row{grid-template-columns:1fr 1fr; row-gap:20px;}
  .process{grid-template-columns:1fr 1fr;}
  h1{font-size:36px;}
  .detail-hero h1{font-size:30px;}
  .navlinks{display:none;}
  .cta-band{flex-direction:column; align-items:flex-start;}
  #nav-phone{display:none;}
  .hamburger{display:flex;}
  .menu-toggle:checked ~ .mobile-nav{display:flex;}
  .drawer{width:100%; max-width:100%;}
}
@media(max-width:600px){
  .feature-grid{grid-template-columns:1fr;}
  .process{grid-template-columns:1fr;}
  .services-grid{grid-template-columns:1fr;}
}