/* ============================================================
   ATL & Asociados
   Sistema de diseño: vino oxidado sobre fondo oscuro
   Escala editorial sobria · radios contenidos · motion quirúrgico
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* --- Superficies: Vino oxidado aprobado --- */
  --void:          #080506;
  --bg:            #0F090B;
  --bg-2:          #181013;
  --bg-tint:       #160D10;
  --surface:       #21161A;
  --surface-2:     #2B1A20;
  --surface-3:     #372129;
  --steel:         #A7B0B8;
  --steel-2:       #D8DEE3;
  --steel-muted:   #7D858D;
  --dark:          #080506;
  --bone:          #F2EEEE;

  /* --- Tinta --- */
  --ink:           #F2EEEE;
  --ink-2:         #D5CCCC;
  --ink-3:         #C4ADB3;
  --ink-muted:     #9B8085;
  --ink-inv:       #F2EEEE;
  --ink-inv-2:     #C8BABC;

  /* --- Acentos: relleno, titular grande y texto chico --- */
  --accent:        #8D3947;   /* rellenos, filetes, superficies */
  --accent-2:      #C47A83;   /* texto grande o énfasis */
  --accent-text:   #E3B4BA;   /* texto chico accesible */
  --accent-hover:  #A64C59;
  --accent-soft:   rgba(141, 57, 71, 0.18);
  --accent-wash:   rgba(141, 57, 71, 0.14);
  --accent-line:   rgba(196, 122, 131, 0.28);

  /* --- Materiales --- */
  --line:          rgba(167, 176, 184, 0.18);
  --line-soft:     rgba(242, 238, 238, 0.09);
  --line-strong:   rgba(167, 176, 184, 0.34);
  --line-inv:      rgba(242, 238, 238, 0.14);
  --button-bg:     #1A0B0F;
  --button-ink:    #F2EEEE;
  --button-border: #9F5962;
  --image-tint:    #16090D;
  --metal:         linear-gradient(100deg,#626A70 0%,#A7B0B8 17%,#D8DEE3 28%,#858D94 42%,#565E64 57%,#B9C1C7 76%,#ECEFF1 87%,#747C84 100%);
  --edge-light:    linear-gradient(100deg,transparent 0%,rgba(167,176,184,.34) 18%,rgba(242,238,238,.52) 50%,rgba(196,122,131,.26) 82%,transparent 100%);

  /* --- Tipografía --- */
  --font-display: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-h1:   clamp(2.9rem, 5.9vw, 5.15rem);
  --fs-h2:   clamp(2.1rem, 4.4vw, 3.5rem);
  --fs-h3:   clamp(1.3rem, 2.1vw, 1.65rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.2rem);

  /* --- Radios --- */
  --r-pill: 8px;
  --r-xl:   10px;
  --r-lg:   8px;
  --r-md:   6px;

  /* --- Sombras secas, no difusas --- */
  --sh-sm: 0 2px 0 rgba(0, 0, 0, 0.22);
  --sh-md: 0 18px 46px rgba(0, 0, 0, 0.32);
  --sh-lg: 0 28px 70px rgba(0, 0, 0, 0.40);

  /* --- Motion --- */
  --t:           0.32s;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);        /* salida suave */
  --ease-spring: cubic-bezier(0.2, 0.9, 0.2, 1);        /* gesto firme */

  /* --- Métrica --- */
  --section-py:    clamp(88px, 11vw, 160px);
  --container-max: 1320px;
  --container-px:  clamp(20px, 4.5vw, 64px);
  --header-h:      84px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
  /* `clip` recorta sin crear contenedor de scroll: evita que el menú
     móvil (fuera de pantalla) genere scroll horizontal fantasma. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(167, 176, 184, 0.035), transparent 300px),
    linear-gradient(115deg, rgba(141, 57, 71, 0.055), transparent 46%);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
  border-radius: var(--r-md);
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  min-width: 0;
}

.section { padding-block: var(--section-py); position: relative; }
.section::before { content: none; }

/* ============================================================
   3. ÁTOMOS
   ============================================================ */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1;
}
.kicker::after {
  content: none;
}
.cta-final__kicker { justify-content: center; }
.areas__header .kicker::before,
.cta-final__kicker::before {
  content: none;
}
.kicker--light { color: var(--steel); }

