:root{
  --bg: #eef5ff;
  --ink: #0b1220;
  --muted:#5b6b84;

  --blue-900:#071b3b;
  --blue-800:#0b2c61;
  --blue-700:#173a78;

  --cyan:#1fb6ff;
  --green:#2fb36d;

  --glass: rgba(255,255,255,.10);
  --glass2: rgba(255,255,255,.14);
  --stroke: rgba(255,255,255,.18);

  --card:#ffffff;
  --cardStroke: rgba(17,38,74,.10);

  --shadow: 0 22px 60px rgba(7,27,59,.18);
  --shadow2: 0 18px 50px rgba(7,27,59,.12);

  --r: 18px;
  --max: 1180px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--ink);
  background: var(--bg);
}

/* containers */
.container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* ===== HEADER ===== */
.topbar{
  position: sticky; top:0; z-index: 50;
  background: rgba(7,27,59,.60);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav{
  height: 74px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  color:#fff;
}
.brand-mark{
  width:44px; height:44px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.brand-mark img{ width:30px; height:30px; object-fit:contain; }
.brand-text{
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .2px;
  font-size: 16px;
}

/* menu */
.menu{
  display:flex; align-items:center; gap: 16px;
}
.menu a{
  color: rgba(255,255,255,.80);
  text-decoration:none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
}
.menu a:hover{
  background: rgba(255,255,255,.10);
  color:#fff;
}
.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration:none;
}
.btn-ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  color:#fff !important;
}
.btn-primary{
  background: linear-gradient(135deg, var(--cyan), rgba(31,182,255,.65));
  border-color: rgba(255,255,255,.08);
  color: #062247 !important;
  box-shadow: 0 16px 50px rgba(31,182,255,.22);
}
.btn-lg{ padding: 14px 20px; font-size: 15px; }

@media (max-width: 920px){
  .menu a:nth-child(1),
  .menu a:nth-child(2),
  .menu a:nth-child(3){ display:none; }
}

/* ===== HERO (как в примере) ===== */
.hero{
  position: relative;
  padding: 46px 0 18px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 18% 8%, rgba(31,182,255,.30), transparent 60%),
    radial-gradient(900px 520px at 82% 12%, rgba(47,179,109,.18), transparent 62%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.hero-bg{
  position:absolute; inset: -35%;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.10) 0px,
      rgba(255,255,255,.10) 1px,
      transparent 1px,
      transparent 26px);
  transform: rotate(-10deg);
  opacity: .35;
  pointer-events:none;
  mask-image: radial-gradient(circle at 40% 30%, #000 0 56%, transparent 80%);
}

.hero-inner{
  position: relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
}

/* left */
.hero-left{ color:#fff; }
.pill-row{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-bottom: 14px;
}
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.86);
  font-size: 13px;
}
.hero h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  text-shadow: 0 14px 40px rgba(0,0,0,.40);
}
.lead{
  margin: 0;
  max-width: 58ch;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.6;
}
.hero-actions{ margin-top: 18px; }

/* right logo panel like example */
.hero-right{
  display:flex;
  justify-content:flex-end;
}
.logo-panel{
  width: min(360px, 38vw);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  overflow:hidden;
}
.logo-panel::before{
  content:"";
  position:absolute; inset:-60%;
  background:
    radial-gradient(circle at 40% 30%, rgba(31,182,255,.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(47,179,109,.22), transparent 58%);
  transform: rotate(12deg);
  opacity:.9;
}
.logo-big{
  position: relative;
  width: 72%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.25));
  opacity: .92;
}
.logo-sf{
  position:absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);

  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 64px;
  letter-spacing: 6px;

  color: #3cb7b4;   /* чистый брендовый оттенок */

  text-shadow: none;
  opacity: 1;
}
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
      0 6px 18px rgba(0,0,0,.45),
      0 0 18px rgba(31,191,117,.35);

  opacity: 1;   /* убрали прозрачность */
}

