/* =========================================================
   GROWY AGENCY — Sistema de diseño
   Paleta: Azul eléctrico · Blanco · Negro
   Tipografía: Bornia (títulos) · Montserrat (texto)
   ========================================================= */

/* --- Bornia (fuente de marca, archivos en /fonts) --- */
@font-face {
  font-family: "Bornia";
  src: url("fonts/Bornia-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bornia";
  src: url("fonts/Bornia-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bornia";
  src: url("fonts/Bornia-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #1B2BFF;
  --blue-deep: #0A18C9;
  --blue-light: #4D7CFF;
  --black: #0A0A0B;
  --ink: #3502FF;
  --white: #FFFFFF;
  --paper: #F4F4F2;
  --ink-60: rgba(10, 10, 11, 0.6);
  --ink-40: rgba(10, 10, 11, 0.38);
  --line: rgba(10, 10, 11, 0.12);

  --font-display: "Bornia", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 7rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.5;
}

::selection { background: var(--blue); color: var(--white); }

/* Foco visible para navegación por teclado */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.cta :focus-visible, .pillars :focus-visible, .testimonials :focus-visible, .footer :focus-visible {
  outline-color: #fff;
}

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; display: block; }

/* ============ GLOW (sigue al cursor) ============ */
.glow {
  position: fixed;
  top: 0; left: 0;
  width: 60vmax; height: 60vmax;
  margin: -30vmax 0 0 -30vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,43,255,0.16) 0%, rgba(27,43,255,0.06) 35%, transparent 68%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .8s var(--ease);
  will-change: transform;
}
.glow.on { opacity: 1; }
@media (hover: none) { .glow { display: none; } }

/* ============ CURSOR ============ */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor {
  width: 38px; height: 38px;
  border: 1.5px solid #fff;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.cursor.is-hover { width: 64px; height: 64px; background: #fff; }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--blue);
  z-index: 1000;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: transform .4s var(--ease);
}
.nav.hide { transform: translateY(-110%); }

.nav__logo { display: flex; align-items: center; gap: .55rem; }
.nav__logo .logo-ico { height: 30px; width: 30px; flex-shrink: 0; color: var(--blue); }
.nav__logo .logo-word { height: 21px; width: auto; color: var(--black); }
.nav__logo svg { fill: currentColor; display: block; transition: opacity .3s var(--ease); }
.nav__logo:hover svg { opacity: .7; }
.nav.on-dark .logo-word { color: #fff; }
.nav.on-dark .logo-ico { color: #fff; }
.dot { color: var(--blue); }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  color: var(--black);
  font-size: .92rem; font-weight: 500;
  position: relative;
  transition: color .3s var(--ease);
}
.nav.on-dark .nav__links a { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: currentColor;
  transition: width .35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 100px;
  transition: transform .3s var(--ease), background .3s, color .3s;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn--nav {
  background: var(--blue); color: #fff;
  padding: .6rem 1.1rem; font-size: .9rem;
}
.btn--nav:hover { transform: scale(1.04); background: var(--black); }

.btn--big {
  background: var(--blue); color: #fff;
  padding: 1rem 1.8rem; font-size: 1.05rem;
}
.btn--big:hover { background: var(--black); transform: translateY(-2px); }

.btn--ghost {
  border: 1.5px solid var(--line);
  padding: 1rem 1.8rem; font-size: 1.05rem;
  background: transparent; color: var(--black);
}
.btn--ghost:hover { border-color: var(--black); background: var(--black); color: #fff; }

.btn--invert {
  background: #fff; color: var(--blue);
  padding: 1.1rem 2rem; font-size: 1.15rem;
}
.btn--invert:hover { transform: translateY(-2px) scale(1.02); }

.btn--ghost-light {
  border: 1.5px solid rgba(255,255,255,.4);
  padding: 1.1rem 2rem; font-size: 1.15rem;
  color: #fff; background: transparent;
}
.btn--ghost-light:hover { background: #fff; color: var(--blue); }

/* ============ BURGER / MOBILE ============ */
.nav__burger {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav__burger span { width: 26px; height: 2px; background: var(--black); transition: .3s var(--ease); }
.nav.on-dark .nav__burger span { background: #fff; }
.nav__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 850;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 1.2rem; padding: var(--pad);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  color: #fff; font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
}
.mobile-menu .btn { margin-top: 1rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad) 3rem;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 82% 18%, rgba(27, 43, 255, .12), transparent 62%),
    radial-gradient(55% 50% at 5% 95%, rgba(27, 43, 255, .07), transparent 60%);
}
.hero > * { position: relative; z-index: 2; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .6rem;
  align-self: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: .5rem 1rem;
  font-size: .85rem; font-weight: 500;
  margin-bottom: 2rem;
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(27,43,255,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(27,43,255,.5); }
  70% { box-shadow: 0 0 0 12px rgba(27,43,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,43,255,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 13vw, 13rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--ease) forwards;
}
.hero__title .line:nth-child(2) .word { animation-delay: .12s; }
.hero__title em { font-style: normal; color: var(--blue); }
@keyframes rise { to { transform: translateY(0); } }

.hero__bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-top: clamp(2rem, 6vw, 4.5rem);
}
.hero__desc {
  max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-60);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Rail de redes (vertical, derecha, solo desktop) */
.hero .hero__social {
  position: absolute;
  right: clamp(1rem, 3vw, 2.6rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem;
}
.hero__social-label {
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 500;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: .4rem;
}
.hero__social-line { width: 1px; height: 38px; background: var(--line); }
.hsocial {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--black);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(4px);
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
}
.hsocial:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
  transform: translateY(-3px);
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--blue);
  color: #fff;
  padding: 1.1rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.marquee__track {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  animation: scroll-x 24s linear infinite;
}
.marquee__track .sep { opacity: .55; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============ SECTION LABEL ============ */
.section-label {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.section-label span {
  border: 1.5px solid var(--blue);
  border-radius: 50px;
  padding: .15rem .55rem; font-size: .75rem;
}
.section-label--light { color: #fff; }
.section-label--light span { border-color: rgba(255,255,255,.5); }

/* ============ MANIFESTO ============ */
.manifesto {
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  max-width: 1300px;
}
.manifesto__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.18; letter-spacing: -0.03em;
}
.manifesto__text .strike { text-decoration: line-through; text-decoration-thickness: 4px; color: var(--ink-40); }
.manifesto__text mark { background: linear-gradient(var(--blue), var(--blue)) center / 100% 88% no-repeat; color: #fff; padding: 0 .15em; border-radius: 3px; }
.manifesto__sub {
  margin-top: 2rem; max-width: 42ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-60);
}

/* ============ STATS ============ */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .4rem;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1; letter-spacing: -.03em;
  display: inline;
}
.stat__suffix {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--blue);
}
.stat__label { color: var(--ink-60); font-size: .98rem; max-width: 28ch; margin-top: .6rem; }

/* ============ SERVICES ============ */
.services { padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.services__head {
  display: flex; flex-direction: column;
  margin-bottom: 3.5rem;
}
.services__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04; letter-spacing: -.03em; max-width: 18ch;
}
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  perspective: 1100px;
}
.card {
  position: relative;
  perspective: 1000px;
}
.card__inner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.8rem 2.4rem;
  background: var(--white);
  min-height: 250px;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  will-change: transform;
}
.card:hover .card__inner {
  border-color: rgba(27, 43, 255, .45);
  box-shadow: 0 28px 55px -28px rgba(27, 43, 255, .55), 0 8px 20px -12px rgba(10, 10, 11, .2);
}
/* Foco que sigue al cursor */
.card__glow {
  position: absolute; inset: 0;
  border-radius: 20px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(27, 43, 255, .20), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  transform: translateZ(1px);
}
.card:hover .card__glow { opacity: 1; }
/* Capas con profundidad */
.card__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; color: var(--blue);
  transform: translateZ(38px);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em;
  margin-top: auto; padding-top: 2rem;
  transform: translateZ(26px);
}
.card p {
  margin-top: .7rem; color: var(--ink-60);
  transform: translateZ(16px);
}
.card__arrow {
  position: absolute; top: 1.7rem; right: 1.8rem;
  font-size: 1.4rem; color: var(--blue);
  opacity: 0;
  transform: translateZ(50px) translate(6px, 6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card__arrow { opacity: 1; transform: translateZ(50px) translate(0, 0); }

/* ============ PILLARS (experiencia WebGL) ============ */
.pillars {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  background: var(--ink); color: #fff;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.pillars__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.pillars__overlay { position: relative; z-index: 2; }
.pillars .section-label { color: #fff; }
.pillars .section-label span { border-color: rgba(255, 255, 255, .55); }
.pillars__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.03em;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.pillars__stage {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: center;
}
.pillars__panel { position: relative; z-index: 2; }
.pillars__viz { min-height: clamp(340px, 42vw, 540px); }

/* Selector tipográfico gigante */
.pnav { list-style: none; display: flex; flex-direction: column; gap: .2rem; }
.pnav__btn {
  display: flex; align-items: baseline; gap: 1.1rem;
  background: none; border: none; cursor: pointer;
  text-align: left; padding: .35rem 0; color: #fff;
  width: 100%;
}
.pnav__idx {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; opacity: .45; width: 2.2ch;
  transition: opacity .3s;
}
.pnav__word {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .98; letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, .5);
  opacity: .7;
  transition: color .4s var(--ease), opacity .35s, transform .5s var(--ease), -webkit-text-stroke-color .4s;
}
.pnav__btn:hover .pnav__word { opacity: 1; -webkit-text-stroke-color: #fff; }
.pnav__btn.is-active .pnav__idx { opacity: 1; }
.pnav__btn.is-active .pnav__word {
  color: #fff; -webkit-text-stroke-color: transparent;
  opacity: 1; transform: translateX(14px);
}

/* Contenido del pilar activo */
.pcontent { position: relative; min-height: 230px; }
.ppane {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.ppane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.ppane__lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25;
  letter-spacing: -.01em; max-width: 24ch;
}
.ppane__lead em { font-style: normal; color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ptags {
  list-style: none; display: flex; flex-wrap: wrap; gap: .55rem;
  margin-top: 1.8rem;
}
.ptags li {
  font-size: .84rem; font-weight: 500;
  padding: .4rem .9rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px; color: rgba(255, 255, 255, .85);
}

/* ============ DIFFERENCE ============ */
.difference {
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
}
.difference__sticky { position: sticky; top: 20vh; }
.difference__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05; letter-spacing: -.03em;
}
.difference__list { list-style: none; }
.difference__list li {
  display: flex; flex-direction: column;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.difference__list .no {
  color: var(--ink-40);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.difference__list .yes {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.02em; color: var(--blue);
  margin-top: .3rem;
}

/* ============ PROCESS ============ */
.process { padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.process__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.03em; margin-bottom: 3rem;
}
.process__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.step {
  padding-top: 1.5rem;
  border-top: 3px solid var(--blue);
}
.step__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.2rem; color: var(--blue);
}
.step h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.4rem; margin-top: .8rem; letter-spacing: -.02em;
}
.step p { color: var(--ink-60); margin-top: .5rem; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  background: var(--ink); color: #fff;
}
.testimonials .section-label { color: #fff; }
.testimonials .section-label span { border-color: rgba(255, 255, 255, .55); }
.testimonials__head { margin-bottom: 3rem; }
.testimonials__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04; letter-spacing: -.03em;
}

/* ---- Casos de éxito (3 tarjetas) ---- */
/* ---- Carrusel de casos (collage flotante) ---- */
.casex { position: relative; }
.casex__viewport {
  position: relative;
  min-height: clamp(440px, 50vw, 580px);
}
.cslide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(.96);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.cslide.is-active { opacity: 1; transform: none; pointer-events: auto; }

.cstage {
  position: relative;
  width: 100%; height: 100%;
  max-width: 880px; margin: 0 auto;
}

/* Foto central */
.cstage__photo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.93);
  opacity: 0;
  width: clamp(260px, 38%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 26px; overflow: hidden;
  display: block;
  box-shadow: 0 50px 90px -35px rgba(0, 0, 0, .75);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.cslide.is-active .cstage__photo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cstage__imgwrap { display: block; width: 100%; height: 100%; overflow: hidden; }
.cstage__imgwrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.cstage__photo:hover .cstage__imgwrap img { transform: scale(1.06); }
.cstage__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--font-body); font-weight: 600; font-size: .76rem;
  padding: .4rem .8rem;
  background: rgba(10, 10, 11, .5); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px; color: #fff;
}

/* Elementos flotantes */
.cfloat {
  position: absolute; z-index: 3;
  --ey: 30px;
  opacity: 0;
  transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px + var(--ey)), 0);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
  will-change: transform;
}
.cslide.is-active .cfloat { --ey: 0px; opacity: 1; }
.cslide.is-active .cfloat--rating { transition-delay: .10s; }
.cslide.is-active .cfloat--stat { transition-delay: .18s; }
.cslide.is-active .cfloat--quote { transition-delay: .26s; }
.cfloat__inner { animation: cfloaty var(--fdur, 6s) ease-in-out infinite; }
@keyframes cfloaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.cfloat--stat { top: 10%; right: 4%; }
.cfloat--stat .cfloat__inner {
  display: flex; flex-direction: column; line-height: 1;
  background: #fff; color: var(--black);
  padding: 1.1rem 1.4rem; border-radius: 18px;
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .55);
}
.cfloat--stat strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; letter-spacing: -.02em; color: var(--black);
  font-variant-numeric: tabular-nums;
}
.cfloat--stat span { font-size: .8rem; color: var(--ink-60); margin-top: .3rem; }