/* --- Botones --- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.28s var(--ease),
              background-color 0.28s var(--ease),
              border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}

.btn::after { content: none; }
.btn:hover { box-shadow: inset 0 0 0 1px rgba(216, 222, 227, 0.16); }
.btn:active { transform: translateY(1px); transition-duration: 0.1s; }

.btn--primary {
  background: var(--button-bg);
  color: var(--button-ink);
  border-color: var(--button-border);
}
.btn--primary:hover {
  background: #270F15;
  border-color: var(--steel-2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--steel);
}

.btn--outline-light {
  background: transparent;
  color: var(--bone);
  border-color: rgba(242, 238, 238, 0.34);
}
.btn--outline-light:hover {
  color: var(--bone);
  background: rgba(242, 238, 238, 0.08);
  border-color: var(--steel);
}

.btn--whatsapp {
  background: var(--button-bg);
  color: var(--button-ink);
  border-color: var(--button-border);
}
.btn--whatsapp:hover {
  background: #270F15;
  border-color: var(--steel-2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}
.btn--whatsapp svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 3px;
  background: rgba(242, 238, 238, 0.10);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.btn:hover .btn__arrow { background: rgba(242, 238, 238, 0.18); transform: translateX(3px); }
.btn__arrow svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* --- Marcador de contenido pendiente --- */
.placeholder-marker {
  background: var(--accent-wash);
  color: var(--accent-text);
  padding: 2px 9px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 500;
  border: 1px dashed var(--accent-line);
  /* Los marcadores largos (bios) deben poder cortar en varias líneas
     sin romper la grilla; clone repite el borde en cada línea. */
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* ============================================================
   5. HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 6, 0.88);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  transition: transform 0.5s var(--ease),
              background 0.4s var(--ease),
              box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.header--scrolled {
  background: rgba(5, 5, 6, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.22);
}
/* Se esconde al bajar, reaparece al subir */
.header--hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.header--scrolled .header__inner { height: 68px; }

.header__logo {
  color: var(--ink);
}
.brand-logo {
  display: inline-grid;
  grid-template-columns: auto minmax(0, max-content);
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.brand-logo__mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  gap: 1px;
  min-width: 50px;
  height: 38px;
  padding: 8px 8px 7px;
  border: 1px solid rgba(216, 222, 227, 0.26);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(242, 238, 238, 0.10), transparent 42%),
    rgba(8, 5, 6, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(242, 238, 238, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.24);
}
.brand-logo__mark::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 1px;
  background: var(--edge-light);
  opacity: 0.72;
}
.brand-logo__mark span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--bone);
}
.brand-logo__text {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.brand-logo__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--bone);
  white-space: nowrap;
}
.brand-logo__amp {
  font-size: 0.84em;
  font-style: italic;
  font-weight: 600;
  color: var(--accent-text);
}
.brand-logo__line {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel-muted);
  white-space: nowrap;
}

.header__nav { display: flex; align-items: center; gap: 4px; }
.header__nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 15px;
  border-radius: var(--r-md);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.header__nav a::after {
  content: none;
}
.header__nav a:hover { color: var(--ink); background: rgba(167, 176, 184, 0.055); }
.header__nav a.active { color: var(--steel-2); background: rgba(167, 176, 184, 0.07); }

.header__cta { padding: 12px 22px; font-size: 0.87rem; }

.header__menu-btn {
  display: none;
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header__menu-btn:hover { border-color: var(--accent-text); background: var(--accent-wash); }
.header__menu-btn svg {
  width: 20px; height: 20px;
  stroke: var(--ink); fill: none;
  stroke-width: 1.8; stroke-linecap: round;
}

/* ============================================================
   6. NAV MÓVIL
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--void);
  display: flex;
  flex-direction: column;
  padding: 0 var(--container-px) 32px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0.6s;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
/* En desktop el panel no se usa: fuera del árbol de render. */
@media (min-width: 992px) { .mobile-nav { display: none; } }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  margin-bottom: 40px;
}
.mobile-nav__close {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-spring), border-color 0.3s var(--ease);
}
.mobile-nav__close:hover { transform: rotate(90deg); border-color: var(--accent-text); }
.mobile-nav__close svg {
  width: 20px; height: 20px;
  stroke: var(--ink); fill: none;
  stroke-width: 1.8; stroke-linecap: round;
}

.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), color 0.3s var(--ease);
}
.mobile-nav.is-open .mobile-nav__links a { opacity: 1; transform: none; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(1) { transition-delay: 0.12s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(2) { transition-delay: 0.18s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(3) { transition-delay: 0.24s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(4) { transition-delay: 0.30s; }
.mobile-nav.is-open .mobile-nav__links a:nth-child(5) { transition-delay: 0.36s; }
.mobile-nav__links a:hover { color: var(--accent-text); }
.mobile-nav__footer { margin-top: auto; padding-top: 28px; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(540px, 66vh, 660px);
  padding-top: calc(var(--header-h) + clamp(26px, 3.4vw, 52px));
  padding-bottom: clamp(28px, 3.4vw, 48px);
  overflow: hidden;
  background: var(--void);
}
.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--void);
}
.hero__backdrop::before,
.hero__backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__backdrop::before {
  background:
    linear-gradient(90deg, rgba(8, 5, 6, 0.95) 0%, rgba(8, 5, 6, 0.78) 34%, rgba(8, 5, 6, 0.40) 64%, rgba(8, 5, 6, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 5, 6, 0.76) 0%, rgba(8, 5, 6, 0.18) 38%, rgba(8, 5, 6, 0.94) 100%);
}
.hero__backdrop::after {
  background:
    linear-gradient(115deg, rgba(141, 57, 71, 0.38), transparent 44%),
    linear-gradient(0deg, rgba(8, 5, 6, 0.30), rgba(8, 5, 6, 0.30));
  mix-blend-mode: color;
}
.hero__backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) contrast(1.18) brightness(0.58) saturate(0.45);
  transform: scale(1.02);
  animation: atlHeroDrift 18s var(--ease) both;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 5, 6, 0.72), transparent);
}

