/* ==========================================================================
   Jobs for You — sistema visual
   Paleta e Inter salen del tablero de marca (branding/). No inventar colores.
   Estructura pensada para portarse a Elementor: cada <section> = una sección,
   cada .container = un contenedor, tokens en variables CSS (Global Colors/Fonts).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --orange: #F58220;      /* acentos, iconos, el trazo */
  --ink: #263746;         /* títulos, navegación, botones principales */
  --slate: #6B7280;       /* texto secundario sobre fondo claro */
  --mist: #F4F6F8;        /* fondos alternos */
  --white: #FFFFFF;       /* fondo dominante */

  /* Derivados (solo tonos de la misma paleta) */
  --ink-deep: #1B2834;    /* footer */
  --ink-soft: #3A4D5E;    /* hover de botón principal */
  --line: #E2E6EB;        /* divisores sobre blanco */
  --line-strong: #CBD2DA; /* bordes de campos */
  --orange-wash: #FEF3E9; /* fondo muy suave para iconos */
  --on-ink-muted: #B7C2CC;/* texto secundario sobre --ink */
  --error: #B42318;

  /* Tipografía */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.78rem;

  /* Espacio (escala de 4/8) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section-y: clamp(72px, 4rem + 5vw, 136px);
  --gutter: clamp(20px, 1rem + 2vw, 40px);
  --max: 1200px;

  /* Forma y profundidad */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(38, 55, 70, .06), 0 2px 8px rgba(38, 55, 70, .04);
  --shadow-2: 0 2px 4px rgba(38, 55, 70, .05), 0 12px 32px -8px rgba(38, 55, 70, .14);
  --shadow-3: 0 4px 8px rgba(38, 55, 70, .06), 0 32px 64px -24px rgba(38, 55, 70, .28);

  /* Movimiento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms; --t: 240ms;

  /* Capas */
  --z-header: 50; --z-menu: 60;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--s-4); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--orange); }
.on-ink .eyebrow { color: var(--white); }
/* El H1 de cada página (keyword SEO) usa el estilo eyebrow; el titular grande es un <p class="display">. */
h1.eyebrow { line-height: 1.45; letter-spacing: .14em; max-width: 40rem; }
@media (max-width: 479px) { h1.eyebrow { letter-spacing: .1em; } }

.display { font-weight: 600; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.04em; }
.h2 { font-weight: 600; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.035em; }
.h2-sm { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.2rem); line-height: 1.1; letter-spacing: -0.03em; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--slate); max-width: 34em; }
.muted { color: var(--slate); }
.on-ink .lead, .on-ink .muted { color: var(--on-ink-muted); }
.tabular { font-variant-numeric: tabular-nums; }

/* El trazo: la curva ascendente con flecha del logo, bajo una palabra clave. */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark .trazo {
  position: absolute; left: -3%; top: 100%; margin-top: -0.12em; width: 106%; height: auto; aspect-ratio: 300 / 44;
  overflow: visible; pointer-events: none;
}
.trazo path { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5);
  border-radius: var(--r-md); border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform var(--t-fast) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:hover { --btn-bg: var(--ink-soft); --btn-bd: var(--ink-soft); box-shadow: var(--shadow-2); }
.btn:hover .icon-move { transform: translateX(3px); }
.btn:hover .icon-ext { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }

.btn-orange { --btn-bg: var(--orange); --btn-fg: var(--ink); --btn-bd: var(--orange); }
.btn-orange:hover { --btn-bg: #F79237; --btn-bd: #F79237; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--white); --btn-bd: var(--ink); box-shadow: var(--shadow-1); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: var(--white); box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 var(--s-4); font-size: .9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; text-decoration: none; color: var(--ink);
  padding-block: var(--s-2);
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--orange); transition: transform var(--t) var(--ease); }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Franja de prototipo (quitar antes de publicar) ---------- */
.proto-banner { background: var(--orange); color: var(--ink); text-align: center; font-size: .875rem; line-height: 1.4; padding: 8px var(--gutter); }
.proto-banner strong { font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(38,55,70,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 80px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: var(--r-sm); }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: var(--s-2); }
.nav-links { display: flex; align-items: center; gap: var(--s-1); list-style: none; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  font-size: .9688rem; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-links a:hover { background: var(--mist); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--s-4); right: var(--s-4); bottom: 6px; height: 2px; border-radius: 2px; background: var(--orange);
}
.nav-cta { margin-left: var(--s-4); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
}
.menu-toggle:hover { border-color: var(--ink); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; z-index: var(--z-menu);
    flex-direction: column; align-items: stretch; gap: var(--s-4);
    padding: var(--s-5) var(--gutter) var(--s-6);
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-3);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { display: flex; min-height: 56px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .nav-links a:hover { background: none; }
  .nav-links a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav-cta { margin: var(--s-2) 0 0; width: 100%; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--white); }
.section-head { display: grid; gap: var(--s-4); max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-split { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .section-head-split { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.02fr 1fr; } }
.hero-copy { display: grid; gap: var(--s-5); justify-items: start; }
.hero-copy .display { margin-top: var(--s-1); margin-bottom: 0.5em; font-size: clamp(2.25rem, 1.5rem + 2vw, 2.9rem); line-height: 1.06; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } .hero-actions { width: 100%; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }
.hero-note { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); color: var(--slate); }
.hero-note .icon { width: 18px; height: 18px; color: var(--orange); }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-3);
  aspect-ratio: 5 / 4; background: var(--mist);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .frame-tall { aspect-ratio: 4 / 3; }

/* ---------- Franja de trayectoria ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: clamp(24px, 3vw, 36px) var(--s-5) clamp(24px, 3vw, 36px) 0; display: grid; gap: var(--s-1); }
.fact + .fact { padding-left: var(--s-5); border-left: 1px solid var(--line); }
@media (max-width: 899px) {
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.fact-value { order: -1; margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact-label { font-size: var(--fs-small); color: var(--slate); line-height: 1.45; }

/* ---------- Dos caminos ---------- */
.paths { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.path {
  display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden;
  background: var(--mist); box-shadow: var(--shadow-1);
}
.path-media { aspect-ratio: 16 / 9; overflow: hidden; }
.path-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.path:hover .path-media img { transform: scale(1.03); }
.path-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding: clamp(28px, 3.4vw, 44px); flex: 1; }
.path-body .checklist { width: 100%; }
.path-body .h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.35rem); }
.path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: auto; padding-top: var(--s-3); }
.path-ink { background: var(--ink); color: var(--white); }
.path-ink .eyebrow { color: var(--white); }
.path-ink .muted { color: var(--on-ink-muted); }
.path-ink .link-arrow { color: var(--white); }

.checklist { list-style: none; display: grid; gap: var(--s-3); }
@media (min-width: 560px) { .checklist-2 { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5); } }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; line-height: 1.45; }
.checklist .icon { width: 20px; height: 20px; color: var(--orange); margin-top: 1px; }
.small-print { font-size: var(--fs-small); color: var(--slate); }
.small-print a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.path-ink .small-print { color: var(--on-ink-muted); }
.path-ink .small-print a { color: var(--white); }

/* ---------- Paneles de servicio (Para empresas) ---------- */
.service-panels { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .service-panels { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.service-panel {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4);
  padding: clamp(28px, 3.6vw, 48px); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-1);
}
.service-panel .checklist { margin-top: var(--s-2); padding-top: var(--s-5); border-top: 1px solid var(--line); width: 100%; }