@media (max-width: 920px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-right{ justify-content:flex-start; margin-top: 14px; }
  .logo-panel{ width: min(320px, 80vw); }
}

/* ===== cards row under hero ===== */
.cards-row{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 22px;
}
.mini-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,38,74,.10);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 14px;
}
.mini-head{
  display:flex; gap:12px; align-items:flex-start;
}
.mini-icon{
  width: 38px; height: 38px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(31,182,255,.10);
  border: 1px solid rgba(31,182,255,.22);
  font-size: 18px;
}
.mini-card h3{
  margin: 2px 0 6px;
  font-size: 14px;
  color: #12305f;
}
.mini-card p{
  margin:0;
  font-size: 12.5px;
  color: rgba(11,18,32,.68);
  line-height: 1.45;
}
.mini-link{
  display:inline-block;
  margin-top: 10px;
  font-weight: 800;
  font-size: 13px;
  color: #1b4ed8;
  text-decoration:none;
}
.mini-link:hover{ text-decoration: underline; }

@media (max-width: 980px){
  .cards-row{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .cards-row{ grid-template-columns: 1fr; }
}

/* ===== light section ===== */
.light{
  padding: 36px 0 44px;
  background:
    radial-gradient(700px 420px at 20% 0%, rgba(31,182,255,.10), transparent 60%),
    radial-gradient(700px 420px at 80% 15%, rgba(47,179,109,.08), transparent 62%),
    #f2f7ff;
}
.two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}
.light h2{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
  color:#0b1c39;
}
.muted{
  color: rgba(11,18,32,.70);
  line-height: 1.7;
  margin: 0 0 14px;
}
.chips{
  display:flex; gap:10px; flex-wrap:wrap;
}
.chip{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(17,38,74,.10);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color:#12305f;
}

.info-box{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,38,74,.10);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 16px;
}
.info-box h3{
  margin: 0 0 10px;
  color:#12305f;
}
.info-box ul{
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(11,18,32,.72);
  line-height: 1.7;
}
.info-box .btn{ margin-top: 4px; }

@media (max-width: 920px){
  .two-col{ grid-template-columns: 1fr; }
}

/* ===== footer ===== */
.footer{
  border-top: 1px solid rgba(17,38,74,.10);
  background: #edf5ff;
  padding: 18px 0 24px;
}
.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  color: rgba(11,18,32,.70);
  font-size: 13px;
}
.footer-links a{
  margin-left: 12px;
  color:#1b4ed8;
  text-decoration:none;
  font-weight: 800;
}
.footer-links a:hover{ text-decoration: underline; }
/* ===== SUPER INTRO ===== */
body.has-intro{ overflow: hidden; }

/* overlay */
.intro{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 520px at 18% 8%, rgba(31,182,255,.28), transparent 60%),
    radial-gradient(900px 520px at 82% 12%, rgba(47,179,109,.16), transparent 62%),
    linear-gradient(135deg, #071b3b, #173a78);
}

/* fade-out */
.intro.is-out{
  animation: introOut .6s ease forwards;
}
@keyframes introOut{
  to{ opacity:0; visibility:hidden; }
}

/* particles */
.intro-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:.75;
}

/* center block */
.intro-center{
  position: relative;
  width: min(520px, 92vw);
  height: min(520px, 92vw);
  display:grid;
  place-items:center;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.30));
}

/* ring glow */
.intro-ring{
  position:absolute;
  inset: 14%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 0 0 10px rgba(31,182,255,.10),
    0 0 90px rgba(31,182,255,.20);
  opacity: 0;
  transform: scale(.92);
  animation: ringIn .9s ease-out forwards .12s, ringSpin 4s linear infinite .9s;
}
@keyframes ringIn{ to{ opacity:.9; transform: scale(1); } }
@keyframes ringSpin{ to{ transform: rotate(360deg); } }