.hero > .container.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7.4fr) minmax(300px, 3.6fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: end;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: max(var(--container-px), calc((100vw - var(--container-max)) / 2 + var(--container-px)));
  padding-right: var(--container-px);
}
.hero > .container.hero__content::before { content: none; }

.hero__text {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(860px, 100%);
}
.hero__text::before { content: none; }
.hero__kicker {
  margin-bottom: 24px;
  color: var(--steel-2);
}

.hero__title {
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 12.4ch;
  font-size: clamp(3.65rem, 6.7vw, 6.45rem);
  line-height: 0.91;
  text-wrap: balance;
}
.hero__title.is-visible .w:nth-child(3) > i,
.hero__title.is-visible .w:nth-child(4) > i {
  color: var(--ink-2);
}

.hero__subtitle {
  font-size: var(--fs-lead);
  line-height: 1.52;
  color: var(--ink-2);
  max-width: 60ch;
  margin-bottom: 24px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; min-width: 0; }

.hero__urgency {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--steel);
}
.hero__urgency .urgency-rule {
  display: none;
}

.hero__side-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
  padding-bottom: 4px;
}

.hero__proofs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  width: 100%;
  margin-top: 0;
  border: 1px solid rgba(167, 176, 184, 0.22);
  background: rgba(242, 238, 238, 0.08);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.32);
}
.hero__proofs span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 16px 18px;
  background: rgba(10, 6, 7, 0.72);
  color: var(--steel-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.about__image::after,
.why-ats__image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--image-tint);
  mix-blend-mode: multiply;
  opacity: 0.72;
  transition: opacity 0.45s var(--ease);
}
.about__image::before,
.why-ats__image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 5, 6, 0.82), transparent 58%);
  opacity: 0.74;
}
.about__image:hover::after,
.why-ats__image:hover::after { opacity: 0.58; }

/* --- Nota inferior del hero --- */
.hero__bottom-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.hero__bottom-text svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  stroke: var(--steel); fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  margin-top: 3px;
}
.hero__bottom-text p { font-size: 0.94rem; color: var(--ink-2); line-height: 1.65; }

/* ============================================================
   8. MARQUEE
   ============================================================ */
.marquee-section {
  position: relative;
  z-index: 3;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(167, 176, 184, 0.07), transparent 28%, rgba(141, 57, 71, 0.10)),
    #161014;
}
.marquee-track {
  display: flex;
  width: max-content;
  overflow: visible;
  animation: atlMarquee 30s linear infinite;
  will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

@keyframes atlMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes atlHeroDrift {
  from { transform: scale(1.08) translateX(10px); }
  to { transform: scale(1.02) translateX(0); }
}

@keyframes atlMarqueeIntro {
  from { opacity: 0.72; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.js .marquee-section {
  animation: atlMarqueeIntro 0.5s var(--ease) 0.36s both;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0;
  padding-inline: 0;
  white-space: nowrap;
}
.marquee-item.marquee-item--clone {
  display: flex;
}
.marquee-item span {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.85vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--steel-2);
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: normal;
}
.marquee-item .rule {
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-inline: 18px;
  background: rgba(167, 176, 184, 0.32);
  flex-shrink: 0;
  transform: translateY(-1px);
}

/* ============================================================
   9. SOBRE EL ESTUDIO
   ============================================================ */
.about { padding-top: clamp(46px, 5.4vw, 76px); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}

/* Una sola columna de texto: la cadena de lectura es
   etiqueta → titular → argumento → firma → acción. */
.about__body .kicker { margin-bottom: 22px; }
.about__body h2 { margin-bottom: 24px; }
.about__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 22px;
}
.about__body p { color: var(--ink-2); margin-bottom: 26px; }
.about__body .initial-cap {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 600;
  float: left;
  line-height: 0.78;
  margin-right: 10px;
  margin-top: 7px;
  color: var(--accent);
}
/* --- Figura + placa de credenciales ----------------------- */
.about__figure { position: relative; align-self: end; }
.about__image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}
.about__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 38% 62%;
  filter: grayscale(1) contrast(1.2) brightness(0.64) saturate(0.34);
}

/* Placa bordó, rectangular, cruzando de margen a foto. Se monta
   sobre la imagen y sube con margen negativo: casi no suma alto
   a la sección. */
.credential {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(24px, 3.2vw, 48px);
  align-items: center;
  width: min(100%, 88%);
  margin-top: clamp(-122px, -8.2vw, -70px);
  padding: 22px clamp(26px, 3vw, 40px);
  background:
    linear-gradient(135deg, rgba(167, 176, 184, 0.08), transparent 24%),
    linear-gradient(135deg, #1A0B0F, #090506);
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}
.credential::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: -1px;
  height: 1px;
  background: var(--metal);
}

.credential__stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-right: clamp(24px, 3vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}
.credential__num {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0;
}
.credential__num-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 0;
}

