/* =========================================================
   Ad Agency: estilos compartidos (index, marketing, desarrollo)
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --noche: #0e1620; --cielo: #0088cc; --cyan: #00aaee;
  /* Azul de marca oscurecido para texto pequeño sobre arena (contraste AA 4.5:1) */
  --cielo-ink: #0072ab;
  --arena: #f5f0e8; --arena-dark: #edeae2;
  /* 0.42 → 0.6: el gris anterior tenía contraste 2.7:1 (no pasaba WCAG AA) */
  --muted: rgba(14,22,32,0.6); --border: rgba(14,22,32,0.09);
  --nav-h: 64px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { background: var(--arena); color: var(--noche); font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
body.nav-open { overflow: hidden; }

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

/* SKIP LINK */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 300;
  background: var(--noche); color: var(--arena); padding: 10px 18px; border-radius: 100px;
  font-size: 12px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* GRAIN */
.grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px; opacity: 0.045;
}

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); padding: 0 52px;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(245,240,232,0.72);
  border-bottom: 0.5px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(14,22,32,0.06), 0 4px 24px rgba(14,22,32,0.04);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--noche); text-decoration: none; letter-spacing: -0.5px; }
.nav-logo span { color: var(--cielo); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--noche); }
.nav-links a[aria-current="page"] { font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { font-size: 12px; font-weight: 500; color: var(--cielo-ink); text-decoration: none; border: 0.5px solid rgba(0,136,204,0.4); padding: 9px 22px; border-radius: 100px; transition: all 0.2s; }
.nav-cta:hover { background: rgba(0,136,204,0.08); border-color: var(--cielo); }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 100px;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--noche);
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.site-nav.open .nav-toggle span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.site-nav.open .nav-toggle span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

/* HERO (home y páginas internas) */
.hero {
  min-height: 100vh; min-height: 100svh; min-height: calc(var(--vh, 1vh) * 100);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 52px 72px; position: relative; overflow: hidden; background: var(--arena);
}
.hero--page { min-height: 88vh; min-height: 88svh; min-height: calc(var(--vh, 1vh) * 88); }
.hero-blob {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,136,204,0.06) 0%, transparent 70%);
  top: -160px; right: -160px; pointer-events: none; z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,28px) scale(1.07); } }
.hero > *:not(.grain):not(.hero-blob) { position: relative; z-index: 1; }

.crumbs { display: flex; gap: 8px; list-style: none; margin-bottom: 28px; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; opacity: 0; animation: fadeUp 0.8s ease forwards 0.1s; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--noche); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-eyebrow-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cielo-ink); }
.hero-eyebrow-line { width: 40px; height: 0.5px; background: var(--border); }
.hero-eyebrow-sub { font-size: 10px; letter-spacing: 0.04em; color: var(--muted); }

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6.25vw, 128px); font-weight: 700;
  line-height: 0.9; letter-spacing: -0.05em; word-spacing: 0.05em; color: var(--noche); max-width: 1100px;
  opacity: 0; animation: fadeUp 0.9s ease forwards 0.4s;
}
.hero-headline em { font-style: italic; color: var(--cielo); }
.hero-lead {
  font-size: clamp(16px, 1.8vw, 24px); font-weight: 300; color: var(--muted); line-height: 1.45;
  max-width: 600px; margin-top: 36px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-bottom {
  margin-top: 64px; padding-top: 36px; border-top: 0.5px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.8s;
}
.hero-actions { display: flex; gap: 12px; align-items: center; }

/* Botón circular Hablemos */
.btn-hablemos {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; background: var(--cielo); color: #fff;
  border-radius: 100px; text-decoration: none; overflow: hidden;
  transition: width 0.32s cubic-bezier(0.34,1.56,0.64,1), background 0.2s;
  white-space: nowrap; gap: 0;
}
.btn-hablemos:hover, .btn-hablemos:focus-visible { width: 148px; background: var(--cyan); gap: 8px; padding: 0 20px; }
.btn-hablemos .btn-icon { flex-shrink: 0; width: 18px; height: 18px; }
.btn-hablemos-label {
  font-size: 13px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  max-width: 0; opacity: 0; overflow: hidden;
  transition: max-width 0.32s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s 0.1s;
}
.btn-hablemos:hover .btn-hablemos-label, .btn-hablemos:focus-visible .btn-hablemos-label { max-width: 100px; opacity: 1; }
/* En pantallas táctiles no existe hover: el botón se muestra expandido */
@media (hover: none) {
  .btn-hablemos { width: 148px; gap: 8px; padding: 0 20px; }
  .btn-hablemos-label { max-width: 100px; opacity: 1; }
}

/* Botón outline */
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 100px;
  border: 1px solid rgba(14,22,32,0.25); color: var(--noche);
  font-size: 12px; font-weight: 400; text-decoration: none; letter-spacing: 0.04em;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif; white-space: nowrap;
}
.btn-outline:hover { background: var(--noche); color: var(--arena); border-color: var(--noche); }

