/* =========================================================
   LERMONY STUDIO — Design system
   ========================================================= */

:root {
  --bg-primary: #080A12;
  --bg-secondary: #0E1220;
  --surface: #141A2A;
  --surface-light: #1E2638;

  --text-primary: #F4F6FA;
  --text-secondary: #9BA5B7;
  --text-muted: #6B7488;

  --accent-purple: #7C3AED;
  --accent-blue: #2563EB;
  --accent-yellow: #FACC15;

  --border: rgba(244, 246, 250, 0.08);
  --border-strong: rgba(244, 246, 250, 0.16);

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Sora', sans-serif;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --container: 1180px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 38% at 12% 8%, rgba(124, 58, 237, 0.20), transparent 62%),
    radial-gradient(46% 40% at 92% 18%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(50% 42% at 85% 78%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(40% 34% at 8% 82%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(30% 26% at 50% 50%, rgba(250, 204, 21, 0.03), transparent 65%);
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--accent-yellow);
  color: #0C0C0C;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.section-lead {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 620px;
  margin-bottom: 8px;
  font-weight: 300;
}

.grad-text {
  background: linear-gradient(120deg, #C9AFFF 0%, #8FB3FF 45%, #FFE382 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent-purple), var(--accent-blue));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(124, 58, 237, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-yellow); color: var(--accent-yellow); }
.btn-small { padding: 10px 20px; font-size: 0.85rem; }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 10, 18, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.nav-logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 240px;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color .2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 clamp(20px, 5vw, 40px) 20px;
}
.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.nav-mobile .btn { margin-top: 14px; width: fit-content; }

.nav.is-open .nav-mobile { display: flex; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-img { height: 36px; }
}

@media (max-width: 420px) {
  .nav-logo-img { height: 30px; }
}

/* =========================================================
   HERO — centrado, con fotografía como fondo
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px clamp(20px, 5vw, 40px) 100px;
  overflow: clip;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Fotografía — cover, sin deformar, ligeramente centrada hacia el escritorio */
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-office.jpg");
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
}

/* Overlay oscuro y sutil — reduce luminosidad sin ocultar la escena.
   Más oscuro donde vive el texto (centro), más transparente en los bordes
   para conservar el skyline y los reflejos violeta. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 18, 0.55) 0%, rgba(8, 10, 18, 0.35) 30%, rgba(8, 10, 18, 0.5) 70%, rgba(8, 10, 18, 0.82) 100%),
    radial-gradient(60% 50% at 50% 42%, rgba(8, 10, 18, 0.55), transparent 70%),
    rgba(45, 15, 74, 0.18);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero-heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* El botón secundario necesita un respaldo propio sobre la fotografía;
   .btn-ghost en el resto del sitio sigue transparente. */
.hero-actions .btn-ghost {
  background: rgba(8, 10, 18, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(244, 246, 250, 0.35);
}
.hero-actions .btn-ghost:hover {
  background: rgba(8, 10, 18, 0.55);
  border-color: var(--accent-yellow);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-yellow);
  margin: 8px auto 0;
  animation: scrollCue 2s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* Tablet / móvil: overlay algo más oscuro y el encuadre se recorta hacia
   el centro-derecha (escritorio + luces), evitando el punto más brillante
   del skyline justo detrás del título. */
@media (max-width: 860px) {
  .hero-photo { background-position: 62% 68%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 10, 18, 0.68) 0%, rgba(8, 10, 18, 0.5) 32%, rgba(8, 10, 18, 0.62) 70%, rgba(8, 10, 18, 0.88) 100%),
      radial-gradient(70% 55% at 50% 40%, rgba(8, 10, 18, 0.62), transparent 72%),
      rgba(45, 15, 74, 0.22);
  }
}


/* =========================================================
   SERVICIOS
   ========================================================= */
.services { padding: 120px 0 100px; position: relative; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}
.mechanisms {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.mechanisms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
}
.mechanism-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.mechanism-item p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .mechanisms-grid { grid-template-columns: 1fr; gap: 24px; }
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(20, 26, 42, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 36px 30px;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,0.5);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  background: rgba(30, 38, 56, 0.8);
  box-shadow: 0 28px 56px -20px rgba(124, 58, 237, 0.35);
}
.service-card--featured {
  border-color: rgba(250, 204, 21, 0.35);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.14), rgba(20, 26, 42, 0.75));
}
.service-card--featured:hover {
  border-color: var(--accent-yellow);
  box-shadow: 0 28px 56px -20px rgba(250, 204, 21, 0.25);
}
.service-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(120deg, var(--accent-purple), var(--accent-blue));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
}
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.95), rgba(37, 99, 235, 0.6) 68%);
  box-shadow: 0 14px 32px -10px rgba(124, 58, 237, 0.55), 0 0 42px -12px rgba(37, 99, 235, 0.45);
}
.service-card--featured .service-icon {
  color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.95), rgba(37, 99, 235, 0.65) 55%, rgba(250, 204, 21, 0.4) 100%);
  box-shadow: 0 14px 32px -10px rgba(124, 58, 237, 0.6), 0 0 46px -10px rgba(250, 204, 21, 0.4);
}
.service-icon svg { width: 52%; height: 52%; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-hook { color: var(--text-primary); font-weight: 500; font-size: 0.98rem; line-height: 1.5; margin-bottom: 10px; }
.service-desc { color: var(--text-secondary); font-weight: 300; font-size: 0.9rem; line-height: 1.6; margin-bottom: 18px; }
.service-benefit {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-yellow);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.service-cta {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.service-cta:hover { color: var(--accent-purple); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */
.about { padding: 100px 0; background: rgba(14, 18, 32, 0.55); }
.about-inner { max-width: 700px; }
.about-body {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 8px;
}
.trust-list {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-list li {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* =========================================================
   CON QUIÉN TRABAJAMOS — persona cards
   ========================================================= */
.audience { padding: 120px 0; }
.persona-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.audience .persona-grid { max-width: 760px; }
.persona-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: rgba(20, 26, 42, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,0.5);
  padding: 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.persona-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  background: rgba(30, 38, 56, 0.8);
  box-shadow: 0 28px 56px -20px rgba(124, 58, 237, 0.3);
}
.persona-art {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
}
.persona-art svg { width: 34px; height: 34px; }
.persona-art--contadores { background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue)); box-shadow: 0 14px 30px -12px rgba(124, 58, 237, 0.55); }
.persona-art--abogados { background: linear-gradient(135deg, var(--accent-blue), #4C4FE0); box-shadow: 0 14px 30px -12px rgba(37, 99, 235, 0.55); }
.persona-art--b2b { background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow)); box-shadow: 0 14px 30px -12px rgba(250, 204, 21, 0.4); }

.persona-card h3, .persona-card h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.persona-card p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}
.persona-link {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--accent-yellow);
  font-weight: 600;
}
.audience-cta { margin-top: 40px; }

