/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 3rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,178,193,0.04) 0%, transparent 70%);
  top: -10%; left: -10%;
  animation: drift1 12s ease-in-out infinite;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(58,123,213,0.03) 0%, transparent 70%);
  bottom: -5%; right: 5%;
  animation: drift2 15s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -40px); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,178,193,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,178,193,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero__content .display em {
  color: var(--gold);
  font-style: italic;
}

/* ─── HERO TITLE LINE REVEAL ─────────────────────────────────── */
.hero .line-reveal {
  display: block;
  overflow: hidden;
  line-height: 1.22;
}
.hero .line-reveal > span {
  display: block;
  animation: lineReveal 0.92s cubic-bezier(0.22, 1, 0.36, 1) var(--lr-delay, 0.05s) both;
}
@keyframes lineReveal {
  from { transform: translateY(110%); }
  to   { transform: translateY(0);   }
}

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

/* Hero Visual — Justice painted on background */
.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  margin-right: -4rem;
  overflow: visible;
  position: relative;
}

.hero__justice {
  position: relative;
  width: 110%;
  min-height: 700px;
  overflow: visible;
}

.hero__justice img {
  position: absolute;
  top: -120px;
  right: -4rem;
  width: 120%;
  height: calc(100% + 200px);
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) contrast(1.1) saturate(0.35) grayscale(0.35);
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 32%, black 80%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 32%, black 80%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
  mask-composite: intersect;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ─── STATS ──────────────────────────────────────────────────── */
.stats {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  position: relative;
  z-index: 1;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  transition: text-shadow 1.6s ease;
}
.stat.visible .stat__number {
  text-shadow: 0 0 48px rgba(168,178,193,0.16), 0 0 90px rgba(168,178,193,0.06);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}


/* ─── MANIFIESTO EDITORIAL ───────────────────────────────────── */
.manifesto-section {
  position: relative;
  background: #050608;
  padding: clamp(7rem, 13vw, 11rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Grid texture de fondo */
.manifesto-section__grid-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Número 01 editorial gigante */
.manifesto-section__bg-number {
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(16rem, 26vw, 34rem);
  font-weight: 900;
  line-height: 1;
  color: #6B8299;
  opacity: 0.09;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  z-index: 0;
}

/* Contenido */
.manifesto-section__inner {
  position: relative;
  z-index: 1;
  max-width: 950px;
  padding-left: clamp(1rem, 4vw, 5rem);
}

/* Etiqueta */
.manifesto-section__label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7A96AE;
  margin-bottom: 3rem;
}

/* Frase principal */
.manifesto-section__quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.95rem);
  font-weight: 600;
  line-height: 1.14;
  color: #EDE8DF;
  margin: 0 0 2.75rem;
  padding: 0;
  border: none;
  letter-spacing: -0.01em;
}

.manifesto-section__quote em {
  font-style: italic;
  font-weight: 400;
  color: #7A96AE;
}

/* Párrafo */
.manifesto-section__body {
  font-size: 1.0625rem;
  line-height: 2;
  color: rgba(237, 232, 223, 0.78);
  max-width: 54ch;
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* Pilares */
.manifesto-section__pillars {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.manifesto-pillar {
  padding-top: 1.125rem;
  border-top: 1px solid rgba(255,255,255,0.13);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.38);
  min-width: 140px;
  transition: color 0.3s, border-color 0.3s;
}

.manifesto-pillar:hover {
  color: rgba(237, 232, 223, 0.7);
  border-top-color: rgba(122, 150, 174, 0.5);
}

/* Tablet — evitar rotura fea de la frase */
@media (max-width: 1024px) {
  .manifesto-section__quote {
    font-size: clamp(1.7rem, 3.8vw, 2.6rem);
    hyphens: none;
    word-break: keep-all;
  }
  .manifesto-section__inner { padding-left: clamp(0.5rem, 2vw, 2rem); }
}

/* Mobile */
@media (max-width: 768px) {
  .manifesto-section__bg-number {
    font-size: 52vw;
    opacity: 0.04;
    right: -0.1em;
  }
  .manifesto-section__quote { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .manifesto-section__pillars { gap: 1.5rem; }
  .manifesto-pillar { min-width: 0; }
  .manifesto-section__inner { padding-left: 0; }
}

/* ─── ÁREAS DE PRÁCTICA ──────────────────────────────────────── */
.areas-section {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: var(--bg);
  position: relative;
}

/* Header: texto a la izquierda, meta editorial a la derecha */
.areas-section__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.areas-section__header-main {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 640px;
}

.areas-section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
}

.areas-section__subtitle {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(138,133,120,0.85);
  max-width: 52ch;
  margin: 0;
}

/* Mini bloque editorial derecho */
.areas-section__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(168,178,193,0.14);
  min-width: 180px;
  flex-shrink: 0;
}

