/*
  =====================================================
  Hoja de estilos principal de Tempolider
  =====================================================
  Este archivo concentra todos los estilos visuales de la landing page.
  Aquí puedes editar colores, tamaños, espaciados, tipografías,
  layouts responsivos y animaciones sin afectar la estructura HTML.
*/

/*
  Variables globales del proyecto.
  Cambiar estos colores o valores afecta todo el sitio de forma consistente.
*/
:root {
  --primary: #0d427e;
  --primary-2: #0a3b72;
  --primary-deep: #042c52;
  --accent: #f6a52a;
  --accent-2: #f9b63e;
  --text: #1d2d3f;
  --muted: #5e6e82;
  --card-bg: #f7fbff;
  --white: #ffffff;
  --line: rgba(21, 54, 90, 0.12);
  --sky: #edf6ff;
  --bg: #eef4f8;
}

/*
  Reset base y estilos globales.
  Aquí se limpian márgenes, se define el box-sizing y la tipografía base.
*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-rendering: optimizeLegibility;
  text-rendering: optimizeLegibility;
}

.hero-copy h1,
.hero-copy h1 span {
  font-family: "Poppins", "Montserrat", "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

/*
  Animaciones de entrada tipo reveal.
  Se usan en secciones para dar sensación de aparición gradual al hacer scroll.
*/
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.reveal.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/*
  Transiciones generales para botones, tarjetas, notas y elementos interactivos.
*/
.button,
.inline-button,
.ghost-link,
.social-icons a,
.feature-card,
.solution-card,
.stat-item,
.hero-badge,
.floating-note {
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.button:hover,
.button:focus-visible,
.inline-button:hover,
.inline-button:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible,
.social-icons a:hover,
.social-icons a:focus-visible,
.feature-card:hover,
.feature-card:focus-within,
.solution-card:hover,
.solution-card:focus-within,
.stat-item:hover,
.stat-item:focus-within,
.hero-badge:hover,
.floating-note:hover {
  transform: translateY(-4px) scale(1.01);
}

.button:focus-visible,
.inline-button:focus-visible,
.ghost-link:focus-visible,
.social-icons a:focus-visible,
.feature-card:focus-within,
.solution-card:focus-within,
.stat-item:focus-within {
  outline: 3px solid rgba(88, 157, 255, 0.6);
  outline-offset: 3px;
}

/*
  Estructura base del layout general.
  page-shell: contenedor principal.
  container: ancho central reutilizable para secciones.
*/
.page-shell {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  background: #f5f8fb;
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

/*
  Header y navegación.
  Aquí se define la barra superior, marca, navegación y botón de llamada a la acción.
*/
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 72, 130, 0.08);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 6px;
}

.header-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
}

.header-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1f6fb8, #0e4d88);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  overflow: hidden;
}

.header-socials a:hover,
.header-socials a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(19, 72, 129, 0.18);
}

.header-socials a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.header-socials .icon-instagram {
  border-radius: 10px;
  font-size: 1.05rem;
  line-height: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-button {
  padding: 0 22px;
  min-width: 0;
  height: 40px;
  border-radius: 12px;
  font-size: 0.9rem;
  background: linear-gradient(180deg, #0d4d8d, #0c3d75);
  box-shadow: 0 12px 20px rgba(12, 61, 117, 0.2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(13, 66, 126, 0.12);
  background: rgba(13, 66, 126, 0.04);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 6px;
  background: var(--primary);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(170px, 15vw, 220px);
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b4b88, #0d5ea1);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.brand-arch {
  position: absolute;
  inset: 8px 9px 8px 9px;
  border-radius: 12px 12px 16px 16px;
  border: 3px solid var(--white);
  border-bottom-width: 5px;
}

.brand-arch::before,
.brand-arch::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 9px;
  background: var(--white);
  bottom: -4px;
}

.brand-arch::before {
  left: 4px;
}

.brand-arch::after {
  right: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  color: #1b2d3f;
}

.brand-subtitle {
  font-size: 0.5rem;
  color: #1f5f98;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav a {
  color: #1c3b58;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

/*
  Estilos reutilizables para botones primarios, ghost y botones internos.
*/
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  height: 46px;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(246, 165, 42, 0.25);
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.nav-button {
  padding: 0 20px;
  height: 42px;
  background: linear-gradient(180deg, #0c417d, #0a3f7a);
  color: var(--white);
  box-shadow: none;
  min-width: 168px;
}

/*
  Hero principal.
  Es la primera sección más grande y dominante con fondo azul, texto y imagen.
*/
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a3f7f 0%, #0f5e9d 30%, #0b3c72 100%);
  overflow: hidden;
  padding: 10px 0 34px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -5% -10% -5%;
  height: 180px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.15);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 575px;
  z-index: 2;
}

.hero-copy {
  padding-top: 32px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: #f6a52a;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.hero-copy h1 span {
  display: block;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 560px;
}

.hero-photo-wrap {
  width: min(100%, 560px);
  height: 520px;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.15));
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 40px 30px 18px 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
}

