/* ==========================================================================
   NEW AGE · Estudio de diseño y comunicación visual
   Sitio corporativo — hoja de estilos principal
   Paleta heredada del sitio original:
     #F4F4F4 (fondo) · #313131 (texto) · #F4941E (acento)
     #4B1A63 (púrpura) · #E01B64 (magenta) · #6BA8D8 (azul) · #F8C78B (arena)
   ========================================================================== */

/* ---------- Fuentes locales ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f4f4;
  --paper-2: #ecebee;
  --white: #ffffff;
  --ink: #1a161d;
  --ink-2: #313131;
  --muted: #6f6975;
  --purple: #4b1a63;
  --purple-deep: #2c0f3a;
  --magenta: #e01b64;
  --blue: #6ba8d8;
  --amber: #f4941e;
  --sand: #f8c78b;
  --line: rgba(26, 22, 29, 0.12);
  --line-strong: rgba(26, 22, 29, 0.22);

  --grad-brand: linear-gradient(112deg, #4b1a63 0%, #7a1a63 38%, #e01b64 68%, #f4941e 100%);
  --grad-soft: linear-gradient(135deg, rgba(75, 26, 99, 0.14), rgba(224, 27, 100, 0.1) 45%, rgba(244, 148, 30, 0.14));
  --grad-text: linear-gradient(100deg, #4b1a63 0%, #b0176a 45%, #e01b64 70%, #f4941e 100%);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 86px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  --shadow-sm: 0 2px 10px rgba(26, 22, 29, 0.05);
  --shadow-md: 0 18px 40px -22px rgba(26, 22, 29, 0.28);
  --shadow-lg: 0 40px 80px -40px rgba(43, 15, 58, 0.4);

  --ease: cubic-bezier(0.22, 0.7, 0.22, 1);
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
::selection { background: var(--amber); color: #231a12; }

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

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

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--white { background: var(--white); }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.78); }
.eyebrow--light::before { background: var(--sand); }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.section-title .serif { color: var(--purple); }

.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(34px, 5vw, 56px);
}
.section-head > div { max-width: 640px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: gap 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.text-link:hover { gap: 14px; color: var(--magenta); border-color: var(--magenta); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* Botones */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--amber); --btn-fg: #241a10; }
.btn--accent:hover { background: #ffa733; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--ink:hover { background: var(--purple); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--white); border-color: transparent; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Skip link */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244, 244, 244, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(26, 22, 29, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 6px 18px -8px rgba(75, 26, 99, 0.65);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link[aria-current='page']::after { transform: scaleX(1); }
.nav-link[aria-current='page'] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { padding: 12px 20px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu a.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.mobile-menu a.mobile-link span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.mobile-menu .mobile-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}
.mobile-menu .mobile-foot a:hover { color: var(--magenta); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(28px, 6vw, 76px)) 0 clamp(44px, 6vw, 84px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.hero-bg::before {
  width: 52vw;
  height: 52vw;
  top: -24vw;
  right: -12vw;
  background: radial-gradient(circle at 50% 50%, rgba(224, 27, 100, 0.2), rgba(75, 26, 99, 0.12) 45%, transparent 70%);
}
.hero-bg::after {
  width: 40vw;
  height: 40vw;
  bottom: -22vw;
  left: -14vw;
  background: radial-gradient(circle at 50% 50%, rgba(244, 148, 30, 0.22), rgba(248, 199, 139, 0.12) 50%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
}
.hero-title .serif {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}
.hero-copy {
  max-width: 50ch;
  margin-top: clamp(20px, 2.6vw, 30px);
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.72;
}
.hero-copy strong { color: var(--ink); font-weight: 600; }
.hero-actions { margin-top: clamp(26px, 3.4vw, 38px); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  margin-top: clamp(34px, 5vw, 54px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.stat-value span { color: var(--amber); }
.stat-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Visual del hero */
.hero-visual {
  position: relative;
  width: min(100%, 480px);
  margin-left: auto;
  padding: 18px 18px 0;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -26px -34px -40px 18px;
  z-index: -1;
  border-radius: 260px 260px 46px 46px;
  background: var(--grad-soft);
  filter: blur(6px);
}
.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 240px 240px 28px 28px;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 22, 29, 0.42));
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
}
.hero-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-caption span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.hero-caption .dot-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-badge {
  position: absolute;
  top: 2px;
  left: -22px;
  z-index: 3;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sand);
  box-shadow: var(--shadow-md);
}
.hero-badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero-badge .badge-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
}
.hero-badge .badge-core svg { width: 22px; height: 22px; animation: none; }