.areas-section__meta-count {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(122,150,174,0.28);
  letter-spacing: -0.03em;
}

.areas-section__meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(168,178,193,0.38);
}

.areas-section__meta-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: rgba(122,150,174,0.28);
  margin-top: 0.25rem;
}

/* Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(168,178,193,0.08);
  border: 1px solid rgba(168,178,193,0.08);
}

/* Card */
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(1.6rem, 2.8vw, 2.25rem);
  background: #050505;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform  0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}
.area-card::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,178,193,0.55), transparent);
  opacity: 0;
  transition: opacity 0.45s ease, left 0.45s ease, right 0.45s ease;
}
.area-card:hover {
  background: #0c0f13;
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.55);
  z-index: 1;
}
.area-card:hover::after {
  opacity: 1;
  left: 0; right: 0;
}

/* Número grande de fondo */
.area-card__bg-num {
  position: absolute;
  bottom: -0.18em;
  right: -0.05em;
  font-family: 'Playfair Display', serif;
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  opacity: 0.045;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  transition: opacity 0.3s ease;
}

.area-card:hover .area-card__bg-num { opacity: 0.08; }

/* Top row: num + icon */
.area-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.area-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(168,178,193,0.32);
  font-weight: 400;
}

.area-card__icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(160,178,205,0.22);
  border-radius: 12px;
  background: rgba(160,178,205,0.045);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(176,193,216,0.72);
  flex-shrink: 0;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.area-card__icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.35;
}

.area-card:hover .area-card__icon {
  border-color: rgba(190,205,230,0.38);
  background: rgba(160,178,205,0.075);
  color: rgba(220,228,240,0.86);
}

/* Título */
.area-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(232,228,220,0.9);
  line-height: 1.3;
  margin: 0 0 0.9rem;
  transition: color 0.3s ease;
}

.area-card:hover .area-card__title { color: #EDE8DF; }

/* Descripción */
.area-card__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(160,155,145,0.82);
  flex: 1;
  margin: 0 0 1.25rem;
}

/* CTA */
.area-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(168,178,193,0.68);
  margin-top: auto;
  transition: color 0.3s ease, gap 0.3s ease;
}

.area-card:hover .area-card__cta {
  color: rgba(210,218,230,0.92);
  gap: 0.75rem;
}

/* ─── PILLARS ────────────────────────────────────────────────── */
.pillars {
  background: var(--bg);
  border-top: 1px solid rgba(168,178,193,0.08);
  border-bottom: 1px solid rgba(168,178,193,0.08);
}

.pillars__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

/* Columna izquierda */
.pillars__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 140px;
}

.pillars__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
}

.pillars__title em {
  font-style: italic;
  font-weight: 400;
  color: #7A96AE;
}

.pillars__body {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(195,190,180,0.88);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.pillars__footnote {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  line-height: 1.65;
  color: rgba(168,185,205,0.88);
  max-width: 36ch;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168,178,193,0.1);
}

.pillars__cta {
  align-self: flex-start;
}

/* Columna derecha — cards */
.pillars__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(168,178,193,0.09);
  transition: background 0.3s ease;
}

.pillar:first-child {
  border-top: 1px solid rgba(168,178,193,0.09);
}

