/* ================================================================
   VIALTIO — styles.css
   Sistema: DM Sans · paleta navy/gold · premium minimalista
   Colores extraídos del logo: navy #1C2D4A · gold #C4A050
   ================================================================ */

/* ── Custom Properties ── */
:root {
  /* Colores — exactos del SVG logo vialtio */
  --ink:          #324e67;   /* azul acero de "vi" */
  --ink-60:       rgba(50,78,103,.6);
  --ink-12:       rgba(50,78,103,.12);
  --white:        #ffffff;
  --accent:       #d0a44a;   /* dorado ámbar de "altio" y símbolo V */
  --accent-dark:  #b08a38;   /* dorado oscuro — hover */
  --accent-tint:  #FBF5E4;   /* tinte dorado muy sutil */
  --surface:      #F7F5F0;   /* superficie cálida sutil */
  --muted:        #6b7280;
  --border:       #E6DFD0;   /* borde cálido */
  --wa:           #C9971A;   /* WhatsApp mostaza */
  --wa-dark:      #A67A10;

  /* Tipografía */
  --font:   'DM Sans', -apple-system, system-ui, sans-serif;
  --mono:   'DM Mono', 'Courier New', monospace;

  /* Espaciado */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 5rem;
  --s7: 8rem;

  /* Bordes */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 16px 56px rgba(0,0,0,.12);

  /* Transiciones */
  --t: .2s ease;
  --t-slow: .45s ease;

  /* Layout */
  --max-w: 1200px;
  --pad:   clamp(1.25rem, 4vw, 2rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Tipografía ── */
h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
p { max-width: 62ch; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}

/* ── Section base ── */
.section { padding-block: var(--s7); }
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-header h2 { margin-bottom: var(--s2); }
.section-header > p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-inline: auto;
}

/* ── Checklist compartida ── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: var(--s3);
}
.check-list li {
  font-size: 0.9rem;
  padding-left: 1.4rem;
  position: relative;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}

/* Primary — dorado sobre hero oscuro */
.btn--primary {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196,160,80,.4);
}

/* Accent — dorado (igual a primary) */
.btn--accent {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196,160,80,.35);
}

/* Outline — borde blanco semitransparente (para secciones oscuras) */
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Ghost — borde sutil sobre fondo navy */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* WhatsApp grande */
.btn--wa {
  background: var(--wa);
  color: var(--white);
  font-size: 1rem;
  padding: 0.9rem 2rem;
}
.btn--wa:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,151,26,.32);
}

/* WhatsApp pequeño (header) */
.btn--wa-sm {
  background: var(--wa);
  color: var(--white);
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}
.btn--wa-sm:hover { background: var(--wa-dark); }

/* Full width */
.btn--full { width: 100%; justify-content: center; }

/* Outline adaptado para fondos claros (servicios y precios sin dark bg) */
.servicio-card:not(.servicio-card--featured) .btn--outline,
.precio-card:not(.precio-card--featured) .btn--outline {
  color: var(--ink);
  border-color: rgba(50,78,103,.35);
  background: transparent;
}
.servicio-card:not(.servicio-card--featured) .btn--outline:hover,
.precio-card:not(.precio-card--featured) .btn--outline:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t-slow), box-shadow var(--t-slow);
}
.header.scrolled {
  background: rgba(50,78,103,.94);   /* #324e67 del logo */
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0,0,0,.18), 0 4px 24px rgba(0,0,0,.18);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding-block: 1.25rem;
}
.header__logo img {
  height: 34px;
  width: auto;
}
/* El header es siempre oscuro (hero + scrolled navy), así que siempre logo light */
.header__logo .logo--dark  { display: none; }
.header__logo .logo--light {
  display: block;
  /* Todo el isologo en mostaza: normaliza a negro y aplica filtro gold #d0a44a */
  filter: brightness(0) saturate(100%) invert(69%) sepia(46%) saturate(547%) hue-rotate(5deg) brightness(95%) contrast(95%);
}
.header__nav {
  display: flex;
  gap: var(--s4);
  margin-left: auto;
}
.header__nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color var(--t), opacity var(--t);
}
.header__nav a:hover { color: var(--accent); opacity: 1; }

/* ── Market switcher (AR / ES) ── */
.market-switcher {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 2px;
  margin-left: var(--s3);
}
.mkt-btn {
  padding: 0.22rem 0.6rem;
  border: none;
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: var(--t);
  line-height: 1;
}
.mkt-btn.active {
  background: var(--ink);
  color: var(--white);
}

