/* ==========================================================
   Tu Punto Laboral GT — estilos
   Paleta del logo: azul marino, celeste, verde y gris
   ========================================================== */

:root {
  --navy: #16294a;
  --navy-700: #1d3560;
  --navy-900: #0f1f3a;
  --sky: #7db4e0;
  --sky-100: #eaf3fb;
  --green: #79b13a;
  --green-600: #659a2c;
  --stone: #7c8189;
  --stone-100: #f3f5f7;
  --ink: #1e2633;
  --muted: #5b6676;
  --line: #e1e7ee;
  --white: #ffffff;
  --wa: #25d366;

  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --radius: 6px;
  --header-h: 108px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--navy); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

.title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.title--light { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--muted); }
.lead--light { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: 700 .95rem/1 var(--font);
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-600); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo__img { width: 100px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); transition: width .35s; }
.header.is-solid .logo__img { width: 74px; filter: none; }
.logo__text { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white); white-space: nowrap; transition: color .3s; }
.logo__text strong { font-weight: 800; }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header.is-solid { background: var(--white); box-shadow: 0 4px 24px rgba(15, 31, 58, .08); height: 92px; }
.header.is-solid .logo__text { color: var(--navy); font-size: 1.3rem; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav__list a {
  position: relative;
  font-weight: 600; font-size: .95rem;
  color: var(--white);
  padding: 6px 0;
  transition: color .3s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); }
.header.is-solid .nav__list a { color: var(--navy); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s, background-color .3s; }
.header.is-solid .burger span { background: var(--navy); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
}
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(15, 31, 58, .9) 0%, rgba(15, 31, 58, .55) 50%, rgba(15, 31, 58, .15) 100%),
    linear-gradient(0deg, rgba(15, 31, 58, .75) 0%, rgba(15, 31, 58, 0) 45%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: 72px; padding-top: 140px; }
