/* ============================================================
   CAMELTY — Landing 2026
   Marca: violeta #741F7D · lima #A8E04A · Poppins
   Textura camaleón: reemplazar --texture-image por la imagen
   generada (ver nota en index.html)
   ============================================================ */

:root {
  --c-purple: #741F7D;
  --c-purple-bright: #9A2BA6;
  --c-purple-deep: #4A1053;
  --c-ink: #1C0721;          /* berenjena casi negro */
  --c-dark: #2A0D31;
  --c-lime: #A8E04A;
  --c-lime-dark: #7FB52E;
  --c-paper: #F7F2F8;        /* lavanda muy claro */
  --c-white: #FFFFFF;
  --c-border-light: #E8DCEB;
  --c-text-dark: #2B1430;
  --c-text-muted: #6E5A74;
  --c-text-light: rgba(255, 255, 255, 0.78);

  --font: 'Poppins', sans-serif;

  --container: 1200px;
  --section-pad: clamp(72px, 9vw, 132px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Textura piel de camaleón — tiles seamless 1024px */
  --texture-dark: url('../assets/textura-oscura.webp');
  --texture-light-img: url('../assets/textura-clara.webp');
  /* Textura anterior — patrón geométrico hexagonal */
  --texture-hex-dark: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5-13-7.5v-15l13-7.5zM3 17.45v6.1L.5 25v-7.55L3 17.45zm22.99 0v6.1l2.5 1.45v-7.55l-2.5 1.45zM13.99 0l12.49 7.21-2.5 1.45L13.99 2.89 4 8.66 1.5 7.21 13.99 0zM13.99 16l-9.5 5.49v10.92l9.5 5.49 9.5-5.49V21.49L13.99 16z'/%3E%3C/g%3E%3C/svg%3E");
  --texture-hex-light: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23741F7D' fill-opacity='0.045' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5-13-7.5v-15l13-7.5zM3 17.45v6.1L.5 25v-7.55L3 17.45zm22.99 0v6.1l2.5 1.45v-7.55l-2.5 1.45zM13.99 0l12.49 7.21-2.5 1.45L13.99 2.89 4 8.66 1.5 7.21 13.99 0zM13.99 16l-9.5 5.49v10.92l9.5 5.49 9.5-5.49V21.49L13.99 16z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text-dark);
  background: var(--c-ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section { scroll-margin-top: 84px; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ---------- Textura de sección ---------- */
.texture { position: relative; isolation: isolate; }
.texture::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--texture-dark);
  background-size: 520px;
  mix-blend-mode: soft-light;
  opacity: var(--texture-opacity, 0.6);
  pointer-events: none;
}
/* Secciones casi negras: la textura suma como brillo sutil */
.ia-experts.texture::before,
.values.texture::before,
.footer.texture::before {
  mix-blend-mode: screen;
  opacity: 0.22;
}
.texture--light::before {
  background-image: var(--texture-light-img);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

/* Variante de textura: patrón hexagonal anterior */
body[data-texture="hex"] .texture::before {
  background-image: var(--texture-hex-dark) !important;
  background-size: 28px 49px;
  mix-blend-mode: normal;
  opacity: 1;
}
body[data-texture="hex"] .texture--light::before {
  background-image: var(--texture-hex-light) !important;
}
/* Variante de textura: sin textura */
body[data-texture="off"] .texture::before { display: none; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-lime);
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--c-lime);
}
.on-light .eyebrow { color: var(--c-purple); }
.on-light .eyebrow::before { background: var(--c-lime); }

.section-title {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.section-title .accent { color: var(--c-lime); }
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s;
}
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lime {
  background: var(--c-lime);
  color: var(--c-ink);
}
.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168, 224, 74, 0.32);
}
.btn-purple {
  background: var(--c-purple);
  color: var(--c-white);
}
.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(116, 31, 125, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--c-white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--c-lime);
  color: var(--c-lime);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: padding 0.35s;
  padding: 22px 0;
}
/* El blur va en un pseudo-elemento: backdrop-filter directamente en .nav
   convierte al nav en containing block y rompe el menú mobile fixed */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(28, 7, 33, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.nav.scrolled { padding: 14px 0; }
.nav.scrolled::before { opacity: 1; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-white);
  line-height: 1;
}
.logo .dot { color: var(--c-lime); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-lime); }
.nav-cta {
  padding: 11px 22px;
  border-radius: 6px;
  background: var(--c-lime);
  color: var(--c-ink) !important;
  font-weight: 600;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(168, 224, 74, 0.3);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

/* ---------- Hero (común) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 700px at 78% 18%, rgba(154, 43, 166, 0.5), transparent 65%),
    radial-gradient(800px 600px at 8% 88%, rgba(168, 224, 74, 0.1), transparent 60%),
    linear-gradient(165deg, #5B1564 0%, var(--c-purple) 46%, #3A0C42 100%);
  color: var(--c-white);
  overflow: hidden;
}
.hero[hidden] { display: none; }
.hero h1 {
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero h1 .accent { color: var(--c-lime); }
.hero .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

/* placeholder de imagen */
.img-placeholder {
  display: grid;
  place-items: center;
  gap: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    var(--c-purple-deep);
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 24px;
}
.img-placeholder .ph-icon { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.img-placeholder .ph-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 24ch;
  line-height: 1.5;
}

/* --- Hero A: split --- */
.hero-a .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
}
.hero-a .hero-media { position: relative; }
.hero-a .hero-media .hero-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.hero-a .hero-media::after {
  content: '';
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 2px solid var(--c-lime);
  border-radius: 14px;
  opacity: 0.85;
  z-index: 0;
}

