/* Ngen Development — modern light site. The serif lives only in the logo images. */
:root {
  --white: #ffffff;
  --soft: #f5f6f7;
  --ink: #111417;
  --ink-2: #4b535b;
  --ink-3: #7c858e;
  --line: #e4e7ea;
  --petrol: #0b1e26;
  --petrol-2: #12313c;
  --accent: #1f6b80;
  --accent-2: #5fa8bb;
  --ivory: #f3efe6;
  --footer: #1d1e20;
  --aws: #ff9900;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  --header: 76px;
  --shadow: 0 18px 50px rgba(17, 20, 23, 0.08);
  --space-bg:
    radial-gradient(1100px 600px at 80% 20%, rgba(31, 107, 128, 0.55), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(18, 49, 60, 0.95), transparent 60%),
    linear-gradient(135deg, #0b1e26 0%, #0d2630 55%, #121719 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; color: var(--ink); letter-spacing: -0.025em; }
p { margin: 0 0 1em; color: var(--ink-2); }

/* Full-width layout: no max width, only proportional side padding (wide monitors use the space). */
.container { width: 100%; padding-inline: clamp(16px, 5vw, 120px); }
.center { text-align: center; margin-top: 40px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-block; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); background: rgba(31, 107, 128, 0.08);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-dark { color: var(--ivory); background: rgba(243, 239, 230, 0.1); border: 1px solid rgba(243, 239, 230, 0.18); }
.hl-light { background: linear-gradient(90deg, var(--accent-2), #cfe6ec); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(17, 20, 23, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.brand img { width: 112px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.nav-cta { background: var(--ink); color: var(--white) !important; padding: 10px 20px; border-radius: 999px; }
.nav-cta:hover { background: var(--petrol); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s ease, top .3s ease; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font: 600 15px/1 var(--display); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--petrol); border-color: var(--petrol); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid #cfd4d9; }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: var(--ivory); color: var(--ink); border: 1px solid var(--ivory); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { background: transparent; color: var(--ivory); border: 1px solid rgba(243, 239, 230, 0.4); }
.btn-ghost-light:hover { border-color: var(--ivory); }

/* ---------- Full-width hero (animated "space" network) ---------- */
.hero-full {
  position: relative; overflow: hidden; color: var(--ivory); background: var(--space-bg);
  min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header) + 40px) 0 90px;
}
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.hero-glow { position: absolute; inset: auto -10% -45% -10%; height: 75%; background: radial-gradient(closest-side, rgba(95, 168, 187, 0.18), transparent); pointer-events: none; }
.hero-full-content { position: relative; }
.hero-full h1 { color: var(--ivory); font-size: clamp(44px, 7vw, 96px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 13ch; }
.hero-full .lead { color: rgba(243, 239, 230, 0.78); font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; margin: 26px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1px solid rgba(243, 239, 230, 0.45); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--ivory); border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }

/* Capabilities strip */
.strip { border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; }
.strip-grid div { padding: 30px 24px; border-left: 1px solid var(--line); }
.strip-grid div:first-child { border-left: 0; padding-left: 0; }
.strip-grid dt { font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.strip-grid dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 900px; margin-bottom: 54px; }
.section-head h2, .split h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, var(--petrol), var(--accent)); }
.card-icon svg { width: 23px; height: 23px; fill: none; stroke: var(--ivory); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.015em; }
.card p { font-size: 15px; margin: 0; }
/* AI gets its own violet accent so it stands out among the services. */
.card-ai .card-icon, .card-icon-ai { background: linear-gradient(135deg, #3b2a7a, #6b5bd6 55%, var(--accent-2)); }

/* Showcases */
.showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; margin-bottom: clamp(60px, 8vw, 100px); }
.showcase:last-child { margin-bottom: 0; }
.showcase-rev .showcase-copy { order: 2; }
.tag { display: inline-block; font: 600 12px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.showcase h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.showcase h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 107, 128, 0.12); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 9px; width: 6px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.eyebrow-pastel { color: #5b4bc4; background: linear-gradient(90deg, #e8e4fb, #dceefb); }
/* Pastel checks, a different tone per item. */
.ticks-color { grid-template-columns: repeat(2, max-content); column-gap: 36px; }
.ticks-color li { white-space: nowrap; }
/* App Store / Google Play marks */
.stores { display: inline-flex; align-items: center; gap: 6px; vertical-align: -2px; margin-left: 4px; }
.stores img { width: 16px; height: 16px; object-fit: contain; }
.card-stores { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; font: 600 12.5px/1 var(--display); color: var(--ink-3); }
.card-stores .stores { margin-left: 0; gap: 8px; }
.card-stores .stores img { width: 18px; height: 18px; }
.ticks-color li:nth-child(7n+1)::before { background: #d9f4ea; } .ticks-color li:nth-child(7n+1)::after { border-color: #2f9e6e; }
.ticks-color li:nth-child(7n+2)::before { background: #dceefb; } .ticks-color li:nth-child(7n+2)::after { border-color: #2f7fc1; }
.ticks-color li:nth-child(7n+3)::before { background: #fde7d9; } .ticks-color li:nth-child(7n+3)::after { border-color: #e07a3f; }
.ticks-color li:nth-child(7n+4)::before { background: #e8e4fb; } .ticks-color li:nth-child(7n+4)::after { border-color: #6b5bd6; }
.ticks-color li:nth-child(7n+5)::before { background: #fbe1ea; } .ticks-color li:nth-child(7n+5)::after { border-color: #d0537a; }
.ticks-color li:nth-child(7n+6)::before { background: #fdf3cc; } .ticks-color li:nth-child(7n+6)::after { border-color: #b9902a; }
.ticks-color li:nth-child(7n+7)::before { background: #d7f2f4; } .ticks-color li:nth-child(7n+7)::after { border-color: #1f8d96; }
.showcase-visual { position: relative; min-height: 460px; border-radius: 28px; overflow: hidden; display: grid; place-items: center; }
.visual-dark { background: radial-gradient(500px 300px at 80% 10%, rgba(31, 107, 128, 0.55), transparent 65%), linear-gradient(160deg, var(--petrol), #14191c); }

.phone {
  position: relative; width: clamp(200px, 22vw, 250px); aspect-ratio: 9 / 19; border-radius: 32px; padding: 9px;
  background: #0d0f10; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 6s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 34%; height: 16px; border-radius: 10px; background: #0d0f10; z-index: 2; }
.map { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: #e7ecef; }
.map svg { width: 100%; height: 100%; }
.streets path { fill: none; stroke: #fff; stroke-width: 9; }
.route-path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 6; }
.pin-start { fill: var(--petrol); } .pin-end { fill: #2f9e6e; }
.mover { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.eta { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.eta small { display: block; font-size: 10px; color: var(--ink-3); }
.eta strong { display: block; font: 800 20px/1.2 var(--display); }
.eta span { font-size: 10.5px; color: var(--ink-2); }

/* Dashboard + phone scene (web and mobile version of the same product) */
.device-scene { min-height: clamp(460px, 42vw, 620px); }
.browser {
  position: absolute; left: 5%; top: 10%; width: 76%; border-radius: 14px; overflow: hidden;
  background: #f7f8fa; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); animation: float 7s ease-in-out infinite;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9ecef; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar i:nth-child(1) { background: #ef6a5e; } .browser-bar i:nth-child(2) { background: #f5c04f; } .browser-bar i:nth-child(3) { background: #5fc56c; }
.browser-bar span { margin-left: 12px; font-size: 11px; color: var(--ink-3); background: #fff; padding: 3px 12px; border-radius: 6px; }
.dash { display: grid; grid-template-columns: 48px 1fr; }
.dash-side { background: var(--petrol); display: grid; align-content: start; gap: 14px; justify-items: center; padding: 16px 0; }
.dash-side b { width: 22px; height: 22px; border-radius: 7px; background: var(--accent-2); margin-bottom: 8px; }
.dash-side span { width: 20px; height: 6px; border-radius: 3px; background: rgba(243, 239, 230, 0.25); }
.dash-side span.on { background: var(--ivory); }
.dash-main { padding: 14px; display: grid; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi, .chart-card { background: #fff; border-radius: 10px; padding: 9px 11px; border: 1px solid #edf0f2; }
.kpi small, .chart-card small { display: block; font-size: 10px; color: var(--ink-3); }
.kpi strong { display: block; font-family: var(--display); font-size: clamp(13px, 1.3vw, 18px); }
.kpi em { font-style: normal; font-size: 10px; font-weight: 600; }
.up { color: #2f9e6e; }
.charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.line-chart { width: 100%; height: clamp(90px, 9vw, 140px); margin-top: 4px; }
.line-chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.line-chart .area { opacity: 0; }
.is-visible .line-chart .line { animation: draw 2.4s ease forwards .3s; }
.is-visible .line-chart .area { animation: fade 1.2s ease forwards 1.6s; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: clamp(90px, 9vw, 140px); margin-top: 4px; }
.bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--accent-2), var(--accent)); transform-origin: bottom; transform: scaleY(0); }
.is-visible .bars span { animation: grow 1.1s cubic-bezier(.2, .8, .2, 1) forwards; }
.bars span:nth-child(2) { animation-delay: .1s !important; } .bars span:nth-child(3) { animation-delay: .2s !important; }
.bars span:nth-child(4) { animation-delay: .3s !important; } .bars span:nth-child(5) { animation-delay: .4s !important; }

.mini-phone {
  position: absolute; right: 5%; bottom: 7%; width: clamp(140px, 13vw, 200px); aspect-ratio: 9 / 19;
  border-radius: 28px; padding: 8px; background: #0d0f10; z-index: 2;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 6s ease-in-out infinite reverse;
}
.mini-phone .phone-notch { top: 12px; height: 14px; }
.app { height: 100%; border-radius: 21px; background: #f6f7f9; overflow: hidden; padding: 30px 10px 10px; display: flex; flex-direction: column; gap: 8px; }
.app-hello { margin: 0; font: 700 13px/1.2 var(--display); color: var(--ink); }
.app-card { border-radius: 12px; padding: 10px; color: var(--ivory); background: linear-gradient(135deg, var(--petrol), var(--accent)); }
.app-card small { font-size: 8.5px; opacity: .75; }
.app-card strong { display: block; font: 700 14px/1.3 var(--display); margin: 2px 0 6px; }
.mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; }
.mini-bars span { flex: 1; height: var(--h); border-radius: 3px; background: rgba(243, 239, 230, 0.75); transform-origin: bottom; animation: pulse-bar 2.6s ease-in-out infinite; }
.mini-bars span:nth-child(odd) { animation-delay: .4s; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.app-list li { display: grid; grid-template-columns: 18px 1fr auto; gap: 6px; align-items: center; background: #fff; border-radius: 9px; padding: 6px 7px; }
.app-list i { width: 18px; height: 18px; border-radius: 6px; background: rgba(31, 107, 128, 0.15); }
.app-list b { display: block; font-size: 9px; } .app-list small { display: block; font-size: 8px; color: var(--ink-3); }
.app-list span { font-size: 8.5px; font-weight: 600; }
.app-tab { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 10px; padding: 8px; }
.app-tab span { width: 14px; height: 14px; border-radius: 4px; background: #dfe3e7; } .app-tab span.on { background: var(--accent); }

.toast {
  position: absolute; left: 8%; bottom: 9%; display: flex; align-items: center; gap: 8px; z-index: 3;
  background: #fff; color: var(--ink); font: 600 13px/1 var(--display); padding: 11px 14px; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); animation: toast 6s ease-in-out infinite;
}
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e6e; box-shadow: 0 0 0 4px rgba(47, 158, 110, 0.2); }

.hub { width: 92%; max-width: 460px; }
.hub-links path { fill: none; stroke: rgba(143, 185, 196, 0.35); stroke-width: 1.5; stroke-dasharray: 4 5; }
.hub-pulses circle { fill: #fff; filter: drop-shadow(0 0 4px rgba(95, 168, 187, 0.9)); }
.hub-nodes rect { fill: rgba(243, 239, 230, 0.08); stroke: rgba(243, 239, 230, 0.3); }
.hub-nodes text, .hub-core text { fill: var(--ivory); font: 600 12.5px var(--display); text-anchor: middle; dominant-baseline: middle; }
.hub-core circle { fill: var(--accent); stroke: rgba(243, 239, 230, 0.4); stroke-width: 2; animation: core 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hub-core text { font-size: 13px; }

/* Architecture with logos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-top { align-items: start; grid-template-columns: 0.9fr 1.1fr; }
.sticky-col { position: sticky; top: 110px; }
.layers { display: grid; gap: 16px; }
.layer-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); }
.layer-card h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.logos li { display: grid; justify-items: center; gap: 10px; padding: 16px 8px; border-radius: 14px; background: var(--soft); text-align: center; transition: transform .25s ease, background .25s ease; }
.logos li:hover { transform: translateY(-3px); background: #eef1f3; }
.logos img { width: 38px; height: 38px; object-fit: contain; }
.logos span { font: 600 13px/1.2 var(--display); }
.layer-cloud { border: 0; background: linear-gradient(135deg, var(--petrol), var(--petrol-2)); }
.layer-cloud h3 { color: rgba(243, 239, 230, 0.7); }
.clouds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.clouds li { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 130px; padding: 18px 10px; border-radius: 16px; background: #fff; text-align: center; transition: transform .25s ease; }
.clouds li:hover { transform: translateY(-3px); }
.clouds img { height: 44px; width: auto; max-width: 90px; object-fit: contain; }
.clouds span { font: 700 13.5px/1.2 var(--display); }
.clouds .cloud-aws { background: var(--aws); }
.cloud-aws span { color: #111; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { padding: 28px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps span { font: 700 14px/1 var(--display); color: var(--accent); }
.steps h3 { font-size: 21px; margin: 12px 0 8px; }
.steps p { margin: 0; font-size: 15px; }

/* CTA band */
.cta-band { padding: 70px 0; color: var(--ivory); background: var(--space-bg); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ivory); font-size: clamp(28px, 3.4vw, 44px); }

/* ---------- Internal pages ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--ivory); padding: calc(var(--header) + 80px) 0 80px; background: var(--space-bg); }
.page-hero .hero-network { opacity: 0.55; }
/* Same animated image on internal pages, each with its own color. --net tints the network lines. */
.hero-full, .page-hero { --net: 143, 185, 196; }
.page-hero.theme-servicios {
  --net: 168, 178, 240;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(107, 123, 214, 0.55), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(30, 34, 84, 0.95), transparent 60%),
    linear-gradient(135deg, #12163a 0%, #1a1f4d 55%, #121421 100%);
}
.page-hero.theme-nosotros {
  --net: 150, 214, 194;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(79, 179, 154, 0.5), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(13, 48, 42, 0.95), transparent 60%),
    linear-gradient(135deg, #0a2420 0%, #11403a 55%, #111a18 100%);
}
.page-hero.theme-contacto {
  --net: 228, 176, 204;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(201, 119, 159, 0.45), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(52, 20, 44, 0.95), transparent 60%),
    linear-gradient(135deg, #22111f 0%, #3d1a35 55%, #171116 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--ivory); font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; }
.page-hero p { color: rgba(243, 239, 230, 0.78); font-size: clamp(17px, 1.5vw, 19px); max-width: 640px; margin: 20px 0 0; }

.service-index { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.service-index a { text-decoration: none; font: 600 14px/1 var(--display); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); transition: border-color .2s ease, color .2s ease; }
.service-index a:hover { border-color: var(--ink); color: var(--ink); }
.service-detail { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 30px; padding: 46px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-detail .card-icon { margin: 0; width: 60px; height: 60px; border-radius: 16px; }
.service-detail h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 12px; }
.service-detail h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.service-detail .ticks { margin-top: 0; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.value h3 { font-size: 21px; margin-bottom: 8px; }
.value p { margin: 0; font-size: 15px; }
.audiences { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.audiences span { font: 500 14px/1 var(--display); padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--white); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-grid h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; color: var(--ink-2); }
.contact-list span { display: block; font: 600 12px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink); }
.contact-form { display: grid; gap: 16px; padding: 32px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font: 500 14px/1.2 var(--display); color: var(--ink-2); }
.contact-form input, .contact-form textarea, .contact-form select {
  font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px; resize: vertical; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--accent); background: var(--white); }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-note { margin: 0; font-size: 14px; min-height: 1.4em; }

/* ---------- Footer (dark grey, ivory logo) ---------- */
.site-footer { background: var(--footer); color: var(--ivory); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { width: 190px; height: auto; margin-bottom: 18px; }
.footer-brand p, .footer-contact p { color: rgba(243, 239, 230, 0.6); font-size: 15px; max-width: 34ch; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a, .footer-contact a { color: rgba(243, 239, 230, 0.82); text-decoration: none; font-size: 15px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--ivory); }
.footer-contact a { display: inline-block; margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(243, 239, 230, 0.12); }
.footer-bottom p { margin: 0; color: rgba(243, 239, 230, 0.5); font-size: 14px; }
.footer-bottom .flag { display: inline-block; width: 18px; height: 12px; margin-left: 6px; vertical-align: -1px; border-radius: 2px; }
.footer-bottom a { color: rgba(243, 239, 230, 0.7); font-size: 14px; text-decoration: none; }

/* ---------- Motion ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes core { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes pulse-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.7); } }
@keyframes toast { 0%, 12% { opacity: 0; transform: translateY(10px); } 20%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-grid div:nth-child(4) { border-left: 0; padding-left: 0; }
  .strip-grid div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 1000px) {
  .split, .split-top, .contact-grid, .showcase { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .showcase-rev .showcase-copy { order: 0; }
  .cards, .steps, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail { grid-template-columns: 60px 1fr; }
  .service-detail > :last-child { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 22px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(17, 20, 23, 0.08);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .cards-4, .steps, .values { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid div { padding: 20px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .strip-grid div:nth-child(-n+2) { border-top: 0; }
  .strip-grid div:nth-child(odd) { padding-left: 0; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticks-color { grid-template-columns: 1fr; }
  .ticks-color li { white-space: normal; }
  .clouds { grid-template-columns: 1fr; }
  .clouds li { min-height: 96px; }
  .showcase-visual { min-height: 400px; }
  .browser { width: 90%; left: 5%; top: 6%; }
  .dash { grid-template-columns: 34px 1fr; }
  .charts { grid-template-columns: 1fr; } .charts .chart-card:last-child { display: none; }
  .mini-phone { width: 130px; right: 4%; bottom: 5%; }
  .toast { left: 4%; bottom: 6%; font-size: 12px; }
  .service-detail { grid-template-columns: 1fr; gap: 18px; }
  .service-detail > :last-child { grid-column: auto; }
  .contact-form { padding: 24px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .mini-phone, .browser, .toast, .mini-bars span, .hub-core circle, .scroll-cue span { animation: none; }
  .line-chart .line { stroke-dashoffset: 0; } .line-chart .area { opacity: 1; } .bars span { transform: none; }
}
