/* ============================================================
   AURA CREATIVA — sistema de estilos (versión 2D)
   Paleta: marca saturada aprobada — magenta + turquesa protagonistas,
           vino + petróleo de peso/contraste, rosa pálido de apoyo, fondo claro
   Tipografía: Cormorant Garamond (display editorial) + Bricolage Grotesque (cuerpo/UI)
   Motion: Lenis (smooth scroll) + GSAP ScrollTrigger. Todo en 2D: transform/
           opacity/SVG, sin WebGL ni perspectiva 3D falsa.
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Cormorant Garamond — display cálido/editorial de raíz garamond, auto-hosteada.
   Serif caligráfico, femenino y con carácter propio (identidad ya aprobada). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* --- Propiedades registradas (transiciones de color de escena) --- */
@property --glow-c {
  syntax: "<color>";
  inherits: true;
  initial-value: #fe6eab;
}
@property --glow-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 72%;
}
/* Colores animables de las muestras de branding (interpolan suave entre la paleta) */
@property --sc1 {
  syntax: "<color>";
  inherits: false;
  initial-value: #FE6EAB;
}
@property --sc2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #A00735;
}

:root {
  /* Color — marca aprobada (imagen de referencia del cliente):
     rosa + azul + blanco, saturada y con carácter.
     Protagonistas: magenta + turquesa. Peso/contraste: vino + petróleo. */
  --wine:      #A00735;   /* vino/burdeos — acentos fuertes, texto de alto contraste (8:1) */
  --magenta:   #FE6EAB;   /* rosa fuerte/magenta — PRIMARIO de marca */
  --magenta-light: #FF9DC4; /* magenta claro — tintes decorativos */
  --pink-pale: #FFD0CE;   /* rosa pálido — apoyo minoritario (jamás protagonista ni texto) */
  --teal:      #01B6CB;   /* turquesa vibrante — SECUNDARIO de marca */
  --teal-light: #5FDCEC;  /* turquesa claro — tintes decorativos */
  --petrol:    #005E80;   /* azul petróleo — texto/peso/contraste (7:1) */

  --bg: #FFF7F8;                         /* casi blanco, susurro de rosa (fondo claro) */
  --surface: #FFFFFF;                    /* blanco puro (tarjetas, inputs) */
  --surface-2: #FDEEF1;                  /* blush muy suave (paneles) — apoyo, no protagonista */
  --ink: oklch(0.26 0.06 8);             /* casi negro vino (texto de cuerpo) ~17:1 */
  --ink-soft: oklch(0.40 0.08 6);        /* texto secundario (vino medio) ~12:1 */
  --muted: oklch(0.50 0.05 5);           /* texto terciario ~7:1 */
  --primary: var(--magenta);             /* rellenos de CTA, marcas, decoración */
  --primary-hot: oklch(0.66 0.22 358);   /* magenta más profundo para hover */
  --primary-ink: var(--wine);            /* acentos de TEXTO rosados legibles (vino, 8:1) */
  --on-primary: oklch(0.24 0.10 10);     /* casi negro vino sobre el magenta (7:1) */
  --accent: var(--teal);                 /* detalles/decoración turquesa */
  --accent-ink: var(--petrol);           /* acentos de TEXTO azules legibles (petróleo, 7:1) */
  --hairline: oklch(0.26 0.06 8 / 0.16);
  --hairline-soft: oklch(0.26 0.06 8 / 0.08);

  /* Escena activa (JS la actualiza al entrar a cada sección) */
  --glow-c: #fe6eab;
  --glow-x: 72%;
  --scene-c: #fe6eab;
  /* Versión legible del color de escena para texto/marcadores sobre fondo claro:
     mezcla el tinte saturado con la tinta vino hasta que contrasta (~8:1). */
  --scene-ink: color-mix(in oklab, var(--scene-c) 46%, var(--ink));

  /* Tipografía */
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;

  /* Espaciado fluido — más ceñido para quitar el espacio muerto */
  --space-gutter: clamp(1.25rem, 4vw, 4rem);
  --space-section: clamp(3.25rem, 7vh, 5.5rem);

  /* Z-index semántico */
  --z-glow: 1;
  --z-content: 2;
  --z-grain: 4;
  --z-nav: 10;
  --z-menu: 20;
  --z-progress: 30;
}