.cfloat--rating { top: 16%; left: 2%; }
.cfloat--rating .cfloat__inner {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; color: var(--black);
  padding: .55rem .95rem; border-radius: 100px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
}
.cstars { color: var(--black); letter-spacing: 1px; }

.cfloat--quote { bottom: 7%; left: 0; max-width: 340px; }
.cfloat--quote .cfloat__inner {
  background: var(--black);
  color: #fff; border-radius: 22px; padding: 1.6rem 1.7rem;
  box-shadow: 0 34px 60px -22px rgba(0, 0, 0, .55);
}
.cfloat--quote p {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em;
}
.cclient { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; }
.cclient__avatar {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  border-radius: 50%;
}
.cclient__meta { display: flex; flex-direction: column; line-height: 1.3; }
.cclient__meta strong { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.cclient__meta span { color: rgba(255, 255, 255, .7); font-size: .82rem; }
.cclient__cta {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.2rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: .15rem;
  transition: gap .3s var(--ease);
}
.cclient__cta svg { transition: transform .35s var(--ease); }
.cclient__cta:hover { gap: .7rem; }
.cclient__cta:hover svg { transform: translate(3px, -3px); }

/* Variantes de orden por slide */
.lay-2 .cfloat--stat { top: auto; bottom: 11%; right: 2%; }
.lay-2 .cfloat--rating { top: 12%; left: auto; right: 9%; }
.lay-2 .cfloat--quote { top: 7%; bottom: auto; left: 0; }

.lay-3 .cfloat--stat { top: 9%; right: auto; left: 3%; }
.lay-3 .cfloat--rating { top: auto; bottom: 16%; left: auto; right: 5%; }
.lay-3 .cfloat--quote { bottom: 6%; left: auto; right: 0; }

/* Navegación */
.casex__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1.6rem; margin-top: 2rem;
  position: relative; z-index: 4;
}
.cnav-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.cnav-btn:hover { background: #fff; border-color: #fff; color: var(--black); transform: translateY(-2px); }
.casex__dots { display: flex; align-items: center; gap: .6rem; }
.cdot {
  width: 9px; height: 9px; padding: 0;
  border: none; border-radius: 100px; cursor: pointer;
  background: rgba(255, 255, 255, .25);
  transition: width .4s var(--ease), background .4s var(--ease);
}
.cdot.is-active { width: 30px; background: #fff; }

/* ============ FAQ ============ *//* ============ FAQ ============ */
.faq {
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem;
  align-items: start;
}
.faq__head { position: sticky; top: 18vh; }
.faq__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.04; letter-spacing: -.03em;
}
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: none; border: none; cursor: pointer;
  padding: 1.7rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: -.02em; color: var(--black);
  transition: color .3s;
}
.faq__q:hover { color: var(--blue); }
.faq__icon {
  position: relative; flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .35s;
}
.faq__icon::before { width: 22px; height: 2px; }
.faq__icon::after { width: 2px; height: 22px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease);
}
.faq__a p {
  color: var(--ink-60);
  font-size: 1.05rem; line-height: 1.6;
  max-width: 52ch;
  padding-bottom: 1.7rem;
}

