/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:           #ffffff;
  --bg-2:         #f0f6fb;
  --bg-dark:      #0f1e2e;
  --bg-dark-2:    #162535;
  --ink:          #0f1e2e;
  --ink-soft:     #2c3d52;
  --ink-mute:     #6b7a8d;
  --accent:       #468FC9;
  --accent-dark:  #2d6fa8;
  --accent-light: #84C4E3;
  --accent-pale:  #deeef8;
  --cream:        #f8f5f0;
  --white:        #ffffff;
  --line:         rgba(15, 30, 46, 0.08);
  --line-light:   rgba(255,255,255,0.12);

  --sans:   'Inter', system-ui, sans-serif;
  --serif:  'Fraunces', Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:      72px;
  --container:  1140px;
  --gutter:     clamp(1.25rem, 5vw, 3rem);
  --radius:     12px;
  --radius-lg:  20px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--accent-pale); color: var(--accent-dark); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--accent); color: var(--white);
  z-index: 9999; border-radius: 8px; font-size: .9rem; font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--container), 100%);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-header .section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* =============================================================
   4. Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background .18s, color .18s, border-color .18s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(70,143,201,.28);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-pale);
  box-shadow: 0 6px 18px rgba(70,143,201,.15);
}

.btn-full { width: 100%; justify-content: center; }

/* =============================================================
   5. Navegación
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s var(--ease-soft), box-shadow .3s;
  background: rgba(255,255,255,0);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(15,30,46,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo:hover { opacity: .8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width .25s var(--ease-out);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }
.nav-cta.btn { padding: .55rem 1.25rem; font-size: .88rem; }
.nav-cta::after { display: none; }
.nav-cta.btn-primary:hover { color: #fff; }
.nav-linkedin { display: flex; align-items: center; padding: 0; }
.nav-linkedin::after { display: none; }
.nav-linkedin svg { display: block; }
/* Nav sobre fondo oscuro (página de contacto) */
.page-dark-bg .nav:not(.is-scrolled) .nav-link { color: rgba(255,255,255,.85); }
.page-dark-bg .nav:not(.is-scrolled) .nav-link:hover { color: #fff; }
.page-dark-bg .nav:not(.is-scrolled) .nav-toggle-bar { background: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle-bar {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .25s;
}
.nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Vídeo de fondo */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay: blanco opaco en la zona de texto, transparente hacia la derecha */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.80) 40%,
      rgba(255,255,255,0.35) 70%,
      rgba(255,255,255,0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.15) 0%,
      transparent 30%,
      transparent 70%,
      rgba(255,255,255,0.1) 100%
    );
}

.hero-deco {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 45vw, 600px);
  color: var(--accent);
  pointer-events: none;
  opacity: .25;
  z-index: 2;
}
.hero-mountain { width: 100%; height: auto; }

.hero-inner {
  position: relative; z-index: 3;
  padding-top: 4rem;
  padding-bottom: 5rem;
  max-width: 100%;
}

.hero-eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 100%;
  margin-bottom: 2.5rem;
}

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

/* =============================================================
   7. Manifiesto
   ============================================================= */
.manifesto { padding: 6rem 0; }

.manifesto-inner {
  max-width: 820px;
  margin-inline: auto;
}

/* Carrusel manifiesto */
.manifesto-carousel { position: relative; margin-bottom: 3rem; }
.manifesto-slides { overflow: hidden; }
.manifesto-slide {
  display: none;
  animation: slideFadeIn .4s ease;
}
.manifesto-slide.active { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.5rem; align-items: start; }
@keyframes slideFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.manifesto-num {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  padding-top: .3rem;
}

.manifesto-text {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.9;
  text-align: justify;
  margin: 0;
}

.manifesto-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.manifesto-arrow {
  background: none; border: 1.5px solid var(--line);
  border-radius: 50%; width: 36px; height: 36px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: border-color .2s, color .2s;
}
.manifesto-arrow:hover { border-color: var(--accent); color: var(--accent); }
.manifesto-arrow svg { width: 14px; height: 14px; }
.manifesto-dots { display: flex; gap: .5rem; }
.manifesto-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0; flex-shrink: 0; display: block;
}
.manifesto-dot.active { background: var(--accent); transform: scale(1.3); }