/* --- Reset mínimo --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--primary); color: var(--on-primary); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.08; }
p { text-wrap: pretty; }

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

/* Scrollbar discreto */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: oklch(0.72 0.16 358); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: oklch(0.60 0.20 359); }

/* ============================================================
   CAPAS FIJAS: glow ambiental, grano, progreso
   ============================================================ */

.glow {
  position: fixed;
  inset: 0;
  z-index: var(--z-glow);
  pointer-events: none;
  /* Aura de marca concentrada: en vez de una neblina rosa que cubre todo (lo que
     leía "pastel"), un halo saturado y más chico junto al motivo, dejando el
     blanco limpio dominar. Menos pastel = más contraste, no más oscuro. */
  background:
    radial-gradient(
      42% 34% at var(--glow-x) 30%,
      color-mix(in oklab, var(--glow-c) 30%, transparent),
      transparent 66%
    ),
    radial-gradient(
      38% 32% at calc(100% - var(--glow-x)) 84%,
      color-mix(in oklab, var(--teal) 16%, transparent),
      transparent 66%
    );
  transition: --glow-c 1.1s ease-out, --glow-x 1.1s ease-out;
}

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply; /* sobre blanco, el grano tiñe apenas en vez de ensuciar */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: var(--z-progress);
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: var(--glow-c);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  transition: background-color 1.1s ease-out;
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem var(--space-gutter);
  transition: background-color 0.4s ease-out, border-color 0.4s ease-out;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: oklch(0.99 0.005 350 / 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hairline-soft);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.28rem;
  letter-spacing: 0;
  margin-right: auto;
}
.nav__mark { color: var(--primary); flex: none; }

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-weight: 550;
  font-size: 0.98rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.25s ease-out;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--glow-c);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 1.1s ease-out;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left center; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Menú móvil */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: oklch(0.985 0.007 350 / 0.97);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-gutter);
  transform: translateY(-102%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}
