/* =========================================================
   AWAD SOLUTIONS — estilos
   Inspirado en el ritmo de righthookdigital.com:
   negro con grano, títulos gigantes en mayúscula, azul eléctrico.
   ========================================================= */

:root {
  --bg: #121013;
  --bg-2: #0c0b0d;
  --ink: #ffffff;
  --muted: #b9b7bb;
  --muted-2: #7d7a80;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #1f3bff;
  --blue-2: #3a55ff;
  --blue-deep: #0d1fb8;
  --light: #e7e6e4;
  --paper: #ffffff;
  --ink-dark: #131113;
  --ink-dark-2: #4a474c;
  --wrap: min(1160px, calc(100% - 32px));
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
}

*,
*::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;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }

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

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

.wrap { width: var(--wrap); margin-inline: auto; }

.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;
}

/* Grano de película sobre todo el sitio (como RH) */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.07;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Tipografía base ---------- */
.display {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.96;
}
/* Contorno limpio: el trazo va detrás del relleno (color del fondo), así no se ven las líneas internas de la fuente */
.outline {
  color: var(--outline-fill, var(--bg));
  -webkit-text-stroke: 3.6px #fff;
  paint-order: stroke fill;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow::after { content: ""; width: 100px; height: 1px; background: currentColor; opacity: 0.8; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  border-radius: 999px; padding: 12px 22px 12px 22px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  box-shadow: 0 8px 30px -10px rgba(31, 59, 255, 0.7);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--blue-2); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--big { padding: 18px 30px; font-size: 16px; }
.btn svg.wa { width: 19px; height: 19px; margin-right: -2px; }
.btn:hover svg.wa { transform: none; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

.lines .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.lines .line > span { display: block; transform: translateY(105%); transition: transform 1.05s var(--ease); }
.lines.in .line > span { transform: none; }
.lines.in .line:nth-child(2) > span { transition-delay: 0.1s; }
.lines.in .line:nth-child(3) > span { transition-delay: 0.2s; }
.lines.in .line:nth-child(4) > span { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .lines .line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .grain { animation: none; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s, transform 0.45s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(12, 11, 13, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { width: min(1400px, calc(100% - 32px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand span { font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; white-space: nowrap; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 38px; }
.nav a { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blue-2); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.burger span { display: block; width: 18px; height: 2px; background: #fff; position: relative; transition: background 0.3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; transition: transform 0.35s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 24px 40px;
  clip-path: circle(0 at calc(100% - 38px) 38px); transition: clip-path 0.7s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 38px) 38px); }
.mobile-menu a.big { display: block; font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 11vw, 64px); line-height: 1.05; padding: 4px 0; }
.mobile-menu a.big:hover { color: var(--blue-2); }
.mobile-menu .btn { margin-top: 36px; align-self: flex-start; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .brand span { font-size: 12px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 20px) 0 56px;
  isolation: isolate;
}
.hero__film {
  position: absolute; inset: var(--header-h) 0 0 0; z-index: -2;
  display: flex; align-items: center; overflow: hidden;
}
.film-track {
  display: flex; gap: 16px; width: max-content;
  animation: film 70s linear infinite;
  will-change: transform;
}
.hero:hover .film-track { animation-play-state: paused; }
@keyframes film { to { transform: translateX(-50%); } }
.film-item {
  position: relative; flex: none; height: min(74svh, 720px); aspect-ratio: 9 / 16;
  border-radius: 12px; overflow: hidden; background: #222;
}
.film-item--45 { aspect-ratio: 4 / 5; }
.film-item--web { aspect-ratio: 3 / 4; }
.film-item img, .film-item video { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: brightness(0.5) saturate(0.85); transition: filter 0.6s; }
.film-item:hover img, .film-item:hover video { filter: brightness(0.95) saturate(1); }
.film-item__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(0,0,0,0.55); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,16,19,0.9) 0%, rgba(18,16,19,0.78) 55%, rgba(18,16,19,0.42) 82%, rgba(18,16,19,0.5) 100%),
    linear-gradient(0deg, rgba(18,16,19,1) 0%, rgba(18,16,19,0.55) 40%, rgba(18,16,19,0) 70%),
    linear-gradient(180deg, rgba(18,16,19,0.9) 0%, rgba(18,16,19,0) 22%);
}
.hero__content { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 4.9vw, 80px); }
.hero h1 .outline { -webkit-text-stroke-width: 3.6px; --outline-fill: #121013; }
.hero__lead { max-width: 820px; font-size: clamp(18px, 2.1vw, 28px); line-height: 1.38; margin-top: 26px; color: #fff; font-weight: 400; letter-spacing: -0.01em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero__scroll i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; }
.hero__scroll i svg { width: 14px; height: 14px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* Mancha azul + sello giratorio "HABLEMOS" */
.splash {
  position: absolute; z-index: 1; right: -120px; top: 36%;
  width: 420px; height: 420px;
  display: grid; place-items: center;
}
.splash__paint { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash__seal { position: relative; width: 168px; height: 168px; display: grid; place-items: center; transition: transform 0.5s var(--ease); }
.splash__seal:hover { transform: scale(1.06); }
.splash__ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.splash__ring text { font-size: 12.5px; font-weight: 800; letter-spacing: 0.24em; fill: #fff; text-transform: uppercase; }
.splash__arrow { width: 54px; height: 54px; transition: transform 0.4s var(--ease); }
.splash__seal:hover .splash__arrow { transform: translate(4px, -4px); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .splash { width: 260px; height: 260px; right: -70px; top: 92px; }
  .splash__seal { width: 116px; height: 116px; }
  .splash__arrow { width: 38px; height: 38px; }
  .splash__ring text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-track, .splash__ring { animation: none; }
}

/* =========================================================
   DECLARACIÓN (con subrayados dibujados a mano)
   ========================================================= */
.statement { padding: clamp(90px, 13vw, 170px) 0; }
.statement p { font-size: clamp(30px, 5.1vw, 70px); max-width: 1120px; margin: 0; }
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark svg { position: absolute; pointer-events: none; overflow: visible; max-width: none; }
.mark path { fill: none; stroke: var(--blue-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); }
.mark--line svg { left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; }
.mark--circle svg { left: -8%; top: -18%; width: 116%; height: 136%; }
.in .mark path, .mark.in path { stroke-dashoffset: 0; }
.in .mark:nth-of-type(2) path { transition-delay: 0.35s; }
.in .mark:nth-of-type(3) path { transition-delay: 0.7s; }

/* =========================================================
   TE ENTENDEMOS (sección clara + carta del fundador)
   ========================================================= */
.about { background: var(--light); color: var(--ink-dark); position: relative; overflow: hidden; }
.about .wrap { display: grid; gap: 40px; padding: clamp(80px, 10vw, 140px) 0 0; }
.about h2 { font-size: clamp(50px, 13vw, 96px); color: var(--ink-dark); }
.about__sub { font-weight: 900; text-transform: uppercase; font-size: clamp(14px, 1.5vw, 19px); letter-spacing: 0.01em; margin: 6px 0 30px; }
.about__from { font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); margin-bottom: 26px; }
.letter { position: relative; max-height: 330px; overflow: hidden; transition: max-height 0.9s var(--ease); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.75; color: #2a272c; }
.letter strong { color: var(--ink-dark); }
.letter::after { content: ""; position: absolute; inset: auto 0 0 0; height: 170px; background: linear-gradient(180deg, rgba(231,230,228,0), var(--light) 85%); transition: opacity 0.5s; }
.letter.is-open { max-height: 2200px; }
.letter.is-open::after { opacity: 0; pointer-events: none; }
.letter__sign { font-family: var(--hand); font-size: 34px; color: var(--blue-deep); line-height: 1; margin-top: 10px; }
.btn-read {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  background: var(--ink-dark); color: #fff; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 16px;
  transition: background 0.3s;
}
.btn-read:hover { background: var(--blue); }
.btn-read svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn-read[aria-expanded="true"] svg { transform: rotate(180deg); }
.about__links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 36px 0 0; }
.about__photo { position: relative; align-self: end; margin: 0 auto; width: min(520px, 100%); }
.about__photo figure { margin: 0; position: relative; border-radius: 220px 220px 0 0; overflow: hidden; background: #000; aspect-ratio: 2 / 3; }
.about__photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
.about__note {
  position: absolute; left: -12px; top: 26%; z-index: 2;
  font-family: var(--hand); font-size: 30px; line-height: 1; color: var(--blue-deep); transform: rotate(-8deg);
}
.about__note svg { width: 90px; height: 60px; margin: 4px 0 0 40px; }
.about__note path { fill: none; stroke: var(--blue-deep); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s 0.4s var(--ease); }
.about__note.in path { stroke-dashoffset: 0; }
.about__badge {
  position: absolute; right: 16px; bottom: 26px; z-index: 2;
  background: var(--blue); color: #fff; border-radius: 10px; padding: 12px 16px; transform: rotate(3deg);
  box-shadow: 0 14px 40px -12px rgba(13, 31, 184, 0.7);
}
.about__badge b { display: block; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; }
.about__badge span { font-size: 13px; opacity: 0.9; }
@media (min-width: 980px) {
  .about .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; }
  .about h2 { font-size: clamp(64px, 6.4vw, 96px); }
  .about__text { padding-bottom: clamp(80px, 9vw, 130px); }
  .about__note { left: -150px; }
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); position: relative; }
.section-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.svc-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__head {
  width: 100%; display: grid; grid-template-columns: 52px 1fr 40px; gap: 16px; align-items: center;
  padding: 26px 0; text-align: left;
}
.svc__icon { width: 52px; height: 52px; color: #8f8c93; transition: color 0.4s, transform 0.6s var(--ease); }
.svc__name { font-size: clamp(30px, 6.4vw, 86px); line-height: 0.95; transition: transform 0.6s var(--ease), color 0.4s; }
.svc__tags { display: block; font-size: clamp(14px, 1.55vw, 20px); font-weight: 400; color: var(--muted); margin-top: 8px; text-transform: none; letter-spacing: 0; }
.svc__plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s; }
.svc__plus svg { width: 16px; height: 16px; }
.svc:hover .svc__icon, .svc.is-open .svc__icon { color: var(--blue-2); transform: rotate(-12deg) scale(1.06); }
.svc:hover .svc__name { transform: translateX(10px); }
.svc.is-open .svc__plus { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; }
.svc__body p { margin: 0 0 28px 68px; max-width: 720px; font-size: clamp(16px, 1.5vw, 20px); color: #d8d6da; }
.svc__body .svc__mini { margin: 0 0 30px 68px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__mini span { font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--muted); }
@media (max-width: 640px) {
  .svc__head { grid-template-columns: 38px 1fr 34px; gap: 12px; padding: 22px 0; }
  .svc__icon { width: 38px; height: 38px; }
  .svc__plus { width: 34px; height: 34px; }
  .svc__body p, .svc__body .svc__mini { margin-left: 0; }
}
/* Vista previa que sigue al mouse */
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 250px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.85) rotate(-4deg);
  transition: opacity 0.35s, transform 0.5s var(--ease);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
  background: #1b191d;
}
.svc-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.svc-preview > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.35s; }
.svc-preview > .on { opacity: 1; }
@media (hover: none), (max-width: 999px) { .svc-preview { display: none; } }

/* Mini ilustraciones para la vista previa */
.pv-search { background: #f4f4f6; color: #202124; padding: 26px 18px; font-family: Arial, sans-serif; }
.pv-search .bar { background: #fff; border-radius: 999px; padding: 10px 14px; font-size: 13px; box-shadow: 0 1px 6px rgba(32,33,36,0.28); display: flex; gap: 8px; align-items: center; }
.pv-search .bar i { width: 12px; height: 12px; border: 2px solid #9aa0a6; border-radius: 50%; display: inline-block; }
.pv-search .res { margin-top: 18px; background: #fff; border-radius: 10px; padding: 12px; font-size: 11px; }
.pv-search .res b { display: block; color: #1a0dab; font-size: 14px; margin: 4px 0; }
.pv-search .res small { color: #202124; font-weight: 700; }
.pv-search .res + .res { opacity: 0.55; }
.pv-funnel { background: #121013; padding: 26px 20px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.pv-funnel .row { height: 34px; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); display: flex; align-items: center; padding: 0 12px; font-size: 12px; font-weight: 700; color: #fff; }
.pv-funnel .row:nth-child(2) { width: 78%; opacity: 0.9; }
.pv-funnel .row:nth-child(3) { width: 56%; opacity: 0.8; }
.pv-funnel .row:nth-child(4) { width: 38%; opacity: 0.7; }

/* =========================================================
   CÓMO TRABAJAMOS (90 días)
   ========================================================= */
.process { background: var(--bg-2); padding: clamp(90px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.process h2 { font-size: clamp(36px, 5.6vw, 80px); max-width: 1100px; }
.process .outline { --outline-fill: var(--bg-2); }
.steps { display: grid; gap: 18px; margin-top: 60px; position: relative; }
.steps__bar { position: absolute; left: 0; right: 0; top: -26px; height: 2px; background: var(--line); }
.steps__bar i { position: absolute; inset: 0; background: var(--blue-2); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.15s linear; }
.step {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  transition: border-color 0.4s, transform 0.5s var(--ease), background 0.4s;
}
.step:hover { border-color: rgba(58, 85, 255, 0.7); transform: translateY(-6px); background: linear-gradient(180deg, rgba(31,59,255,0.12), rgba(31,59,255,0)); }
.step__num { font-size: 76px; line-height: 1; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.5); }
.step__month { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-2); margin: 14px 0 6px; }
.step h3 { font-size: 26px; font-weight: 900; text-transform: uppercase; line-height: 1.05; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 17px; margin: 0; }
.step__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step__tags span { font-size: 12px; font-weight: 600; border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; color: #d6d4d8; }
.after { margin-top: 26px; border-radius: var(--radius); background: var(--blue); padding: 34px 30px; display: grid; gap: 22px; align-items: center; }
.after h3 { font-size: clamp(30px, 4.6vw, 60px); line-height: 0.95; }
.after h3 small { display: block; font-size: 14px; letter-spacing: 0.12em; font-weight: 700; margin-bottom: 10px; opacity: 0.85; }
.after ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.after li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 17px; }
.after li svg { width: 20px; height: 20px; flex: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .after { grid-template-columns: 1fr 1fr; padding: 44px 46px; }
}

/* =========================================================
   CLIENTES
   ========================================================= */
.clients { padding: clamp(90px, 11vw, 150px) 0; }
.clients__grid { display: grid; gap: 30px; }
.clients h2 { font-size: clamp(40px, 6.2vw, 84px); }
.clients__p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.75; color: #e2e0e4; }
@media (min-width: 900px) { .clients__grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.logos { list-style: none; padding: 0; margin: clamp(50px, 7vw, 90px) 0 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.logos li { display: grid; place-items: center; height: 112px; padding: 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos li:nth-child(2n) { border-right: 0; }
.logos li:nth-last-child(-n+2) { border-bottom: 0; }
.logos img { max-height: 46px; max-width: 150px; width: auto; height: auto; object-fit: contain; opacity: 0.8; transition: opacity 0.35s, transform 0.5s var(--ease); }
.logos li:hover img { opacity: 1; transform: scale(1.07); }
.logos img.tall { max-height: 60px; }
/* Logo muy ancho con el nombre en letra delgada (Global Jiu Jitsu): necesita más ancho para que se lea */
.logos img.wide { max-width: min(100%, 236px); max-height: 58px; }
.logos__cta { padding: 0 !important; }
.logos__cta a { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; transition: background 0.4s; }
.logos__cta a:hover { background: rgba(31, 59, 255, 0.14); }
.logos__cta span { font-weight: 900; text-transform: uppercase; font-size: 17px; letter-spacing: 0.01em; }
.logos__cta b { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--blue-2); }
.logos__cta svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.logos__cta a:hover svg { transform: translateX(4px); }
@media (min-width: 700px) {
  .logos { grid-template-columns: repeat(4, 1fr); }
  .logos li { height: 150px; }
  .logos li:nth-child(2n) { border-right: 1px solid var(--line); }
  .logos li:nth-child(4n) { border-right: 0; }
  .logos li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .logos li:nth-last-child(-n+4) { border-bottom: 0; }
}

/* =========================================================
   TRABAJO (fondo blanco, grilla filtrable)
   ========================================================= */
.work { background: var(--paper); color: var(--ink-dark); padding: clamp(90px, 11vw, 150px) 0 clamp(90px, 10vw, 140px); }
.work h2 { font-size: clamp(40px, 6.6vw, 92px); color: var(--ink-dark); }
.work .link-arrow { color: var(--ink-dark); }
.tabs { display: flex; gap: 8px; margin: 42px 0 34px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 11px 18px; border-radius: 999px; border: 1.5px solid #d6d4d8; font-weight: 700; font-size: 15px; color: var(--ink-dark);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.tab sup { font-size: 11px; margin-left: 3px; opacity: 0.6; }
.tab:hover { border-color: var(--ink-dark); }
.tab.is-active { background: var(--ink-dark); border-color: var(--ink-dark); color: #fff; }

.grid { columns: 2; column-gap: 14px; }
@media (min-width: 760px) { .grid { columns: 3; column-gap: 20px; } }
@media (min-width: 1100px) { .grid { columns: 4; column-gap: 22px; } }
.card {
  break-inside: avoid; margin: 0 0 clamp(18px, 2.4vw, 34px); display: block; width: 100%; text-align: left;
  opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.card.in { opacity: 1; transform: none; }
.card[hidden] { display: none; }
.card__media { position: relative; border-radius: 12px; overflow: hidden; background: #ece9ef; isolation: isolate; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media > img, .card:hover .card__media > video { transform: scale(1.035); }
.card--video .card__media { aspect-ratio: 9 / 16; background: #111; }
.card--static .card__media { aspect-ratio: 4 / 5; }
.card--static.sq .card__media { aspect-ratio: 1 / 1; }
.card--static.tall .card__media { aspect-ratio: 3 / 4; }
.card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.92); color: var(--ink-dark); padding: 5px 9px; border-radius: 999px;
}
.card--web .card__badge { top: 38px; }
.card--static .card__badge { top: auto; bottom: 10px; }
.card--mail .card__badge { top: 44px; left: 18px; }
.card__play {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center; transition: transform 0.4s var(--ease);
  box-shadow: 0 8px 22px -8px rgba(31,59,255,0.9);
}
.card__play svg { width: 16px; height: 16px; margin-left: 2px; }
.card:hover .card__play { transform: scale(1.12); }

/* Mails dentro de un celular que se desplaza solo */
.card--mail .card__media { aspect-ratio: 9 / 17; background: #e8e5ea; padding: 9px; border-radius: 28px; }
.phone { position: relative; width: 100%; height: 100%; border-radius: 21px; overflow: hidden; background: #fff; }
.phone__bar { position: absolute; inset: 0 0 auto 0; height: 26px; z-index: 2; background: rgba(255,255,255,0.94); display: flex; align-items: center; justify-content: center; }
.phone__bar::before { content: ""; width: 54px; height: 6px; border-radius: 9px; background: #1a181c; }
.phone__scroll { position: absolute; inset: 26px 0 0 0; overflow: hidden; }
.phone__scroll img { width: 100%; height: auto; object-fit: initial; transform: translateY(0); transition: transform var(--dur, 7s) linear; }
.card--mail:hover .phone__scroll img, .card--mail.autoscroll .phone__scroll img { transform: translateY(var(--shift, 0px)); }

/* Landings dentro de un navegador */
.card--web .card__media { aspect-ratio: 4 / 5; background: #e8e5ea; padding: 0; border: 1px solid #e1dee4; }
.browser { position: absolute; inset: 0; display: flex; flex-direction: column; }
.browser__bar { height: 28px; flex: none; background: #f1eff3; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e1dee4; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d3d0d6; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 8px; flex: 1; height: 16px; border-radius: 6px; background: #fff; font-size: 9.5px; color: #8b8890; display: flex; align-items: center; padding: 0 8px; overflow: hidden; white-space: nowrap; }
.browser__scroll { position: relative; flex: 1; overflow: hidden; background: #fff; }
.browser__scroll img { width: 100%; height: auto; transform: translateY(0); transition: transform var(--dur, 8s) linear; }
.card--web:hover .browser__scroll img, .card--web.autoscroll .browser__scroll img { transform: translateY(var(--shift, 0px)); }

.card__meta { padding: 14px 2px 0; }
.card__client { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.card__title { font-size: clamp(16px, 1.45vw, 20px); font-weight: 900; text-transform: uppercase; line-height: 1.12; margin: 6px 0 8px; letter-spacing: -0.005em; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.card__more svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
.work__more { display: flex; justify-content: center; margin-top: 18px; }
.btn--dark { background: var(--ink-dark); box-shadow: none; }
.btn--dark:hover { background: var(--blue); }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.quotes { padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 9vw, 120px); }
.quotes__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.quotes__brand { min-height: 48px; display: flex; align-items: center; transition: opacity 0.4s; }
.quotes__brand img { height: 46px; width: auto; }
.quotes__brand .wordmark { font-weight: 900; text-transform: uppercase; font-size: 24px; letter-spacing: 0.04em; }
.quotes__icons i:last-child { display: grid; place-items: center; }
.quotes__icons i:last-child img { width: 46px; height: auto; object-fit: contain; filter: invert(1); }
.quotes__icons i:last-child b { color: var(--ink-dark); font-weight: 900; font-size: 18px; }
.quotes__who { display: flex; align-items: center; gap: 16px; text-align: right; }
.quotes__who b { display: block; font-size: 17px; }
.quotes__who span { font-size: 15px; color: var(--muted); }
.quotes__icons { display: flex; }
.quotes__icons i { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; }
.quotes__icons i:first-child { background: var(--blue); z-index: 1; }
.quotes__icons i:first-child svg { width: 26px; height: 26px; }
.quotes__icons i:last-child { background: #fff; margin-left: -10px; overflow: hidden; }
.quotes__line { height: 1px; background: var(--line); margin: 34px 0 40px; max-width: 880px; }
.quote { font-size: clamp(24px, 3.3vw, 48px); max-width: 1040px; min-height: 4.4em; margin: 0; }
.quote .w { display: inline-block; opacity: 0; transform: translateY(0.4em); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.quote.in .w { opacity: 1; transform: none; }
.quotes__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 30px; }
.circle-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.circle-btn:hover { background: #fff; color: var(--ink-dark); border-color: #fff; }
.circle-btn svg { width: 18px; height: 18px; }
.quotes__dots { display: flex; gap: 8px; align-items: center; margin-right: auto; }
.quotes__dots button { width: 26px; height: 3px; border-radius: 3px; background: var(--line); transition: background 0.3s, width 0.4s var(--ease); }
.quotes__dots button.on { background: var(--blue-2); width: 44px; }

/* =========================================================
   FRANJA AZUL (marquesina)
   ========================================================= */
.marquee { display: block; background: var(--blue); overflow: hidden; border-block: 1px solid rgba(255,255,255,0.15); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { margin-right: 0.32em; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; padding: 14px 0; letter-spacing: -0.005em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: clamp(70px, 9vw, 110px) 0 40px; }
.footer__grid { display: grid; gap: 46px; }
.footer__logo { height: 36px; width: auto; margin-bottom: 26px; }
.footer h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.02; margin-bottom: 28px; max-width: 560px; }
.footer h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { color: var(--muted); font-size: 16px; transition: color 0.3s; }
.footer li a:hover { color: #fff; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.footer__bottom { margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.15fr 1.6fr; gap: 60px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   LIGHTBOX y AGENDA
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(8, 7, 9, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  padding: 70px 16px 24px;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink-dark); display: grid; place-items: center; z-index: 3; }
.modal__close svg { width: 18px; height: 18px; }
.modal__nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #fff; }
.modal__nav--prev { left: 14px; } .modal__nav--next { right: 14px; }
@media (max-width: 700px) { .modal__nav { top: auto; bottom: 18px; transform: none; } }
.lb__stage { position: relative; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; transform: scale(0.96); transition: transform 0.5s var(--ease); }
.modal.open .lb__stage { transform: none; }
.lb__media video { height: min(78svh, 860px); width: auto; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; }
.lb__media img.static { max-height: 80svh; width: auto; border-radius: 12px; }
.lb__media .longshot { width: min(620px, 92vw); height: 78svh; overflow-y: auto; border-radius: 14px; background: #fff; overscroll-behavior: contain; }
.lb__media .longshot.wide { width: min(1000px, 92vw); }
.lb__media .longshot img { width: 100%; height: auto; }
.lb__cap { text-align: center; }
.lb__cap b { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-2); }
.lb__cap span { font-weight: 800; text-transform: uppercase; font-size: 17px; }

.booking__box { width: min(980px, 100%); max-height: calc(100svh - 100px); background: #101012; border-radius: 16px; overflow: auto; position: relative; border: 1px solid var(--line); overscroll-behavior: contain; }
.booking__box iframe { width: 100%; height: min(84svh, 760px); border: 0; display: block; }
.booking__box iframe[hidden], .contact[hidden] { display: none; }
.contact { display: grid; gap: 28px; padding: 30px 22px; }
.contact__side img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; border: 2px solid var(--blue); }
.contact__side .eyebrow { margin-bottom: 14px; font-size: 11px; color: #fff; }
.contact__side h3 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.contact__side p { color: var(--muted); font-size: 16px; }
.contact__form { display: grid; gap: 14px; }
.contact__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #e4e2e6; }
.contact__form input, .contact__form select, .contact__form textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: #fff; background: #1a181c; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color 0.3s, background 0.3s;
}
.contact__form textarea { resize: vertical; min-height: 84px; }
.contact__form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--blue-2); background: #1f1d22; }
.contact__form .invalid { border-color: #ff5a5a; }
.contact__form .btn { justify-self: start; margin-top: 4px; }
.contact__msg { margin: 0; font-size: 14px; color: #9fb0ff; min-height: 1em; }
.contact__alt { margin: 0; font-size: 13px; color: var(--muted-2); }
.contact__alt a { color: #fff; text-decoration: underline; }
@media (min-width: 820px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: 44px; padding: 44px; } }

/* Botón flotante de agenda en móvil */
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 50; transform: translateY(140%); transition: transform 0.5s var(--ease); }
.float-cta.show { transform: none; }
@media (min-width: 1000px) { .float-cta { display: none; } }

/* =========================================================
   EQUIPO (Max Quintana: filmmaker, editor y fotógrafo)
   ========================================================= */
.team { padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 110px); position: relative; overflow: hidden; }
.team__grid { display: grid; gap: 26px; margin-top: 6px; }
.team h2 { font-size: clamp(56px, 10vw, 140px); }
.team h2 .outline { --outline-fill: var(--bg); }
.team__role { margin: 20px 0 0; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-2); }
.team__text p { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.7; color: #e2e0e4; }
.team__text .svc__mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (min-width: 900px) { .team__grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; } }
.mq-strip {
  display: flex; align-items: flex-start; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-top: clamp(44px, 6vw, 70px);
  padding: 0 max(16px, calc((100% - 1160px) / 2));
  scroll-padding: 0 max(16px, calc((100% - 1160px) / 2));
}
.mq-strip::-webkit-scrollbar { display: none; }
.mq { flex: none; width: clamp(230px, 26vw, 300px); scroll-snap-align: start; text-align: left; display: flex; flex-direction: column; }
.mq__media { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #1b191d; isolation: isolate; }
.mq__media img, .mq__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.mq:hover .mq__media img, .mq:hover .mq__media video { transform: scale(1.04); }
.mq__tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.92); color: var(--ink-dark); padding: 5px 9px; border-radius: 999px;
}
.mq:hover .card__play { transform: scale(1.12); }
.mq__cap { padding: 14px 2px 0; }
.mq__brand { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-2); }
.mq__title { font-size: clamp(16px, 1.4vw, 19px); font-weight: 900; text-transform: uppercase; line-height: 1.12; margin: 6px 0 4px; }
.mq__credit { font-size: 13px; color: var(--muted-2); }
.mq-nav { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.mq-note { margin-right: auto; font-size: 13px; color: var(--muted-2); }

/* Con 6 links en el menú, entre 1000 y 1279 px se achica un poco para que entre todo */
@media (min-width: 1000px) and (max-width: 1279px) {
  .nav ul { gap: 22px; }
  .nav a { font-size: 13px; }
  .brand span { letter-spacing: 0.22em; }
}