.manifesto-banner {
  width: 100%;
  height: 260px;
  overflow: hidden;
  margin: 3.5rem 0;
}

.manifesto-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(.88rem, 1.4vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
  border: none;
  padding: 0 1rem 2rem;
}

.manifesto-quote::before {
  content: '';
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

/* =============================================================
   8. Secciones de servicios
   ============================================================= */
.section-bg { background: var(--bg-2); }

.section-empresas { padding: 6rem 0; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border-left: 4px solid var(--accent-light);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-left-color .28s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(70,143,201,.12);
  border-left-color: var(--accent);
}

.service-icon {
  width: 48px; height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .75rem;
}

.service-card > p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-size: .98rem;
  line-height: 1.7;
}

.service-list {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: .92rem;
  color: var(--ink-soft);
}
.service-list li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

.service-plans {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.plan-tag {
  font-size: .78rem;
  font-weight: 500;
  padding: .3rem .8rem;
  border-radius: 20px;
  background: var(--accent-pale);
  color: var(--accent-dark);
  letter-spacing: .03em;
}
.plan-tag--premium {
  background: var(--accent);
  color: var(--white);
}

.cta-centered { text-align: center; }

/* Empresas — encabezado */
.empresas-header {
  margin-bottom: 3.5rem;
}
.empresas-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.empresas-intro {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.empresas-header--centered {
  text-align: center;
}
.empresas-header--centered .empresas-intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Empresas — tarjetas de servicio */
.empresas-servicios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .empresas-servicios { grid-template-columns: repeat(2, 1fr); }
}

.empresa-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid rgba(70,143,201,.13);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s;
}
.empresa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(70,143,201,.13);
  border-color: var(--accent);
}

.empresa-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.empresa-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter .5s var(--ease-out), transform .5s var(--ease-out);
}
.empresa-card:hover .empresa-card-img img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.empresa-card-body {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.75rem 1.75rem 1.5rem;
  flex: 1;
}

.empresa-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}

.empresa-card p {
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.empresa-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
}
.empresa-card-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.empresa-card:hover .empresa-card-cta svg { transform: translateX(4px); }

/* Para profesionales */
.section-profesionales { padding: 6rem 0; }

.profesionales-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.profesionales-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}
.profesionales-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.plan-fila {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
.plan-fila:last-of-type { margin-bottom: 0; }

.plan-fila-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15,30,46,.14);
  align-self: stretch;
  min-height: 300px;
}
.plan-fila-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.plan-contenido {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plan-nivel {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(70,143,201,.1);
  padding: .4rem 1.2rem;
  border-radius: 99px;
  width: fit-content;
}

.plan-nombre {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  margin: 0;
}

.plan-subtitulo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

.plan-desc {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

.plan-bloque { display: flex; flex-direction: column; gap: .6rem; }

.plan-bloque-titulo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.plan-bloque-titulo svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

.plan-card ul,
.plan-contenido ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.plan-card ul li,
.plan-contenido ul li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.5;
}
.plan-card ul li::before,
.plan-contenido ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.5;
}

.plan-duracion {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.plan-cta { margin-top: auto; align-self: flex-start; }

.plan-logros li { line-height: 1.65; }
.plan-logros li strong { color: var(--ink); }

/* Valoraciones — carrusel */
.valoraciones { margin-top: 5rem; }

.carrusel {
  position: relative;
  overflow: hidden;
}

.carrusel-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.valoracion-card {
  min-width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: #fff;
  border: 1.5px solid rgba(70,143,201,.12);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin: 0;
  position: relative;
  box-sizing: border-box;
}

.valoracion-foto {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 16px rgba(70,143,201,.18);
}

.valoracion-body { flex: 1; }

.valoracion-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-light);
  opacity: .5;
}
.valoracion-card p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.75;
  margin: 1.5rem 0 1.25rem;
  font-style: italic;
}
.valoracion-card footer {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.valoracion-card footer strong {
  font-size: .9rem;
  color: var(--ink);
}
.valoracion-card footer span {
  font-size: .82rem;
  color: var(--ink-soft);
  opacity: .7;
}

/* Controles carrusel */
.carrusel-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.carrusel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(70,143,201,.35);
  background: #fff;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  flex-shrink: 0;
}
.carrusel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.carrusel-btn svg { width: 20px; height: 20px; }