/* ── Copy por mercado: .t-ar visible en AR, .t-es visible en ES ── */
/* Defecto sin JS: mostrar versión AR */
.t-es { display: none; }
html[data-market="es"] .t-ar { display: none; }
html[data-market="es"] .t-es { display: revert; }

.header__cta { margin-left: var(--s2); }
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: var(--t);
}
.header__mobile-nav {
  background: var(--white);
  padding: var(--s3) var(--pad) var(--s4);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.header__mobile-nav a { font-size: 1.1rem; font-weight: 500; }
.header__mobile-nav[hidden] { display: none; }

/* ================================================================
   HERO — liquid chrome, tipografía como protagonista
   ================================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Fondo: azul acero oscuro — derivado del #324e67 del logo */
  background: linear-gradient(
    155deg,
    #1a2d3d 0%,
    #243a50 45%,
    #1e3347 75%,
    #162840 100%
  );
}

/* Canvas liquid gold — sobre fondo navy oscuro usa "screen" para que los glows brillen */
.hero__bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.65;
}

.hero__inner {
  padding-top: 7rem;
  padding-bottom: var(--s7);
  position: relative;
  z-index: 1;
}
.hero__content { max-width: 680px; }

.hero__title {
  margin-bottom: var(--s3);
  /* em en itálica hace el cambio de peso/estilo — sin color, solo forma */
}
.hero__title em {
  font-style: normal;
  color: var(--accent); /* "Construimos crecimiento." en azul */
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: var(--s4);
  max-width: 520px;
}
.hero__sub strong { color: var(--white); font-weight: 600; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}
.hero__stats {
  display: flex;
  gap: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero__stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);   /* dorado sobre el fondo navy */
  letter-spacing: -0.03em;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================================================
   SERVICIOS
   ================================================================ */
.servicios { background: var(--surface); }
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.servicio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  transition: var(--t-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}
.servicio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.servicio-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.servicio-card--featured:hover {
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}
.servicio-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s3);
  flex-shrink: 0;
}
.servicio-card--featured .servicio-card__icon {
  background: var(--accent);
  color: var(--white);
}
.servicio-card__tag {
  position: absolute;
  top: var(--s3); right: var(--s3);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-full);
}
.servicio-card h3 { margin-bottom: var(--s1); }
.servicio-card > p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: var(--s3);
}
.servicio-card .check-list { flex: 1; }
.servicio-card .btn { margin-top: auto; }

/* ── Tier elements dentro de servicio-card ── */
.tier-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s1);
}
.servicio-card--featured .tier-label {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}
.servicio-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.25rem;
  margin-bottom: var(--s3);
  line-height: 1.45;
}
.servicio-card--featured .servicio-tagline { color: var(--muted); }
.servicio-ideal {
  font-size: 0.82rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.65rem;
  margin-top: var(--s2);
  margin-bottom: var(--s2);
  line-height: 1.5;
  max-width: none;
}
.servicio-ideal strong { color: var(--ink); }
.servicio-card--featured .servicio-ideal {
  border-color: rgba(255,255,255,.3);
  color: var(--muted);
}
.servicio-card--featured .servicio-ideal strong { color: var(--muted); }
.servicio-ideal--retainer {
  border-color: var(--wa);
}

/* Tier 2 — 3 etapas */
.tier-stages {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s2);
}
.tier-stage {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.tier-stage__num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.675rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.tier-stage__content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.servicio-card--featured .tier-stage__content h4 { color: var(--white); }
.check-list-mini {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.check-list-mini li {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}
.check-list-mini li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.05em;
}
.servicio-card--featured .check-list-mini li { color: rgba(255,255,255,.55); }
.servicio-card--featured .check-list-mini li::before { color: rgba(255,255,255,.4); }

/* Extras strip */
.extras {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
}
.extras__label {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.extras__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s2);
}
.extras__list li {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 0.3rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}

/* ================================================================
   DIFERENCIAL
   ================================================================ */
.diferencial { background: var(--white); }
.diferencial__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s4);
}
.diferencial__item {
  padding: var(--s3);
  border-radius: var(--r-md);
  border: 1px solid var(--border);   /* línea fina para definir el recuadro */
  transition: var(--t);
}
.diferencial__item:hover {
  background: var(--surface);
  border-color: var(--accent);        /* sutil highlight dorado en hover */
}
.diferencial__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s2);
}
.diferencial__item h3 { margin-bottom: var(--s1); }
.diferencial__item p { color: var(--muted); font-size: 0.9375rem; }

/* ================================================================
   PROCESO — fondo negro, contraste máximo
   ================================================================ */
