/* =========================================================
   OZADO LANDING — STYLES
   Paleta: azul oscuro #07172E / #0A1A33, acento #75FEB0 -> #0063FE
   ========================================================= */

@font-face{
  font-family:'Moderniz';
  src: url('../fonts/Moderniz.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg-dark:#07172E;
  --bg-dark-2:#0A1A33;
  --bg-dark-3:#0E2244;
  --text:#0E1B2C;
  --text-soft:#5B6878;
  --muted:#8C97A6;
  --white:#ffffff;
  --line:#E6EAF0;
  --grad: linear-gradient(90deg,#75FEB0 0%,#0063FE 100%);
  --grad-soft: linear-gradient(90deg,#75FEB0 0%,#3BB4FF 50%,#0063FE 100%);
  --green:#22C55E;
  --shadow-card: 0 12px 40px rgba(7,23,46,.08);
  --shadow-hero: 0 30px 80px rgba(0,0,0,.45);
  --radius: 18px;
}

/* WordPress por defecto deja que los SVGs sin width/height se estiren al 100%.
   Esta regla evita que cualquier SVG dentro del contenido del tema desborde
   su contenedor: nunca puede crecer más allá de su caja. */
svg{
  max-width:100%;
  max-height:100%;
}
/* Iconos dentro de los contenedores circulares/cuadrados: usar el tamaño del padre. */
.process-icon > svg,
.tool-icon > svg,
.service-icon > svg,
.quote-mark > svg,
.video-mute > svg{
  width:auto;
  height:auto;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{
  width:min(1200px, 92%);
  margin:0 auto;
}

/* ---- shared ---- */
.grad-text{
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}
.kicker{
  display:inline-block;
  font-size:11px;
  letter-spacing:.25em;
  font-weight:700;
  color:#6B7B90;
  padding:6px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  margin-bottom:18px;
}
.section-title{
  font-family:'Moderniz', 'Inter', sans-serif;
  font-size:clamp(28px,3.4vw,44px);
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.01em;
  margin:0 0 40px;
  text-align:center;
  text-transform:uppercase;
}

/* ---- buttons ---- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 22px;
  border-radius:999px;
  font-weight:600;
  font-size:14px;
  border:none;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, opacity .25s;
}
.btn-wa{
  background:var(--green);
  color:#0A0A0A;
  box-shadow:none;
}
.btn-wa svg{ color:#0A0A0A; fill:#0A0A0A; }
.btn-wa:hover{transform:translateY(-2px);box-shadow:none}
.btn-wa-sm{
  background:var(--green);
  color:#0A0A0A;
  font-weight:700;
  padding:8px 16px;
  font-size:13px;
}
.wa-icon{
  width:18px; height:18px; display:block;
}
.wa-dot{
  width:8px;height:8px;background:#fff;border-radius:50%;
  box-shadow:0 0 0 4px rgba(255,255,255,.25);
  animation:pulse 1.6s infinite ease-in-out;
}
@keyframes pulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.25);opacity:.6}
}
.btn-grad{
  background:var(--grad);
  color:#fff;
  font-weight:600;
  padding:12px 28px;
}
.btn-grad:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(61,169,252,.35)}

/* ---- header ---- */
.site-header{
  position:absolute;
  top:0;left:0;right:0;
  z-index:50;
  padding:18px 0;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
}
.logo{
  display:flex;align-items:center;gap:8px;
}
.logo-mark{width:28px;height:28px}
.logo-img{
  height:44px; width:auto; display:block;
}
.logo-img-lg{ height:56px; }
.logo-text{
  color:#fff;font-weight:700;letter-spacing:.04em;font-size:17px;
}
.logo-text sup{font-size:9px;color:#75FEB0;margin-left:2px}

/* ===========================================================
   HERO
   =========================================================== */
.hero{
  position:relative;
  padding:180px 0 0;
  background:#03070E;
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}
/* capa 1: base oscura del hero */
.hero-bg{
  position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 50%, #061122 0%, #03070E 70%);
  pointer-events:none;
  z-index:0;
}
/* capa 1b: blob verde-teal flotando (izquierda) */
.hero-bg::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 50% 50%, rgba(58,180,140,.65) 0%, rgba(58,180,140,.22) 28%, transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(80,200,180,.40) 0%, transparent 45%);
  filter: blur(40px);
  mix-blend-mode: screen;
  animation: auraMoveA 14s ease-in-out infinite;
  will-change: transform;
}
/* capa 1c: blob azul brillante flotando (derecha) */
.hero-bg::after{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,110,255,.85) 0%, rgba(0,99,254,.30) 28%, transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(59,180,255,.45) 0%, transparent 45%);
  filter: blur(50px);
  mix-blend-mode: screen;
  animation: auraMoveB 18s ease-in-out infinite;
  will-change: transform;
}
@keyframes auraMoveA{
  0%   { transform: translate(-20%, -10%) scale(1)    rotate(0deg); }
  33%  { transform: translate(-10%,  5%)  scale(1.15) rotate(8deg); }
  66%  { transform: translate(-25%, 15%)  scale(.95)  rotate(-6deg); }
  100% { transform: translate(-20%, -10%) scale(1)    rotate(0deg); }
}
@keyframes auraMoveB{
  0%   { transform: translate(25%, 20%)  scale(1)    rotate(0deg); }
  33%  { transform: translate(15%, 10%)  scale(1.1)  rotate(-7deg); }
  66%  { transform: translate(30%, 25%)  scale(.92)  rotate(5deg); }
  100% { transform: translate(25%, 20%)  scale(1)    rotate(0deg); }
}
/* capa 2: lluvia / líneas verticales sutiles */
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.025) 0 1px,
    transparent 1px 60px
  );
  pointer-events:none;
  z-index:1;
  mix-blend-mode:screen;
}
/* capa 3: viñeta para oscurecer bordes */
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.55) 100%);
  pointer-events:none;
  z-index:1;
}
/* el hero usa un container más ancho para que la mascota no se desborde */
.hero .container{
  width:min(1560px, 99%);
}
.hero-grid{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns: 1fr 1.25fr;
  gap:160px;
  align-items:start;
  min-height:auto;
  padding-top:0;
}
.hero-copy{
  padding-bottom:40px;
  padding-left:0;
  padding-top:80px;
  position:relative;
  z-index:3;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;letter-spacing:.12em;
  color:#9FC9FF;
  padding:6px 14px;
  border:1px solid rgba(159,201,255,.25);
  border-radius:999px;
  margin-bottom:22px;
  background:rgba(255,255,255,.03);
  animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .1s both;
}
.eyebrow-dot{
  width:6px;height:6px;border-radius:50%;
  background:#75FEB0;
  box-shadow:0 0 0 4px rgba(63,224,197,.18);
}
.hero-title{
  font-family:'Moderniz', 'Inter', sans-serif;
  margin:0 0 22px;
  text-transform:uppercase;
  display:flex;flex-direction:column;
  font-weight:900;
  letter-spacing:-.01em;
  line-height:1;
}
.hero-title-top{
  font-family:'Montserrat', 'Inter', sans-serif;
  font-size:clamp(20px, 2vw, 32px);
  font-weight:300;
  letter-spacing:.02em;
  line-height:1.1;
  margin-bottom:12px;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .25s both;
}
.hero-title-big{
  font-size:clamp(38px, 4.2vw, 60px);
  line-height:1.1;
  padding:0.05em 0;
  font-weight:900;
  letter-spacing:-.025em;
  background:linear-gradient(90deg,#75FEB0 0%,#3BB4FF 50%,#0063FE 100%);
  background-size:200% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  animation: fadeUp 1s cubic-bezier(.2,.7,.2,1) .4s both,
             gradShift 8s ease-in-out infinite;
}

@keyframes fadeUp{
  0%{opacity:0; transform:translateY(24px)}
  100%{opacity:1; transform:translateY(0)}
}
@keyframes gradShift{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
.hero-sub{
  font-size:16px;
  line-height:1.6;
  color:#B7C4D6;
  max-width:540px;
  margin:18px 0 32px;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .6s both;
}
.hero-copy .btn-wa{
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .75s both;
}
.hero-art{
  position:relative;
  display:flex;justify-content:flex-end;align-items:flex-end;
  margin-bottom:-2px;
  overflow:visible;
}
.hero-art-stage{
  position:relative;
  width:115%;
  max-width:125%;
  aspect-ratio: 1 / 0.85;
  margin-right:-5%;
}
.hero-screen{
  position:absolute;
  width:38%;
  height:auto;
  border-radius:8px;
  filter:
    drop-shadow(0 0 12px rgba(59,180,255,.55))
    drop-shadow(0 0 28px rgba(0,99,254,.35))
    drop-shadow(0 18px 30px rgba(0,0,0,.5));
  will-change: transform;
  z-index:1;
  --mx:0px; --my:0px; --sy:0px;
  transition: transform .25s ease-out;
}
/* 7K Katrina - arriba izquierda */
.hero-screen-2{
  top:-8%;
  left:-12%;
  width:42%;
  animation: fadeOnly 2s ease-out .25s both,
             floatA 7s ease-in-out 0s infinite;
}
/* Prosinfer - arriba derecha */
.hero-screen-5{
  top:-4%;
  right:-4%;
  width:34%;
  animation: fadeOnly 2s ease-out .4s both,
             floatB 8s ease-in-out 0s infinite;
}
/* Gabic Solares - abajo izquierda */
.hero-screen-3{
  bottom:8%;
  left:-14%;
  width:38%;
  animation: fadeOnly 2s ease-out .55s both,
             floatC 9s ease-in-out 0s infinite;
}
/* Vitofarma - abajo derecha */
.hero-screen-4{
  bottom:4%;
  right:-2%;
  width:38%;
  animation: fadeOnly 2s ease-out .7s both,
             floatD 7.5s ease-in-out 0s infinite;
}

@keyframes fadeOnly{
  0%  { opacity:0; }
  100%{ opacity:1; }
}
/* mascota - centro, delante de todo */
.hero-mascot{
  position:absolute;
  left:50%;
  bottom:-2%;
  transform: translateX(-50%);
  height:95%;
  width:auto;
  z-index:3;
  filter:drop-shadow(0 30px 50px rgba(0,0,0,.7));
  animation: mascotFloat 6s ease-in-out infinite;
}

@keyframes floatA{
  0%,100%{ transform: translate(calc(var(--mx)),               calc(var(--my) + var(--sy))) rotate(0deg); }
  50%    { transform: translate(calc(var(--mx) - 8px),          calc(var(--my) + var(--sy) - 14px)) rotate(-1deg); }
}
@keyframes floatB{
  0%,100%{ transform: translate(calc(var(--mx)),               calc(var(--my) + var(--sy))) rotate(0deg); }
  50%    { transform: translate(calc(var(--mx) + 10px),         calc(var(--my) + var(--sy) - 12px)) rotate(1deg); }
}
@keyframes floatC{
  0%,100%{ transform: translate(calc(var(--mx)),               calc(var(--my) + var(--sy))) rotate(0deg); }
  50%    { transform: translate(calc(var(--mx) - 10px),         calc(var(--my) + var(--sy) + 10px)) rotate(1deg); }
}
@keyframes floatD{
  0%,100%{ transform: translate(calc(var(--mx)),               calc(var(--my) + var(--sy))) rotate(0deg); }
  50%    { transform: translate(calc(var(--mx) + 12px),         calc(var(--my) + var(--sy) + 12px)) rotate(-1deg); }
}
@keyframes mascotFloat{
  0%,100%{ transform: translate(-50%, 0); }
  50%    { transform: translate(-50%, -10px); }
}

/* metrics */
.metrics-wrap{
  position:relative; z-index:5;
  margin-top:0;
  padding:64px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background:#03070E;
}
.metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.metric{
  display:flex;align-items:baseline;gap:10px;justify-content:center;
}
.metric-num{
  font-size:clamp(40px,4vw,64px);
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1;
}
.metric-label{
  font-size:13px;letter-spacing:.18em;color:#9FB0C7;font-weight:600;
}

/* fade del hero ya no se usa — el video aparece detrás del propio fondo del hero */

/* ===========================================================
   VIDEO SECTION — efecto Linearity (full-bleed -> contenido)
   El video empieza a 100% ancho sin radius; al hacer scroll se
   encoge y aparecen bordes redondeados. Hecho con scroll-driven
   variables actualizadas por JS.
   =========================================================== */
.video-section{
  background:#03070E;
  position:relative;
  margin-top:0;
  /* la sección es alta para que haya recorrido de scroll */
  height: 220vh;
  --vw: 100;       /* 100 = full bleed, 75 = encogido al container */
  --vr: 0;         /* radius en px */
}
/* fondo blanco que aparece detrás del video conforme se encoge */
.video-section::after{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;
  opacity: var(--vp, 0);
  z-index:0;
  pointer-events:none;
}
.video-pin{
  position:sticky;
  top:0;
  height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  overflow:hidden;
  z-index:1;
}
.video-card{
  /* margen superior dinámico: 0 al inicio (pegado a métricas), ~7vh al final */
  margin-top: calc(var(--vp, 0) * 7vh);
}
/* degradado oscuro que se funde encima del video al inicio */
.video-pin::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:22%;
  background:linear-gradient(180deg, #03070E 0%, rgba(3,7,14,.7) 45%, rgba(3,7,14,0) 100%);
  z-index:2;
  pointer-events:none;
  opacity: calc(1 - var(--vp, 0) * 2);
  transition: opacity .05s linear;
}
.video-card{
  position:relative;
  width: calc(var(--vw) * 1%);
  max-width: 100vw;
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  border-radius: calc(var(--vr) * 1px);
  overflow:hidden;
  background:#000;
  /* el borde aparece solo cuando el video se ha encogido */
  outline: 1px solid rgba(0,0,0, calc(var(--vp, 0)));
  outline-offset: -1px;
  transition: border-radius .05s linear;
}
.video-card video{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.video-mute{
  position:absolute;
  right:16px; bottom:16px;
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: background .2s, transform .2s;
  z-index:3;
}
.video-mute:hover{ background:rgba(0,0,0,.75); transform:scale(1.05); }
.video-mute .ic-unmuted{ display:none; }
.video-mute.is-on .ic-muted{ display:none; }
.video-mute.is-on .ic-unmuted{ display:inline; }

/* ===========================================================
   TOOLS
   =========================================================== */
.tools{
  padding:60px 0 100px;
  background:#fff;
  text-align:center;
}
.tools-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:10px;
}
.tool-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 20px;
  text-align:left;
  transition:transform .25s, box-shadow .25s, border-color .25s;
}
.tool-card:hover{
  transform:translateY(-4px);
  border-color:transparent;
  box-shadow:var(--shadow-card);
}
.tool-icon{
  width:36px;height:36px;
  border-radius:10px;
  background:linear-gradient(135deg,#EFFBF7,#EAF4FF);
  color:#2E8FE0;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.tool-icon > svg{ width:20px !important; height:20px !important; display:block; }
.tool-card h3{
  margin:0 0 6px;
  font-size:14px;font-weight:700;
}
.tool-card p{
  margin:0;
  font-size:13px;color:var(--text-soft);line-height:1.5;
}

/* ===========================================================
   STACKING CARDS
   =========================================================== */
.stack-section{
  background:linear-gradient(180deg,#0A1A33 0%,#0E2244 100%);
  color:#fff;
  padding:90px 0 60px;
  position:relative;
}
.stack-head{text-align:center;margin-bottom:50px}
.stack-head .kicker{
  background:rgba(255,255,255,.04);
  color:#9FC9FF;
  border-color:rgba(255,255,255,.12);
}

.stack-wrapper{
  position:relative;
}
.stack-cards{
  display:flex;
  flex-direction:column;
  gap:30px;
  padding-bottom:30vh;
}
.stack-card{
  position:sticky;
  top:90px;
  margin:0 auto;
  width:min(1080px, 92%);
  background:#0A1A33;
  border-radius:24px;
  box-shadow:0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  overflow:hidden;
  transition:transform .4s cubic-bezier(.2,.7,.2,1);
  /* visual offset cuando se apila */
  transform-origin:top center;
}
.stack-card img{
  width:100%;
  height:auto;
  display:block;
}
.stack-card-foot{
  padding:18px 0 28px;
  display:flex;justify-content:center;
  background:transparent;
}

/* ===========================================================
   OTROS SERVICIOS
   =========================================================== */
.services{
  background:#0A1A33;
  color:#fff;
  padding:140px 0 160px;
  text-align:center;
}
.services .kicker{
  background:rgba(255,255,255,.04);
  color:#9FC9FF;
  border-color:rgba(255,255,255,.12);
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:10px;
}
.service-card{
  position:relative;
  border-radius:18px;
  padding:22px 22px 0;
  text-align:left;
  min-height:340px;
  overflow:hidden;
  display:flex;flex-direction:column;
  transition: transform 1s cubic-bezier(.16,.84,.32,1),
              opacity .9s ease,
              box-shadow .25s;
  cursor:pointer;
  opacity:0;
  transform: translateY(90px) scale(.9);
}
.service-card.in{
  opacity:1;
  transform: translateY(0) scale(1);
}
.service-card.in:hover{transform:translateY(-6px)}
.services-cta{
  display:flex;
  justify-content:center;
  margin-top:48px;
  opacity:0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.services-cta.in{
  opacity:1;
  transform: translateY(0);
}
.service-card h3{
  margin:6px 0 8px;
  font-size:22px;font-weight:800;
}
.service-card p{
  font-size:13px;line-height:1.5;
  opacity:.85;
  margin:0 0 16px;
}
.service-head{display:flex;align-items:center;gap:10px}
.service-icon{
  width:30px;height:30px;
  border-radius:8px;
  background:rgba(255,255,255,.16);
  display:flex;align-items:center;justify-content:center;
}
.service-icon > svg{ width:16px !important; height:16px !important; display:block; }
.service-link{
  font-size:12px;font-weight:600;
  display:inline-block;
  margin-bottom:14px;
  opacity:.9;
}
.service-img{
  margin-top:auto;
  margin-left:-22px;margin-right:-22px;
  margin-bottom:0;
  border-bottom-left-radius:18px;
  border-bottom-right-radius:18px;
  overflow:hidden;
  height:200px;
  display:flex;align-items:flex-end;justify-content:center;
}
.service-img img{
  width:100%;height:100%;object-fit:contain;
  object-position:bottom center;
}
.s-blue .service-img img,
.s-gray .service-img img{
  object-fit:cover;
  object-position:center bottom;
}

.s-dark{background:linear-gradient(180deg,#1E2A3D 0%, #0F1A2A 100%);color:#fff}
.s-blue{background:linear-gradient(180deg,#2C7BE0 0%, #1B5CB9 100%);color:#fff}
.s-gray{background:linear-gradient(180deg,#6B7480 0%, #4A535F 100%);color:#fff}
.s-green{background:linear-gradient(180deg,#4DE0A0 0%, #25C088 100%);color:#0A2A1A}
.s-green .service-icon{background:rgba(0,0,0,.15)}

/* ===========================================================
   PROCESO (fondo claro, tarjetas con icono)
   =========================================================== */
.process{
  background:#fff;
  color:#0A1A33;
  padding:120px 0 60px;
  text-align:center;
}
.kicker-light{
  background:#fff !important;
  color:#0063FE !important;
  border-color:rgba(0,99,254,.2) !important;
}
.process-title{
  color:#0A1A33;
  margin-bottom:60px;
}
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.process-card{
  background:#fff;
  border:1px solid rgba(10,26,51,.06);
  border-radius:14px;
  padding:36px 26px 32px;
  text-align:center;
  box-shadow:0 1px 2px rgba(10,26,51,.04);
  transition:transform .35s ease, box-shadow .35s ease;
}
.process-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,99,254,.12);
}
.process-icon{
  width:72px;height:72px;
  border-radius:50%;
  background:#E7EEFB;
  color:#0063FE;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 22px;
  flex-shrink:0;
}
.process-icon > svg{
  width:34px !important;
  height:34px !important;
  display:block;
}
.process-card h3{
  font-size:18px;
  font-weight:700;
  margin:0 0 12px;
  letter-spacing:-.01em;
  color:#0A1A33;
}
.process-sep{
  display:block;
  width:34px;height:3px;
  background:#0063FE;
  border-radius:2px;
  margin:6px auto 18px;
}
.process-card p{
  font-size:14px;
  line-height:1.6;
  color:#465A78;
  margin:0;
}

/* ===========================================================
   QUOTE (frase con cita)
   =========================================================== */
.quote-section{
  background:#fff;
  color:#0A1A33;
  padding:40px 0 60px;
  text-align:center;
}
.quote-mark{
  color:#0063FE;
  width:40px;height:40px;
  margin:0 auto 18px;
  display:flex;align-items:center;justify-content:center;
}
.quote-mark > svg{
  width:40px !important;
  height:40px !important;
  display:block;
}
.quote-text{
  font-size:clamp(22px, 2.4vw, 32px);
  line-height:1.45;
  font-weight:700;
  letter-spacing:-.01em;
  color:#0A1A33;
  margin:0 auto;
  max-width:1000px;
}
.q-grad-1{
  background:linear-gradient(90deg,#3BD988 0%, #25C088 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.q-grad-2{
  background:linear-gradient(90deg,#25C0A8 0%, #3BB4FF 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.q-grad-3{
  background:linear-gradient(90deg,#3BB4FF 0%, #0063FE 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* ===========================================================
   BRANDS
   =========================================================== */
.brands{
  background:#fff;
  color:#0A0A0A;
  padding:60px 0 140px;
  text-align:center;
}
.brands .section-title{ color:#0A0A0A; }
.brands .kicker{
  background:#fff;
  color:#1F6BFF;
  border-color:rgba(31,107,255,.35);
}
.brands-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:30px;
}
.brand{
  background:transparent;
  height:auto;
  display:flex;align-items:center;justify-content:center;
  padding:0;
  text-decoration:none;
  color:inherit;
  opacity:0;
  transform: translateY(28px) scale(.92);
  transition: opacity .7s ease,
              transform .8s cubic-bezier(.22,.61,.36,1);
}
.brand.in{
  opacity:1;
  transform: translateY(0) scale(1);
}
.brand.in:hover{
  transform: translateY(-6px) scale(1.06);
}
.brand img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
  transition: filter .3s ease, transform .4s ease;
}
.brand.in:hover img{
  filter: drop-shadow(0 10px 20px rgba(0,99,254,.35));
}

/* ===========================================================
   CTA / FOOTER
   =========================================================== */
.cta{
  background:linear-gradient(180deg,#07142A 0%, #061128 100%);
  color:#fff;
  padding:70px 0 30px;
  text-align:center;
}
.cta-inner{display:flex;flex-direction:column;align-items:center;gap:14px}
.logo-center{justify-content:center}
.cta-title{
  font-family:'Moderniz', 'Inter', sans-serif;
  font-size:clamp(28px,3vw,40px);
  font-weight:800;margin:8px 0 0;
  letter-spacing:-.01em;
}
.cta-sub{color:#9FB0C7;margin:0 0 8px;font-size:14px}
.cta-foot{color:#7E92AC;font-size:12px;margin-top:8px}
.footer-line{
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:40px;
  padding-top:18px;
  text-align:center;
  color:#6B7E97;
  font-size:12px;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px){
  .hero-grid{grid-template-columns:1fr; text-align:center; min-height:auto; padding-top:20px; align-items:center}
  .hero-copy{padding-bottom:20px}
  .hero-title{align-items:center}
  .hero-sub{margin-left:auto;margin-right:auto}
  .hero-art{order:-1; margin-bottom:0; justify-content:center}
  .hero-art-stage{width:min(560px,95%); max-width:none; margin-right:0}
  .tools-grid{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .brands-grid{grid-template-columns:repeat(3,1fr)}
  .process-grid{grid-template-columns:repeat(2,1fr)}
  .metrics{grid-template-columns:repeat(2,1fr)}
}

/* =========================
   MÓVIL ≤ 640px
   ========================= */
@media (max-width: 640px){
  /* anti-desborde global */
  html, body{ overflow-x:hidden; }
  .container{ width:min(1200px, 100%); padding:0 18px; }

  /* HEADER */
  .site-header{ padding:12px 0; }
  .header-inner{ gap:10px; }
  .logo-img{ height:34px; }
  .btn-wa-sm{ padding:8px 14px; font-size:12px; }

  /* HERO */
  .hero{ padding:90px 0 30px; }
  .hero-grid{ gap:30px; padding-top:0; }
  .hero-title-top{ font-size:14px; margin-bottom:6px; }
  .hero-title-big{ font-size:34px; line-height:1.05; }
  .hero-sub{ font-size:14px; margin:14px auto 22px; max-width:100%; }
  .hero-copy{ padding-bottom:0; padding-top:0; order:1; }
  .hero-copy .btn-wa{ margin:0 auto; }

  /* HERO ART — caja contenida sin desborde, debajo del copy en móvil */
  .hero-art{ justify-content:center; order:2; }
  .hero-art-stage{
    width:100%;
    max-width:100%;
    margin:0 auto;
    aspect-ratio: 1 / 0.95;
    overflow:visible;
  }
  /* las pantallas más cerca del centro para que no se salgan */
  .hero-screen-2{ top:-2%;  left:-2%;  width:46%; }
  .hero-screen-5{ top:2%;   right:0%;  width:38%; }
  .hero-screen-3{ bottom:12%; left:-2%;  width:42%; }
  .hero-screen-4{ bottom:6%;  right:0%;  width:42%; }
  .hero-mascot{ height:88%; }

  /* METRICS */
  .metrics-wrap{ padding:36px 0; margin-bottom:0; }
  .hero{ padding-bottom:0 !important; overflow:hidden; }
  .hero-bg{ overflow:hidden; }
  .video-section{ margin-top:0 !important; }
  .metrics{ grid-template-columns:repeat(2,1fr); gap:22px 14px; }
  .metric{ justify-content:center; flex-direction:column; align-items:center; gap:4px; text-align:center; }
  .metric-num{ font-size:32px; }
  .metric-label{ font-size:11px; letter-spacing:.12em; }

  /* TOOLS */
  .tools{ padding:50px 0 60px; }
  .tools-grid{ grid-template-columns:1fr; gap:14px; }

  /* STACK */
  .stack-section{ padding:50px 0 40px; }
  .stack-card{ top:80px; border-radius:18px; }

  /* SERVICES — móvil: orden título arriba, texto, imagen abajo */
  .services{ padding:60px 0 70px; }
  .services-grid{ grid-template-columns:1fr; gap:18px; }
  .service-card{
    min-height:auto;
    padding:22px 22px 0;
    display:flex;
    flex-direction:column;
  }
  .service-head{ order:1; }
  .service-card p{ order:2; margin-bottom:18px; }
  .service-img{
    order:3;
    margin-top:0;
    height:180px;
  }
  .services-cta{ margin-top:30px; }

  /* PROCESO */
  .process{ padding:60px 0 70px; }
  .process-title{ margin-bottom:36px; }
  .process-grid{ grid-template-columns:1fr; gap:16px; }
  .process-card{ padding:28px 22px 24px; }
  .process-icon{ width:60px; height:60px; margin-bottom:16px; }
  .process-icon svg{ width:28px; height:28px; }

  /* QUOTE */
  .quote-section{ padding:60px 0 70px; }
  .quote-text{ font-size:18px; }
  .quote-text br{ display:none; }

  /* BRANDS */
  .brands{ padding:60px 0 70px; }
  .brands-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }

  /* VIDEO — desactivar efecto Linearity en móvil: video estático, sin sticky, sin shrink */
  .video-section{
    height:auto !important;
    padding:40px 0;
    background:#03070E;
    --vp:0 !important;
    --vw:100 !important;
    --vr:0 !important;
  }
  .video-section::after{ display:none !important; }   /* sin fondo blanco */
  .video-pin::before{ display:none !important; }     /* sin degradado superior */
  .video-pin{
    position:relative;
    top:auto;
    height:auto;
    overflow:visible;
  }
  .video-card{
    width:calc(100% - 36px) !important;
    max-width:100%;
    margin:0 auto !important;
    margin-top:0 !important;
    border-radius:14px !important;
    aspect-ratio:16/9;
    max-height:none;
    outline:none !important;
  }
  .video-mute{
    right:10px; bottom:10px;
    width:36px; height:36px;
  }
  .video-mute svg{ width:18px; height:18px; }

  /* CTA */
  .cta{ padding:50px 0 24px; }
  .cta-title{ font-size:26px; }
  .footer-line{ margin-top:28px; font-size:11px; }
  .footer-line small{ display:block; line-height:1.6; }

  /* TITULARES */
  .section-title{ font-size:26px; margin:0 0 28px; }
  .kicker{ font-size:11px; }

  .btn{ padding:11px 18px; font-size:13px; }
  .logo-text{ font-size:15px; }
}

@media (max-width: 420px){
  .hero-title-big{ font-size:28px; }
  .hero-sub{ font-size:13px; }
  .metric-num{ font-size:26px; }
  .metric-label{ font-size:10px; letter-spacing:.10em; }
  .section-title{ font-size:22px; }
  .service-img{ height:150px; }
}
