/* ============================================================================
   CINTIA DESIRE — Sistema de diseño v4
   Mismos colores y fuentes que v3, pero con:
   · Escala tipográfica modular controlada
   · Jerarquía de pesos consistente
   · Caveat reducido a momentos puntuales (saludo hero, footer note)
   · Logo completo en nav (no texto + icono separados)
   · Alineación rigurosa de elementos
   ============================================================================ */

/* ----- 1. TOKENS -------------------------------------------------------- */
:root {
  /* PALETA — sin cambios respecto a v3 */
  --cream:        #FDF7EF;
  --cream-deep:   #F5EBDA;
  --sand:         #EAD9BD;
  --teal:         #1B8A8C;
  --teal-deep:    #115557;
  --teal-soft:    #B8DDDE;
  --coral:        #E8927C;
  --coral-soft:   #F5C8B8;
  --terra:        #C9663D;
  --honey:        #F4C77B;
  --ink:          #1F2A2E;
  --ink-soft:     #3A4549;
  --ink-mute:     #6B767A;
  --rule:         rgba(31, 42, 46, 0.10);
  --rule-strong:  rgba(31, 42, 46, 0.22);

  /* TIPOGRAFÍA — fuentes sin cambios */
  --font-display: 'Cormorant Garamond', 'Cormorant Garamond Fallback', 'Times New Roman', Georgia, serif;
  --font-sans:    'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand:    'Caveat', 'Caveat Fallback', 'Brush Script MT', cursive;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ESCALA TIPOGRÁFICA MODULAR (ratio 1.25 — major third) */
  --t-micro:  0.6875rem;   /* 11px - tags micro */
  --t-tiny:   0.75rem;     /* 12px - labels */
  --t-small:  0.875rem;    /* 14px - meta, caption */
  --t-body:   1rem;        /* 16px - body principal */
  --t-lead:   1.125rem;    /* 18px - lead, intros */
  --t-h5:     1.25rem;     /* 20px */
  --t-h4:     1.5rem;      /* 24px */
  --t-h3:     1.875rem;    /* 30px */
  --t-h2:     clamp(2rem, 4vw, 3rem);          /* 32-48px */
  --t-h1:     clamp(2.5rem, 5.5vw, 4.25rem);   /* 40-68px */
  --t-display: clamp(3rem, 6.5vw, 5rem);       /* solo para hero */

  /* ALTURAS DE LÍNEA */
  --lh-tight:  1.05;
  --lh-snug:   1.2;
  --lh-normal: 1.55;
  --lh-loose:  1.7;

  /* PESOS — sistema limitado */
  --w-regular:  400;
  --w-medium:   500;
  --w-semibold: 600;

  /* ESPACIADO */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;

  /* LAYOUT */
  --container:        1280px;
  --container-narrow: 760px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);

  /* RADIOS */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* MOTION */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:   200ms;
  --t-med:    350ms;
  --t-slow:   650ms;

  --shadow-sm: 0 2px 8px rgba(31, 42, 46, 0.05);
  --shadow-md: 0 8px 24px rgba(31, 42, 46, 0.07), 0 2px 6px rgba(31, 42, 46, 0.04);
  --shadow-lg: 0 20px 50px rgba(31, 42, 46, 0.10), 0 4px 12px rgba(31, 42, 46, 0.05);
}

/* ----- 2. RESET & BASE -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--t-body);
  font-weight: var(--w-regular);
  line-height: var(--lh-normal);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--teal); color: var(--cream); }

/* ----- 3. JERARQUÍA TIPOGRÁFICA ----------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: var(--t-h1);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--t-h2);
  letter-spacing: -0.018em;
}

h3 {
  font-size: var(--t-h3);
  letter-spacing: -0.012em;
}

h4 { font-size: var(--t-h4); }
h5 { font-size: var(--t-h5); }

/* Italics expresivos — color teal por defecto */
h1 em, h2 em, h3 em, .em-teal {
  font-style: italic;
  color: var(--teal);
  font-weight: var(--w-medium);
}

.em-coral { font-style: italic; color: var(--coral); font-weight: var(--w-medium); }
.em-terra { font-style: italic; color: var(--terra); font-weight: var(--w-medium); }

/* Body */
p {
  margin: 0 0 1em;
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  color: var(--ink-soft);
}

