:root{
  --bg0:#070a12;
  --bg1:#0b1020;
  --stroke: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(230,240,255,.68);

  --orange:#ff9b18;
  --shadow: 0 18px 70px rgba(0,0,0,.52);
  --radius: 18px;
  --radius2: 24px;

  --max: 1120px;

  /* Header sizing */
  --header-h: 86px;
  --header-h-scrolled: 68px;

  /* Tokens de spacing/transiciones */
  --s-1: 6px;
  --s-2: 10px;
  --s-3: 14px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;

  --t-fast: .15s ease;
  --t-med: .28s ease;
}

*{ box-sizing:border-box; }

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
  background-color: var(--bg0);
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

body{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
  overflow-x:hidden;
  padding-top: var(--header-h);
  position: relative;
}

body.is-scrolled{ padding-top: var(--header-h-scrolled); }

@supports (min-height: 100dvh){
  html,
  body{
    min-height: 100dvh;
  }
}

/* Overlay visual sobre el fondo animado */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 820px at 18% 0%,
      rgba(44,107,237,.12), rgba(44,107,237,0) 62%),
    radial-gradient(1000px 740px at 92% 10%,
      rgba(255,155,24,.10), rgba(255,155,24,0) 60%),
    radial-gradient(1200px 900px at 50% 92%,
      rgba(44,107,237,.07), rgba(44,107,237,0) 65%),
    linear-gradient(180deg,
      rgba(7,10,18,.30),
      rgba(11,16,32,.42));
}

#techBg{
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: .82;
  pointer-events: none;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
  user-select:none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.22);
}
.btn:active{ transform: translateY(0px); }

.btn.primary{
  border-color: rgba(255,155,24,.55);
  background: linear-gradient(135deg, rgba(255,155,24,.95), rgba(255,155,24,.50));
  color: #10131a;
  box-shadow: 0 14px 30px rgba(255,155,24,.18);
}
.btn.primary:hover{ filter: brightness(1.05); }

.btn.ghost{ background: rgba(255,255,255,.04); }

.hide-sm{ display:inline-flex; }
@media (max-width: 860px){ .hide-sm{ display:none; } }

/* =========================
   HEADER (FIXED) + SHRINK
   ========================= */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(8,11,18,.82);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transform: translateZ(0);
  transition: background .18s ease, border-color .18s ease;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 14px;
  padding: 14px 0;
  transition: padding .18s ease;
}

.brand{ display:flex; align-items:center; }
.brand img{
  height: 52px;
  width:auto;
  transition: height .22s ease, transform .22s ease, opacity .22s ease;
  transform-origin: left center;
}

body.is-scrolled .header{
  background: rgba(8,11,18,.90);
  border-bottom-color: rgba(255,255,255,.12);
}
body.is-scrolled .nav{ padding: 10px 0; }
body.is-scrolled .brand img{ height: 40px; }

.menu{
  margin-left: auto;
  margin-right: 6px;
  display:flex;
  align-items:center;
  gap: 14px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 14px;
}
.menu a{
  padding: 9px 10px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
}
.menu a:hover{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}

.nav-cta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-left: 6px;
}

.hamburger{
  display:none;
  align-items:center;
  justify-content:center;
  line-height: 1;
}

/* =========================
   DRAWER (MENÚ MÓVIL)
   ========================= */
.drawer{
  display:none;
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow: auto;
}
body.is-scrolled .drawer{
  max-height: calc(100vh - var(--header-h-scrolled));
  max-height: calc(100dvh - var(--header-h-scrolled));
}

.drawer a{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
  font-weight: 800;
}
.drawer a:hover{ background: rgba(255,255,255,.06); }

.drawer-sep{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 10px 0;
}

/* =========================
   HERO / SECTIONS
   ========================= */
.hero{ padding: 38px 0 22px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: 13px;
}
.small-pill{ padding: 6px 10px; font-size: 12px; }

h1{
  margin: 10px 0 10px;
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 56ch;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 12px;
}

.trust{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  margin-top: 14px;
  color: rgba(235,245,255,.75);
  font-weight: 800;
  font-size: 13px;
}
.dot{
  display:inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(60, 220, 140, .9);
  margin-right: 8px;
  box-shadow: 0 0 18px rgba(60,220,140,.35);
}

/* Panels / cards */
.panel{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow: visible;
}
.p{ padding: 16px; overflow: visible; }

.row{ display:flex; gap: 12px; align-items:center; }
.between{ justify-content:space-between; }
.strong{ font-weight: 900; }
.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }
.tiny-line{ font-size: 12px; color: rgba(235,245,255,.62); }

.divider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 12px 0;
}

.visual-card{
  position: relative;
  overflow: visible;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  padding: 10px;
}