@media (max-width: 900px) {
  .persona-grid { grid-template-columns: 1fr; }
}

/* Larger variant used on the selector page */
.persona-grid--large .persona-card { padding: 34px; }
.persona-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

/* =========================================================
   METODOLOGÍA (antes "Enfoque")
   ========================================================= */
.approach { padding: 100px 0; background: rgba(14, 18, 32, 0.55); }
.approach-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 700px;
}
.approach-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: none;
}
.approach-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  background: rgba(20, 26, 42, 0.4);
}
.approach-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.95), rgba(37, 99, 235, 0.6) 68%);
  box-shadow: 0 10px 26px -10px rgba(124, 58, 237, 0.5), 0 0 30px -10px rgba(37, 99, 235, 0.4);
}
.approach-icon svg { width: 55%; height: 55%; }
.approach-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.approach-item p { color: var(--text-secondary); font-weight: 300; font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .approach-grid--4 { grid-template-columns: 1fr; }
}

/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */
.faq { padding: 110px 0; }
.faq-list {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}
.faq-item {
  background: rgba(20, 26, 42, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq-item[open] { border-color: var(--accent-purple); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--accent-yellow); }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p { color: var(--text-secondary); font-weight: 300; font-size: 0.95rem; line-height: 1.6; max-width: 620px; }

.faq-cta {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.faq-cta p { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }

@media (max-width: 640px) {
  .faq-item summary { padding: 18px 20px; font-size: 0.92rem; }
  .faq-answer { padding: 0 20px 20px; }
  .faq-cta { align-items: stretch; text-align: center; }
  .faq-cta .btn { width: 100%; }
}

/* =========================================================
   CONTACT / DIAGNÓSTICO
   ========================================================= */
.contact { padding: 130px 0; }
.contact-inner { max-width: 560px; }
.form { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; color: var(--text-secondary); }
.form-row input, .form-row textarea, .form-row select {
  background: rgba(20, 26, 42, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color .2s var(--ease);
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239BA5B7'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%239BA5B7' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-row select option { background: var(--surface); color: var(--text-primary); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--accent-purple);
  outline: none;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-row-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-row-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent-purple); flex-shrink: 0; }
.form-row-check label { font-size: 0.85rem; }
.form-submit { margin-top: 6px; align-self: flex-start; }
.form-status { font-size: 0.9rem; color: var(--accent-yellow); min-height: 1.2em; }
.form-row input.is-invalid,
.form-row textarea.is-invalid { border-color: #F87171; }
.form-error {
  color: #F87171;
  font-size: 0.8rem;
  margin-top: -2px;
}
.form-status-msg {
  font-size: 0.88rem;
  color: var(--text-secondary);
  min-height: 1.2em;
}
.form-status-msg--error { color: #F87171; }
.form-submit:disabled { opacity: 0.7; cursor: default; }

/* =========================================================
   INTERNAL PAGES — con-quien-trabajamos
   ========================================================= */
.page-hero { padding: 160px 0 60px; }
.page-hero-inner { max-width: 720px; }
.page-hero--confirm {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 0;
}
.page-hero--confirm .page-hero-inner {
  text-align: center;
  margin: 0 auto;
}
.page-hero--confirm .section-lead { margin-left: auto; margin-right: auto; }
.page-hero--confirm .btn { margin-top: 8px; }

.persona-select { padding: 20px 0 120px; }

.persona-detail { padding: 60px 0; }
.persona-detail--alt { background: var(--bg-secondary); }

.problems-home { padding: 100px 0; background: rgba(14, 18, 32, 0.4); }
.problems-home .problem-grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
@media (max-width: 560px) {
  .problems-home .problem-grid { grid-template-columns: 1fr; }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
  margin-top: 48px;
}
.problem-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.problem-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.95), rgba(37, 99, 235, 0.6) 68%);
  box-shadow: 0 10px 26px -10px rgba(124, 58, 237, 0.5), 0 0 30px -10px rgba(37, 99, 235, 0.4);
}
.problem-icon svg { width: 54%; height: 54%; }
.problem-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.problem-item p { color: var(--text-secondary); font-weight: 300; line-height: 1.6; font-size: 0.92rem; max-width: 320px; }

@media (max-width: 720px) {
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
}

.persona-cta { padding: 100px 0 140px; text-align: center; }
.persona-cta-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.persona-cta .section-lead { margin: 0 auto 28px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.footer-logo span { color: var(--text-secondary); font-weight: 400; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 8px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  width: fit-content;
  transition: color .2s var(--ease);
}
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-muted); }
a.footer-contact-item:hover { color: var(--accent-yellow); }
a.footer-contact-item:hover svg { color: var(--accent-yellow); }
.footer-contact-item--static { cursor: default; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--border);
  padding: 26px clamp(20px, 5vw, 40px) 30px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: transform .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social svg { width: 20px; height: 20px; }
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  transform: translateY(-2px) scale(1.08);
}
.footer-social a:focus-visible { outline: 2px solid var(--accent-yellow); outline-offset: 3px; }

/* =========================================================
   REVEAL ANIMATION (IntersectionObserver driven)
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