p.lead {
  font-size: var(--t-lead);
  line-height: var(--lh-normal);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Bold dentro de párrafos — solo color, sin font-weight excesivo */
p strong, li strong { font-weight: var(--w-semibold); color: var(--ink); }

/* Handwritten — uso muy limitado */
.hand {
  font-family: var(--font-hand);
  font-weight: 500;
  color: var(--coral);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
}

/* Labels — sistema único */
.label {
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}

.label--coral { color: var(--coral); }
.label--terra { color: var(--terra); }
.label--cream { color: var(--cream); }
.label--ink   { color: var(--ink); }

/* ----- 4. LAYOUT -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}

.section--tight { padding-top: var(--s-7); padding-bottom: var(--s-7); }
.section--xl    { padding-top: clamp(5rem, 10vw, 8rem); padding-bottom: clamp(5rem, 10vw, 8rem); }

.bg-cream      { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-sand       { background: var(--sand); }
.bg-teal-soft  { background: var(--teal-soft); }
.bg-coral-soft { background: var(--coral-soft); }
.bg-teal       { background: var(--teal); color: var(--cream); }
.bg-teal-deep  { background: var(--teal-deep); color: var(--cream); }
.bg-ink        { background: var(--ink); color: var(--cream); }

.bg-teal h1, .bg-teal h2, .bg-teal h3,
.bg-teal-deep h1, .bg-teal-deep h2, .bg-teal-deep h3,
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--cream); }

.bg-teal h1 em, .bg-teal h2 em, .bg-teal-deep h1 em, .bg-teal-deep h2 em,
.bg-ink h1 em, .bg-ink h2 em { color: var(--honey); }

.bg-teal p, .bg-teal-deep p, .bg-ink p { color: rgba(253, 247, 239, 0.85); }
.bg-teal .label, .bg-teal-deep .label, .bg-ink .label { color: var(--honey); }

/* ----- 5. NAV — logo completo --------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  transition: background var(--t-fast), box-shadow var(--t-fast);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(253, 247, 239, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}

.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-6);
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  height: 78px;
  flex-shrink: 0;
}

.nav__brand img {
  height: 78px;
  width: auto;
  display: block;
  /* Asegura el mejor downscale del navegador para mantener nítido
     el subtítulo a tamaño nav. */
  image-rendering: auto;
  -webkit-image-rendering: optimizeQuality;
}

.nav__menu {
  list-style: none;
  display: flex;
  gap: var(--s-6);
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--w-medium);
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
  transition: color var(--t-fast);
  letter-spacing: -0.005em;
}

.nav__link:hover { color: var(--teal); }
.nav__link.is-active { color: var(--ink); }

.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
  transition: background var(--t-fast), transform var(--t-fast);
}

.nav__cta:hover { background: var(--teal); transform: translateY(-1px); }

.nav__cta::after { content: '→'; font-size: 1em; transition: transform var(--t-fast); }
.nav__cta:hover::after { transform: translateX(3px); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  border-radius: 50%;
  background: var(--ink);
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--cream);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 24px; }

.nav__toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ----- 6. HERO ---------------------------------------------------------- */
.hero {
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
}

.hero__copy { position: relative; max-width: 540px; }

/* Saludo manuscrito — ÚNICO sitio donde uso Caveat en el hero */
.hero__greeting {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--coral);
  line-height: 1;
  margin-bottom: var(--s-4);
  transform: rotate(-1.5deg);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 var(--s-5);
}

.hero__title em {
  font-style: italic;
  color: var(--teal);
  font-weight: var(--w-medium);
}

.hero__lead {
  font-size: var(--t-lead);
  line-height: var(--lh-normal);
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 0 var(--s-6);
}

.hero__cta-row {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  align-items: center;
}