.hero-strip {
  position: absolute;
  right: -28px;
  bottom: 54px;
  z-index: 3;
  width: min(280px, 64%);
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease);
}
.hero-strip:hover { transform: rotate(-1deg) translateY(-4px); }
.hero-strip img { width: 100%; border-radius: 10px; aspect-ratio: 16 / 4; object-fit: cover; }
.hero-strip span {
  display: block;
  padding: 8px 6px 4px;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}
.marquee-group span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  white-space: nowrap;
}
.marquee-group i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Estudio ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.about-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.about-figure img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.about-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-figure figcaption b { color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }

.about-text p + p { margin-top: 16px; }
.about-text .lead { max-width: 54ch; }
.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-signature .sg-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--purple);
}
.about-signature .sg-role { color: var(--muted); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }

.pillar-list {
  display: grid;
  gap: 4px;
  margin-top: 30px;
}
.pillar {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.pillar h3 { font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__num {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.service-card__body h3 { font-size: 1.16rem; letter-spacing: -0.025em; }
.service-card__body p { margin-top: 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.62; flex: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card__link svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.service-card:hover .service-card__link { color: var(--magenta); }
.service-card:hover .service-card__link svg { transform: translate(2px, -2px); }

/* ---------- Trabajo destacado ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 250px));
  gap: clamp(14px, 2vw, 22px);
}
.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}
.work-card:first-child { grid-row: span 2; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.6s var(--ease); }
.work-card:hover img { transform: scale(1.04); opacity: 0.86; }
.work-card__logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 18px;
  background: #fff;
  transition: transform 1s var(--ease);
}
.work-card:hover .work-card__logo-grid { transform: scale(1.03); }
.work-card__logo-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
  border-radius: 10px;
  padding: 8px;
}
.work-card__overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 54px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(20, 15, 24, 0.82));
  color: #fff;
}
.work-card__overlay h3 { color: #fff; font-size: 1.12rem; letter-spacing: -0.02em; }
.work-card__overlay div > span { display: block; margin-top: 3px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.work-card__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease);
}
.work-card:hover .work-card__arrow { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: rotate(45deg); }

/* ---------- Voiceover / dark ---------- */
.voice {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--purple-deep);
  color: #fff;
  padding: clamp(34px, 6vw, 72px);
  isolation: isolate;
}
.voice::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 27, 100, 0.5), transparent 62%);
  filter: blur(40px);
  z-index: -1;
}
.voice::after {
  content: '';
  position: absolute;
  inset: auto -20% -50% -10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 148, 30, 0.3), transparent 60%);
  filter: blur(50px);
  z-index: -1;
}
.voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}
.voice h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.voice h2 .serif { color: var(--sand); }
.voice p { color: rgba(255, 255, 255, 0.72); }
.voice .voice-lead { max-width: 48ch; margin-top: 20px; font-size: 1.02rem; }
.voice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.voice .btn-row { margin-top: 30px; }
.voice .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.32); }
.voice .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

.player-card {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.player-show { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; }
.player-show span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.6); font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.player-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(224, 27, 100, 0.18);
  color: #ff9dc0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.player-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }

.equalizer {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 92px;
  padding: 0 2px;
}
.equalizer span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 99px;
  background: linear-gradient(180deg, var(--sand), var(--magenta));
  transform-origin: bottom;
  animation: eq 1.4s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  opacity: 0.9;
}
@keyframes eq { from { transform: scaleY(0.28); } to { transform: scaleY(1); } }

.player-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Proceso ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process-step:hover { background: var(--white); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-step::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.process-step:hover::before { opacity: 1; }
.process-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber);
}
.process-step h3 { margin-top: 18px; font-size: 1.06rem; letter-spacing: -0.02em; }
.process-step p { margin-top: 8px; color: var(--muted); font-size: 0.88rem; line-height: 1.62; }