.hero__box { max-width: 640px; }
.hero__title {
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero__text { font-size: 1.18rem; color: rgba(255, 255, 255, .85); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__tabs {
  list-style: none; margin: 64px 0 0; padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hero__tabs button {
  width: 100%; background: none; border: 0; padding: 0; cursor: pointer;
  text-align: left; color: rgba(255, 255, 255, .6);
  font: 600 .92rem/1.3 var(--font);
  transition: color .3s;
}
.hero__tabs button:hover, .hero__tabs button.is-active { color: var(--white); }
.hero__tab-bar { display: block; height: 3px; background: rgba(255, 255, 255, .22); margin-bottom: 12px; overflow: hidden; }
.hero__tab-bar i { display: block; height: 100%; width: 0; background: var(--green); }
.hero__tabs button.is-active .hero__tab-bar i { animation: tab-progress 6.5s linear forwards; }
@keyframes tab-progress { to { width: 100%; } }

/* ---------- Pilares ---------- */
.pillars { background: var(--navy); color: var(--white); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 38px 28px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar__icon { width: 34px; height: 34px; flex-shrink: 0; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 6px; }
.pillar p { color: rgba(255, 255, 255, .65); font-size: .92rem; line-height: 1.55; margin: 0; }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about__media { position: relative; padding: 0 70px 70px 0; }
.about__img-main { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; border-radius: var(--radius); position: relative; z-index: 1; }
.about__img-small {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 58%; aspect-ratio: 7 / 5.2; object-fit: cover;
  border-radius: var(--radius);
  border: 8px solid var(--white);
  box-shadow: 0 20px 40px rgba(15, 31, 58, .18);
}
.about__accent {
  position: absolute; left: -24px; top: -24px; z-index: 0;
  width: 55%; height: 55%;
  background: var(--sky-100);
  border-radius: var(--radius);
}
.about__accent::after {
  content: ""; position: absolute; left: 24px; bottom: -40px;
  width: 80px; height: 6px; background: var(--green); border-radius: 3px;
}
.about__content p { color: var(--muted); }
.about__content .lead { color: var(--navy); font-weight: 500; }
/* ---------- Servicios: tarjetas azules con hover verde ---------- */
.services { background: var(--stone-100); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 44px 36px 38px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--green);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15, 31, 58, .22); }
.card:hover::before { transform: translateY(0); }
.card__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  margin-bottom: 28px;
  transition: background-color .4s;
}
.card__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.card:hover .card__icon { background: rgba(255, 255, 255, .18); }
.card:hover .card__icon svg { stroke: var(--white); }
.card__title { color: var(--white); font-size: 1.35rem; font-weight: 700; margin-bottom: 14px; }
.card__text { color: rgba(255, 255, 255, .72); margin-bottom: 22px; min-height: calc(1.7em * 3); transition: color .4s; }
.card:hover .card__text { color: rgba(255, 255, 255, .92); }
.card__list { list-style: none; margin: 0 0 30px; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 22px; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--sky);
}
/* ---------- Poligrafía ---------- */
.polygraph { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); }
.polygraph__media { background-size: cover; background-position: 54% 50%; min-height: 560px; }
.polygraph__content { display: flex; align-items: center; padding: 100px 0; }
.polygraph__inner { max-width: 560px; padding: 0 64px; }
.ptests { margin: 34px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ptest {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ptest__label { font-weight: 700; color: var(--green); }
.ptest p { margin: 0; color: rgba(255, 255, 255, .8); }
.polygraph__note { font-size: .92rem; color: rgba(255, 255, 255, .6); margin-bottom: 30px; }

/* ---------- Por qué elegirnos ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why__item {
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .3s, box-shadow .3s;
}
.why__item:hover { border-color: transparent; box-shadow: 0 18px 40px rgba(15, 31, 58, .1); }
.why__item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why__item p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Contacto ---------- */
.contact { background: var(--navy); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.contact__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.contact__list li { display: flex; align-items: center; gap: 18px; color: var(--white); }
.contact__list small { display: block; color: rgba(255, 255, 255, .6); font-size: .85rem; }
.contact__list a { font-size: 1.15rem; font-weight: 700; word-break: break-word; }
.contact__hours { display: block; font-weight: 600; font-size: 1rem; }
.contact__list a:hover { color: var(--green); }
.contact__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.contact__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--sky); stroke-width: 1.8; }
.contact__icon--wa { background: var(--wa); }
.contact__icon--wa svg { fill: var(--white); stroke: none; width: 28px; height: 28px; }

.form { background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: 0 30px 60px rgba(0, 0, 0, .2); }
.form__title { font-size: 1.5rem; margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem var(--font); color: var(--ink);
  padding: 13px 15px;
  background: var(--stone-100);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: var(--white); }
.field textarea { resize: vertical; }
.form__error { color: #b42318; font-weight: 600; font-size: .92rem; }
.form__hint { text-align: center; color: var(--muted); font-size: .85rem; margin: 12px 0 0; }

/* ---------- Pie de página ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .68); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding: 80px 24px 60px; }
.footer__about p { margin-top: 22px; max-width: 30em; font-size: .95rem; }
.footer__title { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer__links a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 calc(22px + env(safe-area-inset-bottom, 0px)); font-size: .88rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--white); font-weight: 600; }
.footer__bottom a:hover { color: var(--green); }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 200;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4), 0 2px 6px rgba(0, 0, 0, .2);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 34px; height: 34px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.4); opacity: 0; } }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .nav__list { gap: 20px; }
  .about__grid { gap: 60px; }
  .polygraph__inner { padding: 0 40px; }
}

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    padding: 8px 24px 24px;
    box-shadow: 0 20px 30px rgba(15, 31, 58, .12);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; color: var(--navy) !important; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .header.menu-open { background: var(--white); height: 84px; }
  .header.menu-open .logo__img { filter: none; }
  .header.menu-open .logo__text { color: var(--navy); }
  .header.menu-open .burger span { background: var(--navy); }

  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 30px 24px 30px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .services__grid { grid-template-columns: 1fr; max-width: 560px; }
  .polygraph { grid-template-columns: 1fr; }
  .polygraph__media { min-height: 340px; }
  .polygraph__content { padding: 80px 0; }
  .polygraph__inner { max-width: none; padding: 0 24px; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 84px; }
  .section { padding: 80px 0; }
  .logo__text { font-size: 1rem; }
  .hero__inner { padding-bottom: 48px; }
  .hero__tabs { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .pillars__grid { grid-template-columns: 1fr; }
  .about__media { padding: 0 30px 50px 0; }
  .ptest { grid-template-columns: 1fr; gap: 4px; }
  .why__grid { grid-template-columns: 1fr; }
  .form { padding: 30px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; padding-top: 60px; }
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: opacity .5s; transform: none !important; }
  .wa-float::after, .hero__tabs button.is-active .hero__tab-bar i { animation: none; }
}

/* ==========================================================
   Nuevos bloques
   ========================================================== */
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Nosotros: puntos, distintivo y pestañas ---------- */
.about__body { display: grid; grid-template-columns: 1fr 190px; gap: 28px; margin: 30px 0 30px; align-items: stretch; }
.about__points { list-style: none; margin: 0; padding: 0; }
.apoint { display: flex; gap: 18px; padding: 18px 0; }
.apoint + .apoint { border-top: 1px solid var(--line); }
.apoint__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sky-100);
  transition: background-color .3s, transform .4s var(--ease);
}
.apoint__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.apoint:hover .apoint__icon { background: var(--green); transform: rotate(-8deg) scale(1.05); }
.apoint:hover .apoint__icon svg { stroke: var(--white); }
.apoint h3 { font-size: 1.12rem; margin-bottom: 4px; }
.apoint p { margin: 0; font-size: .95rem; line-height: 1.6; }

