/* Fashion Retail Talent: hoja de estilos única.
   Maquetación calcada de la referencia elegida por JCB (retailwarriors.co.uk):
   titulares Montserrat Black en mayúsculas, texto Questrial, tarjetas negras con
   radio 20px, botones píldora en minúsculas. Acento dorado tomado del logo. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Questrial";
  src: url("/assets/fonts/questrial-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0a0a0a;
  --ink: #221e20;
  --white: #ffffff;
  --cream: #f4eade;
  --gold: #da9a47;        /* dorado del logo: rellenos, líneas y texto sobre negro */
  --gold-ink: #83561a;    /* dorado oscuro para texto sobre blanco o crema (AA) */
  --gold-soft: #ebdab0;
  --muted: #6b5e51;       /* texto secundario sobre claro (AA) */
  --muted-dark: #b9b3ad;  /* texto secundario sobre negro (AA) */
  --line: rgba(10, 10, 10, 0.14);
  --line-dark: rgba(255, 255, 255, 0.22);

  --f-display: "Montserrat", "Arial Black", Arial, sans-serif;
  --f-body: "Questrial", Helvetica, Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(12px, 1.6vw, 22px);
  --pad: clamp(22px, 3.4vw, 48px);
  --maxw: 1320px;
  --header-h: 96px;
  --space: clamp(56px, 8vw, 120px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--black); color: var(--white); padding: 10px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Tipografía ---------- */

.display,
h1, h2, h3.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92; /* las mayúsculas acentuadas (Á, É, Ñ) necesitan algo más que el 0.8 de la referencia */
  margin: 0 0 0.45em;
}
h1, .h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 0.92; }
h2, .h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 0.94; }
.h-xl { font-size: clamp(40px, 6.2vw, 84px); line-height: 0.92; }
.h-sm { font-size: clamp(24px, 2.2vw, 31px); line-height: 0.96; }
h3 { font-family: var(--f-body); font-size: 22px; font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
.accent { color: var(--gold); }
.on-light .accent, .accent--ink { color: var(--gold-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow { color: var(--gold); }
.on-light .eyebrow { color: var(--gold-ink); }

.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; max-width: 60ch; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-dark); }

/* ---------- Estructura ---------- */

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section--tight { padding: calc(var(--space) * 0.55) 0; }
.section--flush-top { padding-top: 0; }
.on-dark { color: var(--white); }
.on-light { color: var(--ink); }
.bg-black { background: var(--black); color: var(--white); }
.bg-cream { background: var(--cream); }

.stack > * + * { margin-top: var(--gutter); }

/* ---------- Botones píldora ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 168px; min-height: 46px; padding: 10px 28px;
  border-radius: 999px; border: 1.5px solid var(--white);
  background: var(--black); color: var(--white);
  font-family: var(--f-body); font-size: 15px; line-height: 1.2; text-transform: lowercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--light { background: var(--white); color: var(--black); border-color: var(--black); }
.btn--light:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--ghost { background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Cabecera ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); background: var(--white);
  transition: box-shadow .3s ease, height .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, 0.06); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { width: clamp(190px, 19vw, 290px); height: auto; }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.site-nav a {
  font-family: var(--f-body); font-size: 16px; text-transform: lowercase; text-decoration: none; color: var(--black);
  padding: 6px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--muted); }


.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--black); content: ""; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

main { padding-top: var(--header-h); display: block; }

/* ---------- Hero (foto a sangre dentro del margen, esquinas redondeadas) ---------- */

.hero {
  position: relative; margin: 0 var(--gutter); border-radius: var(--radius); overflow: hidden;
  min-height: min(calc(100vh - var(--header-h) - 12px), 860px); display: flex; align-items: center;
  background: var(--black); color: var(--white); isolation: isolate;
}
.hero--page { min-height: min(calc(86vh - var(--header-h)), 720px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.12) 100%),
              linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 40%);
}
.hero__content { position: relative; width: 100%; padding: clamp(40px, 6vw, 80px) clamp(22px, 3.6vw, 52px); max-width: 980px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { color: rgba(255, 255, 255, 0.92); }
.hero .eyebrow { color: var(--gold); }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Vídeo de fondo (hero, tarjetas finales y tarjetas de foto) ---------- */

.bg-video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--black); }
.hero__media .bg-video { position: absolute; inset: 0; }
.cta-card .bg-video { position: absolute; inset: 0; z-index: -2; transition: transform 1s ease; }
.cta-card:hover .bg-video { transform: scale(1.04); }
.media-card .bg-video { position: absolute; inset: 0; }
.video-toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8); background: rgba(10, 10, 10, 0.35); color: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease;
}
.video-toggle:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.link-gold { color: var(--gold); }
.on-light .link-gold { color: var(--gold-ink); }