/* ============ CTA FORM ============ */
.cta__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem;
  margin-top: 2.8rem; max-width: 640px;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  font-family: var(--font-body); font-size: 1.05rem;
  padding: 1.4rem 0 .7rem;
  outline: none;
  resize: none;
  transition: border-color .3s;
}
.field textarea { line-height: 1.5; }
.field input:focus, .field textarea:focus { border-bottom-color: #fff; }
.field label {
  position: absolute; left: 0; top: 1.4rem;
  color: rgba(255,255,255,.7);
  font-size: 1.05rem; pointer-events: none;
  transition: transform .3s var(--ease), font-size .3s, color .3s;
  transform-origin: left;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.5rem) scale(.78);
  color: rgba(255,255,255,.9);
}
.field--error input, .field--error textarea { border-bottom-color: #ffd2d2; }
.field__error {
  display: block; min-height: 1rem;
  margin-top: .4rem;
  font-size: .82rem; color: #ffd2d2;
}
.cta__submit { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }
.cta__formnote {
  grid-column: 1 / -1;
  font-size: 1rem; color: #fff; min-height: 1.2rem;
}
.cta__form.sent .field, .cta__form.sent .cta__submit { display: none; }

/* ============ CTA ============ */
.cta {
  background: var(--ink); color: #fff;
  padding: clamp(5rem, 12vw, 9rem) var(--pad) 0;
  overflow: hidden;
}
.cta__inner { max-width: 1000px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.02; letter-spacing: -.04em;
  text-wrap: balance;
  max-width: 16ch;
}
.cta__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.8); margin-top: 1.5rem; max-width: 40ch; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