.hero__cta-note {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__cta-note::before {
  content: '·';
  color: var(--coral);
  font-weight: var(--w-semibold);
}

/* Collage de fotos — más simple, mejor alineado */
.hero__collage {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}

.hero__photo {
  position: absolute;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-md);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo--main {
  inset: 0 20% 22% 0;
  border-radius: var(--r-md);
  z-index: 2;
}

.hero__photo--small {
  inset: auto 0 0 30%;
  width: 60%;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  z-index: 3;
}

.hero__photo--circle {
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 8%;
  right: 0;
  z-index: 4;
  border: 4px solid var(--cream);
}

.hero__blob {
  position: absolute;
  width: 55%;
  height: 55%;
  top: 18%;
  right: -8%;
  background: var(--teal-soft);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  z-index: 0;
  animation: blobMorph 20s ease-in-out infinite;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
  50%      { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
}

/* ----- 7. BOTONES ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn::after {
  content: '→';
  font-size: 1em;
  transition: transform var(--t-fast);
}

.btn:hover::after { transform: translateX(3px); }
.btn--no-arrow::after { content: none; }

.btn--primary {
  background: var(--teal);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(27, 138, 140, 0.2);
}

.btn--primary:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 138, 140, 0.3);
}

.btn--coral {
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(232, 146, 124, 0.22);
}

.btn--coral:hover {
  background: var(--terra);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn--cream {
  background: var(--cream);
  color: var(--ink);
}

.btn--cream:hover { background: var(--honey); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: var(--w-medium);
  color: var(--teal);
  font-size: 0.9375rem;
  position: relative;
  padding-bottom: 3px;
  letter-spacing: -0.005em;
}

.link-arrow::before {
  content: '';
  position: absolute;
  left: 0;
  right: 18px;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform-origin: left;
  transition: transform var(--t-med);
}

.link-arrow:hover::before { transform: scaleX(0.85); }
.link-arrow::after { content: '→'; transition: transform var(--t-fast); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ----- 8. MARQUEE ------------------------------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-4) 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: var(--s-7);
  animation: marquee 45s linear infinite;
  padding-right: var(--s-7);
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.marquee__item::after {
  content: '·';
  color: var(--coral);
  margin-left: var(--s-7);
  font-style: normal;
  font-weight: var(--w-semibold);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- 9. SECTION HEAD — patrón único reutilizable -------------------- */
.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-head .label {
  margin-bottom: var(--s-4);
}

.section-head h2 {
  font-size: var(--t-h2);
  margin-bottom: var(--s-4);
}

.section-head p {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
}

.section-head--left { text-align: left; margin-left: 0; }

/* Variante split — label/h2 a izq, descripción a der */
.section-head-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head-split h2 {
  font-size: var(--t-h2);
  margin: 0;
  margin-top: var(--s-3);
}

.section-head-split p {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  margin: 0;
}

/* ----- 10. SERVICES — cards limpias sin sticker ----------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  align-items: stretch;
}

.service-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-soft);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
  color: var(--teal);
  transition: transform var(--t-med);
}

.service-card:nth-child(2) .service-card__icon { background: var(--coral-soft); color: var(--terra); }
.service-card:nth-child(3) .service-card__icon { background: var(--honey); color: var(--terra); }

.service-card:hover .service-card__icon { transform: scale(1.08); }

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: var(--w-medium);
  line-height: var(--lh-snug);
  letter-spacing: -0.012em;
  margin-bottom: var(--s-3);
}

.service-card__body {
  font-size: var(--t-body);
  line-height: var(--lh-normal);
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
  flex: 1;
}

.service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-style: italic;
  font-weight: var(--w-medium);
  color: var(--teal);
}

.service-card__link {
  color: var(--terra);
  font-size: 0.875rem;
  font-weight: var(--w-semibold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast);
}

.service-card:hover .service-card__link { gap: 8px; }

/* ----- 11. MOSAIC ------------------------------------------------------- */
.mosaic {
  column-count: 3;
  column-gap: var(--s-3);
}
@media (max-width: 1000px) { .mosaic { column-count: 2; } }

.mosaic__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  transition: transform var(--t-med) var(--ease-out);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  display: block;
  width: 100%;
  margin-bottom: var(--s-3);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.mosaic__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.mosaic__tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}

.mosaic__tile:hover img { transform: scale(1.05); }

.mosaic__tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(31, 42, 46, 0.88));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-5);
  color: var(--cream);
}

.mosaic__tile-tag {
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 6px;
}

.mosaic__tile-title {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: var(--w-medium);
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--cream);
}

.mosaic__tile-kpi {
  font-family: var(--font-sans);      /* Inter — igual que "ALCANCE MEDIO" (antes: var(--font-display)) */
  font-size: 0.625rem;           /* Antes de modificar era var(--t-tiny) = 12px - 0.75rem */
  font-weight: var(--w-regular);
  letter-spacing: 0.14em;             /* espaciado, como la etiqueta de Marta */
  text-transform: uppercase;          /* mayúsculas */
  color: var(--honey);                /* color intacto: solo cambia la letra */
  margin-top: 6px;
}

/* mosaico: anchos por --ar (flex), alturas iguales por fila */

