/* Torago AI — Landing */

:root {
  --bg-deep: #020617;
  --bg-elevated: #0a0f1a;
  --bg-slate: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.55);
  --border: rgba(148, 163, 184, 0.1);
  --border-strong: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --text-soft: #e2e8f0;
  --text-muted: #94a3b8;
  --text-body: #b4c4d4;
  --teal: #2dd4bf;
  --teal-soft: #5eead4;
  --teal-dim: rgba(45, 212, 191, 0.12);
  --violet: #a78bfa;
  --violet-dim: rgba(167, 139, 250, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --shadow-soft: 0 28px 90px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 24px 64px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(45, 212, 191, 0.1);
  --ring-focus: 0 0 0 3px rgba(45, 212, 191, 0.22);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", var(--font-sans);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --line-display: 1.14;
  --line-body: 1.68;
  --section-edge: rgba(148, 163, 184, 0.055);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: dark;
}

::selection {
  background: rgba(45, 212, 191, 0.22);
  color: var(--text);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: var(--line-body);
  font-weight: 400;
  color: var(--text-soft);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -25%, rgba(15, 23, 42, 0.95), transparent 58%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(30, 27, 75, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 60%, rgba(15, 118, 110, 0.08), transparent 48%),
    linear-gradient(180deg, #020c18 0%, var(--bg-deep) 32%, #010409 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

body > *:not(.ambient) {
  position: relative;
  z-index: 1;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ambient--mesh {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 100% 75% at 50% -5%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 100% 75% at 50% -5%, #000 0%, transparent 72%);
}

.ambient--orb {
  background:
    radial-gradient(ellipse 55% 42% at 12% 18%, rgba(45, 212, 191, 0.09), transparent 52%),
    radial-gradient(ellipse 48% 38% at 92% 12%, rgba(167, 139, 250, 0.1), transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 105%, rgba(2, 6, 23, 0.85), transparent 58%);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 212, 191, 0.28) rgba(15, 23, 42, 0.6);
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.35), rgba(167, 139, 250, 0.25));
  border-radius: 99px;
  border: 2px solid rgba(2, 6, 23, 0.4);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.65);
  outline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--teal);
  color: var(--bg-deep);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: clamp(4.25rem, 11vw, 7rem) 0;
  position: relative;
}

main > .section:not(:first-child) {
  border-top: 1px solid var(--section-edge);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.section-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  opacity: 0.85;
}

.section-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 52ch;
}

.section-intro {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.section-intro--narrow {
  max-width: 520px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  border-bottom: 1px solid rgba(148, 163, 184, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 20px 50px rgba(0, 0, 0, 0.4);
}

.navbar {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  color: var(--text);
}

.brand-logo {
  display: block;
  height: 39px;
  width: auto;
  max-width: min(196px, 53vw);
  object-fit: contain;
  flex-shrink: 0;
}

.brand-accent {
  color: var(--teal);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.65rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  transition: width 0.35s var(--ease);
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta):focus-visible {
  color: var(--text-soft);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--teal-soft) !important;
  border: 1px solid rgba(45, 212, 191, 0.32);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(45, 212, 191, 0.18);
  box-shadow: 0 0 32px rgba(45, 212, 191, 0.15);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(10, 15, 26, 0.85);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text-soft);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding-top: calc(var(--header-h) + clamp(0.35rem, 1.8vw, 0.85rem));
  padding-bottom: clamp(3.5rem, 9vw, 5.5rem);
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
}

/* Primera sección = proceso completo: sin forzar altura de pantalla ni centrar todo el scroll */
.hero.section-process {
  display: block;
  min-height: 0;
  padding-top: calc(var(--header-h) + clamp(0.25rem, 1.4vw, 0.65rem));
  padding-bottom: clamp(4rem, 11vw, 6.5rem);
}