.credential__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.credential__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.credential__cta {
  flex-shrink: 0;
  padding: 13px 24px;
  font-size: 0.88rem;
  border-radius: 4px;
  border-color: rgba(255, 255, 255, 0.45);
}
.credential__cta .btn__arrow { background: rgba(255, 255, 255, 0.18); }
.credential__cta:hover { color: var(--ink); }
.credential__cta:hover .btn__arrow { background: rgba(242, 238, 238, 0.18); }

.credential__list li {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink-2);
}

/* ============================================================
   10. DIFERENCIALES
   ============================================================ */
.stats {
  background:
    linear-gradient(180deg, rgba(8, 5, 6, 0.28), transparent 18%),
    var(--bg-2);
}
.stats__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.stats__header .kicker { margin-bottom: 20px; }
.stats__header-right { max-width: 400px; }
.stats__header-right p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 0; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: stat;
  border: 1px solid var(--line);
  background: rgba(8, 5, 6, 0.22);
}
.stat-card {
  position: relative;
  min-height: 260px;
  padding: 54px 28px 34px;
  border-bottom: 1px solid transparent;
  counter-increment: stat;
  overflow: hidden;
  transition: background 0.32s var(--ease), border-color 0.32s var(--ease);
}
.stat-card::before {
  content: counter(stat, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel-muted);
  opacity: 0.72;
  transition: color 0.32s var(--ease), opacity 0.32s var(--ease);
}
.stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(180deg, rgba(167, 176, 184, 0.32), rgba(141, 57, 71, 0.44));
  opacity: 0;
  transition: width 0.32s var(--ease), opacity 0.32s var(--ease);
}
.stat-card + .stat-card { border-left: 1px solid var(--line); }
.stat-card:hover {
  background:
    linear-gradient(180deg, rgba(167, 176, 184, 0.07), transparent 44%),
    var(--surface);
  border-bottom-color: var(--line-strong);
}
.stat-card:hover::before { color: var(--steel-2); opacity: 1; }
.stat-card:hover::after { width: 3px; opacity: 1; }

.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 3.8vw, 3.35rem);
  font-weight: 600;
  line-height: 0.94;
  color: var(--ink);
  margin-bottom: 20px;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.stat-card:hover .stat-card__value { color: var(--steel-2); transform: translateX(4px); }
.stat-card__line {
  width: 7px;
  height: 34px;
  background: linear-gradient(180deg, var(--steel), var(--accent));
  opacity: 0.72;
  margin-bottom: 20px;
  border-radius: 1px;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.stat-card:hover .stat-card__line { opacity: 1; transform: scaleY(1.14); transform-origin: top; }
.stat-card__desc { font-size: 0.92rem; color: var(--ink-2); max-width: 25ch; margin-bottom: 0; }

/* ============================================================
   11. ÁREAS DE PRÁCTICA
   ============================================================ */
.areas {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 8, 10, 0.2), rgba(12, 8, 10, 0.82)),
    var(--bg-2);
  padding-top: 0;
}
.areas::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(99, 37, 44, 0.16), transparent 28%);
  opacity: 0.55;
}
.areas__header {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 760px;
  margin-bottom: clamp(34px, 4.4vw, 56px);
}
.areas__header > * {
  min-width: 0;
}
.areas__header .kicker {
  justify-content: flex-start;
  margin-bottom: 20px;
}
.areas__header h2 { margin-bottom: 16px; }
.areas__header p {
  max-width: 650px;
  color: var(--ink-2);
  margin-bottom: 0;
}

.areas__filter {
  position: relative;
  z-index: 30;
  min-width: 0;
  width: min(100%, 520px);
  display: grid;
  gap: 12px;
  padding: 42px 12px 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(242, 238, 238, 0.045), transparent 70%),
    linear-gradient(135deg, rgba(93, 34, 43, 0.14), transparent 55%),
    rgba(18, 13, 15, 0.76);
  box-shadow: inset 0 1px 0 rgba(242, 238, 238, 0.04);
}

.areas__filter-label {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  color: var(--steel);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}
.areas__filter-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--accent);
}

.areas__dropdown {
  position: relative;
  z-index: 35;
  min-width: 0;
}

.areas__dropdown-button {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  min-height: 56px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(5, 4, 5, 0.38);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  text-overflow: ellipsis;
  box-shadow: inset 0 0 0 0 rgba(167, 176, 184, 0);
  transition:
    color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    background 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.areas__dropdown-button [data-area-filter-current] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.areas__dropdown-button:hover,
.areas__dropdown.is-open .areas__dropdown-button {
  color: var(--ink);
  border-color: var(--line-strong);
}

.areas__dropdown-button:focus-visible,
.areas__dropdown-option:focus-visible {
  outline: 2px solid var(--steel-2);
  outline-offset: 3px;
}

.areas__dropdown-button {
  color: var(--ink);
  border-color: rgba(167, 176, 184, 0.46);
  background:
    linear-gradient(90deg, rgba(93, 34, 43, 0.78), rgba(55, 64, 70, 0.24)),
    rgba(5, 4, 5, 0.64);
  box-shadow: inset 4px 0 0 var(--steel), inset 0 0 0 1px rgba(242, 238, 238, 0.04);
}

.areas__dropdown-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(167, 176, 184, 0.34);
  background:
    linear-gradient(180deg, rgba(242, 238, 238, 0.04), transparent 76%),
    #130d10;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(242, 238, 238, 0.05);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.areas__dropdown.is-open .areas__dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.areas__dropdown-option {
  appearance: none;
  width: 100%;
  min-height: 42px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  transition: color 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.areas__dropdown-option:hover,
.areas__dropdown-option[aria-selected="true"] {
  color: var(--ink);
  border-color: rgba(167, 176, 184, 0.24);
  background:
    linear-gradient(90deg, rgba(93, 34, 43, 0.38), rgba(55, 64, 70, 0.16)),
    rgba(242, 238, 238, 0.035);
}

.areas__dropdown-option:hover {
  transform: translateX(2px);
}

.areas__select-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--steel-2);
  transform: none;
  pointer-events: none;
  transition: transform 0.22s var(--ease);
}

