/* Juninsoft — estilos compartidos de las páginas internas.
   Copia del sistema de diseño del inicio + componentes propios. */
/* ════════════════════════════════════════════════════════════
   JUNINSOFT 2026 — Sistema de diseño
   Estética: minimalismo de gama alta, inspiración Apple.
   Un solo archivo. Sin frameworks. Listo para Hostinger.
════════════════════════════════════════════════════════════ */

:root {
  /* Color */
  --bg:           #ffffff;
  --bg-soft:      #f5f5f7;
  --bg-card:      #ffffff;
  --ink:          #1d1d1f;
  --ink-dim:      #424245;
  --ink-muted:    #6e6e73;
  --hairline:     rgba(0,0,0,0.08);
  --accent:       #0071e3;
  --accent-hover: #0077ed;
  --accent-deep:  #0059b3;
  --accent-soft:  rgba(0,113,227,0.07);
  --success:      #1a7a4a;
  --error:        #c4314b;

  /* Tipografía */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Geometría */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --pill: 980px;
  --container: 1120px;

  /* Sombras */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lift: 0 2px 6px rgba(0,0,0,0.05), 0 18px 48px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

::selection { background: rgba(0,113,227,0.18); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Tipografía de display ─────────────────────────────── */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.07; font-weight: 600; }

.display-xl { font-size: clamp(42px, 6.4vw, 76px); }
.display-lg { font-size: clamp(32px, 4.4vw, 52px); }
.display-md { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }

.lede {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-dim);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--accent);
}

/* ── Botones ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 15px 30px;
  border-radius: var(--pill);
  border: none;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(0,113,227,0.32);
}
.btn-ghost:hover { background: var(--accent-soft); border-color: rgba(0,113,227,0.55); }
.btn:active { transform: scale(0.97); }

.link-arrow {
  color: var(--accent);
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── Navbar — frosted glass ────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); background: rgba(255,255,255,0.85); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — isotipo (imagen) + wordmark. La imagen y el texto se
   alinean por su centro vertical, no por la línea base, para que
   queden perfectamente parejos. */
.brand {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;   /* clave: centra el isotipo con el texto */
  gap: 9px;
  line-height: 1;
}
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
  flex: none;
}
.brand-text { display: inline-flex; align-items: center; line-height: 1; }
.brand b { font-weight: 600; }
.brand span { color: var(--accent); font-weight: 600; }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 450;
  color: var(--ink-dim);
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 14px !important;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--pill);
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  position: relative; width: 20px; height: 1.5px; background: var(--ink); display: block;
  transition: transform .25s ease, background .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav.open .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 14px 0; font-size: 17px; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-links a:last-child { border-bottom: none; margin-top: 12px; text-align: center; }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 168px 0 96px;
  background:
    radial-gradient(ellipse 70% 55% at 75% -12%, rgba(0,113,227,0.14) 0%, transparent 58%),
    radial-gradient(ellipse 55% 55% at -10% 55%, rgba(52,170,220,0.11) 0%, transparent 56%),
    radial-gradient(ellipse 50% 45% at 50% 120%, rgba(0,89,179,0.07) 0%, transparent 60%),
    #ffffff;
  overflow: hidden;
  isolation: isolate;
}

/* ── Fondo del banner: capas decorativas ───────────────────
   OPCIÓN FOTO: si preferís una imagen real de fondo, agregá
   una más en .hero-photo (al final de este bloque). Por defecto
   usamos un fondo generado (sin archivos externos): malla de
   color + grilla de puntos + red de nodos, alineado al rubro
   tech y manteniendo la estética minimalista.            */

/* Aurora difusa que deriva suavemente */
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -25% -10% auto -10%;
  height: 75%;
  background:
    radial-gradient(closest-side, rgba(0,113,227,0.16), transparent 70%),
    radial-gradient(closest-side, rgba(52,170,220,0.14), transparent 70%);
  background-repeat: no-repeat;
  background-size: 55% 80%, 50% 70%;
  background-position: 78% 0%, 12% 60%;
  filter: blur(20px);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { background-position: 78% 0%, 12% 60%; }
  100% { background-position: 64% 12%, 26% 42%; }
}

/* Grilla de puntos sutil (cue tecnológico), se desvanece hacia el centro */
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(0,113,227,0.16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 42%, transparent 30%, #000 78%);
  mask-image: radial-gradient(ellipse 62% 60% at 50% 42%, transparent 30%, #000 78%);
  opacity: 0.55;
}

/* Red de nodos / blueprint del rubro (SVG inline, decorativo) */
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  color: var(--accent);
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 88%);
}
.hero-art .node { animation: pulse 4s ease-in-out infinite; transform-origin: center; }
.hero-art .node:nth-child(2) { animation-delay: .6s; }
.hero-art .node:nth-child(3) { animation-delay: 1.2s; }
.hero-art .node:nth-child(4) { animation-delay: 1.8s; }
.hero-art .node:nth-child(5) { animation-delay: 2.4s; }
.hero-art .node:nth-child(6) { animation-delay: 3.0s; }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* OPCIÓN FOTO (desactivada): descomentá y poné tu imagen en
   ./assets/hero.jpg. Queda detrás del texto, atenuada para
   conservar legibilidad y el aire minimalista.