.hero.section-process .hero-layout--open {
  min-height: min(58vh, 520px);
  display: grid;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 48% at 12% 8%, rgba(45, 212, 191, 0.11), transparent 56%),
    radial-gradient(ellipse 50% 42% at 92% 12%, rgba(167, 139, 250, 0.12), transparent 52%),
    radial-gradient(ellipse 55% 38% at 50% 98%, rgba(45, 212, 191, 0.06), transparent 52%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(10, 15, 26, 0.4));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 12px 40px rgba(0, 0, 0, 0.2);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.65);
}

.hero-title {
  font-size: clamp(2.55rem, 5.8vw, 3.65rem);
  max-width: 14ch;
  margin-bottom: 1.1rem;
  letter-spacing: -0.045em;
  line-height: var(--line-display);
  font-weight: 650;
  color: var(--text);
  text-wrap: balance;
}

.hero-tagline {
  max-width: min(100%, 52ch);
  font-size: clamp(1.02rem, 2.1vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-body);
  margin: 0 0 1.85rem;
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-soft) 35%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-layout--open {
  position: relative;
  margin-bottom: clamp(0.5rem, 1.4vw, 0.9rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.35rem);
  border-bottom: none;
}

.hero-layout--open::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(148, 163, 184, 0.14) 22%,
    rgba(45, 212, 191, 0.22) 50%,
    rgba(148, 163, 184, 0.14) 78%,
    transparent 100%
  );
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.4rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(145deg, #3ee8c7 0%, #2dd4bf 42%, #0f766e 108%);
  color: #042f2e;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 16px 48px rgba(45, 212, 191, 0.26),
    0 0 0 1px rgba(45, 212, 191, 0.12);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 20px 56px rgba(45, 212, 191, 0.38);
}

.btn-ghost {
  background: rgba(10, 15, 26, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--text-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(167, 139, 250, 0.45);
  background: var(--violet-dim);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Hero mockup */
.hero-visual {
  position: relative;
  isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-visual {
    animation: hero-float 14s ease-in-out infinite;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20% -15% -25%;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(45, 212, 191, 0.14), transparent 65%),
    radial-gradient(ellipse 45% 40% at 80% 20%, rgba(167, 139, 250, 0.12), transparent 60%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
}

.mock-surface {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(168deg, rgba(24, 33, 52, 0.9) 0%, rgba(2, 6, 23, 0.96) 100%);
  box-shadow:
    var(--shadow-lift),
    0 0 0 1px rgba(45, 212, 191, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
}

.mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #334155;
}

.mock-dot:nth-child(1) {
  background: #f87171;
}

.mock-dot:nth-child(2) {
  background: #fbbf24;
}

.mock-dot:nth-child(3) {
  background: #4ade80;
}

.mock-title {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 280px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.35);
}

.mock-pill {
  height: 6px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.12);
}

.mock-pill--active {
  background: linear-gradient(90deg, var(--teal), var(--violet));
  opacity: 0.85;
}

.mock-main {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mock-kpi {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 26, 0.55);
}

.mock-kpi-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.mock-kpi-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.mock-kpi-bar {
  display: block;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.mock-kpi-bar--violet .mock-kpi-fill {
  background: linear-gradient(90deg, var(--violet), #c4b5fd);
}

.mock-kpi-fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-soft));
}

.mock-chart {
  position: relative;
  flex: 1;
  min-height: 110px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(148, 163, 184, 0.15);
  background: rgba(2, 6, 23, 0.35);
  padding: 0.65rem 0.5rem 0.5rem;
  display: flex;
  align-items: flex-end;
}

.mock-chart-grid {
  position: absolute;
  inset: 0.65rem 0.5rem 0.5rem;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 23px,
    rgba(148, 163, 184, 0.06) 23px,
    rgba(148, 163, 184, 0.06) 24px
  );
  pointer-events: none;
  border-radius: 6px;
}

.mock-chart-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 0 0.15rem;
}

.mock-chart-bars span {
  flex: 1;
  height: var(--h);
  min-height: 18%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.55), rgba(167, 139, 250, 0.35));
  opacity: 0.9;
}

