:root {
  --black: #000;
  --white: #fff;
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --line-dark: #2a2a2a;
  --blue: #1f6bff;
  --green: #3ef08a;
  --gutter: clamp(16px, 8vw, 160px);
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { padding-inline: var(--gutter); max-width: 1920px; margin-inline: auto; }

/* ---------- HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  padding-block: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.logo { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #00c2ff);
  color: #fff; font-size: 12px; letter-spacing: -.04em;
}
.logo__img { height: clamp(26px, 2vw, 34px); width: auto; }
.logo__img--light { display: none; }
.menu-open .header .logo__img--dark { display: none; }
.menu-open .header .logo__img--light { display: block; }
.logo sup { font-size: 9px; font-weight: 600; align-self: flex-start; margin-top: 2px; }

.menu-btn {
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; cursor: pointer; font: 500 13px var(--font-body); color: var(--ink);
  position: relative; z-index: 60;
}
.menu-btn__icon { display: grid; gap: 4px; width: 22px; }
.menu-btn__icon i { display: block; height: 1.5px; background: currentColor; transition: transform .35s, opacity .35s; }
.menu-open .menu-btn { color: #fff; }
.menu-open .menu-btn__icon i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-btn__icon i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn__icon i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .logo { color: #fff; }

.nav {
  position: fixed; inset: 0; z-index: 40;
  background: var(--black); color: #fff;
  display: flex; align-items: center; padding-inline: var(--gutter);
  clip-path: circle(0% at calc(100% - var(--gutter)) 40px);
  transition: clip-path .7s cubic-bezier(.77,0,.18,1);
}
.menu-open .nav { clip-path: circle(150% at calc(100% - var(--gutter)) 40px); }
.nav a {
  display: inline-block; font: 700 clamp(36px, 7vw, 96px)/1.05 var(--font-head); letter-spacing: -.04em;
  transition: color .25s, transform .25s;
}
.nav a:hover { color: var(--green); transform: translateX(12px); }
.nav a.nav__cta {
  position: absolute; right: var(--gutter); top: clamp(100px, 10vw, 180px);
  display: inline-flex; align-items: center; gap: 12px;
  padding: clamp(14px, 1.3vw, 20px) clamp(26px, 2.6vw, 44px); border-radius: 999px;
  background: linear-gradient(90deg, #1f5bff, #2bd9c0 70%, #3ef08a); background-size: 200% 100%;
  color: #fff; font: 600 clamp(16px, 1.3vw, 22px)/1 var(--font-body); letter-spacing: 0;
  transition: background-position .5s, transform .25s, box-shadow .25s;
}
.nav a.nav__cta:hover { color: #fff; background-position: 100% 0; transform: translateY(-3px); }
@media (max-width: 700px) { .nav a.nav__cta { top: auto; bottom: 40px; left: var(--gutter); right: auto; } }

/* ---------- HERO ---------- */
/* máquina de escribir del título: cada letra ocupa su lugar desde el inicio (sin saltos) */
.tw-char { opacity: 0; }
.tw-char.is-on { opacity: 1; }
.tw-caret {
  display: inline-block; width: .06em; height: .8em; margin-right: -.06em; vertical-align: -.02em;
  background: var(--blue); animation: tw-blink .8s steps(1) infinite;
}
@keyframes tw-blink { 50% { opacity: 0; } }
.hero { position: relative; padding-top: clamp(110px, 12.5vw, 250px); overflow: hidden; background: var(--white); }
.kicker { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero__title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(48px, 9.4vw, 180px); line-height: .92; letter-spacing: -.055em;
  color: var(--black);
}
.fan {
  position: relative; height: clamp(300px, 41vw, 800px);
  margin-top: clamp(70px, 9vw, 180px);
  overflow: hidden;
  z-index: 1;
}
.fan__card {
  position: absolute; left: 50%; top: 0;
  width: var(--cw, 280px); aspect-ratio: 542 / 763;
  margin-left: calc(var(--cw, 280px) / -2);
  transform-origin: 50% var(--r, 1400px);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.35);
  will-change: transform;
  background: #eee;
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
/* botón flotante de WhatsApp: fijo abajo al centro mientras se recorre la página */
.hero__cta { position: fixed; left: 50%; bottom: clamp(16px, 2.2vw, 36px); transform: translateX(-50%); z-index: 45; }
.pill-btn.hero__cta { background: #25d366; color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.pill-btn.hero__cta:hover { background: #1ebe5b; }
.menu-open .hero__cta { opacity: 0; pointer-events: none; }
.pill-btn.hero__cta { gap: 12px; padding: clamp(14px, 1.2vw, 20px) clamp(30px, 2.8vw, 48px); font-size: clamp(15px, 1.1vw, 19px); font-weight: 600; white-space: nowrap; }
.hero__cta svg { width: clamp(20px, 1.5vw, 26px); height: auto; }

.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: #fff; border-radius: 999px;
  padding: 10px 20px; font-size: 11px; font-weight: 500;
  transition: transform .25s, background .25s;
}
.pill-btn:hover { background: var(--blue); transform: translateX(-50%) scale(1.05); }

/* ---------- SECTIONS ---------- */
.section { padding-block: clamp(70px, 8vw, 160px); }
.section--dark { background: var(--black); color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 24px; align-items: start; }
.split > * { min-width: 0; }
.label { font-size: clamp(11px, .75vw, 13px); letter-spacing: .14em; text-transform: uppercase; padding-top: 10px; opacity: .7; }
.section__title {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(22px, 2.5vw, 48px); letter-spacing: -.02em; line-height: 1.15;
  margin-bottom: clamp(30px, 3.5vw, 70px);
}

/* Clientes */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, .9vw, 16px); }
.logo-box {
  aspect-ratio: 1.55 / 1; border: 1px solid #3a3a3a; border-radius: 6px; min-width: 0;
  display: flex; align-items: center; justify-content: center; padding: 12% 16%;
  transition: border-color .3s, background .3s, transform .3s;
}
.logo-box img { width: 100%; height: 100%; min-width: 0; object-fit: contain; opacity: .92; transition: opacity .3s, transform .3s; }
.logo-box:hover { border-color: #fff; background: #0f0f0f; transform: translateY(-3px); }
.logo-box:hover img { opacity: 1; transform: scale(1.06); }

/* Proyectos */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 3vw, 60px) clamp(16px, 2.2vw, 40px); }
.project__media {
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg, #eee);
  display: grid; place-items: center;
}
.project__media img { height: 100%; width: 100%; object-fit: cover; object-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project:hover .project__media img { transform: scale(1.06); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { font-size: 12px; color: #444; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; }
.tags + h3 { margin-top: 10px !important; }
.project h3 {
  font: 600 clamp(20px, 1.8vw, 32px)/1.1 var(--font-head); letter-spacing: -.02em;
  margin-top: 16px; transition: color .25s;
}
.project:hover h3 { color: var(--blue); }

/* Servicios */
.services {
  display: flex; border: 1px solid var(--line);
  height: clamp(380px, 33vw, 640px);
}
.service {
  position: relative; flex: 1; border-right: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 46px); overflow: hidden; cursor: pointer;
  transition: flex .6s cubic-bezier(.2,.7,.2,1), background .4s, color .4s;
}
.service:last-child { border-right: 0; }
.service__num {
  position: absolute; left: clamp(18px, 2.4vw, 46px); bottom: clamp(18px, 2.4vw, 46px);
  writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; color: var(--muted);
}
.service__title {
  position: absolute; left: clamp(40px, 4.5vw, 86px); bottom: clamp(18px, 2.4vw, 46px);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 600 clamp(18px, 1.9vw, 36px)/1.05 var(--font-head); letter-spacing: -.02em;
  max-height: 85%;
}
.service__desc {
  position: absolute; right: clamp(18px, 2.4vw, 46px); bottom: clamp(18px, 2.4vw, 46px);
  width: min(320px, 55%); font-size: 14px; line-height: 1.5;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s;
}
.service__icon {
  position: absolute; top: clamp(18px, 2.4vw, 46px); right: clamp(18px, 2.4vw, 46px);
  width: clamp(70px, 7vw, 130px); height: auto; color: var(--ink); opacity: .1;
  transition: opacity .45s, color .45s, transform .6s cubic-bezier(.2,.7,.2,1);
}
.service:hover .service__icon, .service.is-active .service__icon { color: var(--green); opacity: .35; transform: scale(1.08); }
.service:hover, .service.is-active { flex: 2.2; background: var(--black); color: #fff; }
.service:hover .service__desc, .service.is-active .service__desc { opacity: 1; transform: none; transition-delay: .2s; }

/* Cifras / equipo */
#nosotros { overflow: hidden; padding-block: clamp(70px, 6vw, 120px) clamp(90px, 10vw, 200px); }
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 20px); margin-bottom: clamp(8px, 1vw, 20px); }
.stat {
  background: #fff; color: var(--ink); padding: clamp(14px, 1.8vw, 34px);
  aspect-ratio: 1.45 / 1; display: flex; flex-direction: column; justify-content: space-between;
  will-change: transform;
}
.stat__num { font-size: clamp(18px, 2vw, 38px); letter-spacing: -.02em; }
.stat__txt { font-size: clamp(9px, .75vw, 14px); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 20px); }
.team__photo {
  aspect-ratio: 1.1 / 1; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #3ef08a 0%, #1fb6a5 45%, #1f4fff 100%);
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.team__photo:hover img { transform: scale(1.04); }
.team__text {
  background: #fff; color: var(--ink); padding: clamp(18px, 3vw, 60px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(14px, 1.6vw, 28px);
}
.team__text p { font-size: clamp(14px, 1.2vw, 22px); line-height: 1.3; max-width: 460px; }
.team__text span { font-size: clamp(9px, .7vw, 13px); }

/* Showcase */
.showcase { padding-block: clamp(60px, 7vw, 140px) clamp(40px, 5vw, 100px); }
.browser {
  position: relative; max-width: 1380px; margin-inline: auto;
  aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #f1f1f1; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06);
}
.browser__bg {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 38vw/1 var(--font-head); letter-spacing: -.12em; color: transparent;
  -webkit-text-stroke: 2px #d8d8d8;
}
.browser video { position: relative; width: 100%; height: 100%; object-fit: cover; }
.browser__url {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 999px; padding: 12px clamp(40px, 8vw, 150px);
  font-size: clamp(11px, 1vw, 16px); box-shadow: 0 10px 30px rgba(0,0,0,.15);
  transition: transform .3s;
}
.browser__url:hover { transform: translate(-50%, -50%) scale(1.05); }

/* CTA */
.cta { text-align: center; padding: clamp(80px, 9vw, 170px) 16px 0; }
.cta__title {
  font: 800 clamp(30px, 4.2vw, 82px)/1.05 var(--font-head); letter-spacing: -.03em;
  margin-bottom: clamp(26px, 2.5vw, 50px);
}
.gradient-btn {
  display: inline-block; padding: 12px clamp(40px, 5vw, 90px); border-radius: 6px;
  background: linear-gradient(90deg, #1f5bff, #2bd9c0 70%, #3ef08a);
  background-size: 200% 100%; color: #fff; font-size: 13px; font-weight: 500;
  transition: background-position .5s, transform .25s;
}
.gradient-btn:hover { background-position: 100% 0; transform: translateY(-2px); }
.cta__phone { display: block; margin-top: 26px; font-size: 12px; }
.cta__label { margin-top: 14px; font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cta__place { margin-top: 12px; font-size: 11px; }

/* Footer */
.footer { position: relative; overflow: hidden; background: var(--black); color: #fff; padding-top: clamp(110px, 14vw, 280px); padding-bottom: 70px; }
.footer__curve {
  position: absolute; left: -10%; right: -10%; top: -1px; height: clamp(60px, 8vw, 160px);
  background: var(--white); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.footer__inner { position: relative; max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 6vw, 120px); }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(30px, 4vw, 80px); align-items: start;
}
.footer__logo { width: clamp(220px, 16vw, 300px); height: auto; margin-bottom: 30px; }
.footer__brand p { max-width: 380px; font-size: 14px; line-height: 1.3; letter-spacing: .03em; color: #cfcfcf; text-align: justify; }
.footer__col h4 { font: 700 17px var(--font-body); text-transform: uppercase; margin: 8px 0 22px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { font-size: 14px; letter-spacing: .03em; transition: color .2s; }
.footer__col a:hover { color: var(--green); }
.footer__social { display: flex; gap: 14px; align-self: end; }
.footer__social a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--blue); color: var(--blue); transition: background .25s, color .25s;
}
.footer__social svg { width: 22px; height: 22px; }
.footer__social a:hover { background: var(--blue); color: #fff; }
.footer__bottom { margin-top: clamp(60px, 6vw, 110px); padding-top: 26px; border-top: 1px solid #333; }
.footer__bottom p { font-size: 14px; letter-spacing: .03em; color: #9a9a9a; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__social { grid-column: 1 / -1; }
  .footer__social { align-self: start; }
}

/* ---------- PÁGINA DE PROYECTO ---------- */
.page-case .header { background: #fff; }
.case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: clamp(30px, 4.5vw, 80px); align-items: start;
  padding-top: clamp(120px, 12vw, 200px); padding-bottom: clamp(60px, 6vw, 120px);
}
.case__info { position: sticky; top: clamp(100px, 9vw, 140px); }
.case__title {
  font: 500 clamp(40px, 3.6vw, 64px)/1 var(--font-body); letter-spacing: -.03em;
  margin-bottom: clamp(30px, 3vw, 54px);
}
.case__meta div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px;
}
.case__meta div:first-child { padding-top: 0; }
.case__meta div[hidden] { display: none; }
.case__meta dd { font-weight: 600; text-align: right; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.case__tags li { font-size: 14px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.case__desc { margin-top: 22px; font-size: 14px; line-height: 1.55; color: #222; }
.case__back { display: inline-block; margin-top: 30px; font-size: 13px; color: var(--muted); transition: color .2s; }
.case__back:hover { color: var(--ink); }
.case__media { display: grid; gap: clamp(16px, 1.8vw, 32px); }
.case__img { overflow: hidden; background: #f1f1f1; }
.case__img img { width: 100%; height: auto; }
.case__img--contain { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 6% 0; }
.case__img--contain img { width: auto; height: 100%; object-fit: contain; border-radius: 14px; }
.case__tags:empty { display: none; }
.case__web { background: #111; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.case__web-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; background: #1d1d1d; color: #bbb; font-size: 12px; }
.case__web-dots { display: flex; gap: 6px; }
.case__web-dots i { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.case__web-dots i:nth-child(1) { background: #ff5f57; }
.case__web-dots i:nth-child(2) { background: #febc2e; }
.case__web-dots i:nth-child(3) { background: #28c840; }
.case__web-url { flex: 1; text-align: center; background: #2a2a2a; border-radius: 6px; padding: 5px 12px; }
.case__web-open { color: #fff; white-space: nowrap; transition: color .2s; }
.case__web-open:hover { color: var(--green); }
.case__web-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.case__web-view iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; }
.case__web-view--shot img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  transform: translateY(0); transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}
.case__web-view--shot:hover img { transform: translateY(var(--dist, 0)); transition-duration: var(--dur, 8s); transition-timing-function: linear; }
.case__web-view--shot::after {
  content: "Pasa el ratón para recorrer la web"; position: absolute; right: 14px; bottom: 14px;
  background: rgba(0,0,0,.7); color: #fff; font-size: 11px; padding: 6px 12px; border-radius: 999px;
  pointer-events: none; transition: opacity .3s;
}
.case__web-view--shot:hover::after { opacity: 0; }
.case__img--logo { padding: 0; }
.case__img--logo img { width: min(50%, 420px); height: auto; max-height: 50%; border-radius: 0; }
a.logo-box { cursor: pointer; }
.logos--more { margin-top: clamp(8px, .9vw, 16px); }
.logos--more[hidden] { display: none; }
.logo-box--text { flex-direction: column; gap: 6px; padding: 8%; text-align: center; color: #fff; }
.logo-box__name { font: 700 clamp(15px, 1.25vw, 22px)/1.15 var(--font-head); letter-spacing: -.01em; }
.logo-box__url { font-size: 11px; color: #8a8a8a; word-break: break-all; transition: color .3s; }
.logo-box--text:hover .logo-box__url { color: var(--green); }
.more-brands { display: flex; justify-content: center; margin-top: clamp(30px, 3vw, 50px); }
.more-brands__btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: transparent; color: #fff; border: 1px solid #555; border-radius: 999px;
  padding: clamp(14px, 1.2vw, 20px) clamp(30px, 2.8vw, 48px);
  font: 600 clamp(15px, 1.1vw, 19px) var(--font-body); white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.more-brands__btn svg { width: clamp(16px, 1.2vw, 20px); height: auto; }
.more-brands__btn:hover { background: #fff; color: #000; border-color: #fff; }
.more-brands__btn svg { transition: transform .3s; }
.more-brands__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.case-next { padding-block: clamp(30px, 4vw, 80px) clamp(20px, 3vw, 60px); border-top: 1px solid var(--line); }
.case-next__link {
  display: inline-flex; gap: .3em; margin-top: 12px;
  font: 600 clamp(32px, 5vw, 90px)/1 var(--font-head); letter-spacing: -.04em; transition: color .25s;
}
.case-next__link span { transition: transform .3s; }
.case-next__link:hover { color: var(--blue); }
.case-next__link:hover span { transform: translateX(10px); }
a.project { display: block; color: inherit; }

/* ---------- PÁGINA DE CLIENTES ---------- */
.page-clients .header, .page-works .header { background: #fff; }
.works-hero { padding-top: clamp(140px, 12vw, 220px); }
.clients-hero { padding-top: clamp(130px, 11vw, 200px); }
.project--wide { grid-column: 1 / -1; }
.project--wide .project__media { aspect-ratio: 16 / 7.5; }
.project__media--contain { position: relative; }
.project .project__media--contain img {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: 88%; max-width: 92%; object-fit: contain; border-radius: 12px;
}

@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .case__info { position: static; }
}

/* ---------- PÁGINA AGENCIA ---------- */
.page-agency { --ag-gray: #f7f7f5; --ag-dark: #151412; }
.page-agency .header { background: #fff; }
.ag-wrap { max-width: calc(1600px + 48px); margin-inline: auto; padding-inline: 24px; }
.ag-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ag-h1 { font: 600 clamp(44px, 6.2vw, 116px)/.95 var(--font-head); letter-spacing: -.05em; margin-bottom: clamp(30px, 3vw, 56px); }
.ag-h2 { font: 600 clamp(34px, 4.2vw, 80px)/1 var(--font-head); letter-spacing: -.045em; margin-bottom: clamp(24px, 2.5vw, 44px); }
.ag-h3 { font: 400 clamp(24px, 2.5vw, 48px)/1.15 var(--font-body); letter-spacing: -.02em; }

.ag-photo { background: #f2f2f0; overflow: hidden; }
.ag-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ag-hero { padding-top: clamp(120px, 10vw, 170px); padding-bottom: clamp(70px, 7vw, 140px); }
.ag-hero__img { aspect-ratio: 2400 / 900; margin-bottom: clamp(40px, 4vw, 80px); }
.ag-hero__text { max-width: 980px; margin-inline: auto; text-align: center; }
.ag-hero__text .ag-btns { justify-content: center; }
.ag-lead { font-weight: 600; font-size: clamp(18px, 1.55vw, 28px); line-height: 1.3; letter-spacing: -.01em; margin-bottom: 16px; }
.ag-p { font-size: clamp(16px, 1.2vw, 21px); line-height: 1.5; margin-bottom: 16px; }
.ag-small { font-size: clamp(13px, .9vw, 16px); line-height: 1.55; color: var(--muted); margin-bottom: 30px; }
.ag-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ag-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s;
}
.ag-btn--dark { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.ag-btn--dark:hover { background: var(--blue); border-color: var(--blue); }
.ag-btn--line { border: 1px solid #bbb; }
.ag-btn--line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.ag-band { background: var(--ag-gray); padding-block: 40px 50px; }
.ag-nums { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.ag-nums > div { text-align: center; padding: 6px 10px; border-left: 1px solid #cfcdc8; }
.ag-nums > div:last-child { border-right: 1px solid #cfcdc8; }
.ag-num { font: 600 clamp(34px, 3.6vw, 68px)/1 var(--font-head); letter-spacing: -.04em; margin-bottom: 10px; }
.ag-nums > div p:last-child { font-size: clamp(13px, .95vw, 17px); color: #555; }

.ag-purpose { padding-top: clamp(80px, 8vw, 150px); padding-bottom: 50px; }
.ag-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 80px); font-size: clamp(15px, 1.1vw, 19px); line-height: 1.55; color: #333; margin-bottom: clamp(30px, 3vw, 56px); }
.ag-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ag-gallery__col { display: grid; gap: 16px; align-content: start; }
.ag-photo--land { aspect-ratio: 1254 / 813; }
.ag-photo--square { aspect-ratio: 1 / 1; }
.ag-note { background: #f7f7f5; display: flex; align-items: center; padding: clamp(28px, 4vw, 70px) 10%; }
.ag-note p { font-size: clamp(17px, 1.45vw, 26px); line-height: 1.4; color: #333; }

.ag-quote {
  display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: center;
  background: var(--ag-gray); padding: 28px; margin-block: 30px 70px;
}
.ag-quote__img { aspect-ratio: 1.15 / 1; }
.ag-quote blockquote p { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
.ag-quote cite { font-style: normal; font-size: 12px; color: var(--muted); }

.ag-three { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-block: clamp(60px, 6vw, 120px) clamp(80px, 8vw, 150px); }
.ag-three { align-items: start; }
.ag-three > .ag-h3 { will-change: transform; }
.ag-three li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.ag-three li:first-child { padding-top: 0; }
.ag-three h3 { font: 600 clamp(17px, 1.35vw, 24px)/1.2 var(--font-head); margin-bottom: 8px; }
.ag-three p { font-size: clamp(14px, 1.05vw, 18px); line-height: 1.55; color: #444; }

.ag-services { padding-bottom: clamp(80px, 8vw, 150px); }
.ag-services__head { margin-bottom: clamp(30px, 3vw, 56px); }
.ag-services__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.ag-service {
  position: relative; display: flex; flex-direction: column;
  min-height: clamp(260px, 20vw, 360px); padding: clamp(24px, 2.6vw, 48px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; transition: background .45s, color .45s;
}
.ag-service__num { font-size: 12px; color: var(--muted); transition: color .45s; }
.ag-service__icon {
  width: clamp(40px, 3.2vw, 56px); height: auto; margin: clamp(36px, 4vw, 72px) 0 clamp(18px, 1.8vw, 30px);
  color: var(--blue); transition: color .45s, transform .45s;
}
.ag-service h3 { font: 600 clamp(19px, 1.6vw, 28px)/1.15 var(--font-head); letter-spacing: -.02em; margin-bottom: 12px; }
.ag-service p { font-size: clamp(14px, 1.02vw, 17px); line-height: 1.55; color: #555; transition: color .45s; }
.ag-service:hover { background: var(--black); color: #fff; }
.ag-service:hover .ag-service__icon { color: var(--green); transform: translateY(-6px); }
.ag-service:hover p, .ag-service:hover .ag-service__num { color: #bbb; }
@media (max-width: 900px) { .ag-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ag-services__grid { grid-template-columns: 1fr; } .ag-service { min-height: 0; } .ag-service__icon { margin-top: 24px; } }
.ag-marquee { background: var(--ag-gray); padding-block: 30px; overflow: hidden; }
.ag-marquee__row { display: flex; width: max-content; animation: ag-scroll 40s linear infinite; }
.ag-marquee__row--rev { animation-direction: reverse; }
.ag-marquee__row span {
  font: 400 clamp(24px, 2.6vw, 48px)/1.45 var(--font-body); color: #c9c7c2; white-space: nowrap; padding-right: .3em;
  transition: color .3s;
}
.ag-marquee:hover .ag-marquee__row span { color: #9d9b96; }
@keyframes ag-scroll { to { transform: translateX(-50%); } }

.ag-dark { background: var(--ag-dark); color: #fff; }
.ag-awards { padding-block: 70px; }
.ag-awards .ag-label { color: #8a8a8a; }
.ag-awards__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ag-awards__title { font: 700 clamp(44px, 5vw, 76px)/1 var(--font-head); letter-spacing: -.03em; margin-bottom: 50px; }
.ag-awards__num { font: 700 clamp(40px, 4.4vw, 66px)/1 var(--font-head); margin-bottom: 10px; }
.ag-awards__txt { font-size: 13px; color: #aaa; line-height: 1.4; }
.ag-awards__list { padding-top: 20px; }
.ag-awards__list li {
  display: flex; align-items: center; gap: 10px; font-size: 14px; padding-block: 12px;
  border-bottom: 1px solid #2c2b28;
}
.ag-awards__list li::after {
  content: "›"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid #777; font-size: 11px; line-height: 1; color: #bbb;
}

.ag-statement { padding-block: 50px; }
.ag-statement p { max-width: 560px; font: 700 clamp(18px, 1.6vw, 24px)/1.25 var(--font-head); letter-spacing: -.01em; }

.ag-cta { text-align: center; padding-block: 70px 0; background: #fff; color: var(--ink); }
.ag-cta h2 { font: 800 clamp(30px, 4.2vw, 82px)/1.05 var(--font-head); letter-spacing: -.03em; margin-bottom: clamp(26px, 2.5vw, 50px); }
.ag-cta__circle {
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 30px;
  border: 1.5px solid var(--ink); border-radius: 50%; transition: background .25s, color .25s, transform .3s;
}
.ag-cta__circle:hover { background: var(--ink); color: #fff; transform: rotate(45deg); }
.ag-cta__mail { display: inline-block; font-size: clamp(15px, 1.1vw, 19px); font-weight: 600; padding-bottom: 18px; border-bottom: 1px solid #c8a14a; }
.ag-cta__place { margin-top: 18px; font-size: 11px; color: #888; }

.ag-all { padding-block: 40px 60px; }
.ag-all .ag-h3 { margin-bottom: 24px; }
.ag-all__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ag-all__cols li { font-size: 13px; line-height: 1.75; color: #444; }

@media (max-width: 760px) {
  .ag-nums { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .ag-cols, .ag-three, .ag-awards__grid, .ag-all__cols { grid-template-columns: 1fr; }
  .ag-three > .ag-h3 { transform: none !important; }
  .ag-gallery { gap: 10px; }
  .ag-gallery__col { gap: 10px; }
  .ag-quote { grid-template-columns: 1fr; }
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ag-marquee__row { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
/* título del inicio más grande en celular */
@media (max-width: 600px) {
  .hero__title { font-size: 13.5vw; line-height: .95; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 8px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; }
  .services { flex-direction: column; height: auto; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); min-height: 90px; padding: 22px; }
  .service:last-child { border-bottom: 0; }
  .service__num, .service__title { position: static; writing-mode: horizontal-tb; transform: none; }
  .service__title { font-size: 22px; margin-top: 6px; }
  .service__icon { width: 56px; top: 18px; right: 18px; }
  .service__desc { position: static; width: auto; opacity: 1; transform: none; margin-top: 10px; }
  .service:hover, .service.is-active { flex: 1; }
  .browser { aspect-ratio: 4 / 3; }
}

/* ---------- WORDPRESS ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.generic { padding-block: clamp(140px, 12vw, 220px) 80px; }
.generic__content { max-width: 760px; font-size: 17px; line-height: 1.6; }