/* =========================================================
   ACYSE · Área Cyber Segura — styles.css
   Dirección: fondo claro cálido + tinta negra + azul eléctrico
   del logo (#0024FF) usado como acento de alto impacto.
   Títulos en letra del sistema muy gruesa (sin Google Fonts).
   ========================================================= */

:root {
  --blue: #0024ff;
  --blue-2: #1a3dff;
  --blue-soft: #e6eaff;
  --navy: #001047;
  --navy-2: #001c65;
  --abyss: #000a2e;
  --sky: #8fb0ff;
  --ink: #0b0d14;
  --ink-2: #26304d;
  --mute: #56607d;
  --paper: #f3f6ff;   /* blanco azulado del diseño anterior */
  --paper-2: #e3e9fb;
  --white: #ffffff;
  --dark: #08080a;    /* negro real, sin tinte azul */
  --dark-2: #151517;
  --line: rgba(11,13,20,.12);
  --line-light: rgba(255,255,255,.14);

  /* Titulares: la versión más gruesa de la letra del sistema */
  --f-display: "Segoe UI Black", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Arial Black", Arial, sans-serif;
  --f-body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 18px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }

/* ---------- Tipografía ---------- */
.big {
  font: 900 clamp(38px, 5.2vw, 84px)/.98 var(--f-display);
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}
.big--light { color: #fff; }
.hl { color: var(--blue); }
.hl--light { color: #8fa6ff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: none; }
.dot--live { background: #22d38a; box-shadow: 0 0 0 0 rgba(34,211,138,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(34,211,138,0); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font: 700 16px/1 var(--f-body);
  cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { height: 62px; padding: 0 30px; font-size: 17px; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -12px rgba(0,36,255,.8); }
.btn--blue:hover { background: var(--blue-2); box-shadow: 0 18px 34px -12px rgba(0,36,255,.9); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { box-shadow: 0 16px 34px -12px rgba(0,0,0,.45); }
.btn--text { background: transparent; color: var(--mute); padding: 0 8px; }
.btn--text:hover { color: var(--ink); transform: none; }
.btn--wa { background: #1fbe5a; color: #fff; box-shadow: 0 12px 28px -12px rgba(31,190,90,.8); }
.btn--wa:hover { background: #18a94f; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.wa-ic { width: 20px; height: 20px; }
a:focus-visible, button:focus-visible, input:focus-visible + span, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 92px; display: flex; align-items: center;
  transition: background .35s, height .35s, box-shadow .35s;
}
.nav.is-scrolled { height: 74px; background: rgba(243,246,255,.97); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) { .nav.is-scrolled { background: rgba(243,246,255,.88); backdrop-filter: blur(14px); } }
.nav__in { display: flex; align-items: center; gap: 36px; }
.brand { flex: none; display: grid; }
.brand__logo { grid-area: 1 / 1; height: 60px; width: auto; transition: height .35s var(--ease), opacity .35s; }
.brand__logo--blue { opacity: 0; }
.nav.is-scrolled .brand__logo, .nav.is-open .brand__logo { height: 48px; }
.nav.is-scrolled .brand__logo--white, .nav.is-open .brand__logo--white { opacity: 0; }
.nav.is-scrolled .brand__logo--blue, .nav.is-open .brand__logo--blue { opacity: 1; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 600; color: #dbe3ff; transition: color .35s; }
.nav.is-scrolled .nav__links { color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav.is-scrolled .nav__links a:hover { color: var(--ink); }
.nav__cta { background: #fff; color: var(--ink); }
.nav.is-scrolled .nav__cta { background: var(--ink); color: #fff; }
.nav .nav__cta:hover { background: var(--blue); color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; }

/* ---------- Hero ---------- */
/* Portada en azul marino con el brillo del logo, que sigue al mouse */
.hero { padding: 130px 0 90px; position: relative; overflow: hidden; isolation: isolate; background: var(--abyss); color: #fff; }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle 620px at var(--mx, 72%) var(--my, 62%), rgba(0,79,223,.8), transparent 68%),
    radial-gradient(ellipse 90% 80% at 60% 55%, var(--navy-2) 0%, var(--abyss) 75%);
}
.hero__title {
  margin: 30px 0 46px;
  font: 900 clamp(42px, 5.9vw, 106px)/.95 var(--f-display);
  letter-spacing: -.045em;
  color: #fff;
}
.hero .eyebrow { background: rgba(255,255,255,.08); color: #dbe3ff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.hero .eyebrow .dot { background: var(--sky); }
.hero .hero__lead { color: #c3cdeb; }
.hero .hero__trust { color: #dbe3ff; }
.hero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); }
.hero .hero__photo { box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.line--blue { color: var(--sky); }
.rotor { display: inline-grid !important; justify-items: start; align-items: start; }
.rotor__word {
  /* subrayado tipo marcador, del ancho de cada palabra */
  background: linear-gradient(transparent 72%, rgba(0,36,255,.75) 72%, rgba(0,36,255,.75) 90%, transparent 90%);
  grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rotor__word.is-on { opacity: 1; transform: none; }
.rotor__word.is-out { opacity: 0; transform: translateY(-40%); }

.hero__row { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: end; }
.hero__lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; }
.hero__photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10.5; box-shadow: 0 40px 80px -40px rgba(11,13,20,.45); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.hero__photo:hover img { transform: scale(1.02); }
.hero__photo figcaption {
  position: absolute; left: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: #fff; font-size: 14px; font-weight: 700; color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35);
}

/* ---------- ¿Te pasa? ---------- */
.pains { background: var(--dark); color: #fff; padding: clamp(90px, 11vw, 150px) 0; }
.pains .big { color: #fff; }
.pains .hl { color: #8fa6ff; }
.pains__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.pains__head .big { max-width: 14ch; }
.pains__hint { font-size: 17px; color: #aab0c2; max-width: 30ch; }
.pains__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain {
  position: relative; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; align-items: start;
  padding: 34px 34px 34px 30px; border-radius: 24px;
  background: var(--dark-2); color: #fff; border: 2px solid transparent;
  font: inherit;
  transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.pain:hover { border-color: rgba(143,166,255,.45); transform: translateY(-3px); }
.pain__check {
  grid-row: span 2; width: 34px; height: 34px; border-radius: 10px;
  border: 2px solid rgba(255,255,255,.35); position: relative; transition: background .3s, border-color .3s;
}
.pain__check::after {
  content: ""; position: absolute; left: 10px; top: 4px; width: 9px; height: 17px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease);
}
.pain__n { font: 900 14px/1 var(--f-display); color: #8fa6ff; letter-spacing: .04em; padding-top: 4px; }
.pain__t { font: 700 clamp(20px, 1.9vw, 27px)/1.25 var(--f-body); letter-spacing: -.01em; }
.pain.is-on { background: var(--blue); border-color: var(--blue); }
.pain.is-on .pain__check { background: #fff; border-color: #fff; }
.pain.is-on .pain__check::after { border-color: var(--blue); transform: rotate(45deg) scale(1); }
.pain.is-on .pain__n { color: #c9d3ff; }
.pains__result {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding: 26px 30px; border-radius: 24px; border: 1px solid var(--line-light);
}
.pains__result p { font-size: 18px; color: #d7dbe8; }
.pains__result b { font: 900 30px/1 var(--f-display); color: #fff; margin-right: 4px; }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .hl { color: var(--sky); }
.section--navy .sec-head__sub { color: #b4c0e6; }
.sec-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head__sub { color: var(--mute); font-size: 18px; }

/* ---------- Servicios (filas grandes) ---------- */
.svc { border-top: 2px solid var(--ink); }
.svc__row a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px 1fr 1fr 60px; gap: 24px; align-items: center;
  padding: 34px 20px; border-bottom: 1px solid var(--line);
  transition: color .35s, padding .45s var(--ease);
}
.svc__row a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.svc__n { font: 900 15px/1 var(--f-display); color: var(--blue); transition: color .35s; }
.svc__t { font: 900 clamp(26px, 2.8vw, 44px)/1 var(--f-display); letter-spacing: -.03em; }
.svc__d { font-size: 16.5px; color: var(--mute); transition: color .35s; }
.svc__go { justify-self: end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); font-size: 20px; transition: transform .45s var(--ease), background .35s, border-color .35s, color .35s; }
.svc__row a:hover { color: #fff; padding-left: 32px; padding-right: 32px; }
.svc__row a:hover::before { transform: scaleY(1); }
.svc__row a:hover .svc__n, .svc__row a:hover .svc__d { color: #dfe5ff; }
.svc__row a:hover .svc__go { background: #fff; border-color: #fff; color: var(--blue); transform: rotate(-45deg); }

/* ---------- Método ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step {
  position: relative; display: flex; flex-direction: column;
  min-height: 330px; padding: 28px 24px; border-radius: 24px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(143,176,255,.16);
  transition: transform .4s var(--ease), background .4s;
}
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.step__n {
  font: 900 112px/.8 var(--f-display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px var(--sky);
}
.step h3 { margin-top: auto; font: 900 22px/1.1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.step p { margin-top: 10px; font-size: 15.5px; color: #b4c0e6; }
.step--last { background: var(--blue); color: #fff; }
.step--last:hover { background: var(--blue-2); }
.step--last .step__n { -webkit-text-stroke-color: #fff; }
.step--last p { color: #dbe2ff; }

/* ---------- Calculadora ---------- */
.calc { background: var(--blue); color: #fff; padding: clamp(90px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; width: 1000px; height: 1000px; left: -400px; top: -500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 60%); }
.calc__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.calc__in > *, .calc__ctrl { min-width: 0; }
.calc input[type=range] { display: block; max-width: 100%; margin: 0; box-sizing: border-box; }
.calc__ctrl output { flex: none; }
.calc__copy > p { margin: 22px 0 40px; font-size: 19px; color: #dbe2ff; max-width: 42ch; }
.calc__ctrl { margin-top: 26px; }
.calc__ctrl label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; font-weight: 600; color: #e9edff; margin-bottom: 14px; }
.calc__ctrl output { font: 900 34px/1 var(--f-display); color: #fff; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #fff var(--fill, 10%), rgba(255,255,255,.25) var(--fill, 10%)); outline: none; cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); }
.calc input[type=range]:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.calc__result {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(32px, 4vw, 52px); border-radius: 32px;
  background: var(--ink); color: #fff;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.calc__label { font-size: 18px; color: #b9c0d6; }
.calc__num { font: 900 clamp(84px, 10vw, 160px)/.9 var(--f-display); letter-spacing: -.05em; margin: 10px 0 4px; color: #fff; }
.calc__num b { font-weight: 900; }
.calc__unit { font: 900 clamp(24px, 2.4vw, 34px)/1.1 var(--f-display); color: #8fa6ff; letter-spacing: -.02em; margin-bottom: 8px; }
.calc__result .btn { margin-top: 30px; }
.calc__result small { margin-top: 16px; font-size: 13px; color: #8e95ab; }

/* ---------- Ejemplos ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.use {
  display: flex; flex-direction: column; min-height: 280px;
  padding: 28px 26px; border-radius: 24px; background: var(--white);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.use:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,13,20,.35); }
.use__area { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 7px 12px; border-radius: 999px; }
.use h3 { margin-top: auto; font: 900 28px/1.02 var(--f-display); letter-spacing: -.03em; }
.use p { margin-top: 12px; font-size: 16px; color: var(--mute); }
.note { margin-top: 24px; font-size: 13px; color: #8a8e9a; }

/* ---------- Quiénes somos ---------- */
.about { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; padding: clamp(90px, 11vw, 150px) 0; }
.about::before { /* brillo de marca detrás de la foto */
  content: ""; position: absolute; z-index: -1; width: 1100px; height: 1100px; left: -380px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(0,79,223,.55), transparent 62%);
}
.about__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; margin: 0; }
/* Fondo de marca detrás de la foto recortada; la cabeza sobresale del marco */
.about__photo { aspect-ratio: 1; }
.about__bg {
  position: absolute; left: 0; right: 0; bottom: 0; top: 14%;
  border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, #2f6bff 0%, var(--blue) 28%, var(--navy-2) 70%, var(--abyss) 100%);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75), inset 0 0 0 1px rgba(143,176,255,.25);
}
.about__bg::before { /* anillos finos, como ondas desde el candado */
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% 40%, transparent 0 46px, rgba(255,255,255,.07) 46px 47px);
}
.about__bg img { position: absolute; left: 50%; bottom: 7%; width: 76%; height: auto; transform: translateX(-50%); opacity: .1; }
.about__person {
  position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  border-radius: 0 0 32px 32px; /* el corte inferior respeta las esquinas del marco */
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.35));
}
.about__photo figcaption {
  position: absolute; right: -18px; bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; border-radius: 22px; background: var(--blue); color: #fff;
  box-shadow: 0 20px 40px -14px rgba(0,36,255,.8);
}
.about__photo figcaption b { font: 900 46px/1 var(--f-display); letter-spacing: -.04em; }
.about__photo figcaption span { font-size: 14px; font-weight: 600; line-height: 1.3; color: #dfe5ff; }
.about__kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.about__copy > p.about__name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 26px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.06); border-left: 4px solid var(--blue); width: fit-content; max-width: 100%; }
.about__name b { font: 900 22px/1.1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.about__name span { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.about__copy > p { margin-top: 20px; font-size: 17.5px; color: #c3cdeb; max-width: 60ch; }
.about__copy .big { font-size: clamp(34px, 4vw, 62px); }
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.about__tags li { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #e3e9ff; background: rgba(255,255,255,.07); border: 1px solid rgba(143,176,255,.2); }
.about__quote { margin: 34px 0 0; padding-left: 22px; border-left: 4px solid var(--blue); font: 900 clamp(22px, 2.2vw, 30px)/1.2 var(--f-display); letter-spacing: -.02em; color: #fff; }
.about__bridge { font-size: 16px !important; color: var(--sky) !important; }

/* ---------- Contacto ---------- */
.contact { background: var(--dark); color: #fff; padding: clamp(90px, 11vw, 150px) 0; }
.contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__side > p { margin-top: 22px; font-size: 18px; color: #b9c0d6; max-width: 40ch; }
.contact__photo { position: relative; margin: 40px 0 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact__photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; }

.wizard { background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.wizard__top { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.wizard__count { font-size: 14px; font-weight: 700; color: var(--mute); white-space: nowrap; }
.wizard__count b { color: var(--blue); }
.wizard__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.wizard__bar span { display: block; height: 100%; width: 33.33%; background: var(--blue); border-radius: 6px; transition: width .5s var(--ease); }
.wstep legend { font: 900 clamp(26px, 2.6vw, 38px)/1.05 var(--f-display); letter-spacing: -.03em; margin-bottom: 24px; padding: 0; }
.js .wstep { display: none; }
.js .wstep.is-active { display: block; animation: stepIn .5s var(--ease); }
.wstep + .wstep { margin-top: 40px; }
.js .wstep + .wstep { margin-top: 0; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; padding: 14px 20px; border-radius: 999px;
  border: 2px solid var(--line); font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--f-body); color: var(--ink);
  padding: 16px 18px; border-radius: 16px; border: 2px solid var(--paper-2); background: var(--paper);
  transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input:user-invalid { border-color: #e5484d; }
.field textarea { min-height: 150px; resize: vertical; }
.wstep__extra { font-size: 14px; color: var(--mute); background: var(--blue-soft); padding: 14px 16px; border-radius: 14px; margin-bottom: 8px; }
.wstep__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.wstep__nav .btn:only-child { margin-left: auto; }
.wstep__warn { font-size: 13px; color: var(--mute); }
.wstep__hint { margin-top: 14px; font-size: 13px; color: var(--mute); text-align: right; }
.form__thanks { margin-top: 10px; font-size: 15px; font-weight: 600; color: #128a43; text-align: right; }

/* ---------- Footer ---------- */
.foot { background: var(--dark); color: #9aa1b5; padding: 0 0 40px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 56px; align-items: center; padding-top: 56px; border-top: 1px solid var(--line-light); }
.foot__logo { width: 140px; height: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
.foot__links a:hover { color: #fff; }
.foot small { grid-column: 1 / -1; font-size: 13px; color: #6c7389; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  color: #fff; background: #1fbe5a; box-shadow: 0 14px 30px -10px rgba(31,190,90,.9);
  transition: transform .3s var(--ease);
}
.wa-float[hidden] { display: none; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Revelado ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; font-size: 14px; }
  .hero__row { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .svc__row a { grid-template-columns: 50px 1fr 52px; }
  .svc__d { grid-column: 2; grid-row: 2; }
  .svc__go { grid-column: 3; grid-row: 1 / span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: 260px; }
  .step--last { grid-column: 1 / -1; min-height: 0; }
  /* minmax(0,1fr): evita que Safari (iPhone) ensanche la columna por los controles deslizantes */
  .calc__in, .contact__in, .about__in { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 520px; }
  .uses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) { .nav__links { display: none; } }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, 600px); }
  .nav { height: 76px; }
  .nav.is-scrolled { height: 66px; }
  .brand__logo { height: 48px; }
  .nav.is-scrolled .brand__logo { height: 40px; }
  .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); cursor: pointer;
    transition: background .35s;
  }
  .nav.is-scrolled .nav__burger, .nav.is-open .nav__burger { background: var(--ink); }
  .nav.is-open .nav__links { color: var(--ink-2); }
  .about__photo figcaption { right: -6px; bottom: 18px; padding: 14px 16px; }
  .about__photo figcaption b { font-size: 36px; }
  .about__bg { border-radius: 26px; }
  .nav__burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    display: flex; position: fixed; inset: 76px 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 22px; background: var(--paper);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav__links a { padding: 18px 2px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav.is-open { background: var(--paper); }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }

  .hero { padding: 104px 0 64px; }
  .eyebrow { font-size: 12.5px; }
  .hero__title { font-size: clamp(36px, 10.6vw, 54px); margin: 24px 0 32px; }
  .rotor__word { white-space: normal; }
  .hero__lead { font-size: 17.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__photo { aspect-ratio: 4/3.3; border-radius: 22px; }
  .hero__photo figcaption { font-size: 12.5px; padding: 10px 14px; left: 12px; bottom: 12px; right: 12px; }

  .big { font-size: clamp(34px, 9.5vw, 48px); }
  .pains__grid { grid-template-columns: 1fr; }
  .pain { padding: 24px 22px; border-radius: 20px; }
  .pains__result { padding: 22px; }
  .pains__result .btn { width: 100%; }
  .svc__row a { grid-template-columns: 1fr 44px; gap: 10px 14px; padding: 26px 4px; }
  .svc__row a:hover { padding-left: 14px; padding-right: 14px; }
  .svc__n { grid-column: 1; grid-row: 1; }
  .svc__t { grid-column: 1; grid-row: 2; }
  .svc__d { grid-column: 1; grid-row: 3; }
  .svc__go { grid-column: 2; grid-row: 1 / span 3; width: 44px; height: 44px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; display: grid; grid-template-columns: 70px 1fr; column-gap: 14px; padding: 22px; }
  .step__n { grid-row: span 2; font-size: 72px; }
  .step h3 { margin-top: 4px; }
  .uses { grid-template-columns: 1fr; }
  .use { min-height: 0; }
  .use h3 { margin-top: 26px; }
  .calc__result .btn { width: 100%; }
  .wizard { border-radius: 24px; padding: 24px 20px; }
  .chip span { padding: 12px 16px; font-size: 15px; }
  .wstep__nav .btn--blue, .wstep__nav .btn--wa { flex: 1; }
  .foot__in { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* =========================================================
   LLAMADOS A LA ACCIÓN + IMÁGENES NUEVAS
   ========================================================= */

/* Botón principal con brillo que llama la atención */
.btn--glow { position: relative; isolation: isolate; }
.btn--glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  animation: ctaPulse 2.4s infinite;
}
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(47,107,255,.6); } 70%, 100% { box-shadow: 0 0 0 16px rgba(47,107,255,0); } }
.hero__micro { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; color: #a9b6e0; }
.btn--wa-outline { background: transparent; color: #128a43; box-shadow: inset 0 0 0 2px #1fbe5a; }
.btn--wa-outline:hover { background: #1fbe5a; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--sky); border-bottom: 2px solid transparent; padding: 4px 0; transition: border-color .3s, gap .3s var(--ease); }
.link-arrow:hover { border-color: var(--sky); gap: 12px; }

/* Bloque de llamado a la acción al final de las secciones */
.cta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-top: 48px; padding: 30px 34px; border-radius: 28px;
}
.cta-row__text { display: grid; gap: 6px; max-width: 60ch; }
.cta-row__text b { font: 900 clamp(22px, 2.2vw, 30px)/1.1 var(--f-display); letter-spacing: -.02em; }
.cta-row__text span { font-size: 16.5px; }
.cta-row__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row--light { background: #fff; box-shadow: 0 30px 60px -36px rgba(11,13,20,.35), inset 0 0 0 1px var(--line); }
.cta-row--light .cta-row__text span { color: var(--mute); }
.cta-row--dark { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(143,176,255,.25); }
.cta-row--dark .cta-row__text b { color: #fff; }
.cta-row--dark .cta-row__text span { color: #b4c0e6; }

/* ¿Te pasa esto?: imagen de fondo, oscurecida hacia la izquierda para leer el texto */
.pains { position: relative; overflow: hidden; isolation: isolate; }
.pains__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,10,1) 0%, rgba(8,8,10,.9) 38%, rgba(8,8,10,.5) 70%, rgba(8,8,10,.65) 100%),
    linear-gradient(180deg, rgba(8,8,10,.15) 0%, rgba(8,8,10,.7) 75%, rgba(8,8,10,1) 100%),
    url("assets/img/te-pasa.webp") right center / cover no-repeat;
}
.pain { background: rgba(21,21,23,.82); }
@supports (backdrop-filter: blur(1px)) { .pain { background: rgba(21,21,23,.6); backdrop-filter: blur(8px); } }
.pain.is-on { background: var(--blue); }
.pains__result { background: rgba(8,8,10,.7); transition: background .4s, box-shadow .4s; }
.pains__result.is-active { background: var(--blue); box-shadow: 0 20px 50px -20px rgba(0,36,255,.9); border-color: var(--blue); }
.pains__result.is-active p { color: #e3e9ff; }
.pains__result.is-active .btn--blue { background: #fff; color: var(--blue); box-shadow: none; }
.pains__result.is-active .btn__arrow { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* Servicios: "Solicitar" visible en cada fila */
.svc__row a { grid-template-columns: 70px 1fr 1fr auto; }
.svc__go { width: auto; height: 48px; padding: 0 18px 0 20px; border-radius: 999px; display: inline-flex; gap: 10px; font-size: 15px; font-weight: 700; }
.svc__go-t { font-size: 14px; }
.svc__row a:hover .svc__go { transform: none; }

/* Calculadora: el botón se ilumina cuando la persona interactúa */
.calc__result .btn.is-hot { animation: ctaPulseW 1.8s infinite; }
@keyframes ctaPulseW { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }

/* Ejemplos: foto destacada + tarjetas clicables */
.uses { grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(250px, auto); }
.uses__photo { grid-row: span 2; position: relative; margin: 0; border-radius: 24px; overflow: hidden; min-height: 420px; }
.uses__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transition: transform 1s var(--ease); }
.uses__photo:hover img { transform: scale(1.04); }
.uses__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,16,71,.85) 100%); }
.uses__photo figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 10px; justify-items: start; font: 900 clamp(20px, 1.9vw, 26px)/1.15 var(--f-display); letter-spacing: -.02em; color: #fff; }
.use__area--light { background: #fff; color: var(--blue); }
a.use { color: var(--ink); cursor: pointer; border: 2px solid transparent; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
a.use:hover { border-color: var(--blue); }
.use__go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 15px; font-weight: 700; color: var(--blue); padding: 10px 16px; border-radius: 999px; background: var(--blue-soft); transition: background .3s, color .3s, gap .3s var(--ease); }
a.use:hover .use__go { background: var(--blue); color: #fff; gap: 12px; }

/* Quiénes somos: acciones */
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* Contacto: pasos visibles */
.contact__points { display: grid; gap: 12px; margin-top: 28px; }
.contact__points li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; color: #e3e9ff; }
.contact__points b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font: 900 15px/1 var(--f-display); flex: none; }

/* Pie de página */
.foot__in { grid-template-columns: auto 1fr auto auto; }
.foot__cta { height: 48px; padding: 0 20px; font-size: 15px; }

/* WhatsApp flotante: burbuja "¿Hablamos?" */
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px);
  white-space: nowrap; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(0,0,0,.35);
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease);
}
.wa-float__tip::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.wa-float.show-tip .wa-float__tip, .wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%); }

@media (max-width: 1100px) {
  .svc__row a { grid-template-columns: 50px 1fr auto; }
  .uses { grid-template-columns: 1fr 1fr; }
  .uses__photo { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .foot__in { grid-template-columns: auto 1fr; }
}
@media (max-width: 760px) {
  .svc__row a { grid-template-columns: 1fr auto; }
  .svc__go { height: 42px; padding: 0 14px; }
  .svc__go-t { display: none; }
  .cta-row { padding: 24px 20px; border-radius: 22px; margin-top: 36px; }
  .cta-row__actions, .cta-row__actions .btn { width: 100%; }
  .uses { grid-template-columns: 1fr; }
  .uses__photo { min-height: 280px; }
  .about__actions .btn { width: 100%; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__cta { width: 100%; }
  .pains__bg { background:
    linear-gradient(180deg, rgba(8,8,10,.5) 0%, rgba(8,8,10,.88) 40%, rgba(8,8,10,.96) 100%),
    url("assets/img/te-pasa.webp") 70% top / auto 520px no-repeat, var(--dark); }
  .wa-float__tip { display: none; }
}

/* ============================================================
   IMÁGENES: SERVICIOS + TARJETAS DE EJEMPLOS
   ============================================================ */
.svc__photo { position: relative; margin: 0 0 56px; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 8; }
.svc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 1.2s var(--ease); }
.svc__photo:hover img { transform: scale(1.03); }
.svc__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.25) 45%, transparent 70%); }
.svc__photo figcaption { position: absolute; left: clamp(22px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); z-index: 1; max-width: 420px; display: grid; gap: 8px; color: #fff; }
.svc__photo figcaption b { font: 900 clamp(24px, 2.8vw, 38px)/1.05 var(--f-display); letter-spacing: -.03em; }
.svc__photo figcaption span { font-size: 17px; color: rgba(255,255,255,.85); }

.uses { grid-auto-rows: auto; }
.uses__photo { min-height: 560px; }
.use { padding-top: 0; overflow: hidden; }
.use__img { display: block; margin: 0 -26px 20px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.use__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.use:hover .use__img img { transform: scale(1.06); }
.use h3 { margin-top: 18px; }
.use p { flex: 1; }

@media (max-width: 760px) {
  .svc__photo { aspect-ratio: 4 / 3; margin-bottom: 36px; }
  .svc__photo::after { background: linear-gradient(180deg, transparent 35%, rgba(8,8,10,.8) 100%); }
  .svc__photo figcaption span { font-size: 15px; }
  .uses__photo { min-height: 300px; }
}
.uses__photo::after { background: linear-gradient(180deg, transparent 45%, rgba(8,8,10,.82) 100%); }
.uses__photo img { object-position: 35% center; }

/* ---------- Calculadora: reloj de arena de fondo (B/N teñido de azul) ---------- */
.calc__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: url("assets/img/calc-tiempo.webp") center 55% / cover no-repeat;
  mix-blend-mode: screen; opacity: .42;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 52% 55%, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 85% at 52% 55%, #000 35%, transparent 85%);
}
@media (max-width: 1100px) {
  .calc__bg { background-position: center 40%; opacity: .3;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 85%);
            mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 85%); }
}

/* ---------- Calculadora: azul cobalto profundo (menos brillante) ---------- */
.calc { background: linear-gradient(135deg, #0b1f78 0%, #0a2390 55%, #0c1a66 100%); }
.calc::before { background: radial-gradient(circle, rgba(143,176,255,.12), transparent 60%); }
.calc__bg { opacity: .32; }
@media (max-width: 1100px) { .calc__bg { opacity: .24; } }


/* ============================================================
   LUZ QUE SIGUE AL MOUSE EN OTRAS SECCIONES + BRILLO EN TARJETAS
   ============================================================ */
#metodo, .calc, .contact { position: relative; overflow: hidden; isolation: isolate; }
.glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .8s ease;
}
.glow--sky   { background: radial-gradient(circle 560px at var(--mx, 72%) var(--my, 62%), rgba(0,79,223,.55), transparent 68%); }
.glow--white { background: radial-gradient(circle 520px at var(--mx, 72%) var(--my, 62%), rgba(170,195,255,.30), transparent 68%); }
.glow--blue  { background: radial-gradient(circle 600px at var(--mx, 72%) var(--my, 62%), rgba(0,36,255,.38), transparent 68%); }
@media (hover: hover) and (pointer: fine) {
  #metodo:hover > .glow, .calc:hover > .glow, .contact:hover > .glow { opacity: 1; }
}

/* Tarjetas de secciones claras */
.svc__row a::after, a.use::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  opacity: 0; transition: opacity .4s ease;
}
.svc__row a::after { z-index: -1; background: radial-gradient(circle 280px at var(--sx, 50%) var(--sy, 50%), rgba(143,176,255,.45), transparent 70%); }
a.use { position: relative; }
a.use::after { z-index: 2; background: radial-gradient(circle 240px at var(--sx, 50%) var(--sy, 50%), rgba(0,36,255,.10), transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  .svc__row a:hover::after, a.use:hover::after { opacity: 1; }
  a.use:hover { box-shadow: 0 30px 60px -30px rgba(0,36,255,.45), 0 0 0 1px rgba(0,36,255,.25); }
}
