/* Portada / header según mockup Mente_Potencial_Portada.png
   Se carga después de styles.css y solo ajusta colores + header/hero. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --primary: #02569e;
  --primary-soft: #0a6bb8;
  --secondary: #e0a000;
  --secondary-soft: #f0b820;
  --accent-orange: #f17a16;
  --accent-green: #48a33c;
  --accent-purple: #7070f0;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #d0d5dd;
  --nav-border: #c5cbd3;
}

body {
  background: var(--bg);
  color: var(--text);
}

.theme-color-meta {
  color: var(--primary);
}

/* —— Header mockup —— */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(208, 213, 221, 0.7);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand . cta"
    "nav nav nav";
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 0 1rem;
}

.brand {
  grid-area: brand;
  gap: 0;
}

.brand-logo {
  height: auto;
  width: auto;
  max-height: 72px;
  object-fit: contain;
}

.brand-logo--desktop {
  display: block;
  max-width: min(280px, 42vw);
}

.brand-logo--mobile {
  display: none;
  max-height: 52px;
  max-width: 52px;
}

.header-cta {
  grid-area: cta;
  justify-self: end;
}

.nav-toggle {
  display: none;
  grid-area: toggle;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nav-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  justify-self: end;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav .nav-cta-mobile {
  display: none;
}

.main-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  color: #3d4654;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(2, 86, 158, 0.04);
}

.btn-star {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.btn-star svg {
  width: 0.7rem;
  height: 0.7rem;
  fill: currentColor;
}

.btn-agenda {
  background: var(--secondary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.35rem;
  box-shadow: 0 8px 20px rgba(224, 160, 0, 0.28);
}

.btn-agenda:hover {
  background: var(--secondary-soft);
}

.btn-soluciones {
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.35rem;
  box-shadow: 0 8px 20px rgba(112, 112, 240, 0.25);
}

.btn-soluciones:hover {
  filter: brightness(1.05);
}

.btn-primary {
  background: var(--primary);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.section-label {
  color: var(--accent-orange);
}

/* —— Hero / portada mockup —— */
.hero {
  min-height: 0;
  padding-block: clamp(1.5rem, 4vh, 2.75rem) clamp(2rem, 5vh, 3.5rem);
  color: var(--text);
  background: #fff;
  overflow: visible;
}

.hero::before,
.hero-overlay {
  display: none;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 2rem;
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 0;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.hero-text {
  grid-column: auto;
  justify-self: stretch;
  max-width: 34rem;
  text-align: left;
}

.hero h1 {
  color: #111827;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0;
}

.hero-copy {
  margin: 1.15rem 0 1.75rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-actions .btn {
  width: auto;
  min-width: min(100%, 20rem);
}

.hero-woman {
  grid-column: auto;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 18px 50px rgba(2, 86, 158, 0.12);
  overflow: hidden;
  text-align: center;
}

.hero-woman img {
  width: 100%;
  height: auto;
  max-height: min(560px, 70vh);
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
}

.quick-services {
  margin-top: 0;
  display: block;
  width: 100%;
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  background: #eceff3;
  position: relative;
  z-index: 2;
}

.quick-services .container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.problems-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.quick-services h2,
.problems-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  color: #02569e;
  line-height: 1.25;
  text-align: center;
}

.problems-header em {
  color: var(--accent-orange);
  font-style: italic;
  font-weight: 800;
}

.problems-header p {
  margin: 0.7rem 0 0;
  color: #6b7280;
  font-size: 0.98rem;
}

.problems-divider {
  display: block;
  width: 7.5rem;
  height: 4px;
  margin: 0.95rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #02569e 0 33%, var(--accent-orange) 33% 66%, var(--accent-green) 66% 100%);
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.quick-services article {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  padding: 0;
  text-align: left;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  min-height: 100%;
  overflow: hidden;
}

.problem-photo {
  margin: 0;
}

.problem-photo img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 24px 24px 0 0;
}

.quick-services .icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin: -26px 0 0 1.15rem;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
  z-index: 1;
  position: relative;
}

.quick-services .icon--blue {
  background: #02569e;
}

.quick-services .icon--orange {
  background: var(--accent-orange);
}

.quick-services .icon--green {
  background: var(--accent-green);
}

.quick-services .icon svg {
  display: block;
}

.problem-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem 1.25rem;
  flex: 1;
}

.quick-services h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  color: #02569e;
}

.quick-services p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b5563;
}