/* =========================
   BEFORE / AFTER SLIDER
   ========================= */
.ba{ width: 100%; }

.ba-media{
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  cursor: col-resize;
  touch-action: none;
}

.ba-after{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(1.06);
  z-index: 0;
}

.ba-before{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  will-change: clip-path;
  clip-path: inset(0 50% 0 0);
  z-index: 1;
}
.ba-before img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(1.06);
}

.ba-label{
  position: absolute;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(255,255,255,.92);
  background: rgba(8,11,18,.55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  z-index: 4;
  pointer-events: none;
  text-transform: uppercase;
}
.ba-label-left{ left: 10px; }
.ba-label-right{ right: 10px; }

.ba-line{
  position:absolute;
  top:0; bottom:0;
  left:50%;
  width:2px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
  transform: translateX(-1px);
  pointer-events:none;
  z-index: 2;
}

.ba-handle{
  position:absolute;
  left:50%;
  top:50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  pointer-events:none;
  z-index: 3;
}

.ba-range{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor: col-resize;
  z-index: 5;
}

.ba-caption{ margin-top: 10px; padding: 0 2px; }

.mt{ margin-top: 10px; }
.mt2{ margin-top: 12px; }

/* Sections */
.section{ padding: 34px 0; }
.section-title{
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.section-sub{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.55;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px){ .steps{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .steps{ grid-template-columns: 1fr; } }

.step{
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.badge{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 0;
}

.step-body{ display:block; }

.step-ico{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  padding: 6px 0;
  opacity: .95;
}
.step-ico svg{
  width: 78px;
  height: 78px;
}

@media (max-width: 700px){
  .step-ico svg{ width: 66px; height: 66px; }
}

@media (max-width: 520px){
  .step{ padding: 12px; gap: 10px; }
  .step-body{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
  }
  .step-body p{
    margin: 0;
    flex: 1 1 auto;
    max-width: 75%;
    line-height: 1.45;
  }
  .step-ico{
    width: auto;
    padding: 0;
    flex: 0 0 auto;
  }
  .step-ico svg{ width: 44px; height: 44px; }
}

/* =========================
   PRICING
   ========================= */
.pricing-grid{
  position: relative;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
  overflow: visible;
}
@media (max-width: 980px){ .pricing-grid{ grid-template-columns: 1fr; } }

.plan-card{
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  height: 100%;

  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);

  padding: var(--s-6) var(--s-5);
  box-shadow: 0 14px 55px rgba(0,0,0,.30);

  transform: translateY(0) scale(1);
  will-change: transform;
  transition:
    transform var(--t-med),
    box-shadow var(--t-med),
    border-color var(--t-med),
    background var(--t-med),
    filter var(--t-med),
    opacity var(--t-med);
}

.plan-card.featured{
  border-color: rgba(255,155,24,.34);
  box-shadow: 0 18px 70px rgba(255,155,24,.10), 0 18px 70px rgba(0,0,0,.35);
}

.plan-top{ margin-bottom: 10px; }

.plan-pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.86);
}
.plan-pill.hot{
  background: rgba(255,155,24,.14);
  border-color: rgba(255,155,24,.35);
}

.plan-name{ margin: 10px 0 6px; font-size: 22px; }
.plan-price{ font-size: 18px; font-weight: 950; }

.plan-desc{
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  min-height: 45px;
}

.plan-list{
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.plan-list li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.90);
}

.plan-list .tick{
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  font-size: 10px;
  font-weight: 900;
}

.plan-text{
  flex: 1 1 auto;
  display: block;
  color: rgba(255,255,255,.92);
}

.plan-details{
  margin-top: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.plan-details summary{
  cursor:pointer;
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-weight: 900;
  color: rgba(255,255,255,.88);
  list-style: none;
}
.plan-details summary::-webkit-details-marker{ display:none; }
.chev{ opacity:.9; }

.plan-services{
  padding: 12px;
  display:grid;
  gap: 10px;
  color: rgba(235,245,255,.80);
}
.plan-services.cols{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.svc{
  font-size: 12.5px;
  line-height: 1.5;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid rgba(255, 155, 24, 0.5);
  border-radius: 12px;
  color: #d1d1d1;
}

.plan-actions{
  margin-top: auto;
  padding-top: 20px;
  padding-bottom: 18px;

  display:flex;
  flex-wrap:wrap;
  gap: 10px;

  justify-content: center;
  align-items: center;
}

/* Hover planes: elevar + glow */
#planes{ position: relative; }

.plan-card::before{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--radius2) + 10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 20%, rgba(255,255,255,.10), rgba(255,255,255,0) 70%),
    radial-gradient(75% 90% at 50% 100%, rgba(44,107,237,.18), rgba(44,107,237,0) 70%);
}
.plan-card.featured::before{
  background:
    radial-gradient(65% 65% at 50% 18%, rgba(255,155,24,.18), rgba(255,155,24,0) 72%),
    radial-gradient(80% 100% at 50% 100%, rgba(255,155,24,.14), rgba(255,155,24,0) 70%);
}