.hero-stats { display: flex; gap: 0; }
.hero-stat { padding-right: 44px; margin-right: 44px; border-right: 0.5px solid var(--border); }
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1; color: var(--noche); }
.stat-num span { color: var(--cielo); }
.stat-lbl { font-size: 11px; font-weight: 300; color: var(--muted); margin-top: 6px; max-width: 150px; line-height: 1.4; }

/* SECCIONES GENÉRICAS (encabezado de sección) */
.section { padding: 100px 52px; background: var(--arena); border-top: 0.5px solid var(--border); }
.section--alt { background: var(--arena-dark); }
.section-head { margin-bottom: 64px; }

/* SERVICIOS HEADER */
#servicios-header {
  min-height: 60vh; display: flex; flex-direction: column; justify-content: center;
  padding: 100px 52px; background: var(--arena-dark); border-top: 0.5px solid var(--border);
}
.svc-header-inner { display: grid; grid-template-columns: 80px 1fr 1fr; align-items: start; }
.svc-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 104px); font-weight: 700;
  line-height: 0.9; letter-spacing: -0.05em; color: var(--noche);
  grid-column: 1 / 3;
}
.svc-main-title em { font-style: italic; color: var(--cielo); }
.svc-header-desc { font-size: clamp(16px, 1.8vw, 24px); font-weight: 300; color: var(--muted); line-height: 1.45; max-width: 520px; text-align: left; padding-top: 8px; padding-left: 40px; }

/* SERVICIOS DETALLE */
.svc-list-wrap { background: var(--arena-dark); border-top: 0.5px solid var(--border); }
.svc-item {
  display: grid; grid-template-columns: 80px 1fr 1fr;
  padding: 64px 52px; border-bottom: 0.5px solid var(--border); transition: background 0.25s;
}
.svc-item:hover { background: rgba(0,136,204,0.025); }
.svc-list-wrap > .section { border-top: none; }
.svc-list-wrap > .section + .svc-item { border-top: 0.5px solid var(--border); }
.svc-item-num { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; color: var(--cielo-ink); padding-top: 8px; }
.svc-item-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 92px); font-weight: 700;
  line-height: 0.9; letter-spacing: -0.05em; color: var(--noche);
}
.svc-item-name em { font-style: italic; color: var(--cielo); }
.svc-item-right { padding-top: 8px; padding-left: 40px; }
.svc-item-desc { font-size: clamp(16px, 1.8vw, 24px); font-weight: 300; color: var(--muted); line-height: 1.45; max-width: 520px; }
.svc-item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; list-style: none; }
.svc-tag { font-size: 10px; color: var(--cielo-ink); border: 0.5px solid rgba(0,136,204,0.3); padding: 4px 12px; border-radius: 100px; }
.svc-checklist { list-style: none; margin-top: 28px; max-width: 520px; border-top: 0.5px solid var(--border); }
.svc-checklist li {
  font-size: 14px; font-weight: 400; color: rgba(14,22,32,0.78); line-height: 1.5;
  padding: 12px 0 12px 26px; border-bottom: 0.5px solid var(--border); position: relative;
}
.svc-checklist li::before { content: "→"; position: absolute; left: 0; color: var(--cielo-ink); }
.svc-fit { margin-top: 24px; font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.5; max-width: 520px; }
.svc-fit strong { color: var(--noche); font-weight: 500; }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--cielo-ink); text-decoration: none;
  border-bottom: 0.5px solid rgba(0,136,204,0.4); padding-bottom: 2px; transition: gap 0.2s, border-color 0.2s;
}
.svc-more:hover { gap: 10px; border-color: var(--cielo); }

