/* TEECSOL S.A.S. — estilos del sitio
   Colores del logo: azul marino, azul acero y azul cielo. Títulos en Tektur, textos en IBM Plex Sans. */

@font-face {
  font-family: 'Tektur';
  src: url('/assets/fonts/tektur.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/plex-sans.woff2') format('woff2');
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --navy-950: #040C20;
  --navy-900: #06122E;
  --navy-800: #0A1A3F;
  --navy-700: #102552;
  --brand: #0B3A9E;
  --steel: #2A5FA8;
  --sky: #0A9BDB;
  --sky-400: #38B6EC;
  --sky-100: #E2F3FB;
  --ink: #0E1A33;
  --text: #3A4762;
  --muted: #5F6C84;
  --line: #E1E7EF;
  --bg: #F3F6FA;
  --white: #fff;
  --wa: #25D366;
  --wa-btn: #0F7A40;
  --wa-btn-hover: #0B6634;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(6, 18, 46, .05), 0 4px 14px rgba(6, 18, 46, .05);
  --shadow: 0 14px 34px -14px rgba(6, 18, 46, .28);
  --shadow-lg: 0 34px 70px -24px rgba(6, 18, 46, .38);

  --f-display: 'Tektur', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --hdr-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); font-weight: 600; line-height: 1.1; letter-spacing: -.005em; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--sky); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.i { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: #fff; color: var(--ink); padding: .7em 1.1em; border-radius: 999px; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1.15 var(--f-body);
  padding: .95em 1.45em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn .i { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--sky { background: var(--sky); color: #fff; box-shadow: 0 12px 26px -10px rgba(10, 155, 219, .65); }
.btn--sky:hover { background: #0891CF; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--brand); }
.btn--wa { background: var(--wa-btn); color: #fff; box-shadow: 0 12px 26px -12px rgba(15, 122, 64, .7); }
.btn--wa:hover { background: var(--wa-btn-hover); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--sky); color: var(--brand); }
.btn--yt { background: #CC0000; color: #fff; box-shadow: 0 12px 26px -12px rgba(204, 0, 0, .7); }
.btn--yt:hover { background: #A80000; }
.btn--lg { font-size: 1.04rem; padding: 1.08em 1.7em; }
.btn--sm { font-size: .93rem; padding: .72em 1.2em; }
.btn--block { width: 100%; }

.iconbtn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.iconbtn .i { width: 22px; height: 22px; }
.iconbtn:hover:not(:disabled) { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.iconbtn:disabled { opacity: .35; cursor: default; }

/* ---------- Títulos de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65em;
  margin: 0 0 1rem;
  font: 600 .78rem/1.2 var(--f-body);
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--sky);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow:has(.i)::before { display: none; }
.eyebrow .i { width: 1.35em; height: 1.35em; }
.eyebrow--light { color: var(--sky-400); }

.shead { max-width: 740px; margin-bottom: clamp(36px, 5vw, 60px); }
.shead--center { text-align: center; margin-inline: auto; }
.shead__title { font-size: clamp(2rem, 4.3vw, 3.15rem); margin: 0 0 1rem; text-wrap: balance; }
.shead__text { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Encabezado ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: 12px;
  transition: transform .4s var(--ease);
  pointer-events: none;
}
.hdr.is-hidden { transform: translateY(-130%); }
.hdr__bar {
  pointer-events: auto;
  width: min(100% - 24px, 1240px);
  margin-inline: auto;
  display: flex; align-items: center; gap: .75rem;
  padding: 9px 9px 9px 20px;
  border-radius: 999px;
  background: rgba(8, 22, 54, .5);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: background-color .35s, box-shadow .35s;
}
.hdr.is-scrolled .hdr__bar, .menu-open .hdr__bar { background: rgba(6, 18, 46, .94); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.hdr__logo { display: block; flex: none; margin-right: auto; }
.hdr__logo img { height: 38px; width: auto; }
.hdr__nav { display: none; }
.hdr__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.hdr__nav a {
  position: relative; display: block;
  padding: .62em 1.05em; border-radius: 999px;
  color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 500; font-size: .96rem;
  transition: color .2s, background-color .2s;
}
.hdr__nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hdr__nav a[aria-current='page'] { color: #fff; }
.hdr__nav a[aria-current='page']::after {
  content: ''; position: absolute; left: 50%; bottom: 3px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sky-400); transform: translateX(-50%);
}
.hdr__cta { display: none; }
.hdr__burger {
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .12); cursor: pointer;
  display: grid; place-content: center; gap: 5px;
}
.hdr__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.hdr__burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 480px) {
  .hdr__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .hdr__logo { margin-right: 0; }
  .hdr__nav { display: block; margin-inline: auto; }
  .hdr__burger { display: none; }
  .hdr__logo img { height: 42px; }
}

/* Menú móvil */
.mnav {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--hdr-h) + 36px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(10, 155, 219, .28), transparent 60%),
    var(--navy-900);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.mnav li { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * 60ms + 80ms); }
.mnav.is-open li { opacity: 1; transform: none; }
.mnav nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--f-display); font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 600;
  color: #fff; text-decoration: none;
}
.mnav nav a[aria-current='page'] { color: var(--sky-400); }
.mnav__foot { display: grid; gap: 1rem; }
.mnav__foot p { margin: 0; text-align: center; color: rgba(255, 255, 255, .65); font-size: .95rem; }
.mnav__foot p a { color: #fff; text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mnav { display: none !important; } }

/* ---------- Hero de inicio ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 100svh, 940px);
  display: flex; align-items: center;
  padding-block: calc(var(--hdr-h) + 48px) 140px;
  background: var(--navy-900); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: heroZoom 16s var(--ease) both; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 18, 46, .9) 0%, rgba(6, 18, 46, 0) 32%),
    linear-gradient(180deg, rgba(6, 18, 46, .55) 0%, rgba(6, 18, 46, .62) 45%, rgba(6, 18, 46, .78) 100%);
}
@media (min-width: 900px) {
  .hero__media::after {
    background:
      linear-gradient(0deg, rgba(6, 18, 46, .85) 0%, rgba(6, 18, 46, 0) 30%),
      linear-gradient(90deg, rgba(6, 18, 46, .9) 0%, rgba(6, 18, 46, .7) 36%, rgba(6, 18, 46, .2) 68%, rgba(6, 18, 46, .05) 100%);
  }
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__chip {
  display: inline-flex; align-items: center; gap: .55em; margin: 0;
  padding: .5em 1.05em; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .88rem; font-weight: 500; color: rgba(255, 255, 255, .92);
}
.hero__chip .i { color: var(--sky-400); }
.hero__title {
  font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: 1.02; font-weight: 600;
  color: #fff; margin: 1.3rem 0 1.3rem; max-width: 11.5ch; text-wrap: balance;
}
.hl { color: var(--sky-400); text-shadow: 0 0 40px rgba(56, 182, 236, .45); }
.hero__text { font-size: clamp(1.06rem, 1.6vw, 1.26rem); max-width: 36rem; color: rgba(255, 255, 255, .88); margin: 0 0 2.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust {
  list-style: none; padding: 0; margin: 2.4rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  font-size: .93rem; color: rgba(255, 255, 255, .84);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .45em; }
.hero__trust .i { color: var(--sky-400); stroke-width: 2.4; }
@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}

/* Banda de cifras sobre el borde del hero */
.statband { position: relative; z-index: 2; margin-top: -88px; background: linear-gradient(180deg, transparent 88px, var(--bg) 88px); }
.statband__inner {
  display: grid; gap: 1.25rem; align-items: center;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 34px) clamp(20px, 4vw, 48px);
}
@media (min-width: 900px) { .statband__inner { grid-template-columns: 1fr auto; } }
.statband__deps {
  display: inline-flex; align-items: center; gap: .55em; justify-self: start;
  margin: 0; padding: .7em 1.15em; border-radius: 999px;
  background: var(--bg); color: var(--ink); font-weight: 600; font-size: .95rem;
}
.statband__deps .i { color: var(--sky); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-left: 1rem; border-left: 2px solid var(--line); }
.stats__item:first-child { border-left-color: var(--sky); }
.stats__num { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stats__label { margin-top: .45rem; font-size: .8rem; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stats--light { margin-top: 2.2rem; }
@media (max-width: 420px) {
  .stats { gap: .6rem; }
  .stats__item { padding-left: .6rem; }
  .stats__label { font-size: .7rem; letter-spacing: .03em; }
}

/* ---------- Soluciones (tarjetas de inicio) ---------- */
.sols { background: var(--bg); padding-top: clamp(64px, 8vw, 104px); }
.sols__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .sols__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sols__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.scard__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  color: inherit; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.scard__link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scard__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy-800); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.scard__link:hover .scard__media img { transform: scale(1.06); }
.scard__icon {
  position: relative; z-index: 1;
  width: 58px; height: 58px; margin: -29px 0 0 24px;
  display: grid; place-items: center;
  border-radius: 16px; border: 4px solid #fff;
  background: var(--sky); color: #fff;
  box-shadow: 0 12px 22px -8px rgba(10, 155, 219, .6);
  transition: background-color .3s;
}
.scard__icon .i { width: 26px; height: 26px; }
.scard__link:hover .scard__icon { background: var(--brand); }
.scard__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.5rem 1.6rem; }
.scard__title { font-size: 1.38rem; margin: 0 0 .55rem; }
.scard__text { flex: 1; margin: 0 0 1.25rem; color: var(--muted); font-size: .98rem; }
.scard__more { display: inline-flex; align-items: center; gap: .4em; color: var(--brand); font-weight: 600; }
.scard__more .i { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.scard__link:hover .scard__more .i { transform: translateX(4px); }

/* ---------- Secciones oscuras ---------- */
.process, .others, .team, .reels { background: var(--navy-900); color: rgba(255, 255, 255, .74); overflow: hidden; isolation: isolate; }
.process::before, .others::before, .team::before, .reels::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 80%);
}
.process__glow {
  position: absolute; z-index: -1; top: -420px; right: -260px;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 155, 219, .26), transparent 62%);
  pointer-events: none;
}
.process .shead__title, .others .shead__title, .team .shead__title, .reels .shead__title { color: #fff; }
.process .shead__text, .others .shead__text, .team .shead__text, .reels .shead__text { color: rgba(255, 255, 255, .72); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; position: relative; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before {
    content: ''; position: absolute; top: 3.4rem; left: 6%; right: 6%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 182, 236, .55), transparent);
  }
}
.step, .ocard, .val {
  position: relative;
  padding: 1.9rem 1.6rem;
  border-radius: var(--r-lg);
  background: #0B1B42;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.step:hover, .ocard:hover, .val:hover { border-color: rgba(56, 182, 236, .6); background: #0F2657; transform: translateY(-4px); }
.step__n {
  display: block; margin-bottom: 1.2rem;
  font-family: var(--f-display); font-size: 3.1rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--sky-400);
}
.step__title { color: #fff; font-size: 1.26rem; margin: 0 0 .6rem; }
.step p, .ocard p, .val p { margin: 0; font-size: .97rem; }

/* ---------- Proyectos: carrusel y tarjetas ---------- */
.works__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(32px, 4vw, 48px); }
.works__head .shead { margin-bottom: 0; }
.works__nav { display: flex; gap: .6rem; }
.carousel__track {
  list-style: none; margin: 0;
  display: flex; gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: .5rem max(var(--gutter), calc((100% - var(--container)) / 2)) 1.2rem;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel .pcard { flex: 0 0 clamp(250px, 74vw, 330px); scroll-snap-align: start; }
.works__foot { display: flex; justify-content: center; margin-top: 2rem; }

.pcard__link {
  position: relative; isolation: isolate; display: block;
  aspect-ratio: 443 / 512; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-800); color: #fff; text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.pcard__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.pcard__link::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 18, 46, .94) 0%, rgba(6, 18, 46, .55) 34%, rgba(6, 18, 46, 0) 62%); }
.pcard__link:hover img { transform: scale(1.07); }
.pcard__body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 1.25rem 1.3rem; }
.pcard__num { font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--sky-400); }
.pcard__cat { font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--sky-400); }
.pcard__title { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; line-height: 1.15; }
.pcard__place { display: flex; gap: .35em; align-items: flex-start; font-size: .86rem; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.pcard__place .i { width: 1em; height: 1em; margin-top: .15em; }
.pcard__zoom {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.pcard__zoom .i { width: 18px; height: 18px; }
.pcard__link:hover .pcard__zoom, .pcard__link:focus-visible .pcard__zoom { opacity: 1; transform: none; }

/* ---------- Compromiso con el Sol ---------- */
.commit { background: var(--bg); }
.commit__grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .commit__grid { grid-template-columns: 1.05fr 1fr; } }
.commit__media { position: relative; }
.commit__media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.commit__badge {
  position: absolute; left: 16px; bottom: -28px;
  display: flex; align-items: center; gap: .9rem; max-width: 290px;
  padding: 1rem 1.3rem; border-radius: var(--r);
  background: var(--navy-800); color: rgba(255, 255, 255, .86); box-shadow: var(--shadow);
}
.commit__badge strong { font-family: var(--f-display); font-size: 2.5rem; line-height: 1; color: var(--sky-400); }
.commit__badge span { font-size: .88rem; line-height: 1.35; }
@media (min-width: 900px) { .commit__badge { left: -28px; bottom: 36px; } }
.commit__copy > p { font-size: 1.07rem; }
.values { list-style: none; padding: 0; margin: 1.7rem 0 2.1rem; display: grid; gap: 1rem; }
.values li { display: flex; gap: .95rem; align-items: center; }
.values .i { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.values strong { color: var(--ink); font-weight: 600; margin-right: .3em; }

/* ---------- Clientes ---------- */
.clients { padding-block: clamp(64px, 8vw, 104px); background: var(--bg); overflow: hidden; }
.clients--white { background: #fff; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: .5rem 0; display: flex; gap: 1.25rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  flex: none; width: 196px; height: 116px;
  display: grid; place-items: center; padding: 14px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.clients--white .marquee__track li { background: var(--bg); border-color: transparent; box-shadow: none; }
.marquee__track img { width: auto; height: auto; max-width: 100%; max-height: 84px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - .625rem)); } }