/* ----- 12. PORTRAIT BLOCK ---------------------------------------------- */
.portrait-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.portrait-block__photo-wrap {
  position: relative;
}

.portrait-block__photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.portrait-block__photo img { width: 100%; height: 100%; object-fit: cover; }

.portrait-block__photo-bg {
  position: absolute;
  inset: 0;
  background: var(--teal-soft);
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
  z-index: 1;
  transform: translate(18px, 18px);
}

.portrait-block__name {
  font-family: var(--font-display);
  font-size: var(--t-h1);
  font-weight: var(--w-medium);
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin-bottom: var(--s-4);
}

.portrait-block__name em { color: var(--teal); font-style: italic; }

.portrait-block__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: var(--t-h4);
  color: var(--ink);
  line-height: 1.35;
  max-width: 38ch;
  margin-bottom: var(--s-5);
}

.portrait-block__facts {
  margin: var(--s-5) 0 0;
  padding: 0;
}

.portrait-block__facts-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--s-5);
  align-items: baseline;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}

.portrait-block__facts-row:first-child { border-top: 1px solid var(--rule); }

.portrait-block__facts-row dt {
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

.portrait-block__facts-row dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: var(--lh-normal);
  color: var(--ink-soft);
}

/* ----- 13. Q&A --------------------------------------------------------- */
.qa {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: var(--s-7);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.qa__q {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: var(--w-medium);
  line-height: var(--lh-snug);
  letter-spacing: -0.012em;
  color: var(--teal);
  margin: 0;
}

.qa__a {
  font-size: var(--t-body);
  line-height: var(--lh-loose);
  color: var(--ink-soft);
}

.qa__a p { margin: 0 0 1em; color: inherit; }
.qa__a p:last-child { margin-bottom: 0; }
.qa__a strong { color: var(--ink); font-weight: var(--w-semibold); }
.qa__a em { font-style: italic; color: var(--teal); }
.qa__a a { color: var(--terra); border-bottom: 1.5px solid currentColor; }

/* ----- 14. PULL QUOTE -------------------------------------------------- */
.pull-quote {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.pull-quote__inner {
  max-width: 28ch;
  margin: 0 auto;
  text-align: center;
}

.pull-quote__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--coral);
  line-height: 0.7;
  display: block;
  margin-bottom: -0.1em;
}

.pull-quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.pull-quote__text em {
  color: var(--teal);
  font-style: italic;
}

.pull-quote__attr {
  margin-top: var(--s-5);
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ----- 15. MÉTODO ------------------------------------------------------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
}

.method-step {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  text-align: center;
  border: 1px solid var(--rule);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}

.method-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.method-step__letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: 3rem;
  color: var(--teal);
  line-height: 1;
  display: block;
  margin-bottom: var(--s-3);
}

.method-step:nth-child(2) .method-step__letter,
.method-step:nth-child(5) .method-step__letter { color: var(--coral); }
.method-step:nth-child(3) .method-step__letter,
.method-step:nth-child(6) .method-step__letter { color: var(--terra); }

.method-step__title {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: var(--w-medium);
  margin-bottom: var(--s-2);
  letter-spacing: -0.01em;
}

.method-step__body {
  font-size: var(--t-small);
  color: var(--ink-soft);
  line-height: var(--lh-normal);
  margin: 0;
}

/* ----- 16. CROSSLINK ---------------------------------------------------- */
.crosslink {
  background: var(--teal-deep);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  margin: 0 var(--pad-x);
}

.crosslink__blob {
  position: absolute;
  width: 50%;
  height: 120%;
  top: -10%;
  right: -15%;
  background: radial-gradient(ellipse at center, rgba(244, 199, 123, 0.22), transparent 70%);
  pointer-events: none;
}

.crosslink__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
  z-index: 1;
}

.crosslink__title {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: var(--w-medium);
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--cream);
  margin: var(--s-3) 0 var(--s-4);
}

.crosslink__title em { color: var(--honey); font-style: italic; }

.crosslink__body {
  font-size: var(--t-lead);
  color: rgba(253, 247, 239, 0.85);
  line-height: var(--lh-normal);
  margin: 0 0 var(--s-5);
  max-width: 48ch;
}

.crosslink__mark {
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.crosslink__mark span { color: var(--honey); }

.crosslink__mark-logo {
  width: clamp(190px, 30vw, 270px);
  height: auto;
  display: inline-block;
}

.crosslink__mark-tag {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 199, 123, 0.7);
  margin-top: var(--s-3);
}

