:root{
  --bg: #f6f8fb;
  --text:#0f172a;
  --muted:#6b7280;
  --line: rgba(15,23,42,.12);
  --shadow: 0 16px 40px rgba(15,23,42,.10);
  --radius: 18px;
  --radius2: 26px;

  --wa:#25D366;
  --primary:#4f46e5;
  --accent:#10b981;

  /* extras premium */
  --glass1: rgba(10,14,28,.22);
  --glass2: rgba(10,14,28,.40);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(79,70,229,.08), transparent 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(16,185,129,.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #f2f5fa 55%, var(--bg) 100%);
}

a{color:inherit}
.container{width:min(1120px, 92vw); margin-inline:auto}
.muted{color:var(--muted)}

/* =========================
   TOPBAR
========================= */
.topbar{
  position:sticky; top:0; z-index:50;
  background:
    linear-gradient(90deg,
      rgba(79,70,229,.10) 0%,
      rgba(255,255,255,.78) 35%,
      rgba(16,185,129,.10) 100%
    );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.10);
}

.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand__logo{height:80px; width:auto; display:block}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  text-decoration:none;
  font-weight:900;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease, background .12s ease;
  background: #fff;
}
.btn--xl{padding:12px 18px; border-radius:16px}

.btn--soft{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.90);
}
.btn--soft:hover{background: rgba(255,255,255,.18)}

.btn--wa{
  border-color: rgba(37,211,102,.28);
  background: linear-gradient(180deg, rgba(37,211,102,1), rgba(21,170,78,.92));
  box-shadow: 0 18px 45px rgba(37,211,102,.20);
  color: #07130c;
}
.btn--primary{
  border-color: rgba(79,70,229,.25);
  background: linear-gradient(180deg, rgba(99,102,241,1), rgba(79,70,229,.88));
  box-shadow: 0 18px 45px rgba(79,70,229,.18);
  color:#07112a;
}
.btn--accent{
  border-color: rgba(16,185,129,.22);
  background: linear-gradient(180deg, rgba(16,185,129,1), rgba(10,140,100,.92));
  box-shadow: 0 18px 45px rgba(16,185,129,.18);
  color:#062015;
}

.btn:hover{transform: translateY(-1px)}
.btn--wa:hover,.btn--primary:hover,.btn--accent:hover{filter: brightness(1.03)}

/* =========================
   SECTIONS
========================= */
.section{padding:64px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.03));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.sectionHead{display:flex; flex-direction:column; gap:8px; margin-bottom:20px}
.sectionHead h2{
  margin:0;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing:-.3px;
}
.sectionHead p{margin:0; color:var(--muted); max-width:780px}

/* =========================
   HERO — PREMIUM FINAL
========================= */
.hero{
  position: relative;
  overflow: hidden;
  min-height:74vh;
  display:grid;
  align-items:center;
  background: #0b1022;
}

.hero__media{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.hero__video{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.04);
  filter: contrast(1.06) saturate(1.05) brightness(1.04);
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 30%, rgba(3,6,18,.42), transparent 72%),
    linear-gradient(90deg,
      rgba(3,6,18,.40) 0%,
      rgba(3,6,18,.28) 48%,
      rgba(3,6,18,.14) 78%,
      rgba(3,6,18,.08) 100%
    );
}

.hero__content{
  position: relative;
  padding: 66px 0 54px;
}

/* Contenedor transparente */
.hero__contentBox{
  position: relative;
  padding: 0;
}

/* PANEL GLASS ÚNICO (sin duplicados) */
.hero__contentBox::before{
  content:"";
  position:absolute;
  top:0;
  left:-16px;
  bottom:0;

  width: min(640px, 100%);

  background: linear-gradient(180deg, var(--glass1), var(--glass2));
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  border-radius: 26px;

  box-shadow:
    0 18px 60px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.06);

  pointer-events:none;
}

.hero__contentBox > *{
  position: relative;
  z-index: 1;
}