.plan-card:hover,
.plan-card:focus-within{
  z-index: 20;
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  box-shadow:
    0 26px 70px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.06) inset;
}
.plan-card:hover::before,
.plan-card:focus-within::before{ opacity: 1; }

.plan-card.featured:hover,
.plan-card.featured:focus-within{
  border-color: rgba(255,155,24,.60);
  box-shadow:
    0 28px 78px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,155,24,.18) inset,
    0 0 44px rgba(255,155,24,.16);
}

.pricing-grid:hover .plan-card{
  opacity: .78;
  filter: saturate(.92) brightness(.96);
}
.pricing-grid:hover .plan-card:hover{
  opacity: 1;
  filter: none;
}

.plan-card:hover .plan-pill,
.plan-card:focus-within .plan-pill{
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
}
.plan-card:hover .btn:not(.primary),
.plan-card:focus-within .btn:not(.primary){
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.20);
}

@media (min-width: 981px){
  .pricing-grid{ align-items: stretch; }
  .plan-card{ height: 100%; }
  .plan-list{ min-height: 220px; }
}

@media (prefers-reduced-motion: reduce){
  .plan-card{
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .plan-card:hover,
  .plan-card:focus-within{ transform: none; }
  .pricing-grid:hover .plan-card{ filter: none; opacity: 1; }
}

/* Media cards */
.media-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 980px){ .media-grid{ grid-template-columns: 1fr; } }

.media-card{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  overflow:hidden;
  box-shadow: 0 14px 55px rgba(0,0,0,.30);
}
.media-card img{
  width:100%;
  height: 260px;
  object-fit: cover;
  display:block;
}
.media-body{ padding: 14px; }
.media-body h3{ margin: 0 0 6px; }
.media-body p{ margin: 0; }

/* =========================
   CONTACT (inputs + select + contador + captcha)
   ========================= */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 980px){ .contact{ grid-template-columns: 1fr; } }

label{
  display:block;
  margin: 10px 0 6px;
  font-weight: 900;
  color: rgba(255,255,255,.84);
  font-size: 13px;
}

input, textarea, select{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  padding: 12px 12px;
  outline: none;
}

textarea{ min-height: 120px; resize: vertical; }

input:focus, textarea:focus, select:focus{
  border-color: rgba(106,166,255,.42);
  box-shadow: 0 0 0 4px rgba(44,107,237,.12);
}

select{
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%),
                    linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* ===== Contador equipos ===== */
.qty{
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.qty-btn{
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  font-weight: 950;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.qty-btn:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.20);
  transform: translateY(-1px);
}

.qty-btn:active{ transform: translateY(0); }

.qty input[type="number"]::-webkit-outer-spin-button,
.qty input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

.qty input[type="number"]{
  -moz-appearance: textfield;
  appearance: textfield;
  height: 46px;
  text-align: center;
  font-weight: 900;
}

