:root {
  --ink: #111111;
  --paper: #f6f5f2;
  --white: #ffffff;
  --muted: #686864;
  --line: rgba(17, 17, 17, 0.16);
  --container: 1180px;
  --pad: clamp(24px, 4vw, 56px);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Rethink Sans", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

::selection { background: #d82174; color: white; }

.container {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.section { padding: clamp(96px, 12vw, 180px) 0; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin: 0 0 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-family: "Hanken Grotesk", "Rethink Sans", system-ui, sans-serif;
  font-size: clamp(42px, 5.25vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-head {
  display: grid;
  grid-template-columns: 1.5fr 0.55fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.section-head__copy {
  margin: 0 0 4px;
  max-width: 390px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.section-head--light .section-head__copy { color: rgba(255,255,255,.6); }

/* Navegación */
.nav {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  padding: 26px 0;
  transition: padding 260ms ease, background 260ms ease, border-color 260ms ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled,
.nav.menu-active {
  padding: 14px 0;
  background: rgba(246, 245, 242, 0.86);
  border-color: rgba(17,17,17,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav.menu-active {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav__row { display: flex; align-items: center; min-height: 42px; }

.nav__logo { position: relative; z-index: 2; }
.nav__logo img { width: auto; height: 26px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  margin-left: auto;
}

.nav__links > a:not(.btn) {
  position: relative;
  font-size: 15px;
}

.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.nav__links > a:not(.btn):hover::after,
.nav__links > a:not(.btn):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav__toggle > span:not(.sr-only) {
  position: absolute;
  left: 9px;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 240ms ease, top 240ms ease;
}

.nav__toggle > span:nth-child(2) { top: 17px; }
.nav__toggle > span:nth-child(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] > span:nth-child(2) { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] > span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Botones */
@property --reveal {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  --reveal: 0%;
  transition: --reveal 900ms cubic-bezier(.4,0,.3,1), transform 240ms ease;
}

.btn:hover,
.btn:focus-visible {
  --reveal: 108%;
  transform: translateY(-2px);
  transition-duration: 1300ms, 240ms;
  transition-timing-function: cubic-bezier(.12,.72,.24,1), ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  mask-image:
    radial-gradient(78% 300% at 50% 52%, #000 calc(var(--reveal) - 16%), transparent var(--reveal)),
    radial-gradient(70% 260% at 22% 18%, #000 calc(var(--reveal) - 44%), transparent calc(var(--reveal) - 12%)),
    radial-gradient(74% 280% at 80% 86%, #000 calc(var(--reveal) - 58%), transparent calc(var(--reveal) - 24%));
  -webkit-mask-image:
    radial-gradient(78% 300% at 50% 52%, #000 calc(var(--reveal) - 16%), transparent var(--reveal)),
    radial-gradient(70% 260% at 22% 18%, #000 calc(var(--reveal) - 44%), transparent calc(var(--reveal) - 12%)),
    radial-gradient(74% 280% at 80% 86%, #000 calc(var(--reveal) - 58%), transparent calc(var(--reveal) - 24%));
}

.btn::before {
  inset: -10% -7%;
  background:
    radial-gradient(31% 190% at 95% 47%, #12c79b 0 26%, transparent 80%),
    radial-gradient(21% 165% at 80% 33%, #0fb3dc 0 14%, transparent 74%),
    radial-gradient(26% 200% at 67% 17%, #3b2ad0 0 22%, transparent 78%),
    radial-gradient(24% 125% at 77% 90%, #ecdcb6 0 14%, transparent 74%),
    radial-gradient(26% 140% at 63% 98%, #f4a658 0 16%, transparent 72%),
    radial-gradient(27% 195% at 50% 39%, #d3227f 0 24%, transparent 78%),
    radial-gradient(40% 220% at 20% 58%, #e33447 0 36%, transparent 86%),
    #d02a44;
  animation: btn-flow 22s ease-in-out infinite alternate;
}

.btn::after {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .42;
}

@keyframes btn-flow {
  from { transform: translate3d(-2%,-1%,0) scale(1.03) rotate(-.4deg); }
  to { transform: translate3d(2%,1%,0) scale(1.09) rotate(.6deg); }
}

.btn--sm { min-height: 42px; padding: 0 23px; font-size: 15px; }
.btn--lg { min-width: 340px; min-height: 76px; padding: 0 42px; font-size: 23px; }

.btn--light {
  min-height: 58px;
  padding: 0 28px;
  background: var(--white);
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(720px, 100svh);
  padding: 150px var(--pad) clamp(74px, 9vh, 110px);
  overflow: hidden;
}

.hero__bg,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__bg { object-fit: cover; }

.hero__veil {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, transparent 34%),
    linear-gradient(0deg, rgba(255,255,255,.18) 0%, transparent 42%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.hero__logo { width: auto; height: 36px; margin-left: 7px; }

.hero__title {
  max-width: 1020px;
  margin: 26px 0 0;
  font-family: "Hanken Grotesk", "Rethink Sans", system-ui, sans-serif;
  font-size: clamp(54px, 5.4vw, 78px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.047em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-top: 36px;
}

.hero__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 34px;
  background: var(--ink);
  transform-origin: top;
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.25); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Declaración */
.statement { background: var(--paper); }

.statement__grid {
  display: grid;
  grid-template-columns: .45fr 1.55fr;
  gap: 40px;
}

.statement .display { max-width: 930px; }

.statement__copy {
  max-width: 560px;
  margin: 46px 0 0 auto;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}

/* Servicios */
.services { padding-top: 40px; background: var(--paper); }

.service-list { border-top: 1px solid var(--line); }

.service-card {
  display: grid;
  grid-template-columns: 100px 1fr 150px;
  align-items: center;
  gap: 30px;
  min-height: 260px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.service-card__number {
  align-self: start;
  padding-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.service-card__body h3 {
  margin: 0;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -.04em;
}

.service-card__body p {
  max-width: 550px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.service-card__symbol {
  justify-self: end;
  font-size: 108px;
  font-weight: 400;
  line-height: 1;
}

.service-card__symbol--ring {
  width: 104px;
  height: 104px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 20px 0 0 #ff5678, inset -20px 0 0 #42cdd4;
}

.service-card__symbol--grid {
  width: 102px;
  height: 102px;
  background:
    linear-gradient(90deg, transparent 48%, var(--ink) 49% 51%, transparent 52%),
    linear-gradient(transparent 48%, var(--ink) 49% 51%, transparent 52%);
  transform: rotate(45deg);
}

/* Proyectos */
.work { background: var(--ink); color: var(--white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 24px;
}

.project:last-child { grid-column: 1 / -1; }

.project__visual {
  position: relative;
  height: min(37vw, 430px);
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1d1d1d;
}

.project:last-child .project__visual { height: min(44vw, 520px); }

.project__meta { padding: 24px 4px 0; }
.project__meta p { margin: 0 0 16px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.project__meta h3 { margin: 0; font-family: "Hanken Grotesk", sans-serif; font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.project__meta > span { display: block; margin-top: 7px; color: rgba(255,255,255,.52); }

.project--sales .project__visual {
  background: linear-gradient(145deg, #dbe4ff, #f3d1e0 48%, #f6a779);
}

.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb--one { width: 70%; aspect-ratio: 1; top: -20%; right: -18%; background: radial-gradient(circle at 36% 35%, #fff 0 4%, #7ed5ee 24%, #5659d1 48%, #d72f7b 74%, transparent 75%); opacity: .84; }
.orb--two { width: 50%; aspect-ratio: 1; bottom: -22%; left: -8%; background: radial-gradient(circle at 60% 40%, #f9e5ac, #f65f68 46%, #bf2569 70%, transparent 71%); }

.project__ui {
  position: absolute;
  top: 15%;
  left: 13%;
  width: 64%;
  height: 70%;
  padding: 9%;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 18px;
  background: rgba(255,255,255,.2);
  box-shadow: 0 30px 80px rgba(73,29,87,.2);
  backdrop-filter: blur(18px);
  transform: rotate(-5deg);
}

.project__ui span { display: block; height: 9px; margin: 0 0 14%; border-radius: 99px; background: rgba(17,17,17,.75); }
.project__ui span:nth-child(1) { width: 24%; height: 22px; }
.project__ui span:nth-child(2) { width: 80%; }
.project__ui span:nth-child(3) { width: 66%; }
.project__ui span:nth-child(4) { width: 45%; background: rgba(255,255,255,.8); }

.project--ops .project__visual {
  background: radial-gradient(circle at 50% 50%, #1d2347 0, #101221 36%, #08090c 75%);
}

.flow {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(86,216,235,.55);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 35px rgba(72,146,255,.12);
}

.flow--a { width: 75%; aspect-ratio: 1; animation: orbit 16s linear infinite; }
.flow--b { width: 54%; aspect-ratio: 1; border-color: rgba(216,53,128,.72); animation: orbit 11s linear reverse infinite; }
.flow--c { width: 32%; aspect-ratio: 1; border-color: rgba(239,177,78,.75); }

.flow::before,
.flow::after {
  content: "";
  position: absolute;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 16px white;
}

.flow::before { top: 8%; left: 23%; }
.flow::after { right: 3%; bottom: 31%; }

.flow-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 25px;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 70px rgba(255,255,255,.35);
}

@keyframes orbit { to { transform: translate(-50%,-50%) rotate(360deg); } }

.project--knowledge .project__visual { background: linear-gradient(125deg, #191b1f, #111318 55%, #181423); }

.knowledge-card {
  position: absolute;
  z-index: 2;
  width: 40%;
  height: 54%;
  padding: 8%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
  backdrop-filter: blur(18px);
}

.knowledge-card--one { top: 19%; left: 22%; transform: rotate(-8deg); }
.knowledge-card--two { top: 27%; right: 20%; transform: rotate(9deg); }
.knowledge-card i { display: block; height: 8px; margin-bottom: 16%; border-radius: 99px; background: rgba(255,255,255,.64); }
.knowledge-card i:nth-child(2) { width: 76%; }
.knowledge-card i:nth-child(3) { width: 48%; background: #f3a553; }

.knowledge-glow {
  position: absolute;
  inset: 20% 18%;
  background: conic-gradient(from 40deg, #1d90ad, #5145ce, #c52978, #ea6b50, #1d90ad);
  filter: blur(70px);
  opacity: .76;
}

/* Proceso */
.process { background: #dce8e5; }

.process__grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(70px, 11vw, 150px); }
.process__intro { position: sticky; top: 130px; align-self: start; }
.process__intro .display { font-size: clamp(42px, 4.9vw, 68px); }
.process__intro > p:last-child { max-width: 480px; margin: 34px 0 0; color: #52605e; font-size: 17px; line-height: 1.6; }

.process__steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; border-top: 1px solid rgba(17,17,17,.18); }
.process__steps li { display: grid; grid-template-columns: 56px 1fr; gap: 30px; padding: 34px 0 46px; border-bottom: 1px solid rgba(17,17,17,.18); }
.process__steps li > span { font-size: 12px; color: #60706e; }
.process__steps h3 { margin: 0; font: 500 36px/1 "Hanken Grotesk", sans-serif; letter-spacing: -.035em; }
.process__steps p { max-width: 440px; margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: #52605e; }

/* Nosotros */
.about {
  position: relative;
  min-height: 760px;
  background: #121212;
  color: var(--white);
  overflow: hidden;
}

.about__glow {
  position: absolute;
  width: min(78vw, 1000px);
  aspect-ratio: 1.7;
  left: -11%;
  bottom: -33%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 60% 44%, rgba(255,220,174,.9), transparent 14%),
    radial-gradient(circle at 46% 50%, #dd396e, transparent 32%),
    radial-gradient(circle at 72% 43%, #274cc8, transparent 42%),
    radial-gradient(circle at 28% 60%, #ed6c4d, transparent 50%);
  filter: blur(55px);
  opacity: .8;
}

.about__content { position: relative; z-index: 1; }
.about__content .display { max-width: 1010px; font-size: clamp(48px, 7vw, 94px); }
.about__copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 760px; margin: 64px 0 0 auto; }
.about__copy p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.62); }

/* FAQ */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(60px, 10vw, 140px); }
.faq__intro { align-self: start; position: sticky; top: 130px; }
.faq__intro .display { font-size: clamp(44px, 5vw, 68px); }
.faq__intro > p:last-child { max-width: 390px; margin: 32px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 104px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { position: relative; flex: 0 0 auto; width: 26px; height: 26px; }
.accordion summary i::before,
.accordion summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 1px; background: var(--ink); transform: translate(-50%,-50%); transition: transform 220ms ease; }
.accordion summary i::after { transform: translate(-50%,-50%) rotate(90deg); }
.accordion details[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.accordion details p { max-width: 610px; margin: -5px 60px 34px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Contacto */
.contact {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.contact__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 80%, rgba(227,52,71,.65), transparent 20%),
    radial-gradient(circle at 40% 94%, rgba(244,166,88,.55), transparent 18%),
    radial-gradient(circle at 78% 10%, rgba(15,179,220,.28), transparent 22%),
    radial-gradient(circle at 93% 50%, rgba(59,42,208,.38), transparent 26%);
  filter: blur(26px);
  opacity: .65;
}

.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 1fr; gap: clamp(60px, 10vw, 140px); align-items: start; }
.contact__intro .display { font-size: clamp(48px, 6.2vw, 82px); }
.contact__intro > p:last-child { max-width: 460px; margin: 34px 0 0; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.55; }

.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.38);
  font-size: 15px;
}

.contact-form { padding: clamp(28px, 4vw, 50px); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.06); backdrop-filter: blur(20px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: block; margin-bottom: 24px; }
.field--honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field > span { display: block; margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,.66); }
.field small { font-size: inherit; color: rgba(255,255,255,.38); }
.field input,
.field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; outline: 0; padding: 10px 0 14px; background: transparent; color: var(--white); font-size: 17px; resize: vertical; transition: border-color 180ms ease; }
.field input:focus,
.field textarea:focus { border-color: var(--white); }
.contact-form__footer { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 18px; }
.contact-form__footer > p { max-width: 210px; margin: 0; font-size: 11px; line-height: 1.45; color: rgba(255,255,255,.42); }
.contact-form__status.is-success { color: #98efd3; }
.contact-form__status.is-error { color: #ff9ea8; }
.contact-form__status.is-success { display: grid; gap: 12px; }
.contact-form__whatsapp {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(152, 239, 211, .48);
  border-radius: 999px;
  color: #98efd3;
  font-size: 13px;
  line-height: 1.35;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.contact-form__whatsapp:hover {
  background: #98efd3;
  border-color: #98efd3;
  color: #171717;
}
.contact-form .btn:disabled { cursor: wait; opacity: .62; transform: none; }

/* Footer */
.footer { padding: 52px 0 28px; background: var(--paper); }
.footer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 80px; }
.footer__top img { width: auto; height: 45px; }
.footer__top a { display: inline-flex; gap: 12px; align-items: center; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer__bottom p { margin: 0; font-size: 12px; color: var(--muted); }

/* Aparición progresiva */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.75,.25,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav__toggle { display: block; }

  .nav__links {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 100px var(--pad) 60px;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
  }

  .nav__links.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__links > a:not(.btn) { font: 500 clamp(42px, 10vw, 68px)/1 "Hanken Grotesk", sans-serif; letter-spacing: -.04em; }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__contact { margin-top: 24px; }

  .hero { min-height: max(680px, 100svh); padding-bottom: 56px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 26px; }
  .hero__lead br { display: none; }
  .hero__lead { max-width: 470px; }
  .hero__scroll { display: none; }

  .section-head,
  .process__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 52px; }

  .section-head__copy { max-width: 560px; }
  .process__intro,
  .faq__intro { position: static; }
  .about__copy { margin-top: 50px; }
}

@media (max-width: 720px) {
  :root { --pad: 22px; --radius: 20px; }
  .section { padding: 94px 0; }
  .eyebrow { margin-bottom: 22px; }
  .display { font-size: clamp(40px, 12vw, 58px); }

  .nav { padding: 18px 0; }
  .nav.is-scrolled, .nav.menu-active { padding: 10px 0; }
  .nav__logo img { height: 23px; }

  .hero { min-height: max(650px, 100svh); padding: 120px var(--pad) 42px; }
  .hero__bg { object-position: 49% center; }
  .hero__logo { height: 28px; margin-left: 2px; }
  .hero__title { margin-top: 20px; font-size: clamp(44px, 13.8vw, 66px); line-height: .96; }
  .hero__title br { display: none; }
  .hero__actions { margin-top: 28px; }
  .btn--lg { width: 100%; min-width: 0; min-height: 64px; padding-inline: 28px; font-size: 19px; }

  .statement__grid { grid-template-columns: 1fr; gap: 16px; }
  .statement__copy { margin: 30px 0 0; font-size: 17px; }

  .services { padding-top: 20px; }
  .section-head { margin-bottom: 46px; }
  .service-card { grid-template-columns: 44px 1fr; min-height: 0; padding: 38px 0; }
  .service-card__number { padding-top: 5px; }
  .service-card__symbol { display: none; }
  .service-card__body h3 { font-size: 36px; }

  .work-grid { grid-template-columns: 1fr; gap: 46px; }
  .project:last-child { grid-column: auto; }
  .project__visual,
  .project:last-child .project__visual { height: 76vw; min-height: 290px; max-height: 420px; }
  .project__meta h3 { font-size: 27px; }
  .knowledge-card { height: 57%; }

  .process__grid { gap: 54px; }
  .process__steps li { grid-template-columns: 38px 1fr; gap: 18px; }
  .process__steps h3 { font-size: 32px; }

  .about { min-height: 700px; }
  .about__content .display { font-size: clamp(45px, 13vw, 64px); }
  .about__copy { grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
  .about__glow { width: 130vw; left: -40%; bottom: -12%; }

  .accordion summary { min-height: 94px; font-size: 17px; }
  .accordion details p { margin-right: 18px; }

  .contact__intro .display { font-size: clamp(46px, 13vw, 64px); }
  .contact__phone { font-size: 14px; }
  .contact-form { padding: 26px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form__footer { align-items: stretch; flex-direction: column; }
  .contact-form__footer > p { max-width: none; }
  .btn--light { width: 100%; }

  .footer__top { align-items: flex-start; flex-direction: column; gap: 36px; padding-bottom: 58px; }
  .footer__top img { height: 36px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__bg { display: none; }
  .hero { background: url("fondo-neora-poster.jpg") center / cover no-repeat; }
  .js .reveal { opacity: 1; transform: none; }
}