.areas__dropdown.is-open .areas__select-icon {
  transform: rotate(180deg);
}

.areas__select-icon--fallback {
  display: none;
}

.areas__select-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.areas__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.area-card {
  position: relative;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(167, 176, 184, 0.045), transparent 46%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  min-height: 238px;
  padding: 26px 26px 30px;
  text-align: left;
  transition:
    opacity 0.22s var(--ease),
    border-color 0.32s var(--ease),
    background 0.32s var(--ease),
    transform 0.32s var(--ease);
  box-shadow: inset 0 1px 0 rgba(242, 238, 238, 0.035);
  overflow: hidden;
}
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 36%, rgba(242, 238, 238, 0.055) 47%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.area-card[hidden] {
  display: none;
}
.area-card.is-changing {
  opacity: 0;
  transform: translateY(7px);
}
.area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--steel);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}
.area-card:hover {
  border-color: var(--steel);
  background:
    linear-gradient(180deg, rgba(93, 34, 43, 0.14), transparent 54%),
    var(--surface-2);
  transform: translateY(-3px);
}
.area-card:hover::before { opacity: 0.82; }
.area-card:hover::after { transform: translateX(120%); }

.area-card__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 28px;
  margin-bottom: 0;
  border-bottom: none;
}

.area-card__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.area-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.82;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), stroke 0.32s var(--ease);
}

.area-card:hover .area-card__icon svg {
  opacity: 1;
  stroke: var(--steel-2);
  transform: translateY(-2px);
}

.area-card h3 {
  max-width: 22ch;
  margin-bottom: 14px;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.04;
  overflow-wrap: break-word;
}
.area-card p {
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.68;
  margin-bottom: 22px;
  overflow-wrap: break-word;
}

.area-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--steel-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.area-card__link::after {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.58;
  transform-origin: left;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}

.area-card__link:hover {
  color: var(--ink);
}

.area-card__link:hover::after {
  opacity: 1;
  transform: scaleX(1.35);
}

.area-card__link:focus-visible {
  outline: 2px solid var(--steel-2);
  outline-offset: 5px;
}

.areas__cta {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: 16px;
  padding: 26px clamp(22px, 3vw, 34px);
  border: 1px solid rgba(167, 176, 184, 0.24);
  background:
    linear-gradient(90deg, rgba(93, 34, 43, 0.28), rgba(18, 13, 15, 0.92)),
    rgba(18, 13, 15, 0.9);
  box-shadow: inset 0 1px 0 rgba(242, 238, 238, 0.045), 0 18px 56px rgba(0, 0, 0, 0.24);
}

.areas__cta span {
  display: block;
  color: var(--steel-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.areas__cta p {
  max-width: 760px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.areas__cta .btn {
  min-width: 210px;
  border-color: rgba(167, 176, 184, 0.34);
}

/* ============================================================
   12. POR QUÉ ATL & ASOCIADOS
   ============================================================ */
.why-ats__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.why-ats__image { position: relative; border-radius: var(--r-xl); }
.why-ats__image > img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.14) brightness(0.76);
}
.counter-box {
  position: absolute;
  z-index: 4;
  bottom: 26px; left: 26px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
  display: flex;
  gap: 30px;
}
.counter-item h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent-text);
  margin-bottom: 2px;
}
.counter-item p {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0;
}

.why-ats__content .kicker { margin-bottom: 22px; }
.why-ats__content h2 { margin-bottom: 18px; }
.why-ats__content > p { color: var(--ink-2); margin-bottom: 30px; }

.why-ats__checklist {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
  counter-reset: checklist;
}
.why-ats__checklist li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  background: rgba(8, 5, 6, 0.22);
  font-size: 0.98rem;
  color: var(--ink);
  counter-increment: checklist;
  transition: border-color 0.32s var(--ease), background 0.32s var(--ease), transform 0.32s var(--ease);
}
.why-ats__checklist li::after {
  content: counter(checklist, decimal-leading-zero);
  position: absolute;
  top: 15px;
  right: 16px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel-muted);
  opacity: 0.72;
  pointer-events: none;
}
.why-ats__checklist li:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(167, 176, 184, 0.055);
  transform: translateX(4px);
}
.check-rule {
  position: relative;
  width: 9px;
  height: 9px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 10px;
  box-shadow: 0 0 0 1px rgba(216, 222, 227, 0.18);
  transition: background 0.32s var(--ease), box-shadow 0.32s var(--ease);
}
.check-rule::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--void);
  opacity: 0.7;
}
.why-ats__checklist li:hover .check-rule {
  background: var(--steel);
  box-shadow: 0 0 0 1px rgba(216, 222, 227, 0.34);
}