/* ---------- Franja de cifras ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.stat { padding: 28px 0 0; border-top: 1.5px solid var(--black); }
.stat__value { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.6vw, 52px); line-height: 0.9; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 14px; }
.stat__value .accent { color: var(--gold-ink); }
.stat__label { font-size: 15px; line-height: 1.45; max-width: 26ch; }

/* ---------- Tarjetas ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.split + .split { margin-top: calc(var(--gutter) * 2.4); }
.card {
  border-radius: var(--radius); padding: var(--pad); position: relative; overflow: hidden;
}
.card--black { background: var(--black); color: var(--white); }
.card--white { background: var(--white); color: var(--ink); }
.card--line { border: 1.5px solid var(--black); }
.card--cream { background: var(--cream); }
.card--center { display: flex; flex-direction: column; justify-content: center; }
.card--tall { min-height: clamp(420px, 44vw, 620px); }
.card h2 { margin-bottom: 0.55em; }

.media-card { border-radius: var(--radius); overflow: hidden; position: relative; background: #1a1a1a; min-height: 320px; }
.media-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.2s ease; }
.media-card:hover img { transform: scale(1.03); }
.media-card--wide { aspect-ratio: 21 / 9; min-height: 0; width: min(100%, 1080px); }
.media-card figcaption {
  position: absolute; left: 16px; bottom: 14px; right: 16px; color: var(--white); font-size: 13px; text-shadow: none;
  background: rgba(10, 10, 10, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 999px; padding: 6px 14px; width: max-content; max-width: calc(100% - 32px);
}

/* ---------- Matriz de intención ---------- */

.intent { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 40px; }
.intent__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 270px;
  border-radius: var(--radius); padding: 26px 26px 24px; text-decoration: none;
  border: 1.5px solid var(--black); background: var(--white); color: var(--ink);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.intent__card:nth-child(odd) { background: var(--black); color: var(--white); }
.intent__card:hover { transform: translateY(-4px); }
.intent__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.intent__card:nth-child(odd) .intent__tag { color: var(--gold); }
.intent__card:nth-child(even) .intent__tag { color: var(--gold-ink); }
.intent__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(21px, 1.8vw, 26px); line-height: 0.95; letter-spacing: -0.02em; }
.intent__go { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; text-transform: lowercase; }
.intent__go::after { content: "→"; transition: transform .25s ease; }
.intent__card:hover .intent__go::after { transform: translateX(5px); }

/* ---------- Acordeón de perfiles ---------- */

.roles { list-style: none; margin: 8px 0 0; }
.roles details { border-bottom: 1px solid var(--line-dark); }
.roles summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; font-size: 19px; letter-spacing: -0.01em; text-transform: lowercase;
}
.roles summary::-webkit-details-marker { display: none; }
.roles summary::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .25s ease; flex: 0 0 auto; margin-right: 6px;
}
.roles details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.roles details[open] summary { color: var(--gold); }
.roles .roles__body { padding: 0 0 18px; color: var(--muted-dark); font-size: 15px; max-width: 52ch; }

/* ---------- Iconos de sectores ---------- */