/* ---------- Industrias ---------- */
.industries {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; background: var(--white);
}
@media (min-width: 640px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .industries { grid-template-columns: repeat(5, 1fr); } }
.industries li {
  display: grid; gap: var(--s-4); align-content: start;
  padding: clamp(20px, 2.4vw, 28px); min-height: 132px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-weight: 500; line-height: 1.3;
  transition: background-color var(--t) var(--ease);
}
.industries li:hover { background: var(--orange-wash); }
.icon-chip {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--orange-wash); color: var(--orange);
}
.icon-chip .icon { width: 22px; height: 22px; }
.industries li:hover .icon-chip { background: var(--white); }

/* ---------- Sobre nosotros ---------- */
.about-grid { display: grid; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 960px) { .about-grid { grid-template-columns: .8fr 1.2fr; } }
.years { display: grid; align-content: start; gap: var(--s-3); }
@media (min-width: 960px) { .years { position: sticky; top: 120px; align-self: start; } }
.years-num {
  display: block; font-size: clamp(7rem, 4rem + 12vw, 13rem); font-weight: 600; line-height: .82;
  letter-spacing: -0.07em; font-variant-numeric: tabular-nums; color: var(--ink);
}
.years-label { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; }
.years .trazo { width: min(100%, 300px); height: 44px; overflow: visible; }
.about-copy { display: grid; gap: var(--s-5); align-content: start; }
.about-copy p { max-width: 38em; }
.pull-quote { margin: var(--s-2) 0 0; padding: var(--s-1) 0 var(--s-1) var(--s-5); border-left: 3px solid var(--orange); }
.pull-quote p { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }

.pillars { display: grid; gap: var(--s-5) var(--s-6); margin-top: var(--s-3); }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.pillar h3 { font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.35; padding-top: 2px; margin-bottom: var(--s-1); }
.pillar p { font-size: var(--fs-small); color: var(--slate); line-height: 1.55; }

.affiliations { margin-top: clamp(48px, 6vw, 80px); padding-top: var(--s-6); border-top: 1px solid var(--line); display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .affiliations { grid-template-columns: 220px 1fr; align-items: center; } }
.affiliations-label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.affiliations-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.affiliations-list li {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: var(--fs-small); background: var(--white);
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .85fr 1.15fr; gap: var(--s-9); } }
.faq-aside { display: grid; gap: var(--s-4); align-content: start; }
@media (min-width: 960px) { .faq-aside { position: sticky; top: 120px; } }
.faq-contact { margin-top: var(--s-4); padding: var(--s-5); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-1); display: grid; gap: var(--s-3); }
.faq-contact a { display: inline-flex; align-items: center; gap: var(--s-3); font-weight: 600; text-decoration: none; min-height: 44px; }
.faq-contact a:hover { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; }
.faq-contact .icon { color: var(--orange); width: 20px; height: 20px; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  min-height: 72px; padding: var(--s-4) 0; cursor: pointer;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink-soft); }
.faq-icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--ink);
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.faq-icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.faq-answer { padding: 0 var(--s-8) var(--s-5) 0; color: var(--slate); display: grid; gap: var(--s-3); }
.faq-answer ul { padding-left: 1.2em; display: grid; gap: var(--s-1); }
.faq-answer a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 640px) { .faq-answer { padding-right: 0; } }

/* ---------- Cierre ---------- */
.closing { position: relative; overflow: hidden; }
.closing-inner { position: relative; display: grid; gap: var(--s-6); justify-items: start; max-width: 54rem; }
.closing-quote { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 3.15rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 600; }
.closing-quote em { font-style: normal; color: var(--orange); }
.closing-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.closing-inner .lead { max-width: 36em; }

