/* =========================================================
   Estilos del sitio (Amarelo / Emunah)
   Los colores de marca vienen del panel: --accent, --accent-2,
   --on-accent, --bg y --hero-bg (se definen en layout.php).
   ========================================================= */

:root {
  --surface: #121212;
  --surface-2: #181818;
  --line: #262626;
  --line-2: #333;
  --text: #cacaca;
  --white: #fff;
  --muted: #8f8f8f;
  --muted-2: #555;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 2.5vw, 32px);
  --radius: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);        /* entradas de letras y bloques */
  --ease-intro: cubic-bezier(0, 0, 0, 1);         /* intro del hero (igual que Framer) */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);   /* cosas que se mueven en pantalla */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.center { display: flex; justify-content: center; }
.label {
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.big-title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(56px, 10.5vw, 180px);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--text);
}
.empty { color: var(--muted); padding: 40px 0 120px; }

/* ---------- Botones ---------- */
.btn, .pill {
  --b: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--b);
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s;
}
.btn:active, .pill:active { transform: scale(.97); }
.btn-roll { display: inline-grid; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.btn-roll > span { grid-area: 1 / 1; transition: transform .45s var(--ease); }
.btn-roll > span + span { transform: translateY(110%); }
.btn:hover .btn-roll > span:first-child, .pill:hover .btn-roll > span:first-child { transform: translateY(-110%); }
.btn:hover .btn-roll > span + span, .pill:hover .btn-roll > span + span { transform: translateY(0); }
.ico-arrow { flex: none; transition: transform .35s var(--ease); }
.btn:hover .ico-arrow, .pill:hover .ico-arrow { transform: translate(2px, -2px); }

.btn-outline { color: var(--accent); --b: color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); --b: var(--accent); }
.btn-accent { background: var(--accent); color: var(--on-accent); --b: var(--accent); }
.btn-accent:hover { background: var(--white); color: #0a0a0a; --b: var(--white); }
.btn-dark { background: #0a0a0a; color: var(--accent); --b: #0a0a0a; }
.btn-dark:hover { background: var(--white); color: #0a0a0a; }
.btn-big { font-size: clamp(15px, 1.4vw, 20px); padding: 20px 34px; border-radius: 14px; }
.btn-wide { width: 100%; }
.btn-small { padding: 11px 20px; font-size: 12px; }
.link-accent { color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.link-accent:hover { text-decoration: underline; }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--gutter);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar-logo { width: 44px; height: 44px; border-radius: 50%; background: #0a0a0a; display: grid; place-items: center; }
.topbar-logo img { width: 30px; height: 30px; object-fit: contain; }
.topbar-status { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.25; color: var(--white); background: #0a0a0a; padding: 7px 14px 7px 12px; border-radius: 999px; }
.topbar-status small { display: block; color: #bbb; text-transform: uppercase; font-size: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #47c554; margin-top: 4px; box-shadow: 0 0 0 0 #47c55488; animation: pulse 2s infinite; }
.dot-red { background: #ff4925; box-shadow: none; animation: none; margin-top: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px #47c55400; } 100% { box-shadow: 0 0 0 0 #47c55400; } }
.topbar-actions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.pill { background: #0a0a0a; color: var(--white); --b: #2a2a2a; padding: 10px 18px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.pill .ico-arrow { display: none; }
.pill:hover { background: var(--accent); color: var(--on-accent); --b: var(--accent); }
.burger { width: 40px; height: 40px; border-radius: 50%; background: #0a0a0a; border: 1px solid #2a2a2a; display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease); }
.burger.is-open span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Menú lateral ---------- */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu[hidden] { display: none; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s; }
.menu-panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(480px, 100%);
  background: #101010;
  border-left: 1px solid var(--line);
  padding: 14px var(--gutter) 28px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .55s var(--ease);
  overflow-y: auto;
}
.menu.is-open .menu-backdrop { opacity: 1; }
.menu.is-open .menu-panel { transform: none; }
.menu-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.menu-close { margin-left: auto; }
.menu-links { margin-top: 40px; }
.menu-links a {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: color .25s, padding .35s var(--ease);
}
.menu-links a:hover { color: var(--accent); padding-left: 10px; }
.menu-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 10px; }
.menu-mail { color: var(--accent); font-size: 22px; word-break: break-all; margin-bottom: 14px; }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.socials a { display: inline-flex; gap: 6px; align-items: center; }
.socials a:hover { color: var(--white); }

/* ---------- Intro (solo en inicio) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--hero-bg);
  display: grid; place-items: center;
  pointer-events: none;
  transition: opacity .5s var(--ease-out) .9s, visibility 0s linear 1.4s;
}
.loader img { width: min(180px, 40vw); opacity: 0; transform: translateY(63px); transition: opacity .8s var(--ease-out) .2s, transform .8s var(--ease-out) .2s; }
.intro-go .loader img { opacity: 1; transform: none; }
.intro-go .loader { opacity: 0; visibility: hidden; }
/* Elementos que entran escalonados: --d es el retraso (2.1 s, 2.3 s…), como en Framer */
.has-intro.js .intro { opacity: 0; transform: scale(.9); }
.has-intro.js .intro-logos { transform: translate(11px, -16px) scale(.9); }
.has-intro.js .intro-btn { transform: translate(-72px, -18px) scale(.8); transform-origin: right bottom; }
.has-intro.js .intro-soft { transform: scale(.95); }
.has-intro.js .intro-media { opacity: 0; transform: scale(.9); }
.has-intro.js.intro-go .intro { opacity: 1; transform: none; transition: opacity 1s var(--ease-intro) var(--d, 0s), transform 1s var(--ease-intro) var(--d, 0s); }
.has-intro.js.intro-go .intro-soft { transition-duration: 1.4s; }
.has-intro.js.intro-go .intro-media { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.12, .23, 0, 1) .8s, transform .5s cubic-bezier(.12, .23, 0, 1) .8s; }

/* ---------- Hero: queda fijo y el contenido lo tapa ---------- */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--hero-bg); overflow: hidden; transform-origin: center top; will-change: transform, opacity; }
main > :not(.hero) { position: relative; z-index: 1; background: var(--bg); }
.hero-media { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-media > video, .hero-media > img:not(.hero-logo) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-logo { position: relative; width: min(340px, 50vw); z-index: 1; transform: translateY(-6vh); }
.hero-word {
  position: absolute; inset: auto 0 18%; text-align: center;
  font-family: var(--display); text-transform: uppercase;
  font-size: 30vw; line-height: .8; color: rgba(0, 0, 0, .045);
  white-space: nowrap; pointer-events: none;
}
.hero-bottom {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 0 var(--gutter) var(--gutter);
  color: var(--on-accent);
}
.hero-left { max-width: 640px; min-width: 0; }
.hero-title { font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; transform-origin: left bottom; }
.hero-logos { display: flex; align-items: center; gap: 20px; margin-top: 26px; transform-origin: left bottom; }
.hero-logos .label { color: inherit; opacity: .8; flex: none; }
.marquee { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee var(--speed, 30s) linear infinite; will-change: transform; }
.marquee-track img { height: 22px; width: auto; object-fit: contain; filter: brightness(0) invert(var(--logo-invert, 1)); opacity: .9; }
@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }

/* ---------- Encabezado de sección ---------- */
.section-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .label { margin-top: .9em; }
.section-head .btn { margin-left: auto; align-self: flex-end; }

/* ---------- Nosotros: anclado una pantalla mientras se iluminan las palabras ---------- */
.about { height: 200vh; }
.about-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-content: center; }
.about-text { font-size: clamp(28px, 4.4vw, 68px); line-height: 1.05; letter-spacing: -.02em; font-weight: 500; }

/* Palabras que pasan del color de la marca al gris claro (como en Framer) */
.words .w { color: var(--accent); transition: color .35s ease; }
.words .w.lit { color: var(--text); }

/* Títulos grandes: cada letra sube 100 px y aparece, todas juntas */
.big-title .word { display: inline-block; white-space: nowrap; }
.big-title .ch { display: inline-block; }
.js .big-title.split .ch { opacity: 0; transform: translateY(100px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .big-title.split.in .ch { opacity: 1; transform: none; }

/* ---------- Últimos trabajos: columna fija + imágenes con zoom ---------- */
.latest { padding-block: clamp(80px, 10vw, 140px); }
.latest-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.latest-side { position: sticky; top: 120px; height: calc(100vh - 160px); max-height: 680px; display: flex; flex-direction: column; }
.latest-num { display: flex; align-items: flex-end; font-family: var(--display); font-size: clamp(80px, 9vw, 150px); line-height: .9; color: var(--line-2); }
.num-mask { display: block; height: .9em; overflow: hidden; }
.num-strip { display: flex; flex-direction: column; transition: transform .8s var(--ease-in-out); }
.num-strip span { display: block; height: .9em; }
.latest-num i { color: var(--accent); font-style: normal; }
.latest-index { margin-top: 16px; font-size: 13px; color: var(--muted-2); display: grid; gap: 4px; }
.latest-index li { transition: color .3s ease; }
.latest-index li.on { color: var(--text); }
.latest-captions { margin-top: auto; display: grid; }
.latest-caption { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.latest-caption.on { opacity: 1; transform: none; }
.latest-caption h3, .latest-caption-m h3 { font-size: clamp(28px, 3.2vw, 48px); font-weight: 500; letter-spacing: -.02em; color: var(--white); }
.latest-caption p, .latest-caption-m p { margin-top: 8px; font-size: 18px; color: var(--muted); max-width: 32ch; }
.latest-media { display: grid; gap: 15vh; }
.latest-caption-m { display: none; }
.latest-image, .work-card-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.latest-image { height: min(72vh, 680px); }
.latest-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); transform-origin: center; will-change: transform; backface-visibility: hidden; }
.work-card-img img { transition: transform 1.1s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .work-card:hover img { transform: scale(1.04); } }
.view-chip {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .latest-image:hover .view-chip, .work-card:hover .view-chip { opacity: 1; transform: none; } }
@media (hover: none) { .view-chip { opacity: 1; transform: none; } }
.latest .center { margin-top: clamp(48px, 6vw, 80px); }
.latest .btn-wide { max-width: 520px; }

/* ---------- Por qué nosotros ---------- */
.why { position: relative; padding-block: clamp(100px, 12vw, 180px); overflow: hidden; }
.why-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; pointer-events: none; }
.why .wrap { position: relative; }
.why-head { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: start; }
.why-head .big-title { grid-column: 2; }
.why-head .label { margin-top: .9em; }
.why-text { grid-column: 2; max-width: 46ch; font-size: clamp(17px, 1.5vw, 22px); margin-top: 24px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); padding-left: 20px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(44px, 5.5vw, 88px); line-height: 1; color: var(--white); letter-spacing: -.03em; font-weight: 500; }
.stat-num em { font-style: normal; color: var(--accent); }
.stat-label { margin-top: 12px; color: var(--muted); max-width: 22ch; }

/* ---------- Testimonio destacado ---------- */
.highlight { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; padding-block: clamp(80px, 10vw, 150px); }
.quote-mark { font-size: 80px; line-height: .6; color: var(--accent); font-family: Georgia, serif; display: block; height: 40px; }
.highlight-quote { font-size: clamp(28px, 3.8vw, 60px); line-height: 1.08; letter-spacing: -.02em; font-weight: 500; }
.highlight-quote .lit { color: var(--text); }
.highlight-quote .dim { color: var(--muted-2); }
.person { display: flex; gap: 12px; align-items: center; margin-top: 32px; }
.person img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.person strong { display: block; color: var(--white); font-weight: 500; }
.person small { color: var(--muted); }
.highlight-image { border-radius: var(--radius); overflow: hidden; }
.highlight-image img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

/* ---------- Acordeón animado (servicios y preguntas) ---------- */
.acc-head { margin: 0; font: inherit; }
.acc-btn { width: 100%; text-align: left; cursor: pointer; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-in-out); }
.acc.open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { min-height: 0; overflow: hidden; }
.acc-inner > * { opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .5s var(--ease-out); }
.acc.open .acc-inner > * { opacity: 1; transform: none; transition-delay: .15s; }
.plus { width: 18px; height: 18px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--accent); transition: transform .45s var(--ease-in-out); }
.plus::after { transform: rotate(90deg); }
.acc.open .plus::after { transform: rotate(0); }
.acc.open .plus::before { transform: rotate(180deg); }

