/* =========================================================
   CS Optix · Landing SiVIEW
   Tipografía: Satoshi (Fontshare)
   ========================================================= */

:root {
  /* Color */
  --navy-950: #041424;
  --navy-900: #06203A;
  --navy-800: #0B2D4F;
  --cyan: #2BD9E8;
  --cyan-soft: #B8F3F8;
  --teal: #0C9AA6;
  --teal-dark: #087C86;
  --ink: #0B2236;
  --text: #3E5164;
  --muted: #6C7E90;
  --line: #E1EBF2;
  --sky: #F2F9FC;
  --white: #FFFFFF;

  /* Tipo */
  --font: "Satoshi", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(2.4rem, 4.6vw, 3.9rem);
  --fs-h2: clamp(2rem, 3.4vw, 2.9rem);
  --fs-lead: clamp(1.05rem, 1.2vw, 1.15rem);

  /* Espaciado — más aire entre secciones */
  --section-y: clamp(96px, 11vw, 168px);
  --gap-xl: clamp(56px, 7vw, 104px);
  --gap-l: clamp(32px, 4vw, 56px);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-card: 0 1px 2px rgba(11, 45, 79, .04), 0 12px 32px -12px rgba(11, 45, 79, .12);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Tipografía reutilizable ---------- */
.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow--cyan { color: var(--cyan); }
.title { font-size: var(--fs-h2); line-height: 1.12; max-width: 16ch; margin-bottom: 24px; }
.lead { font-size: var(--fs-lead); line-height: 1.7; max-width: 54ch; }
.lead + .btn, .lead + .btn-group, .checklist + .btn-group { margin-top: 40px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 12px; border: 1.5px solid transparent;
  font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--cyan { background: var(--cyan); color: var(--navy-950); }
.btn--cyan:hover { background: #5FE6F1; }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); }
.btn--outline { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 22px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo .logo { height: 42px; width: auto; }
.logo--dark { display: none; }
.header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.header.is-scrolled .logo--light { display: none; }
.header.is-scrolled .logo--dark { display: block; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 32px; }
.nav__link {
  position: relative; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.82);
  padding: 6px 0; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav__link { color: var(--text); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--ink); }
.header.is-scrolled .nav__link::after { background: var(--teal); }
.nav__cta { min-height: 46px; border-radius: 999px; padding: 0 24px; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.header.is-scrolled .burger span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 600px at 85% 30%, rgba(43,217,232,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 70%);
  color: rgba(255,255,255,.78);
  padding: calc(140px + 4vw) 0 clamp(96px, 10vw, 150px);
}
.hero__glow {
  position: absolute; right: -10%; top: 50%; width: 900px; aspect-ratio: 1;
  transform: translateY(-50%);
  background: repeating-radial-gradient(circle at center, transparent 0 22px, rgba(43,217,232,.05) 23px 24px);
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero__title { color: var(--white); font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 28px; max-width: 15ch; }
.hero__title span { color: var(--cyan); }
.hero__text { font-size: var(--fs-lead); max-width: 46ch; margin-bottom: 44px; }
.hero__perks { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1); }
.hero__perks li { display: flex; align-items: center; gap: 14px; font-size: .88rem; line-height: 1.35; color: rgba(255,255,255,.85); }
.hero__perks .icon { width: 30px; height: 30px; color: var(--cyan); stroke-width: 1.5; }

/* Mockup tablets */
.hero__visual { position: relative; min-height: 460px; perspective: 1600px; }
.tablet {
  position: absolute; background: linear-gradient(145deg, #2a3442, #0d131b);
  border-radius: 30px; padding: 14px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12);
}
.tablet__screen { background: #F7FBFD; border-radius: 18px; height: 100%; overflow: hidden; color: var(--ink); }
.tablet--back { width: 72%; height: 300px; top: 0; left: 4%; transform: rotateY(-14deg) rotateX(6deg) rotateZ(-4deg); opacity: .55; }
.screen-faded { background: linear-gradient(180deg, #e9f3f7, #d4e6ee); }
.tablet--front { width: 86%; height: 400px; right: 0; top: 60px; transform: rotateY(-10deg) rotateX(4deg) rotateZ(-2deg); }

.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.app-logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: .95rem; letter-spacing: -.02em; }
.app-logo i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--teal); border-right-color: transparent; }
.app-tabs { display: flex; gap: 14px; font-size: .62rem; color: var(--muted); }
.app-tabs b { font-weight: 500; }
.app-tabs .on { color: var(--teal); font-weight: 700; }
.app-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; padding: 22px; height: calc(100% - 54px); }
.app-eye { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.eye-ring { border-radius: 50%; background: rgba(12,154,166,.08); padding: 22px; display: grid; place-items: center; }
.eye-ring .eye-ring { background: rgba(12,154,166,.14); padding: 18px; }
.eye-core {
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle, var(--navy-900) 30%, var(--teal) 32% 58%, #fff 60%);
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(12,154,166,.35);
}
.app-btn { display: inline-block; background: var(--teal); color: #fff; font-size: .62rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.app-side { display: flex; flex-direction: column; gap: 12px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: .7rem; }
.app-card small { color: var(--muted); font-size: .6rem; }
.app-card .line { font-size: .62rem; padding: 4px 0; border-top: 1px solid var(--line); color: var(--text); }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section--sky { background: var(--sky); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); align-items: center; }
.split--wide-visual { grid-template-columns: .95fr 1.05fr; }

.img-placeholder {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #DCEAF1, #C6DCE7);
  color: #6E8798; font-size: .8rem; font-weight: 500;
}
.img-placeholder--photo { aspect-ratio: 3 / 2; border-radius: var(--radius-l); }
.img-placeholder--tile { aspect-ratio: 1; border-radius: var(--radius-m); margin-bottom: 14px; }

/* Cards de beneficios */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: var(--gap-xl); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 40px 36px;
}
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky); color: var(--teal); margin-bottom: 28px;
}
.card__icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