/* Ícono con caja */
.pillar__icon-wrap {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(160,178,205,0.2);
  border-radius: 10px;
  background: rgba(160,178,205,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(176,193,216,0.65);
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.pillar:hover .pillar__icon-wrap {
  border-color: rgba(190,205,230,0.35);
  background: rgba(160,178,205,0.07);
  color: rgba(210,225,240,0.8);
}

.pillar__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.pillar__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(232,228,220,0.92);
  line-height: 1.3;
  margin: 0;
}

.pillar__text {
  font-size: 0.875rem;
  line-height: 1.82;
  color: rgba(160,155,145,0.85);
  margin: 0;
}

/* ─── CONFIANZA ──────────────────────────────────────────────── */
.confianza-section {
  background: var(--bg);
  border-top: 1px solid rgba(168,178,193,0.07);
}

.confianza-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.confianza-section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0;
}

.confianza-section__title em {
  font-style: italic;
  font-weight: 400;
  color: #7A96AE;
}

.confianza-section__subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(195,190,180,0.88);
  text-align: center;
  max-width: 52ch;
  margin: 0;
}

/* Grid de tarjetas */
.confianza-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(168,178,193,0.07);
  border: 1px solid rgba(168,178,193,0.07);
}

/* Card */
.confianza-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(2rem, 3.5vw, 2.75rem);
  background: #050505;
  border: 1px solid rgba(168,178,193,0.07);
  transition:
    background  0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    transform   0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow  0.4s ease;
}
.confianza-card::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,178,193,0.50), transparent);
  opacity: 0;
  transition: opacity 0.45s ease, left 0.45s ease, right 0.45s ease;
}
.confianza-card:hover {
  background: #0c0f13;
  border-color: rgba(168,178,193,0.20);
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.52);
}
.confianza-card:hover::after {
  opacity: 1;
  left: 0; right: 0;
}

/* Número + línea */
.confianza-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.confianza-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(122,150,174,0.55);
  flex-shrink: 0;
}

.confianza-card__line {
  flex: 1;
  height: 1px;
  background: rgba(168,178,193,0.12);
}

/* Título */
.confianza-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(232,228,220,0.92);
  line-height: 1.3;
  margin: 0;
}

/* Texto */
.confianza-card__text {
  font-size: 0.9rem;
  line-height: 1.82;
  color: rgba(160,155,145,0.85);
  margin: 0;
}

/* ─── ANÁLISIS ───────────────────────────────────────────────── */
.analysis-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.analysis-section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0;
  line-height: 1.15;
}

.analysis-section__all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(168,178,193,0.55);
  transition: color 0.3s ease, gap 0.3s ease;
  white-space: nowrap;
  padding-bottom: 4px;
}
.analysis-section__all:hover { color: var(--gold-lt); gap: 0.75rem; }

/* Grid */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Card */
.analysis-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #050505;
  border: 1px solid rgba(168,178,193,0.09);
  overflow: hidden;
  transition:
    transform   0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.42s ease,
    box-shadow  0.42s ease;
}
.analysis-card::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,178,193,0.48), transparent);
  opacity: 0;
  transition: opacity 0.42s ease, left 0.42s ease, right 0.42s ease;
  z-index: 2;
}
.analysis-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168,178,193,0.24);
  box-shadow: 0 20px 52px rgba(0,0,0,0.6);
}
.analysis-card:hover::after {
  opacity: 1;
  left: 0; right: 0;
}

/* Portada SVG */
.analysis-card__cover-link { display: block; }

.analysis-card__cover {
  position: relative;
  height: 175px;
  overflow: hidden;
}
.analysis-card__cover svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: filter 0.5s ease;
}
.analysis-card:hover .analysis-card__cover svg {
  filter: brightness(1.18);
}
.analysis-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* Cuerpo */
.analysis-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
}

/* Meta: tag + fecha */
.analysis-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analysis-card__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(122,150,174,0.8);
  border: 1px solid rgba(122,150,174,0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

.analysis-card__date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(138,133,120,0.6);
}