/* ---------- Servicios ---------- */
.services { padding-block: clamp(80px, 10vw, 140px); }
.service-list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); transition: background .3s ease; }
@media (hover: hover) and (pointer: fine) { .service:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); } }
.service .acc-btn { display: grid; grid-template-columns: minmax(48px, 1fr) 2fr auto; align-items: center; padding: 26px 0; gap: 16px; }
.service-num { font-size: 18px; color: var(--muted-2); }
.service-title { font-size: clamp(22px, 2.2vw, 32px); color: var(--text); letter-spacing: -.02em; transform-origin: left center; transition: transform .6s var(--ease-in-out), color .3s ease; display: inline-block; }
.service.open .service-title { transform: scale(1.35); color: var(--white); }
.service-body { margin-left: calc(33.33% + 5px); padding: 0 0 32px; max-width: 56ch; }
.service-body p { font-size: clamp(17px, 1.4vw, 21px); color: var(--white); }
.service-body img { width: 100%; max-width: 300px; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 8px; margin-top: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; }

/* ---------- Proceso: en escritorio se recorre en horizontal ---------- */
.process { padding-block: clamp(80px, 10vw, 140px); }
.process-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: clamp(40px, 5vw, 64px); }
.process-head .label { margin-top: .9em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 24px; min-height: 380px; display: flex; flex-direction: column; border-right: 1px solid var(--line); transition: background .4s ease; }
.step:last-child { border-right: 0; }
@media (hover: hover) and (pointer: fine) { .step:hover { background: var(--surface); } }
.step-num { color: var(--muted); font-size: 18px; }
.step-num i { color: var(--accent); font-style: normal; }
.step h3 { margin-top: auto; font-size: clamp(30px, 3vw, 48px); line-height: 1.02; font-weight: 400; letter-spacing: -.02em; color: var(--white); }
.step p { margin-top: 18px; color: var(--muted); }
@media (min-width: 1025px) {
  .process.hscroll { padding: 0; }
  .process.hscroll .process-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
  .process.hscroll .process-track { display: flex; align-items: stretch; gap: 0; max-width: none; margin: 0; will-change: transform; }
  .process.hscroll .process-head { flex: none; width: max(560px, 42vw); margin: 0; padding-right: 40px; align-self: flex-start; }
  .process.hscroll .steps { display: flex; border-radius: 0; border-width: 0 0 0 1px; overflow: visible; }
  .process.hscroll .step { width: 360px; height: min(76vh, 640px); flex: none; }
}