/* Padding interno del bloque */
.hero__contentBox .badge,
.hero__contentBox h1,
.hero__contentBox .lead,
.hero__contentBox .hero__actions,
.hero__contentBox .hero__bullets,
.hero__contentBox .note{
  padding-left: 32px;
  padding-right: 32px;
}
.hero__contentBox .badge{ padding-top: 32px; }
.hero__contentBox .note{ padding-bottom: 28px; }

/* Badge */
.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-weight:900;
  font-size:12px;
}

/* Headline (no se sale del panel) */
.hero h1{
  margin:14px 0 10px;
  max-width: 560px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height:1.06;
  letter-spacing:-.6px;
  font-weight: 950;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0,0,0,.52),
    0 10px 26px rgba(0,0,0,.45),
    0 26px 70px rgba(0,0,0,.45);
}

/* Lead (compacto para que se vea más video) */
.lead{
  margin:0 0 16px;
  max-width: 520px;
  font-size:15px;
  line-height:1.55;
  font-weight: 650;
  color: rgba(255,255,255,.90);
  text-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* Botones dentro del hero se ven premium y consistentes */
.hero__actions .btn{
  box-shadow: 0 14px 40px rgba(0,0,0,.30);
}
.hero__actions .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(0,0,0,.36);
}

/* Bullets */
.hero__bullets{
  list-style:none;
  padding:0; margin:16px 0 0;
  display:grid;
  gap:10px;
  max-width: 560px;
}
.hero__bullets li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: rgba(255,255,255,.86);
  text-shadow: 0 10px 24px rgba(0,0,0,.30);
}
.dot{
  margin-top:7px;
  width:8px; height:8px;
  border-radius:50%;
  background: rgba(255,255,255,.60);
  box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}
.note{
  margin-top:10px;
  color: rgba(255,255,255,.68);
  font-size:13px;
  text-shadow: 0 10px 22px rgba(0,0,0,.28);
}

/* =========================
   CARDS
========================= */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.card{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,23,42,.12);
}
.card__img{
  height:180px;
  background-size:cover;
  background-position:center;
}
.card__body{padding:16px}
.card__body h3{margin:0 0 6px}
.card__body p{margin:0; color:var(--muted); line-height:1.5}

.miniCard{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: var(--shadow);
}
.miniCard h3{margin:0 0 6px}
.miniCard p{margin:0; color:var(--muted); line-height:1.55}

/* =========================
   CTA BAND
========================= */
.ctaBand{
  margin-top:18px;
  border:1px solid rgba(79,70,229,.18);
  background: linear-gradient(180deg, rgba(79,70,229,.06), rgba(15,23,42,.03));
  border-radius: var(--radius2);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.ctaBand__text h3{margin:0 0 6px}
.ctaBand__text p{margin:0; color:var(--muted)}
.ctaBand__actions{display:flex; gap:10px; flex-wrap:wrap}

/* =========================
   CONTACT
========================= */
.contactGrid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:16px;
  align-items:start;
}
.form{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: var(--shadow);
}
label{display:flex; flex-direction:column; gap:8px; font-weight:900}
input, select, textarea{
  font: inherit;
  color: var(--text);
  background: #fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
textarea{resize: vertical}
.row2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  margin-bottom:12px;
}
.form__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
  align-items:center;
}
.form__note{margin:12px 0 0; color:var(--muted); font-size:13px; line-height:1.45}

.contactCard{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:18px;
  background:#fff;
  box-shadow: var(--shadow);
}

.divider{height:1px; background:rgba(15,23,42,.10); margin:14px 0}

/* =========================
   MODAL + LIGHTBOX
========================= */
.modal, .lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.modal.is-open, .lightbox.is-open{ display: block; }
.modal__backdrop, .lightbox__backdrop{
  position:absolute;
  inset:0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(10px);
}

.modal__panel{
  position: relative;
  width: min(980px, calc(100% - 28px));
  margin: 70px auto;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 30px 80px rgba(15,23,42,.25);
  padding: 16px 16px 18px;
  max-height: 85vh;
  overflow: auto;
}

.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 6px;
}
.modal__close{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(15,23,42,.04);
  cursor:pointer;
}

.modal__sub{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  margin-bottom: 14px;
  color: rgba(15,23,42,.70);
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}

.gallery-item{
  padding:0;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  overflow:hidden;
  background: transparent;
  cursor:pointer;
}

