/* =========================================================================
   HolaHello — Home v1 (index-1.php)
   Hoja de estilos propia de la nueva home. No depende de Bootstrap ni de
   holahello.css, así que no afecta a ninguna otra página del sitio.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0e0e10;
  --surface: #17171A;        /* v5: mismos grises que Home y Work */
  --surface-2: #1C1C20;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .20);
  --text: #ffffff;
  --muted: #a1a1aa;
  --pink: #e56061;
  --pink-dark: #b8393c;      /* rosa para texto sobre fondo claro (AA) */
  --pink-soft: rgba(229, 96, 97, .14);
  --paper: #f6f3ef;
  --paper-2: #ece7e1;
  --paper-ink: #17171a;
  --paper-muted: #5b5b63;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;       /* v5: igual que Home y Work */
  --gutter: 20px;
  --section: 72px;
  --nav-h: 64px;

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

/* v5: mismos márgenes laterales y alto de menú que Home y Work (assets/css/chrome.css) */
@media (min-width: 768px)  { :root { --gutter: 40px; --section: 120px; --nav-h: 80px; } }
@media (min-width: 1280px) { :root { --gutter: max(40px, calc((100vw - var(--container)) / 2)); } }
@media (min-width: 1440px) { :root { --gutter: 120px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

section[id] { scroll-margin-top: var(--nav-h); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pink); color: var(--ink); font-weight: 600;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; position: relative; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}

.h1 {
  font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem);
  line-height: 1.04; font-weight: 600; letter-spacing: -.025em;
}
.h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1.08; font-weight: 600; letter-spacing: -.02em;
}
.h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: #d4d4d8; }
.accent { color: var(--pink); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
@media (min-width: 1024px) {
  .section-head--split {
    max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end;
  }
  .section-head--split .lead { margin-top: 0; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 .95rem/1 'Poppins', sans-serif; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }

.btn--primary { background: var(--pink); color: var(--ink); }
.btn--primary:hover { background: #ef7778; }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--pink); color: var(--pink); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2f; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--pink);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(14, 14, 16, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
/* backdrop-filter convierte al header en contenedor de los position:fixed;
   con el menú abierto se quita para que el panel ocupe toda la pantalla */
.nav.is-open { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { width: 128px; height: auto; }

.nav__menu { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: .92rem; font-weight: 500; color: #d4d4d8; text-decoration: none;
  border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__list a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--pink); border-radius: 0; }
.nav__cta { margin-left: 12px; min-height: 44px; padding: 0 20px; font-size: .9rem; }

.nav__toggle {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 12px;
  color: #fff; cursor: pointer;
}
.nav__bars { display: block; width: 18px; }
.nav__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__bars i + i { margin-top: 5px; }
.nav.is-open .nav__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__bars i:nth-child(2) { opacity: 0; }
.nav.is-open .nav__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil: panel a pantalla completa */
@media (max-width: 1023px) {
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 32px var(--gutter) 40px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open .nav__menu {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: flex;
    font-size: 1.75rem; font-weight: 600; color: #fff; padding: 14px 0; min-height: 0;
    border-radius: 0; border-bottom: 1px solid var(--line);
  }
  .nav__list a:hover { background: none; color: var(--pink); }
  .nav__cta { margin: 32px 0 0; width: 100%; min-height: 56px; font-size: 1rem; }
  .nav__social { display: flex; gap: 12px; margin-top: 24px; }
}
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex; align-items: center; }
  .nav__menu .nav__social { display: none; }
}
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  background:
    radial-gradient(60% 55% at 85% 35%, rgba(229, 96, 97, .22), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(229, 96, 97, .08), transparent 70%),
    var(--ink);
}
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero__copy .h1 { margin-top: 20px; }
.hero__copy .lead { margin-top: 24px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 28px;
  border-top: 1px solid var(--line); max-width: 560px;
}
.hero__facts li { font-size: .9rem; color: var(--muted); }
.hero__facts strong { display: block; font-size: 1.5rem; line-height: 1.2; font-weight: 600; color: #fff; }

@media (min-width: 1024px) {
  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-bottom: 96px; }
  .hero > .container { width: 100%; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
}

/* Collage con trabajos reales */
.collage {
  position: relative; width: 100%; max-width: 540px; margin: 0 auto;
  aspect-ratio: 10 / 10.5;
}
.collage__glow {
  position: absolute; inset: 12% 8% 10% 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 96, 97, .45), transparent 65%);
  filter: blur(30px);
}
.collage__ring {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .14);
}
.collage__phone {
  position: absolute; width: 42%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.collage__phone--a { left: 9%; top: 3%; transform: rotate(-7deg); }
.collage__phone--b { right: 7%; top: 13%; transform: rotate(6deg); z-index: 2; }
.collage__cards {
  position: absolute; width: 50%; left: -2%; bottom: 0; z-index: 3;
  transform: rotate(-6deg);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55));
}
.chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(22, 22, 25, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  font-size: clamp(.68rem, .6rem + .3vw, .8rem); line-height: 1.3; color: var(--muted);
  white-space: nowrap;
}
.chip strong { display: block; color: #fff; font-size: clamp(1rem, .85rem + .6vw, 1.35rem); font-weight: 600; }
.chip__icon {
  width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--pink-soft); color: var(--pink);
}
.chip__icon svg { width: 20px; height: 20px; }
.chip--a { top: 2%; right: -2%; }
.chip--b { bottom: 14%; right: -4%; }