.about__badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 28px 20px; border-radius: var(--radius);
  background: var(--navy); color: var(--white);
  position: relative; overflow: hidden;
}
.about__badge::after {
  content: ""; position: absolute; right: -30px; bottom: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  border: 14px solid rgba(125, 180, 224, .18);
}
.about__badge-icon {
  display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--green); margin-bottom: 16px;
  animation: badge-pulse 3s ease-in-out infinite;
}
.about__badge-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linecap: round; }
.about__badge p { margin: 0; color: var(--white) !important; font-weight: 700; line-height: 1.4; font-size: 1rem; }
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(121, 177, 58, .5); }
  50% { box-shadow: 0 0 0 12px rgba(121, 177, 58, 0); }
}

.tabs { margin-bottom: 34px; background: var(--stone-100); border-radius: var(--radius); padding: 8px 8px 0; }
.tabs__nav { display: flex; gap: 6px; }
.tabs__nav button {
  flex: 1; padding: 12px 10px; border: 0; border-radius: var(--radius);
  background: transparent; cursor: pointer;
  font: 700 .95rem var(--font); color: var(--muted);
  transition: background-color .25s, color .25s;
}
.tabs__nav button:hover { color: var(--navy); }
.tabs__nav button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tabs__panel { padding: 20px 18px 22px; animation: tab-in .4s var(--ease); }
.tabs__panel p { margin: 0; color: var(--ink) !important; }
@keyframes tab-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tabs__values { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tabs__values li { padding: 7px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--sky); font-weight: 600; color: var(--navy); font-size: .92rem; }

/* ---------- Botón de las tarjetas de servicios ---------- */
.card__btn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--radius);
  background: var(--green); color: var(--white);
  font-weight: 700; font-size: .95rem;
  transition: background-color .3s, color .3s, gap .3s;
}
.card__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__btn { background: var(--white); color: var(--navy); gap: 14px; }
.card__btn:hover { background: var(--navy) !important; color: var(--white) !important; }

/* ---------- Proceso con círculos ---------- */
.psteps { position: relative; }
.psteps__line {
  position: absolute; top: 100px; left: 0; right: 0; height: 2px;
  background: var(--line);
}
.psteps__line::before, .psteps__line::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--navy);
}
.psteps__line::before { left: 0; }
.psteps__line::after { right: 0; }
.psteps__line i {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--sky), var(--green));
  transition: width 2s var(--ease);
}
.psteps.is-visible .psteps__line i { width: 100%; }
.psteps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.pstep { text-align: center; padding: 0 6px; }
.pstep__circle { position: relative; width: 200px; height: 200px; margin: 0 auto 30px; }
.pstep__ring {
  position: absolute; inset: -9px; border-radius: 50%;
  border: 2px dashed var(--sky);
  transition: border-color .4s, transform 1.2s var(--ease);
}
.pstep__circle img {
  position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 6px solid var(--white); box-shadow: 0 14px 34px rgba(15, 31, 58, .16);
  transition: transform .5s var(--ease);
}
.pstep__num {
  position: absolute; top: 4px; right: -2px; z-index: 2;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-weight: 800; font-size: 1.1rem;
  border: 4px solid var(--white);
  transition: background-color .4s, transform .4s var(--ease);
}
.pstep:hover .pstep__ring { border-color: var(--green); transform: rotate(90deg); }
.pstep:hover img { transform: scale(1.04); }
.pstep:hover .pstep__num { background: var(--navy); transform: scale(1.1); }
.pstep h3 { font-size: 1.18rem; margin-bottom: 10px; }
.pstep p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Íconos de "Por qué elegirnos" ---------- */
.why__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--sky-100); margin-bottom: 22px;
  transition: background-color .3s, transform .4s var(--ease);
}
.why__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.why__item:hover .why__icon { background: var(--green); transform: translateY(-4px); }
.why__item:hover .why__icon svg { stroke: var(--white); }