/* ============================================================
   13. METODOLOGÍA
   ============================================================ */
.methodology { background: var(--bg-tint); }
.methodology__header {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.methodology__header .kicker { margin-bottom: 20px; }
.methodology__header h2 { margin-bottom: 0; }
.methodology__header p { color: var(--ink-2); margin-bottom: 0; }

.methodology__steps { display: flex; flex-direction: column; }
.method-step {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.45s var(--ease);
}
.method-step:first-child { border-top: 1px solid var(--line); }
.method-step::before {
  content: '';
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  background: var(--steel);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}
.method-step::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 176, 184, 0.72), transparent);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.65s var(--ease), opacity 0.45s var(--ease);
}
.method-step:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(167, 176, 184, 0.055), transparent 44%);
}
.method-step:hover::before { opacity: 0.72; }
.method-step:hover::after { opacity: 1; transform: scaleX(1); }

.method-step__number {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--steel);
  opacity: 0.64;
  line-height: 1;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.method-step:hover .method-step__number { opacity: 1; transform: translateY(-2px); }
.method-step__text h3 { margin-bottom: 10px; }
.method-step__text p {
  font-size: 0.96rem;
  color: var(--ink-2);
  max-width: 62ch;
  margin-bottom: 0;
}

/* ============================================================
   14. FAQ
   ============================================================ */
.faq__header {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.faq__header .kicker { margin-bottom: 20px; }
.faq__header h2 { margin-bottom: 0; }
.faq__header p { color: var(--ink-2); margin-bottom: 0; }

.faq__list { max-width: 920px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.32s var(--ease), background 0.32s var(--ease);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item:hover,
.faq-item.is-open {
  background: linear-gradient(90deg, rgba(167, 176, 184, 0.045), transparent 52%);
}
.faq-item.is-open { padding-left: 10px; }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}
.faq-item__question:hover,
.faq-item.is-open .faq-item__question { color: var(--steel-2); }

/* El "+" sin caja: un círculo con borde alrededor de un signo es
   badge de plantilla. Queda el signo, que gira a "×" al abrir. */
.faq-item__icon {
  position: relative;
  width: 26px; height: 26px;
  flex-shrink: 0;
  font-size: 0;
  transition: transform 0.5s var(--ease);
}
/* El "+" dibujado con pseudo-elementos: gira y se vuelve "−" */
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-2);
  border-radius: 1px;
  transition: background 0.45s var(--ease),
              transform 0.5s var(--ease-spring),
              opacity 0.4s var(--ease);
}
.faq-item__icon::before { width: 17px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item__icon::after  { width: 1.5px; height: 17px; transform: translate(-50%, -50%); }

.faq-item__question:hover .faq-item__icon::before,
.faq-item__question:hover .faq-item__icon::after { background: var(--steel-2); }
.faq-item.is-open .faq-item__icon { transform: rotate(135deg); }
.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after { background: var(--steel-2); }

.faq-item__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.55s var(--ease);
}
.faq-item__answer-inner { padding-bottom: 26px; }
.faq-item__answer p {
  font-size: 0.97rem;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 72ch;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease) 0.1s, transform 0.5s var(--ease) 0.1s;
}
.faq-item.is-open .faq-item__answer p { opacity: 1; transform: none; }

/* ============================================================
   16. CTA FINAL
   ============================================================ */
.cta-final {
  background:
    linear-gradient(180deg, rgba(167, 176, 184, 0.055), transparent 34%),
    var(--void);
  color: var(--ink-inv);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: none;
}
.cta-final::after {
  content: none;
}
.cta-final__content { max-width: 760px; margin-inline: auto; position: relative; z-index: 1; }
.cta-final__kicker { margin-bottom: 26px; }
.cta-final__title { margin-bottom: 20px; }
.cta-final__sub {
  font-size: var(--fs-lead);
  color: var(--ink-inv-2);
  margin-bottom: 38px;
  line-height: 1.65;
}
.cta-final__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.cta-final__phone { font-size: 0.92rem; color: var(--ink-inv-2); margin-bottom: 0; }
.cta-final__phone a {
  color: var(--bone);
  border-bottom: 1px solid var(--steel);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.cta-final__phone a:hover { color: var(--steel-2); }

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--void);
  border-top: 1px solid var(--line-inv);
  padding: 64px 0 30px;
  color: var(--ink-inv-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-inv);
  margin-bottom: 24px;
}
.footer__brand .brand-logo { color: var(--bone); }
.footer__brand .brand-logo__line { color: var(--steel); }
.footer__brand p {
  font-size: 0.87rem;
  line-height: 1.8;
  max-width: 280px;
  margin-top: 18px;
  margin-bottom: 0;
}