.hero-photo {
  position: absolute; z-index: -3; inset: 0;
  background: url('./assets/hero.jpg') center/cover no-repeat;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
*/

.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; padding: 0 24px; }
.hero .hero-title { font-weight: 650; letter-spacing: -0.03em; line-height: 1.07; }
.hero h1.eyebrow { line-height: 1.4; }
.hero .hero-title .grad {
  background: linear-gradient(110deg, #0071e3 10%, #34aadc 50%, #0059b3 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede { max-width: 640px; margin: 26px auto 0; }
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 38px;
}

/* Métricas de confianza */
.hero-stats {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--hairline);
  padding-top: 36px;
}
.stat { text-align: center; padding: 0 12px; }
.stat b {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat b .plus { color: var(--accent); }
.stat > span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
}
@media (max-width: 720px) {
  .hero { padding-top: 132px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
}

/* ── Secciones ─────────────────────────────────────────── */
section { padding: 104px 0; }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; color: var(--ink-dim); font-size: 18px; }

/* ── Servicios ─────────────────────────────────────────── */
#servicios { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { color: var(--ink-muted); font-size: 15.5px; flex: 1; }
.service-card ul {
  margin-top: 20px;
  list-style: none;
  display: flex; flex-direction: column; gap: 9px;
}
.service-card li {
  font-size: 14.5px;
  color: var(--ink-dim);
  display: flex; align-items: center; gap: 9px;
}
.service-card li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
@media (max-width: 920px) { .services-grid { grid-template-columns: 1fr; } }

/* ── Proceso ───────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.step {
  padding: 36px 28px 0 0;
  border-right: 1px solid var(--hairline);
  padding-left: 28px;
}
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; }
.step .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.step h3 { font-size: 19px; margin: 14px 0 10px; }
.step p { font-size: 15px; color: var(--ink-muted); }
@media (max-width: 920px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--hairline); padding: 28px 16px 28px 0; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { padding-left: 24px; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding-left: 0; }
}

/* ── Portfolio — slider con mockups de navegador ────────── */
#portfolio { background: var(--bg-soft); }

.slider { position: relative; }
.slider-window { overflow: hidden; margin: 0 -8px; padding: 8px; }
.slider-track {
  display: flex;
  transition: transform .55s cubic-bezier(.32,.72,.28,1);
  will-change: transform;
  touch-action: pan-y;
}
.slider-track.dragging { transition: none; cursor: grabbing; }

.slide {
  flex: 0 0 50%;
  padding: 0 12px;
  min-width: 0;
}
@media (max-width: 820px) { .slide { flex-basis: 100%; } }

.project {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
  height: 100%;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* Controles del slider */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}
.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.10);
  background: var(--bg-card);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.slider-arrow:active { transform: scale(0.94); }
.slider-arrow[disabled] { opacity: 0.35; pointer-events: none; }

.slider-dots { display: flex; gap: 9px; }
.slider-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  padding: 0;
  transition: background .25s ease, width .25s ease;
}
.slider-dots button.active {
  background: var(--accent);
  width: 24px;
  border-radius: var(--pill);
}

