/* =========================================
   COLORES Y TIPOGRAFÍAS
   Cambia aquí los colores y afectará a toda la web
   ========================================= */
:root {
  --ink: #141414;          /* negro tinta */
  --cream: #f6f1ea;        /* fondo crema */
  --sand: #ebe2d6;         /* arena */
  --camel: #9a7556;        /* camel: el color de acento */
  --muted: #6d655c;        /* texto secundario */
  --line: rgba(20, 20, 20, 0.15);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}
h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h3 { font-size: 1.7rem; margin-bottom: 8px; }
em { font-style: italic; }
h1 em, h2 em { color: var(--camel); }

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 20px;
}
.kicker--light { color: var(--sand); }

/* =========== BOTONES =========== */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); }

.link-arrow {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.link-arrow span { display: inline-block; transition: transform 0.3s; }
.link-arrow:hover span { transform: translateX(6px); }

/* =========== CABECERA =========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header--scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 var(--gutter);
}

.logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.logo em { letter-spacing: 0.02em; color: var(--camel); font-weight: 400; }

.nav { display: flex; gap: 40px; }
.nav--right { justify-content: flex-end; }
.nav a,
.mobile-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  justify-self: end;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
}
.menu-toggle span { width: 28px; height: 1px; background: var(--ink); transition: transform 0.3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 28px;
  padding: 40px var(--gutter) 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a { font-family: var(--serif); font-size: 2rem; letter-spacing: 0.02em; text-transform: none; }
.mobile-nav--open { display: flex; }

/* =========== FOTOS (marcadores) ===========
   Cuando tengas fotos, sustituye estos bloques por
   <img src="img/tu-foto.jpg" alt="..."> */
.photo {
  position: relative;
  background: var(--sand);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.photo span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.55);
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Retrato: el fondo blanco de la foto se funde con un fondo cálido de la web */
.photo--portrait { background: linear-gradient(170deg, #f1e9de 0%, #dccbb5 100%); }
.photo--portrait img { mix-blend-mode: multiply; object-position: center top; }
.photo--tone1 { background: linear-gradient(160deg, #d9ccbc 0%, #b89f86 100%); }
.photo--tone2 { background: linear-gradient(160deg, #e8e0d5 0%, #cbbcaa 100%); }
.photo--tone3 { background: linear-gradient(160deg, #3a332d 0%, #1c1916 100%); }
.photo--tone3 span { color: rgba(246, 241, 234, 0.6); }

/* =========== PORTADA =========== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gutter);
  padding: 60px var(--gutter) 100px;
  align-items: center;
  min-height: calc(100vh - 80px);
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 7rem);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.hero__lead {
  max-width: 440px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 44px;
}
.hero__buttons { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

.hero__visual { position: relative; padding-bottom: 40px; }
.photo--tall { width: 78%; margin-left: auto; }
.photo--small {
  position: absolute;
  width: 38%;
  left: 0;
  bottom: 0;
  border: 10px solid var(--cream);
}
.hero__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__caption em { font-family: var(--serif); text-transform: none; font-size: 1rem; letter-spacing: 0; }

/* =========== CINTA =========== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 40s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========== MANIFIESTO =========== */
.manifesto {
  padding: 140px var(--gutter);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  line-height: 1.3;
}
.manifesto em { color: var(--camel); }

/* =========== GALERÍA DE SECTORES =========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 var(--gutter) 40px;
}
.gallery figure { margin: 0; }
.gallery .photo { margin-bottom: 14px; }
.gallery .photo img { transition: transform 0.8s ease; }
.gallery figure:hover .photo img { transform: scale(1.04); }
.gallery figcaption { font-family: var(--serif); font-size: 1.5rem; font-style: italic; }
.gallery figcaption span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--camel);
  margin-right: 8px;
}

/* =========== SECCIONES =========== */
.section { padding: 120px var(--gutter); }
.section--sand { background: var(--sand); }
.section__head { margin-bottom: 70px; }

/* Servicios numerados */
.services { list-style: none; border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 30px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s;
}
.service:hover { padding-left: 16px; }
.service__num { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--camel); }
.service h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.service p { color: var(--muted); }

/* Bloque talento (oscuro) */
.talent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--cream);
}
.talent .photo { aspect-ratio: auto; min-height: 600px; }
.talent__text {
  padding: 100px var(--gutter);
  align-self: center;
}
.talent__text h2 { margin-bottom: 30px; }
.talent__text h2 em { color: #c9a98a; }
.talent__text > p { color: #cfc6bb; max-width: 480px; margin-bottom: 30px; }
.talent__list { list-style: none; margin-bottom: 44px; }
.talent__list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(246, 241, 234, 0.15);
  font-size: 0.95rem;
}
.talent__list li::before { content: "— "; color: #c9a98a; }

.section__lead { color: var(--muted); max-width: 560px; margin-top: 24px; font-size: 1.05rem; }

/* Índice de áreas y puestos */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.area {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}
.area:hover { background: var(--sand); }
.area__num { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--camel); }
.area h3 { margin: 14px 0 18px; }
.area ul { list-style: none; }
.area li { color: var(--muted); font-size: 0.92rem; padding: 3px 0; }
.area--cta {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}
.area--cta:hover { background: #2a2622; }
.area--cta h3 { margin: 6px 0 18px; }
.area--cta h3 em { color: #c9a98a; }
.area--cta .link-arrow { color: var(--cream); border-bottom-color: var(--cream); align-self: flex-start; }
.area--cta:hover .link-arrow span { transform: translateX(6px); }

/* Sobre mí */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--gutter);
  align-items: center;
  padding: 0 var(--gutter) 120px;
}
.about__photo .photo { aspect-ratio: 4 / 5; }
.about__text h2 { margin-bottom: 32px; }
.about__lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  margin-bottom: 24px;
}
.about__text > p:not(.kicker):not(.about__lead):not(.about__sign) { color: var(--muted); max-width: 540px; }
.about__sign {
  margin-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
}
.about__sign span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Método */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.step { border-top: 1px solid var(--ink); padding-top: 24px; }
.step span { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--camel); }
.step h3 { margin: 12px 0; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Contacto */
.contact__info { list-style: none; }
.contact__info li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__info a,
.footer__bottom a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact__info a:hover,
.footer__bottom a:hover { border-bottom-color: currentColor; }
.contact__info span {
  display: inline-block;
  width: 120px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.form { display: grid; gap: 34px; align-content: start; padding-top: 20px; }
.form__choice { display: flex; gap: 12px; flex-wrap: wrap; }
.form__choice input { position: absolute; opacity: 0; }
.form__choice span {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
.form__choice input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.form__choice input:focus-visible + span { outline: 2px solid var(--camel); outline-offset: 2px; }

/* Campos con etiqueta que "flota" */
.field { position: relative; display: block; }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  padding: 14px 0 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  resize: vertical;
  outline: none;
}
.field span {
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--muted);
  pointer-events: none;
  transition: 0.25s;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  top: -12px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--camel); }
.form .btn { justify-self: start; }
.form__msg { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--camel); margin-top: 20px; }

/* Desplegable con etiqueta que flota */
.field select {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  padding: 14px 0 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.field--select::after {
  content: "↓";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 0.9rem;
  pointer-events: none;
}
.field select:focus + span,
.field select:valid + span {
  top: -12px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.field select:focus { border-bottom-color: var(--camel); }

/* Formulario ancho (páginas de marcas y talento) */
.form-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gutter);
  align-items: start;
}
.form-section__intro h2 { margin-bottom: 24px; }
.form-section__intro .contact__info { margin-top: 40px; }
.form-section__intro p:not(.kicker) { color: var(--muted); max-width: 420px; }
.form-section__intro a,
.check a { color: var(--ink); }

.form--wide { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 38px; }
.field--full { grid-column: 1 / -1; }

fieldset.form__choice { border: none; }
.form__choice legend {
  width: 100%;
  margin-bottom: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Adjuntar CV */
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file label {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  border: 1px dashed var(--muted);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.file label:hover { border-color: var(--camel); background: rgba(154, 117, 86, 0.06); }
.file input:focus-visible + label { outline: 2px solid var(--camel); outline-offset: 2px; }
.file__btn {
  padding: 10px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.file__name { color: var(--muted); font-size: 0.95rem; }

/* Casilla de privacidad */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--ink); width: 16px; height: 16px; flex-shrink: 0; }

/* Enlace "Envía tu CV" del menú: discreto, en camel */
.nav a.nav__cv { color: var(--camel); }
.nav a.nav__cv::after { background: var(--camel); }
.mobile-nav a.mobile-nav__cv { color: var(--camel); font-style: italic; }

/* Franja para candidatos (secundaria) */
.cv-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 50px var(--gutter);
  border-top: 1px solid var(--line);
}
.cv-band .kicker { margin: 0; color: var(--camel); }
.cv-band__text { color: var(--muted); max-width: 560px; }
.cv-band .link-arrow { white-space: nowrap; }

/* Página de envío de CV */
.form-section--page { padding-top: 70px; }
.form-section--page h1 { font-size: clamp(3.2rem, 7vw, 6rem); margin-bottom: 28px; }
.form-section__intro p:not(.kicker) + p { margin-top: 16px; }
.form-section__note { font-size: 0.9rem; }
.form-section__photo { aspect-ratio: 4 / 3; margin: 36px 0 24px; max-width: 420px; }

/* Página actual en el menú */
.nav a[aria-current="page"]::after { width: 100%; }
.mobile-nav a[aria-current="page"] { font-style: italic; color: var(--camel); }

/* =========== PIE =========== */
.footer {
  background: var(--ink);
  color: var(--sand);
  padding: 100px var(--gutter) 40px;
}
.logo--big {
  display: block;
  color: var(--cream);
  font-size: clamp(2.6rem, 11vw, 10rem);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 60px;
}
.logo--big em { color: #c9a98a; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 241, 234, 0.15);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =========== ANIMACIÓN AL HACER SCROLL =========== */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================
   VERSIÓN TABLET Y MÓVIL
   ========================================= */
@media (max-width: 960px) {
  .hero, .talent, .about { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .about__photo { max-width: 460px; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero__visual { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .talent .photo { min-height: 380px; }
  .form-section { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header__inner { grid-template-columns: 1fr auto; height: 68px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .logo { font-size: 1.4rem; }

  .section { padding: 80px var(--gutter); }
  .section__head { margin-bottom: 44px; }
  .manifesto { padding: 90px var(--gutter); }
  .service { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .steps, .areas { grid-template-columns: 1fr; }
  .area--cta { grid-column: auto; }
  .area { padding: 28px 20px; }
  .about { padding-bottom: 80px; }
  .talent__text { padding: 70px var(--gutter); }
  .marquee span { font-size: 1.4rem; }
  .contact__info span { width: 100px; }
  .form--wide { grid-template-columns: 1fr; }
  .cv-band { grid-template-columns: 1fr; gap: 16px; }
  .form-section--page { padding-top: 40px; }
}

/* =========================================
   PÁGINAS LEGALES
   ========================================= */
.legal-page { padding-top: 70px; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 12px; }
.legal h1 em { color: var(--camel); }
.legal h2 {
  font-size: 1.7rem;
  margin: 48px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: #3b3630; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 10px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); }
.legal__updated { font-size: 0.85rem; color: var(--muted); }
.legal__table { overflow-x: auto; margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 400; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.legal code { font-size: 0.85rem; background: var(--sand); padding: 2px 6px; }

/* Datos pendientes de rellenar antes de publicar */
.pending { color: var(--camel); border-bottom: 1px dashed var(--camel); }
.pending-note { color: var(--camel); font-style: italic; list-style: none; }

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
}

/* Enlaces legales del pie */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer__legal a,
.footer__legal button {
  color: #a39a8f;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.footer__legal a:hover,
.footer__legal button:hover { color: var(--cream); }

/* =========================================
   BOTÓN DE WHATSAPP
   ========================================= */
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s, bottom 0.3s;
}
.whatsapp:hover { transform: translateY(-3px); }
.whatsapp svg { width: 30px; height: 30px; fill: currentColor; flex-shrink: 0; }
.has-cookie-banner .whatsapp { bottom: calc(var(--cookie-h, 0px) + 20px); }

/* =========================================
   BANNER DE COOKIES
   ========================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
}
.cookie-banner p { max-width: 720px; font-size: 0.9rem; color: #d8d0c5; }
.cookie-banner a { color: var(--cream); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  border: 1px solid var(--cream);
}
.cookie-banner .accept { background: var(--cream); color: var(--ink); }
.cookie-banner .reject { background: transparent; color: var(--cream); }

@media (max-width: 760px) {
  .whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .legal-page { padding-top: 40px; }
}

/* =========================================
   CUESTIONARIO DE EMPRESAS
   ========================================= */
.questionnaire {
  scroll-margin-top: 100px;
  background: var(--cream);
  padding: 40px;
  border: 1px solid var(--line);
}
.q-progress { margin-bottom: 32px; }
.q-progress__label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.q-progress__label b { color: var(--camel); font-weight: 400; }
.q-progress__bar { height: 2px; background: var(--line); }
.q-progress__bar span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--camel);
  transition: width 0.4s ease;
}

.q-step {
  border: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 32px;
}
.q-step + .q-step { margin-top: 40px; }
.q-legend {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: 1.7rem;
  margin-bottom: 26px;
  padding: 0;
}
.q-question {
  width: 100%;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.questionnaire .form__choice span { padding: 10px 16px; }

.q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.q-back {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.q-back:hover { color: var(--ink); }
.q-error { color: #a4574a; font-size: 0.85rem; margin-top: 14px; }

.q-done__title {
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.3;
}

/* Con JavaScript: un paso cada vez */
.js .q-step { display: none; }
.js .q-step.is-active { display: grid; }
.js .q-step + .q-step { margin-top: 0; }
/* Sin JavaScript: todo visible y solo el botón de enviar */
html:not(.js) .q-progress,
html:not(.js) .q-back,
html:not(.js) .q-next { display: none; }

@media (max-width: 760px) {
  .questionnaire { padding: 24px 20px; }
  .q-step { grid-template-columns: 1fr; }
}

/* Campo trampa contra robots en los formularios */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Página de gracias */
.thanks-page { min-height: 60vh; max-width: 760px; margin: 0 auto; padding-top: 120px; }
.thanks-page h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 24px; }
.thanks-page h1 em { color: var(--camel); }
.thanks-page p:not(.kicker) { color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; }

/* =========================================
   MÓVIL: TARJETAS DESLIZABLES Y SALTO DE SECCIÓN
   ========================================= */
.swipe-hint { display: none; }
.jump { display: none; }

@media (max-width: 760px) {
  .section { padding: 64px var(--gutter); }
  .section__head { margin-bottom: 28px; }
  .section__lead { margin-top: 16px; font-size: 1rem; }
  .manifesto { padding: 64px var(--gutter); }
  .talent__text { padding: 56px var(--gutter); }
  .talent .photo { min-height: 280px; }

  /* Servicios, perfiles y método: tarjetas en fila que se deslizan con el dedo */
  .services,
  .areas,
  .steps {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    scroll-padding: 0 var(--gutter);
    border: none;
    scrollbar-width: none;
  }
  .services::-webkit-scrollbar,
  .areas::-webkit-scrollbar,
  .steps::-webkit-scrollbar { display: none; }

  .service,
  .area,
  .step {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .service {
    display: block;
    padding: 28px 22px;
    border: 1px solid var(--line);
  }
  .service:hover { padding-left: 22px; }
  .service h3 { font-size: 1.8rem; margin: 10px 0 12px; }
  .area { border: 1px solid var(--line); }
  .area--cta { justify-content: center; }
  .step { flex-basis: 74%; }

  /* Dentro del carrusel las tarjetas se ven ya, sin esperar a la animación */
  .js .services .reveal,
  .js .areas .reveal,
  .js .steps .reveal { opacity: 1; transform: none; }

  .swipe-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--camel);
  }
  .swipe-hint span { display: inline-block; animation: swipe-hint 1.6s ease-in-out infinite; }

  /* Botones ↑ ↓ para saltar de sección, encima del de WhatsApp */
  .jump {
    position: fixed;
    right: 20px;
    bottom: 84px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: var(--ink);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition: bottom 0.3s, opacity 0.3s;
  }
  .jump button {
    width: 48px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    transition: opacity 0.3s;
  }
  .jump button + button { border-top: 1px solid rgba(246, 241, 234, 0.18); }
  .jump button:disabled { opacity: 0.25; cursor: default; }
  .jump svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .jump--hidden { opacity: 0; pointer-events: none; }
  .has-cookie-banner .jump { bottom: calc(var(--cookie-h, 0px) + 84px); }
}

@keyframes swipe-hint {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint span { animation: none; }
}