/* Checklist */
.checklist { display: grid; gap: 14px; margin-top: 36px; }
.checklist li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Mockup refracción */
.siview__visual { position: relative; }
.tablet--flat { position: relative; width: 100%; aspect-ratio: 4 / 3; transform: none; }
.refr { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; padding: 18px; height: calc(100% - 54px); }
.refr__main { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.refr__label { font-size: .7rem; font-weight: 700; color: var(--ink); }
.refr__toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--sky); border-radius: 999px; padding: 3px; font-size: .62rem; text-align: center; }
.refr__toggle b { padding: 6px; border-radius: 999px; font-weight: 500; color: var(--muted); }
.refr__toggle .on { background: var(--teal); color: #fff; font-weight: 700; }
.refr__table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.refr__table small { display: block; font-size: .58rem; color: var(--muted); margin-bottom: 8px; }
.refr__table p { display: flex; gap: 14px; font-size: .72rem; color: var(--ink); padding: 5px 0; border-top: 1px solid var(--line); }
.refr__table i { font-style: normal; color: var(--muted); width: 10px; }
.refr__foot { display: flex; align-items: center; justify-content: space-between; font-size: .6rem; color: var(--teal); font-weight: 700; }
.refr__side { display: flex; flex-direction: column; gap: 14px; }
.iris { flex: 1; border-radius: 14px; background: #E6EEF2; display: grid; place-items: center; }
.iris::after {
  content: ""; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #0d1218 0 26%, #3f6f7c 28% 44%, #7fa7b1 52%, #c9dbe0 66%, #f4f8f9 70%);
  box-shadow: 0 0 0 6px rgba(255,255,255,.7);
}
.topo { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.topo small { font-size: .58rem; color: var(--ink); font-weight: 700; }
.topo__map {
  flex: 1; border-radius: 50%; aspect-ratio: 1; max-height: 100%; margin: 0 auto;
  background: conic-gradient(from 200deg, #2f6fd6, #34c3c9, #9be15d, #f5d33f, #f0883e, #2f6fd6);
  mask-image: radial-gradient(circle, #000 64%, transparent 66%);
  -webkit-mask-image: radial-gradient(circle, #000 64%, transparent 66%);
  filter: saturate(.85);
}

/* Franja de 4 características */
.features-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: var(--gap-xl); padding-top: var(--gap-l); border-top: 1px solid #D9E8EF;
}
.features-4 li { display: flex; align-items: center; gap: 16px; font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.feat-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-card); }
.feat-icon .icon { width: 24px; height: 24px; }

/* Integraciones */
.integr { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--gap-xl); align-items: center; }
.instruments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.instruments li { font-size: .82rem; line-height: 1.35; overflow-wrap: anywhere; font-weight: 500; color: var(--ink); text-align: center; }

/* Cifras */
.stats {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  padding-block: clamp(80px, 9vw, 128px);
}
.stats__glow {
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 10% 100%, rgba(43,217,232,.18), transparent 70%),
              radial-gradient(600px 300px at 90% 0%, rgba(43,217,232,.14), transparent 70%);
}
.stats__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__list li { text-align: center; padding: 8px 24px; }
.stats__list li + li { border-left: 1px solid rgba(255,255,255,.12); }
.stats__list strong {
  display: block; color: var(--cyan); font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.stats__list span { display: block; color: rgba(255,255,255,.78); font-size: .95rem; max-width: 22ch; margin-inline: auto; }

/* Nosotros */
.about-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius-l); padding: clamp(40px, 5vw, 64px);
  color: rgba(255,255,255,.8);
  min-height: 440px;
}
.about-card__map {
  position: absolute; right: -40px; bottom: -40px; width: 70%; aspect-ratio: 1;
  background-image: radial-gradient(rgba(43,217,232,.8) 1.4px, transparent 1.9px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 45% 55% at 55% 50%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 45% 55% at 55% 50%, #000 30%, transparent 72%);
  opacity: .9;
}
.about-card > *:not(.about-card__map) { position: relative; }
.about-card__logo { width: 200px; height: auto; }
.about-card__tag { margin: 14px 0 44px; font-size: .95rem; }
.about-card__list { display: grid; gap: 20px; }
.about-card__list li { display: flex; align-items: center; gap: 16px; color: var(--white); font-weight: 500; }
.about-card__list span { width: 40px; height: 40px; border-radius: 50%; background: rgba(43,217,232,.14); color: var(--cyan); display: grid; place-items: center; }
.about-card__list .icon { width: 18px; height: 18px; }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gap-xl); align-items: start; }
.contact__ways { display: grid; gap: 16px; margin-top: 44px; max-width: 380px; }
.way {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  transition: border-color .25s;
}
.way:hover { border-color: var(--teal); }
.way__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--teal); display: grid; place-items: center; }
.way strong { display: block; font-size: .95rem; }
.way small { color: var(--muted); font-size: .88rem; }