.hero-photo-wrap img {
  width: 95%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 220px 220px 0 0;
  clip-path: ellipse(48% 46% at 50% 48%);
}

.hero-badge {
  position: absolute;
  right: -12px;
  bottom: 48px;
  transform: rotate(10deg);
  background: linear-gradient(135deg, rgba(20, 73, 123, 0.1), rgba(9, 58, 100, 0.38));
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: white;
  padding: 18px 20px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  box-shadow: 0 16px 28px rgba(6, 30, 58, 0.28);
}

.hero-badge span {
  display: block;
  text-align: center;
}

/*
  Estadísticas en bloque horizontal bajo el hero.
*/
.stats-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(237, 245, 250, 0.92));
  padding: 20px 0 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  top: 0;
  align-items: stretch;
  justify-items: stretch;
  grid-auto-rows: 1fr;
}

.stat-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 82, 158, 0.08);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  column-gap: 22px;
  min-height: 110px;
  width: 100%;
  padding: 18px 20px;
  box-shadow: 0 18px 24px rgba(15, 78, 139, 0.06);
}

.stat-item:hover,
.stat-item:focus-within {
  box-shadow: 0 20px 30px rgba(15, 78, 139, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(13, 66, 126, 0.06);
  margin-left: 4px;
}

.stat-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  margin-left: 8px;
}

.stat-copy strong {
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.05em;
  color: #173d6a;
}

.stat-copy span {
  color: #2d4f72;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

/*
  Secciones de contenido general con títulos y tarjetas.
*/
.needs-section,
.solutions-section {
  padding: 76px 0 30px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #0a3d70;
  font-size: clamp(2rem, 3vw, 2.9rem);
  letter-spacing: -0.05em;
  font-weight: 800;
}

.section-heading p {
  margin: 10px 0 0;
  font-size: 1.1rem;
  color: #4d6178;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/*
  Tarjetas principales de empresas/candidatos/trabajadores.
*/
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  background: linear-gradient(180deg, rgba(13, 66, 126, 0.98), rgba(12, 77, 140, 0.98));
  box-shadow: 0 18px 28px rgba(19, 51, 87, 0.08);
}

.feature-card:hover,
.feature-card:focus-within {
  box-shadow: 0 22px 34px rgba(19, 51, 87, 0.12);
}

.feature-card-dark {
  background: linear-gradient(180deg, #0d2f60 0%, #0c4d8e 100%);
}

.feature-card-primary {
  background: linear-gradient(180deg, #0d4d8d 0%, #0a3d72 100%);
}

.feature-card .feature-visual {
  height: 195px;
  overflow: hidden;
}

.feature-card .feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.02);
  display: block;
}

.feature-card.feature-card-last .feature-visual img {
  object-position: center 28%;
}

.feature-content {
  position: relative;
  flex: 1;
  padding: 24px 22px 28px;
  color: var(--white);
}

.feature-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -50px auto 18px;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 8px;
  text-align: left;
  color: var(--white);
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  letter-spacing: -0.04em;
}

.feature-card p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.feature-card small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.6;
}

.inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6a72d, #f39d1b);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 14px 20px rgba(244, 151, 29, 0.22);
}

/*
  Tarjetas de soluciones con iconos y texto breve.
*/
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(11, 61, 116, 0.12);
  border-radius: 18px;
  padding: 28px 24px 24px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 20px rgba(14, 66, 121, 0.08);
}

.solution-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 72, 126, 0.04);
  border: 2px solid rgba(11, 72, 126, 0.18);
}