/* Título */
.analysis-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.38;
  color: rgba(232,228,220,0.92);
  margin: 0;
  transition: color 0.3s ease;
}
.analysis-card:hover .analysis-card__title { color: #EDE8DF; }

/* Extracto */
.analysis-card__excerpt {
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(138,133,120,0.88);
  margin: 0;
  flex: 1;
}

/* CTA */
.analysis-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(168,178,193,0.58);
  margin-top: 0.25rem;
  transition: color 0.3s ease, gap 0.3s ease;
}
.analysis-card:hover .analysis-card__cta {
  color: rgba(200,212,228,0.9);
  gap: 0.55rem;
}

/* ─── CTA SECTION ────────────────────────────────────────────── */
.cta-box {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.cta-box__orb {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168,178,193,0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-box .headline em { color: var(--gold); }

.cta-box__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-box__actions { flex-direction: column; align-items: center; }
  .cta-box__actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* ─── VISIÓN SOCIAL — VERTICAL SPOTLIGHT ─────────────────────── */
.vision-social {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
}

/* ── Cada bloque full-width ── */
.vision-block {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: none;
}

.vision-block--top    { height: clamp(420px, 60vh, 680px); }
.vision-block--bottom { height: clamp(360px, 50vh, 560px); }
.vision-block--solo   { height: clamp(552px, 75vh, 828px); }

/* Imagen */
.vision-block img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.vision-block:hover img { transform: scale(1.05); }

/* ── Solo block: revelación cinematográfica ── */
.vision-block--solo img {
  filter: brightness(0.28) contrast(1.05) saturate(0.28) grayscale(0.2);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.vision-block--solo:hover img {
  animation: soloReveal 2s ease-out forwards;
  transform: scale(1.03);
}

@keyframes soloReveal {
  0%   { filter: brightness(0.28) contrast(1.05) saturate(0.28) grayscale(0.20); }
  20%  { filter: brightness(0.32) contrast(1.06) saturate(0.33) grayscale(0.16); }
  40%  { filter: brightness(0.36) contrast(1.07) saturate(0.38) grayscale(0.12); }
  60%  { filter: brightness(0.39) contrast(1.07) saturate(0.43) grayscale(0.08); }
  80%  { filter: brightness(0.42) contrast(1.08) saturate(0.47) grayscale(0.04); }
  100% { filter: brightness(0.45) contrast(1.08) saturate(0.50) grayscale(0.00); }
}

/* Capa negra base que se reduce en hover */
.vision-block--solo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.vision-block--solo:hover::before { opacity: 0.28; }

/* Fusión arriba-abajo con el negro del fondo */
.vision-block--top {
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 12%,
    black 82%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 12%,
    black 82%,
    transparent 100%);
}
.vision-block--bottom {
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 18%,
    black 85%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 18%,
    black 85%,
    transparent 100%);
  margin-top: -80px;
}

.vision-block--solo {
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%);
}

/* Spotlight que sigue al mouse */
.spotlight-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 220px at var(--mx, 50%) var(--my, 120%),
    transparent 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.92) 78%
  );
  pointer-events: none;
  z-index: 2;
}

/* Contenedor del texto */
.vision-block__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 8vw, 8rem);
  background: linear-gradient(to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.2) 40%,
    transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.vision-block__content--right {
  justify-content: flex-end;
  text-align: right;
}

/* Solo: texto arranca visible pero contenido */
.vision-block--solo .vision-block__content {
  opacity: 1;
  background: linear-gradient(to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.1) 55%,
    transparent 80%);
}