.cta__marquee {
  margin-top: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid rgba(255,255,255,.25);
  overflow: hidden; padding: 1.5rem 0;
}
.cta__marquee-track {
  display: flex; gap: 1.5rem; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 6rem); letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
  animation: scroll-x 30s linear infinite;
}
.cta__marquee-track .sep { -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink); color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad) 2rem;
}
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer__logo {
  display: inline-flex; align-items: center; gap: .9rem;
}
.footer__logo .logo-ico {
  height: clamp(42px, 7vw, 56px);
  width: auto;
  color: #fff;
  fill: currentColor;
  display: block;
  transition: transform .4s var(--ease);
}
.footer__logo .logo-word {
  height: clamp(28px, 4.5vw, 38px);
  width: auto;
  color: #fff;
  fill: currentColor;
  display: block;
}
.footer__logo:hover .logo-ico { transform: rotate(-8deg) scale(1.05); }
.footer__claim { color: rgba(255,255,255,.6); max-width: 26ch; text-align: right; }
.footer__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding: 3rem 0;
}
.footer__col { display: flex; flex-direction: column; gap: .8rem; }
.footer__label {
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  color: #fff; margin-bottom: .4rem;
}
.footer__col a { color: rgba(255,255,255,.75); transition: color .3s, padding .3s; width: fit-content; }
.footer__col a:hover { color: #fff; padding-left: .4rem; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  color: rgba(255,255,255,.5); font-size: .9rem;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ SPLIT TEXT (palabra por palabra) ============ */
.splitw {
  display: inline-block;
  transform: translateY(115%) rotate(6deg);
  opacity: 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
  will-change: transform;
}
.splitline { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.05em; }
.is-split.in .splitw { transform: translateY(0) rotate(0); opacity: 1; }

/* Velocidad reactiva de los marquees */
.marquee__track, .cta__marquee-track {
  will-change: transform;
}

/* Parallax depth */
[data-speed] { display: inline-block; will-change: transform; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .hero__social { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .difference { grid-template-columns: 1fr; }
  .difference__sticky { position: static; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }

  /* Pilares: apilar selector y contenido */
  .pillars { min-height: auto; }
  .pillars__canvas { display: none; }
  .pillars__stage { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillars__viz { display: none; }
  .pcontent { position: static; min-height: 0; }
  .ppane { position: static; display: none; }
  .ppane.is-active { display: flex; opacity: 1; transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq__head { position: static; }
}
@media (max-width: 620px) {
  .nav__logo .logo-word { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__claim { text-align: left; }
  .cta__form { grid-template-columns: 1fr; }

  /* Menos padding vertical en móvil */
  .manifesto, .services, .pillars, .difference, .process, .testimonials, .faq {
    padding-top: clamp(2.75rem, 10vw, 4.5rem);
    padding-bottom: clamp(2.75rem, 10vw, 4.5rem);
  }
  .hero__bottom { align-items: flex-start; gap: 1.4rem; }
  .hero__desc { max-width: 38ch; }
  .card { min-height: 0; }
  .card__inner { min-height: 0; padding: 1.8rem 1.5rem 2rem; }
}

@media (max-width: 480px) {
  :root { --pad: 1.15rem; }
  .nav { padding: .9rem var(--pad); }
  .hero { padding: 6.6rem var(--pad) 2.5rem; min-height: 90vh; min-height: 88svh; }
  .hero__tag { font-size: .8rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .btn--big, .btn--ghost { padding: .9rem 1.4rem; font-size: 1rem; }
  .marquee__track { font-size: 1.2rem; gap: 1.4rem; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__claim { text-align: left; }
  .footer__bottom { flex-direction: column; gap: .4rem; }
  .cfloat--stat strong { font-size: 1.7rem; }
}

/* En dispositivos táctiles: mostrar la flecha de las tarjetas (no hay hover) */
@media (hover: none) {
  .card__arrow { opacity: 1; transform: translateZ(0); }
  .cclient__cta { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__title .word { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Carrusel de casos: apilado en pantallas pequeñas ---- */
@media (max-width: 860px) {
  .pillars__canvas { display: none; }
  .casex__viewport { min-height: 0; }
  .cslide {
    position: static; display: none;
    opacity: 1; transform: none;
  }
  .cslide.is-active { display: block; }
  .cstage {
    position: static; height: auto;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 1rem; max-width: 460px; margin: 0 auto;
  }
  .cstage__photo {
    position: static; transform: none;
    width: 100%; aspect-ratio: 4 / 3;
  }
  .cslide.is-active .cstage__photo { transform: none; opacity: 1; }
  .cfloat {
    position: static;
    transform: none !important;
    opacity: 1;
    margin: 0;
  }
  .cslide.is-active .cfloat { transition-delay: 0s; }
  .cfloat__inner { animation: none; }
  .cfloat--quote { max-width: none; width: 100%; }
  /* En móvil las variantes de orden no aplican (apilado) */
  .lay-2 .cfloat--stat, .lay-2 .cfloat--rating, .lay-2 .cfloat--quote,
  .lay-3 .cfloat--stat, .lay-3 .cfloat--rating, .lay-3 .cfloat--quote {
    top: auto; bottom: auto; left: auto; right: auto;
  }
}

/* =========================================================
   BLOG
   ========================================================= */
.blogpage, .article { padding-top: clamp(7rem, 13vh, 9.5rem); }

/* ---- Cabecera del listado ---- */
.blog-head {
  padding: 1rem var(--pad) clamp(2.5rem, 6vw, 4rem);
  max-width: 1100px;
}
.blog-head__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: .98;
  letter-spacing: -.03em; margin-top: .5rem;
}
.blog-head__sub {
  margin-top: 1.4rem; max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-60);
}

/* ---- Listado ---- */
.post-list { padding: 0 var(--pad) clamp(4rem, 9vw, 7rem); }

.post {
  display: block; color: inherit;
  border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; background: var(--white);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
a.post:hover { transform: translateY(-6px); border-color: rgba(27,43,255,.4); box-shadow: 0 30px 60px -30px rgba(27,43,255,.4); }

.post__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.2rem; overflow: hidden;
  background: var(--ink);
}
.post__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.post__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,10,11,.35), rgba(10,10,11,.04) 55%);
  opacity: 0;
}
.post__media:has(.post__img)::after { opacity: 1; }
.post__cat, .post__kicker { position: relative; z-index: 2; }
.post__media--mundial { background: radial-gradient(130% 130% at 82% 8%, #5b6bff, transparent 55%), linear-gradient(150deg, var(--ink), #0a18c9); }
.post__media--alt  { background: linear-gradient(150deg, var(--ink), #2a39ff); }
.post__media--alt2 { background: linear-gradient(150deg, #0a18c9, var(--ink)); }
.post__media--alt3 { background: radial-gradient(120% 120% at 20% 90%, #4d7cff, transparent 55%), linear-gradient(150deg, var(--ink), #1b2bff); }
.post__cat {
  align-self: flex-start;
  font-family: var(--font-body); font-weight: 600; font-size: .76rem;
  padding: .35rem .8rem; border-radius: 100px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); color: #fff;
  backdrop-filter: blur(4px);
}
.post__kicker {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  color: #fff; opacity: .9;
}
.post__body { padding: 1.8rem; }
.post__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; line-height: 1.12; letter-spacing: -.02em;
}
.post__excerpt { margin-top: .8rem; color: var(--ink-60); line-height: 1.55; }
.post__meta { margin-top: 1.2rem; color: var(--ink-40); font-size: .88rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.dot-sep { opacity: .5; }
.post__cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
  font-family: var(--font-display); font-weight: 600; color: var(--blue);
  transition: gap .3s var(--ease);
}
.post:hover .post__cta { gap: .8rem; }
.post__soon {
  display: inline-block; margin-top: 1.2rem;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  color: var(--ink-40); border: 1px solid var(--line); border-radius: 100px; padding: .3rem .8rem;
}

/* Destacado */
.post--feature { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.post--feature .post__media { aspect-ratio: auto; min-height: 320px; }
.post--feature .post__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.8rem, 4vw, 3rem); }
.post--feature .post__title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }

.post-grid {
  margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.post--soon { cursor: default; }

/* ---- CTA del blog ---- */
.blog-cta { padding: 0 var(--pad) clamp(4rem, 9vw, 7rem); }
.blog-cta__inner {
  background: var(--ink); color: #fff;
  border-radius: 26px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.blog-cta__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.02em;
  max-width: 22ch; margin: 0 auto;
}
.blog-cta__sub { margin: 1rem auto 2rem; max-width: 48ch; color: rgba(255,255,255,.8); }
.blog-cta .btn--invert { background: #fff; color: var(--blue); }

/* =========================================================
   ARTÍCULO
   ========================================================= */
.article__head { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); }
.article__back {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--ink-60); margin-bottom: 2rem;
  transition: gap .3s var(--ease), color .3s;
}
.article__back:hover { gap: .7rem; color: var(--blue); }
.article__cat {
  display: inline-block;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); border: 1.5px solid var(--blue); border-radius: 100px;
  padding: .3rem .8rem;
}
.article__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em;
  margin-top: 1.2rem; text-wrap: balance;
}
.article__sub {
  margin-top: 1.3rem; font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.5; color: var(--ink-60); max-width: 60ch;
}
.article__meta {
  margin-top: 1.6rem; display: flex; gap: .5rem; flex-wrap: wrap;
  color: var(--ink-40); font-size: .9rem;
  font-family: var(--font-display); font-weight: 500;
}
.article__cover {
  max-width: 1100px; margin: clamp(2rem, 5vw, 3.5rem) auto;
  height: clamp(220px, 38vw, 460px); border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(120% 130% at 80% 10%, #5b6bff, transparent 55%), linear-gradient(150deg, var(--ink), #0a18c9);
  margin-left: var(--pad); margin-right: var(--pad);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Imagen dentro del artículo */
.article__figure { margin: clamp(2rem, 5vw, 3rem) 0; }
.article__figure img {
  width: 100%; border-radius: 18px; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.article__figure figcaption {
  margin-top: .8rem; font-size: .92rem; color: var(--ink-40);
  font-family: var(--font-display); font-weight: 500;
  text-align: center;
}

/* Cuerpo / prosa */
.article__body { max-width: 720px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) var(--pad) 0; }
.article__body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em;
  margin: clamp(2.4rem, 5vw, 3.2rem) 0 1rem;
}
.article__body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.01em;
  margin: 2rem 0 .6rem; color: var(--blue);
}
.article__body p { font-size: 1.08rem; line-height: 1.7; color: rgba(10,10,11,.78); margin-bottom: 1.1rem; }
.article__body strong { color: var(--black); font-weight: 600; }
.article__body ul, .article__body ol { margin: 0 0 1.3rem 0; padding-left: 1.3rem; }
.article__body li { font-size: 1.08rem; line-height: 1.6; color: rgba(10,10,11,.78); margin-bottom: .5rem; }
.article__body blockquote {
  margin: 1.6rem 0; padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--blue); background: var(--paper);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; color: var(--black);
}
.article__minilabel {
  font-family: var(--font-display); font-weight: 600 !important; font-size: .8rem !important;
  text-transform: uppercase; letter-spacing: .1em; color: var(--blue) !important;
  margin-bottom: .5rem !important;
}
.article__metric {
  background: var(--paper); border-radius: 12px; padding: .9rem 1.1rem;
  font-size: .98rem !important; color: var(--ink-60) !important; margin: .4rem 0 1.6rem !important;
}

/* Framework */
.article__framework { list-style: none; padding: 0 !important; margin: 1rem 0 1.5rem !important; }
.article__framework li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.2rem 0; border-top: 1px solid var(--line);
}
.article__framework li:last-child { border-bottom: 1px solid var(--line); }
.fw__n {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--blue); flex-shrink: 0; line-height: 1.4;
}
.article__framework div { font-size: 1.05rem; line-height: 1.6; color: rgba(10,10,11,.78); }

/* ---- Responsive blog ---- */
@media (max-width: 860px) {
  .post--feature { grid-template-columns: 1fr; }
  .post--feature .post__media { min-height: 220px; aspect-ratio: 16/9; }
  .post-grid { grid-template-columns: 1fr; }
}