.solution-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  margin: 18px 0 10px;
  color: #0a3a72;
  font-size: 1.1rem;
  line-height: 1.2;
}

.solution-card p {
  margin: 0;
  color: #536a82;
  font-size: 0.96rem;
  line-height: 1.7;
  flex: 1;
}

.ghost-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(20, 88, 163, 0.5);
  color: #0e5b9e;
  font-weight: 700;
  font-size: 0.82rem;
  max-width: 170px;
}

/*
  Sección de por qué elegir Tempolider.
  Incluye media visual con imagen y nota flotante.
*/
.why-section {
  margin-top: 38px;
  background: linear-gradient(135deg, #0c3f7d 0%, #0c4b8a 100%);
  position: relative;
  overflow: hidden;
}

.why-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  min-height: 420px;
  gap: 26px;
  padding-top: 20px;
  padding-bottom: 18px;
}

.why-copy {
  color: var(--white);
  padding: 22px 0 18px;
}

.why-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.why-copy p {
  margin: 18px 0 28px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-bottom: 28px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.feature-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 1rem;
}

.why-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  min-height: 420px;
}

.why-photo-wrap {
  width: min(100%, 560px);
  height: 385px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 24px 28px rgba(0, 0, 0, 0.16);
}

.why-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.floating-note {
  position: absolute;
  right: 20px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  color: var(--white);
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  padding: 20px 24px;
  transform: rotate(-6deg);
  backdrop-filter: blur(8px);
}

.floating-note span {
  display: block;
  font-size: 1.2em;
}

/*
  Slider de marcas aliadas con movimiento continuo.
  Se usa una animación marquee para desplazar las imágenes en loop.
*/
.brands-section {
  background: var(--white);
  padding: 30px 0 18px;
}

.brands-row {
  position: relative;
  overflow: hidden;
  padding: 8px 0 12px;
  background: transparent;
}

.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 18px;
  animation: marquee 20s linear infinite;
}

.brands-row:hover .brands-track,
.brands-row:focus-within .brands-track {
  animation-play-state: paused;
}

.brands-row img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 180px;
  height: 52px;
  object-fit: contain;
  background: transparent;
  filter: none;
  opacity: 1;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brands-row:hover img,
.brands-row:focus-within img {
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*
  Página Nosotros / Sobre Tempolider.
  Se reutiliza la misma identidad institucional que la landing page principal.
*/
.about-page {
  background: var(--bg);
}

.workers-page {
  background: var(--bg);
}

.workers-hero {
  padding: 46px 0 28px;
}

.workers-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 28px;
  padding: 30px 26px;
  box-shadow: 0 20px 40px rgba(12, 61, 117, 0.06);
}

.workers-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--primary);
}

.workers-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 620px;
}

.workers-visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 420px;
  box-shadow: 0 24px 34px rgba(12, 61, 117, 0.12);
}

.workers-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workers-badge {
  position: absolute;
  right: 18px;
  bottom: 20px;
  background: rgba(246, 165, 42, 0.96);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(246, 165, 42, 0.25);
}

.workers-tools,
.workers-benefits,
.workers-convenios {
  padding: 30px 0 0;
}

.convenios-shell {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(12, 61, 117, 0.04);
  padding: 26px 18px 22px;
}

.convenios-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1240px;
}

.convenios-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 22px;
  padding: 8px 0;
  animation: convenios-scroll 26s linear infinite;
}

.convenio-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 170px;
  padding: 16px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 66, 126, 0.08);
  box-shadow: 0 12px 22px rgba(12, 61, 117, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.convenio-item:hover,
.convenio-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 24px rgba(12, 61, 117, 0.08);
}

.convenio-item img {
  width: 100%;
  max-width: 170px;
  max-height: 110px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(13, 66, 126, 0.06));
}

@keyframes convenios-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.workers-support {
  padding: 24px 0 0;
}

.workers-tools {
  padding-bottom: 36px;
}

.workers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
  align-items: stretch;
}

.workers-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 18px 32px rgba(12, 61, 117, 0.04);
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(13, 66, 126, 0.08);
  margin-bottom: 16px;
}

.mini-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workers-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--primary);
}

.workers-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  flex: 1 1 auto;
}

.workers-card .inline-button {
  display: none;
}

.workers-callout {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 18px;
}