/* ---------- CTA ---------- */
.cta-band { padding: clamp(20px, 4vw, 40px) 0 clamp(64px, 9vw, 110px); }
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(38px, 7vw, 84px);
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
}
.cta-panel h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.cta-panel h2 .serif { color: #ffe0bd; }
.cta-panel p { max-width: 52ch; margin: 20px auto 0; color: rgba(255, 255, 255, 0.82); }
.cta-panel .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #141116;
  color: rgba(255, 255, 255, 0.68);
  padding: clamp(52px, 7vw, 84px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.45); }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.88rem; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--sand); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.88rem; line-height: 1.5; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--amber); }
.footer-contact a:hover { color: var(--sand); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer-bottom a:hover { color: #fff; }
.footer-wordmark {
  position: absolute;
  left: 50%;
  bottom: -0.36em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 21vw, 17rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); transform: translateY(-3px); }

/* ---------- Page hero (interiores) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(36px, 5vw, 56px);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30vw;
  right: -10vw;
  z-index: -1;
  width: 56vw;
  height: 56vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 27, 100, 0.13), rgba(75, 26, 99, 0.08) 45%, transparent 70%);
  filter: blur(60px);
}
.page-hero__inner { max-width: 900px; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.page-hero h1 .serif { color: var(--purple); }
.page-hero .lead { margin-top: 22px; max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.16rem); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb span { color: var(--ink-2); }

/* ---------- Servicios (detalle) ---------- */
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(36px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.service-row__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.service-row__body .service-num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.service-row__body h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.04em; }
.service-row__body > p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.check-list { display: grid; gap: 10px; margin-top: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.92rem; color: var(--ink-2); }
.check-list svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--magenta); }
.service-row .btn-row { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--magenta); }
.faq-item summary .faq-icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.faq-item summary .faq-icon::before,
.faq-item summary .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.faq-item summary .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .faq-icon { background: var(--amber); border-color: var(--amber); transform: rotate(180deg); }
.faq-item[open] summary .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .faq-body { padding: 0 44px 26px 2px; color: var(--muted); font-size: 0.95rem; max-width: 78ch; }
.faq-item .faq-body p + p { margin-top: 10px; }

/* ---------- Portafolio ---------- */
.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter-btn .count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(26, 22, 29, 0.08);
  font-size: 0.66rem;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn.is-active .count { background: var(--amber); color: var(--ink); }
.portfolio-count { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }

.gallery { columns: 3; column-gap: clamp(14px, 2vw, 22px); }
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(14px, 2vw, 22px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  break-inside: avoid;
  cursor: zoom-in;
  text-align: left;
  opacity: 1;
  transform: translateY(0);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), opacity 0.35s ease;
}
.gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gallery-item img { width: 100%; transition: transform 0.8s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item--logo img { aspect-ratio: 1 / 1; object-fit: contain; padding: 12%; background: #fff; }
.gallery-item--invitacion img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-item--social img { aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-item__cap {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 44px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(20, 15, 24, 0.84));
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-item__cap,
.gallery-item:focus-visible .gallery-item__cap { opacity: 1; transform: none; }
.gallery-item__cap strong { display: block; font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; line-height: 1.25; }
.gallery-item__cap span { display: block; margin-top: 3px; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.gallery-item__zoom {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.gallery-item__zoom svg { width: 13px; height: 13px; }

.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.case__media { overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.case__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.case__body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.case__meta { display: flex; flex-wrap: wrap; gap: 24px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case__meta div { display: flex; flex-direction: column; gap: 3px; }
.case__meta dt { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.case__meta dd { margin: 0; font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: var(--ink); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(18, 14, 22, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1100px, 100%);
  max-height: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: min(76vh, 820px);
  width: auto;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  background: #fff;
}
.lightbox__cap { color: rgba(255, 255, 255, 0.86); text-align: center; }
.lightbox__cap strong { display: block; font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; }
.lightbox__cap span { display: block; margin-top: 2px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.lightbox__btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__close { top: 0; right: 0; transform: translate(40%, -40%); }
.lightbox__close:hover { transform: translate(40%, -40%) rotate(90deg); }
.lightbox__prev { left: 0; top: 50%; transform: translate(-50%, -50%); }
.lightbox__next { right: 0; top: 50%; transform: translate(50%, -50%); }
.lightbox__counter {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-10%, -140%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.contact-panel {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.contact-panel h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.contact-panel > p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }

.contact-methods { display: grid; gap: 12px; margin-top: 26px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}
.contact-method:hover { border-color: var(--amber); background: #fff; transform: translateX(3px); }
.contact-method__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.contact-method__icon svg { width: 17px; height: 17px; }
.contact-method small { display: block; color: var(--muted); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-method strong { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--ink); }

.contact-social { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-social p { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.contact-social .social-row { margin-top: 0; }
.contact-social .social-btn { border-color: var(--line-strong); color: var(--ink); }
.contact-social .social-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--magenta); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23313131' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field input::placeholder,
.field textarea::placeholder { color: #9b95a1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(75, 26, 99, 0.12);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--magenta); }
.field-error { display: none; color: var(--magenta); font-size: 0.74rem; }
.field.has-error .field-error { display: block; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form-note { color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.form-note a { text-decoration: underline; }
.form-status {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(75, 26, 99, 0.2);
  border-radius: var(--r-sm);
  background: rgba(75, 26, 99, 0.06);
  color: var(--purple);
  font-size: 0.9rem;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--line);
}
.info-strip__item { padding: 26px 24px; background: var(--white); }
.info-strip__item small { display: block; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.info-strip__item strong { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: var(--ink); }

/* ---------- Legal ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 { margin-top: 40px; font-size: clamp(1.25rem, 2.2vw, 1.55rem); letter-spacing: -0.02em; }
.legal-body h3 { margin-top: 26px; font-size: 1.02rem; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin-top: 12px; display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.legal-body .legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(75, 26, 99, 0.07);
  color: var(--purple);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(26, 22, 29, 0.55);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: scale(1);
  transition: transform 0.4s var(--ease), opacity 0.4s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--purple); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float span { position: absolute; right: calc(100% + 12px); padding: 7px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 0.72rem; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.wa-float:hover span { opacity: 1; transform: none; }

/* ---------- Animaciones de entrada de página ---------- */
.page-fade { animation: pageIn 0.7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: span 3; }
  .footer-contact ul { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { columns: 2; }
}

@media (max-width: 920px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { margin-inline: auto; width: min(100%, 420px); }
  .hero-badge { left: -8px; width: 92px; height: 92px; }
  .hero-strip { right: -6px; }
  .about-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-card:first-child { grid-row: auto; aspect-ratio: 16 / 11; }
  .work-card { min-height: 240px; }
  .service-row { grid-template-columns: 1fr; gap: 26px; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .service-row__media img { aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 620px) {
  :root { --header-h: 74px; }
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: span 2; }
  .footer-brand { grid-column: span 2; }
  .footer-contact ul { grid-template-columns: 1fr; }
  .hero-visual { padding: 10px 10px 0; }
  .hero-strip { display: none; }
  .hero-caption { left: 24px; right: 24px; bottom: 20px; }
  .hero-stats { gap: 18px 28px; }
  .stat { min-width: 40%; }
  .cta-panel { padding-inline: 24px; }
  .voice { border-radius: 24px; padding-inline: 22px; }
  .player-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .lightbox__prev { left: 4px; }
  .lightbox__next { right: 4px; }
  .lightbox__prev, .lightbox__next { width: 40px; height: 40px; }
  .lightbox__close { top: -8px; right: -4px; transform: none; }
  .lightbox__close:hover { transform: rotate(90deg); }
  .portfolio-toolbar { align-items: flex-start; }
}

@media (hover: none) {
  .gallery-item__cap { opacity: 1; transform: none; background: linear-gradient(180deg, transparent, rgba(20, 15, 24, 0.8)); }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Impresión ---------- */
@media print {
  .site-header, .wa-float, .mobile-menu, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .page-hero { padding: 20px 0; }
}