.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  width: fit-content;
  font-size: 0.87rem;
  padding: 5px 0;
  transition: color 0.3s var(--ease), transform 0.35s var(--ease);
}
.footer__col a:hover { color: var(--bone); transform: translateX(4px); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
}
.footer__bottom p { margin-bottom: 0; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { transition: color 0.3s var(--ease); }
.footer__legal a:hover { color: var(--bone); }

/* ============================================================
   18. WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-radius: var(--r-lg);
  background: var(--button-bg);
  color: var(--button-ink);
  border: 1px solid var(--button-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.45s var(--ease),
              transform 0.38s var(--ease),
              box-shadow 0.4s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover {
  border-color: var(--steel-2);
  background: #270F15;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  transition: max-width 0.5s var(--ease), margin-left 0.5s var(--ease);
}
.wa-float:hover .wa-float__label { max-width: 220px; margin-left: 10px; }

/* ============================================================
   19. MOTION, reveals
   ============================================================ */

/* Todos los estados ocultos cuelgan de .js, sin JS no se oculta nada. */

/* Aparición base */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .hero .reveal {
  transform: translateY(18px);
  transition-duration: 0.66s;
}
.js .hero .hero__kicker { transition-delay: 0.08s; }
.js .hero .hero__subtitle { transition-delay: 0.22s; }
.js .hero .hero__actions { transition-delay: 0.3s; }
.js .hero .hero__territory { transition-delay: 0.38s; }

/* Cascada de hijos */
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.68s var(--ease), transform 0.68s var(--ease), border-color 0.32s var(--ease), background 0.32s var(--ease);
}
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 85ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 170ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 255ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 340ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 425ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 510ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 595ms; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 680ms; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 765ms; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 850ms; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 935ms; }
.reveal-stagger.is-visible > *:nth-child(13) { transition-delay: 1020ms; }

/* Titular que sube palabra por palabra desde una máscara */
.js .line-reveal .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.js .line-reveal .w > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(115%);
  transition: transform 0.72s var(--ease-spring);
}
.js .line-reveal.is-visible .w > i { transform: none; }

.js .hero .line-reveal .w > i {
  transition-duration: 0.72s;
}

/* Imagen que se descubre con clip-path + contra-zoom */
.img-reveal { overflow: hidden; }
.js .img-reveal img {
  clip-path: inset(0 0 100% 12%);
  transform: scale(1.12) translateY(14px);
  transition: clip-path 0.86s var(--ease), transform 1s var(--ease);
}
.js .img-reveal.is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); }

.js .kicker.reveal,
.js .reveal .kicker {
  transform-origin: left center;
}

.js .reveal.is-visible .kicker::after,
.js .areas__filter-label::after {
  animation: atlRuleDraw 0.8s var(--ease) both;
}