.workers-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 760px);
  min-height: 62px;
  padding: 0 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f6a72d, #f39d1b);
  color: var(--white);
  font-size: clamp(1.6rem, 1.7vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 12px 20px rgba(246, 165, 42, 0.18);
}

.workers-cta span {
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.workers-policies {
  padding: 28px 0 0;
}

.workers-policy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 315px;
  padding: 24px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(13, 66, 126, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 32px rgba(12, 61, 117, 0.04);
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  margin: 0 auto 18px;
  color: var(--primary);
}

.info-card-icon svg,
.wide-policy-icon svg {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  text-align: center;
  font-size: clamp(1.08rem, 1.4vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.info-card a,
.workers-policy-wide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(246, 165, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
  margin: 0 auto;
}

.info-card a:hover,
.workers-policy-wide a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(246, 165, 42, 0.24);
}

.workers-policy-wide {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 22px 26px;
  border-radius: 22px;
  border: 1px solid rgba(13, 66, 126, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 32px rgba(12, 61, 117, 0.04);
}

.wide-policy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.workers-policy-wide h3 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.workers-policy-wide a {
  margin: 0;
}

.workers-benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #0c3f7d 0%, #0c4b8a 100%);
  border-radius: 28px;
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 30px 50px rgba(12, 61, 117, 0.16);
}

.workers-benefits-copy {
  padding: 38px 34px 38px 42px;
}

.workers-benefits-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--white);
}

.workers-benefits-copy .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.workers-benefits-visual {
  min-height: 420px;
}

.workers-benefits-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding-bottom: 30px;
}

.support-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 18px 32px rgba(12, 61, 117, 0.04);
}

.support-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
}

.support-card p,
.support-card a,
.support-card small,
.support-card strong {
  display: block;
}

.support-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.support-card strong {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.support-card a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .workers-hero-inner,
  .workers-benefits-inner {
    grid-template-columns: 1fr;
  }

  .workers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workers-policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .workers-grid,
  .workers-policy-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .workers-card,
  .info-card,
  .support-card {
    min-height: auto;
    border-radius: 18px;
  }

  .workers-policy-wide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 16px;
  }

  .workers-policy-wide h3 {
    font-size: clamp(1.35rem, 5vw, 2rem);
    line-height: 1.2;
  }

  .workers-policy-wide a {
    margin: 0 auto;
  }

  .info-card {
    padding: 20px 18px 18px;
  }

  .info-card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 14px;
  }

  .info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
  }
}

.about-hero {
  padding: 46px 0 28px;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 28px;
  padding: 30px 26px;
  box-shadow: 0 20px 40px rgba(12, 61, 117, 0.06);
}

.about-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--primary);
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 620px;
}

.about-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.about-metrics div {
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.about-metrics strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.05em;
}

.about-metrics span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.about-visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 420px;
  box-shadow: 0 24px 34px rgba(12, 61, 117, 0.12);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-values {
  padding: 14px 0 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 252, 0.9));
  border: 1px solid rgba(13, 66, 126, 0.1);
  border-radius: 26px;
  padding: 22px 18px 20px;
  box-shadow: 0 18px 28px rgba(12, 61, 117, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}

.value-card:nth-child(2) {
  animation-delay: 0.8s;
}

.value-card:nth-child(3) {
  animation-delay: 1.5s;
}

.value-card:nth-child(4) {
  animation-delay: 2.2s;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(13, 66, 126, 0.92), rgba(246, 165, 42, 0.9));
  border-radius: 26px 26px 0 0;
}

.value-card:hover,
.value-card:focus-within {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 26px 36px rgba(12, 61, 117, 0.12);
  border-color: rgba(13, 66, 126, 0.18);
}

.card-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.about-purpose {
  padding: 56px 0 14px;
}

.purpose-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #0c3f7d 0%, #0c4b8a 100%);
  border-radius: 28px;
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 30px 50px rgba(12, 61, 117, 0.16);
}

.purpose-copy {
  padding: 38px 34px 38px 42px;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f6a52a;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.8);
}

.purpose-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--white);
}

.purpose-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.purpose-visual {
  min-height: 420px;
}

.purpose-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-solutions {
  padding: 56px 0 18px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.about-solution-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(12, 61, 117, 0.06);
}

.about-solution-visual {
  height: 260px;
  overflow: hidden;
}

.about-solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-solution-body {
  padding: 24px 22px 26px;
}