/* ----- 17. FOOTER ------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(4rem, 7vw, 6rem) 0 var(--s-5);
  position: relative;
  overflow: hidden;
}

.footer__blob {
  position: absolute;
  width: 380px;
  height: 380px;
  bottom: -190px;
  left: -100px;
  background: var(--teal-deep);
  border-radius: 50% 40% 60% 50%;
  opacity: 0.35;
  pointer-events: none;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 3.2fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(253, 247, 239, 0.10);
  position: relative;
}

.footer__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: var(--s-6);
}

.footer__brand img {
  max-width: 240px;
  width: 100%;
  height: auto;
  margin-bottom: var(--s-5);
  /* invertir colores para fondo oscuro */
  filter: brightness(0) saturate(100%) invert(95%);
}

.footer__brand-note {
  font-family: var(--font-hand);
  color: var(--coral);
  font-size: 1.375rem;
  line-height: 1.1;
  margin-top: var(--s-5);
  transform: rotate(-1deg);
  display: inline-block;
}

.footer__tag {
  font-size: 0.9375rem;
  color: rgba(253, 247, 239, 0.65);
  max-width: 34ch;
  line-height: var(--lh-normal);
  margin: 0;
}

.footer__col h5 {
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 var(--s-4);
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.9375rem;
  color: rgba(253, 247, 239, 0.7);
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.footer__col a:hover { color: var(--coral); padding-left: 3px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--s-5);
  font-size: 0.8125rem;
  color: rgba(253, 247, 239, 0.45);
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer__credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer__credit-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: var(--w-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 247, 239, 0.45);
}

.footer__credit-link {
  display: inline-flex;
  align-items: center;
  transition: transform var(--t-fast);
}

.footer__credit-link:hover { transform: translateY(-1px); }

.footer__credit-logo {
  height: 25px;
  width: auto;
  display: block;
}

.footer__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer__legal a { color: rgba(253, 247, 239, 0.45); transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--coral); }

/* ----- 18. PAGE HEADER ------------------------------------------------- */
.page-header {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.page-header__breadcrumb {
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-5);
}

.page-header__breadcrumb a {
  color: var(--teal);
  transition: color var(--t-fast);
}

.page-header__breadcrumb a:hover { color: var(--terra); }

.page-header__title {
  font-family: var(--font-display);
  font-size: var(--t-h1);
  font-weight: var(--w-medium);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 0 var(--s-5);
}

.page-header__title em { color: var(--teal); font-style: italic; }

.page-header__lead {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: var(--lh-normal);
}

/* ----- 19. CONTACTO ---------------------------------------------------- */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.contact-channel {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
}

.contact-channel:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.contact-channel__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-channel:nth-child(2) .contact-channel__icon { background: var(--coral-soft); color: var(--terra); }
.contact-channel:nth-child(3) .contact-channel__icon { background: var(--honey); color: var(--terra); }

.contact-channel__title {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: var(--w-medium);
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.contact-channel__body {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

.contact-channel__arrow {
  color: var(--teal);
  font-size: 1.5rem;
  margin-left: auto;
  transition: transform var(--t-fast);
}

.contact-channel:hover .contact-channel__arrow { transform: translateX(4px); }

.form {
  background: var(--cream);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
}

.form__row { margin-bottom: var(--s-4); }
.form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

.form__label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--r-md);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(27, 138, 140, 0.12);
}

.form__textarea { min-height: 120px; resize: vertical; }

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: var(--lh-normal);
}

.form__check input { margin-top: 3px; flex-shrink: 0; accent-color: var(--teal); }
.form__check a { color: var(--teal); border-bottom: 1.5px solid currentColor; }

/* ----- 20. CASE ------------------------------------------------------- */
.case-hero { padding: var(--s-6) 0 var(--s-5); }

.case-hero__meta {
  display: flex;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
  font-family: var(--font-sans);
  font-size: var(--t-tiny);
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
}

.case-hero__meta strong { color: var(--teal); font-weight: var(--w-semibold); }

.case-hero__title {
  font-family: var(--font-display);
  font-size: var(--t-display);
  font-weight: var(--w-medium);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-5);
  max-width: 22ch;
}

.case-hero__title em { color: var(--teal); font-style: italic; }