.vision-block--solo .vision-block__inner {
  opacity: 0.58;
  transform: translateY(6px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-block--solo:hover .vision-block__inner {
  opacity: 1;
  transform: translateY(0);
}

.vision-block--solo:hover .vision-block__inner:last-child {
  transition-delay: 0.08s;
}

/* Spotlight solo: más difuso, cinematográfico */
.vision-block--solo .spotlight-mask {
  background: radial-gradient(
    ellipse 55% 45% at var(--mx, 50%) var(--my, 50%),
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.75) 100%
  );
}

.vision-block__content--dual {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
}

.vision-block__content--dual .vision-block__inner {
  max-width: 560px;
}

.vision-block__content--dual .vision-block__inner:first-child {
  align-self: flex-start;
}

.vision-block__content--dual .vision-block__inner:last-child {
  align-self: flex-end;
  text-align: right;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.vision-block:hover .vision-block__content { opacity: 1; }

.vision-block__inner {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(20px);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}
.vision-block:hover .vision-block__inner { transform: translateY(0); }

.vision-block__inner .label {
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.vision-block__inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1.65;
  border: none;
  padding: 0;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0,0,0,0.9);
}

@media (max-width: 768px) {
  .vision-block--bottom { margin-top: -40px; }
  .vision-block__content--right {
    justify-content: flex-start;
    text-align: left;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .areas-section__header { grid-template-columns: 1fr; }
  .areas-section__meta { display: none; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .confianza-grid { grid-template-columns: repeat(2, 1fr); }
  .analysis-grid  { grid-template-columns: repeat(2, 1fr); }
  .pillars__inner { grid-template-columns: 1fr; gap: 3rem; }
  .pillars__text { position: static; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; overflow: hidden; }
  .hero__visual { display: none; }
  .hero__content .display {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    word-break: keep-all;
  }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 280px; }
  .confianza-grid { grid-template-columns: 1fr; }
  .analysis-grid  { grid-template-columns: 1fr; }
  .area-card__bg-num { font-size: 5.5rem; }
  .section-title { flex-direction: column !important; align-items: flex-start !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM VISUAL UPGRADES — skills: gsap-scrolltrigger, ui-animation,
   modern-web-design, locomotive-scroll, ui-ux-pro-max
   ═══════════════════════════════════════════════════════════════ */

/* ─── FILM GRAIN CINEMATIC OVERLAY ──────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9996;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.065'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: grainShift 0.22s steps(1) infinite;
  will-change: transform;
}
@keyframes grainShift {
  0%   { transform: translate(0px, 0px); }
  14%  { transform: translate(-4px, -9px); }
  28%  { transform: translate(-13px, 5px); }
  42%  { transform: translate(7px, -12px); }
  57%  { transform: translate(-5px, 11px); }
  71%  { transform: translate(13px, -3px); }
  85%  { transform: translate(-7px, 8px); }
  100% { transform: translate(3px, -10px); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ─── CUSTOM CURSOR — dot + luminous halo ────────────────────── */
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  will-change: transform;
}

/* Crisp silver dot — snaps to cursor */
.cursor__dot {
  width: 5px; height: 5px;
  background: rgba(220, 226, 234, 0.95);
  box-shadow: 0 0 6px rgba(220,226,234,0.6);
  transition:
    opacity   0.25s ease,
    width     0.22s cubic-bezier(0.22,1,0.36,1),
    height    0.22s cubic-bezier(0.22,1,0.36,1),
    background 0.22s ease,
    box-shadow 0.22s ease;
}

/* Soft luminous halo — no border, pure glow, lags behind */
.cursor__ring {
  width: 72px; height: 72px;
  border: none;
  background: radial-gradient(
    circle,
    rgba(168,178,193,0.11) 0%,
    rgba(168,178,193,0.04) 45%,
    transparent 70%
  );
  filter: blur(1.5px);
  transition:
    opacity    0.3s ease,
    width      0.55s cubic-bezier(0.22,1,0.36,1),
    height     0.55s cubic-bezier(0.22,1,0.36,1),
    background 0.45s ease,
    filter     0.45s ease;
}

/* Hover: dot → gold, halo → warm gold glow */
.cursor__dot.is-hover {
  width: 7px; height: 7px;
  background: rgba(201,168,76,0.95);
  box-shadow: 0 0 10px rgba(201,168,76,0.7), 0 0 20px rgba(201,168,76,0.25);
}
.cursor__ring.is-hover {
  width: 88px; height: 88px;
  background: radial-gradient(
    circle,
    rgba(201,168,76,0.13) 0%,
    rgba(201,168,76,0.05) 45%,
    transparent 70%
  );
  filter: blur(2px);
}

/* Press: dot shrinks to a point, halo pulses inward */
.cursor__dot.is-pressing {
  width: 3px; height: 3px;
  background: rgba(220,226,234,1);
  box-shadow: 0 0 8px rgba(220,226,234,0.9);
}
.cursor__ring.is-pressing {
  width: 44px; height: 44px;
  background: radial-gradient(
    circle,
    rgba(220,226,234,0.18) 0%,
    rgba(220,226,234,0.06) 50%,
    transparent 70%
  );
  filter: blur(0.5px);
}

/* Hide native cursor on desktop */
@media (pointer: fine) {
  html, *, *::before, *::after { cursor: none !important; }
}
@media (pointer: coarse) {
  .cursor__dot, .cursor__ring { display: none !important; }
}

/* ─── MARQUEE TICKER STRIP ───────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  border-top:    1px solid rgba(168,178,193,0.06);
  border-bottom: 1px solid rgba(168,178,193,0.06);
  padding: 0.95rem 0;
  background: rgba(4,4,4,0.9);
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.marquee-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.59rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(168,178,193,0.3);
  padding: 0 1.85rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.marquee-item:hover { color: rgba(168,178,193,0.62); }
.marquee-sep {
  color: rgba(168,178,193,0.13);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ─── HERO IMAGE AURA + DEPTH ────────────────────────────────── */
.hero__justice {
  isolation: isolate;
}
.hero__justice::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(
    ellipse 55% 65% at 62% 42%,
    rgba(122,150,174,0.11) 0%,
    rgba(58,123,213,0.05) 45%,
    transparent 72%
  );
  z-index: -1;
  pointer-events: none;
  animation: heroAura 7s ease-in-out infinite alternate;
}
@keyframes heroAura {
  from { opacity: 0.65; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.05); }
}

/* ─── HERO BADGE GLOW PULSE ──────────────────────────────────── */
.hero .badge {
  position: relative;
  overflow: visible;
}
.hero .badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(ellipse, rgba(122,150,174,0.2) 0%, transparent 70%);
  animation: badgePulse 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes badgePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}

