/* OBTech — Landing v2 (sin frameworks) */
:root{
  --bg:#0B1020;
  --bg2:#0F1733;
  --card:#0F1733;
  --text:#E5E7EB;
  --muted:#9CA3AF;
  --line:#24305A;
  --white:#FFFFFF;
  --ink:#0B1020;
  --a:#6EE7FF;
  --b:#7C3AED;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --shadow2: 0 14px 30px rgba(0,0,0,.22);
  --r: 18px;
  --r2: 24px;
  --max: 1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Arial;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(110,231,255,.12), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(124,58,237,.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #070A16 100%);
}
a{color:inherit}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background: rgba(11,16,32,.65);
  border-bottom:1px solid rgba(36,48,90,.55);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand__logo{height:42px; width:auto; display:block}
.nav{display:flex; gap:18px; align-items:center}
.nav a{
  text-decoration:none;
  color:rgba(229,231,235,.9);
  font-weight:700; font-size:13px;
  letter-spacing:.02em;
  padding:10px 10px;
  border-radius:999px;
}
.nav a:hover{background: rgba(255,255,255,.06)}
.nav__cta{
  border:1px solid rgba(110,231,255,.35);
  background: linear-gradient(135deg, rgba(110,231,255,.18), rgba(124,58,237,.18));
}
.burger{
  display:none; border:0; background:transparent; padding:8px; cursor:pointer;
}
.burger span{display:block; width:26px; height:2px; background:rgba(229,231,235,.9); margin:6px 0; border-radius:2px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.btn--primary{
  color:var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 16px 40px rgba(124,58,237,.25);
}
.btn--primary:hover{transform: translateY(-1px)}
.btn--ghost{
  background: rgba(255,255,255,.06);
}
.btn--ghost:hover{background: rgba(255,255,255,.09)}

/* Hero */
.hero{
  position:relative;
  padding:64px 0 28px;
  overflow:hidden;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:34px;
  align-items:center;
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(229,231,235,.92);
  font-weight:700; font-size:13px;
}
.dot{width:10px; height:10px; border-radius:99px; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 0 0 5px rgba(110,231,255,.12)}
.hero h1{
  margin:18px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.grad{
  background: linear-gradient(135deg, var(--a), var(--b));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p{
  margin:0 0 18px;
  color: rgba(229,231,235,.82);
  font-weight:600;
  line-height:1.55;
  max-width: 56ch;
}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap}
.hero__stats{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.stat{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(15,23,51,.55);
  border-radius: 16px;
  padding:12px 12px;
}
.stat__num{font-weight:900; font-size:16px}
.stat__lbl{color: rgba(156,163,175,.9); font-weight:700; font-size:12px; margin-top:2px}

.hero__art{
  position:relative;
  border-radius: var(--r2);
}
.hero__art img{
  width:100%; height:auto; display:block;
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.10);
}
.glow{position:absolute; filter: blur(30px); opacity:.65; pointer-events:none}
.glow--1{width:240px; height:240px; background: rgba(110,231,255,.28); left:-70px; top:-70px}
.glow--2{width:260px; height:260px; background: rgba(124,58,237,.26); right:-80px; bottom:-80px}

.hero__wave{
  height:90px;
  margin-top:26px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.03));
  border-top:1px solid rgba(255,255,255,.06);
}

/* Sections */
.section{padding:70px 0}
.section--alt{
  background:
    radial-gradient(900px 600px at 20% 30%, rgba(110,231,255,.08), transparent 62%),
    radial-gradient(900px 600px at 80% 30%, rgba(124,58,237,.10), transparent 62%),
    rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section__head{
  max-width: 760px;
  margin:0 auto 26px;
  text-align:center;
}
.section__head h2{
  margin:0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing:-.02em;
}
.section__head p{
  margin:0;
  color: rgba(156,163,175,.95);
  font-weight:600;
  line-height:1.55;
  margin-bottom:20px;
}

/* Grids / cards */
.grid{display:grid; gap:16px}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}

.card{
  background: rgba(15,23,51,.55);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  padding:18px;
  box-shadow: var(--shadow2);
  position:relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(500px 240px at 0% 0%, rgba(110,231,255,.12), transparent 60%);
  opacity:.85;
  pointer-events:none;
}
.card h3{margin:12px 0 8px; font-size:18px; letter-spacing:-.01em}
.card p{margin:0 0 14px; color: rgba(156,163,175,.95); font-weight:600; line-height:1.55}
.icon{
  width:54px; height:54px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.icon img{width:44px; height:44px}

.checklist{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.checklist li{
  color: rgba(229,231,235,.92);
  font-weight:700;
  font-size:13px;
  display:flex; gap:10px; align-items:flex-start;
}
.checklist li::before{
  content:"✓";
  width:22px; height:22px;
  display:grid; place-items:center;
  border-radius:999px;
  background: rgba(110,231,255,.12);
  border:1px solid rgba(110,231,255,.18);
  color: var(--a);
  margin-top: -2px;
}

/* Banner */
.banner{
  margin-top:18px;
  background: linear-gradient(135deg, rgba(110,231,255,.10), rgba(124,58,237,.12));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r2);
  padding:18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
}
.banner h3{margin:0 0 6px}
.banner p{margin:0; color: rgba(229,231,235,.82); font-weight:600}

/* Feature list */
.feature{
  display:flex; gap:14px;
  padding:18px;
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,23,51,.55);
}
.feature__icon{
  width:54px; height:54px; border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  flex:0 0 auto;
}
.feature__icon img{width:44px; height:44px}
.feature h3{margin:2px 0 6px}
.feature p{margin:0; color: rgba(156,163,175,.95); font-weight:600; line-height:1.55}
.tags{margin-top:10px; display:flex; flex-wrap:wrap; gap:8px}
.tags span{
  font-size:12px; font-weight:800;
  color: rgba(229,231,235,.9);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding:7px 10px;
  border-radius:999px;
}

/* Shots */
.shot{
  background: rgba(15,23,51,.55);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  padding:14px;
}
.shot__img{
  border-radius: 14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(11,16,32,.7);
  box-shadow: var(--shadow2);
}
.shot__img img{width:100%; height:auto; display:block}
.shot h3{margin:12px 0 6px}
.shot p{margin:0; color: rgba(156,163,175,.95); font-weight:600; line-height:1.55}

/* Testimonials */
.testimonials{
  margin:100px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:16px;
}
.quote{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,23,51,.55);
  border-radius: var(--r);
  padding:16px;
}
.quote p{margin:0 0 10px; font-weight:700; line-height:1.6}
.quote span{color: rgba(156,163,175,.95); font-weight:700; font-size:12px}