/* BENEFICIOS (3 columnas) */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0.5px solid var(--border); }
.benefit { padding: 40px 40px 8px 0; margin-right: 40px; border-right: 0.5px solid var(--border); }
.benefit:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.benefit-num { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; color: var(--cielo-ink); margin-bottom: 20px; }
.benefit-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 14px; }
.benefit-title em { font-style: italic; color: var(--cielo); }
.benefit-desc { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.6; max-width: 380px; }

/* PROCESO (4 pasos) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: step; }
.step { padding: 32px 32px 0 0; border-top: 1px solid var(--noche); margin-right: 24px; }
.step:last-child { margin-right: 0; }
.step-num { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; color: var(--cielo-ink); margin-bottom: 16px; }
.step-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.step-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.6; }

/* TARJETAS (tipos de proyecto) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0.5px solid var(--border); border-left: 0.5px solid var(--border); list-style: none; }
.card { padding: 40px 36px; border-right: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); transition: background 0.25s; }
.card:hover { background: rgba(0,136,204,0.025); }
.card-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 12px; }
.card-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.6; }
.card .svc-item-tags { margin-top: 18px; }

/* FAQ */
.faq { border-top: 0.5px solid var(--border); max-width: 900px; }
.faq details { border-bottom: 0.5px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: 'Playfair Display', serif; font-size: clamp(19px, 1.9vw, 26px); font-weight: 700; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: 'DM Sans', sans-serif; font-weight: 300; font-size: 26px; color: var(--cielo); transition: transform 0.25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.6; max-width: 680px; padding-bottom: 28px; }

/* CROSS-LINK entre páginas */
.crosslink {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center;
  padding: 72px 52px; background: var(--arena-dark); border-top: 0.5px solid var(--border);
  text-decoration: none; color: var(--noche); transition: background 0.25s;
}
.crosslink:hover { background: rgba(0,136,204,0.05); }
.crosslink-kicker { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cielo-ink); grid-column: 2; margin-bottom: 14px; }
.crosslink-title { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4.5vw, 80px); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; grid-column: 2; }
.crosslink-title em { font-style: italic; color: var(--cielo); }
.crosslink-arrow {
  grid-column: 3; grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 100px; background: var(--cielo); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.2s;
}
.crosslink:hover .crosslink-arrow { transform: translateX(6px); background: var(--cyan); }

/* EXPERIENCIA */
#experiencia, .exp-section {
  min-height: 70vh; display: flex; flex-direction: column; justify-content: center;
  padding: 100px 52px; background: var(--arena); border-top: 0.5px solid var(--border);
}
.exp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 104px); font-weight: 700;
  line-height: 0.9; letter-spacing: -0.05em; color: var(--noche); margin-bottom: 52px;
}
.exp-title em { font-style: italic; color: var(--cielo); }
.exp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.exp-bio { font-size: clamp(16px, 1.8vw, 24px); font-weight: 300; color: rgba(14,22,32,0.68); line-height: 1.45; }
.exp-bio strong { color: var(--noche); font-weight: 500; }
.exp-quote { padding: 36px 40px; border-left: 2px solid var(--cielo); background: rgba(0,136,204,0.04); }
.exp-quote p { font-family: 'Playfair Display', serif; font-size: clamp(16px, 1.8vw, 24px); font-style: italic; color: var(--noche); line-height: 1.4; }