.quick-services .solution-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(241, 122, 22, 0.28);
}

.quick-services .solution-link:hover,
.quick-services .solution-link:focus-visible {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
}

.services-split {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-inline: auto;
}

.about-image {
  width: 65%;
  min-height: 273px;
  justify-self: center;
}

.about-text h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-text .about-greeting {
  margin: 0.5rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent-green);
}

.about-text .subtitle {
  margin-top: 0.4rem;
}

@media (max-width: 1024px) {
  .about-image {
    width: 65%;
    min-height: 273px;
    justify-self: center;
  }
}

/* —— Soluciones Estratégicas (órbita SVG) —— */
.strategic-solutions {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  background: #fff;
  text-align: center;
}

.strategic-solutions h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #111827;
}

.strategic-orbit {
  position: relative;
  width: min(640px, 100%);
  margin: 0 auto;
  aspect-ratio: 780 / 720;
}

.strategic-orbit:focus {
  outline: none;
}

.strategic-orbit__center {
  position: absolute;
  inset: 22%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.98), rgba(236, 241, 247, 0.95));
  box-shadow: inset 0 0 0 1px rgba(2, 86, 158, 0.08);
  pointer-events: none;
}

.strategic-orbit__center img {
  width: clamp(52px, 12vw, 78px);
  height: auto;
}