.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; align-content: center; padding: 30px clamp(0px, 3vw, 40px); }
.icon-grid__item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.icon-grid__item svg { width: 54px; height: 54px; stroke: var(--black); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-grid__item svg .fill { fill: var(--gold); stroke: none; }
.icon-grid__item span { font-family: var(--f-display); font-weight: 800; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }

/* ---------- Tarjeta foto con panel translúcido centrado ---------- */

.overlay-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(460px, 48vw, 680px);
  display: flex; align-items: center; justify-content: center; padding: var(--pad); background: var(--black); isolation: isolate;
}
.overlay-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.overlay-card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); z-index: -1; }
.overlay-panel {
  max-width: 480px; text-align: center; color: var(--white);
  background: rgba(10, 10, 10, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: clamp(28px, 3vw, 44px);
}
.overlay-panel--wide { max-width: 620px; }
.overlay-panel .btn { margin-top: 22px; background: transparent; }
.overlay-panel .btn:hover { background: var(--gold); }
.spark { width: 44px; height: 44px; margin: 0 auto 18px; display: block; color: var(--gold); }

.panel-solo {
  margin: 0 auto; max-width: 640px; text-align: center; border-radius: var(--radius); padding: clamp(36px, 4vw, 60px);
  background: #4f4b48; color: var(--white);
}
.panel-solo .btn { margin-top: 22px; background: transparent; }
.panel-solo .btn:hover { background: var(--gold); }

/* ---------- Cinta de especialidades (sustituye a la de logos de clientes) ---------- */

.marquee { overflow: hidden; padding: 30px 0 36px; border-block: 1px solid var(--line); }
.marquee__label { text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.marquee__item { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(22px, 2.4vw, 34px); white-space: nowrap; }
.marquee__item:nth-child(4n+2) { color: var(--gold-ink); }
.marquee__sep { color: var(--gold); font-size: 22px; }
.marquee--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.marquee--dark .marquee__item:nth-child(4n+2) { color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Bloque numerado sobre negro ---------- */

.numbered { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.numbered__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.numbered__list { display: grid; gap: var(--gutter); list-style: none; margin: 0; padding: 0; }
.num-card {
  display: grid; grid-template-columns: 74px 1fr; gap: 22px; align-items: start;
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 38px);
}
.num-card__n {
  width: 64px; height: 42px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center;
  font-size: 17px; letter-spacing: 0.02em;
}
.num-card h3 { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 0.35em; }
.num-card p { font-size: 15.5px; }

/* ---------- Enunciado grande ---------- */

.statement { max-width: 1100px; }
.statement .lead { max-width: 64ch; }

/* ---------- Guías ---------- */

.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 40px; }
.guide {
  border: 1.5px solid var(--black); border-radius: var(--radius); padding: 28px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.guide h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 0.98; letter-spacing: -0.02em; }
.badge {
  display: inline-flex; align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--cream); color: var(--gold-ink);
}

/* ---------- FAQ en píldoras (eco de las píldoras de testimonios de la referencia) ---------- */

.faq { display: grid; gap: 14px; margin-top: 40px; }
.faq details { border-radius: 44px; border: 2px solid var(--black); background: var(--white); color: var(--ink); overflow: hidden; }
.faq details:nth-child(even) { background: var(--black); color: var(--white); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px clamp(24px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: clamp(17px, 1.4vw, 20px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-weight: 900; font-size: 26px; line-height: 1; transition: transform .25s ease; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 clamp(24px, 4vw, 56px) 26px; max-width: 80ch; font-size: 16px; }
.faq details:nth-child(even) .faq__a { color: var(--muted-dark); }
.faq details:nth-child(odd) .faq__a { color: var(--muted); }

/* ---------- Banda de contacto: foto con titular + tarjeta negra con formulario ---------- */

.contact-band { background: #ececec; }
.contact-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: stretch; }
.contact-duo__photo {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; color: var(--white); background: var(--black); isolation: isolate;
  display: flex; align-items: flex-start;
}
.contact-duo__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact-duo__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.2) 100%); }
.contact-duo__intro { padding: clamp(26px, 3vw, 44px); max-width: 560px; }
.contact-duo__intro .h-xl { margin-bottom: 0.4em; }
.contact-duo__intro p { font-size: 16px; }
.contact-duo__note { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.85); }
.contact-duo__form { display: flex; align-items: center; justify-content: center; padding: clamp(22px, 3vw, 44px); }
.form-shell { width: 100%; max-width: 560px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 32px); }
.form-shell .input, .form-shell .select, .form-shell .textarea {
  background-color: var(--white); color: var(--ink); border: 1px solid #cfcfcf; border-radius: 999px; min-height: 42px; padding: 9px 18px;
}
.form-shell .textarea { border-radius: 18px; min-height: 96px; }
.form-shell .input:focus, .form-shell .select:focus, .form-shell .textarea:focus { background-color: var(--white); border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.form-shell .input::placeholder, .form-shell .textarea::placeholder { color: rgba(10,10,10,.45); }
.form-shell .field label, .form-shell .field legend { font-size: 13px; }
.form-shell .form-actions .btn { width: 100%; background: transparent; color: var(--white); border-color: var(--white); }
.form-shell .form-actions .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.form-shell .form-status { width: 100%; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field legend { font-size: 14px; }
.field .req { color: var(--gold); }
.on-light .field .req { color: var(--gold-ink); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-dark); background: rgba(255, 255, 255, 0.06); color: var(--white);
  transition: border-color .2s ease, background-color .2s ease;
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.select option { color: var(--ink); background: var(--white); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); background-color: rgba(255, 255, 255, 0.1); outline: none; }
.on-light .input, .on-light .select, .on-light .textarea { border-color: rgba(10, 10, 10, 0.3); background-color: var(--white); color: var(--ink); }
.on-light .input:focus, .on-light .select:focus, .on-light .textarea:focus { border-color: var(--black); }
.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.on-light .input::placeholder, .on-light .textarea::placeholder { color: rgba(10, 10, 10, 0.45); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line-dark); font-size: 15px; transition: all .2s ease; }
.on-light .choice span { border-color: rgba(10, 10, 10, 0.3); }
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--black); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.check a { color: var(--gold); }
.on-light .check a { color: var(--gold-ink); }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.on-light .form-note { color: var(--muted); }
.form-note a { color: inherit; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.is-ok { color: var(--gold); }
.on-light .form-status.is-ok { color: var(--gold-ink); }
.form-status.is-error { color: #ff9b8a; }
.on-light .form-status.is-error { color: #b42318; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.form-switch { display: inline-flex; padding: 5px; border-radius: 999px; border: 1.5px solid var(--line-dark); gap: 4px; margin-bottom: 26px; }
.on-light .form-switch { border-color: rgba(10, 10, 10, 0.3); }
.form-switch button {
  border: 0; background: transparent; border-radius: 999px; padding: 10px 22px; cursor: pointer; font-size: 15px; text-transform: lowercase;
}
.form-switch button[aria-selected="true"] { background: var(--gold); color: var(--black); }

/* ---------- Tres tarjetas finales de llamada a la acción ---------- */

.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding: var(--gutter); background: #ececec; }
.cta-card {
  position: relative; min-height: clamp(300px, 24vw, 380px); border-radius: var(--radius); overflow: hidden; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px;
  padding: clamp(22px, 2.4vw, 34px); text-decoration: none; isolation: isolate;
}
.cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.cta-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.34); transition: background-color .4s ease; }
.cta-card:hover img { transform: scale(1.04); }
.cta-card:hover::after { background: rgba(0,0,0,.5); }
.cta-card h2 { font-size: clamp(24px, 2.1vw, 30px); margin: 0 0 16px; max-width: 13ch; }
.cta-card .btn { min-width: 150px; pointer-events: none; background: transparent; }
.cta-card:hover .btn { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* ---------- Pie ---------- */

.site-footer { background: var(--black); color: var(--white); padding: clamp(56px, 6vw, 84px) 0 84px; } /* 84px: aire para el botón flotante de volver arriba */
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px 28px; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 15px; color: var(--muted-dark); max-width: 30ch; }
.footer-col h2 { font-family: var(--f-body); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; text-transform: lowercase; line-height: 1.2; margin: 0 0 14px; }
.footer-col ul { list-style: none; }
.footer-col li { font-size: 16px; line-height: 1.8; }
.footer-col__sub { margin-top: 22px !important; }
.footer-col a { text-decoration: none; color: var(--white); opacity: 0.88; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; font-size: 14px; color: var(--muted-dark);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--white); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-bottom__credit { justify-self: end; text-align: right; }
.footer-bottom__credit .heart { display: inline-block; vertical-align: -1px; margin: 0 2px; }
@media (max-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-bottom__credit { justify-self: center; text-align: center; }
}

/* ---------- Volver arriba ---------- */

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); color: var(--black); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Páginas interiores ---------- */