/* CLIENTES */
#clientes {
  padding: 80px 0;
  background: var(--arena-dark);
  border-top: 0.5px solid var(--border);
  overflow: hidden;
}
.clientes-eyebrow {
  padding: 0 52px;
  margin-bottom: 40px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cielo-ink);
}
.clientes-rail {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clientes-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  padding: 0 40px;
  animation: marquee 22s linear infinite;
}
.clientes-track:hover { animation-play-state: paused; }
.clientes-track img {
  flex-shrink: 0;
  height: auto;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.35s ease;
}
.clientes-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CONTACTO */
#contacto {
  min-height: 80vh; display: flex; flex-direction: column; justify-content: center;
  padding: 100px 52px; background: var(--noche); position: relative; overflow: hidden;
}
.contact-blob {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,136,204,0.07) 0%, transparent 70%);
  bottom: -180px; right: -100px; pointer-events: none;
}
#contacto > *:not(.contact-blob) { position: relative; z-index: 1; }
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6.25vw, 128px); font-weight: 700;
  line-height: 0.9; letter-spacing: -0.05em; color: var(--arena); margin-bottom: 16px;
}
.contact-title em { font-style: italic; color: var(--cielo); }
.contact-sub { font-size: 15px; font-weight: 300; color: rgba(245,240,232,0.62); max-width: 420px; line-height: 1.75; margin-bottom: 56px; }
.contact-channels { display: flex; flex-direction: column; border-top: 0.5px solid rgba(255,255,255,0.1); max-width: 560px; margin-bottom: 44px; }
.contact-channel {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 0.5px solid rgba(255,255,255,0.1);
  text-decoration: none; transition: opacity 0.2s;
}
.contact-channel:hover { opacity: 0.7; }
.ch-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,240,232,0.55); min-width: 110px; }
.ch-val { font-size: 13px; color: var(--cielo); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,136,204,0.4); }
.ch-arrow { font-size: 14px; color: var(--cielo); opacity: 0.7; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 400; letter-spacing: 0.06em; color: var(--arena);
  border: 1px solid rgba(245,240,232,0.3); padding: 14px 28px; border-radius: 100px;
  text-decoration: none; transition: all 0.25s; font-family: 'DM Sans', sans-serif; align-self: flex-start;
}
.contact-btn:hover { background: var(--arena); color: var(--noche); border-color: var(--arena); }

/* FOOTER */
footer {
  padding: 28px 52px; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-top: 0.5px solid rgba(255,255,255,0.07); background: var(--noche);
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: rgba(245,240,232,0.45); text-decoration: none; }
.footer-logo span { color: rgba(0,136,204,0.7); }
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav a { font-size: 11px; color: rgba(245,240,232,0.6); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.footer-nav a:hover { color: var(--arena); }
.footer-txt { font-size: 11px; color: rgba(245,240,232,0.5); letter-spacing: 0.04em; }

/* ANIMACIONES: .reveal solo se oculta si JS está activo (evita contenido invisible sin JS) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .clientes-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .js .reveal { opacity: 1; transform: none; }
}

/* TABLET */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2) { margin-right: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { display: none; }
}