.about-solution-body h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.about-solution-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.about-solution-body ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.9;
}

.team-section {
  padding: 54px 0 26px;
}

.team-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 26px;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 28px;
  padding: 30px 28px;
  box-shadow: 0 20px 40px rgba(12, 61, 117, 0.06);
}

.team-copy h2 {
  margin: 10px 0 4px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.team-copy h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 1.2rem;
}

.team-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

.team-profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 360px;
  box-shadow: 0 20px 32px rgba(12, 61, 117, 0.12);
}

.team-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav a.is-active {
  color: var(--primary);
  font-weight: 700;
}

/*
  Página Soluciones / Servicios.
  Mantiene la misma identidad premium del diseño general.
*/
.solutions-page {
  background: var(--bg);
}

.solutions-hero {
  padding: 42px 0 20px;
}

.hero-solutions-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 28px;
  padding: 30px 26px;
  box-shadow: 0 24px 40px rgba(12, 61, 117, 0.06);
}

.solutions-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--primary);
}

.solutions-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
  max-width: 620px;
}

.solutions-visual {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 34px rgba(12, 61, 117, 0.12);
}

.solutions-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-badge {
  position: absolute;
  left: 24px;
  bottom: 22px;
  background: rgba(9, 56, 104, 0.75);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 30px rgba(9, 56, 104, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.solutions-badge span,
.solutions-badge small {
  opacity: 0.9;
}

.solutions-badge strong {
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.solutions-showcase {
  padding: 32px 0 10px;
}

.solution-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.solution-feature-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 22px 32px rgba(12, 61, 117, 0.05);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 66, 126, 0.06);
  border: 1px solid rgba(13, 66, 126, 0.08);
  color: var(--primary);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-feature-card h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.solution-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.why-service {
  padding: 48px 0 12px;
}

.why-service-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #0d427e 0%, #0c4b8a 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(12, 61, 117, 0.14);
}

.why-service-copy {
  padding: 36px 34px 36px 42px;
  color: var(--white);
}

.why-service-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--white);
}

.why-service-copy .check-list {
  margin-bottom: 24px;
}

.why-service-copy .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.why-service-copy .check-list strong {
  color: var(--white);
}

.why-service-visual {
  min-height: 420px;
}

.why-service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.complementary-section {
  padding: 46px 0 10px;
}

.complementary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.complementary-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 20px 30px rgba(12, 61, 117, 0.05);
}

.mini-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(13, 66, 126, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.mini-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.complementary-card h3 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.complementary-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.cta-band {
  padding: 36px 0 20px;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  background: linear-gradient(135deg, #0d427e 0%, #0a3163 100%);
  border-radius: 22px;
  box-shadow: 0 26px 40px rgba(12, 61, 117, 0.14);
}

.cta-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.clients-section {
  padding: 14px 0 30px;
}

/*
  Página Clientes.
  Diseño premium con iconografía llamativa y cards para marcas, beneficios y testimonios.
*/
.clients-page {
  background: var(--bg);
}

.clients-hero {
  padding: 42px 0 20px;
}

.clients-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 28px;
  padding: 30px 26px;
  box-shadow: 0 24px 40px rgba(12, 61, 117, 0.06);
}

.clients-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--primary);
}

.clients-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
  max-width: 620px;
}

.clients-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 34px rgba(12, 61, 117, 0.12);
}

.clients-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-highlight-card {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: rgba(9, 56, 104, 0.8);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 18px;
  box-shadow: 0 18px 30px rgba(9, 56, 104, 0.25);
}