/* ---------- Servicios (Para empresas) ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 800px) { .services { grid-template-columns: 1fr 1fr; } }
.service { background: var(--white); padding: clamp(28px, 3.4vw, 48px); display: grid; gap: var(--s-4); align-content: start; }
.service p { color: var(--slate); max-width: 30em; }

.value-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .value-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.value { display: grid; gap: var(--s-3); padding-top: var(--s-5); border-top: 2px solid rgba(255,255,255,.14); }
.value h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
.value p { color: var(--on-ink-muted); font-size: var(--fs-small); line-height: 1.6; }
.value .icon { color: var(--orange); }

.talent-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .talent-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.talent-photos { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-4); }
.talent-photos figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.talent-photos img { width: 100%; height: 100%; object-fit: cover; }
.talent-photos figure:first-child { aspect-ratio: 4 / 5; }
.talent-photos figure:last-child { aspect-ratio: 4 / 5; margin-top: var(--s-8); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag-list li { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0 var(--s-4); border-radius: 999px; background: var(--mist); font-size: var(--fs-small); font-weight: 500; }
.tag-list .icon { width: 16px; height: 16px; color: var(--orange); }

.steps { list-style: none; display: grid; gap: var(--s-6); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.step { position: relative; display: grid; gap: var(--s-3); padding-top: var(--s-6); border-top: 1px solid var(--line-strong); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; color: var(--orange); font-variant-numeric: tabular-nums;
}
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--ink); }
.step p { color: var(--slate); }

/* ---------- Formularios ---------- */
.form-section-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .form-section-grid { grid-template-columns: .8fr 1.2fr; gap: var(--s-9); } }
.form-aside { display: grid; gap: var(--s-5); align-content: start; }
.direct-list { list-style: none; display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.direct-list a, .direct-list span { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; text-decoration: none; font-weight: 500; }
.direct-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.direct-list .icon { width: 20px; height: 20px; color: var(--orange); }

.form-card { background: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 3.6vw, 48px); box-shadow: var(--shadow-2); }
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label, .field .label { font-size: var(--fs-small); font-weight: 600; }
.field .req { color: var(--slate); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 var(--s-4);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--white);
  font-size: 1rem; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 140px; padding: var(--s-3) var(--s-4); resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: var(--s-7); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23263746' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(245, 130, 32, .28); }