.menu.is-open { transform: translateY(0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 450;
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  color: var(--ink);
}
.menu__links a:active { color: var(--primary); }
.menu__foot { margin-top: 2.5rem; color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   BOTONES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease-out,
              background-color 0.3s ease-out,
              border-color 0.3s ease-out;
}
.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn--primary:hover {
  background: var(--primary-hot);
  box-shadow: 0 10px 34px color-mix(in oklab, var(--primary) 45%, transparent);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: oklch(0.26 0.06 8 / 0.24);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: oklch(0.26 0.06 8 / 0.4);
  transform: translateY(-2px);
}
.btn--sm { padding: 0.62rem 1.2rem; font-size: 0.92rem; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.08rem; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  z-index: var(--z-content);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7rem var(--space-gutter) 5rem;
  overflow: clip;
}

.hero__motif {
  position: absolute;
  top: 50%;
  right: clamp(-8rem, -3vw, 1rem);
  transform: translateY(-50%);
  width: min(52vw, 700px);
  aspect-ratio: 1;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}
.hero__motif .aura { width: 100%; height: 100%; overflow: visible; }
.aura__glow { animation: aura-pulse 7s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
.aura__core {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 14px 44px color-mix(in oklab, var(--magenta) 62%, transparent));
  animation: aura-pulse 6s ease-in-out infinite;
}
.aura__spark { transform-box: fill-box; transform-origin: 50% 50%; animation: aura-pulse 4.5s ease-in-out infinite; }
/* Ondas del aura que se expanden hacia afuera (alcance de marca) */
.aura__wave {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: aura-wave 4.4s ease-out infinite;
  animation-delay: var(--d);
}
/* Órbita de motas girando alrededor del núcleo */
.aura__orbit { transform-box: fill-box; transform-origin: 50% 50%; animation: aura-spin 34s linear infinite; }
.aura__dot {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: aura-blink 4s ease-in-out infinite;
}
.aura__dot:nth-child(2) { animation-delay: -1.4s; }
.aura__dot:nth-child(3) { animation-delay: -2.6s; }
.aura__dot:nth-child(4) { animation-delay: -3.4s; }
@keyframes aura-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes aura-wave {
  0% { transform: scale(0.7); opacity: 0; }
  14% { opacity: 0.85; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes aura-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes aura-blink {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

.hero__place {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 550;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.hero__place svg { color: var(--primary); }

.hero__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(3.4rem, 11.5vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.98;
  margin-bottom: 1.6rem;
}
.hero__line { display: block; overflow: clip; }
.hero__word { display: inline-block; will-change: transform; }
.hero__line--accent .hero__word {
  color: var(--primary-ink);
  font-style: italic;
  font-weight: 420;
}

.hero__sub {
  max-width: 36rem;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  margin-bottom: 2.4rem;
}
.hero__sub strong { color: var(--primary-ink); font-weight: 650; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
}
.hero__cue-label { font-size: 0.82rem; font-weight: 550; letter-spacing: 0.04em; }
.hero__cue-track {
  width: 26px;
  height: 42px;
  border: 1.5px solid oklch(0.26 0.06 8 / 0.28);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__cue-dot {
  width: 4px;
  height: 9px;
  border-radius: 99px;
  background: var(--primary);
  animation: cue-drop 1.9s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  position: relative;
  z-index: var(--z-content);
  overflow: clip;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  padding: 0.95rem 0;
  background: oklch(0.99 0.006 350 / 0.55);
}
.ticker__row {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 26s linear infinite;
}
.ticker__row span {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.ticker__row i {
  font-style: normal;
  color: var(--primary);
  font-size: 0.85rem;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECCIONES DE SERVICIO
   ============================================================ */

.service {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: auto;
  padding: var(--space-section) var(--space-gutter);
}
.service--right .service__content { order: 2; }

.service__content { position: relative; max-width: 36rem; }

.service__motif {
  position: relative;
  height: clamp(340px, 40vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service__kind {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--scene-ink);
  margin-bottom: 0.9rem;
}
.service__kind::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--scene-ink);
  rotate: 45deg;
  flex: none;
}

.service__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 440;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

.service__body {
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 1.8rem;
}

.service__list { margin-bottom: 2rem; }
.service__list li {
  position: relative;
  padding: 0.62rem 0 0.62rem 1.7rem;
  border-top: 1px solid var(--hairline-soft);
  font-weight: 500;
  color: var(--ink);
}
.service__list li:last-child { border-bottom: 1px solid var(--hairline-soft); }
.service__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.18rem;
  width: 7px;
  height: 7px;
  background: var(--scene-ink);
  rotate: 45deg;
}

.service__go {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: var(--scene-ink);
  border: 1.5px solid color-mix(in oklab, var(--scene-ink) 45%, transparent);
  border-radius: 999px;
  padding: 0.5rem 0.55rem 0.5rem 1.35rem;
  transition: background-color 0.35s ease-out, color 0.35s ease-out,
              border-color 0.35s ease-out, box-shadow 0.35s ease-out;
}
.go-arrow {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--scene-c) 55%, transparent);
  transition: background-color 0.35s ease-out;
}
.go-arrow svg { animation: go-nudge 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes go-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
.service__go:hover,
.service__go:focus-visible {
  background: var(--scene-ink);
  color: oklch(0.99 0.005 350);
  border-color: var(--scene-ink);
  box-shadow: 0 10px 34px color-mix(in oklab, var(--scene-ink) 30%, transparent);
}
.service__go:hover .go-arrow,
.service__go:focus-visible .go-arrow { background: oklch(1 0 0 / 0.28); }

/* ---- Motivo: Branding — abanico de muestras de color ---- */
.swatch-fan { position: relative; width: 100%; height: 100%; }
.swatch {
  position: absolute;
  bottom: 5%;
  left: 50%;
  width: clamp(7rem, 14vw, 11.5rem);
  height: clamp(10rem, 19.5vw, 16rem);
  border-radius: 20px;
  box-shadow: 0 24px 50px oklch(0.26 0.06 8 / 0.20);
  /* Gradiente con dos colores animados: van cambiando suave entre la paleta */
  background: linear-gradient(160deg, var(--sc1), var(--sc2));
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(calc((var(--i) - 2.5) * 11deg)) translateY(calc((2.5 - var(--i)) * -0.5rem));
  animation: swatch-float 6s ease-in-out infinite,
             swatch-hue 24s linear infinite;
  animation-delay: calc(var(--i) * -0.5s), calc(var(--i) * -4s);
}
@keyframes swatch-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.4rem; }
}
/* Recorrido suave por la paleta (magenta → rojo → morado → turquesa → petróleo) */
@keyframes swatch-hue {
  0%, 100% { --sc1: #FE6EAB; --sc2: #A00735; }
  16%      { --sc1: #D01046; --sc2: #6A1B9A; }
  33%      { --sc1: #6A1B9A; --sc2: #01B6CB; }
  50%      { --sc1: #01B6CB; --sc2: #005E80; }
  66%      { --sc1: #5FDCEC; --sc2: #FE6EAB; }
  83%      { --sc1: #FF9DC4; --sc2: #D01046; }
}

/* ---- Motivo: Contenido — galería real (fotos/video del estudio) ---- */
.gallery { position: relative; width: 100%; height: 100%; }
.polaroid {
  position: absolute;
  padding: 0.55rem 0.55rem 1.5rem;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 18px 40px oklch(0.26 0.06 8 / 0.18);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              rotate 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease-out;
  animation: polaroid-float 7s ease-in-out infinite;
}
.polaroid--a { width: 51%; top: 1%; left: 1%; rotate: -7deg; z-index: 3; animation-delay: -0.6s; }
.polaroid--b { width: 47%; top: 27%; right: 0; rotate: 6deg; z-index: 2; animation-delay: -2.4s; }
.polaroid--c { width: 49%; bottom: 1%; left: 20%; rotate: -3deg; z-index: 1; animation-delay: -4.2s; }
/* Turno automático al frente (impacto en móvil; en desktop el hover manda). */
.polaroid.is-front {
  z-index: 6;
  rotate: 0deg;
  transform: scale(1.06);
  box-shadow: 0 26px 60px oklch(0.26 0.06 8 / 0.30);
}
/* El hover siempre gana: cualquier tarjeta, incluso la de atrás, pasa al frente. */
.polaroid:hover {
  z-index: 10;
  rotate: 0deg;
  transform: scale(1.08);
  box-shadow: 0 30px 66px oklch(0.26 0.06 8 / 0.34);
}
@keyframes polaroid-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.5rem; }
}
.polaroid__frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: clip;
  background: var(--surface-2);
}
.polaroid__frame img,
.polaroid__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.polaroid__frame img.is-visible,
.polaroid__frame video.is-visible { opacity: 1; }

/* ---- Motivo: Redes — red social en SVG ----
   Hub rojo→morado, enlaces de distinto grosor visibles por encima, nodos de
   acción (me gusta, comentar, compartir, seguir…) y señales que viajan. */
.network { width: 100%; height: 100%; overflow: visible; }
.network__hub {
  transform-box: fill-box; transform-origin: 50% 50%;
  filter: drop-shadow(0 10px 26px color-mix(in oklab, #6A1B9A 55%, transparent));
  animation: hub-pulse 3.4s ease-in-out infinite;
}
.network__hub-glow { transform-box: fill-box; transform-origin: 50% 50%; animation: hub-pulse 3.4s ease-in-out infinite; }
.network__hub-ring { transform-box: fill-box; transform-origin: 50% 50%; animation: hub-ring 3.4s ease-out infinite; }
.network__link--soft { stroke-dasharray: 3 6; }
.network__node {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: node-pulse 4s ease-in-out infinite;
  animation-delay: var(--d);
}
/* Señales que recorren un enlace = interacción viajando por la red */
.network__signal--1 { animation: signal-1 2.8s ease-in-out infinite; }
.network__signal--2 { animation: signal-2 3.3s ease-in-out infinite 0.7s; }
@keyframes hub-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes hub-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.95); opacity: 0; }
}
@keyframes node-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}
@keyframes signal-1 {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(0px, -128px); opacity: 0; }
}
@keyframes signal-2 {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(-30px, 136px); opacity: 0; }
}

/* ---- Motivo: Marketing — curva de crecimiento (SVG) ---- */
.growth { width: 100%; height: 100%; overflow: visible; }
.growth__area { opacity: 0.9; }
.growth__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.growth__dot {
  fill: var(--wine);
}
/* Pulso que recorre la curva de abajo-izquierda a arriba-derecha, en bucle
   (el recorrido se hace con <animateMotion> SMIL dentro del SVG, que sí sigue
   la ruta en coordenadas del viewBox; en reduced-motion se ocultan abajo). */
.growth__pulse { filter: drop-shadow(0 0 5px #FE2E8C); }

/* ============================================================
   PROCESO
   ============================================================ */

.proceso {
  position: relative;
  z-index: var(--z-content);
  background: oklch(0.955 0.011 350 / 0.92);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  padding: var(--space-section) var(--space-gutter);
}
.proceso__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 450;
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
}
.proceso__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 2.2rem;
  counter-reset: paso;
}
.proceso__step h3 {
  font-size: 1.3rem;
  font-weight: 720;
  margin: 0.7rem 0 0.5rem;
}
.proceso__step p { color: var(--muted); font-size: 0.99rem; max-width: 34ch; }
.proceso__num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--primary-ink);
  color: var(--primary-ink);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ============================================================
   FOTOGRAFÍA (apoyo)
   ============================================================ */

.foto {
  position: relative;
  z-index: var(--z-content);
  padding: var(--space-section) var(--space-gutter);
}
.foto__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 3rem;
}
.foto__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 450;
  letter-spacing: -0.01em;
}
.foto__body { color: var(--ink-soft); max-width: 48ch; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(130px, 17vw, 210px);
  gap: 0.8rem;
}
.tile {
  position: relative;
  border-radius: 16px;
  overflow: clip;
  background: var(--surface-2);
  box-shadow: 0 10px 30px oklch(0.26 0.06 8 / 0.10);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tile:hover { transform: translateY(-5px); }
.tile__art { position: absolute; inset: 0; }
/* Foto real del estudio. Va encima del gradiente y lo tapa por completo; si el
   archivo no existe, main.js la retira y el gradiente queda como respaldo. */
.tile__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tile:hover .tile__photo { transform: scale(1.05); }
.tile__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
  right: 0.9rem;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 650;
  color: oklch(0.99 0.005 350);
  text-shadow: 0 1px 12px oklch(0.25 0.05 350 / 0.75);
}
/* Scrim inferior para legibilidad del label */
.tile::after {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(to top, oklch(0.30 0.10 12 / 0.6), transparent);
}