/* FAQ */
.faq{max-width: 820px; margin: 0 auto; display:grid; gap:12px}
details{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,23,51,.55);
  border-radius: var(--r);
  padding:14px 16px;
}
summary{cursor:pointer; font-weight:900; letter-spacing:-.01em}
details p{margin:10px 0 0; color: rgba(156,163,175,.95); font-weight:600; line-height:1.55}

/* CTA */
.cta{
  margin-top:18px;
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(110,231,255,.10), rgba(124,58,237,.14));
  padding:18px;
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
}
.cta h3{margin:0 0 6px}
.cta p{margin:0; color: rgba(229,231,235,.82); font-weight:600}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}
.contact__left p{color: rgba(156,163,175,.95); font-weight:600; line-height:1.55}
.contact__cards{display:grid; gap:12px; margin-top:14px}
.mini{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,23,51,.55);
  border-radius: var(--r);
  padding:12px 14px;
}
.mini__k{display:block; color: rgba(156,163,175,.95); font-weight:800; font-size:12px}
.mini__v{display:block; font-weight:900; margin-top:4px; text-decoration:none}

.contact__form{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,23,51,.55);
  border-radius: var(--r2);
  padding:16px;
  box-shadow: var(--shadow2);
}
label{display:grid; gap:8px; margin-bottom:12px; font-weight:900}
input, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,16,32,.75);
  color: var(--text);
  padding:12px 12px;
  outline:none;
  font-weight:700;
}
input:focus, textarea:focus{border-color: rgba(110,231,255,.55); box-shadow: 0 0 0 4px rgba(110,231,255,.10)}
.help{margin:10px 0 0; color: rgba(156,163,175,.95); font-weight:600; font-size:12px; line-height:1.5}
.help a{color: rgba(110,231,255,.95)}