.field input::placeholder, .field textarea::placeholder { color: #8B929C; }
.field-hint { font-size: .875rem; color: var(--slate); }
.field-error { display: none; font-size: .875rem; color: var(--error); font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error .field-error { display: block; }

.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-small); line-height: 1.5; color: var(--slate); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.check a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.check-wrap.has-error .check { color: var(--error); }
.check-wrap .field-error { margin-top: var(--s-2); }
.check-wrap.has-error .field-error { display: block; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-2); }
.form-foot .btn { min-width: 220px; }
.form-status { display: none; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); font-weight: 500; line-height: 1.5; }
.form-status.is-success { display: flex; gap: var(--s-3); background: #ECF7F0; color: #14532D; }
.form-status.is-error { display: block; background: #FDECEA; color: var(--error); }
.form-status .icon { color: #15803D; margin-top: 1px; }

/* ---------- Contacto ---------- */
.channels { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .channels { grid-template-columns: repeat(4, 1fr); } }
.channel {
  display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6) var(--s-5);
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
a.channel:hover { border-color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.channel-label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.channel-value { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; overflow-wrap: anywhere; }
.channel-note { font-size: var(--fs-small); color: var(--slate); line-height: 1.5; }

.routes { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .routes { grid-template-columns: 1fr 1fr; } }
.route { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--mist); }
.route-ink { background: var(--ink); color: var(--white); }
.route-ink .muted { color: var(--on-ink-muted); }
.route-ink .link-arrow { color: var(--white); }
.routes-lg .route { padding: clamp(28px, 3.6vw, 48px); gap: var(--s-4); border-radius: var(--r-xl); align-content: start; }
.route .muted a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.route-ink .muted a { color: var(--white); }
.route-ink .icon-chip { background: rgba(245, 130, 32, .14); }
.route-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-3); }

.office-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .office-grid { grid-template-columns: .8fr 1.2fr; gap: var(--s-9); } }
.office-data { margin: 0; background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-1); padding: var(--s-2) clamp(24px, 3vw, 40px); }
.office-data > div { display: grid; gap: var(--s-1) var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.office-data > div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .office-data > div { grid-template-columns: 150px 1fr; align-items: baseline; } }
.office-data dt { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.office-data dd { margin: 0; font-weight: 500; line-height: 1.5; }
.office-data dd a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.office-data dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.office-data dd.socials a { text-decoration: none; }

.map-card {
  position: relative; display: block; margin-top: clamp(32px, 4vw, 56px);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 7; background: var(--line); text-decoration: none;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
@media (max-width: 759px) { .map-card { aspect-ratio: 4 / 3; } }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map-chip {
  position: absolute; left: var(--s-4); bottom: var(--s-4);
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--r-md); background: var(--ink); color: var(--white); font-weight: 600; font-size: .9375rem;
  box-shadow: var(--shadow-2); transition: background-color var(--t) var(--ease);
}
.map-chip .icon { width: 18px; height: 18px; }
.map-chip .icon:first-child { color: var(--orange); }
.map-card:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.map-card:hover .map-chip { background: var(--ink-soft); }
.map-card:hover .icon-ext { transform: translate(2px, -2px); }
.map-chip .icon-ext { transition: transform var(--t) var(--ease); }

.socials { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.social {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: 0 var(--s-5);
  border-radius: 999px; border: 1.5px solid var(--line-strong); text-decoration: none; font-weight: 600;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.social:hover { border-color: var(--ink); background: var(--white); }
.social .icon { width: 20px; height: 20px; }

/* ---------- Legal ---------- */
.legal-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .legal-grid { grid-template-columns: 260px 1fr; gap: var(--s-9); } }
.toc { align-self: start; padding: var(--s-5); border-radius: var(--r-lg); background: var(--mist); }
@media (min-width: 960px) { .toc { position: sticky; top: 112px; } }
.toc-title { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--s-3); }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: var(--s-3); padding: var(--s-2) 0; text-decoration: none; font-size: var(--fs-small); font-weight: 500; line-height: 1.4; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--orange); font-variant-numeric: tabular-nums; font-weight: 600; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 44rem; display: grid; gap: var(--s-7); }
.prose section { display: grid; gap: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--line); scroll-margin-top: 112px; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); letter-spacing: -0.02em; }
.prose p, .prose li { color: #4A5563; }
.prose ul { padding-left: 1.25em; display: grid; gap: var(--s-2); }
.prose a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.draft-note { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--orange-wash); border: 1px solid #F9C99C; font-size: var(--fs-small); line-height: 1.5; }
.draft-note .icon { color: var(--orange); width: 20px; height: 20px; margin-top: 1px; }

/* ---------- Encabezado de página interna ---------- */
.page-head { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head-inner { display: grid; gap: var(--s-5); max-width: 52rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--white); padding-top: clamp(64px, 7vw, 96px); }
.footer-grid { display: grid; gap: var(--s-7); padding-bottom: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: var(--s-6); } }
.footer-brand { display: grid; gap: var(--s-4); align-content: start; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { color: var(--on-ink-muted); max-width: 22em; font-size: var(--fs-small); }
.footer-col h2 { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--s-1); }
.footer-col a, .footer-col span { display: inline-flex; align-items: flex-start; gap: var(--s-3); min-height: 40px; padding-block: 8px; color: var(--white); text-decoration: none; font-size: var(--fs-small); line-height: 1.5; }
.footer-col a:hover { color: var(--orange); }
.footer-col .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s-3); align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: .875rem; color: var(--on-ink-muted); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink-muted); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .credit a { display: inline-block; min-height: 0; padding-block: 12px; margin-block: -12px; text-decoration: underline; }

/* ---------- Movimiento ---------- */
/* El contenido es visible sin JS; .js activa la entrada suave. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1100ms var(--ease) 200ms; }
.js .draw.is-visible path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .draw path { stroke-dashoffset: 0; }
}