.proceso { background: var(--ink); color: var(--white); }
.proceso .section-header h2 { color: var(--white); }
.proceso .section-header > p { color: rgba(255,255,255,.6); }
.proceso__steps {
  max-width: 700px;
  margin-inline: auto;
}
.proceso__step {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding-block: var(--s4);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.proceso__step:last-child { border-bottom: none; }
.proceso__num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  min-width: 26px;
  padding-top: 0.25rem;
  flex-shrink: 0;
}
.proceso__step h3 {
  color: var(--white);
  margin-bottom: var(--s1);
}
.proceso__step p {
  color: rgba(255,255,255,.58);
  font-size: 0.9375rem;
  max-width: none;
}

/* ================================================================
   PRECIOS
   ================================================================ */
.precios { background: var(--surface); }
.currency-btn {
  padding: 0.38rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition: var(--t);
}
.currency-btn.active,
.currency-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.precios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s4);
  align-items: start;
}
.precio-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  position: relative;
  transition: var(--t-slow);
}
.precio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.precio-card--featured {
  background: var(--ink);
  color: var(--white);
  border-color: transparent;
}
.precio-card--featured > p,
.precio-card--featured .check-list li { color: rgba(255,255,255,.68); }
.precio-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28rem 1rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.precio-card h3 { margin-bottom: var(--s2); }
.precio-card--featured h3 { color: var(--white); }
.precio-card__price { margin-bottom: var(--s2); }
.precio-card__amount {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
}
.precio-card__amount--consult {
  font-size: 2.5rem;
  opacity: .85;
}
.precio-card--featured .precio-card__amount { color: var(--white); }
.precio-card__period {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
  display: block;
}
.precio-card--featured .precio-card__period { color: rgba(255,255,255,.45); }
.precio-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.precio-card .check-list { margin-bottom: var(--s4); }
.precio-card--featured .check-list li::before { background: var(--wa); }
.precios__note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: none;
}
.precios__note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================================
   CLIENTES — franja de logos
   ================================================================ */
/* ── CLIENTES ─────────────────────────────────────────────────── */
/*
  Sistema de logos con 3 modos:
  1. Estático (≤8 logos): flex centrado, una sola fila.
  2. Marquee infinito (>8 logos o .is-scrolling): auto-scroll CSS.
  El JS en script.js detecta overflow y activa el modo marquee.
*/

.clientes {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s5);
  overflow: hidden;
}
.clientes__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s4);
  max-width: none;
}

/* Contenedor externo — máscara fade lateral para el marquee */
.clientes__track-outer {
  position: relative;
  overflow: hidden;
}
.clientes__track-outer::before,
.clientes__track-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.clientes__track-outer::before { left: 0;  background: linear-gradient(to right,  var(--white), transparent); }
.clientes__track-outer::after  { right: 0; background: linear-gradient(to left,   var(--white), transparent); }

/* Modo marquee activo */
.clientes__logos.is-scrolling {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.clientes__logos.is-scrolling:hover { animation-play-state: paused; }
.clientes__track-outer:has(.is-scrolling)::before,
.clientes__track-outer:has(.is-scrolling)::after { opacity: 1; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% porque el JS duplica los ítems */
}

/* Row base */
.clientes__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 clamp(var(--s4), 4vw, var(--s6));
}

/* ── Logo slot individual ── */
/*
  Todos los logos se normalizan a una altura fija de 52px.
  El ancho varía (auto) para respetar el aspect ratio original.
  Esto logra el "equilibrio visual" sin distorsionar ningún logo.
  max-width limita logos muy anchos o muy angostos.
*/
.logo-slot {
  height: 52px;
  /* anchura flexible: mín 100px, máx 180px */
  width: clamp(100px, 14vw, 180px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  opacity: 0.55;
  transition: opacity var(--t), transform var(--t);
}
.logo-slot:hover {
  opacity: 1;
  transform: scale(1.04);
}

/* Variante wide — logos con texto largo horizontal (ej. Tu Camino del Artista) */
.logo-slot--wide {
  width: clamp(140px, 18vw, 220px);
}

/* Imagen dentro del slot: altura controlada, ancho automático */
.logo-slot img,
.logo-slot svg {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq { background: var(--surface); }
.faq__grid {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--s5);
}
.faq__item {
  border-bottom: 1px solid rgba(50,78,103,.18);
}
.faq__item:first-child { border-top: 1px solid rgba(50,78,103,.18); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  transition: color var(--t);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--t);
  line-height: 1;
}
.faq__item[open] .faq__question { color: var(--accent); }
.faq__item[open] .faq__question::after {
  content: '−';
}
.faq__answer {
  padding-bottom: 1.25rem;
}
.faq__answer p {
  color: #3d3d3d;
  font-size: 0.9375rem;
  max-width: none;
  line-height: 1.7;
}
.faq__answer strong { color: var(--ink); }
.faq__cta { text-align: center; }