.strategic-orbit__center-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: clamp(0.62rem, 1.6vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.strategic-orbit__center-title span:first-child {
  color: var(--primary);
}

.strategic-orbit__center-title span:last-child {
  color: var(--accent-green);
}

.strategic-orbit__center-copy {
  margin: 0;
  max-width: 16rem;
  font-size: clamp(0.58rem, 1.4vw, 0.72rem);
  line-height: 1.35;
  color: var(--muted);
}

.strategic-orbit__svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.orbit-ring--track {
  fill: none;
  stroke: #d7dee8;
  stroke-width: 14;
}

.orbit-ring--spin {
  fill: none;
  stroke: url(#ring-grad);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 70 40;
  transform-origin: 390px 360px;
  transition: stroke-dashoffset 0.4s ease;
}

.strategic-orbit:hover .orbit-ring--spin,
.strategic-orbit:focus-within .orbit-ring--spin {
  animation: orbit-spin 8s linear infinite;
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-sphere {
  cursor: pointer;
  outline: none;
}

.orbit-sphere__hit {
  fill: transparent;
}

.orbit-sphere__disc {
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.orbit-sphere__icon {
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.orbit-sphere__name {
  fill: #111827;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-family: Inter, system-ui, sans-serif;
}

.orbit-sphere__desc {
  fill: #6b7280;
  font-size: 11px;
  font-weight: 500;
  font-family: Inter, system-ui, sans-serif;
}

.orbit-sphere:hover .orbit-sphere__disc,
.orbit-sphere:focus-visible .orbit-sphere__disc,
.orbit-sphere.is-active .orbit-sphere__disc {
  transform: scale(1.14);
  animation: sphere-pulse 1.4s ease-in-out infinite;
}

.orbit-sphere:hover .orbit-sphere__icon,
.orbit-sphere:focus-visible .orbit-sphere__icon,
.orbit-sphere.is-active .orbit-sphere__icon {
  transform: scale(1.08) rotate(-6deg);
}

@keyframes sphere-pulse {
  0%,
  100% {
    filter: url(#sphere-shadow) brightness(1);
  }
  50% {
    filter: url(#sphere-shadow) brightness(1.08);
  }
}

.strategic-tagline {
  margin: clamp(1.5rem, 3.5vw, 2.35rem) auto 0;
  max-width: 46rem;
  font-size: clamp(1.35rem, 2.9vw, 1.95rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.strategic-tagline .tagline-blue {
  color: #02569e;
}

.strategic-tagline .tagline-orange {
  color: var(--accent-orange);
}

.strategic-tagline .tagline-green {
  color: var(--accent-green);
}

@media (max-width: 700px) {
  .strategic-orbit {
    width: min(100%, 420px);
  }

  .strategic-orbit__center {
    inset: 24%;
    padding: 0.75rem;
  }

  .strategic-orbit__center-copy {
    display: none;
  }

  .orbit-sphere__name {
    font-size: 12.5px;
  }

  .orbit-sphere__desc {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strategic-orbit:hover .orbit-ring--spin,
  .strategic-orbit:focus-within .orbit-ring--spin {
    animation: none;
  }

  .orbit-sphere:hover .orbit-sphere__disc,
  .orbit-sphere:focus-visible .orbit-sphere__disc,
  .orbit-sphere.is-active .orbit-sphere__disc {
    animation: none;
  }
}

/* —— Modal unidades estratégicas —— */
.unit-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.unit-modal[hidden] {
  display: none;
}

.unit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.unit-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  padding: 1.75rem 1.5rem 1.5rem;
}

.unit-modal__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 24px 24px 0 0;
  background: var(--primary);
}

.unit-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.unit-modal__close:hover,
.unit-modal__close:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.unit-modal__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unit-modal__body h3 {
  margin: 0 0 0.85rem;
  padding-right: 2.5rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.unit-modal__intro {
  margin: 0 0 1.25rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
}

.unit-modal__block h4,
.unit-modal__method h4 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.unit-modal__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.unit-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.unit-modal__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.45;
}

.unit-modal__check {
  flex-shrink: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.unit-modal__letter {
  flex-shrink: 0;
  display: inline-flex;
  width: 1.45rem;
  height: 1.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.unit-modal__method {
  margin-top: 0;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #f3f6fa;
  border: 1px solid #e2e8f0;
}

.unit-modal__method .unit-modal__letter {
  background: var(--primary);
}

.unit-modal__list--letters li {
  gap: 0.4rem;
}

body.unit-modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .unit-modal {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .unit-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 12px 12px;
    padding: 1.5rem 1.15rem 1.25rem;
  }

  .unit-modal__columns {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .unit-modal__list {
    gap: 0.4rem;
  }

  .unit-modal__list li {
    font-size: 0.9rem;
  }
}

/* —— Página Atracción del Talento —— */
.talent-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.talent-page__content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.talent-page__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #02569e;
}

.talent-page__content h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.talent-page__content .unit-modal__subtitle {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.talent-page__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(241, 122, 22, 0.28);
}

.talent-page__cta:hover,
.talent-page__cta:focus-visible {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
}

@media (max-width: 700px) {
  .talent-page__content {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .talent-page__cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* —— Página Gestión Humana —— */
.people-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.people-page__content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.people-page__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-orange);
}

.people-page__content h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.people-page__content .unit-modal__subtitle {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.page-people .unit-modal__eyebrow {
  color: var(--accent-orange);
}

.people-page__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(241, 122, 22, 0.28);
}

.people-page__cta:hover,
.people-page__cta:focus-visible {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
}

@media (max-width: 700px) {
  .people-page__content {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .people-page__cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* —— Página Desmotivación de Equipos —— */
.desmotivacion-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.desmotivacion-page__content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.desmotivacion-page__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-orange);
}

.desmotivacion-page__content h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.desmotivacion-page__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  color: #374151;
  line-height: 1.5;
}

.desmotivacion-page__body p,
.desmotivacion-page__closing p {
  margin: 0 0 1rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.65;
}

.desmotivacion-page__body p:last-child {
  margin-bottom: 0;
}

.desmotivacion-page__block,
.desmotivacion-page__enfoque {
  margin-top: 1.5rem;
}

.desmotivacion-page__content .unit-modal__subtitle {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.page-desmotivacion .unit-modal__eyebrow {
  color: var(--accent-orange);
}

.desmotivacion-page__enfoque {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #f3f6fa;
  border: 1px solid #e2e8f0;
}

.desmotivacion-page__flow {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.45;
}

.desmotivacion-page__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.desmotivacion-page__steps li {
  position: relative;
  padding-left: 1rem;
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.5;
}

.desmotivacion-page__steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.desmotivacion-page__closing {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.desmotivacion-page__closing p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #111827;
}

.desmotivacion-page__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(241, 122, 22, 0.28);
}

.desmotivacion-page__cta:hover,
.desmotivacion-page__cta:focus-visible {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
}

@media (max-width: 700px) {
  .desmotivacion-page__content {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .desmotivacion-page__cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* —— Página SST / Salud ocupacional —— */
.health-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.health-page .container {
  display: grid;
  gap: 1.5rem;
}

.health-page__content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.health-page__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #02569e;
}

.page-health .unit-modal__eyebrow {
  color: #02569e;
}

.health-page__content h1,
.health-page__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.health-page__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  color: #374151;
  line-height: 1.5;
}

.health-page__subtitle {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.health-page__subtitle--blue {
  color: #02569e;
}

.health-page__body p,
.health-page__block p,
.health-page__enfoque p,
.health-page__closing p,
.health-page__cta-block p {
  margin: 0 0 0.85rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.65;
}

.health-page__review {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.health-page__review li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: #f3f6fa;
  border: 1px solid #e2e8f0;
}

.health-page__num {
  display: inline-flex;
  min-width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #02569e;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.health-page__review h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.health-page__review p {
  margin: 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.5;
}

.health-page__bridge {
  margin: 1.5rem 0 0;
  text-align: center;
  font-weight: 700;
  color: #02569e;
}

.health-page__block,
.health-page__enfoque {
  margin-top: 1.5rem;
}

.health-page__enfoque {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #f3f6fa;
  border: 1px solid #e2e8f0;
}

.health-page__flow,
.health-page__formula {
  font-size: 0.95rem;
  font-weight: 800;
  color: #02569e;
  line-height: 1.5;
}

.health-page__closing {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.health-page__cta-block {
  margin-top: 1.75rem;
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  background: #f0f6fc;
  border: 1px solid #d6e4f0;
}

.health-page__cta-copy {
  font-weight: 700;
  color: #02569e;
}

.health-page__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: #02569e;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(2, 86, 158, 0.28);
}

.health-page__cta:hover,
.health-page__cta:focus-visible {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.06);
}

@media (max-width: 700px) {
  .health-page__content {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .health-page__cta {
    width: 100%;
  }
}

@media (min-width: 1100px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav cta";
    align-items: center;
  }

  .main-nav {
    justify-content: center;
  }

  .nav-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .main-nav .nav-cta-mobile {
    display: none;
  }
}

@media (max-width: 1099px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand cta toggle";
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0;
    position: relative;
  }

  .brand-logo--desktop {
    display: none;
  }

  .brand-logo--mobile {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.55rem;
    padding: 1rem 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid rgba(208, 213, 221, 0.9);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a:not(.nav-cta-mobile) {
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 14px;
  }

  .main-nav .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 0.35rem;
    justify-content: center;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 1024px) {
  .quick-services {
    margin-top: 0;
    display: block;
  }

  .quick-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .quick-services article {
    padding: 0;
    border-radius: 24px;
  }

  .quick-services h3 {
    font-size: 0.98rem;
  }

  .quick-services p {
    font-size: 0.86rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-bottom: 1.5rem;
  }

  .hero-text {
    max-width: 40rem;
    text-align: center;
  }

  .hero-actions {
    align-items: center;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 22rem;
  }

  .hero-woman {
    max-width: 36rem;
  }

  .hero-woman img {
    max-height: none;
  }
}

@media (max-width: 900px) {
  .quick-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .quick-services {
    margin-top: 0;
    padding: 2rem 0 2.25rem;
  }

  .quick-services h2,
  .problems-header h2 {
    text-align: center;
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .quick-services-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .quick-services article {
    align-items: stretch;
    text-align: left;
    padding: 0;
    border-radius: 22px;
  }

  .quick-services .icon {
    margin: -26px 0 0 1.15rem;
  }

  .quick-services h3 {
    font-size: 1.05rem;
  }

  .quick-services p {
    font-size: 0.92rem;
  }

  .quick-services .solution-link {
    font-size: 0.85rem;
  }

  .quick-services .solution-link {
    font-size: 0.85rem;
  }

  .btn-agenda {
    padding: 0.7rem 0.95rem;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .hero-copy {
    margin: 1rem 0 1.35rem;
  }
}

/* —— Página Centro de Bienestar Laboral (wellnes.html) —— */
.page-wellness .wellness-hero {
  overflow: visible;
}

.page-wellness .wellness-hero .hero-content {
  align-items: stretch;
}

.page-wellness .wellness-hero-heading,
.page-wellness #wellness-hero-heading,
#hero-heading {
  color: #02569e;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.18;
}

.wellness-heading-accent {
  position: relative;
  display: inline-block;
  color: var(--accent-green);
  padding-right: 2.4rem;
}

.wellness-leaves {
  position: absolute;
  right: -0.15rem;
  top: 0.05em;
  width: 2.15rem;
  height: 1.7rem;
  pointer-events: none;
}

.leaf {
  position: absolute;
  width: 1.15rem;
  height: 1.5rem;
  overflow: visible;
}

.leaf--green {
  left: 0;
  top: 0;
  fill: var(--accent-green);
  transform: rotate(-28deg);
}

.leaf--orange {
  right: 0;
  top: 0.28rem;
  fill: var(--accent-orange);
  transform: rotate(32deg);
}

.page-wellness .wellness-hero-visual {
  min-height: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M18 0C10 8 22 16 12 26C2 36 20 44 8 54C-2 64 18 72 10 82C4 90 16 96 18 100H100V0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M18 0C10 8 22 16 12 26C2 36 20 44 8 54C-2 64 18 72 10 82C4 90 16 96 18 100H100V0Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.page-wellness .wellness-hero-visual img {
  max-height: min(620px, 78vh);
  object-fit: cover;
  object-position: 18% center;
  border-radius: 0;
}

.page-wellness .wellness-hero-label {
  color: var(--secondary);
  margin-bottom: 0.35rem;
  text-align: left;
}

.page-wellness .wellness-hero-subtitle {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-align: left;
}

.page-wellness .wellness-trust {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.page-wellness .wellness-trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-width: 6.5rem;
  padding: 0 1.05rem;
  text-align: center;
}

.page-wellness .wellness-trust li:first-child {
  padding-left: 0;
}

.page-wellness .wellness-trust li + li {
  border-left: 1px solid #cfd6de;
}

.page-wellness .wellness-trust-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
}

.page-wellness .wellness-trust-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.page-wellness .wellness-trust-label {
  color: #3d4654;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.wellness-section {
  padding: 4.5rem 0;
}

.wellness-section-header {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.wellness-section-header h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  color: var(--primary);
}

.wellness-section-header p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.wellness-situations {
  background: #f4f7fb;
}

.wellness-chip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.wellness-chip-grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.wellness-note {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.wellness-why {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2.75rem;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.wellness-why-image {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: #e8eef5;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.wellness-why-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.wellness-why-text .section-label {
  text-align: left;
}

.wellness-why-text h2 {
  margin: 0.35rem 0 1.25rem;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--primary);
}

.wellness-why-text p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.wellness-signature {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.wellness-signature strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

.wellness-signature span {
  color: var(--muted);
  font-size: 0.95rem;
}

.wellness-accompany {
  background: #f4f7fb;
}

.wellness-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.wellness-card-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.45rem 1.35rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.wellness-card-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--primary);
}

.wellness-card-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.wellness-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.wellness-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
}

.wellness-step-num {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.wellness-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--text);
}

.wellness-steps p {
  margin: 0;
  color: var(--muted);
}

.wellness-process-meta {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.wellness-process-meta li {
  text-align: center;
  background: rgba(2, 86, 158, 0.06);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 14px;
  padding: 0.85rem 0.75rem;
}

.wellness-cta-inline {
  display: flex;
  justify-content: center;
}

.wellness-safe {
  background: #f4f7fb;
}

.wellness-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.wellness-pillars article {
  background: #fff;
  border-radius: 20px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  border: 1px solid var(--border);
}

.wellness-pillars h3 {
  margin: 0 0 0.45rem;
  color: var(--primary);
  font-size: 1.05rem;
}

.wellness-pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.wellness-faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.wellness-faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.15rem 1.1rem;
}

.wellness-faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
  padding: 1rem 0;
}

.wellness-faq-list summary::-webkit-details-marker {
  display: none;
}

.wellness-faq-list summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 700;
}

.wellness-faq-list details[open] summary::after {
  content: "–";
}

.wellness-faq-list p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.wellness-final-cta {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #02569e 0%, #0a6bb8 55%, #1c4f7a 100%);
  color: #fff;
  text-align: center;
}

.wellness-final-cta h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  text-transform: none;
  letter-spacing: 0;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.wellness-final-cta p {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .wellness-chip-grid,
  .wellness-card-grid,
  .wellness-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wellness-process-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wellness-why {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .wellness-why-image {
    min-height: 320px;
  }

  .wellness-why-image img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .wellness-section {
    padding: 3rem 0;
  }

  .wellness-chip-grid,
  .wellness-card-grid,
  .wellness-pillars,
  .wellness-process-meta {
    grid-template-columns: 1fr;
  }

  .page-wellness .hero-actions .btn-agenda {
    width: 100%;
  }

  .wellness-heading-accent {
    padding-right: 2rem;
  }

  .page-wellness .wellness-hero-visual {
    max-width: min(36rem, 100%);
  }

  .page-wellness .wellness-hero-visual img {
    max-height: none;
  }

  .page-wellness .wellness-trust {
    justify-content: center;
  }

  .page-wellness .wellness-trust li:first-child {
    padding-left: 1.05rem;
  }
}

/* —— Página Nosotros —— */
.page-nosotros .nosotros-hero {
  padding-bottom: 0.35rem;
}

.page-nosotros .nosotros-hero .hero-content {
  align-items: stretch;
  padding-bottom: 0;
  column-gap: clamp(1rem, 2.8vw, 2.5rem);
}

.page-nosotros .nosotros-hero .hero-text {
  max-width: none;
}

.page-nosotros .nosotros-hero-visual {
  width: 100%;
  max-width: none;
  min-height: 0;
  display: flex;
}

.page-nosotros .nosotros-hero-visual img {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.nosotros-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nosotros-kicker::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  border-radius: 99px;
  background: var(--accent-green);
}

.page-nosotros .nosotros-hero h1 {
  color: var(--primary);
  font-size: clamp(1.7rem, 4vw, 2.85rem);
}

.nosotros-heading-name {
  color: var(--primary);
}

.nosotros-heading-accent {
  color: var(--accent-green);
}

.nosotros-tagline {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.15rem 0 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

.nosotros-tagline-icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.nosotros-tagline em {
  color: var(--accent-orange);
  font-style: italic;
  font-weight: 800;
}

.page-nosotros .nosotros-hero .hero-copy {
  margin-top: 1.05rem;
}

.nosotros-founder {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: var(--primary);
}

.nosotros-founder-icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.nosotros-founder-role {
  display: block;
  color: var(--accent-green);
  font-size: 0.92rem;
  font-weight: 700;
}

.nosotros-founder strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.nosotros-team {
  padding: clamp(1.1rem, 2.5vw, 1.75rem) 0 clamp(3rem, 6vw, 4.75rem);
  background: #fff;
}

.nosotros-team-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.nosotros-team-mark {
  display: inline-flex;
  margin-bottom: 0.55rem;
}

.nosotros-team-header h2 {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 800;
}

.nosotros-team-line {
  display: block;
  width: 3.2rem;
  height: 3px;
  margin: 0 auto;
  border-radius: 99px;
  background: var(--accent-green);
}

.nosotros-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.nosotros-card {
  background: #fff;
  border: 1px solid rgba(208, 213, 221, 0.9);
  border-radius: 24px;
  padding: 2rem 1.6rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.nosotros-card-photo {
  width: 148px;
  height: 148px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  padding: 6px;
  overflow: hidden;
}

.nosotros-card-photo--green {
  background: conic-gradient(from 210deg, #48a33c 0 42%, transparent 42% 100%);
}

.nosotros-card-photo--blue {
  background: conic-gradient(from 210deg, #02569e 0 42%, transparent 42% 100%);
}

.nosotros-card-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: #f3f4f6;
}

.nosotros-card-photo--green img {
  object-fit: cover;
  object-position: center;
  object-view-box: inset(14% 2% 40% 22%);
}

.nosotros-card-photo--blue img {
  object-position: 52% 8%;
}

.nosotros-card h3 {
  margin: 0 0 0.35rem;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1.3;
}

.nosotros-card-role {
  margin: 0;
  color: var(--accent-green);
  font-size: 0.95rem;
  font-weight: 700;
}

.nosotros-card-focus {
  margin: 0.15rem 0 0.9rem;
  color: var(--accent-green);
  font-size: 0.88rem;
  font-weight: 600;
}

.nosotros-card-bio {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.nosotros-card-tags {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  border-top: 1px solid var(--border);
}

.nosotros-card-tags li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.nosotros-tag-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.nosotros-tag-icon--blue {
  background: var(--primary);
}

.nosotros-tag-icon--navy {
  background: #0a2f5c;
}

.nosotros-tag-icon--green {
  background: var(--accent-green);
}

.nosotros-tag-icon--orange {
  background: var(--accent-orange);
}

.nosotros-values {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: #f4f7fb;
}

.nosotros-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.nosotros-values article {
  text-align: center;
}

.nosotros-value-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nosotros-values h3 {
  margin: 0 0 0.45rem;
  color: var(--primary);
  font-size: 1.02rem;
}

.nosotros-values p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (min-width: 781px) {
  .page-nosotros .nosotros-hero .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    justify-items: stretch;
    text-align: left;
  }

  .page-nosotros .nosotros-hero .hero-text {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 980px) {
  .nosotros-team-grid,
  .nosotros-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-nosotros .nosotros-hero .hero-content {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .page-nosotros .nosotros-tagline,
  .page-nosotros .nosotros-hero .hero-copy {
    font-size: 0.95rem;
  }
}

@media (max-width: 780px) {
  .page-nosotros .nosotros-hero .hero-content {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    row-gap: 1.15rem;
  }

  .page-nosotros .nosotros-hero .hero-text {
    max-width: none;
    text-align: left;
  }

  .page-nosotros .nosotros-hero-visual {
    max-width: none;
  }

  .page-nosotros .nosotros-hero-visual img {
    height: auto;
    max-height: min(280px, 38vh);
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 700px) {
  .nosotros-team-grid,
  .nosotros-values-grid,
  .nosotros-card-tags {
    grid-template-columns: 1fr;
  }

  .nosotros-card-tags {
    gap: 0.85rem;
  }

  .nosotros-card-tags li {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .page-nosotros .nosotros-hero h1 {
    font-size: clamp(1.4rem, 7vw, 1.75rem);
  }

  .page-nosotros .nosotros-hero-visual,
  .page-nosotros .nosotros-hero-visual img {
    border-radius: 18px;
  }

  .page-nosotros .nosotros-hero-visual img {
    max-height: min(210px, 32vh);
  }
}

.jobs-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(224, 160, 0, 0.12), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(2, 86, 158, 0.1), transparent 36%),
    #fff;
}

.jobs-hero h1 {
  margin: 0.35rem 0 0.85rem;
  color: var(--primary);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.15;
}

.jobs-hero p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.jobs-board {
  padding: 0 0 clamp(3.5rem, 7vw, 5rem);
}

.jobs-filters {
  background: #fff;
  border: 1px solid rgba(2, 86, 158, 0.08);
  border-radius: 28px;
  padding: 1.4rem 1.35rem 1.2rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.jobs-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
}

.jobs-field {
  display: grid;
  gap: 0.45rem;
}

.jobs-field-label,
.jobs-areas legend {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.jobs-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.jobs-input-icon {
  position: absolute;
  left: 0.95rem;
  font-size: 0.95rem;
  pointer-events: none;
}

.jobs-input-wrap input,
.jobs-input-wrap select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fafc;
  padding: 0.9rem 1.1rem 0.9rem 2.55rem;
  font: inherit;
  color: var(--text);
}

.jobs-input-wrap select {
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.15rem, calc(100% - 0.85rem) 1.15rem;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

.jobs-input-wrap input:focus,
.jobs-input-wrap select:focus {
  outline: 2px solid rgba(2, 86, 158, 0.28);
  outline-offset: 1px;
  background-color: #fff;
}

.jobs-areas {
  margin: 1.15rem 0 0;
  padding: 0;
  border: 0;
}

.jobs-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.jobs-chip {
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  background: #fff;
  color: #3d4654;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}

.jobs-chip:hover,
.jobs-chip:focus-visible,
.jobs-chip.is-active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(2, 86, 158, 0.06);
}

.jobs-count {
  margin: 1.35rem 0 1rem;
  color: var(--muted);
  font-weight: 600;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid rgba(2, 86, 158, 0.08);
  border-radius: 24px;
  padding: 1.35rem 1.3rem 1.25rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.job-card-area {
  align-self: flex-start;
  background: rgba(241, 122, 22, 0.1);
  color: var(--accent-orange);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.job-card-title {
  margin: 0;
  color: var(--primary);
  font-size: 1.12rem;
  line-height: 1.35;
}

.job-card-meta,
.job-card-copy,
.job-card-salary {
  margin: 0;
}

.job-card-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.job-card-dot {
  margin: 0 0.35rem;
}

.job-card-salary {
  color: var(--text);
  font-weight: 800;
}

.job-card-copy {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.job-card-roles {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.job-card-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.job-card-benefits li {
  background: #f4f7fb;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

.job-card-cta {
  padding: 0.7rem 1.15rem;
}

.job-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.job-card-detail {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
  padding: 0.7rem 1.15rem;
}

.job-card-detail:hover,
.job-card-detail:focus-visible {
  background: rgba(2, 86, 158, 0.06);
}

.job-card-title-link {
  color: inherit;
  text-decoration: none;
}

.job-card-title-link:hover,
.job-card-title-link:focus-visible {
  text-decoration: underline;
}

.job-detail {
  max-width: 800px;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem clamp(3.5rem, 7vw, 5rem);
}

.job-detail-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.job-detail-back:hover,
.job-detail-back:focus-visible {
  text-decoration: underline;
}

.job-detail-title {
  margin: 0.45rem 0 0.7rem;
  color: var(--primary);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.2;
}

.job-detail-meta,
.job-detail-copy,
.job-detail-status {
  margin: 0 0 1.1rem;
  line-height: 1.65;
}

.job-detail-meta,
.job-detail-status {
  color: var(--muted);
}

.job-detail-copy {
  color: var(--text);
  font-size: 1.02rem;
}

.job-detail-block,
.job-detail-role,
.job-detail-apply {
  margin: 1.5rem 0 0;
}

.job-detail-role {
  padding: 1.2rem 1.15rem;
  border: 1px solid rgba(2, 86, 158, 0.08);
  border-radius: 22px;
  background: #fff;
}

.job-detail-block h3,
.job-detail-role h2,
.job-detail-apply h2 {
  margin: 0 0 0.7rem;
  color: var(--primary);
  font-size: 1.08rem;
}

.job-detail-list,
.job-detail-facts {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.65;
}

.job-detail-facts {
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.job-detail-apply {
  padding: 1.35rem 1.25rem;
  border-radius: 24px;
  background: #f4f7fb;
}

.job-detail-apply .btn {
  margin-top: 0.85rem;
}

.jobs-empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 800px) {
  .jobs-filter-row,
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 0 1.25rem;
}

.page-loader-inner img {
  width: min(260px, 72vw);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 20px;
  padding: 0.65rem 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.page-loader-inner p {
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.86rem;
}