/* ---------- Llamado a la acción ---------- */
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--navy); color: var(--white); }
.cta { position: relative; padding: 70px 0; background-size: cover; background-position: center; }
.cta__shade { position: absolute; inset: 0; background: rgba(15, 31, 58, .78); }
.cta__band {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 50px 56px; border-radius: var(--radius);
  background: var(--green);
  overflow: hidden;
}
.cta__band::before, .cta__band::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 26px solid rgba(255, 255, 255, .1);
}
.cta__band::before { width: 240px; height: 240px; right: 18%; top: -150px; }
.cta__band::after { width: 160px; height: 160px; left: -60px; bottom: -100px; }
.cta__title { position: relative; flex: 1 1 380px; color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; max-width: 560px; }
.cta__actions { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta__link { color: var(--white); font-weight: 700; border-bottom: 2px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.cta__link:hover { border-color: var(--white); }

@media (max-width: 960px) {
  .psteps__line { display: none; }
  .psteps__list { grid-template-columns: 1fr 1fr; row-gap: 56px; }
}
@media (max-width: 640px) {
  .logo__img { width: 70px; }
  .header.is-solid .logo__img { width: 60px; }
  .logo__text, .header.is-solid .logo__text { font-size: 1.12rem; }
  .about__body { grid-template-columns: 1fr; }
  .psteps__list { grid-template-columns: 1fr; }
  .cta__band { padding: 38px 26px; }
  .cta__actions { flex: 1 1 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .about__badge-icon { animation: none; }
  .psteps__line i { transition: none; }
}

/* ---------- Menú: enlace "Busco empleo" ---------- */
.nav__list a.nav__job { padding: 8px 18px; border: 2px solid var(--green); border-radius: 999px; }
.nav__list a.nav__job::after { display: none; }
.nav__list a.nav__job:hover, .nav__list a.nav__job.is-current { background: var(--green); color: var(--white) !important; }
@media (max-width: 960px) {
  .nav__list a.nav__job { margin-top: 14px; text-align: center; border-bottom: 2px solid var(--green); }
}

/* ---------- Redes sociales ---------- */
.social { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--white);
  transition: background-color .25s, transform .25s var(--ease);
}
.social a:hover { background: var(--green); transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; fill: currentColor; }
.contact__social { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
.contact__social strong { color: var(--white); }
.footer__social { margin-top: 24px; }
.footer__social small { color: rgba(255, 255, 255, .6); }
@media (min-width: 961px) { .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Formulario de empresas ---------- */
.form__row--wide { grid-template-columns: 2fr 1fr; }

/* ---------- Busco empleo ---------- */
.jobs { background: var(--sky-100); }
.jobs__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.jobs__info { position: sticky; top: 110px; }
.jobs__steps { list-style: none; margin: 34px 0 30px; padding: 0; display: grid; gap: 4px; }
.jobs__steps li { display: flex; gap: 18px; padding: 16px 0; }
.jobs__steps li + li { border-top: 1px solid rgba(22, 41, 74, .1); }
.jobs__step-num {
  display: grid; place-items: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-weight: 800;
}
.jobs__steps li:last-child .jobs__step-num { background: var(--green); }
.jobs__steps h3 { font-size: 1.08rem; margin-bottom: 2px; }
.jobs__steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.jobs__note {
  padding: 16px 18px; border-left: 4px solid var(--green);
  background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600; color: var(--navy); font-size: .95rem; margin: 0;
}
.form--light { box-shadow: 0 24px 50px rgba(15, 31, 58, .1); }

.field__label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.field .upload {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  border: 2px dashed var(--sky); background: var(--sky-100);
  cursor: pointer; transition: border-color .25s, background-color .25s;
}
.upload:hover, .upload.is-filled { border-color: var(--green); background: #f1f8e9; }
.upload svg { width: 34px; height: 34px; flex-shrink: 0; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.upload__text { display: block; font-weight: 600; color: var(--navy); word-break: break-word; }
.upload__text small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.field .upload__input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0; overflow: hidden; }
.upload__input:focus-visible + .upload, .upload:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.form__success {
  padding: 14px 16px; border-radius: var(--radius);
  background: #eef7e4; color: #3f6a12; font-weight: 600; font-size: .95rem;
}

@media (max-width: 960px) {
  .jobs__grid { grid-template-columns: 1fr; gap: 50px; }
  .jobs__info { position: static; }
}
@media (max-width: 640px) {
  .form__row--wide { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Logo del pie de página (columnas iguales) ---------- */
.footer .logo { gap: 10px; }
.footer .logo__img { width: 68px; }
.footer .logo__text { font-size: 1.1rem; white-space: normal; }

/* ---------- Pilares: movimiento sutil ---------- */
.pillar { position: relative; cursor: default; }
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.pillar:first-child::before { left: 0; }
.pillar:not(:first-child)::before { left: 28px; }
.pillar:hover::before { transform: scaleX(1); }

.pillar__icon-wrap {
  position: relative; display: grid; place-items: center; flex-shrink: 0;
  width: 34px; height: 34px;
}
.pillar__icon-wrap::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  background: rgba(121, 177, 58, .16);
  transform: scale(0); transition: transform .45s var(--ease);
}
.pillar:hover .pillar__icon-wrap::before { transform: scale(1); }
.pillar__icon { position: relative; transition: transform .45s var(--ease); }
.pillar:hover .pillar__icon { transform: translateY(-2px); }

/* el ícono se "dibuja" al aparecer y otra vez al pasar el mouse */
.pillar__icon > * { stroke-dasharray: 100; stroke-dashoffset: 100; }
.pillar.is-visible .pillar__icon > * { animation: draw-icon 1.3s var(--ease) forwards; }
.pillar.is-visible:nth-child(2) .pillar__icon > * { animation-delay: .15s; }
.pillar.is-visible:nth-child(3) .pillar__icon > * { animation-delay: .3s; }
.pillar.is-visible:nth-child(4) .pillar__icon > * { animation-delay: .45s; }
.pillar:hover .pillar__icon > * { animation: draw-icon-hover .9s var(--ease) forwards !important; }
@keyframes draw-icon { to { stroke-dashoffset: 0; } }
@keyframes draw-icon-hover { 0% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 0; } }

.pillar h3 { transition: color .3s; }
.pillar p { transition: color .3s; }
.pillar:hover h3 { color: var(--green); }
.pillar:hover p { color: rgba(255, 255, 255, .85); }

/* ---------- Misión y visión: misma altura ---------- */
.tabs__panel p { min-height: calc(1.7em * 3); }

/* ---------- Pie de página equilibrado ---------- */
.footer__title--sub { margin-top: 28px; }
.footer__hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer__hours span { display: block; color: var(--white); font-weight: 600; font-size: .85rem; }
.footer__contact { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; fill: var(--green); }
.footer__contact svg.is-stroke { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact small { display: block; color: var(--white); font-weight: 600; font-size: .85rem; }
.footer__contact a { font-size: .95rem; word-break: break-word; }
.footer__contact a:hover { color: var(--green); }
.footer__btn {
  display: inline-block; padding: 10px 20px; border-radius: var(--radius);
  border: 1.5px solid var(--green); color: var(--white); font-weight: 700; font-size: .9rem;
  transition: background-color .25s;
}
.footer__btn:hover { background: var(--green); }
.footer__social { margin-top: 22px; }
.footer__social .social { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .pillar__icon > * { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
}

/* ==========================================================
   Menú móvil completo
   ========================================================== */
.nav__extra { display: none; }

@media (max-width: 960px) {
  .nav {
    top: 84px; bottom: 0;
    height: calc(100vh - 84px); height: calc(100dvh - 84px);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 6px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    box-shadow: none;
    border-top: 1px solid var(--line);
  }
  .nav__list a {
    position: relative;
    font-size: 1.15rem; font-weight: 700;
    padding: 16px 0;
  }
  .nav__list a:not(.nav__job)::before {
    content: ""; position: absolute; right: 4px; top: 50%;
    width: 9px; height: 9px; margin-top: -5px;
    border-top: 2px solid var(--green); border-right: 2px solid var(--green);
    transform: rotate(45deg); transition: transform .25s var(--ease);
  }
  .nav__list a:not(.nav__job):hover::before { transform: translateX(4px) rotate(45deg); }
  .nav__list a.nav__job { margin-top: 18px; padding: 14px; font-size: 1rem; background: var(--green); color: var(--white) !important; }

  /* entrada escalonada */
  .nav__list li, .nav__extra > * { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
  .nav.is-open .nav__list li, .nav.is-open .nav__extra > * { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .16s; }
  .nav.is-open .nav__list li:nth-child(6) { transition-delay: .2s; }
  .nav.is-open .nav__extra > *:nth-child(1) { transition-delay: .26s; }
  .nav.is-open .nav__extra > *:nth-child(2) { transition-delay: .32s; }
  .nav.is-open .nav__extra > *:nth-child(3) { transition-delay: .38s; }

  .nav__extra { display: block; margin-top: 26px; }
  .nav__wa-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px; border-radius: var(--radius);
    background: var(--wa); color: var(--white);
    font-weight: 700;
  }
  .nav__wa-btn svg { width: 22px; height: 22px; fill: currentColor; }

  .nav__info {
    list-style: none; margin: 18px 0 0; padding: 6px 18px;
    background: var(--sky-100); border-radius: var(--radius);
  }
  .nav__info li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
  .nav__info li + li { border-top: 1px solid rgba(22, 41, 74, .08); }
  .nav__info-icon {
    display: grid; place-items: center; flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 50%; background: var(--white);
  }
  .nav__info-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .nav__info small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
  .nav__info a, .nav__info span:not(.nav__info-icon) { display: block; color: var(--navy); font-weight: 700; font-size: .95rem; line-height: 1.45; word-break: break-word; }

  .nav__social { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
  .nav__social small { color: var(--muted); font-weight: 600; }
  .social--menu { margin: 0; }
  .social--menu a { background: var(--navy); }
  .social--menu a:hover { background: var(--green); }
}

html.menu-lock, html.menu-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .nav__list li, .nav__extra > * { transition: none !important; }
}
@media (max-width: 960px) {
  html.menu-lock .wa-float { opacity: 0; visibility: hidden; }
  .nav__list a.nav__job { border-radius: var(--radius); }
  .nav__wa-btn { background: var(--white); color: #128c4a; border: 2px solid var(--wa); }
  .nav__wa-btn:hover { background: var(--wa); color: var(--white); }
}
.wa-float { transition: transform .25s var(--ease), opacity .25s, visibility .25s; }

/* ==========================================================
   Optimización SEO / rendimiento
   ========================================================== */
/* Fondos del hero en WebP, con versión ligera para celular */
.hero__slide--1 { background-image: url(../img/hero-1.webp); }
.hero__slide--2 { background-image: url(../img/hero-2.webp); }
.hero__slide--3 { background-image: url(../img/hero-3.webp); }
.hero__slide--4 { background-image: url(../img/hero-4.webp); }
@media (max-width: 640px) {
  .hero__slide--1 { background-image: url(../img/hero-1-movil.webp); }
  .hero__slide--2 { background-image: url(../img/hero-2-movil.webp); }
  .hero__slide--3 { background-image: url(../img/hero-3-movil.webp); }
  .hero__slide--4 { background-image: url(../img/hero-4-movil.webp); }
}

/* Bordes como sombra para no alterar la proporción de las imágenes */
.about__img-small { border: 0; box-shadow: 0 0 0 8px var(--white), 0 20px 40px rgba(15, 31, 58, .18); }
.pstep__circle img { border: 0; box-shadow: 0 0 0 6px var(--white), 0 14px 34px rgba(15, 31, 58, .16); }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--stone-100); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head p { color: var(--muted); margin-bottom: 26px; }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] { border-color: transparent; box-shadow: 0 14px 34px rgba(15, 31, 58, .08); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; font-weight: 700; color: var(--navy); font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-600); }
.faq__icon {
  position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sky-100); transition: background-color .25s, transform .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 1px;
  transition: transform .3s var(--ease), background-color .25s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--green); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--white); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--muted); animation: tab-in .35s var(--ease); }
@media (max-width: 960px) {
  .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq__head { position: static; }
}