@media (prefers-reduced-motion: no-preference) {
  .collage__phone--a { animation: float-a 7s ease-in-out infinite; }
  .collage__phone--b { animation: float-b 8s ease-in-out infinite; }
  .collage__cards { animation: float-c 9s ease-in-out infinite; }
  @keyframes float-a { 50% { transform: rotate(-7deg) translateY(-10px); } }
  @keyframes float-b { 50% { transform: rotate(6deg) translateY(8px); } }
  @keyframes float-c { 50% { transform: rotate(-4deg) translateY(-6px); } }
}

@media (max-width: 479px) {
  .chip--a { right: 0; }
  .chip--b { right: 0; }
}

/* ---------- Franja de clientes ---------- */
.trusted { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #111113; }
.trusted__inner { display: grid; gap: 28px; }
.trusted__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.trusted__label strong { color: #fff; font-weight: 600; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; }
.logos li { display: grid; place-items: center; height: 56px; }
.logos img {
  width: 100%; max-width: 132px; height: 44px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .62; transition: opacity .25s;
}
.logos li:hover img { opacity: 1; }
@media (min-width: 768px) { .logos { grid-template-columns: repeat(6, 1fr); } }

/* Carrusel de logos de la home: dos filas en sentidos opuestos */
.trusted__inner--marquee { grid-template-columns: 1fr !important; gap: 24px; }
.trusted__inner--marquee .trusted__label { text-align: center; }
.marquee {
  display: grid; gap: 12px; overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__row { display: flex; width: max-content; }
.marquee__track { display: flex; align-items: center; flex: none; }
.marquee__track li { flex: none; width: 150px; height: 60px; padding: 0 22px; display: grid; place-items: center; }
@media (min-width: 768px) { .marquee__track li { width: 190px; height: 68px; padding: 0 28px; } }
.marquee__track img {
  width: 100%; height: 100%; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .62; transition: opacity .25s;
}
.marquee__track li:hover img { opacity: 1; }

.marquee__toggle {
  justify-self: center; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font: 500 .8rem/1 'Poppins', sans-serif; color: var(--muted);
  background: transparent; border: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.marquee__toggle:hover { color: #fff; border-color: var(--line-strong); }
.marquee__toggle svg { width: 14px; height: 14px; }
.marquee__toggle-pause, .marquee__toggle-play { align-items: center; gap: 8px; }
.marquee__toggle-pause { display: inline-flex; }
.marquee__toggle-play { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__toggle-pause { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__toggle-play { display: inline-flex; }

@media (prefers-reduced-motion: no-preference) {
  .marquee__row { animation: marquee 70s linear infinite; }
  .marquee__row--reverse { animation-direction: reverse; animation-duration: 80s; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  /* se detiene al pasar el mouse, con el foco de teclado o con el botón de pausa */
  .marquee:hover .marquee__row,
  .marquee:focus-within .marquee__row,
  .marquee.is-paused .marquee__row { animation-play-state: paused; }
}
/* Con "Reducir movimiento": sin desplazamiento, todos los logos quietos en grilla */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; margin: 0; }
  .marquee__row { width: auto; }
  .marquee__track { flex-wrap: wrap; justify-content: center; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee__toggle { display: none; }
}
@media (min-width: 1024px) {
  .trusted__inner { grid-template-columns: 180px 1fr; align-items: center; gap: 40px; }
  .logos { grid-template-columns: repeat(8, 1fr); gap: 12px 24px; }
}

/* ---------- Servicios (sección clara) ---------- */
.services { background: var(--paper); color: var(--paper-ink); }
.services .eyebrow { color: var(--pink-dark); }
.services .lead { color: var(--paper-muted); }
.services .accent { color: var(--pink-dark); }

.paths { display: grid; gap: 20px; }
@media (min-width: 1024px) { .paths { grid-template-columns: 1.45fr 1fr; gap: 24px; } }

.path {
  border-radius: calc(var(--radius) + 6px); padding: 28px 22px;
  display: flex; flex-direction: column;
}
@media (min-width: 768px) { .path { padding: 40px; } }

.path__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.path__tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.path__title { margin-top: 14px; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.path__count { font-size: .85rem; white-space: nowrap; }

.path--brands { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 20px 50px -30px rgba(0, 0, 0, .25); }
.path--brands .path__tag { background: var(--paper-2); color: var(--paper-ink); }
.path--brands .path__count { color: var(--paper-muted); }

.path--adtech {
  position: relative; overflow: hidden; color: var(--text);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(229, 96, 97, .35), transparent 70%),
    var(--ink);
}
.path--adtech .path__tag { background: var(--pink-soft); color: var(--pink); }
.path--adtech .path__count { color: var(--muted); }
.path--adtech::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px;
  background: url("../img/isologo_pink.svg") center / contain no-repeat; opacity: .07; pointer-events: none;
}

.svc-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .path--brands .svc-grid { grid-template-columns: 1fr 1fr; } }

.svc {
  border-radius: var(--radius); padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.path--brands .svc { background: var(--paper); border: 1px solid transparent; }
.path--brands .svc:hover { border-color: rgba(184, 57, 60, .35); transform: translateY(-3px); }
.path--adtech .svc { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.path--adtech .svc:hover { border-color: rgba(229, 96, 97, .55); transform: translateY(-3px); }

.svc__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
}
.svc__icon svg { width: 22px; height: 22px; }
.path--brands .svc__icon { background: #fff; color: var(--pink-dark); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .25); }
.path--adtech .svc__icon { background: var(--pink-soft); color: var(--pink); }

.svc__title { font-size: 1.08rem; line-height: 1.3; font-weight: 600; }
.svc__tagline { margin-top: 4px; font-size: .9rem; font-weight: 500; }
.path--brands .svc__tagline { color: var(--pink-dark); }
.path--adtech .svc__tagline { color: var(--pink); }
.svc__text { margin-top: 10px; font-size: .93rem; line-height: 1.6; }
.path--brands .svc__text { color: var(--paper-muted); }
.path--adtech .svc__text { color: #c4c4cc; }

.path__foot { margin-top: auto; padding-top: 28px; }
.path--adtech .svc-grid { margin-bottom: 4px; }

/* ---------- Servicios · Opción B (más limpia) ---------- */
/* Etiqueta solo para presentar las dos opciones; borrar al elegir una */
.option-label {
  display: inline-block; margin-bottom: 28px; padding: 6px 12px; border-radius: 6px;
  border: 1px dashed currentColor; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper-muted);
}
.services-b { border-top: 1px solid rgba(0, 0, 0, .08); }

.paths-b { display: grid; gap: 20px; }
@media (min-width: 1024px) { .paths-b { grid-template-columns: 1fr 1fr; gap: 24px; } }

.pb { display: flex; flex-direction: column; padding: 32px 24px; border-radius: var(--radius); }
@media (min-width: 768px) { .pb { padding: 44px; } }
.pb--brands { background: #fff; border: 1px solid rgba(0, 0, 0, .06); }
.pb--adtech { background: var(--ink); color: var(--text); }

.pb__tag { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pb--brands .pb__tag { color: var(--pink-dark); }
.pb--adtech .pb__tag { color: var(--pink); }
.pb__title { margin-top: 12px; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }

.pb__list { margin-top: 32px; }
.pb__list li { padding: 20px 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.pb--adtech .pb__list li { border-top-color: var(--line); }
.pb__list h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 600; }
.pb__list p { margin-top: 6px; font-size: .93rem; line-height: 1.6; }
.pb--brands .pb__list p { color: var(--paper-muted); }
.pb--adtech .pb__list p { color: #c4c4cc; }
.pb__cta { margin-top: auto; padding-top: 28px; }

/* ---------- Trabajo seleccionado ---------- */
.work { background: var(--ink); }
.bento { display: grid; gap: 16px; }
@media (min-width: 768px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 20px; }
  .case--feature { grid-row: span 2; }
}
@media (min-width: 1024px) { .bento { grid-template-columns: 1.15fr 1fr; } }

.case {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.case:hover { border-color: rgba(229, 96, 97, .5); transform: translateY(-4px); }
.case__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #222; }
.case--feature .case__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 260px; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case__media img { transform: scale(1.04); }
.case__kpi {
  position: absolute; left: 16px; bottom: 16px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(14, 14, 16, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
}
.case__kpi strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.05; font-weight: 600; color: var(--pink); letter-spacing: -.02em; }
.case__kpi span { font-size: .8rem; color: #d4d4d8; }
.case--feature .case__kpi strong { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }

.case__body { padding: 22px 22px 24px; display: grid; gap: 10px; }
@media (min-width: 768px) { .case__body { padding: 26px 28px 28px; } }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags li { font-size: .74rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.case__title { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.case__text { color: var(--muted); font-size: .95rem; }
.case .link-arrow { margin-top: 6px; }

.case--more {
  justify-content: space-between; padding: 28px; gap: 28px;
  background:
    radial-gradient(90% 80% at 100% 100%, rgba(229, 96, 97, .22), transparent 70%),
    var(--surface);
}
.case--more .case__title { font-size: 1.5rem; }
.more-clients { display: flex; flex-wrap: wrap; gap: 8px; }
.more-clients li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #d4d4d8; }

/* ---------- Proceso ---------- */
.process { background: #121214; border-top: 1px solid var(--line); }
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
  .steps::before {
    content: ""; position: absolute; left: 28px; right: 28px; top: 34px; height: 1px;
    background: linear-gradient(90deg, var(--pink), rgba(229, 96, 97, .1));
  }
}
.step {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step__num {
  position: relative; z-index: 1;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--pink);
  box-shadow: 0 0 0 6px var(--surface);
  margin-bottom: 26px;
}
.step__label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--pink); }
.step__title { margin-top: 6px; font-size: 1.2rem; font-weight: 600; }
.step__text { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.step__out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: #d4d4d8; }
.step__out span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ---------- Global / local ---------- */
.global { background: var(--ink); overflow: hidden; }
.global__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .global__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.global .lead { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.stat { padding: 18px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.stat strong em { font-style: normal; color: var(--pink); }
.stat span { display: block; margin-top: 8px; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cities li { font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: #d4d4d8; }

.map { position: relative; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); padding: 12px; }
.map svg { width: 100%; height: auto; }
.map .arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.4; stroke-linecap: round; }
.map .city-dot { fill: var(--pink); }
.map .city-halo { fill: var(--pink); opacity: .18; }
.map .city-label { fill: #e4e4e7; font: 500 13px 'Poppins', sans-serif; }
.map .city-label--muted { fill: var(--muted); font-size: 11px; }
@media (prefers-reduced-motion: no-preference) {
  .map .city-halo { animation: pulse 3.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  .map .city-halo:nth-of-type(2n) { animation-delay: 1.1s; }
  .map .city-halo:nth-of-type(3n) { animation-delay: 2s; }
  @keyframes pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.2); opacity: 0; } }
  .map .arc { stroke-dasharray: 4 6; animation: dash 30s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -400; } }
}
/* Con "Reducir movimiento" activado en el sistema (Mac, Windows, iOS, Android) no hay
   desplazamientos ni cambios de tamaño: los halos solo laten suavemente en opacidad
   y las rutas quedan punteadas y quietas, así el mapa no se ve apagado. */
@media (prefers-reduced-motion: reduce) {
  .map .arc { stroke-dasharray: 4 6; }
  .map .city-halo { animation: halo-fade 2.8s ease-in-out infinite alternate; }
  .map .city-halo:nth-of-type(2n) { animation-delay: .9s; }
  .map .city-halo:nth-of-type(3n) { animation-delay: 1.8s; }
  @keyframes halo-fade { from { opacity: .1; } to { opacity: .42; } }
}

/* Acceso al equipo con fotos */
.team-teaser { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; text-decoration: none; }
.team-teaser__faces { display: flex; }
.team-teaser__faces img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ink); background: #eee;
  transition: transform .25s var(--ease);
}
.team-teaser__faces img + img { margin-left: -12px; }
.team-teaser:hover .team-teaser__faces img { transform: translateY(-2px); }

/* ---------- Testimonio ---------- */
.quote { background: var(--pink); color: var(--ink); overflow: hidden; }
.quote__inner { position: relative; display: grid; gap: 32px; }
@media (min-width: 1024px) { .quote__inner { grid-template-columns: 120px 1fr; gap: 48px; } }
.quote__mark { font-size: 9rem; line-height: .8; font-weight: 600; color: var(--ink); height: 72px; }
@media (min-width: 1024px) { .quote__mark { font-size: 11rem; } }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: clamp(1.45rem, 1.05rem + 1.8vw, 2.5rem); line-height: 1.25; font-weight: 500; letter-spacing: -.015em;
}
.quote__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.quote__person { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--pink);
  display: grid; place-items: center; font-weight: 600;
}
.quote__name { font-weight: 600; }
.quote__role { font-size: .9rem; color: var(--ink); }
.quote .link-arrow { color: var(--ink); }

/* ---------- CTA final ---------- */
.cta { background: var(--ink); overflow: hidden; }
.cta__box {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 12px); padding: 48px 24px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(229, 96, 97, .35), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgba(229, 96, 97, .12), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; gap: 40px;
}
@media (min-width: 768px) { .cta__box { padding: 72px 64px; } }
@media (min-width: 1024px) { .cta__box { grid-template-columns: 1.3fr .7fr; align-items: end; } }
.cta__box::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
  background: url("../img/isologo_pink.svg") center / contain no-repeat; opacity: .12; pointer-events: none;
}
.cta .h2 { margin-top: 16px; max-width: 14ch; }
.cta .lead { margin-top: 20px; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta__contacts { position: relative; display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .25s;
}
.contact-card:hover { border-color: var(--pink); }
.contact-card__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.contact-card span { font-weight: 500; word-break: break-word; }

/* ---------- Footer ---------- */
.footer { background: #0a0a0b; border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .92rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { width: 132px; height: auto; }
.footer__brand p { margin-top: 18px; color: var(--muted); max-width: 300px; }
.footer h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.footer__links li + li { margin-top: 4px; }
.footer__links a { display: inline-block; padding: 4px 0; color: #d4d4d8; text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--pink); }
.footer__cities { color: #d4d4d8; line-height: 1.9; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line); color: #d4d4d8; transition: color .2s, border-color .2s;
}
.social a:hover { color: var(--pink); border-color: var(--pink); }
.social svg { width: 20px; height: 20px; }

/* ---------- Aparición al hacer scroll (solo con JS y sin reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js [data-reveal-delay="1"] { transition-delay: .08s; }
  .js [data-reveal-delay="2"] { transition-delay: .16s; }
  .js [data-reveal-delay="3"] { transition-delay: .24s; }
}

/* ---------- Ajustes para celular: menos scroll, misma información clave ---------- */
.link-arrow { min-height: 44px; }

@media (max-width: 639px) {
  .hero { padding-bottom: 48px; }
  .hero__grid { gap: 40px; }
  .collage { aspect-ratio: 10 / 9; max-width: 380px; }
  .collage__phone { width: 46%; }
  .collage__phone--a { left: 4%; top: 6%; }
  .collage__phone--b { right: 4%; top: 0; }
  .collage__cards { display: none; }
  .chip--a { top: auto; bottom: 22%; left: 0; right: auto; }
  .chip--b { bottom: 2%; right: 0; }

  /* Servicios: ícono + título + descripción corta */
  .svc { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .svc__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .svc__text { margin-top: 4px; }
  .path__head { margin-bottom: 20px; }
  .path__count { display: none; }

  /* Casos y proceso más compactos */
  .case:not(.case--feature) .case__text { display: none; }
  .case__body { gap: 8px; padding: 18px; }
  .case--feature .case__media { min-height: 0; aspect-ratio: 2 / 1; }
  .case__kpi { left: 10px; bottom: 10px; padding: 8px 12px; }
  .case__kpi strong, .case--feature .case__kpi strong { font-size: 1.4rem; }
  .case__kpi span { font-size: .72rem; }
  .step { padding: 20px; }
  .step__num { display: none; }
  .step__out { display: none; }

  .stats { gap: 8px; }
  .stat { padding: 14px 12px; }

  .footer { padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
}


/* ==========================================================================
   v5 · Tipografía y botones iguales a Home y Work (assets/css/styles.css)
   ========================================================================== */
.eyebrow { gap: 10px; font-size: 13px; line-height: 16px; letter-spacing: .16em; }
.eyebrow::before { width: 24px; border-radius: 0; }
.h1 { font-size: 72px; line-height: 80px; letter-spacing: -0.03em; }
.h2 { font-size: 56px; line-height: 64px; letter-spacing: -0.03em; }
.lead { font-size: 18px; line-height: 30px; color: rgba(255, 255, 255, .72); }
.btn { min-height: 0; height: 56px; padding: 0 28px; font-size: 16px; letter-spacing: 0; }
@media (max-width: 1023px) {
  .h1 { font-size: 56px; line-height: 62px; }
  .h2 { font-size: 44px; line-height: 52px; }
}
@media (max-width: 767px) {
  .eyebrow { gap: 8px; font-size: 11px; }
  .eyebrow::before { width: 20px; }
  .h1 { font-size: 38px; line-height: 44px; }
  .h2 { font-size: 32px; line-height: 40px; }
  .lead { font-size: 16px; line-height: 26px; }
  .btn { height: 52px; }
}
/* v5 · En celular los botones van uno debajo del otro y a lo ancho, como en Home y Work */
@media (max-width: 767px) {
  .hero__actions, .cta__actions { flex-direction: column; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}