.breadcrumbs { font-size: 14px; margin: 0 0 18px; color: rgba(255,255,255,.85); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs--light, .detail-hero .breadcrumbs, .breadcrumbs--light a:hover, .detail-hero .breadcrumbs a:hover, .article-head .breadcrumbs a:hover { color: var(--gold-ink); }
.contact-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.02em; color: var(--black); text-decoration: none; border-bottom: 2px solid var(--gold); }
.contact-big:hover { color: var(--gold-ink); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: clamp(340px, 30vw, 460px);
  border-radius: var(--radius); overflow: hidden; padding: clamp(22px, 2.4vw, 32px); color: var(--white); text-decoration: none; background: var(--black); isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.1) 65%); }
.tile:hover img { transform: scale(1.05); }
.tiles--two { grid-template-columns: repeat(2, 1fr); }
.tiles--two .tile { min-height: clamp(360px, 34vw, 520px); }
.tile__more { align-self: flex-start; font-size: 14px; text-transform: lowercase; border: 1.5px solid var(--white); border-radius: 999px; padding: 7px 18px; transition: all .25s ease; }
.tile:hover .tile__more { background: var(--gold); border-color: var(--gold); color: var(--black); }
.tile h2, .tile h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); line-height: 0.92; letter-spacing: -0.02em; margin: 0; }
.tile p { font-size: 15px; color: rgba(255,255,255,.9); margin: 0; max-width: 34ch; }