/* ================================================================
   BLOG PREVIEW
   ================================================================ */
.blog-preview { background: var(--white); }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--t-slow);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-card__img-link { display: block; }
.blog-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
/* Overlay sutil para mantener legibilidad */
.blog-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.18) 100%);
}
.blog-card__body {
  padding: var(--s3) var(--s3) var(--s4);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--s1);
}
.blog-card__body h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: var(--s2);
}
.blog-card__body h3 a {
  color: var(--ink);
  transition: color var(--t);
}
.blog-card__body h3 a:hover { color: var(--accent); }
.blog-card__body > p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--s3);
  flex: 1;
  max-width: none;
}
.blog-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 0.25rem;
}
.blog__cta { text-align: center; }

/* ================================================================
   TESTIMONIOS
   ================================================================ */
.testimonios { background: var(--white); }
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s3);
}
.testimonio {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
}
/* Logo del cliente dentro del card — arriba a la izquierda */
.testimonio__logo {
  margin-bottom: var(--s3);
  height: 28px;
  display: flex;
  align-items: center;
}
.testimonio__logo img {
  height: 100%;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.75;
}
.testimonio > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--s3);
  max-width: none;
  quotes: '\201C' '\201D' '\2018' '\2019';
}
.testimonio > p::before { content: open-quote; }
.testimonio > p::after  { content: close-quote; }
.testimonio footer {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.testimonio footer img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonio cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
}
.testimonio span {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ================================================================
   CONTACTO
   ================================================================ */
.contacto { background: var(--surface); }
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s7);
  align-items: start;
}
.contacto__copy h2 { margin-bottom: var(--s2); }
.contacto__copy > p {
  color: var(--muted);
  margin-bottom: var(--s4);
}
.contacto__alt {
  margin-top: var(--s3);
  font-size: 0.9rem;
  color: var(--muted);
  max-width: none;
}
.contacto__alt a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Formulario */
.contacto__form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s4);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: var(--s3); }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-privacy {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: var(--s2);
  max-width: none;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.6); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s6);
  padding-block: var(--s7);
}
.footer__brand img {
  margin-bottom: var(--s2);
  filter: brightness(0) invert(1); /* normaliza a negro y luego a blanco puro */
  mix-blend-mode: normal;
}
.footer__brand p { font-size: 1.05rem; white-space: nowrap; line-height: 1.65; }

.footer__nav,
.footer__services,
.footer__contact { display: flex; flex-direction: column; gap: 0.7rem; }

.footer__nav h4,
.footer__services h4,
.footer__contact h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.footer__nav a,
.footer__services a,
.footer__contact a {
  font-size: 0.9rem;
  transition: color var(--t);
}
.footer__nav a:hover,
.footer__services a:hover,
.footer__contact a:hover { color: var(--white); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2);
  padding-block: var(--s3);
}
.footer__bottom p {
  font-size: 0.8125rem;
  max-width: none;
}
.footer__bottom a { transition: color var(--t); }
.footer__bottom a:hover { color: var(--white); }

/* ================================================================
   WHATSAPP FLOTANTE
   ================================================================ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  background: var(--wa);
  color: var(--white);
  border-radius: var(--r-full);
  padding: 0.875rem 1.375rem 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(201,151,26,.4);
  transition: var(--t);
  /* Pulso sutil al cargar (llama la atención sin molestar) */
  animation: wa-pulse 2.5s ease-in-out 3s 2;
}
.wa-float:hover {
  background: var(--wa-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201,151,26,.5);
}
.wa-float__label {
  font-size: 0.875rem;
  font-weight: 600;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(201,151,26,.4); }
  50%       { box-shadow: 0 4px 20px rgba(201,151,26,.4), 0 0 0 10px rgba(201,151,26,.1); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }

  .contacto__inner { grid-template-columns: 1fr; gap: var(--s5); }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --s7: 5.5rem; --s6: 3.5rem; }

  .hero__bg-canvas { opacity: .75; } /* ligera reducción en mobile */
  .hero__stats { gap: var(--s4); }
  .hero__stat-num { font-size: 1.75rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .footer__inner { grid-template-columns: 1fr; gap: var(--s4); }

  .wa-float__label { display: none; }
  .wa-float { padding: 1rem; }
}

/* ── Focus visible accesible ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
