:root{
  --bg:#0b0f17;
  --panel:rgba(255,255,255,.07);
  --panel2:rgba(255,255,255,.05);
  --text:#e7edf7;
  --muted:#b7c2d6;
  --line:rgba(255,255,255,.12);
  --radius:18px;
}

*{ box-sizing:border-box }
html{ scroll-behavior:smooth }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
img{ max-width:100%; display:block }
a{ color:inherit; text-decoration:none }

.container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}

/* ===== HEADER ===== */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(11,15,23,.9);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
}
.brand__logo{
  width:44px;
  height:44px;
  border-radius:12px;
}
.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand__sub{
  color:var(--muted);
  font-size:.9rem;
}

.menu{ display:flex; gap:16px }
.menu a{
  padding:8px 12px;
  border-radius:12px;
  color:var(--muted);
}
.menu a:hover{
  background:var(--panel2);
  color:var(--text);
}
.menuBtn{ display:none }

.headBtns{ display:flex; gap:10px }

/* ===== BOTONES ===== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--panel2);
  font-weight:600;
}
.btn--wa{ background:rgba(37,211,102,.18) }
.btn--ig{ background:rgba(193,53,132,.18) }
.btn--ghost{ background:transparent }
.dark{ background:rgba(255,255,255,.06) }

/* ===== HERO ===== */
.hero{
  position:relative;
}
.hero__content{
  padding:22px 0 28px;
}
.pill{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--panel2);
  color:var(--muted);
  font-size:.9rem;
}
.lead{
  color:var(--muted);
  margin-top:10px;
}
.cta{
  display:flex;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}

/* ===== SLIDER (COMPACTO) ===== */
.slider{
  position:relative;
  width:100%;
  height:clamp(160px, 26vw, 300px); /* 🔑 PEQUEÑO Y ACCESIBLE */
  overflow:hidden;
  background:#05070c;
  border-bottom:1px solid var(--line);
}
.slides{
  display:flex;
  height:100%;
  transition:transform .45s ease;
}
.slides img{
  width:100%;
  height:100%;
  flex:0 0 100%;
  object-fit: cover;
  object-position: 50% 40%; /* sube un toque el foco */
}

/* Flechas */
.sliderBtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid var(--line);
  background:rgba(0,0,0,.45);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  z-index:5;
}
.sliderBtn.prev{ left:10px }
.sliderBtn.next{ right:10px }

/* Dots */
.dots{
  position:absolute;
  bottom:8px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}
.dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#aaa;
  cursor:pointer;
}
.dot.isActive{
  width:18px;
  border-radius:10px;
  background:#fff;
}

/* ===== SECCIONES ===== */
.section{ padding:32px 0 }
.section--soft{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.04), transparent);
}
.headRow{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
}
.muted{ color:var(--muted) }
.small{ font-size:.9rem }

/* ===== SERVICIOS ===== */
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:16px;
}
.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  text-align:center;
}

/* Iconos centrados y responsive */
.iconWrap{
  width:clamp(56px,8vw,72px);
  height:clamp(56px,8vw,72px);
  margin:0 auto 12px auto;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--panel2);
  border:1px solid var(--line);
}
.icon{
  font-size:clamp(28px,4vw,38px);
}
.icon2{
  font-size:clamp(22px,3.4vw,32px);
  margin-left:4px;
}

/* ===== GALERÍA ===== */
.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:16px;
}
.gallery img{
  height:160px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
}

/* ===== CONTACTO ===== */
.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.box{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}
.row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.msg{
  background:#000;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  white-space:pre-wrap;
}
.hr{
  border:0;
  border-top:1px solid var(--line);
  margin:16px 0;
}

/* ===== FOOTER ===== */
.footer{
  border-top:1px solid var(--line);
  padding:20px 0;
}

/* ===== FLOAT ===== */
.float{
  position:fixed;
  right:14px;
  bottom:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:1200;
}

/* ===== RESPONSIVE ===== */
@media(max-width:980px){
  .cards{ grid-template-columns:1fr 1fr }
  .gallery{ grid-template-columns:1fr 1fr }
}
@media(max-width:720px){
  .menu{ display:none }
  .menuBtn{ display:inline-flex }
  .two{ grid-template-columns:1fr }
  .slider{
    height:200px; /* aún más compacto en móvil */
  }
}