.gallery-item img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img{
  transform: scale(1.04);
  filter: contrast(1.05) saturate(1.05);
}

.lightbox__panel{
  position: relative;
  width: min(1050px, calc(100% - 28px));
  margin: 60px auto;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  padding: 12px;
  box-shadow: 0 30px 90px rgba(15,23,42,.30);
}
.lightbox__close{
  position:absolute;
  top:10px; right:10px;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(15,23,42,.06);
  cursor:pointer;
}
#lightboxImg{
  width:100%;
  height:auto;
  display:block;
  border-radius: 18px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .grid3{grid-template-columns: repeat(2, 1fr);}
  .contactGrid{grid-template-columns: 1fr;}
}

@media (max-width: 620px){
  .grid3{grid-template-columns: 1fr;}
  .row2{grid-template-columns: 1fr;}
  .gallery-grid{grid-template-columns: repeat(2, minmax(0,1fr));}

  .hero__content{padding:54px 0 44px;}

  .hero__contentBox::before{
    width: 100%;
    left: 0;
    border-radius: 20px;
  }

  .hero__contentBox .badge,
  .hero__contentBox h1,
  .hero__contentBox .lead,
  .hero__contentBox .hero__actions,
  .hero__contentBox .hero__bullets,
  .hero__contentBox .note{
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero__contentBox .badge{ padding-top: 22px; }
  .hero__contentBox .note{ padding-bottom: 20px; }
}

/* ===== Ajuste fino HERO: proporción + más video limpio ===== */

/* 1) Mover el panel un poco a la izquierda (más aire a la derecha) */
.hero__contentBox::before{
  left: -28px;                 /* antes -16 / 0 */
  width: min(720px, 100%);     /* más ancho para que el título “respire” */
}

/* 2) Bajar tamaño del título para que no se sienta “gigante” */
.hero h1{
  font-size: clamp(28px, 3.0vw, 42px);
  max-width: 610px;            /* acompaña al panel más ancho */
}

/* 3) Hacer el lead un poquito más compacto */
.lead{
  max-width: 560px;
  font-size: 14.5px;
}

/* 4) Alineación visual: que el badge y el bloque queden más estéticos */
.hero__contentBox .badge{ margin-bottom: 2px; }

/* === AJUSTE FINAL DE PROPORCIÓN HERO === */

/* Panel un poco más ancho y más a la izquierda */
.hero__contentBox::before{
  width: min(700px, 100%);
  left: -40px;                 /* mueve el panel a la izquierda */
  background: linear-gradient(
    180deg,
    rgba(10,14,28,.18),
    rgba(10,14,28,.34)
  );
  backdrop-filter: blur(9px);
  box-shadow: 0 16px 48px rgba(0,0,0,.16);
}

/* Título más proporcionado */
.hero h1{
  font-size: clamp(26px, 2.8vw, 38px);
  max-width: 560px;
  line-height: 1.08;
}

/* Subtexto más corto y limpio */
.lead{
  font-size: 16px;
  max-width: 550px;
  margin-bottom: 14px;
}

/* Botones un poco más juntos (look premium) */
.hero__actions{
  gap:10px;
}

/* FIX botón Llamar en topbar */
.topbar .btn--soft{
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.18);
  color: #0f172a;
}

.topbar .btn--soft:hover{
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* ============================= */
/* CINTAS ADHESIVAS SECTION */
/* ============================= */

.tapes-section {
  padding: 90px 0;
}

.tapes-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.tapes-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.tapes-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.tapes-description {
  margin-top: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Igualar tipografía de títulos a las demás secciones */
.tapes-section .section-title{
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -.3px;
  font-weight: 950;
  color: var(--text);
}

/* FIX: variable no existe (tenías --text-dark) */
.tapes-section .tapes-description{
  color: var(--text);
}

/* ============================= */
/* SERVICES HERO IMAGE */
/* ============================= */

.services-hero {
  width: 100%;
  margin-bottom: 60px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15,23,42,.18);
  background: #fff;
}

.services-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 80%; /* <-- mueve la imagen hacia abajo */
  display: block;
}