.mock-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--teal-dim);
  color: var(--teal-soft);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.mock-chip i {
  font-size: 0.65rem;
  opacity: 0.9;
}

.mock-chip--muted {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-muted);
  border-color: var(--border);
  font-weight: 500;
}

.mock-caption {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.55);
  text-align: right;
  letter-spacing: 0.02em;
}

/* Process timeline — lectura cómoda, acabado producto */
.section-process {
  background:
    radial-gradient(ellipse 100% 55% at 50% -5%, rgba(45, 212, 191, 0.07), transparent 52%),
    linear-gradient(180deg, rgba(12, 18, 32, 0.5) 0%, transparent 72%);
}

.timeline-block {
  position: relative;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: clamp(1.65rem, 3.5vw, 2.35rem);
}

.timeline-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(148, 163, 184, 0.14) 18%,
    rgba(45, 212, 191, 0.22) 50%,
    rgba(148, 163, 184, 0.14) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.timeline {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: 0;
  position: relative;
  max-width: 720px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.4rem;
  bottom: 0.65rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(45, 212, 191, 0.45) 0%,
    rgba(94, 234, 212, 0.2) 38%,
    rgba(167, 139, 250, 0.45) 78%,
    rgba(167, 139, 250, 0.12) 100%
  );
  opacity: 0.75;
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.12);
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: clamp(1.15rem, 3vw, 1.65rem);
  padding-bottom: clamp(1.2rem, 3.2vw, 1.85rem);
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  top: 0.55rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1e293b, var(--bg-deep));
  border: 2.5px solid var(--teal);
  box-shadow:
    0 0 0 4px rgba(45, 212, 191, 0.1),
    0 0 28px rgba(45, 212, 191, 0.28);
  justify-self: start;
  z-index: 1;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.timeline-step:hover .timeline-marker {
  transform: scale(1.06);
}

.timeline-marker--end {
  border-color: #c4b5fd;
  box-shadow:
    0 0 0 4px rgba(167, 139, 250, 0.1),
    0 0 28px rgba(167, 139, 250, 0.22);
}

.timeline-content {
  padding: 1.35rem 1.45rem 1.45rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-left-width: 3px;
  border-left-color: rgba(148, 163, 184, 0.25);
  background: linear-gradient(158deg, rgba(24, 33, 52, 0.92) 0%, rgba(10, 15, 26, 0.82) 100%);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 16px 48px rgba(0, 0, 0, 0.26);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.timeline-step--accent-teal .timeline-content {
  border-left-color: rgba(45, 212, 191, 0.75);
}

.timeline-step--accent-mix .timeline-content {
  border-left-color: rgba(94, 234, 212, 0.7);
}

.timeline-step--accent-violet .timeline-content {
  border-left-color: rgba(167, 139, 250, 0.78);
}

.timeline-step--accent-soft .timeline-content {
  border-left-color: rgba(148, 163, 184, 0.55);
}

.timeline-step:hover .timeline-content {
  transform: translateX(4px);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 52px rgba(0, 0, 0, 0.28);
}

.timeline-step--accent-teal:hover .timeline-content {
  border-left-color: rgba(45, 212, 191, 0.95);
}

.timeline-step--accent-mix:hover .timeline-content {
  border-left-color: rgba(94, 234, 212, 0.9);
}

.timeline-step--accent-violet:hover .timeline-content {
  border-left-color: rgba(196, 181, 254, 0.95);
}

.timeline-step--accent-soft:hover .timeline-content {
  border-left-color: rgba(203, 213, 225, 0.75);
}

.timeline-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-soft);
}

.timeline-step--accent-teal .timeline-label {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.22);
  color: var(--teal-soft);
}

.timeline-step--accent-mix .timeline-label {
  background: rgba(94, 234, 212, 0.1);
  border-color: rgba(94, 234, 212, 0.2);
  color: #a5f3fc;
}

.timeline-step--accent-violet .timeline-label {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.22);
  color: #ddd6fe;
}