/* Footer */
.footer{
  padding:34px 0;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap:16px;
  align-items:start;
}
.footer__logo{height:42px; width:auto}
.footer__brand p{margin:10px 0 0; color: rgba(156,163,175,.95); font-weight:700}
.footer__links{display:grid; gap:10px}
.footer__links a{text-decoration:none; color: rgba(229,231,235,.9); font-weight:800}
.footer__links a:hover{color: var(--a)}
.footer__copy{display:grid; gap:10px; justify-items:end; color: rgba(229,231,235,.9); font-weight:800}
.muted{color: rgba(156,163,175,.95); font-weight:700; font-size:12px}

/* WhatsApp floating (placeholder) */
.wa{
  position:fixed; right:16px; bottom:16px; z-index:80;
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  background: rgba(15,23,51,.85);
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none;
  box-shadow: var(--shadow2);
}
.wa__txt{font-weight:900}
.wa:hover{transform: translateY(-1px)}

/* Reveal animations */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{opacity:1; transform: translateY(0)}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:18px}
  .hero{padding-top: 42px}
  .hero__stats{grid-template-columns: 1fr; }
  .grid--3{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .footer__inner{grid-template-columns: 1fr}
  .footer__copy{justify-items:start}
  .testimonials{grid-template-columns: 1fr}
  .nav{
    position:fixed; inset: 64px 14px auto 14px;
    display:none;
    padding:12px;
    border-radius: 18px;
    background: rgba(11,16,32,.88);
    border:1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow2);
    flex-direction:column;
  }
  .nav.is-open{display:flex}
  .burger{display:block}
}

#trabajos {
  scroll-margin-top: 110px;
}

.clients{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
  margin-top:20px;
  margin-bottom:20px;
}

.client-card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,23,51,.55);
  border-radius:18px;
  padding:18px;
  text-align:center;
  box-shadow: var(--shadow2);
}

.client-logo{
  font-weight:900;
  font-size:18px;
  margin-bottom:6px;
  color:var(--text);
}

.client-desc{
  font-size:13px;
  font-weight:700;
  color:rgba(156,163,175,.9);
}

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

.clients-slider{
  overflow:hidden;
  position:relative;
  margin-top:40px;
  margin-botton:40px;
}

.clients-track{
  display:flex;
  gap:16px;
  width:max-content;
  animation: scrollClients 35s linear infinite;
}

.client-card{
  min-width:200px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,23,51,.55);
  border-radius:18px;
  padding:18px;
  text-align:center;
  box-shadow: var(--shadow2);
}

.client-logo{
  font-weight:900;
  font-size:16px;
  color:var(--text);
}

@keyframes scrollClients{
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* pausa al pasar el mouse */
.clients-slider:hover .clients-track{
  animation-play-state: paused;
}

.client-rubro{
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color:rgba(156,163,175,.9);
  letter-spacing:.03em;
}

/* Separación real entre título y carrusel de clientes */
.section__head + .clients-slider{
  margin-top:70px !important;
margin-bottom:40px !important;
}

/* Ajuste fino: menos espacio entre testimonios y bloque de clientes */
.clients-head{
  margin-top: 28px !important;   /* antes estaba demasiado grande */
  margin-bottom: 18px !important;
}

/* Ajuste fino: espacio entre el título de clientes y el carrusel */
.clients-head + .clients-slider{
  margin-top: 18px !important;
}