.case-hero__lead {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  line-height: var(--lh-normal);
  max-width: 60ch;
}

.case-hero__image {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--s-6);
  box-shadow: var(--shadow-lg);
}

.case-hero__image img { width: 100%; height: 100%; object-fit: cover; }

.case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.case-metric {
  background: var(--cream);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  text-align: center;
  border: 1px solid var(--rule);
  transition: transform var(--t-fast);
}

.case-metric:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.case-metric__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--w-medium);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 6px;
}

.case-metric:nth-child(2) .case-metric__num { color: var(--coral); }
.case-metric:nth-child(3) .case-metric__num { color: var(--terra); }
.case-metric:nth-child(4) .case-metric__num { color: var(--honey); }

.case-metric__label {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
}

/* ----- 21. REVEAL ANIMATIONS ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__blob { animation: none; }
}

/* ----- 22. UTILS -------------------------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-teal   { color: var(--teal); }
.text-coral  { color: var(--coral); }
.text-terra  { color: var(--terra); }

.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }

/* ----- 23. RESPONSIVE ------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero__collage { max-width: 460px; margin: 0 auto; justify-self: center; }
  .services-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .crosslink__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .crosslink__mark { text-align: left; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .portrait-block { grid-template-columns: 1fr; gap: var(--s-6); }
  .portrait-block__photo-wrap { max-width: 380px; margin: 0 auto; }
  .case-metrics-grid { grid-template-columns: 1fr 1fr; }
  .qa { grid-template-columns: 1fr; gap: var(--s-3); }
  .section-head-split { grid-template-columns: 1fr; gap: var(--s-4); }

}

@media (max-width: 768px) {
  :root { --pad-x: 1.25rem; }

  .nav__menu {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    padding: var(--s-6);
    gap: var(--s-4);
    transform: translateY(-110%);
    transition: transform var(--t-med) var(--ease-out);
    z-index: 99;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .nav__menu.is-open { transform: translateY(0); }

  .nav__menu .nav__link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: var(--w-medium);
  }

  .nav__brand img { height: 60px; }

  .nav__toggle { display: block; }
  .nav__inner > nav { display: none; }
  .nav__inner { grid-template-columns: auto auto; }

  .form__row--two { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .case-metrics-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer__cols { grid-template-columns: 1fr; }

}

/* =========================================================================
   LANG SWITCH (ES · CA) — v13
   ========================================================================= */

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: var(--w-medium);
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-switch__btn {
  color: var(--ink-mute);
  padding: 6px 4px;
  border-radius: 4px;
  transition: color var(--t-fast);
  text-transform: uppercase;
  text-decoration: none;
}

.lang-switch__btn:hover { color: var(--teal); }

.lang-switch__btn.is-active {
  color: var(--ink);
  font-weight: var(--w-bold);
  cursor: default;
  pointer-events: none;
}

.lang-switch__sep {
  color: var(--ink-mute);
  opacity: 0.5;
  font-weight: var(--w-light);
}

.nav__inner { grid-template-columns: auto 1fr auto; }

@media (max-width: 768px) {
  .nav__actions { gap: var(--s-3); }
  .nav__actions .nav__cta { display: none; }
  .nav__menu .nav__cta--mobile {
    display: inline-flex;
    margin-top: var(--s-5);
    align-self: flex-start;
  }
  .lang-switch { font-size: 0.875rem; }
  .nav__inner { grid-template-columns: auto auto auto; }
}

@media (min-width: 769px) {
  .nav__menu .nav__cta--mobile { display: none; }
}

/* THANK YOU PAGE */
.thanks { min-height: 60vh; display: flex; align-items: center; padding: var(--s-8) 0; }
.thanks__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.thanks__icon {
  width: 64px; height: 64px; margin: 0 auto var(--s-5);
  border-radius: 50%; background: var(--coral-soft);
  display: flex; align-items: center; justify-content: center; color: var(--coral);
}
.thanks__icon svg { width: 28px; height: 28px; }
.thanks__title em { font-family: var(--font-display); font-style: italic; color: var(--teal); font-weight: var(--w-medium); }
.thanks__lead { font-size: 1.125rem; color: var(--ink-soft); line-height: var(--lh-relaxed); margin: var(--s-4) auto var(--s-6); }
.thanks__meta { font-size: 0.9375rem; color: var(--ink-mute); padding-top: var(--s-5); margin-top: var(--s-6); border-top: 1px solid var(--rule); }