.timeline-step--accent-soft .timeline-label {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.16);
  color: var(--text-soft);
}

.timeline-content h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.28;
  margin-bottom: 0.5rem;
  max-width: 38ch;
}

.timeline-content p {
  font-size: 0.94rem;
  line-height: var(--line-body);
  color: var(--text-body);
}

/* Soluciones (bento) */
.section-offer {
  position: relative;
}

.section-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(72%, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.15), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.section-head-split__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 42ch;
  justify-self: end;
}

.bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1.1rem;
}

.bento-cell {
  padding: 1.55rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(10, 15, 26, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 24px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.bento-cell:hover {
  border-color: rgba(148, 163, 184, 0.2);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 56px rgba(0, 0, 0, 0.38);
}

.bento-cell--hero {
  grid-row: span 2;
  background:
    radial-gradient(120% 85% at 100% 0%, rgba(45, 212, 191, 0.12), transparent 58%),
    radial-gradient(80% 50% at 0% 100%, rgba(167, 139, 250, 0.06), transparent 50%),
    rgba(10, 15, 26, 0.58);
  border-color: rgba(45, 212, 191, 0.2);
}

.bento-cell--wide {
  grid-column: span 2;
}

.bento-cell--accent {
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.08), transparent 60%),
    rgba(10, 15, 26, 0.5);
  border-color: rgba(167, 139, 250, 0.2);
}

.bento-cell__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.bento-cell__head i {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--teal-soft);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.bento-cell--accent .bento-cell__head i {
  color: #ddd6fe;
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.28);
}

.bento-cell p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.bento-tags li {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--teal-soft);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

/* Contact */
.section-contact {
  padding-bottom: clamp(4rem, 12vw, 6.5rem);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
  padding: clamp(2.15rem, 5vw, 3rem);
  border-radius: calc(var(--radius-xl) + 2px);
  border: 1px solid rgba(148, 163, 184, 0.11);
  background:
    radial-gradient(95% 75% at 0% 100%, rgba(45, 212, 191, 0.1), transparent 58%),
    radial-gradient(65% 55% at 100% 0%, rgba(167, 139, 250, 0.08), transparent 48%),
    rgba(10, 15, 26, 0.5);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 80px rgba(0, 0, 0, 0.32);
}

.contact-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.contact-rail h2 {
  letter-spacing: -0.035em;
  line-height: var(--line-display);
}

.contact-rail__lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0.65rem 0 0;
  max-width: 36ch;
}

.contact-form {
  padding: 1.85rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.11);
  background: linear-gradient(168deg, rgba(14, 20, 36, 0.94), rgba(2, 6, 23, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 56px rgba(0, 0, 0, 0.32);
}

.contact-form__title {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.contact-form__title h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.contact-form__title p {
  font-size: 0.88rem;
  margin: 0;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text-soft);
  background: rgba(10, 15, 26, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(148, 163, 184, 0.45);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: var(--ring-focus);
}

.field textarea {
  resize: vertical;
  min-height: 118px;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  min-height: 1.25em;
  color: var(--text-muted);
}

.form-note.is-error {
  color: #f87171;
}

.form-note.is-ok {
  color: var(--teal-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--section-edge);
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, #020617 0%, #000 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--teal-soft);
  font-weight: 500;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-location {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.45);
  line-height: 1.45;
}

.footer-small {
  font-size: 0.82rem;
  margin: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .nav-links a,
  .bento-cell,
  .timeline-content {
    transition: none;
  }

  .hero-visual {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
  }

  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .section-head-split {
    grid-template-columns: 1fr;
  }

  .section-head-split__lead {
    justify-self: start;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-cell--hero {
    grid-row: auto;
  }

  .bento-cell--wide {
    grid-column: auto;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .navbar {
    width: calc(100% - 1.5rem);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .site-header.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links li:last-child a {
    border-bottom: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mock-body {
    grid-template-columns: 44px 1fr;
    min-height: 260px;
  }

  .timeline::before {
    left: 6px;
  }
}