.client-highlight-card .mini-label {
  opacity: 0.8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-highlight-card strong {
  display: block;
  margin-top: 6px;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.client-highlight-card small {
  opacity: 0.9;
}

.clients-trust,
.clients-benefits,
.client-testimonials {
  padding: 28px 0 10px;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-logo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 16px 28px rgba(12, 61, 117, 0.04);
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.gradient-a { background: linear-gradient(135deg, #ff8a65, #ffb74d); }
.gradient-b { background: linear-gradient(135deg, #0d427e, #1ea7d6); }
.gradient-c { background: linear-gradient(135deg, #00b894, #55efc4); }
.gradient-d { background: linear-gradient(135deg, #ff5e62, #ff9f43); }
.gradient-e { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.gradient-f { background: linear-gradient(135deg, #00cec9, #00b894); }
.gradient-g { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.gradient-h { background: linear-gradient(135deg, #f6a52a, #f7d154); }

.client-logo-card span {
  color: #1c3b58;
  font-weight: 700;
  font-size: 0.95rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 20px 30px rgba(12, 61, 117, 0.05);
}

.benefit-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  margin-bottom: 14px;
}

.benefit-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: white;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-blue { background: linear-gradient(135deg, #0d427e, #1e88e5); }
.icon-gold { background: linear-gradient(135deg, #f6a52a, #f7d154); }
.icon-cyan { background: linear-gradient(135deg, #00a8c5, #34d3eb); }
.icon-purple { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }

.benefit-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.clients-results {
  padding: 40px 0 18px;
}

.results-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #0d427e 0%, #0b355f 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 42px rgba(12, 61, 117, 0.14);
}

.results-copy {
  padding: 36px 34px 36px 42px;
  color: var(--white);
}

.results-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--white);
}

.results-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.results-copy .check-list {
  margin-top: 22px;
}

.results-copy .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.results-card {
  padding: 34px 28px;
  display: grid;
  gap: 18px;
}

.result-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.result-metric strong {
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
}

.result-metric span {
  opacity: 0.85;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(13, 66, 126, 0.08);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 18px 28px rgba(12, 61, 117, 0.04);
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.person strong {
  color: var(--primary);
  font-size: 0.98rem;
}

.person span {
  color: var(--muted);
  font-size: 0.82rem;
}

/*
  Footer.
  Apartado final con identidad, datos de contacto y redes sociales.
*/
.site-footer {
  background: #0b1d2f;
  padding: 18px 0 14px;
  margin: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1260px, calc(100% - 16px));
  margin: 0 auto;
  background: rgba(220, 226, 232, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  box-shadow: 0 10px 18px rgba(10, 25, 52, 0.12);
  padding: 12px 16px 12px 18px;
  min-height: 116px;
}

.footer-brand {
  display: flex;
  align-items: center;
  min-width: 280px;
  flex: 0 0 auto;
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .brand-logo {
  width: clamp(180px, 17vw, 250px);
  max-height: 72px;
  display: block;
}

.footer-brand .brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0b4b88, #0a3c72);
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
}

.footer-brand .brand-mark::before,
.footer-brand .brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.footer-brand .brand-mark::before {
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-right-color: transparent;
  transform: rotate(-30deg);
}

.footer-brand .brand-mark::after {
  width: 10px;
  height: 10px;
  left: 12px;
  top: 15px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
}

.footer-brand .brand-title {
  display: block;
  font-size: clamp(2.4rem, 2.9vw, 3.8rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.08em;
  color: #0d3e74;
}

.footer-brand .brand-subtitle {
  display: block;
  font-size: 0.72rem;
  color: #2d4d68;
  margin-top: 4px;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1 1 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  flex: 1 1 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(12, 73, 130, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  min-width: 0;
}

.contact-item > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
  color: #f3a42a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-item span {
  display: block;
  color: #0d3e74;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 62, 116, 0.08);
  color: #0d3e74;
  flex-shrink: 0;
  line-height: 1;
}

.icon-circle svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #0d3e74;
  font-weight: 800;
  font-size: 0.82rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.footer-socials > span {
  color: #0d3e74;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-badge {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(11, 46, 81, 0.15);
}

.social-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
  Media queries responsivas.
  Ajustan el layout para tablet, móvil y pantallas pequeñas.
*/
@media (max-width: 1100px) {
  .nav-wrap {
    gap: 16px;
  }

  .main-nav {
    gap: 12px;
  }

  .about-hero-inner,
  .purpose-inner,
  .team-inner,
  .hero-solutions-inner,
  .why-service-inner,
  .clients-hero-inner,
  .results-wrap {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .solution-feature-list,
  .complementary-grid,
  .client-logo-grid,
  .benefits-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-solution-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 18px 0 0;
    text-align: center;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    padding-top: 16px;
  }

  .hero-badge {
    right: 50px;
  }

  .stats-wrap {
    padding-top: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

  .stat-item {
    min-height: 100px;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 18px;
  }

  .needs-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .why-features {
    justify-items: center;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .why-item {
    justify-content: center;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 18px 18px 20px;
  }

  .footer-brand {
    width: 100%;
    justify-content: center;
  }

  .footer-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .socials {
    width: 100%;
    margin-left: 0;
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 0;
  }

  .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(13, 66, 126, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(10, 48, 89, 0.12);
    z-index: 20;
  }

  .main-nav.is-open {
    display: flex;
    justify-content: center;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-radius: 10px;
  }

  .main-nav a:hover {
    background: rgba(13, 66, 126, 0.04);
  }

  .nav-button {
    min-width: unset;
    width: auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .site-header {
    position: sticky;
  }

  .nav-wrap {
    min-height: 72px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .about-hero,
  .solutions-hero,
  .clients-hero {
    padding-top: 30px;
  }

  .about-hero-inner,
  .hero-solutions-inner,
  .why-service-inner,
  .team-inner,
  .clients-hero-inner,
  .results-wrap {
    padding: 22px 18px;
  }

  .about-copy h1,
  .solutions-copy h1,
  .clients-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .value-grid,
  .solution-feature-list,
  .complementary-grid,
  .client-logo-grid,
  .benefits-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .purpose-copy,
  .why-service-copy,
  .results-copy {
    padding: 28px 20px;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding-top: 14px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 14px;
    border-radius: 18px;
  }

  .footer-brand {
    width: 100%;
    justify-content: center;
  }

  .footer-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .contact-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 14px;
    min-height: 64px;
    width: 100%;
    overflow-wrap: anywhere;
    border-radius: 14px;
  }

  .socials {
    width: 100%;
    margin-left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .social-icons {
    margin-top: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand {
    justify-content: center;
    min-width: 0;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.48rem;
  }

  .nav-actions {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-button {
    padding: 0 18px;
    height: 40px;
    font-size: 0.82rem;
  }

  .stats-wrap {
    padding-top: 22px;
  }

  .stats-grid,
  .solutions-grid,
  .brands-row,
  .footer-contact,
  .why-features {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 12px;
    margin-top: 0;
  }

  .stat-item {
    min-height: 92px;
    padding: 16px 18px;
    column-gap: 16px;
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .brands-row {
    gap: 12px;
    padding: 12px 0 14px;
    background: transparent;
  }

  .brands-row img {
    max-width: 150px;
    height: 42px;
    opacity: 1;
    filter: none;
  }

  .hero {
    padding-top: 6px;
    padding-bottom: 18px;
  }

  .hero-inner {
    min-height: unset;
    gap: 18px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.1rem);
    line-height: 0.94;
  }

  .lead {
    font-size: 1rem;
    margin-top: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-photo-wrap {
    height: 300px;
    width: 100%;
  }

  .hero-badge {
    right: 10px;
    bottom: 12px;
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  .feature-card,
  .solution-card {
    min-height: auto;
    border-radius: 22px;
  }

  .feature-card .feature-visual {
    height: 245px;
    min-height: 220px;
  }

  .feature-card .feature-visual img {
    object-position: center top;
  }

  .feature-content {
    padding-top: 18px;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .why-section {
    margin-top: 20px;
  }

  .why-photo-wrap {
    height: 280px;
  }

  .floating-note {
    right: 16px;
    bottom: 10px;
    padding: 14px 18px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    justify-content: space-between;
    gap: 8px;
  }

  .header-socials {
    margin-left: 0;
    order: 2;
    gap: 6px;
  }

  .header-socials a {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .nav-actions {
    order: 3;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 18px, 1180px);
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.38rem;
  }

  .brand-text {
    min-width: 0;
  }

  .header-socials {
    margin-left: auto;
  }

  .nav-button {
    display: none;
  }

  .hero-copy {
    padding-top: 14px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .stat-item {
    padding: 16px 14px;
    gap: 12px;
  }

  .stat-copy strong {
    font-size: 1.3rem;
  }

  .feature-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-card h3 {
    font-size: 1.8rem;
  }

  .feature-card .feature-visual {
    height: 230px;
  }

  .solution-card,
  .feature-card {
    border-radius: 18px;
  }

  .brands-row {
    padding-left: 6px;
    padding-right: 6px;
  }

  .brands-row img {
    max-width: 130px;
    height: 36px;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .why-item {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-contact {
    gap: 14px;
  }

  .contact-item {
    justify-content: center;
    text-align: left;
  }
}