/* --- Hero B: monumental centrado --- */
.hero-b { text-align: center; }
.hero-b .hero-center {
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-b h1 { font-size: clamp(56px, 8.6vw, 128px); }
.hero-b .btn-row { justify-content: center; }
.hero-b .hero-banner {
  margin-top: clamp(48px, 6vw, 80px);
  width: min(900px, 100%);
}
.hero-b .hero-banner .hero-img {
  aspect-ratio: 21 / 9;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* --- Hero C: full-bleed --- */
.hero-c .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-c .hero-bg .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero-c .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(80deg, rgba(28, 7, 33, 0.78) 8%, rgba(28, 7, 33, 0.35) 48%, rgba(28, 7, 33, 0) 100%);
}
.hero-c .hero-content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 110px;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: '';
  width: 1.5px;
  height: 34px;
  background: linear-gradient(var(--c-lime), transparent);
  animation: hint-drop 2.2s var(--ease-out) infinite;
}
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Secciones claras ---------- */
.on-light {
  background: var(--c-paper);
  color: var(--c-text-dark);
}
.on-light .lead { color: var(--c-text-muted); }
.on-light .section-title { color: var(--c-purple-deep); }

/* ---------- Quiénes somos / Qué hacemos ---------- */
.about {
  padding-block: var(--section-pad);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
}
.about-block + .about-block { margin-top: clamp(56px, 7vw, 96px); }
.about .lead { margin-top: 24px; }
.latam {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.latam .pill {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-purple);
  border: 1px solid var(--c-border-light);
  box-shadow: 0 2px 10px rgba(116, 31, 125, 0.07);
}
.latam .latam-note {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ---------- Banner IA experts ---------- */
.ia-experts {
  background: var(--c-ink);
  color: var(--c-white);
  padding-block: clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.ia-experts .section-title { color: var(--c-white); }
.ia-experts .lead { color: var(--c-text-light); margin-top: 22px; }
.ia-marquee {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ia-marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.ia-marquee-track span {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}
.ia-marquee-track span.solid {
  color: var(--c-lime);
  -webkit-text-stroke: 0;
}
@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* ---------- Clientes / Carrusel de logos ---------- */
.clients {
  background:
    radial-gradient(900px 600px at 15% 20%, rgba(154, 43, 166, 0.5), transparent 62%),
    linear-gradient(160deg, #5B1564 0%, var(--c-purple) 52%, #3A0C42 100%);
  color: var(--c-white);
  padding-block: var(--section-pad);
  overflow: hidden;
}
.clients .section-title { color: var(--c-white); }
.clients-marquee {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.clients-row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients-track {
  display: flex;
  flex-shrink: 0;
  gap: 22px;
  padding-right: 22px;
  will-change: transform;
}
.clients-track[data-dir="left"] { animation: client-scroll-l 48s linear infinite; }
.clients-track[data-dir="right"] { animation: client-scroll-r 48s linear infinite; }
.clients-row:hover .clients-track { animation-play-state: paused; }
@keyframes client-scroll-l {
  to { transform: translateX(-50%); }
}
@keyframes client-scroll-r {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.client-card {
  flex-shrink: 0;
  width: 220px;
  height: 124px;
  background: var(--c-white);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 26px 34px;
  box-shadow: 0 10px 30px rgba(28, 7, 33, 0.28);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(28, 7, 33, 0.4);
}
.client-card img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Logos que necesitan más presencia: menos padding + mayor escala */
.client-card:has(img[src*="adidas"]),
.client-card:has(img[src*="santander"]),
.client-card:has(img[src*="walmart"]),
.client-card:has(img[src*="loreal"]),
.client-card:has(img[src*="bci"]) {
  padding: 6px 16px;
  width: auto;
}
.client-card img[src*="adidas"],
.client-card img[src*="santander"],
.client-card img[src*="walmart"],
.client-card img[src*="loreal"],
.client-card img[src*="bci"] {
  max-height: 116px;
}
/* Santander, Walmart y L'Oréal: card que se ajusta al ancho del logo
   (más angosta) sin reducir el tamaño del logo */
.client-card:has(img[src*="santander"]),
.client-card:has(img[src*="walmart"]),
.client-card:has(img[src*="loreal"]) {
  width: auto;
  padding: 6px 18px;
}
.client-card img[src*="loreal"] {
  width: auto;
  max-height: 104px;
}
/* Santander y Walmart: logo más grande */
.client-card:has(img[src*="santander"]),
.client-card:has(img[src*="walmart"]) {
  padding: 4px 14px;
}
.client-card img[src*="santander"],
.client-card img[src*="walmart"] {
  width: auto;
  max-height: 120px;
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none !important; }
  .clients-row {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- Verticales ---------- */
.verticals { padding-block: var(--section-pad); }
.verticals-head { max-width: 720px; }
.verticals .lead { margin-top: 22px; }
.verticals-grid {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.v-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: 16px;
  padding: 36px 30px 32px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.v-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(74, 16, 83, 0.12);
  border-color: rgba(168, 224, 74, 0.8);
}
.v-card .num {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(116, 31, 125, 0.3);
  transition: color 0.3s, -webkit-text-stroke-color 0.3s;
}
.v-card:hover .num {
  color: var(--c-lime);
  -webkit-text-stroke-color: var(--c-lime);
}
.v-card h3 {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-purple-deep);
}
.v-card p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--c-text-muted);
  text-wrap: pretty;
}

/* ---------- Valores ---------- */
.values {
  background: var(--c-dark);
  color: var(--c-white);
  padding-block: var(--section-pad);
}
.values .section-title { color: var(--c-white); }
.values-grid {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
}
.value-cell {
  background: var(--c-dark);
  padding: 40px 30px 44px;
  transition: background 0.3s;
}
.value-cell:hover { background: rgba(116, 31, 125, 0.35); }
.value-cell .v-index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--c-lime);
}
.value-cell h3 {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}
.value-cell p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--c-text-light);
  text-wrap: pretty;
}