/* lines draw */
.intro-lines{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .95;
}
.intro-lines path{
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.25));
  animation: draw 1.08s cubic-bezier(.2,.9,.2,1) forwards, pulse 1.9s ease-in-out infinite 1.25s;
}
.intro-lines .p1{ stroke: rgba(31,182,255,.70); }
.intro-lines .p2{ stroke: rgba(47,179,109,.55); animation-delay: .10s, 1.35s; }
.intro-lines .p3{ stroke: rgba(255,255,255,.18); animation-delay: .18s, 1.43s; }
.intro-lines .p4{ stroke: rgba(31,182,255,.26); animation-delay: .26s, 1.51s; }

@keyframes draw{ to{ stroke-dashoffset: 0; } }
@keyframes pulse{ 0%,100%{ opacity:.65; } 50%{ opacity:1; } }

/* logo pop */
.intro-logo{
  width: min(240px, 44vw);
  height: auto;
  opacity: 0;
  transform: scale(.72) rotate(-7deg);
  animation: logoPop .85s cubic-bezier(.2,.9,.2,1) forwards .45s,
             logoFloat 2.7s ease-in-out infinite 1.35s;
}
@keyframes logoPop{
  0%{ opacity:0; transform: scale(.72) rotate(-7deg); }
  70%{ opacity:1; transform: scale(1.06) rotate(2deg); }
  100%{ opacity:1; transform: scale(1) rotate(0deg); }
}
@keyframes logoFloat{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(-8px) scale(1.01); }
}

/* caption */
.intro-caption{
  position:absolute;
  bottom: 18%;
  left: 50%;
  transform: translate(-50%, 10px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 13px;
  opacity:0;
  animation: capIn .6s ease-out forwards .75s;
}
@keyframes capIn{ to{ opacity:1; transform: translate(-50%, 0); } }

/* Hide header logo during intro */
body.has-intro .brand-mark{ visibility: hidden; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .intro *{ animation: none !important; }
  .intro{ background: linear-gradient(135deg, #071b3b, #173a78); }
}
/* ===== Inner pages hero (same style as home) ===== */
.page-hero{
  position: relative;
  padding: 46px 0 26px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 18% 8%, rgba(31,182,255,.30), transparent 60%),
    radial-gradient(900px 520px at 82% 12%, rgba(47,179,109,.18), transparent 62%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-bottom: 1px solid rgba(255,255,255,.10);
  color:#fff;
}
.page-hero::before{
  content:"";
  position:absolute; inset:-35%;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.10) 0px,
      rgba(255,255,255,.10) 1px,
      transparent 1px,
      transparent 26px);
  transform: rotate(-10deg);
  opacity: .30;
  pointer-events:none;
  mask-image: radial-gradient(circle at 40% 30%, #000 0 56%, transparent 80%);
}
.page-hero .container{ position:relative; }
.page-hero h1{
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  text-shadow: 0 14px 40px rgba(0,0,0,.40);
}
.page-hero p{
  margin: 0;
  color: rgba(255,255,255,.82);
  max-width: 70ch;
  line-height: 1.6;
}
.page-hero .crumbs{
  display:inline-flex;
  gap:8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.86);
  font-size: 13px;
  margin-bottom: 12px;
}

/* make inner content start closer like screenshot */
.light{ padding-top: 26px; }

/* ===== Contact block ===== */
.contact-card{
  margin-top: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,38,74,.10);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 18px;
}

.contact-item{
  display:flex;
  gap:14px;
  align-items:center;
  padding:12px 0;
  border-bottom: 1px solid rgba(17,38,74,.06);
}
.contact-item:last-child{
  border-bottom:none;
}

.contact-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  background: rgba(31,182,255,.12);
  border:1px solid rgba(31,182,255,.25);
}

.contact-label{
  font-size:12px;
  color: rgba(11,18,32,.60);
  margin-bottom:4px;
}

.contact-link{
  font-weight:800;
  font-size:16px;
  color:#12305f;
  text-decoration:none;
}
.contact-link:hover{
  color:#1fb6ff;
}