/* ---------- Testimonios ---------- */
.testimonials { padding-block: clamp(80px, 10vw, 140px); }
.testi-head { display: grid; grid-template-columns: 1fr auto 2.2fr; gap: 24px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.rating p { font-size: 48px; color: var(--white); line-height: 1; }
.rating strong { font-weight: 500; }
.rating .star { color: #ff4925; font-size: 30px; vertical-align: middle; margin-right: 8px; }
.rating small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.testi-title { font-size: clamp(26px, 3.2vw, 50px); line-height: 1.08; letter-spacing: -.02em; font-weight: 500; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.testi { margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 40px; min-height: 340px; }
.testi .person { margin-top: 0; }
.testi blockquote { margin: auto 0 0; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; color: var(--white); }
.testi .q { color: var(--accent); font-family: Georgia, serif; font-size: 40px; line-height: 0; display: block; height: 22px; }

/* ---------- Precios ---------- */
.pricing { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding-block: clamp(80px, 10vw, 140px); }
.pricing-side { display: flex; flex-direction: column; gap: 20px; }
.pricing-side > p { font-size: 18px; color: var(--white); max-width: 26ch; }
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; align-self: flex-start; }
.toggle button { padding: 9px 18px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.toggle button.on { background: var(--surface-2); color: var(--white); }
.toggle em { color: var(--accent); font-style: normal; }
.bespoke { margin-top: auto; display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.bespoke h3 { font-size: 26px; font-weight: 500; color: var(--white); }
.bespoke p { color: var(--muted); font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.plan.popular { border-top: 4px solid var(--accent); }
.plan-head { display: flex; gap: 10px; align-items: baseline; }
.plan-head h3 { font-size: 32px; font-weight: 500; color: var(--white); }
.badge { font-size: 11px; color: var(--accent); }
.plan-desc { color: var(--muted); font-size: 14px; margin-top: 6px; }
.plan-features { margin: 28px 0; display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan-features li { display: flex; gap: 14px; font-size: 17px; }
.plan-features span { color: var(--accent); }
.price { margin-top: auto; font-size: clamp(48px, 5vw, 72px); color: var(--white); letter-spacing: -.03em; line-height: 1; margin-bottom: 24px; }
.price sup { font-size: .4em; vertical-align: top; position: relative; top: .3em; }
.price small { font-size: 16px; color: var(--muted); letter-spacing: 0; }

/* ---------- Preguntas frecuentes ---------- */
.faq { position: relative; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.faq-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.faq-inner { position: relative; display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.faq-side p { margin-top: 20px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; align-content: start; }
.faq-item { background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item .acc-btn { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 24px; font-size: clamp(18px, 1.7vw, 24px); color: var(--white); }
.faq-item .acc-inner p { padding: 0 24px 24px; color: var(--muted); max-width: 70ch; }

/* ---------- Blog ---------- */
.home-blog { padding-block: clamp(80px, 10vw, 140px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.post-grid-home { grid-template-columns: 2fr 1fr 1fr; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.post-card-img { position: relative; overflow: hidden; }
.post-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-big .post-card-img img { aspect-ratio: 16 / 11; }
.chip { position: absolute; top: 14px; left: 14px; background: var(--white); color: #0a0a0a; font-size: 11px; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.post-meta .chip { position: static; }
.post-card-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.date { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.post-card h3 { font-size: 22px; font-weight: 500; color: var(--white); line-height: 1.15; letter-spacing: -.01em; }
.post-card-big h3 { font-size: clamp(24px, 2.4vw, 36px); }
.excerpt { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Trabajemos juntos ---------- */
.cta { padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: end; max-width: 1680px; margin: 0 auto; padding-bottom: clamp(60px, 7vw, 100px); }
.cta-title { position: relative; z-index: 1; font-size: clamp(64px, 11vw, 190px); }
.cta-image { position: absolute; left: 30%; top: -10%; width: 40%; z-index: 0; opacity: .9; pointer-events: none; }
.cta-image img { width: 100%; }
.cta-side { position: relative; z-index: 1; display: grid; gap: 24px; justify-items: start; }
.cta-side p { font-size: clamp(18px, 1.6vw, 24px); color: var(--white); max-width: 30ch; }
.cta-side .btn { width: 100%; padding-block: 18px; }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 24px; padding: 48px var(--gutter); max-width: 1680px; margin: 0 auto; }
.footer-contact { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; align-content: start; }
.footer-mail { color: var(--accent); font-size: clamp(18px, 1.6vw, 24px); word-break: break-word; }
.footer-phone { color: var(--white); font-size: clamp(18px, 1.6vw, 24px); }
.footer-col ul { display: grid; gap: 6px; margin-top: 12px; font-size: 18px; color: var(--white); }
.footer-col a { display: inline-flex; gap: 6px; align-items: center; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-note { display: grid; gap: 16px; align-content: start; justify-items: start; color: var(--muted); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 var(--gutter) 32px; max-width: 1680px; margin: 0 auto; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal a:hover { color: var(--white); }
.footer-band { background: var(--accent); color: var(--on-accent); display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(32px, 5vw, 64px) var(--gutter); }
.footer-band-logo { width: clamp(120px, 18vw, 260px); }
.footer-band-text { font-size: clamp(32px, 5vw, 80px); line-height: .98; letter-spacing: -.03em; font-weight: 500; text-align: right; }

/* ---------- Páginas internas ---------- */
.page-hero { padding-top: clamp(120px, 14vw, 200px); padding-bottom: clamp(32px, 4vw, 60px); }
.page-intro { margin-top: 20px; max-width: 52ch; font-size: 18px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px) 16px; padding-bottom: 40px; }
.work-card h3 { margin-top: 16px; font-size: clamp(22px, 2vw, 30px); font-weight: 500; color: var(--white); }
.work-card p { color: var(--muted); margin-top: 4px; }
.work-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }

.work-head { padding-top: clamp(110px, 12vw, 170px); display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: end; padding-bottom: 32px; }
.work-summary { margin-top: 20px; font-size: clamp(17px, 1.4vw, 21px); color: var(--white); max-width: 52ch; }
.work-meta { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0; font-size: 17px; }
.work-meta dt { color: var(--muted); font-size: 12px; text-transform: uppercase; padding-top: 4px; }
.work-meta dd { margin: 0; color: var(--white); }
.work-cover { border-radius: var(--radius); overflow: hidden; }
.work-cover img { width: 100%; max-height: 90vh; object-fit: cover; }
.work-gallery { display: grid; gap: 16px; margin-top: 16px; }
.work-gallery-2 { grid-template-columns: repeat(2, 1fr); }
.work-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.work-gallery img, .work-gallery video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.work-gallery-1 img { aspect-ratio: 16 / 9; }
.work-wide { margin-block: 16px; border-radius: var(--radius); overflow: hidden; }
.work-wide img, .work-wide video { width: 100%; }
.work-block { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding-block: clamp(48px, 6vw, 96px); }
.work-block h2 { font-size: clamp(32px, 3.6vw, 56px); font-weight: 500; letter-spacing: -.03em; color: var(--white); }
.work-block h2 i { color: var(--accent); font-style: normal; }
.work-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.work-stats strong { display: block; font-size: clamp(40px, 4vw, 64px); color: var(--white); font-weight: 500; letter-spacing: -.03em; }
.work-stats span { color: var(--muted); }
.more-works, .more-posts { padding-block: clamp(60px, 8vw, 120px); }

.prose { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--text); max-width: 60ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { color: var(--white); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin-top: 1.6em; }
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.3em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--white); }
.prose img { border-radius: var(--radius); margin-block: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--white); }

.post { max-width: 900px; padding-top: clamp(110px, 12vw, 170px); }
.post-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; text-transform: uppercase; }
.post-title { margin-top: 20px; font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; color: var(--white); }
.post-excerpt { margin-top: 20px; font-size: 20px; color: var(--muted); }
.post-cover { margin-top: 40px; border-radius: var(--radius); overflow: hidden; }
.post-cover img { width: 100%; }
.post-body { margin-top: 48px; }

.legal { padding-top: clamp(110px, 12vw, 170px); padding-bottom: 80px; display: grid; gap: 24px; }
.legal .big-title { font-size: clamp(48px, 8vw, 120px); }

.notfound { min-height: 80vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 16px; padding-top: 100px; }
.notfound-num { font-family: var(--display); font-size: clamp(120px, 25vw, 320px); line-height: .85; color: var(--accent); }
.notfound h1 { font-size: 32px; color: var(--white); font-weight: 500; }
.notfound p { color: var(--muted); margin-bottom: 16px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.js .wa-float { opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease); }
.js .wa-float.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out) var(--stagger, 0s), transform .9s var(--ease-out) var(--stagger, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .big-title.split .ch, .has-intro.js .intro, .has-intro.js .intro-media { opacity: 1 !important; transform: none !important; }
  .loader { display: none; }
  .latest-image img { transform: none !important; }
  .hero { position: relative; }
  .about { height: auto; }
  .about-sticky { position: static; height: auto; padding-block: 120px; }
  .words .w { color: var(--text); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); padding-bottom: 28px; }
  .stat:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .step { min-height: 300px; }
  .pricing, .faq-inner { grid-template-columns: 1fr; }
  .bespoke { margin-top: 12px; }
  .testi-head { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-grid-home { grid-template-columns: 1fr 1fr; }
  .post-grid-home .post-card-big { grid-column: 1 / -1; }
}

/* ---------- Móvil ---------- */
@media (max-width: 720px) {
  .topbar { grid-template-columns: auto 1fr; gap: 10px; }
  .topbar-status { display: none; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-right .btn { width: 100%; }
  .hero-logo { width: 62vw; }
  .hero-logos { flex-direction: column; align-items: stretch; gap: 10px; }
  .marquee-track img { height: 18px; }
  .about { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
  .latest-side { display: none; }
  .latest-media { gap: 64px; }
  .latest-image { height: auto; aspect-ratio: 4 / 3; }
  .latest-caption-m { display: block; margin-top: 16px; }
  .latest-num-m { font-family: var(--display); font-size: 56px; line-height: .9; color: var(--line-2); display: block; margin-bottom: 8px; }
  .latest-num-m i { color: var(--accent); font-style: normal; }
  .about-sticky { grid-template-columns: 1fr; align-content: center; }
  .why-head { grid-template-columns: 1fr; }
  .why-head .big-title, .why-text { grid-column: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px 20px 0; }
  .highlight { grid-template-columns: 1fr; }
  .service .acc-btn { grid-template-columns: auto 1fr auto; }
  .service.open .service-title { transform: scale(1.15); }
  .service-body { margin-left: 0; }
  .service-body img { max-width: 100%; aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-top: 1px solid var(--line); min-height: 0; gap: 12px; }
  .step:first-child { border-top: 0; }
  .step h3 { margin-top: 32px; }
  .bespoke { flex-direction: column; align-items: flex-start; }
  .post-grid-home, .post-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-image { left: 20%; width: 70%; top: -5%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; gap: 4px; }
  .footer-contact .label:not(:first-child) { margin-top: 14px; }
  .footer-band { flex-direction: column; align-items: flex-start; }
  .footer-band-text { text-align: left; }
  .work-grid { grid-template-columns: 1fr; }
  .work-head { grid-template-columns: 1fr; }
  .work-gallery-3, .work-gallery-2 { grid-template-columns: 1fr; }
  .work-block { grid-template-columns: 1fr; }
  .section-head .btn { margin-left: 0; }
}