.form {
  background: var(--white); border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-bottom: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--sky); border: 1.5px solid transparent; border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #93A3B1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select:invalid { color: #93A3B1; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field__error { display: none; color: #C2413A; font-size: .8rem; }
.field.has-error input, .field.has-error select { border-color: #E3756E; }
.field.has-error .field__error { display: block; }
.hp { position: absolute; left: -9999px; }
.form__status:empty { display: none; }
.form__status { margin-top: 16px; font-size: .92rem; text-align: center; min-height: 1.4em; }
.form__status.is-ok { color: var(--teal-dark); font-weight: 700; }
.form__status.is-error { color: #C2413A; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--gap-xl); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: none; border: 0; padding: 28px 4px; text-align: left; cursor: pointer;
  font: inherit; font-size: 1.1rem; font-weight: 700; color: var(--ink);
}
.acc__plus { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); flex-shrink: 0; transition: background .25s; }
.acc__plus::before, .acc__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--teal);
  transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__plus { background: var(--teal); }
.acc__btn[aria-expanded="true"] .acc__plus::before,
.acc__btn[aria-expanded="true"] .acc__plus::after { background: var(--white); }
.acc__btn[aria-expanded="true"] .acc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 4px 28px; max-width: 60ch; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }

/* Footer */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: clamp(80px, 8vw, 112px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .8fr; gap: 48px; padding-bottom: 72px; }
.footer__brand img { width: 190px; height: auto; margin-bottom: 24px; }
.footer__brand p { max-width: 28ch; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 22px; }
.footer ul { display: grid; gap: 12px; font-size: .92rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--cyan); }
.social { display: flex; gap: 12px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.social a:hover { border-color: var(--cyan); }
.social .icon { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: rgba(255,255,255,.5);
}

/* ---------- Carga del hero (único momento animado) ---------- */
.hero__content > *, .hero__visual { animation: rise .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4) { animation-delay: .24s; }
.hero__content > *:nth-child(5) { animation-delay: .32s; }
.hero__visual { animation-delay: .2s; animation-duration: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { 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: 1080px) {
  .nav__list { gap: 22px; }
  .nav { gap: 24px; }
  .integr { grid-template-columns: 1fr; }
  .features-4 { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 960px) {
  .burger { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 40px;
    background: var(--navy-950);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__link, .header.is-scrolled .nav__link { color: rgba(255,255,255,.85); font-size: 1.3rem; }
  .header.menu-open .burger span { background: var(--white); }
  .header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .burger span:nth-child(2) { opacity: 0; }
  .header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__grid, .split, .split--wide-visual, .contact, .faq { grid-template-columns: 1fr; }
  .hero__title { max-width: 16ch; }
  .hero__visual { min-height: 400px; max-width: 620px; }
  .stats__list { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .stats__list li:nth-child(3) { border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .title { max-width: 20ch; }
}

@media (max-width: 640px) {
  .cards-3 { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 32px 28px; }
  .features-4 { grid-template-columns: 1fr; }
  .instruments { grid-template-columns: repeat(2, 1fr); }
  .form__grid { grid-template-columns: 1fr; }
  .btn-group .btn { flex: 1 1 100%; }
  .hero__perks { gap: 24px; margin-top: 48px; }
  .hero__visual { min-height: 340px; }
  .tablet { padding: 8px; border-radius: 20px; }
  .tablet__screen { border-radius: 13px; }
  .tablet--back { height: 190px; }
  .tablet--front { height: 300px; top: 30px; width: 94%; }
  .app-eye { gap: 16px; }
  .eye-core { width: 34px; height: 34px; }
  .app-tabs { display: none; }
  .app-body { padding: 14px; gap: 12px; }
  .eye-ring { padding: 14px; } .eye-ring .eye-ring { padding: 12px; }
  .refr { grid-template-columns: 1fr; }
  .refr__side { flex-direction: row; min-height: 120px; }
  .tablet--flat { aspect-ratio: auto; }
  .stats__list { grid-template-columns: 1fr; }
  .stats__list li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .acc__btn { font-size: 1rem; padding: 24px 0; }
}