/* Chrome del navegador simulado */
.browser {
  background: #ececf0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 11px 16px;
  display: flex; align-items: center; gap: 12px;
}
.browser .dots { display: flex; gap: 6px; }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.browser .dots i:nth-child(1) { background: #ff5f57; }
.browser .dots i:nth-child(2) { background: #febc2e; }
.browser .dots i:nth-child(3) { background: #28c840; }
.browser .url {
  flex: 1;
  background: #fff;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  padding: 5px 12px;
  text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Viewport: iframe escalado, carga diferida, sin interacción */
.viewport {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #f0f0f3;
  overflow: hidden;
}
.viewport iframe {
  width: 1280px;
  height: 860px;
  border: 0;
  transform-origin: top left;
  /* scale se calcula por JS según ancho real del contenedor */
  pointer-events: none;
  position: absolute;
  top: 0; left: 0;
  background: #fff;
}
.viewport .skeleton {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #f0f0f3 40%, #fafafc 50%, #f0f0f3 60%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.viewport .visit {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29,29,31,0);
  transition: background .25s ease;
}
.viewport .visit span {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 14px; font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--pill);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  display: inline-flex; align-items: center; gap: 7px;
}
.project:hover .visit { background: rgba(29,29,31,0.22); }
.project:hover .visit span { opacity: 1; transform: translateY(0); }

.project-meta { padding: 24px 28px 28px; }
.project-meta .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-meta h3 { font-size: 20px; margin: 8px 0 6px; }
.project-meta p { font-size: 15px; color: var(--ink-muted); }

.portfolio-foot {
  margin-top: 48px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15.5px;
}
.portfolio-foot a { color: var(--accent); font-weight: 500; }

/* ── Ticker de tecnologías ─────────────────────────────── */
.ticker-section { padding: 56px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.ticker-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 28px;
}
.ticker {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.ticker-track span {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink-dim);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
}
.ticker-track span::after { content: "·"; color: var(--accent); }

/* ── Nosotros ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-grid .section-head { margin-bottom: 0; }
.values { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--hairline); }
.value {
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.value svg { color: var(--accent); margin-top: 2px; }
.value h3 { font-size: 17px; margin-bottom: 6px; font-weight: 600; letter-spacing: -0.01em; }
.value p { font-size: 14.5px; color: var(--ink-muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ── Banda CTA ─────────────────────────────────────────── */
.cta-band {
  background: #1d1d1f;
  color: #f5f5f7;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 84px 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(0,113,227,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 10% 100%, rgba(52,170,220,0.16) 0%, transparent 55%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(245,245,247,0.72); margin: 18px auto 36px; max-width: 520px; font-size: 18px; }
.cta-band .btn-primary { font-size: 17px; padding: 17px 36px; }

/* ── Contacto ──────────────────────────────────────────── */
#contacto { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
}
.contact-side .section-head { margin-bottom: 36px; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.channel:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.channel .ch-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.channel .ch-icon.wa { background: rgba(37,211,102,0.12); color: #1ebe5d; }
.channel .ch-icon.mail { background: var(--accent-soft); color: var(--accent); }
.channel .ch-icon.pin { background: rgba(0,0,0,0.05); color: var(--ink-dim); }
.channel .ch-icon.ig { background: rgba(193,53,132,0.10); color: #c13584; }
.channel .more { color: var(--accent); font-weight: 500; }
.channel b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.channel span { font-size: 13.5px; color: var(--ink-muted); }

.form-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.005em;
  margin-bottom: 7px;
  color: var(--ink-dim);
}
.field label .opt { color: var(--ink-muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a1a1a6; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(0,113,227,0.14);
}
.field.invalid input, .field.invalid textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3.5px rgba(196,49,75,0.10);
}
.field .hint {
  display: none;
  font-size: 12.5px;
  color: var(--error);
  margin-top: 6px;
}
.field.invalid .hint { display: block; }

.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
#submit-btn { min-width: 190px; position: relative; }
#submit-btn:disabled { opacity: 0.65; cursor: default; }
#submit-btn .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
#submit-btn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { font-size: 13px; color: var(--ink-muted); }

.form-status {
  display: none;
  margin-top: 20px;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 500;
  align-items: center;
  gap: 10px;
}
.form-status.show { display: flex; }
.form-status.ok  { background: rgba(26,122,74,0.08); color: var(--success); }
.form-status.err { background: rgba(196,49,75,0.08); color: var(--error); }

/* honeypot anti-spam: invisible para humanos */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-inner p { font-size: 13.5px; color: var(--ink-muted); margin-top: 10px; max-width: 320px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: var(--ink-dim); }
.footer-links a:hover { color: var(--accent); }
.footer-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* ── Botón flotante de WhatsApp ────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 99;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.42);
  transition: transform .2s ease, box-shadow .2s ease;
}
#wa-float:hover { transform: scale(1.07); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ── Animaciones de scroll (reveal) ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

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

/* ════════════════════════════════════════════════════════════
   Páginas internas (servicios y proyectos)
════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 70% 60% at 85% -15%, rgba(0,113,227,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at -10% 70%, rgba(52,170,220,0.10) 0%, transparent 60%),
    #ffffff;
}
.page-hero h1 { font-size: clamp(36px, 5.4vw, 62px); max-width: 860px; font-weight: 650; }
.page-hero .lede { max-width: 720px; margin-top: 24px; }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-muted); margin-bottom: 28px; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--ink-muted); }
.crumbs a { color: var(--accent); }
.soft { background: var(--bg-soft); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-card); }
.feature .service-icon { margin-bottom: 20px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--ink-muted); font-size: 15.5px; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.example { display: flex; flex-direction: column; background: var(--bg-card); border-radius: var(--radius-md); padding: 26px 26px 22px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease; }
.example:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.example .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.example h3 { font-size: 18px; margin: 8px 0 6px; letter-spacing: -0.02em; }
.example p { font-size: 14.5px; color: var(--ink-muted); flex: 1; }
.example .dom { display: block; margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-muted); }
.example:hover .dom { color: var(--accent); }
.more-link { margin-top: 36px; }
.group + .group { margin-top: 72px; }
.group h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.group > p { color: var(--ink-dim); margin-bottom: 28px; max-width: 680px; }
.faq { max-width: 840px; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-dim); font-size: 16px; max-width: 760px; }
.related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.related a { padding: 11px 20px; border-radius: var(--pill); border: 1.5px solid rgba(0,113,227,0.28); color: var(--accent); font-size: 15px; font-weight: 500; }
.related a:hover { background: var(--accent-soft); }
.footer-links { flex-wrap: wrap; }
@media (max-width: 920px) {
  .examples { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { padding: 116px 0 56px; }
  .examples { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}
