@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #071225;
  --ink-soft: #17233a;
  --paper: #f6f7f3;
  --white: #fff;
  --blue: #155eef;
  --blue-dark: #0c43b8;
  --yellow: #ffc107;
  --yellow-hover: #ffb020;
  --line: rgba(7, 18, 37, .13);
  --muted: #637087;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
  --container: 1200px;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(7, 18, 37, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(3.25rem, 7vw, 6.9rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(52px, 6.5vw, 92px) 0; }
.section--tight { padding: clamp(36px, 4.5vw, 64px) 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: #aab4c5; }
.eyebrow {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font: 700 .77rem/1 var(--display);
  gap: 10px;
  letter-spacing: .14em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.eyebrow::before { background: currentColor; border-radius: 50%; content: ""; height: 7px; width: 7px; }
.eyebrow--lime { color: var(--yellow); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.35rem); max-width: 680px; }
.section-heading { display: grid; gap: 18px; grid-template-columns: 1.35fr .65fr; margin-bottom: 32px; align-items: end; }
.section-heading p { justify-self: end; max-width: 430px; }
.accent { color: var(--blue); }
.skip-link { background: var(--yellow); left: 20px; padding: 12px 18px; position: fixed; top: -100px; z-index: 1000; }
.skip-link:focus { top: 20px; }

.site-header {
  color: var(--white);
  left: 0;
  padding: 18px 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
}
.site-header.is-scrolled {
  animation: header-in .3s ease both;
  backdrop-filter: blur(18px);
  background: rgba(7, 18, 37, .9);
  position: fixed;
}
@keyframes header-in { from { transform: translateY(-100%); } }
.nav { align-items: center; display: flex; gap: 16px; justify-content: space-between; min-height: 54px; }
.nav-cluster {
  align-items: center;
  display: flex;
  flex: 1;
  gap: clamp(10px, 1.2vw, 20px);
  justify-content: flex-end;
  min-width: 0;
}
.logo { color: var(--white); display: block; flex-shrink: 0; width: 168px; }
.logo img { width: 100%; }
.nav-links { align-items: center; display: flex; flex-shrink: 1; gap: clamp(14px, 1.8vw, 28px); min-width: 0; }
.nav-links a { font: 600 0.88rem/1 var(--display); position: relative; }
.nav-links a:not(.btn):not(.social-links__item)::after {
  background: var(--yellow);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  width: 100%;
}
.nav-links .btn {
  font-size: 0.9rem;
  gap: 12px;
  padding: 17px 24px;
}
.nav-social-item { align-items: center; display: flex; flex-shrink: 0; }
.social-links {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 8px;
}
.social-links[hidden] { display: none !important; }
.social-links__item {
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  box-sizing: border-box;
  color: var(--white);
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  width: 32px;
}
.social-links__item svg,
.social-links__icon {
  display: block;
  flex-shrink: 0;
  height: 16px;
  max-height: 16px;
  max-width: 16px;
  width: 16px;
}
.social-links--footer { margin-top: 16px; }
.social-links--footer .social-links__item {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
  color: var(--white);
  height: 30px;
  width: 30px;
}
.social-links--footer .social-links__item svg,
.social-links--footer .social-links__icon {
  height: 14px;
  max-height: 14px;
  max-width: 14px;
  width: 14px;
}
.social-links__item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-1px);
}
.social-links__item--facebook:hover {
  background: rgba(24, 119, 242, .16);
  border-color: rgba(24, 119, 242, .45);
  color: #8ec5ff;
}
.social-links__item--instagram:hover {
  background: rgba(225, 48, 108, .14);
  border-color: rgba(225, 48, 108, .42);
  color: #ffb3d0;
}
.social-links__item--tiktok:hover {
  background: rgba(0, 242, 234, .1);
  border-color: rgba(0, 242, 234, .35);
  color: #9efaf6;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]:not(.social-links__item)::after { transform: scaleX(1); }
.menu-toggle {
  background: transparent;
  border: 0;
  color: var(--white);
  display: none;
  height: 44px;
  position: relative;
  width: 44px;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  background: currentColor;
  content: "";
  height: 2px;
  left: 9px;
  position: absolute;
  transition: .25s ease;
  width: 26px;
}
.menu-toggle::before { top: 13px; }
.menu-toggle span { top: 21px; }
.menu-toggle::after { top: 29px; }
.menu-toggle[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }

.btn {
  align-items: center;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 99px;
  color: var(--white);
  display: inline-flex;
  font: 700 .9rem/1 var(--display);
  gap: 12px;
  justify-content: center;
  padding: 17px 24px;
  transition: background .25s, color .25s, transform .25s;
}
.btn::after { content: "↗"; font-size: 1.1rem; transition: transform .25s; }
.btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn:hover::after { transform: translate(2px, -2px); }
.btn--lime { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--lime:hover { background: var(--yellow-hover); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline { background: transparent; border-color: rgba(7,18,37,.35); color: var(--ink); }
.btn--outline:hover { background: rgba(7,18,37,.08); color: var(--ink); transform: translateY(-2px); }
.btn--sm { font-size: .82rem; gap: 8px; padding: 13px 20px; }
.btn--sm::after { font-size: 1rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero {
  background-color: var(--ink);
  color: var(--white);
  min-height: 760px;
  overflow: hidden;
  padding: 190px 0 100px;
  position: relative;
}
.hero::before {
  background: radial-gradient(circle, rgba(21,94,239,.22) 0, transparent 65%);
  content: "";
  height: 700px;
  left: -350px;
  position: absolute;
  top: 0;
  width: 700px;
}
.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: .72;
  position: absolute;
  width: 100%;
}
.hero-tizayuca-layer {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: flex-end;
  padding: 8% 5% 8% 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.hero-tizayuca-layer img {
  filter: drop-shadow(0 24px 60px rgba(21, 94, 239, .32));
  max-width: min(58vw, 680px);
  opacity: .98;
  transform: translateX(4%);
  width: 100%;
}
.hero:not(.hero--tizayuca) .hero-tizayuca-layer { display: none; }
.hero::after {
  background: linear-gradient(90deg, var(--ink) 3%, rgba(7,18,37,.9) 34%, rgba(7,18,37,.2) 72%);
  content: "";
  inset: 0;
  position: absolute;
}
.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 28px; }
.hero h1 span { color: var(--yellow); display: block; }
.hero .lead { color: #c4ccda; margin-bottom: 38px; max-width: 650px; }
.hero-sublead { color: #aab4c5; font-size: 1rem; line-height: 1.7; margin-bottom: 34px; max-width: 620px; }
.hero--v2 .hero-bg { opacity: .88; object-position: center; }
.hero--v2::after { background: linear-gradient(90deg, rgba(7,18,37,.96) 6%, rgba(7,18,37,.82) 38%, rgba(7,18,37,.28) 78%); }
.hero--v2 h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.hero-proof { align-items: center; display: flex; gap: 24px; margin-top: 54px; }
.proof-avatars { display: flex; }
.proof-avatars span {
  align-items: center;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  font-size: .72rem;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  margin-left: -8px;
  width: 38px;
}
.proof-avatars span:first-child { background: var(--yellow); color: var(--ink); margin-left: 0; }
.hero-proof p { color: #aab4c5; font-size: .88rem; line-height: 1.4; max-width: 280px; }
.trust-strip { background: var(--blue); color: var(--white); overflow: hidden; padding: 18px 0; }
.marquee { display: flex; gap: 46px; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { align-items: center; display: flex; font: 700 .78rem/1 var(--display); gap: 46px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee span::after { color: var(--yellow); content: "✦"; font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-card {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 34px;
  position: relative;
  transition: background .3s, color .3s, transform .3s;
}
.service-card:nth-child(3n) { border-right: 1px solid var(--line); }
.service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
.service-card:hover { background: var(--ink); color: var(--white); transform: translateY(-6px); z-index: 2; }
.service-number { color: var(--blue); font: 700 .78rem/1 var(--display); letter-spacing: .1em; }
.service-thumb {
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 24px 0 22px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.service-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  width: 100%;
}
.service-card:hover .service-thumb {
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 18px 40px rgba(7,18,37,.28);
}
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .94rem; }
.service-card:hover p { color: #aab4c5; }

.split { align-items: center; display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr 1fr; }
.media-card { border-radius: var(--radius); overflow: hidden; position: relative; }
.media-card img { aspect-ratio: 16 / 10; max-height: 340px; object-fit: cover; object-position: center 28%; width: 100%; }
.media-card--illustration { background: var(--ink); min-height: 220px; }
.media-card--illustration img { background: var(--ink); object-fit: cover; object-position: center; }
.integrated-360-art { aspect-ratio: 16 / 10; display: block; max-height: 340px; min-height: 200px; width: 100%; }
.integrated-360-art svg { display: block; height: auto; width: 100%; }
.media-card::after { border: 1px solid rgba(255,255,255,.4); border-radius: 18px; content: ""; inset: 16px; pointer-events: none; position: absolute; }
.float-stat {
  background: var(--yellow);
  border-radius: 18px;
  bottom: 28px;
  color: var(--ink);
  left: 28px;
  padding: 20px 24px;
  position: absolute;
  z-index: 1;
}
.float-stat strong { display: block; font: 800 2rem/1 var(--display); }
.float-stat span { font-size: .8rem; font-weight: 700; }
.content-block h2 { margin-bottom: 26px; }
.content-block > p { margin-bottom: 30px; }
.content-block--center { margin: 0 auto; max-width: 720px; text-align: center; }
.check-list { display: grid; gap: 15px; margin: 30px 0 36px; }
.check-list li { align-items: center; display: flex; font-weight: 600; gap: 12px; }
.check-list li::before {
  align-items: center;
  background: var(--yellow);
  border-radius: 50%;
  content: "✓";
  display: inline-flex;
  flex: 0 0 24px;
  font-size: .75rem;
  height: 24px;
  justify-content: center;
}

.process-grid {
  counter-reset: step;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.process-step:hover {
  border-color: rgba(21, 94, 239, .28);
  box-shadow: 0 20px 44px rgba(7, 18, 37, .1);
  transform: translateY(-5px);
}
.process-visual {
  align-items: center;
  background: linear-gradient(160deg, #eef3ff 0%, #f8f7f3 100%);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  min-height: 112px;
  padding: 28px 24px 24px;
  position: relative;
}
.process-visual::before {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  content: "0" counter(step);
  counter-increment: step;
  display: inline-flex;
  font: 800 .68rem/1 var(--display);
  height: 32px;
  justify-content: center;
  left: 20px;
  letter-spacing: .08em;
  position: absolute;
  top: 18px;
  width: 32px;
}
.process-visual img { display: block; height: 64px; width: auto; }
.process-body { display: grid; gap: 10px; padding: 22px 24px 26px; }
.process-label {
  color: var(--ink);
  font: 800 1.05rem/1.25 var(--display);
  letter-spacing: -.01em;
}
.process-body > p:not(.process-label) { color: var(--muted); font-size: .95rem; line-height: 1.65; }

.process-step:not(:has(.process-visual)) { padding: 24px; }
.process-step:not(:has(.process-visual))::before {
  color: var(--blue);
  content: "0" counter(step);
  counter-increment: step;
  display: block;
  font: 700 .8rem/1 var(--display);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.process-step:not(:has(.process-visual)) h3 { color: var(--ink); margin-bottom: 10px; }
.process-step:not(:has(.process-visual)) > p { color: var(--muted); font-size: .94rem; line-height: 1.65; }

.section--dark .process-grid { gap: 28px; }
.section--dark .process-step {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(255,255,255,.17);
  box-shadow: none;
  transform: none;
}
.section--dark .process-step:has(.process-visual) {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.section--dark .process-step:hover {
  border-color: rgba(255,255,255,.17);
  box-shadow: none;
  transform: none;
}
.section--dark .process-step:has(.process-visual):hover {
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  transform: translateY(-4px);
}
.section--dark .process-visual {
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.section--dark .process-visual::before { background: var(--yellow); color: var(--ink); }
.section--dark .process-label { color: var(--white); }
.section--dark .process-body > p:not(.process-label) { color: #aab4c5; }
.section--dark .process-step:not(:has(.process-visual)) { padding: 24px 32px 0 0; }
.section--dark .process-step:not(:has(.process-visual))::before {
  color: var(--yellow);
  content: "0" counter(step);
  counter-increment: step;
  display: block;
  font: 700 .8rem/1 var(--display);
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.section--dark .process-step h3 { color: var(--white); margin-bottom: 10px; }
.section--dark .process-step > p { color: #aab4c5; font-size: .94rem; line-height: 1.65; }

.results-grid { display: grid; gap: 22px; grid-template-columns: 1.1fr .9fr .9fr; }
.result-card { background: var(--white); border-radius: var(--radius); min-height: 250px; padding: 32px; }
.result-card:first-child { background: var(--blue); color: var(--white); }
.result-card:first-child p { color: #d4e1ff; }
.result-card:not(:first-child) strong { color: var(--blue); }
.result-card:not(:first-child) p { color: var(--muted); }
.result-card strong { display: block; font: 800 clamp(2.6rem, 5vw, 5rem)/1 var(--display); letter-spacing: -.06em; margin: 48px 0 14px; }

.cta-band {
  background: var(--yellow);
  border-radius: 32px;
  color: var(--ink);
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto;
  padding: clamp(38px, 6vw, 74px);
}
.cta-band h2 { max-width: 800px; }
.cta-band p { color: rgba(7,18,37,.72); font-size: .98rem; line-height: 1.65; margin-top: 12px; max-width: 680px; }
.cta-band .btn { align-self: end; }
.cta-band__actions { align-self: end; flex-direction: column; min-width: 220px; }

.needs-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.need-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 0 0 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.need-card__thumb {
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.need-card__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  width: 100%;
}
.need-card:hover .need-card__thumb img { transform: scale(1.05); }
.need-card__tag,
.need-card h3,
.need-card p,
.need-card__cta { margin-left: 28px; margin-right: 28px; }
.need-card__tag { margin-top: 22px; }
.need-card:hover { border-color: rgba(21,94,239,.28); box-shadow: var(--shadow); transform: translateY(-4px); }
.need-card__tag {
  color: var(--blue);
  font: 700 .72rem/1 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.need-card h3 { font-size: 1.18rem; line-height: 1.35; }
.need-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.need-card__cta { justify-self: start; margin-top: 8px; width: fit-content; }

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
.service-pills li {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #d4deef;
  font-size: .92rem;
  font-weight: 600;
  padding: 12px 18px;
}

.highlight-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.highlight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.highlight-card strong { color: var(--ink); display: block; font: 800 1rem/1.35 var(--display); margin-bottom: 8px; }
.highlight-card p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

.audience-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.audience-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 24px 22px;
}
.audience-card__label { color: var(--yellow); display: block; font: 700 .78rem/1 var(--display); letter-spacing: .1em; margin-bottom: 16px; }
.audience-card h3 { color: var(--white); font-size: 1.05rem; line-height: 1.35; margin-bottom: 10px; }
.moment-grid { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.moment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
}
.moment-card h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 10px; }
.moment-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.section-note {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 28px;
  max-width: 760px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading--center { text-align: center; }
.section-heading--center > div { margin: 0 auto; max-width: 760px; }
.section-heading--center p { margin: 0 auto; max-width: 680px; }

.capabilities-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.capability-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
}
.capability-card h3 { color: var(--blue); font-size: 1.05rem; margin-bottom: 10px; }
.capability-card p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

.portfolio-showcase {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 0;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.portfolio-card:hover {
  border-color: rgba(21,94,239,.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.portfolio-card__media {
  background: linear-gradient(145deg, #0f1d35, #071225);
  display: grid;
  gap: 14px;
  grid-template-columns: 1.4fr .55fr;
  min-height: 240px;
  padding: 18px;
}
.portfolio-card__media--sample { grid-template-columns: 1fr; }
.portfolio-card__shot {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  margin: 0;
  overflow: hidden;
}
.portfolio-card__shot--main img {
  display: block;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}
.portfolio-card__shot--mobile img {
  display: block;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}
.portfolio-card__body {
  display: grid;
  gap: 12px;
  padding: 26px 28px 30px;
}
.portfolio-card__client {
  color: var(--ink);
  font: 800 .95rem/1.2 var(--display);
}
.portfolio-card__sector {
  color: var(--blue);
  font: 700 .72rem/1 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.portfolio-card__body h3 { font-size: 1.2rem; line-height: 1.35; }
.portfolio-card__body > p { color: var(--muted); font-size: .94rem; line-height: 1.65; }
.portfolio-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.portfolio-card__services li {
  background: #eef3ff;
  border-radius: 99px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  padding: 7px 12px;
}
.portfolio-card__note {
  color: var(--muted);
  font-size: .82rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}
.portfolio-card--sample .portfolio-card__media { background: linear-gradient(145deg, #eef3ff, #dbe7ff); }
.portfolio-card--sample .portfolio-card__shot { border-color: rgba(21,94,239,.15); box-shadow: 0 12px 28px rgba(21,94,239,.12); }

.process-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid--four .process-step { min-height: 100%; padding: 28px 24px; }

.page-hero--portfolio::before,
.page-hero--portfolio::after { display: none; }

.device-collage {
  min-height: 380px;
  position: relative;
  width: 100%;
}
.device-collage__desktop,
.device-collage__tablet,
.device-collage__phone {
  background: #0f1d35;
  border: 2px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
  overflow: hidden;
  position: absolute;
}
.device-collage__desktop {
  border-radius: 14px 14px 10px 10px;
  inset: 8% 12% 18% 0;
  z-index: 1;
}
.device-collage__desktop::before {
  background: #1a2740;
  content: "";
  display: block;
  height: 12px;
  width: 100%;
}
.device-collage__tablet {
  border-radius: 14px;
  height: 38%;
  right: 0;
  top: 6%;
  width: 42%;
  z-index: 3;
}
.device-collage__phone {
  border-radius: 22px;
  bottom: 0;
  height: 52%;
  right: 8%;
  width: 24%;
  z-index: 4;
}
.device-collage img {
  display: block;
  height: calc(100% - 12px);
  object-fit: cover;
  object-position: top center;
  width: 100%;
}
.device-collage__tablet img,
.device-collage__phone img { height: 100%; }

.cta-band__micro {
  color: rgba(7,18,37,.62);
  font-size: .84rem;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 620px;
}

.check-list--dark li { color: #d4deef; }
.check-list--dark li::before { background: var(--yellow); color: var(--ink); }

.process-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.process-grid--five .process-step { min-height: 100%; padding: 28px 24px; }
.audience-card p { color: #aab4c5; font-size: .92rem; line-height: 1.65; }

.page-hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 190px 0 100px;
  position: relative;
}
.page-hero::before {
  background: linear-gradient(90deg, var(--ink) 0%, rgba(7,18,37,.94) 37%, rgba(7,18,37,.42) 68%, rgba(7,18,37,.12) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.page-hero::after {
  background: radial-gradient(circle, rgba(21,94,239,.5), transparent 68%);
  content: "";
  height: 650px;
  position: absolute;
  right: -250px;
  top: -280px;
  width: 650px;
  z-index: 1;
}
.page-hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs { color: #8e9aaf; font-size: .82rem; font-weight: 600; margin-bottom: 48px; text-transform: uppercase; }
.breadcrumbs a { color: var(--yellow); }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6.4rem); max-width: 1000px; }
.page-hero p { color: #aab4c5; font-size: 1.15rem; line-height: 1.7; margin-top: 30px; max-width: 720px; }
.page-hero__actions { margin-top: 34px; }

.page-hero--portfolio {
  padding: clamp(118px, 9vw, 148px) 0 clamp(44px, 4vw, 64px);
}
.page-hero--portfolio .split {
  align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.page-hero--portfolio .split > div:first-child { max-width: 540px; }
.page-hero--portfolio .breadcrumbs { margin-bottom: 22px; }
.page-hero--portfolio .eyebrow { margin-bottom: 14px; }
.page-hero--portfolio h1 {
  font-size: clamp(1.95rem, 3.1vw, 2.85rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  max-width: 11.5em;
}
.page-hero--portfolio p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 34rem;
}
.page-hero--portfolio .page-hero__actions { margin-top: 22px; }
.page-hero--portfolio .device-collage {
  min-height: 300px;
  max-width: 520px;
  margin-left: auto;
}

.values-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.values-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.value-card { background: var(--white); border-radius: 20px; padding: 24px; }
.value-graphic {
  align-items: center;
  background: linear-gradient(135deg, #eef3ff 0%, #f8f7f3 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  height: 84px;
  justify-content: center;
  margin-bottom: 16px;
  padding: 10px;
}
.value-graphic img { display: block; height: 54px; width: auto; }
.value-card h3 { color: var(--blue); margin-bottom: 10px; }
.value-card p { color: var(--muted); }

.service-detail { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 36px 56px; grid-template-columns: .72fr 1.28fr; padding: 70px 0; }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail__head { display: grid; gap: 18px; }
.service-detail__media {
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-height: 240px;
  overflow: hidden;
  width: 100%;
}
.service-detail__media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.service-detail h2 { font-size: clamp(1.9rem, 3.2vw, 3.1rem); line-height: 1.08; }
.detail-copy > p { font-size: 1.02rem; line-height: 1.7; margin-bottom: 18px; }
.detail-copy > p:last-of-type { margin-bottom: 28px; }
.detail-lists { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 30px; }
.detail-lists h3 { font: 800 .82rem/1 var(--display); letter-spacing: .1em; margin-bottom: 14px; text-transform: uppercase; }
.detail-lists .check-list { margin: 0; }
.detail-lists .check-list li { font-size: .92rem; font-weight: 500; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: var(--white); border: 1px solid var(--line); border-radius: 99px; font-size: .86rem; font-weight: 600; padding: 10px 15px; }

.portfolio-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.project-card { border-radius: var(--radius); min-height: 460px; overflow: hidden; padding: 34px; position: relative; }
.project-card::before { content: ""; inset: 0; position: absolute; transition: transform .5s ease; }
.project-card:hover::before { transform: scale(1.04); }
.project-card:nth-child(1)::before { background: radial-gradient(circle at 75% 30%, #ffc107 0 10%, transparent 11%), linear-gradient(135deg,#0c43b8,#071225 65%); }
.project-card:nth-child(2)::before { background: radial-gradient(circle at 70% 35%, #ff8a5b 0 13%, transparent 14%), linear-gradient(145deg,#ffe8dc,#be4b20); }
.project-card:nth-child(3)::before { background: linear-gradient(35deg,transparent 45%,rgba(255,255,255,.3) 46% 47%,transparent 48%), linear-gradient(145deg,#2c1760,#8d6cff); }
.project-card:nth-child(4)::before { background: radial-gradient(circle at 68% 32%,#155eef 0 9%,transparent 10%), linear-gradient(140deg,#dff3ff,#74bee7); }
.project-content { display: flex; flex-direction: column; height: 100%; justify-content: space-between; position: relative; z-index: 1; }
.project-tag { align-self: flex-start; backdrop-filter: blur(8px); background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; color: var(--white); font-size: .75rem; font-weight: 700; padding: 8px 13px; }
.project-card h3 { color: var(--white); font-size: clamp(2rem, 4vw, 3.5rem); max-width: 80%; }
.project-card:nth-child(2) h3, .project-card:nth-child(4) h3 { color: var(--ink); }
.project-card:nth-child(2) .project-tag, .project-card:nth-child(4) .project-tag { color: var(--ink); }
.portfolio-grid--featured { gap: 28px; }
.portfolio-grid--featured .project-card { min-height: 620px; padding: 30px; }
.project-card--ricardo::before { background: linear-gradient(145deg, #101010 0%, #050505 100%); }
.project-card--tertulias::before { background: linear-gradient(145deg, #1a150d 0%, #3b2d14 100%); }
.project-card--ricardo h3, .project-card--tertulias h3 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); max-width: 100%; }
.project-card--tertulias h3, .project-card--tertulias .project-client, .project-card--tertulias .project-description { color: #f7e9b8; }
.project-card--tertulias .project-tag { color: #171209; }
.project-copy { display: grid; gap: 12px; }
.project-client { color: rgba(255,255,255,.72); font: 700 .78rem/1.25 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.project-description { color: rgba(255,255,255,.75); font-size: .94rem; line-height: 1.6; max-width: 100%; }
.project-thumb {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: 0 22px 45px rgba(0,0,0,.28);
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}
.project-thumb::after {
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 28%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.project-thumb img {
  display: block;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
  width: 100%;
}
.project-card:hover .project-thumb img { transform: scale(1.03); }
.project-link { align-items: center; color: var(--white); display: inline-flex; font: 700 .9rem/1 var(--display); gap: 9px; margin-top: 18px; }
.project-link span { font-size: 1.2rem; transition: transform .2s ease; }
.project-link:hover span { transform: translate(3px, -3px); }
.project-card--tertulias .project-link { color: #f7e9b8; }

.contact-grid { display: grid; gap: 70px; grid-template-columns: .8fr 1.2fr; }
.contact-details { display: grid; gap: 30px; margin-top: 45px; }
.contact-details div { border-top: 1px solid var(--line); padding-top: 20px; }
.contact-details span { color: var(--muted); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 7px; text-transform: uppercase; }
.contact-details a { font: 700 1.2rem/1.3 var(--display); }
.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 58px); }
.form-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 700; }
.field input, .field select, .field textarea {
  background: #f4f6f8;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  padding: 15px 16px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 0; }
.footer-bottom a { color: var(--yellow); }
.footer-bottom a:hover { text-decoration: underline; }
.form-note a { color: var(--blue); font-weight: 600; }
.field--honeypot {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.field--honeypot input {
  display: block;
  height: 1px;
  opacity: 0;
  width: 1px;
}
.form-status { color: var(--blue); font-weight: 700; margin-top: 16px; min-height: 26px; }

.site-footer { background: var(--ink); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; gap: 50px; grid-template-columns: 1.4fr .55fr .55fr .7fr; }
.footer-brand .logo { margin-bottom: 26px; }
.footer-brand p { color: #aab4c5; max-width: 400px; }
.footer-title { color: #768399; font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 22px; text-transform: uppercase; }
.footer-links { display: grid; gap: 12px; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: #7f8ba0; display: flex; font-size: .82rem; justify-content: space-between; margin-top: 70px; padding-top: 26px; }
.geo-entity { border-top: 1px solid rgba(255,255,255,.1); color: #8f9bb0; font-size: .82rem; grid-column: 1 / -1; line-height: 1.65; margin-top: 10px; padding-top: 28px; }
.geo-entity strong { color: #c5cedb; }
.geo-entity a { color: var(--yellow); }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
}
.faq-item dt { color: var(--ink); font: 800 1.02rem/1.35 var(--display); margin-bottom: 8px; }
.faq-item dd { color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0; }
.faq-item dd ul.faq-services { display: grid; gap: 10px; margin-top: 12px; }
.faq-item dd ul.faq-services li { color: var(--ink); padding-left: 18px; position: relative; }
.faq-item dd ul.faq-services li::before { color: var(--ink); content: "•"; font-weight: 700; left: 0; position: absolute; }
.faq-item dd ul.faq-services li strong { color: var(--ink); font-weight: 700; }
.section--dark .faq-item { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--dark .faq-item dt { color: var(--white); }
.section--dark .faq-item dd { color: #aab4c5; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, .45);
  color: #fff;
  display: flex;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 24px;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  width: 58px;
  z-index: 90;
}
.whatsapp-float::before {
  animation: whatsapp-pulse 2.4s ease-out infinite;
  background: rgba(37, 211, 102, .35);
  border-radius: 50%;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}
.whatsapp-float:hover {
  box-shadow: 0 12px 36px rgba(37, 211, 102, .55);
  transform: scale(1.06);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.whatsapp-float svg {
  fill: currentColor;
  height: 30px;
  width: 30px;
}
.whatsapp-float__label {
  background: var(--ink);
  border-radius: 10px;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  opacity: 0;
  padding: 8px 12px;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 12px);
  transform: translateX(8px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
  opacity: 1;
  transform: none;
}
body.menu-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}
@keyframes whatsapp-pulse {
  0% { opacity: .7; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.55); }
  100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .nav-cluster { display: contents; }
  .nav-links {
    align-items: flex-start;
    background: var(--ink);
    flex-direction: column;
    gap: 22px;
    inset: 0;
    justify-content: flex-start;
    opacity: 0;
    overflow-y: auto;
    padding: calc(env(safe-area-inset-top, 0px) + 92px) 30px calc(env(safe-area-inset-bottom, 0px) + 32px);
    pointer-events: none;
    position: fixed;
    transform: translateY(-15px);
    transition: .3s ease;
    z-index: 101;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { font-size: 1.35rem; line-height: 1.2; }
  .nav-links .btn { font-size: 0.95rem; margin-top: 4px; padding: 14px 22px; }
  .nav-social-item { margin-top: 4px; }
  .nav-social-item .social-links { gap: 12px; }
  .section-heading, .split, .service-detail, .contact-grid { grid-template-columns: 1fr; }
  .detail-lists { grid-template-columns: 1fr; }
  .section-heading p { justify-self: start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 0; }
  .service-card:nth-child(2n) { border-right: 1px solid var(--line); }
  .service-card:nth-last-child(-n+3) { border-bottom: 0; }
  .service-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-grid, .values-grid, .results-grid, .needs-grid, .highlight-grid, .process-grid--five, .process-grid--four, .moment-grid, .values-grid--five, .capabilities-grid, .portfolio-showcase { grid-template-columns: 1fr; gap: 16px; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section--dark .process-step { padding-top: 0; }
  .result-card { min-height: auto; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn { justify-self: start; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-links { gap: 18px; padding: calc(env(safe-area-inset-top, 0px) + 88px) 24px calc(env(safe-area-inset-bottom, 0px) + 28px); }
  .nav-links a { font-size: 1.2rem; }
  .portfolio-grid--featured .project-card { min-height: auto; }
  .project-thumb img { height: 180px; }
  .hero { min-height: 720px; padding-top: 160px; }
  .hero::after { background: linear-gradient(90deg, rgba(7,18,37,.98), rgba(7,18,37,.62)); }
  .hero-bg { object-position: 65% center; opacity: .42; }
  .hero-tizayuca-layer { justify-content: center; padding: 44% 8% 0; }
  .hero-tizayuca-layer img { max-width: 92vw; opacity: .68; }
  .hero-proof { align-items: flex-start; flex-direction: column; }
  .services-grid, .portfolio-grid, .footer-grid, .form-grid, .audience-grid, .moment-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(2n), .service-card:nth-child(3n) { border: 1px solid var(--line); }
  .service-card + .service-card { border-top: 0; }
  .service-card { min-height: auto; }
  .project-card { min-height: 380px; }
  .page-hero--portfolio .split { grid-template-columns: 1fr; }
  .page-hero--portfolio .split > div:first-child { max-width: none; }
  .page-hero--portfolio h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); max-width: none; }
  .device-collage { margin: 28px auto 0; max-width: 100%; min-height: 260px; }
  .portfolio-card__media { grid-template-columns: 1fr; min-height: auto; }
  .portfolio-card__shot--mobile { display: none; }
  .page-hero { padding: 160px 0 80px; }
  .page-hero::before { background: linear-gradient(90deg, rgba(7,18,37,.98), rgba(7,18,37,.72)); }
  .page-hero-bg { object-position: 66% center; }
  .field--full { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .button-row .btn { width: 100%; }
  .whatsapp-float { bottom: 18px; height: 54px; right: 18px; width: 54px; }
  .whatsapp-float svg { height: 28px; width: 28px; }
  .whatsapp-float__label { display: none; }
}

.page-hero--plain::after { display: none; }
.legal-document { max-width: 780px; }
.legal-document h2 { font: 800 1.35rem/1.35 var(--display); margin: 2.6rem 0 1rem; }
.legal-document h3 { color: var(--ink); font: 700 1.02rem/1.4 var(--display); margin: 1.4rem 0 .75rem; }
.legal-document p, .legal-document li { color: var(--muted); font-size: .96rem; line-height: 1.72; }
.legal-document ul, .legal-document ol { display: grid; gap: .55rem; margin: .85rem 0 1.1rem 1.35rem; }
.legal-document a { color: var(--blue); font-weight: 600; }
.legal-document a:hover { text-decoration: underline; }
.legal-meta { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: .88rem; margin-bottom: 2rem; padding: 16px 18px; }
.legal-contact { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .whatsapp-float::before { animation: none; }
}