/* ===== Turnstile: más sutil ===== */
.captcha-wrap{
  margin-top: 14px;
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.captcha-wrap .cf-turnstile{
  display: inline-block;
  transform: translateZ(0);
  opacity: .65;
  filter: saturate(.65) contrast(.95) brightness(.92);
  transition: opacity .2s ease, filter .2s ease;
}

.captcha-wrap .cf-turnstile:hover{
  opacity: .9;
  filter: none;
}

details{
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  padding: 10px 12px;
  margin: 10px 0;
}
details summary{ cursor:pointer; font-weight: 950; }
details p{
  margin: 10px 0 0;
  color: rgba(235,245,255,.72);
  line-height: 1.55;
}
.h3{ margin: 0 0 8px; }

/* Footer */
.footer{
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 18px 0;
  background: rgba(8,11,18,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-row{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(230,240,255,.62);
  font-weight: 500;
  font-size: 13px;
}
.footer-row strong,
.footer-row b{
  font-weight: 500;
  color: rgba(230,240,255,.62);
}

/* WhatsApp float */
.wa{
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,155,24,.95), rgba(255,155,24,.55));
  color: #10131a;
  font-weight: 950;
  border: 1px solid rgba(255,155,24,.55);
  box-shadow: 0 18px 40px rgba(255,155,24,.16), 0 18px 60px rgba(0,0,0,.35);
}
.wa:hover{ filter: brightness(1.05); }

/* Clients marquee */
.client-logo{
  appearance:none;
  border:0;
  background: transparent;
  padding: 12px 10px;
  margin: 0;
  cursor:pointer;
  position: relative;
  display:inline-grid;
  place-items:center;
  outline: none;
}
.client-logo img{
  height: 72px;
  max-width: 360px;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(1.06) brightness(1.16);
  opacity: .78;
  transition: .18s ease;
}
.client-logo::after{
  content: attr(data-name);
  position:absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(255,255,255,.82);
  opacity: 1;
  white-space: nowrap;
  pointer-events:none;
}
.client-logo:hover img{ filter:none; opacity:1; transform: translateY(-1px); }
.client-logo.is-active img{ filter:none; opacity:1; transform: translateY(-1px); }

.clients-marquee{
  position: relative;
  overflow: hidden;
  padding: 10px 0 54px;
}
.clients-marquee::before,
.clients-marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 28px;
  z-index: 2;
  pointer-events:none;
}
.clients-marquee::before{
  left:0;
  background: linear-gradient(90deg,
    rgba(7,10,18,.08) 0%,
    rgba(7,10,18,.03) 45%,
    rgba(7,10,18,0)   100%);
}
.clients-marquee::after{
  right:0;
  background: linear-gradient(270deg,
    rgba(7,10,18,.08) 0%,
    rgba(7,10,18,.03) 45%,
    rgba(7,10,18,0)   100%);
}
.clients-track{
  display:flex;
  align-items:center;
  gap: 110px;
  width: max-content;
  will-change: transform;
  animation: clientsScrollLTR 36s linear infinite;
}
.clients-marquee:hover .clients-track{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){
  .clients-track{ animation: none; transform: translateX(0); }
}
@keyframes clientsScrollLTR{
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Responsive (mobile) */
@media (max-width: 860px){
  .menu{ display:none; }
  .hamburger{ display:grid; }

  .brand img{ height: 58px; }
  body.is-scrolled .brand img{ height: 46px; }

  .nav-cta{
    margin-left: auto;
    gap: 10px;
  }

  .hamburger{
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 14px;
    place-items: center;
    line-height: 1;
    font-size: 18px;
  }

  .header .nav-cta .btn[href*="wa.me"],
  .header .nav-cta .btn[href*="whatsapp"]{
    display: none;
  }
}

@media (max-width: 700px){
  .client-logo img{ height: 44px; max-width: 240px; }
  .client-logo::after{ font-size: 11px; top: calc(100% + 8px); }
  .clients-track{ animation-duration: 34s; gap: 56px; }
  .clients-marquee{ padding-bottom: 48px; }
  .clients-marquee::before,
  .clients-marquee::after{ width: 18px; }

  .ba-media{ height: 240px; }
}

/* FIX: Logo no se comprime + ocultar CTAs en desktop angosto */
.brand { flex: 0 0 auto; }
.brand img { flex-shrink: 0; }

@media (max-width: 1180px){
  .nav-cta .hide-sm{ display:none; }
  #btnWhatsNav{ display:none; }
}

/* =========================
   REVEAL
   ========================= */
.reveal-left, .reveal-right, .reveal-bottom{
  opacity: 0;
  transition: transform .8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity .8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}
.reveal-left{ transform: translateX(-30px); }
.reveal-right{ transform: translateX(30px); }
.reveal-bottom{ transform: translateY(30px); }

.reveal-left.active,
.reveal-right.active,
.reveal-bottom.active{
  opacity: 1;
  transform: translate(0,0);
}

.step:nth-child(2), .plan-card:nth-child(2) { transition-delay: 0.1s; }
.step:nth-child(3), .plan-card:nth-child(3) { transition-delay: 0.2s; }
.step:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 860px){
  .reveal-left, .reveal-right{ transform: translateY(30px); }
}

/* =========================================
   Tablet/iPad portrait: BA slider balanceado (16:9)
   ========================================= */
@media (min-width: 600px) and (max-width: 900px){
  .panel.hero-visual .p{ padding: 14px; }
  .visual-card{ padding: 10px; }

  .ba-media{
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 300px;
    min-height: 240px;
    border-radius: 14px;
  }

  .ba-after,
  .ba-before img{
    transform: none;
  }

  .ba-label{
    top: 10px;
    padding: 6px 10px;
    font-size: 12px;
    background: rgba(8,11,18,.58);
  }

  .ba-handle{
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 700px) and (max-width: 820px){
  .ba-media{ max-height: 320px; }
}

/* Safari iPhone/iPad */
@media (hover: none) and (pointer: coarse){
  #techBg{
    height: 100dvh;
  }

  body::before{
    position: fixed;
    inset: 0;
  }
}

/* Safe area inferior */
body::after{
  content:"";
  display:block;
  height: env(safe-area-inset-bottom, 0);
  background: transparent;
}