/* ---------- Consultoría ---------- */
.consultancy { padding-block: var(--section-pad); }
.consult-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.consult-grid .lead { margin-top: 24px; }
.consult-grid .btn { margin-top: 36px; }
.consult-note {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.consult-media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--c-border-light);
  box-shadow: 0 24px 60px rgba(74, 16, 83, 0.16);
}

/* ---------- IA última generación ---------- */
.ia-gen {
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(154, 43, 166, 0.45), transparent 60%),
    var(--c-ink);
  color: var(--c-white);
  padding-block: var(--section-pad);
}
.ia-gen .section-title { color: var(--c-white); }
.ia-gen .lead { color: var(--c-text-light); margin-top: 24px; max-width: 56ch; }
.ia-features {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
}
.ia-feature {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 28px 26px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.3s, background 0.3s;
}
.ia-feature:hover {
  border-color: var(--c-lime);
  background: rgba(168, 224, 74, 0.05);
}
.ia-feature .f-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(168, 224, 74, 0.14);
  color: var(--c-lime);
  font-size: 16px;
}

/* ---------- Contacto ---------- */
.contact { padding-block: var(--section-pad); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
.contact .lead { margin-top: 24px; }
.contact-email {
  margin-top: 36px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}
.contact-email .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.contact-email a {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  color: var(--c-purple);
  border-bottom: 2px solid var(--c-lime);
  width: fit-content;
  transition: color 0.2s;
}
.contact-email a:hover { color: var(--c-purple-bright); }
.contact-quote {
  margin-top: 44px;
  padding: 26px 30px;
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: 14px;
  font-size: 16px;
  font-style: italic;
  color: var(--c-text-muted);
  max-width: 46ch;
}
.contact-quote strong { color: var(--c-purple); font-style: normal; }

.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 24px 60px rgba(74, 16, 83, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-purple-deep);
}
.field input,
.field textarea {
  font-family: var(--font);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border-light);
  border-radius: 8px;
  background: var(--c-paper);
  color: var(--c-text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(116, 31, 125, 0.12);
}
.field input.invalid,
.field textarea.invalid { border-color: #C8451F; }
.contact-form button[type="submit"][data-loading] {
  opacity: 0.7;
  pointer-events: none;
}
.form-status {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-lime-dark);
}
.form-status.show { display: block; }
.form-status.error { color: #C8451F; }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-ink);
  color: var(--c-text-light);
  padding: clamp(56px, 6vw, 88px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: 56px;
}
.footer .logo { font-size: 24px; }
.footer-tagline {
  margin-top: 18px;
  font-size: 15px;
  max-width: 38ch;
  text-wrap: pretty;
}
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 15px;
  color: var(--c-text-light);
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--c-lime); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Switcher de hero (solo para revisión — borrar antes del deploy) ---------- */
.hero-switcher {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(28, 7, 33, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.hero-switcher .hs-label {
  padding: 0 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-switcher button {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.hero-switcher button:hover { color: var(--c-white); }
.hero-switcher button.active {
  background: var(--c-lime);
  color: var(--c-ink);
}

/* Switcher de textura — mismo estilo, apilado arriba del de hero */
.texture-switcher { bottom: 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .ia-features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 82vw);
    background: var(--c-ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px 36px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 820px) {
  .hero-a .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }
  .hero-a .hero-media { max-width: 420px; }
  .consult-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .verticals-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(44px, 12vw, 60px); }
  .latam { gap: 10px; }
  .client-card { width: 168px; height: 100px; padding: 20px 24px; }
  .client-card img { max-height: 52px; }
  .client-card:has(img[src*="adidas"]),
  .client-card:has(img[src*="santander"]),
  .client-card:has(img[src*="walmart"]),
  .client-card:has(img[src*="loreal"]),
  .client-card:has(img[src*="bci"]) {
    width: 210px;
    padding: 6px 10px;
  }
  .client-card img[src*="adidas"],
  .client-card img[src*="santander"],
  .client-card img[src*="walmart"],
  .client-card img[src*="loreal"],
  .client-card img[src*="bci"] {
    max-height: 92px;
  }
}