.carrusel-dots {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.carrusel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(70,143,201,.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.carrusel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* CTA tras valoraciones */
.prof-cta-banner {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(70,143,201,.08) 0%, rgba(132,196,227,.12) 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(70,143,201,.15);
}
.prof-cta-texto {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 860px;
  margin: 0 auto 2rem;
}

.profesionales-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.profesionales-graphic {
  max-width: 200px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.profesionales-graphic svg { width: 100%; height: auto; }

.feature-quote {
  background: var(--accent-pale);
  border-radius: var(--radius);
  padding: 2rem;
  border: none;
}
.feature-quote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--accent-dark);
  line-height: 1.5;
  text-wrap: balance;
}

.profesionales-text .section-kicker { margin-top: 0; }
.profesionales-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}
.profesionales-text p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}
.profesionales-text .service-list { margin: 1.5rem 0 2rem; }
.profesionales-text .btn { display: inline-flex; }

/* =============================================================
   9. Estadísticas
   ============================================================= */
/* Logos clientes */
.clientes {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg, #fff);
}
.clientes-titulo {
  text-align: center;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 3rem;
}
.clientes-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
}
.cliente-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  opacity: .85;
  transition: opacity .3s, transform .3s;
}
.cliente-logo:hover { opacity: 1; transform: scale(1.05); }

.section-bg-dark { background: var(--bg-dark); padding: 5rem 0; }

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

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  letter-spacing: .03em;
}

/* =============================================================
   10. Valores
   ============================================================= */
.valores { padding: 6rem 0; }

.valores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.valor-item {
  perspective: 900px;
  cursor: pointer;
  min-height: 200px;
  border-radius: var(--radius-lg, 12px);
}
.valor-flip {
  position: relative;
  width: 100%; height: 100%; min-height: 200px;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  border-radius: inherit;
}
.valor-item.flipped .valor-flip { transform: rotateY(180deg); }
.valor-front, .valor-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: inherit;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
}
.valor-front {
  background: var(--surface, #fff);
  display: flex; flex-direction: column; justify-content: flex-start;
  transition: border-color .25s, box-shadow .25s;
}
.valor-item:hover .valor-front {
  border-color: var(--accent-light);
  box-shadow: 0 6px 24px rgba(70,143,201,.09);
}
.valor-back {
  background: var(--accent-dark, #1a3550);
  color: #fff;
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
  border-color: transparent;
}
.valor-back p, .valor-back h3, .valor-back * { color: #fff !important; font-size: .97rem; line-height: 1.7; margin: 0; }

.valor-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(70,143,201,.08);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.valor-icon svg { width: 22px; height: 22px; }

.valor-num {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: .75rem;
}
.valor-item h3 {
  font-family: var(--font-sans, var(--sans));
  font-size: .82rem;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .55rem;
  color: var(--ink);
}
.valor-item p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   11. De la montaña a las personas
   ============================================================= */
.quien-soy { padding: 6rem 0; }

.quien-header {
  text-align: center;
  margin-bottom: 4rem;
}
.quien-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.quien-bloque {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 5rem;
}
.quien-bloque:last-child { margin-bottom: 0; }

.quien-img {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.quien-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 20px 60px rgba(15,30,46,.15);
}
.quien-img--landscape img {
  aspect-ratio: 3/2;
  object-position: center;
}
.quien-img--landscape {
  max-width: 700px;
}
.foto-deco {
  position: absolute;
  bottom: -14px; right: -14px;
  width: 55%; height: 55%;
  border: 3px solid var(--accent-light);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .5;
}

.quien-copy p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.85;
}
.quien-copy p:last-of-type { margin-bottom: 1.5rem; }
.quien-copy .btn { margin-top: 0.5rem; }

/* =============================================================
   12. Contacto
   ============================================================= */
.contacto { padding: 6rem 0; background: var(--ink); }

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.contacto-texto .section-kicker { color: var(--accent-light); }
.contacto-texto h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.contacto-texto > p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 2rem;
}
.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.contacto-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  transition: color .2s;
}
.contacto-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.contacto-link:hover { color: var(--accent-light); }
.contacto-location { cursor: default; color: rgba(255,255,255,.6); }
.contacto-location:hover { color: rgba(255,255,255,.6); }

