:root {
  --ink: #0e1a3a;
  --ink-2: #33406a;
  --muted: #5d6789;
  --line: #e3e7f2;
  --bg: #ffffff;
  --tint: #f5f7fc;
  --blue: #1f4fff;
  --blue-d: #1638c9;
  --sky: #7cc4ff;
  --sun: #ffc53d;
  --pink: #ff5c8a;
  --green: #22b88a;
  --violet: #7b5cff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 26, 58, 0.06), 0 12px 32px -12px rgba(14, 26, 58, 0.18);
  --font-head: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.muted {
  color: var(--muted);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--small {
  padding: 9px 16px;
  font-size: 14px;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(31, 79, 255, 0.6);
}
.btn--primary:hover {
  background: var(--blue-d);
}
.btn--ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.btn--ghost:hover {
  border-color: #c9d0e4;
}
.btn--sun {
  background: var(--sun);
  color: var(--ink);
}
.btn--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--ghost-light:hover {
  border-color: #fff;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 22px/1 var(--font-head);
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 28px;
  height: 28px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__menu a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav__menu a:not(.btn):hover {
  color: var(--blue);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav__toggle span:first-child {
  top: 17px;
}
.nav__toggle span:last-child {
  top: 25px;
}
.nav.is-open .nav__toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 104px;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(124, 196, 255, 0.28), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 197, 61, 0.14), transparent 70%),
    linear-gradient(180deg, #f7f9ff, #fff);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 184, 138, 0.18);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--blue), #6a5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 24px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 34em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__facts {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
}
.hero__facts strong {
  display: block;
  font: 800 28px/1 var(--font-head);
  color: var(--ink);
  margin-bottom: 4px;
}

.hero__art {
  position: relative;
  height: 460px;
}
.tile {
  position: absolute;
  border-radius: 28px;
  mix-blend-mode: multiply;
}
.hero__art .tile--a {
  width: 230px;
  height: 230px;
  left: 12%;
  top: 6%;
  background: linear-gradient(135deg, #ffd0de, #ff8ab0 70%, #e08cff);
  animation: bob 9s ease-in-out infinite;
}
.hero__art .tile--b {
  width: 250px;
  height: 250px;
  left: 38%;
  top: 22%;
  background: linear-gradient(135deg, #bfe1ff, #6f95ff);
  animation: bob 11s ease-in-out -3s infinite;
}
.hero__art .tile--c {
  width: 190px;
  height: 190px;
  left: 22%;
  top: 52%;
  background: linear-gradient(135deg, #fff0b8, #ffd66b 55%, #8fe6c8);
  animation: bob 10s ease-in-out -6s infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

.float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 26, 58, 0.06);
}
.card-exp {
  width: 280px;
  right: 0;
  top: 8%;
  padding: 16px 18px;
}
.card-exp__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
.card-exp__title {
  font: 700 17px/1.3 var(--font-head);
  margin: 8px 0 14px;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.badge--amber {
  background: #fff4d6;
  color: #9a6400;
}
.badge--pink {
  background: #ffe3ec;
  color: #b1234f;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.steps li::before {
  content: "";
  display: block;
  height: 5px;
  border-radius: 4px;
  background: var(--line);
  margin-bottom: 6px;
}
.steps .done::before {
  background: var(--green);
}
.steps .now::before {
  background: linear-gradient(90deg, var(--sun) 50%, var(--line) 50%);
}
.steps .now {
  color: var(--ink);
  font-weight: 600;
}
.card-rec {
  left: 0;
  bottom: 14%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px 12px 12px;
}
.pin {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffe3ec;
  position: relative;
  flex: none;
}
.pin::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 92, 138, 0.25);
}
.card-rec__title {
  font-weight: 600;
  font-size: 14px;
}
.card-rec__meta {
  font-size: 12px;
  color: var(--muted);
}
.card-turno {
  right: 6%;
  bottom: 4%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
}
.card-turno .mono {
  background: var(--ink);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
}
.section--tint {
  background: var(--tint);
}
.section--ink {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(31, 79, 255, 0.35), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(255, 92, 138, 0.18), transparent 70%),
    var(--ink);
  color: #fff;
}
.section__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section__head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
}
.sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-2);
}
.section--ink .sub {
  color: rgba(255, 255, 255, 0.72);
}
.kicker {
  font: 600 13px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 16px;
}
.kicker--light {
  color: var(--sky);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pillar:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.pillar h3 {
  font-size: 21px;
  margin: 20px 0 8px;
}
.pillar p {
  color: var(--muted);
  font-size: 15px;
}
.pillar__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.pillar__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-blue {
  background: #e6edff;
  color: var(--blue);
}
.ic-pink {
  background: #ffe3ec;
  color: #d8295f;
}
.ic-green {
  background: #dcf6ec;
  color: #0f8a64;
}
.ic-amber {
  background: #fff1cc;
  color: #a86a00;
}

/* Features */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 96px;
}
.section__head + .feature {
  margin-top: 0;
}
.feature--rev .feature__art {
  order: 2;
}
.feature__copy h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
}
.feature__copy > p:not(.kicker) {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 17px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-size: 15px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e6edff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

.art {
  position: relative;
  border-radius: 24px;
  min-height: 400px;
  display: grid;
  place-items: center;
  padding: 36px;
  overflow: hidden;
}
.art--navy {
  background: radial-gradient(400px 300px at 20% 0%, rgba(124, 196, 255, 0.4), transparent 70%), linear-gradient(160deg, #16245a, #0e1a3a);
}
.art--sky {
  background: linear-gradient(160deg, #dcecff, #eef5ff);
  padding: 0;
}
.art--sun {
  background: radial-gradient(360px 260px at 100% 0%, rgba(255, 92, 138, 0.25), transparent 70%), linear-gradient(160deg, #fff4d6, #ffe7a3);
}
.art--violet {
  background: radial-gradient(400px 300px at 0% 100%, rgba(124, 196, 255, 0.35), transparent 70%), linear-gradient(160deg, #efeaff, #e2dbff);
}

/* Flow */
.flow {
  width: 100%;
  max-width: 360px;
}
.flow__node {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}
.flow__node b {
  display: block;
  font-size: 15px;
}
.flow__node small {
  color: var(--muted);
  font-size: 12.5px;
}
.flow__node--end {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}
.flow__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
.flow__edge {
  width: 2px;
  height: 22px;
  margin-left: 33px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0 4px, transparent 4px 8px);
  background-size: 2px 16px;
  animation: dash 1s linear infinite;
}
@keyframes dash {
  to {
    background-position: 0 16px;
  }
}

/* Map */
.map {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}
.mpin circle {
  fill: var(--c);
  stroke: #fff;
  stroke-width: 3;
}
.mpin {
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 2.8s ease-in-out infinite;
}
.mpin:nth-child(odd) {
  animation-delay: -1.4s;
}
@keyframes pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}
.map__card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.5;
  min-width: 210px;
}
.map__card p b {
  font-size: 15px;
}
.map__card .badge {
  margin-bottom: 6px;
}

/* Calendar */
.cal {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.cal__head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 14px;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.cal__d {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}
.cal i {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 8px;
  font-style: normal;
  font-size: 11px;
}
.cal .t {
  background: #eaf8f2;
  border: 1px solid #bfe9d7;
}
.cal .t.b {
  background: #eef0f6;
  border-color: #e0e4ef;
}
.cal .t.sel {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 500;
}
.cal .h {
  background: repeating-linear-gradient(135deg, #fff1cc 0 6px, #fff8e6 6px 12px);
  color: #9a6400;
  font-weight: 600;
}
.cal__legend {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.cal__legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal__legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Permissions */
.perm {
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 10px;
}
.perm__row {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px -14px rgba(60, 30, 140, 0.45);
}
.perm__row--result {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.perm__label {
  display: block;
  font: 600 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.perm__op {
  text-align: center;
  font: 700 22px/1 var(--font-head);
  color: var(--violet);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: #ece7ff;
  color: #4b2fd6;
}
.chip--line {
  background: #fff;
  border: 1px solid #cfd6ea;
  color: var(--ink-2);
}
.chip--ok {
  background: #dcf6ec;
  color: #0f7a58;
}

/* Modules */
.mods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.mod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.mod::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 16px;
  height: 16px;
  background: currentColor;
  opacity: 0.35;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mod:hover,
.mod:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
}
.mod:hover::after,
.mod:focus-visible::after {
  opacity: 0.9;
  transform: rotate(90deg);
}
.mod:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
.mod__ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  color: color-mix(in srgb, var(--c) 55%, #fff);
}
.mod__ic svg,
.modal__icon svg,
.modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mod b {
  display: block;
  font: 700 16px/1.2 var(--font-head);
  margin-bottom: 6px;
}
.mod__txt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}
.mods__hint {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Module dialog */
.modal {
  --c: var(--blue);
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 100px -24px rgba(14, 26, 58, 0.5);
}
.modal::backdrop {
  background: rgba(14, 26, 58, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal[open] {
  animation: modal-in 0.22s ease;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
body:has(.modal[open]) {
  overflow: hidden;
}
.modal__card {
  position: relative;
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink-2);
  cursor: pointer;
}
.modal__close:hover {
  background: var(--line);
}
.modal__head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 28px 64px 0 28px;
}
.modal__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  color: color-mix(in srgb, var(--c) 80%, #000);
}
.modal__icon svg {
  width: 26px;
  height: 26px;
}
.modal__count {
  color: var(--muted);
  margin-bottom: 4px;
}
.modal h3 {
  font-size: 26px;
  font-weight: 800;
}
.modal__body {
  padding: 20px 28px 28px;
}
.modal__lead {
  font-size: 16px;
  color: var(--ink-2);
}
.modal h4 {
  margin: 24px 0 12px;
  font: 600 12px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.modal .checks {
  margin: 0;
}
.modal__rel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal__rel .chip {
  font-family: inherit;
  cursor: pointer;
}
.modal__rel .chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.modal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  background: var(--tint);
  border-radius: 0 0 22px 22px;
}
.modal__nav {
  display: flex;
  gap: 8px;
}
.modal__nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 16px;
  cursor: pointer;
}
.modal__nav button:hover {
  border-color: #c9d0e4;
  color: var(--ink);
}

/* Foundations */
.found {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.found__art {
  height: 200px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  padding: 20px;
}
.found__art--1 {
  background: linear-gradient(160deg, #e6edff, #d3e0ff);
}
.found__art--2 {
  background: linear-gradient(160deg, #ffe3ec, #ffd0de);
}
.found__art--3 {
  background: linear-gradient(160deg, #dcf6ec, #c6efdf);
}
.found__item h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.found__item p {
  color: var(--muted);
  font-size: 15px;
}
.iso {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 220px;
}
.iso span {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px -10px rgba(31, 79, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.iso span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--blue);
}
.iso span:nth-child(2)::before {
  background: var(--pink);
}
.iso span:nth-child(3)::before {
  background: var(--sun);
}
.log {
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  max-width: 260px;
  font-size: 13px;
  box-shadow: 0 6px 18px -10px rgba(216, 41, 95, 0.5);
}
.log p {
  padding: 5px 0 5px 14px;
  border-left: 2px solid #ffc2d3;
  position: relative;
}
.log p::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}
.log .mono {
  color: var(--muted);
  margin-right: 6px;
}
.ids {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 240px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 6px 18px -10px rgba(15, 138, 100, 0.5);
}
.ids__mail {
  color: var(--muted);
  padding: 0 4px 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.ids span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.ids span:first-of-type {
  background: #eaf8f2;
}
.ids i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font: 700 10px/1 var(--font-body);
  font-style: normal;
  color: #fff;
  background: var(--green);
}
.ids span:nth-of-type(2) i {
  background: var(--sun);
  color: var(--ink);
}
.ids span:nth-of-type(3) i {
  background: var(--blue);
}
.ids small {
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink), var(--sun));
  opacity: 0.4;
}
.timeline li {
  position: relative;
}
.timeline__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  font: 800 17px/1 var(--font-head);
  margin-bottom: 20px;
  position: relative;
}
.timeline h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.timeline p {
  color: var(--muted);
  font-size: 15px;
}

/* CTA */
.cta {
  padding: 0 0 112px;
  background: linear-gradient(180deg, var(--tint) 50%, #fff 50%);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(31, 79, 255, 0.55), transparent 70%),
    var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 64px;
  overflow: hidden;
  max-width: 1132px;
}
.cta h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
}
.cta p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}
.cta__art {
  position: relative;
  height: 240px;
}
.cta__art .tile {
  mix-blend-mode: screen;
  opacity: 0.9;
}
.cta__art .tile--a {
  width: 140px;
  height: 140px;
  left: 10%;
  top: 0;
  background: linear-gradient(135deg, #ff8ab0, #c93dff);
}
.cta__art .tile--b {
  width: 160px;
  height: 160px;
  left: 40%;
  top: 30px;
  background: linear-gradient(135deg, #7cc4ff, #1f4fff);
}
.cta__art .tile--c {
  width: 120px;
  height: 120px;
  left: 20%;
  top: 110px;
  background: linear-gradient(135deg, #ffe07a, #42d6a4);
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  font-size: 14px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot__brand p {
  color: var(--muted);
  margin-top: 12px;
}
.foot h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 500;
}
.foot__grid a:not(.brand) {
  display: block;
  text-decoration: none;
  color: var(--ink-2);
  padding: 4px 0;
}
.foot__grid a:not(.brand):hover {
  color: var(--blue);
}
.foot__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot__bottom a {
  text-decoration: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mods {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .wrap {
    padding: 0 16px;
  }
  .nav__toggle {
    display: block;
  }
  .nav__menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(14, 26, 58, 0.2);
    display: none;
  }
  .nav.is-open .nav__menu {
    display: flex;
  }
  .nav__menu a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav__menu .btn {
    margin-top: 16px;
    justify-content: center;
  }
  .hero {
    padding: 56px 0 72px;
  }
  .hero__grid,
  .feature,
  .cta__inner {
    grid-template-columns: 1fr;
  }
  .hero__art {
    height: 400px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }
  .hero__art .tile--a {
    width: 170px;
    height: 170px;
    left: 4%;
  }
  .hero__art .tile--b {
    width: 190px;
    height: 190px;
    left: 34%;
  }
  .hero__art .tile--c {
    width: 150px;
    height: 150px;
    left: 14%;
  }
  .card-exp {
    width: 250px;
  }
  .section {
    padding: 80px 0;
  }
  .feature {
    gap: 32px;
    margin-top: 72px;
  }
  .feature--rev .feature__art {
    order: 0;
  }
  .art {
    min-height: 340px;
    padding: 24px;
  }
  .art--sky {
    padding: 0;
  }
  .found {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .timeline::before {
    display: none;
  }
  .cta__inner {
    padding: 40px 24px;
    border-radius: 22px;
  }
  .cta__art {
    display: none;
  }
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .modal__head {
    padding: 24px 56px 0 20px;
  }
  .modal__body {
    padding: 16px 20px 24px;
  }
  .modal__foot {
    padding: 14px 20px;
  }
  .hero__facts {
    gap: 20px;
  }
  .pillars,
  .timeline {
    grid-template-columns: 1fr;
  }
  .mods {
    grid-template-columns: 1fr 1fr;
  }
  .hero__art {
    height: 380px;
  }
  .card-exp {
    width: 230px;
  }
  .card-turno {
    right: 0;
  }
  .map__card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    min-width: 0;
  }
  .btn {
    padding: 13px 18px;
  }
  .cta .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}