/* MOBILE */
@media (max-width: 768px) {
  .site-nav { padding: 0 16px 0 24px; }
  .nav-toggle { display: inline-block; }
  .nav-cta { padding: 8px 16px; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 28px;
    background: var(--arena); border-bottom: 0.5px solid var(--border);
    box-shadow: 0 24px 40px rgba(14,22,32,0.08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .site-nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
  .nav-links li { border-bottom: 0.5px solid var(--border); }
  .nav-links a { display: block; padding: 16px 0; font-size: 16px; color: var(--noche); }
  .nav-links a[aria-current="page"] { color: var(--cielo-ink); }

  .hero { min-height: auto; padding: 100px 24px 60px; justify-content: flex-start; }
  .hero--page { min-height: auto; }
  .section { padding: 80px 24px; }
  .section-head { margin-bottom: 44px; }
  #servicios-header { padding: 80px 24px; min-height: auto; }
  .svc-header-inner { display: flex; flex-direction: column; gap: 28px; }
  .svc-main-title { grid-column: auto; max-width: 100%; }
  .svc-header-desc { text-align: left; padding-left: 0; }
  .svc-item { grid-template-columns: 1fr; padding: 48px 24px; gap: 16px; }
  .svc-item-right { padding-left: 0; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-right: none; margin-right: 0; padding: 32px 0; border-bottom: 0.5px solid var(--border); }
  .benefit:last-child { border-bottom: none; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step { margin-right: 0; padding-right: 0; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 32px 24px; }
  .crosslink { grid-template-columns: 1fr auto; padding: 56px 24px; gap: 0 20px; }
  .crosslink-kicker, .crosslink-title { grid-column: 1; }
  .crosslink-arrow { grid-column: 2; width: 52px; height: 52px; }
  #experiencia, .exp-section { padding: 80px 24px; min-height: auto; }
  .exp-body { grid-template-columns: 1fr; gap: 36px; }
  #clientes { padding: 60px 0; }
  .clientes-eyebrow { padding: 0 24px; margin-bottom: 32px; }
  .clientes-track { gap: 56px; animation-duration: 18s; }
  .clientes-track img { height: 120px; width: auto; }
  #contacto { padding: 80px 24px; min-height: auto; }
  .hero-bottom { flex-direction: column; gap: 32px; align-items: flex-start; }
  .hero-stats { flex-direction: row; gap: 0; }
  .hero-stat { border-right: 0.5px solid var(--border); padding-right: 24px; margin-right: 24px; }
  .hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
  .contact-channels { max-width: 100%; }
  .ch-label { min-width: 0; }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px; }
}
@media (max-width: 340px) {
  .nav-cta { display: none; }
  .stat-num { font-size: 40px; }
}

/* Clientes integrado a la sección de Experiencia (home) */
#experiencia + #clientes { background: var(--arena); border-top: none; padding-top: 0; }
#experiencia:has(+ #clientes) { padding-bottom: 72px; min-height: auto; }
@media (max-width: 768px) {
  #experiencia:has(+ #clientes) { padding-bottom: 56px; }
}

/* BOTÓN FLOTANTE WHATSAPP */
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 150;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; min-width: 56px; padding: 0 16px; border-radius: 100px;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(14,22,32,0.18), 0 2px 6px rgba(14,22,32,0.1);
  transition: gap 0.32s cubic-bezier(0.34,1.56,0.64,1), transform 0.25s ease, opacity 0.3s ease, visibility 0.3s, background 0.2s;
  animation: waIn 0.5s ease 1.2s backwards;
}
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float-label {
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; white-space: nowrap;
  max-width: 0; opacity: 0; overflow: hidden;
  transition: max-width 0.32s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s 0.05s;
}
.wa-float:hover, .wa-float:focus-visible { background: #1ebe5b; gap: 10px; }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 120px; opacity: 1; }
.wa-float:focus-visible { outline-color: var(--noche); }
/* Se oculta en Contacto y el footer, donde ya están los canales directos */
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
body.nav-open .wa-float { opacity: 0; visibility: hidden; }
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(0.9); } to { opacity: 1; transform: none; } }
@media (max-width: 768px) {
  .wa-float { left: 16px; bottom: 16px; height: 54px; min-width: 54px; padding: 0 15px; }
}
@media print { .wa-float { display: none; } }