/* ---------- Llamado final ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(60px, 8vw, 96px);
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(56, 182, 236, .6), transparent 60%),
    linear-gradient(118deg, var(--brand) 0%, var(--navy-800) 78%);
}
.cta::before {
  content: ''; position: absolute; z-index: -1; right: -140px; top: 50%;
  width: 440px; height: 440px; border-radius: 50%; transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 46px rgba(255, 255, 255, .035), 0 0 0 92px rgba(255, 255, 255, .025), 0 0 0 138px rgba(255, 255, 255, .018);
}
.cta__inner { display: flex; flex-direction: column; gap: 1.8rem; }
@media (min-width: 900px) { .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta__title { color: #fff; font-size: clamp(1.85rem, 3.7vw, 2.8rem); margin: 0 0 .6rem; max-width: 19ch; text-wrap: balance; }
.cta p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 1.06rem; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; flex: none; }
.cta__phone { display: inline-flex; align-items: center; gap: .5em; color: #fff; font-weight: 600; font-size: 1.06rem; text-decoration: none; }
.cta__phone:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Pie ---------- */
.ftr { background: var(--navy-950); color: rgba(255, 255, 255, .68); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.ftr__grid { display: grid; gap: 2.6rem; }
@media (min-width: 640px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1.1fr 1.5fr; } }
.ftr__brand img { height: 46px; width: auto; margin-bottom: 1.3rem; }
.ftr__brand p { max-width: 36ch; margin: 0 0 1.4rem; }
.ftr__social { display: flex; gap: .6rem; }
.ftr__social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .25s, border-color .25s;
}
.ftr__social a:hover { background: var(--sky); border-color: var(--sky); }
.ftr__social .i { width: 20px; height: 20px; }
.ftr__h { font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: #fff; margin: 0 0 1.1rem; }
.ftr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.ftr__list a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.ftr__list a:hover { color: #fff; }
.ftr__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.ftr__contact .i { color: var(--sky-400); width: 1.15em; height: 1.15em; margin-top: .22em; }
.ftr__bottom {
  margin-top: 3.2rem; padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  font-size: .85rem;
}
.ftr__bottom p { margin: 0; }
.ftr__sean a { color: #fff; font-weight: 600; text-decoration: none; }
.ftr__sean a:hover { color: var(--sky-400); }
@media (max-width: 639px) { .ftr__bottom { padding-bottom: 96px; } }
@media (min-width: 640px) { .ftr__bottom { padding-right: 88px; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: waPulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .i { width: 32px; height: 32px; }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: .5em .95em; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
  box-shadow: var(--shadow); pointer-events: none;
  opacity: 0; transform: translate(6px, -50%); transition: opacity .25s, transform .25s var(--ease);
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip, .wa-float.is-hint .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
body.menu-open .wa-float { display: none; }

/* ---------- Encabezado de páginas interiores ---------- */
.phero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: calc(var(--hdr-h) + clamp(64px, 9vw, 120px)) clamp(64px, 8vw, 108px);
  background: var(--navy-900); color: #fff;
}
.phero__bg { position: absolute; inset: 0; z-index: -1; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 18, 46, .95) 8%, rgba(6, 18, 46, .8) 48%, rgba(6, 18, 46, .5) 100%);
}
.phero__title { font-size: clamp(2.4rem, 5.6vw, 4.3rem); color: #fff; margin: 0 0 1.1rem; max-width: 17ch; text-wrap: balance; }
.phero__text { margin: 0; max-width: 44rem; font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .84); }
.phero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* ---------- Página Soluciones ---------- */
.subnav {
  position: sticky; z-index: 30; top: var(--hdr-offset, 92px);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: top .4s var(--ease);
}
.subnav ul { list-style: none; margin: 0; padding: .7rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li:first-child { margin-left: auto; }
.subnav li:last-child { margin-right: auto; }
.subnav a {
  display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
  padding: .55em 1.05em; border-radius: 999px;
  background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem;
  transition: background-color .25s, color .25s;
}
.subnav a .i { color: var(--sky); width: 1.15em; height: 1.15em; }
.subnav a:hover { background: var(--sky-100); }
.subnav a.is-active { background: var(--navy-800); color: #fff; }
.subnav a.is-active .i { color: var(--sky-400); }

.sol { padding-block: clamp(72px, 9vw, 120px); background: #fff; scroll-margin-top: 150px; }
.sol--alt { background: var(--bg); }
.sol__grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .sol__grid { grid-template-columns: 1.1fr 1fr; }
  .sol__grid--rev { grid-template-columns: 1fr 1.1fr; }
  .sol__grid--rev .sol__media { order: 2; }
}
.sol__media { position: relative; }
.sol__media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.sol__inset {
  position: absolute; right: -10px; bottom: -34px; width: 32%;
  border-radius: var(--r); overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg);
}
.sol__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sol__num {
  position: absolute; top: -22px; left: 24px;
  width: 66px; height: 66px; border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 1.55rem;
  background: var(--sky); color: #fff; border: 5px solid #fff;
  box-shadow: 0 12px 24px -10px rgba(10, 155, 219, .7);
}
.sol--alt .sol__num { border-color: var(--bg); }
.sol__title { font-size: clamp(2rem, 4.1vw, 3.05rem); margin: 0 0 1.1rem; text-wrap: balance; }
.sol__copy > p { font-size: 1.07rem; margin: 0; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 2.1rem; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .75rem; align-items: center; color: var(--ink); font-weight: 500; }
.checks .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--sky-100); color: var(--brand); stroke-width: 2.8; }
.sol__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.others__grid, .vals { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .others__grid, .vals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .others__grid { grid-template-columns: repeat(3, 1fr); } .vals { grid-template-columns: repeat(4, 1fr); } }
.ocard__icon {
  width: 54px; height: 54px; margin-bottom: 1.3rem; border-radius: 15px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--brand));
}
.ocard__icon .i { width: 26px; height: 26px; }
.ocard__title, .val__title { color: #fff; font-size: 1.22rem; margin: 0 0 .5rem; }

/* ---------- Página Nosotros ---------- */
.intro__grid { display: grid; gap: clamp(36px, 5vw, 76px); align-items: center; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: .9fr 1.1fr; } }
.intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .intro__media img { aspect-ratio: 4 / 5; } }
.lead { font-size: 1.24rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.mv { background: var(--bg); }
.mv__grid { display: grid; gap: 1.3rem; }
@media (min-width: 800px) { .mv__grid { grid-template-columns: 1fr 1fr; } }
.mvcard { padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mvcard--dark { background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); border-color: transparent; color: rgba(255, 255, 255, .8); }
.mvcard__icon { width: 62px; height: 62px; margin-bottom: 1.5rem; border-radius: 18px; display: grid; place-items: center; background: var(--sky-100); color: var(--brand); }
.mvcard--dark .mvcard__icon { background: rgba(56, 182, 236, .16); color: var(--sky-400); }
.mvcard__icon .i { width: 30px; height: 30px; }
.mvcard__title { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 0 0 .9rem; }
.mvcard--dark .mvcard__title { color: #fff; }
.mvcard p { margin: 0; font-size: 1.08rem; }
.val { text-align: center; }
.val__icon {
  width: 66px; height: 66px; margin: 0 auto 1.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(56, 182, 236, .14); border: 1px solid rgba(56, 182, 236, .36); color: var(--sky-400);
}
.val__icon .i { width: 30px; height: 30px; }

/* ---------- Página Proyectos ---------- */
.gallery { background: var(--bg); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: clamp(28px, 4vw, 44px); }
.chip {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .66em 1.1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: 500 .95rem/1 var(--f-body); cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chip span { padding: .28em .58em; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .78rem; font-weight: 600; }
.chip:hover { border-color: var(--sky); }
.chip[aria-pressed='true'] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip[aria-pressed='true'] span { background: rgba(255, 255, 255, .16); color: #fff; }
.pgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.pgrid .pcard.is-hidden { display: none; }
.pgrid .pcard.is-shown { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .pgrid .pcard__body { padding: .8rem .85rem .9rem; gap: .2rem; }
  .pgrid .pcard__title { font-size: 1rem; }
  .pgrid .pcard__place { font-size: .76rem; }
  .pgrid .pcard__cat { font-size: .62rem; letter-spacing: .08em; }
}
.gallery__note { text-align: center; max-width: 40rem; margin: 2.6rem auto 0; color: var(--muted); }
.gallery__note a { color: var(--brand); font-weight: 600; }

/* ---------- Página Contacto ---------- */
.contact { background: var(--bg); }
.contact__grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.35fr 1fr; } }
.qform { padding: clamp(24px, 4vw, 46px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qform__title { font-size: clamp(1.55rem, 2.7vw, 2.05rem); margin: 0 0 .4rem; }
.qform__hint { margin: 0 0 1.8rem; color: var(--muted); font-size: .96rem; }
.qform__row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .qform__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label span { color: var(--sky); }
.field input, .field select, .field textarea {
  width: 100%; padding: .88em 1em;
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6em; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3A9E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background-color: #fff; box-shadow: 0 0 0 4px rgba(10, 155, 219, .15); }
.field [aria-invalid='true'] { border-color: #D14343; background-color: #FFF6F6; }
.field__err { margin: .4rem 0 0; color: #B42318; font-size: .86rem; }
.qform__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .7rem; }
.qform__ok { display: flex; align-items: center; gap: .55rem; margin: 1.2rem 0 0; padding: .9rem 1.1rem; border-radius: 12px; background: #E7F7EE; color: #0F5132; font-weight: 500; }
.qform__ok[hidden] { display: none; }
.qform__ok .i { color: var(--wa-btn); stroke-width: 2.6; }
@media (max-width: 479px) { .qform__actions .btn { width: 100%; } }

.cinfo { display: grid; gap: 1.2rem; }
.cinfo__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.ccard {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: inherit; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(10, 155, 219, .45); }
.ccard__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-100); color: var(--brand); }
.ccard__icon--wa { background: #E3F7EA; color: var(--wa-btn); }
.ccard__icon .i { width: 24px; height: 24px; }
.ccard__t { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ccard__v { display: block; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.4; overflow-wrap: anywhere; }
.cinfo__social { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.3rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); background: var(--navy-800); }
.cinfo__social p { width: 100%; margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.cinfo__social a { display: inline-flex; align-items: center; gap: .5em; color: #fff; text-decoration: none; font-weight: 500; }
.cinfo__social a:hover { color: var(--sky-400); }

.map__card { display: grid; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-800); color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .map__card { grid-template-columns: 1fr 1.35fr; } }
.map__copy { padding: clamp(28px, 4vw, 52px); }
.map__copy .eyebrow { color: var(--sky-400); }
.map__copy .shead__title { color: #fff; }
.map__copy p { margin: 0 0 1rem; }
.map__copy p .i { color: var(--sky-400); width: 1.1em; height: 1.1em; vertical-align: -.18em; }
.map__copy .btn { margin-top: .8rem; }
.map__frame { min-height: 340px; background: var(--navy-700); }
.map__frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Videos ---------- */
.reels .works__head { margin-bottom: clamp(28px, 4vw, 44px); }
.vgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 768px) { .vgrid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } .vgrid--home { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .vgrid { grid-template-columns: repeat(4, 1fr); } }
.vcard__link {
  position: relative; isolation: isolate; display: block;
  aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-800); color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .3s, transform .4s var(--ease);
}
.vcard__link:hover { border-color: rgba(56, 182, 236, .6); transform: translateY(-4px); }
.vcard__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.vcard__link::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4, 12, 32, .95) 0%, rgba(4, 12, 32, .5) 34%, rgba(4, 12, 32, 0) 60%), linear-gradient(to bottom, rgba(4, 12, 32, .35), transparent 22%); }
.vcard__link:hover img { transform: scale(1.06); }
.vcard__play {
  position: absolute; top: 44%; left: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); border: 1.5px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), background-color .3s, border-color .3s;
}
.vcard__play .i { width: 24px; height: 24px; margin-left: 3px; }
.vcard__link:hover .vcard__play, .vcard__link:focus-visible .vcard__play { background: var(--sky); border-color: var(--sky); transform: scale(1.1); }
.vcard__dur {
  position: absolute; top: 12px; right: 12px;
  padding: .3em .65em; border-radius: 999px;
  background: rgba(4, 12, 32, .72); font-size: .78rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.vcard__body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.15rem 1.2rem; }
.vcard__cat { font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--sky-400); }
.vcard__title { font-family: var(--f-display); font-weight: 600; font-size: 1.14rem; line-height: 1.15; }
.vcard--yt .vcard__link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(204, 0, 0, .3), transparent 62%), var(--navy-800);
}
.vcard--yt .vcard__link::after { display: none; }
.vcard__yt {
  width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  background: #CC0000; color: #fff; box-shadow: 0 16px 34px -12px rgba(204, 0, 0, .8);
  transition: transform .35s var(--ease);
}
.vcard__yt .i { width: 40px; height: 40px; stroke-width: 1.6; }
.vcard--yt .vcard__link:hover .vcard__yt { transform: scale(1.08); }
.vcard--yt .vcard__body { position: static; align-items: center; padding: 1.3rem 1rem 0; }
.vcard__user { display: inline-flex; align-items: center; gap: .35em; font-size: .88rem; color: rgba(255, 255, 255, .78); }
.vcard__user .i { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.vcard--yt .vcard__link:hover .vcard__user .i { transform: translateX(3px); }
@media (max-width: 640px) {
  .vcard__body { padding: .8rem .85rem .9rem; gap: .2rem; }
  .vcard__title { font-size: .98rem; }
  .vcard__cat { font-size: .62rem; letter-spacing: .08em; }
  .vcard__play { top: 36%; width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .vcard__play .i { width: 20px; height: 20px; }
  .vcard__dur { top: 9px; right: 9px; font-size: .72rem; }
  .vcard__yt { width: 60px; height: 60px; border-radius: 18px; }
  .vcard__yt .i { width: 32px; height: 32px; }
  .vcard--yt .vcard__body { padding-top: 1rem; }
}

/* Videos dentro de cada solución */
.svids { margin: -.6rem 0 2.1rem; }
.svids__t { display: flex; align-items: center; gap: .5em; margin: 0 0 .8rem; font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--brand); }
.svids__t .i { width: 1.1em; height: 1.1em; color: var(--sky); }
.svids__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.svid {
  display: flex; align-items: center; gap: .85rem; height: 100%;
  padding: .5rem 1rem .5rem .5rem; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.sol--alt .svid { background: #fff; }
.svid:hover { border-color: rgba(10, 155, 219, .55); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.svid__thumb { position: relative; flex: none; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--navy-800); display: grid; place-items: center; color: #fff; }
.svid__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svid__thumb::after { content: ''; position: absolute; inset: 0; background: rgba(4, 12, 32, .35); transition: background-color .25s; }
.svid:hover .svid__thumb::after { background: rgba(10, 155, 219, .55); }
.svid__thumb .i { position: relative; z-index: 1; width: 20px; height: 20px; margin-left: 2px; }
.svid__txt { display: flex; flex-direction: column; min-width: 0; }
.svid__title { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.svid__dur { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }

/* ---------- Visor de fotos ---------- */
.lb {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(4, 12, 32, .95); color: #fff;
}
.lb[open] { display: grid; place-items: center; animation: lbIn .3s var(--ease); }
.lb::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 72px 16px 96px; }
.lb__img { max-width: min(92vw, 760px); max-height: 74svh; width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb__cap { text-align: center; font-family: var(--f-display); font-size: 1.12rem; }
.lb__count { display: block; font-family: var(--f-body); font-size: .85rem; color: rgba(255, 255, 255, .6); margin-top: .2rem; }
.lb__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  transition: background-color .2s;
}
.lb__btn:hover { background: var(--sky); border-color: var(--sky); }
.lb__btn .i { width: 22px; height: 22px; }
.lb__close { top: 16px; right: 16px; }
.lb__prev, .lb__next { bottom: 24px; }
.lb__prev { left: calc(50% - 64px); }
.lb__next { right: calc(50% - 64px); }
@media (min-width: 900px) {
  .lb__prev, .lb__next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lb__prev { left: 24px; }
  .lb__next { right: 24px; }
}
body.lb-open { overflow: hidden; }

/* ---------- Reproductor de videos (usa la base del visor) ---------- */
.vm { overflow-y: auto; }
.vm__box { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; width: 100%; padding: 72px 16px 100px; }
.vm__video { display: block; max-width: 100%; background: #000; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.vm__info { width: 100%; max-width: 30rem; text-align: center; }
.vm__cat { margin: 0 0 .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-400); }
.vm__title { margin: 0 0 .5rem; color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.vm__text { margin: 0 0 1.1rem; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .75); }
.vm__count { margin: .9rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 899px) {
  .vm__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 900px) {
  .vm__box { flex-direction: row; justify-content: center; gap: 2.6rem; padding: 48px 100px; min-height: 100%; }
  .vm__info { width: 320px; flex: none; text-align: left; }
}

/* ---------- Animaciones al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* El primer bloque de cada página entra con CSS al cargar, sin esperar al JavaScript. */
.js :is(.hero__inner, .phero__inner) > [data-reveal] { opacity: 1; transform: none; transition: none; animation: fadeUp .9s var(--ease) both; }
:is(.hero__inner, .phero__inner) > :nth-child(2) { animation-delay: .1s; }
:is(.hero__inner, .phero__inner) > :nth-child(3) { animation-delay: .2s; }
:is(.hero__inner, .phero__inner) > :nth-child(4) { animation-delay: .3s; }
:is(.hero__inner, .phero__inner) > :nth-child(5) { animation-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
  .marquee__track li[aria-hidden='true'] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
