:root {
  --navy:      #0f172a;
  --navy-800:  #16203a;
  --navy-700:  #1e293b;
  --accent:    #0369a1;
  --accent-2:  #38bdf8;
  --accent-3:  #6366f1;
  --ink:       #0b1220;
  --body:      #475467;
  --muted:     #667085;
  --bg:        #ffffff;
  --bg-alt:    #f6f8fb;
  --line:      #e6eaf1;
  --line-soft: rgba(255,255,255,.14);
  --white:     #ffffff;
  --radius:    20px;
  --radius-sm: 14px;
  --maxw:      1180px;
  --shadow:    0 24px 60px -20px rgba(15,23,42,.22);
  --shadow-sm: 0 10px 30px -12px rgba(15,23,42,.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3 { font-family: 'Manrope','IBM Plex Sans',sans-serif; color: var(--ink); letter-spacing: -.02em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
.ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  background: var(--navy); color: var(--white);
  font-family: 'Manrope',sans-serif; font-weight: 700; font-size: 15px;
  border: 1.5px solid var(--navy); border-radius: 12px; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(15,23,42,.45); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.btn--lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(15,23,42,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: linear-gradient(140deg, var(--navy), var(--navy-700));
  color: var(--white); font-family:'Manrope'; font-weight: 800; font-size: 20px;
  border-radius: 13px; letter-spacing: -.5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.logo__text { font-family:'Manrope'; font-weight: 800; font-size: 14.5px; line-height: 1.1; color: var(--navy); text-transform: uppercase; letter-spacing: .6px; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; font-weight: 600; font-size: 15px; color: var(--ink); opacity: .82; transition: opacity .2s; }
.nav a::after { content:''; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--accent); transition: width .25s; border-radius:2px; }
.nav a:hover { opacity: 1; } .nav a:hover::after { width: 100%; }
.header .btn { margin-left: 8px; }
.burger { display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.burger span { width:24px; height:2px; background: var(--navy); border-radius:2px; transition:.25s; }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); padding: 96px 0 110px; overflow: hidden;
  background: linear-gradient(160deg, #0f172a 0%, #0b1220 100%);
}
.hero__aurora { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.hero .blob--1 { width: 540px; height: 540px; background: radial-gradient(circle,#0369a1,transparent 68%); top: -180px; right: -60px; animation: float1 18s ease-in-out infinite; }
.hero .blob--2 { width: 460px; height: 460px; background: radial-gradient(circle,#0369a1,transparent 68%); bottom: -200px; left: -120px; opacity: .3; animation: float2 22s ease-in-out infinite; }
.hero .blob--3 { display: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 0%, transparent 80%);
}
.grid-overlay::after {
  content:''; position:absolute; inset:0;
  background: radial-gradient(900px 500px at 28% 42%, rgba(11,18,32,.55), transparent 70%);
}
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-30px,30px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(40px,-30px) scale(1.1);} }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; background: rgba(255,255,255,.08);
  border: 1px solid var(--line-soft); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.92); margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2s infinite; }
@keyframes ping { 0%{ box-shadow:0 0 0 0 rgba(52,211,153,.6);} 70%{ box-shadow:0 0 0 9px rgba(52,211,153,0);} 100%{ box-shadow:0 0 0 0 rgba(52,211,153,0);} }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; font-weight: 800; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 .grad { background: linear-gradient(100deg,#7dd3fc,#38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 26px 0 36px; font-size: 18.5px; max-width: 520px; color: rgba(255,255,255,.78); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: var(--white); border-color: var(--line-soft); background: rgba(255,255,255,.04); }
.hero__actions .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.hero__stats { display: flex; gap: 38px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.stat b { display: block; font-family:'Manrope'; font-size: 34px; font-weight: 800; color: var(--white); line-height: 1; }
.stat span { font-size: 13.5px; color: rgba(255,255,255,.6); }

/* hero visual */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.glass-card {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.1);
  padding: 34px;
}
.glass-card--main { animation: cardIn 1s cubic-bezier(.2,.7,.3,1) both; }
@keyframes cardIn { from{ opacity:0; transform: translateY(30px) rotateX(8deg);} to{ opacity:1; transform:none;} }
.calc { display: grid; grid-template-columns: repeat(2, 92px); grid-auto-rows: 92px; gap: 16px; position: relative; }
.calc__key {
  border: 1.5px solid var(--line-soft); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 600; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.03); transition: .25s;
}
.calc__key:hover { background: rgba(255,255,255,.1); transform: scale(1.05); color:#fff; }
.calc__key--eq { background: linear-gradient(140deg,var(--accent),var(--accent-2)); border-color: transparent; color:#fff; }
.calc__brand {
  display: flex; align-items: center; justify-content: center;
  font-family:'Manrope'; font-size: 38px; font-weight: 800; letter-spacing: -2px; color: var(--white);
  background: linear-gradient(140deg,var(--navy),var(--navy-700));
  border-radius: 18px; border: 1px solid var(--line-soft);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.glass-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: rgba(255,255,255,.1); border: 1px solid var(--line-soft);
  border-radius: 14px; font-size: 14px; font-weight: 600; color: #fff; backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.6);
}
.glass-chip .ico { color: #34d399; }
.chip--1 { top: 18px; right: 0; animation: floatChip 5s ease-in-out infinite; }
.chip--2 { bottom: 24px; left: -6px; animation: floatChip 6s ease-in-out infinite .8s; }
.chip--2 .ico { color: #7dd3fc; }
@keyframes floatChip { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-800); color: rgba(255,255,255,.55); padding: 16px 0; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.05); }
.marquee__track { display: flex; width: max-content; animation: scroll 32s linear infinite; font-family:'Manrope'; font-weight: 700; font-size: 16px; letter-spacing: .3px; }
.marquee__group { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; }
.marquee__track i { color: var(--accent-2); font-style: normal; }
.marquee__track span { color: rgba(255,255,255,.7); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 56px; }
.eyebrow { display: inline-block; font-family:'Manrope'; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section__lead { max-width: 580px; margin: 16px auto 0; font-size: 17px; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid .card:first-child { grid-column: span 2; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .25s;
  overflow: hidden;
}
.card::before { content:''; position:absolute; inset:0; background: linear-gradient(140deg,rgba(3,105,161,.06),transparent 50%); opacity:0; transition:opacity .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon { width: 54px; height: 54px; border-radius: 15px; display:flex; align-items:center; justify-content:center; background: linear-gradient(140deg,var(--navy),var(--navy-700)); margin-bottom: 18px; box-shadow: var(--shadow-sm); transition: transform .25s; }
.card:hover .card__icon { transform: scale(1.08) rotate(-3deg); }
.card__icon svg { width: 26px; height: 26px; fill: #fff; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { position: relative; background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); transition: transform .25s, box-shadow .3s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__num { font-family:'Manrope'; font-size: 40px; font-weight: 800; background: linear-gradient(140deg,var(--accent),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; line-height: 1; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.cta__aurora { position:absolute; inset:0; }
.cta .blob--1 { width: 460px; height:460px; background: radial-gradient(circle,#0369a1,transparent 70%); top:-180px; left:10%; opacity:.4; filter: blur(80px); }
.cta .blob--2 { width: 420px; height:420px; background: radial-gradient(circle,#0369a1,transparent 70%); bottom:-200px; right:8%; opacity:.3; filter: blur(80px); }
.cta__inner { position: relative; z-index: 2; text-align: center; padding: 92px 24px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; color: #fff; }
.cta p { margin: 18px 0 34px; font-size: 18px; color: rgba(255,255,255,.78); }
.cta__hours { display: block; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.55); letter-spacing: .5px; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; gap: 6px; transition: border-color .25s, transform .25s, box-shadow .3s; }
a.contact:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow); }
.contact--wide { grid-column: span 2; }
.contact__ico { width: 44px; height: 44px; border-radius: 12px; display:flex; align-items:center; justify-content:center; background: var(--bg-alt); margin-bottom: 8px; }
.contact__ico svg { width: 22px; height: 22px; fill: var(--accent); }
.contact__label { font-family:'Manrope'; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.contact__value { font-family:'Manrope'; font-size: 18px; font-weight: 700; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 52px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display:block; color:#fff; font-family:'Manrope'; font-size: 16px; }
.footer__brand span { font-size: 14px; }
.footer__legal { text-align: right; font-size: 14px; line-height: 1.9; }
.footer__legal a { color: var(--accent-2); font-weight: 600; }
.footer__legal a:hover { text-decoration: underline; }

/* ---------- FAB ---------- */
.fab { position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; background: var(--navy); color:#fff; border-radius: 50%; display:none; align-items:center; justify-content:center; box-shadow: 0 14px 30px -8px rgba(15,23,42,.6); z-index: 90; animation: pulse 2.2s infinite; }
.fab svg { width: 24px; height: 24px; fill:#fff; }
@keyframes pulse { 0%{ box-shadow:0 14px 30px -8px rgba(15,23,42,.6),0 0 0 0 rgba(3,105,161,.5);} 70%{ box-shadow:0 14px 30px -8px rgba(15,23,42,.6),0 0 0 16px rgba(3,105,161,0);} 100%{ box-shadow:0 14px 30px -8px rgba(15,23,42,.6),0 0 0 0 rgba(3,105,161,0);} }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid, .features, .contacts { grid-template-columns: repeat(2, 1fr); }
  .grid .card:first-child { grid-column: span 2; }
  .contact--wide { grid-column: span 2; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; min-height: auto; }
  .chip--1 { right: 6%; } .chip--2 { left: 6%; }
}
@media (max-width: 760px) {
  .nav, .header .btn--sm { display: none; }
  .burger { display: flex; }
  .nav.open { display:flex; position:absolute; top:76px; left:0; right:0; flex-direction:column; gap:0; background:var(--white); border-bottom:1px solid var(--line); padding: 8px 24px 16px; box-shadow: var(--shadow-sm); }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--bg-alt); }
  .nav.open a::after { display:none; }
  .fab { display: flex; }
  .footer__inner { flex-direction: column; } .footer__legal { text-align: left; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .grid, .features, .contacts { grid-template-columns: 1fr; }
  .grid .card:first-child, .contact--wide { grid-column: span 1; }
  .section { padding: 64px 0; } .hero { padding: 60px 0 72px; }
  .calc { grid-template-columns: repeat(2, 76px); grid-auto-rows: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