/* ─── STAT NUMBER: subtle shimmer on reveal ──────────────────── */
.stat__number {
  position: relative;
}
.stat.visible .stat__number::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(168,178,193,0.12), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.2s ease 0.3s forwards;
}
@keyframes shimmer {
  from { background-position: -200% 0; opacity: 1; }
  to   { background-position: 200% 0; opacity: 0; }
}

/* ─── AREA CARDS: shimmer on hover ──────────────────────────── */
.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(168,178,193,0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.area-card:hover::before { opacity: 1; }

/* ─── CONFIANZA CARDS: radial glow on hover ──────────────────── */
.confianza-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(122,150,174,0.07) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.confianza-card:hover::before { opacity: 1; }

/* ─── ANALYSIS CARD COVER: zoom on hover ────────────────────── */
.analysis-card__cover svg {
  transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.analysis-card:hover .analysis-card__cover svg {
  filter: brightness(1.22) saturate(1.1);
  transform: scale(1.03);
}

/* ─── HERO SCROLL INDICATOR: stronger pulse ──────────────────── */
.hero__scroll-line {
  background: linear-gradient(to bottom, rgba(168,178,193,0.7), transparent);
}

/* ─── SECTION LABELS: animated underline ────────────────────── */
.manifesto-section__label::after,
.areas-section__header-main .label::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: rgba(122,150,174,0.6);
  margin-top: 0.6rem;
  transition: width 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
.manifesto-section__label.visible::after,
.areas-section__header-main .label.visible::after {
  width: 48px;
}

/* ─── BOUTIQUE SECTION: glass chrome shimmer ─────────────────── */
.bp__chrome {
  position: relative;
  overflow: hidden;
}
.bp__chrome::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: chromeShimmer 4s ease-in-out infinite 2s;
}
@keyframes chromeShimmer {
  0%   { left: -100%; opacity: 0; }
  40%  { opacity: 1; }
  100% { left: 200%; opacity: 0; }
}

/* ─── PILLAR ROWS: left border on hover ─────────────────────── */
.pillar {
  padding-left: 1rem;
  border-left: 2px solid transparent;
  transition: border-color 0.35s ease, background 0.3s ease, padding-left 0.35s ease;
  margin-left: -1rem;
}
.pillar:hover {
  border-left-color: rgba(122,150,174,0.45);
  padding-left: 1.5rem;
}
