/* ─────────────────────────────────────────────────────────────
   KIPO HR — Estilos globales
   Incluye: reset, design tokens (CSS vars), utilidades globales.
   Los estilos específicos de cada sección viven en blocks/<nombre>/style.css
   ───────────────────────────────────────────────────────────── */

/* ─── RESET ──────────────────────────────────────────────────── */
#kipo-landing *,
#kipo-landing *::before,
#kipo-landing *::after,
[class*="wp-block-kipo-"] *,
[class*="wp-block-kipo-"] *::before,
[class*="wp-block-kipo-"] *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#kipo-landing,
[class*="wp-block-kipo-"] {
  font-family: 'Ubuntu', sans-serif;
  color: #0d1b2d;
  line-height: 1.5;
}

#kipo-landing {
  overflow-x: clip;
  padding-top: 72px;
}

:is(#kipo-landing, [class*="wp-block-kipo-"]) a          { text-decoration: none; color: inherit; }
:is(#kipo-landing, [class*="wp-block-kipo-"]) ul         { list-style: none; }
:is(#kipo-landing, [class*="wp-block-kipo-"]) button     { cursor: pointer; border: none !important; background: none; font-family: inherit; }
:is(#kipo-landing, [class*="wp-block-kipo-"]) img        { display: block; max-width: 100%; }

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --navy:       #1e2941;
  --navy-dark:  #111c44;
  --blue:       #3399ff;
  --text-gray:  #5c646f;
  --stat-color: #132946;
  --hero-bg:    #e9ecf7;
  --faq-bg:     #e4e9f5;
  --highlight:  #ccdef9;
  --green:      #4caf91;
  --yellow:     #f0ad2b;
  --white:      #ffffff;
  --black:      #0d1b2d;
}

/* ─── BOTONES GLOBALES ───────────────────────────────────────── */
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-primary {
  background: var(--navy) !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  height: 56px;
  padding: 0 16px 0 28px;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
  white-space: nowrap;
}
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-primary:hover { background: var(--navy-dark) !important; }

:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-icon {
  width: 40px;
  height: 40px;
  background: #fff !important;
  background-color: #fff !important;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-primary .btn-icon,
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-outline .btn-icon {
  background: #ffffff !important;
  background-color: #ffffff !important;
}
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-icon svg { width: 16px; height: 16px; color: #1E2941 !important; stroke: currentColor !important; }
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-primary > svg { color: #ffffff !important; stroke: currentColor !important; }
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-outline > svg { color: currentColor !important; stroke: currentColor !important; }

:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-outline {
  border: 2px solid var(--navy) !important;
  color: var(--navy) !important;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  height: 56px;
  padding: 0 32px;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
  background: transparent !important;
}
:is(#kipo-landing, [class*="wp-block-kipo-"]) .btn-outline:hover { background: var(--navy) !important; color: #fff !important; }

/* ─── SECTION SHARED ─────────────────────────────────────────── */
:is(#kipo-landing, [class*="wp-block-kipo-"]) .section-badge {
  display: inline-block;
  background: var(--navy-dark);
  color: #fff;
  font-family: 'Ubuntu Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 0;
}

:is(#kipo-landing, [class*="wp-block-kipo-"]) .section-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

:is(#kipo-landing, [class*="wp-block-kipo-"]) .section-badge-wrap::before,
:is(#kipo-landing, [class*="wp-block-kipo-"]) .section-badge-wrap::after {
  content: '';
  display: block;
  width: 200px;
  height: 1px;
  background: #D8D6D6;
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 768px) {
  :is(#kipo-landing, [class*="wp-block-kipo-"]) .section-badge-wrap::before,
  :is(#kipo-landing, [class*="wp-block-kipo-"]) .section-badge-wrap::after {
    display: none;
  }
}

:is(#kipo-landing, [class*="wp-block-kipo-"]) .section-title {
  font-family: 'Ubuntu Sans', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  color: #000;
  margin-bottom: 16px;
}

:is(#kipo-landing, [class*="wp-block-kipo-"]) .section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.kipo-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.8s ease;
}
.kipo-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