.job-list { list-style: none; columns: 2; column-gap: 40px; margin-top: 8px; }
.job-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 18px; text-transform: lowercase; }
.on-light .job-list li { border-color: var(--line); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); counter-reset: step; list-style: none; margin-top: 36px; }
.steps li { border-top: 1.5px solid currentColor; padding-top: 22px; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.03em; color: var(--gold-ink); margin-bottom: 14px; }
.on-dark .steps li::before { color: var(--gold); }
.steps h3 { font-size: 21px; }

.check-list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: 16px; }
.check-list li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 1.5px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }

.legal { max-width: 860px; }
.legal h1 { font-size: clamp(36px, 4.4vw, 58px); }
.legal h2 { font-size: clamp(22px, 2vw, 28px); margin-top: 1.6em; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.65; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal a { color: var(--gold-ink); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1em; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }

/* ---------- Cabecera partida de las fichas de servicio (texto a la izquierda, vídeo a la derecha) ---------- */

.detail-hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(28px, 4vw, 56px); padding-bottom: var(--space); }
.detail-hero__text h1 { color: var(--black); }
.detail-hero__text p { font-size: 15.5px; max-width: 54ch; }
.detail-hero__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.1; background: var(--black); }
.detail-hero__media .bg-video { position: absolute; inset: 0; }

/* ---------- Franja negra de cuatro columnas ---------- */

.quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); text-align: center; }
.quad h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(20px, 1.8vw, 26px); line-height: 0.95; margin-bottom: 14px; }
.quad p { font-size: 15px; color: var(--muted-dark); }

/* ---------- Fila de fotos ---------- */

.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.photo-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cifras escalonadas (Nosotros) ---------- */

.leaders { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); align-items: start; margin-top: 50px; }
.leader:nth-child(1) { margin-top: 0; }
.leader:nth-child(2) { margin-top: 150px; }
.leader:nth-child(3) { margin-top: 60px; }
.leader:nth-child(4) { margin-top: 110px; }
.leader:nth-child(5) { margin-top: 190px; }
.leader h3 { font-size: 19px; margin-bottom: 4px; }
.leader p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.leader figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.leader img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pila de tarjetas con borde y foto (Nosotros) ---------- */