@keyframes atlRuleDraw {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card:nth-child(odd) { border-left: none; }
  .stat-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .team__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 991px) {
  :root { --header-h: 74px; }

  .header__nav,
  .header__cta.desktop-only { display: none; }
  .header__menu-btn {
    display: flex;
    margin-left: auto;
    background: rgba(242, 238, 238, 0.035);
    border-color: rgba(216, 222, 227, 0.28);
  }

  .hero { min-height: auto; align-items: start; }
  .hero > .container.hero__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .hero__backdrop img {
    object-position: 56% center;
    filter: grayscale(1) contrast(0.96) brightness(1.16) saturate(0.68);
  }
  .hero__backdrop::before {
    background:
      linear-gradient(90deg, rgba(8, 5, 6, 0.85) 0%, rgba(8, 5, 6, 0.61) 48%, rgba(8, 5, 6, 0.18) 100%),
      linear-gradient(180deg, rgba(8, 5, 6, 0.54) 0%, rgba(8, 5, 6, 0.14) 38%, rgba(8, 5, 6, 0.76) 100%);
  }
  .hero__title { max-width: 12ch; }
  .hero__side-panel {
    width: min(760px, 100%);
    gap: 18px;
  }
  .hero__proofs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .areas__header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .areas__filter {
    max-width: 520px;
  }
  .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-ats__grid { grid-template-columns: minmax(0, 1fr); }
  .methodology__header,
  .faq__header { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .stats__header { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  :root { --container-px: 22px; }
  body { font-size: 16px; }
  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--container-px);
  }
  .btn {
    min-height: 56px;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .header__inner,
  .hero__content,
  .hero__text,
  .hero__actions {
    min-width: 0;
  }
  .brand-logo {
    gap: 9px;
  }
  .brand-logo__mark {
    min-width: 44px;
    height: 36px;
    padding-inline: 7px;
  }
  .brand-logo__mark span {
    font-size: 0.98rem;
  }
  .brand-logo__name {
    font-size: 1.04rem;
  }
  .brand-logo__line {
    font-size: 0.49rem;
    letter-spacing: 0.20em;
  }
  .hero__subtitle,
  .hero__bottom-text p {
    overflow-wrap: break-word;
  }
  h1,
  h2,
  h3,
  p,
  a,
  button {
    max-width: 100%;
  }
  h1,
  h2,
  h3,
  p {
    overflow-wrap: break-word;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 46px;
    align-items: start;
  }
  .hero__backdrop img {
    object-position: 58% center;
    filter: grayscale(1) contrast(1.16) brightness(0.50) saturate(0.42);
  }
  .hero__backdrop::before {
    background:
      linear-gradient(90deg, rgba(8, 5, 6, 0.96) 0%, rgba(8, 5, 6, 0.88) 58%, rgba(8, 5, 6, 0.60) 100%),
      linear-gradient(180deg, rgba(8, 5, 6, 0.84) 0%, rgba(8, 5, 6, 0.34) 38%, rgba(8, 5, 6, 0.96) 100%);
  }
  .hero__title {
    font-size: clamp(3rem, 13vw, 4.45rem);
    line-height: 0.93;
    max-width: 10.8ch;
    padding-right: 0;
    margin-bottom: 24px;
  }
  .hero__kicker { margin-bottom: 22px; }
  .hero__subtitle { margin-bottom: 28px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__bottom-text { max-width: none; }
  .hero__proofs {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
  }
  .hero__proofs span {
    min-height: 52px;
    padding: 14px 16px;
  }
  .marquee-section {
    padding-block: 14px;
  }
  .marquee-track {
    width: max-content;
    overflow: visible;
    animation: atlMarquee 28s linear infinite;
    will-change: transform;
  }
  .marquee-item {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding-inline: 0;
    white-space: nowrap;
  }
  .marquee-item.marquee-item--clone {
    display: flex;
  }
  .marquee-item span {
    font-size: 0.7rem;
    letter-spacing: 0.11em;
    overflow-wrap: normal;
  }
  .marquee-item .rule {
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-inline: 16px;
    background: rgba(167, 176, 184, 0.32);
    transform: translateY(-1px);
  }

  @media (prefers-reduced-motion: reduce) {
    .marquee-track {
      width: 100%;
      animation: none;
    }

    .marquee-item {
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
      row-gap: 8px;
    }

    .marquee-item--clone {
      display: none;
    }
  }

  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about__image img { aspect-ratio: 4 / 3; }
  .credential {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: -54px;
    padding: 24px 26px 26px;
  }
  .credential__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .credential__cta { width: 100%; justify-content: center; }
  .credential__stat {
    padding-right: 0;
    padding-bottom: 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }
  .stat-card { padding: 30px 18px; }
  .stats__grid {
    grid-template-columns: minmax(0, 1fr);
    border-inline: none;
  }
  .stat-card + .stat-card { border-left: none; border-top: 1px solid var(--line); }
  .stat-card {
    min-height: auto;
    padding: 34px 22px 30px;
  }
  .stat-card::before {
    top: 18px;
    right: 18px;
  }
  .why-ats__checklist li {
    padding: 15px 42px 15px 16px;
    transform: none;
  }
  .why-ats__checklist li:hover {
    transform: none;
  }
  .areas__header {
    gap: 24px;
  }
  .areas__header h2 {
    max-width: 11.6ch;
  }
  .areas__header p {
    max-width: 100%;
  }
  .areas__filter {
    display: grid;
    overflow: visible;
    gap: 10px;
    margin-inline: 0;
    padding: 38px 10px 10px;
    border-inline: 1px solid var(--line);
  }
  .areas__dropdown-button {
    width: 100%;
    min-height: 50px;
    padding-inline: 12px;
    font-size: clamp(0.8rem, 3.2vw, 0.9rem);
  }
  .areas__dropdown-panel {
    top: calc(100% + 6px);
  }
  .areas__dropdown-option {
    min-height: 44px;
    font-size: 0.82rem;
  }
  .areas__grid { grid-template-columns: minmax(0, 1fr); }
  .area-card {
    min-height: 0;
    padding: 30px 22px 28px;
  }
  .area-card__head {
    padding-bottom: 24px;
  }
  .area-card__icon {
    width: 32px;
    height: 32px;
    padding-left: 9px;
  }
  .area-card__icon svg {
    width: 24px;
    height: 24px;
  }
  .areas__cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px;
  }
  .areas__cta .btn {
    width: 100%;
    min-width: 0;
  }

  .counter-box { left: 16px; right: 16px; bottom: 16px; gap: 20px; padding: 18px 20px; }
  .method-step { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .method-step__number { font-size: 2rem; }

  .cta-final__actions { flex-direction: column; align-items: stretch; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .wa-float { bottom: 18px; right: 18px; height: 52px; padding: 0 13px; }
  .wa-float:hover .wa-float__label { max-width: 0; margin-left: 0; }
}

/* ============================================================
   21. MOVIMIENTO REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 1; transform: none; }
  .js .line-reveal .w > i { transform: none; }
  .js .img-reveal img { clip-path: none; transform: none; }
  .wa-float { opacity: 1; transform: none; pointer-events: auto; }
}

/* ============================================================
   22. IMPRESIÓN
   ============================================================ */
@media print {
  .header, .mobile-nav, .wa-float,
  .marquee-section { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal, .reveal-stagger > *, .line-reveal .w > i { opacity: 1 !important; transform: none !important; }
  .img-reveal img { clip-path: none !important; transform: none !important; }
  .faq-item__answer { height: auto !important; }
}