/* Arte CSS de cada tile: gradientes saturados de marca (magenta + turquesa), cero imágenes */
.tile--a { grid-column: span 2; grid-row: span 2; }
.tile--a .tile__art {
  background:
    radial-gradient(90% 65% at 68% 18%, #ff9dc4e6, transparent 60%),
    radial-gradient(120% 90% at 30% 95%, #a00735, transparent 70%),
    linear-gradient(160deg, #fe6eab, #c81a55);
}
.tile--b .tile__art {
  background:
    radial-gradient(38% 38% at 30% 35%, #ffd0ced9, transparent),
    radial-gradient(30% 30% at 72% 62%, #fe6eabbf, transparent),
    linear-gradient(200deg, #ff8fb3, #fe6eab);
}
.tile--c { grid-row: span 2; }
.tile--c .tile__art {
  background:
    linear-gradient(15deg, #005e80 20%, transparent 75%),
    radial-gradient(60% 45% at 50% 28%, #5fdcecd9, transparent 65%),
    linear-gradient(180deg, #01b6cb, #037a95);
}
.tile--d { grid-column: span 2; }
.tile--d .tile__art {
  background:
    repeating-linear-gradient(105deg, oklch(1 0 0 / 0.12) 0 2px, transparent 2px 26px),
    radial-gradient(80% 100% at 85% 15%, #fe6eab99, transparent 60%),
    linear-gradient(120deg, #01b6cb, #0a7c94);
}
.tile--e .tile__art {
  background:
    radial-gradient(24% 24% at 25% 30%, #ff9dc4e6, transparent),
    radial-gradient(18% 18% at 60% 55%, #5fdceccc, transparent),
    radial-gradient(14% 14% at 80% 25%, #ffd0ceb3, transparent),
    linear-gradient(215deg, #fe6eab, #01b6cb);
}
.tile--f .tile__art {
  background:
    radial-gradient(100% 70% at 50% 100%, #a00735d9, transparent 65%),
    radial-gradient(45% 30% at 50% 88%, #ff8fb3e6, transparent),
    linear-gradient(180deg, #fe6eab, #c81a55);
}

/* ============================================================
   CONTACTO
   ============================================================ */

.contacto {
  position: relative;
  z-index: var(--z-content);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-section) var(--space-gutter);
  overflow: clip;
}
/* Aura no floral: halo de ondas + motas que ascienden (energía/crecimiento) */
.contacto__motif {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(66vw, 860px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
}
.contacto__motif .halo { width: 100%; height: 100%; overflow: visible; }
.halo__wave {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: aura-wave 5.5s ease-out infinite;
  animation-delay: var(--d);
}
.halo__rise circle {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
  animation: halo-rise 6.5s ease-in-out infinite;
  animation-delay: var(--dl);
}
@keyframes halo-rise {
  0% { transform: translate(var(--x), 150px) scale(0.6); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.9; }
  100% { transform: translate(var(--x), -170px) scale(1); opacity: 0; }
}

.contacto__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6.8vw, 4.8rem);
  font-weight: 420;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.contacto__title em { font-style: italic; color: var(--primary-ink); }
.contacto__body {
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 2.6rem;
}

.contacto__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  width: min(620px, 100%);
  text-align: left;
  margin-bottom: 2.6rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 650; color: var(--ink-soft); }
.field input,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: oklch(1 0 0 / 0.85);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 30%, transparent);
}
.contacto__form .btn { grid-column: 1 / -1; justify-self: center; }
.contacto__note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.93rem;
  font-weight: 550;
  color: var(--primary-ink);
}

.contacto__alt p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.contacto__ways { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.way {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--surface);
  transition: border-color 0.25s ease-out, color 0.25s ease-out, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.way:hover {
  border-color: var(--primary);
  color: var(--primary-ink);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  position: relative;
  z-index: var(--z-content);
  border-top: 1px solid var(--hairline-soft);
  background: oklch(0.965 0.01 350 / 0.9);
  text-align: center;
  padding: 2.6rem var(--space-gutter) 2.2rem;
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.footer__meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer__note { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__motif { width: min(82vw, 450px); top: 30%; right: 50%; transform: translate(50%, -50%); opacity: 0.6; }

  .service {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 4.5rem;
  }
  .service--right .service__content { order: 0; }
  .service__motif { order: -1; height: clamp(280px, 70vw, 360px); opacity: 1; margin-bottom: 0.6rem; }
  /* El abanico va anclado abajo: contenedor ajustado para no dejar hueco arriba. */
  #branding .service__motif { height: clamp(270px, 66vw, 340px); }
  /* Las polaroids (aspecto 4/5, apiladas) necesitan más alto para no encimarse. */
  #contenido .service__motif { height: clamp(360px, 96vw, 480px); }

  .service__kind { font-size: 1rem; margin-bottom: 0.6rem; }
  .service__title { font-size: clamp(2.05rem, 8.4vw, 2.9rem); margin-bottom: 0.8rem; }
  .service__body { font-size: 1.04rem; max-width: 46ch; margin-bottom: 1.3rem; }
  .service__list { margin-bottom: 1.5rem; }
  .service__list li { padding: 0.72rem 0 0.72rem 1.6rem; font-size: 1.02rem; }
  .service__list li::before { top: 1.15rem; }

  .proceso__step {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.5rem 0.8rem;
  }
  .proceso__step h3 { margin: 0; }
  .proceso__step p { grid-column: 1 / -1; margin-top: 0.2rem; }

  .foto__head { grid-template-columns: 1fr; align-items: start; }

  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 24vw, 180px); }
  .tile--a { grid-column: span 2; }
  .tile--d { grid-column: span 2; }
  .tile--c { grid-row: span 1; }

  .contacto__motif { width: min(98vw, 560px); opacity: 0.62; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: 6rem; }
  .hero__actions .btn { width: 100%; }
  .hero__cue { display: none; }
  .contacto__form { grid-template-columns: 1fr; }
  .proceso__steps { gap: 1.7rem; }
}

/* ============================================================
   MOVIMIENTO REDUCIDO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker__row { animation: none; transform: none; }
  .hero__cue-dot { animation: none; }
  .growth__line { stroke-dashoffset: 0 !important; }
  .growth__pulse, .growth__pulse-halo { display: none; }
  /* Sin animación de color: muestras estáticas pero con variedad de paleta */
  .swatch:nth-child(1) { background: linear-gradient(160deg, var(--magenta-light), var(--magenta)); }
  .swatch:nth-child(2) { background: linear-gradient(160deg, var(--magenta), #D01046); }
  .swatch:nth-child(3) { background: linear-gradient(160deg, var(--wine), #6A1B9A); }
  .swatch:nth-child(4) { background: linear-gradient(160deg, var(--teal-light), var(--teal)); }
  .swatch:nth-child(5) { background: linear-gradient(160deg, var(--teal), var(--petrol)); }
  .swatch:nth-child(6) { background: linear-gradient(160deg, var(--magenta-light), var(--teal)); }
}

/* =========================================================
   FIRMA DE CRÉDITOS (DALO) — identidad del autor, no tocar
   ========================================================= */
.credits {
    font-size: 0.62rem;
    color: var(--muted);
    margin-top: 1.2rem;
}
.credits a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: baseline;
}
.credits a:hover {
    color: var(--ink);
}
.credits-dalo-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    cursor: pointer;
    user-select: none;
}
.dalo-letter {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
    animation: colorLake 4s linear infinite;
    transition: text-shadow 0.4s ease, transform 0.35s ease;
}
/* Retrasos de animación de color iniciales */
.dalo-d { animation-delay: 0s; }
.dalo-a { animation-delay: 1s; }
.dalo-l { animation-delay: 2s; }
.dalo-o { animation-delay: 3s; }
/* Efecto Hover Individual (Brillo y Elevación) */
.credits:hover .dalo-d {
    color: #00ff88;
    animation: daloGlowGreen 1.3s ease-in-out infinite;
}
.credits:hover .dalo-a {
    color: #ff4444;
    animation: daloGlowRed 1.3s ease-in-out infinite 0.32s;
}
.credits:hover .dalo-l {
    color: #44aaff;
    animation: daloGlowBlue 1.3s ease-in-out infinite 0.65s;
}
.credits:hover .dalo-o {
    color: #ffd700;
    animation: daloGlowYellow 1.3s ease-in-out infinite 0.98s;
}
/* --- ANIMACIONES KEYFRAMES --- */
/* Ciclo continuo de colores */
@keyframes colorLake {
    0%, 100% { color: #00ff88; }
    25% { color: #ff4444; }
    50% { color: #44aaff; }
    75% { color: #ffd700; }
}
/* Animación de brillo y salto por letra */
@keyframes daloGlowGreen {
    0%,100% { text-shadow: 0 0 4px #00ff88, 0 0 10px #00ff88; transform: translateY(0) scale(1); }
    50% { text-shadow: 0 0 12px #00ff88, 0 0 28px #00ff88, 0 0 55px #00cc66, 0 0 85px #009944; transform: translateY(-5px) scale(1.25); }
}
@keyframes daloGlowRed {
    0%,100% { text-shadow: 0 0 4px #ff4444, 0 0 10px #ff4444; transform: translateY(0) scale(1); }
    50% { text-shadow: 0 0 12px #ff4444, 0 0 28px #ff4444, 0 0 55px #cc0000, 0 0 85px #ff0000; transform: translateY(-5px) scale(1.25); }
}
@keyframes daloGlowBlue {
    0%,100% { text-shadow: 0 0 4px #44aaff, 0 0 10px #44aaff; transform: translateY(0) scale(1); }
    50% { text-shadow: 0 0 12px #44aaff, 0 0 28px #44aaff, 0 0 55px #0066cc, 0 0 85px #0044ff; transform: translateY(-5px) scale(1.25); }
}
@keyframes daloGlowYellow {
    0%,100% { text-shadow: 0 0 4px #ffd700, 0 0 10px #ffd700; transform: translateY(0) scale(1); }
    50% { text-shadow: 0 0 12px #ffd700, 0 0 28px #ffd700, 0 0 55px #ffaa00, 0 0 85px #ff8800; transform: translateY(-5px) scale(1.25); }
}