.card-stack { display: grid; gap: calc(var(--gutter) * 2); }
.card-photo { border: 2px solid var(--black); border-radius: var(--radius); padding: clamp(14px, 1.4vw, 20px); background: var(--white); }
.card-photo figure { margin: 0 0 22px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(24px, 2.3vw, 34px); line-height: .95; padding: 0 6px; }
.card-photo p { padding: 0 6px; font-size: 15.5px; }
.sticky-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.signature { margin-top: 26px; font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.signature span { display: block; font-family: var(--f-body); font-weight: 400; color: var(--muted-dark); }
.trayectoria { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trayectoria li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* ---------- Cinta de texto enlazada (Nosotros) ---------- */

.marquee--link { display: block; text-decoration: none; color: var(--black); }
.marquee--link:hover .marquee__item { color: var(--gold-ink); }

/* ---------- Rejilla de ciudades (Empleo) ---------- */

.city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.city {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 180px; padding: 22px;
  border-radius: var(--radius); background: var(--black); color: var(--white); text-decoration: none; transition: transform .25s ease, background-color .25s ease;
}
.city:nth-child(even) { background: var(--white); color: var(--black); border: 1.5px solid var(--black); }
.city:hover { transform: translateY(-3px); }
.city__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: 20px; line-height: 1; }
.city__go { font-size: 14px; text-transform: lowercase; }
.city__go::after { content: " →"; }

/* ---------- Blog ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1.5px solid var(--black); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .25s ease; }
.post-card:hover { transform: translateY(-4px); }
.post-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.post-card img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__date { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.post-card h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: 21px; line-height: 1; margin: 0; }
.post-card__more { margin-top: auto; font-size: 15px; text-transform: lowercase; }
.post-card__more::after { content: " →"; }

.article-head { padding: clamp(28px, 4vw, 56px) 0 28px; max-width: 900px; }
.article-head h1 { color: var(--black); font-size: clamp(34px, 4.2vw, 58px); }
.article-meta { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.article-cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { max-width: 760px; }
.article p, .article li { font-size: 17.5px; line-height: 1.7; }
.article h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 1.6em 0 .6em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: .4em; }
.article a { color: var(--gold-ink); }
.article blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 19px; }
.article-cta { margin-top: 48px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); }
.article-cta h2 { margin-top: 0; }
.article-figure { margin: 32px 0; }
.article-figure img { border-radius: 14px; width: 100%; height: auto; }
.article-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.article-more { margin: 48px 0 0; }
.article-more ul { list-style: none; padding: 0; }
.article-more li { font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- Aparición al hacer scroll ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .leaders { grid-template-columns: repeat(3, 1fr); }
  .intent { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); border-top: 1px solid var(--line);
    padding: 12px var(--gutter) 28px; box-shadow: 0 24px 40px rgba(0,0,0,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .brand img { width: 168px; }

  .split, .contact-duo, .numbered { grid-template-columns: 1fr; }
  .contact-duo__photo { min-height: 420px; }
  .split--reverse > :first-child { order: 2; }
  .detail-hero, .quad { grid-template-columns: 1fr; }
  .detail-hero__media { aspect-ratio: 4 / 3; }
  .photo-row, .post-grid { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .leader:nth-child(n) { margin-top: 0; }
  .sticky-intro { position: static; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .numbered__intro { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .guides, .tiles, .cta-cards { grid-template-columns: 1fr; }
  .cta-card { min-height: 240px; }
  .media-card { min-height: 0; aspect-ratio: 4 / 3; }
  .media-card--tall { aspect-ratio: 4 / 5; }
  .media-card--wide { aspect-ratio: 4 / 3; width: 100%; }
  .icon-grid { padding: 10px 0; gap: 30px 12px; }
  .job-list { columns: 1; }
  .hero { min-height: min(calc(92vh - var(--header-h)), 720px); align-items: flex-end; }
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%); }
}

@media (max-width: 600px) {
  .intent { grid-template-columns: 1fr; }
  .intent__card { min-height: 0; gap: 22px; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .num-card { grid-template-columns: 1fr; gap: 14px; }
  .btn-row .btn { flex: 1 1 100%; }
  .faq details { border-radius: 26px; }
  .steps { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .marquee { padding: 24px 0; }
  .footer-brand img { width: 200px; }
}

@media (max-width: 380px) {
  .brand img { width: 146px; }
  .footer-grid { grid-template-columns: 1fr; }
}