/* Formulario */
.contacto-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(70,143,201,.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a8d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  align-items: center;
  gap: .75rem;
}
.form-success:not([hidden]) {
  display: flex;
  background: var(--accent-pale);
  border-radius: 8px;
  padding: 1rem;
  color: var(--accent-dark);
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success p { font-size: .92rem; line-height: 1.4; margin: 0; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer {
  background: var(--bg-dark-2);
  padding: 3rem 0;
  border-top: 1px solid var(--line-light);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}
.footer-logo img { height: 30px; width: auto; margin-inline: auto; }
.footer-logo:hover { opacity: .75; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.footer-nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent-light); }
.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: center;
}
.footer-contact a,
.footer-contact span {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-contact a:hover { color: var(--accent-light); }
.footer-social-link { display: flex; align-items: center; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: center;
  align-items: center;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: center;
}
.footer-legal a {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.65); }

/* =============================================================
   7. Animaciones / reveals
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Defensive: reveal[data-split] never invisible */
[data-reveal][data-split] {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.services-grid [data-reveal]:nth-child(2)   { transition-delay: .12s; }
.valores-grid [data-reveal]:nth-child(2)    { transition-delay: .08s; }
.valores-grid [data-reveal]:nth-child(3)    { transition-delay: .16s; }
.valores-grid [data-reveal]:nth-child(4)    { transition-delay: .24s; }
.valores-grid [data-reveal]:nth-child(5)    { transition-delay: .32s; }
.valores-grid [data-reveal]:nth-child(6)    { transition-delay: .40s; }
.stats-grid [data-reveal]:nth-child(2)      { transition-delay: .08s; }
.stats-grid [data-reveal]:nth-child(3)      { transition-delay: .16s; }
.stats-grid [data-reveal]:nth-child(4)      { transition-delay: .24s; }

/* Hero reveals */
.hero [data-reveal]:nth-child(1) { transition-delay: .1s; }
.hero [data-reveal]:nth-child(2) { transition-delay: .22s; }
.hero [data-reveal]:nth-child(3) { transition-delay: .34s; }
.hero [data-reveal]:nth-child(4) { transition-delay: .46s; }

/* =============================================================
   8. Responsivo
   ============================================================= */
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: repeat(4, 1fr); }
  .valores-grid  { grid-template-columns: repeat(2, 1fr); }

  .profesionales-inner { grid-template-columns: 1fr 1fr; }
  .plan-fila {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .plan-fila--invertida .plan-fila-img { order: 2; }
  .plan-fila--invertida .plan-contenido { order: 1; }

  .quien-bloque {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .quien-bloque--invertido .quien-img { order: 2; }
  .quien-bloque--invertido .quien-copy { order: 1; }
  .quien-img--landscape {
    max-width: none;
    margin-inline: 0;
    width: 100%;
  }

  .contacto-inner  { grid-template-columns: 1fr 1.1fr; align-items: start; }

  .footer-inner { grid-template-columns: auto 1fr auto; text-align: left; }
  .footer-logo img { margin-inline: 0; }
  .footer-nav { justify-content: center; }
  .footer-contact { align-items: flex-end; }
  .footer-bottom { justify-content: space-between; }
  .footer-legal { justify-content: flex-start; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-links  { display: flex !important; }
  .valores-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    z-index: 99;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-link { font-size: 1.2rem; }
  .nav-cta.btn { padding: .75rem 2rem; font-size: 1rem; }
}

/* =============================================================
   9. Reduced-motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
