:root{
  --blue:#4d6599;
  --blue-dark:#233f78;
  --blue-soft:#eef4fb;
  --beige:#f2eee8;
  --cream:#fbfaf7;
  --text:#1f2430;
  --muted:#6d7480;
  --border:#d9dce3;
  --shadow:0 18px 46px rgba(35,63,120,.13);
  --radius:18px;
  --radius-lg:28px;
  --radius-md:16px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--text);font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.58}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 48px));margin:0 auto}.narrow{width:min(720px,calc(100% - 48px))}.center{text-align:center}.section-white{background:#fff}.section-light{background:linear-gradient(180deg,#f6f2eb 0%,#fff 100%)}.section-blue-soft{background:#f1f4f8}.eyebrow{margin:0 0 10px;color:var(--blue);font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}h1,h2,h3{font-family:Manrope,Arial,sans-serif;color:var(--blue-dark);line-height:1.08;margin:0}h1{font-size:clamp(34px,4.6vw,64px);max-width:820px}h2{font-size:clamp(28px,3vw,42px)}h3{font-size:22px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:13px 24px;border-radius:14px;font-weight:700;font-size:14px;transition:.2s;border:1px solid transparent}.btn-primary{background:var(--blue-dark);color:#fff;box-shadow:0 10px 24px rgba(35,63,120,.18)}.btn-primary:hover{background:#172f60;transform:translateY(-1px)}.btn-ghost{border-color:var(--blue-dark);color:var(--blue-dark);background:transparent}.btn-ghost:hover{background:#fff}.site-header{height:78px;background:var(--beige);border-top:1px solid #d8d3cd;border-bottom:1px solid #d8d3cd;display:grid;grid-template-columns:220px 1fr auto;align-items:center;position:sticky;top:0;z-index:1000}.header-logo{height:78px;background:var(--blue);display:flex;align-items:center;justify-content:center;box-shadow:inset -1px 0 rgba(0,0,0,.08)}.header-logo__plate{width:96px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:18px}
.header-logo__plate img{width:88px;height:68px;object-fit:contain}.main-nav{display:flex;align-items:center;justify-content:center;gap:46px;height:100%;font-size:18px;font-weight:500}.main-nav a{height:100%;display:flex;align-items:center;position:relative;white-space:nowrap}.main-nav a.is-active,.main-nav a:hover{color:var(--blue-dark)}.main-nav a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:9px;height:2px;background:var(--blue-dark);border-radius:999px}.header-phone{margin-right:7vw;padding-left:44px;border-left:1px solid #cdc8c0;font-weight:800;color:var(--blue-dark);font-size:22px;white-space:nowrap}.nav-toggle{display:none}.hero{padding:74px 0 72px}.hero__grid{display:grid;grid-template-columns:1.06fr .94fr;gap:60px;align-items:center}.hero__lead{font-size:20px;color:#414956;margin:24px 0 0;max-width:660px}.hero__actions{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap}.hero__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:44px;max-width:700px}.hero__facts div{background:#fff;border:1px solid var(--border);padding:19px 18px;border-radius:20px;box-shadow:0 10px 28px rgba(35,63,120,.06)}.hero__facts strong{display:block;color:var(--blue-dark);font-size:24px}.hero__facts span{color:var(--muted);font-size:13px}.hero__visual{min-height:440px;position:relative}.hero-card--note{position:absolute;left:0;top:44px;width:315px;background:#fff;padding:28px;border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow);z-index:2}.hero-card--note span{display:block;color:var(--blue-dark);font-weight:800;margin-bottom:12px}.hero-card--note p{margin:0;color:var(--muted);font-size:14px}.hero-person{position:absolute;right:0;bottom:0;width:430px;height:360px;background:linear-gradient(135deg,#f4f0e9,#fff);border:1px solid var(--border);border-radius:28px;box-shadow:var(--shadow);display:flex;align-items:end;justify-content:center;overflow:hidden}.person-photo{width:260px;height:290px;background:linear-gradient(135deg,#dcdfe6,#f6f6f7);border-radius:140px 140px 24px 24px;display:flex;align-items:center;justify-content:center;text-align:center;color:#7c8493;font-weight:700;letter-spacing:.04em}.person-mark{position:absolute;right:-44px;top:-20px;width:220px;opacity:.08}.intro{padding:58px 0 20px}.intro p,.section-head p{color:var(--muted);margin:16px auto 0;max-width:760px}.services{padding:54px 0 70px}.section-head{margin-bottom:34px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-card{background:#fff;border:1px solid #cfd4df;border-radius:20px;box-shadow:0 8px 20px rgba(23,35,60,.10);padding:28px 26px;min-height:320px;display:flex;flex-direction:column}.service-card .icon{width:42px;height:42px;border:1px solid #b7c4d8;color:var(--blue-dark);display:flex;align-items:center;justify-content:center;border-radius:12px;margin-bottom:18px;font-size:22px}.service-card h3{font-size:24px;margin-bottom:12px}.service-card ul{margin:0 0 22px;padding-left:18px;color:#4e5662;font-size:14px}.service-card a{margin-top:auto;background:var(--blue-dark);color:#fff;align-self:flex-start;border-radius:12px;font-size:12px;font-weight:700;padding:10px 14px}
.service-card,.consult-card,.business-card,.review-grid article,.contact-info,.doc-preview,.map-box,.video-frame{transition:transform .22s ease,box-shadow .22s ease}
.service-card:hover,.review-grid article:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(23,35,60,.12)}.mini-form{padding:30px 0 70px}.mini-form h2{font-size:28px}.quick-form{display:grid;gap:10px;width:min(360px,100%);margin:20px auto 0}.quick-form input,.consult-form input,.consult-form textarea{width:100%;border:1px solid #cfd5df;background:#fff;border-radius:12px;min-height:44px;padding:12px 14px;font:inherit}.form-note{font-size:12px;color:var(--muted);margin-top:10px}.advantages{padding:70px 0}.adv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 40px}.adv-grid div{display:grid;grid-template-columns:34px 1fr;gap:6px 14px}.adv-grid span{grid-row:1/3;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}.adv-grid h3{font-family:Manrope,Arial,sans-serif;font-size:17px;color:var(--blue-dark);line-height:1.25}.adv-grid p{grid-column:2;color:var(--muted);font-size:14px;margin:0}.consult-card-section{padding:0 0 70px}.consult-card{width:min(760px,100%);margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:26px;box-shadow:var(--shadow);padding:34px;display:grid;grid-template-columns:.9fr 1fr;gap:34px}.consult-card p{color:var(--muted)}.consult-form{display:grid;gap:12px}.consult-form textarea{min-height:96px;resize:vertical}.partners{padding:65px 0}.partners p{color:var(--muted)}.partner-row{display:flex;gap:50px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:30px}.partner-row span{font-size:34px;font-weight:800;color:#303a55;opacity:.9}.business{padding:18px 0 70px}.business-card{border:1px solid #b9c6da;border-radius:26px;box-shadow:var(--shadow);background:#fff;padding:28px;display:grid;grid-template-columns:360px 1fr;gap:36px;align-items:center}.business-image{min-height:290px;background:#f0eee8;border-radius:22px;display:flex;align-items:center;justify-content:center}.business-image img{width:210px;opacity:.32}.business-card p{color:#515b68}.check-list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:8px}.check-list li{position:relative;padding-left:25px;color:#444d5a}.check-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--blue-dark);font-weight:800}.contract{padding:76px 0}.contract-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:54px;align-items:center}.contract-grid .btn{margin-top:28px}.doc-preview{background:#fff;border:2px solid #c7d1e1;border-radius:22px;box-shadow:0 12px 32px rgba(35,63,120,.09);min-height:330px;padding:34px}.doc-preview img{width:74px;opacity:.75;margin-bottom:22px}.doc-preview h3{font-family:Manrope,Arial,sans-serif;font-size:17px;color:#1f2430;text-align:center;text-transform:uppercase;letter-spacing:.04em}.doc-preview p{text-align:center;color:#555;margin:20px auto;max-width:560px}.doc-lines{display:grid;gap:12px;margin-top:30px}.doc-lines span{height:10px;background:#e7ebf2}.doc-lines span:nth-child(2){width:84%}.doc-lines span:nth-child(3){width:92%}.doc-lines span:nth-child(4){width:68%}.steps{padding:76px 0}.steps-row{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin:36px 0 30px}.steps-row div{aspect-ratio:1;border-radius:50%;background:#fff;border:2px dashed #b6c2d5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;box-shadow:0 8px 20px rgba(23,35,60,.06)}.steps-row strong{font-family:Manrope,Arial,sans-serif;font-size:34px;color:var(--blue-dark)}.steps-row span{font-size:14px;color:#4f5864}.reviews{padding:76px 0}.review-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:34px;text-align:left}.review-grid article{background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px;box-shadow:0 8px 20px rgba(23,35,60,.05)}.review-grid p{font-size:14px;color:#4f5864;margin:0 0 16px}.review-grid strong{color:var(--blue-dark)}.reviews .btn{margin-top:28px}.video{padding:70px 0}.video-frame{height:460px;background:linear-gradient(135deg,#c3c8d1,#eef0f4);border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;position:relative;overflow:hidden}.video-frame:before{content:"▶";width:78px;height:78px;border-radius:50%;border:2px solid rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;margin-bottom:20px;font-size:28px}.video-frame span{font-size:28px;font-weight:800}.video-frame p{max-width:440px;color:#fff}.contacts{padding:64px 0 78px}.contacts-grid{display:grid;grid-template-columns:1fr .9fr 1fr;gap:22px;align-items:stretch}.map-box{min-height:250px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,#dae5ef,#fff);display:flex;align-items:center;justify-content:center;color:var(--blue-dark);font-weight:800}.office-photos{display:grid;grid-template-columns:1fr 1fr;gap:10px}.office-photos div{background:linear-gradient(135deg,#ddd,#f4f1eb);border:1px solid var(--border);border-radius:18px}.office-photos div:first-child{grid-column:1/-1}.contact-info{background:#fff;border:1px solid var(--border);border-radius:22px;padding:26px}.contact-info h3{font-family:Manrope,Arial,sans-serif;font-size:20px}.contact-info p{margin:10px 0;color:#515b68}.contact-info a{color:var(--blue-dark);font-weight:700}.messengers{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.messengers span{background:var(--blue-soft);color:var(--blue-dark);padding:8px 10px;border-radius:999px;font-size:12px;font-weight:700}.site-footer{background:var(--blue);color:#fff;min-height:120px;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:30px;padding-right:7vw}.footer-logo{height:120px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.08)}.footer-logo img{width:95px}.site-footer nav{display:flex;gap:30px;justify-content:center;font-size:14px}.site-footer>a{font-weight:800;font-size:19px;white-space:nowrap}
@media (max-width:1100px){.site-header{grid-template-columns:150px 1fr auto}.main-nav{gap:24px;font-size:16px}.header-phone{margin-right:24px;padding-left:24px;font-size:18px}.service-grid,.adv-grid{grid-template-columns:repeat(2,1fr)}.review-grid{grid-template-columns:repeat(2,1fr)}.hero__grid{grid-template-columns:1fr}.hero__visual{min-height:390px}.hero-card--note{left:8%}.hero-person{right:7%}.business-card,.contract-grid{grid-template-columns:1fr}.contacts-grid{grid-template-columns:1fr 1fr}.contact-info{grid-column:1/-1}}
@media (max-width:760px){.container,.narrow{width:min(100% - 28px,1180px)}.site-header{height:70px;grid-template-columns:96px 1fr 56px}.header-logo{height:70px}.header-logo__plate img{width:70px;height:54px}.header-phone{justify-self:end;margin:0 12px 0 0;padding:0;border:0;font-size:0}.header-phone:after{content:"Позвонить";font-size:13px;color:#fff;background:var(--blue-dark);padding:10px 12px;border-radius:12px}.nav-toggle{display:flex;grid-column:3;grid-row:1;background:transparent;border:0;width:56px;height:70px;align-items:center;justify-content:center;gap:5px;flex-direction:column}.nav-toggle span{width:23px;height:2px;background:var(--blue-dark);border-radius:999px}.main-nav{position:fixed;left:0;right:0;top:70px;background:var(--beige);border-bottom:1px solid var(--border);display:none;height:auto;padding:18px 14px;flex-direction:column;gap:0;align-items:stretch}.main-nav a{height:auto;padding:14px 4px}.main-nav a.is-active:after{bottom:6px;width:90px}.nav-open .main-nav{display:flex}.hero{padding:40px 0}.hero__lead{font-size:17px}.hero__actions{display:grid}.hero__facts{grid-template-columns:1fr}.hero__visual{display:none}.service-grid,.adv-grid,.review-grid,.steps-row,.contacts-grid{grid-template-columns:1fr}.service-card{min-height:auto}.consult-card{grid-template-columns:1fr;padding:24px}.partner-row{gap:22px}.partner-row span{font-size:25px}.business-card{padding:16px}.business-image{min-height:180px}.contract{padding:52px 0}.steps-row div{aspect-ratio:auto;border-radius:18px;min-height:110px}.video-frame{height:320px}.site-footer{grid-template-columns:1fr;padding:28px 14px;text-align:center}.footer-logo{height:auto;background:transparent}.site-footer nav{flex-wrap:wrap}.site-footer>a{justify-self:center}}

/* Fresh visual update */
:root{
  --blue:#4f679c;
  --blue-dark:#253f78;
  --blue-deep:#183160;
  --blue-soft:#eef5ff;
  --beige:#f3eee6;
  --cream:#fffdf9;
  --line:#e4e8f0;
  --shadow:0 22px 60px rgba(28,54,104,.14);
  --shadow-soft:0 12px 36px rgba(28,54,104,.08);
}
body{
  background:
    radial-gradient(circle at 8% 12%, rgba(79,103,156,.08), transparent 28%),
    radial-gradient(circle at 92% 5%, rgba(243,238,230,.9), transparent 26%),
    var(--cream);
}
.site-header{
  background:rgba(243,238,230,.88);
  backdrop-filter:blur(14px);
  border-color:rgba(37,63,120,.12);
  box-shadow:0 8px 30px rgba(37,63,120,.08);
}
.header-logo{
  background:linear-gradient(135deg,var(--blue) 0%,var(--blue-deep) 100%);
}
.header-logo__plate{
  background:rgba(255,255,255,.06);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
}
.main-nav a{
  font-weight:600;
  letter-spacing:.01em;
}
.main-nav a.is-active:after{
  height:3px;
  bottom:7px;
  box-shadow:0 4px 12px rgba(37,63,120,.28);
}
.header-phone{
  position:relative;
}
.header-phone:before{
  content:"";
  position:absolute;
  left:24px;
  top:50%;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#4fb477;
  transform:translateY(-50%);
  box-shadow:0 0 0 5px rgba(79,180,119,.12);
}
.hero.section-light{
  background:
    linear-gradient(135deg,rgba(243,238,230,.95) 0%,rgba(255,255,255,.9) 44%,rgba(238,245,255,.95) 100%);
  position:relative;
  overflow:hidden;
}
.hero.section-light:before{
  content:"";
  position:absolute;
  right:-150px;
  top:30px;
  width:460px;
  height:460px;
  border-radius:50%;
  background:rgba(79,103,156,.08);
}
.hero__content,.hero__visual{position:relative;z-index:1}
h1{
  letter-spacing:-.025em;
}
.hero__lead{
  color:#3f4858;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  background:rgba(79,103,156,.08);
  border:1px solid rgba(79,103,156,.13);
  border-radius:999px;
  letter-spacing:.1em;
}
.btn{
  border-radius:999px;
}
.btn-primary{
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
  box-shadow:0 14px 30px rgba(37,63,120,.22);
}
.btn-primary:hover{
  background:linear-gradient(135deg,var(--blue-deep),var(--blue-dark));
}
.btn-ghost{
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(8px);
}
.hero__facts div{
  border-color:rgba(79,103,156,.14);
  box-shadow:var(--shadow-soft);
  background:rgba(255,255,255,.76);
  backdrop-filter:blur(10px);
}
.hero-card--note,.hero-person,.consult-card,.business-card,.doc-preview,.contact-info,.map-box,.review-grid article,.service-card{
  border-color:rgba(79,103,156,.18);
}
.hero-card--note{
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(12px);
}
.hero-person{
  background:
    linear-gradient(135deg,rgba(255,255,255,.9),rgba(238,245,255,.95)),
    linear-gradient(135deg,#f4f0e9,#fff);
}
.person-photo{
  background:linear-gradient(145deg,#eef3fb,#d8dfeb);
  color:var(--blue-dark);
}
.section-white{
  background:rgba(255,255,255,.86);
}
.section-blue-soft{
  background:linear-gradient(180deg,#eef5ff 0%,#f7f3ec 100%);
}
.service-grid{
  gap:22px;
}
.service-card{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  box-shadow:var(--shadow-soft);
}
.service-card:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:5px;
  background:linear-gradient(90deg,var(--blue-dark),var(--blue),#9bb0d2);
}
.service-card:after{
  content:"";
  position:absolute;
  right:-42px;
  top:-42px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:rgba(79,103,156,.06);
}
.service-card .icon{
  background:linear-gradient(135deg,#fff,#eef5ff);
  border-color:rgba(79,103,156,.24);
  box-shadow:0 8px 20px rgba(37,63,120,.08);
}
.service-card a{
  border-radius:999px;
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
}
.quick-form input,.consult-form input,.consult-form textarea{
  border-color:rgba(79,103,156,.22);
  box-shadow:0 6px 18px rgba(37,63,120,.04);
}
.quick-form input:focus,.consult-form input:focus,.consult-form textarea:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(79,103,156,.12);
}
.adv-grid div{
  background:rgba(255,255,255,.55);
  padding:18px;
  border:1px solid rgba(79,103,156,.13);
  border-radius:22px;
}
.adv-grid span{
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
}
.consult-card{
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(12px);
  border-radius:32px;
}
.partner-row span{
  padding:12px 18px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 26px rgba(37,63,120,.06);
  font-size:28px;
}
.business-card{
  border-radius:32px;
  background:linear-gradient(135deg,#fff 0%,#f7faff 100%);
}
.business-image{
  background:linear-gradient(135deg,#eef5ff,#f3eee6);
}
.steps-row div{
  border-style:solid;
  border-color:rgba(79,103,156,.22);
  box-shadow:var(--shadow-soft);
  transition:transform .22s ease, box-shadow .22s ease;
}
.steps-row div:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.video-frame{
  background:
    linear-gradient(135deg,rgba(37,63,120,.78),rgba(79,103,156,.62)),
    linear-gradient(135deg,#aeb9c9,#eef0f4);
}
.contacts-grid>*{
  box-shadow:var(--shadow-soft);
}
.site-footer{
  background:linear-gradient(135deg,var(--blue),var(--blue-deep));
}
@media (max-width:760px){
  .eyebrow{font-size:11px}
  .site-header{box-shadow:0 8px 24px rgba(37,63,120,.1)}
  .header-phone:before{display:none}
  .service-grid{gap:14px}
  .adv-grid div{padding:16px}
}


/* Header + typography update */
:root{
  --beige:#f7f8fb;
  --cream:#ffffff;
}
body{
  font-family:Manrope,Arial,sans-serif;
  letter-spacing:-.01em;
}
h1,h2,h3{
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  letter-spacing:-.045em;
}
h1{
  line-height:1.02;
}
h2{
  line-height:1.12;
}
.site-header{
  background:#ffffff !important;
  border-top:0;
  border-bottom:1px solid rgba(37,63,120,.14);
  box-shadow:0 8px 28px rgba(25,42,82,.06);
  backdrop-filter:none;
}
.main-nav{
  font-family:Manrope,Arial,sans-serif;
  font-size:17px;
  font-weight:600;
}
.main-nav a{
  color:#202735;
}
.main-nav a.is-active,
.main-nav a:hover{
  color:var(--blue-dark);
}
.header-phone{
  color:var(--blue-dark);
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  letter-spacing:-.02em;
}
.header-logo{
  background:linear-gradient(135deg,#4d6599 0%,#233f78 100%);
}
.hero.section-light{
  background:linear-gradient(135deg,#ffffff 0%,#f7f9fc 52%,#eef5ff 100%);
}
.section-light{
  background:linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);
}
@media (max-width:760px){
  .main-nav{
    background:#ffffff;
  }
}

/* Cleanup requested: remove eyebrow visual style and soften section backgrounds */
.section-blue-soft{
  background:#f7f9fc !important;
}
.advantages.section-blue-soft,
.consult-card-section.section-blue-soft{
  background:#f7f9fc !important;
}
.adv-grid div{
  background:#ffffff;
  border-color:rgba(79,103,156,.14);
  box-shadow:0 8px 24px rgba(28,54,104,.05);
}
.consult-card{
  background:#ffffff;
  backdrop-filter:none;
  box-shadow:0 16px 42px rgba(28,54,104,.09);
}
.services{
  padding-top:54px;
}
.services .service-grid{
  margin-top:0;
}
.contacts .section-head{
  margin-bottom:28px;
}


/* Hero video update */
.hero__visual--video{
  min-height:430px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-video-card{
  position:relative;
  width:100%;
  max-width:520px;
  aspect-ratio:16/10;
  border-radius:32px;
  overflow:hidden;
  background:#ffffff;
  border:1px solid rgba(79,103,156,.18);
  box-shadow:0 24px 70px rgba(28,54,104,.16);
}
.hero-video-card:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(180deg,rgba(10,24,48,0) 38%,rgba(10,24,48,.52) 100%);
  pointer-events:none;
}
.hero-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-video__overlay{
  position:absolute;
  left:24px;
  right:24px;
  top:22px;
  bottom:auto;
  z-index:3;
  pointer-events:none;
  display:flex;
  align-items:center;
  gap:16px;
  color:#ffffff;
}
.hero-video__play{
  flex:0 0 auto;
  width:56px;
  height:56px;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  color:var(--blue-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.hero-video__overlay strong{
  display:block;
  font-size:18px;
  line-height:1.2;
}
.hero-video__overlay p{
  margin:4px 0 0;
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.35;
}
.hero-video__overlay code{
  color:#ffffff;
  font-family:inherit;
}
.hero-video__sound{
  position:absolute;
  left:24px;
  bottom:24px;
  z-index:5;
  border:0;
  border-radius:999px;
  padding:12px 18px;
  background:rgba(255,255,255,.94);
  color:var(--blue-dark);
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.16);
  backdrop-filter:blur(10px);
}
.hero-video__sound:hover{
  background:#ffffff;
  transform:translateY(-1px);
}
.hero-video__sound.is-hidden{
  display:none;
}

.hero-video-note{
  position:absolute;
  z-index:4;
  max-width:270px;
  padding:18px 20px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(79,103,156,.18);
  box-shadow:0 18px 48px rgba(28,54,104,.14);
  backdrop-filter:blur(12px);
}
.hero-video-note--top{
  right:-48px;
  top:-28px;
}
.hero-video-note--bottom{
  left:-20px;
  bottom:8px;
  max-width:250px;
}
.hero-video-note strong{
  display:block;
  color:var(--blue-dark);
  font-size:14px;
  line-height:1.25;
}
.hero-video-note span{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}
@media (max-width:1100px){
  .hero__visual--video{min-height:auto;margin-top:10px}
  .hero-video-card{max-width:720px}
  .hero-video-note--top{right:calc(50% - 410px);top:-18px}
}
@media (max-width:760px){
  .hero__visual--video{display:block}
  .hero-video-card{border-radius:22px;aspect-ratio:16/11}
  .hero-video__overlay{left:16px;right:16px;top:16px;bottom:auto}
  .hero-video__overlay p{display:none}
  .hero-video__sound{left:16px;bottom:16px;padding:10px 14px;font-size:13px}
  .hero-video-note{position:static;margin:14px 0 0;max-width:none}
}

/* Header logo cleanup: remove inner plate/outline around logo */
.header-logo__plate{
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
  border-radius:0 !important;
}

/* Footer made by Visualt */
.site-footer{
  grid-template-columns:220px 1fr auto;
}
.footer-right{
  display:flex;
  align-items:center;
  gap:24px;
  justify-self:end;
}
.footer-phone{
  font-weight:800;
  font-size:19px;
  white-space:nowrap;
}
.madeby{
  display:flex;
  align-items:center;
  opacity:.92;
  transition:opacity .2s ease, transform .2s ease;
}
.madeby:hover{
  opacity:1;
  transform:translateY(-1px);
}
.madeby img{
  display:block;
  width:118px;
  height:auto;
}
@media (max-width:760px){
  .footer-right{
    justify-self:center;
    flex-direction:column;
    gap:16px;
  }
  .madeby img{
    width:110px;
  }
}

/* Footer subfooter update */
.site-footer{
  display:block !important;
  min-height:0 !important;
  padding:0 !important;
  background:linear-gradient(135deg,var(--blue),var(--blue-deep));
}
.footer-main{
  min-height:120px;
  display:grid;
  grid-template-columns:220px 1fr auto;
  align-items:center;
  gap:30px;
  padding-right:7vw;
}
.footer-main nav{
  display:flex;
  gap:30px;
  justify-content:center;
  font-size:14px;
}
.footer-main nav a,
.footer-policy,
.footer-phone{
  color:#fff;
}
.footer-phone{
  justify-self:end;
}
.footer-sub{
  border-top:1px solid rgba(255,255,255,.16);
  padding:18px 7vw 20px;
  color:rgba(255,255,255,.72);
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.footer-legal{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.footer-policy{
  color:rgba(255,255,255,.72);
  transition:color .2s ease;
}
.footer-policy:hover{
  color:#fff;
}
.footer-sub .madeby{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:0 0 auto;
  opacity:.9;
  transition:opacity .2s ease, transform .2s ease;
}
.footer-sub .madeby:hover{
  opacity:1;
  transform:translateY(-1px);
}
.footer-sub .madeby img{
  width:118px;
  height:auto;
}@media (max-width:760px){
  .footer-main{
    grid-template-columns:1fr;
    padding:28px 14px 22px;
    text-align:center;
    gap:20px;
  }
  .footer-main nav{
    flex-wrap:wrap;
    gap:16px 22px;
  }
  .footer-phone{
    justify-self:center;
  }
  .footer-sub{
    text-align:center;
    padding:18px 14px 22px;
    flex-direction:column;
    justify-content:center;
    gap:14px;
  }
  .footer-legal{
    justify-content:center;
    gap:8px 18px;
  }
  .footer-sub .madeby{
    justify-content:center;
  }
}

/* Single page template */
.single-page-template .site-header .main-nav a.is-active:after{
  display:none;
}
.page-hero{
  padding:72px 0 58px;
  background:linear-gradient(135deg,#ffffff 0%,#f7f9fc 54%,#eef5ff 100%);
}
.page-hero__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:center;
  justify-items:start;
  text-align:left;
}
.breadcrumbs{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:22px;
  color:var(--muted);
  font-size:14px;
}
.breadcrumbs a{
  color:var(--blue-dark);
  font-weight:700;
}
.page-hero__lead{
  max-width:740px;
  margin:22px 0 0;
  color:#414956;
  font-size:20px;
}
.page-hero__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}
.page-hero__card{
  background:#ffffff;
  border:1px solid rgba(79,103,156,.18);
  border-radius:28px;
  padding:28px;
  box-shadow:0 16px 42px rgba(28,54,104,.09);
}
.page-hero__card strong{
  display:block;
  color:var(--blue-dark);
  font-size:22px;
  line-height:1.2;
}
.page-hero__card p{
  color:var(--muted);
  margin:12px 0 18px;
}
.page-hero__card a{
  color:var(--blue-dark);
  font-weight:800;
  font-size:19px;
}
.page-content-section{
  padding:70px 0;
}
.page-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:52px;
  align-items:start;
}
.page-content{
  background:#ffffff;
  border:1px solid rgba(79,103,156,.14);
  border-radius:28px;
  padding:42px;
  box-shadow:0 12px 36px rgba(28,54,104,.06);
}
.page-content h2{
  margin-top:36px;
  margin-bottom:16px;
  font-size:clamp(24px,2.3vw,34px);
}
.page-content h2:first-child{
  margin-top:0;
}
.page-content p{
  color:#4f5864;
  margin:0 0 16px;
}
.page-content ul{
  margin:0 0 24px;
  padding-left:22px;
  color:#4f5864;
}
.page-content li{
  margin:8px 0;
}
.page-note{
  margin:28px 0;
  padding:22px 24px;
  border-radius:22px;
  background:#f7f9fc;
  border:1px solid rgba(79,103,156,.14);
}
.page-note strong{
  display:block;
  color:var(--blue-dark);
  margin-bottom:8px;
}
.page-note p{
  margin:0;
}
.page-steps{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin:20px 0 28px;
}
.page-steps div{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:14px;
  align-items:start;
  padding:18px;
  border-radius:20px;
  background:#f7f9fc;
  border:1px solid rgba(79,103,156,.14);
}
.page-steps span{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
  color:#fff;
  font-weight:800;
}
.page-steps p{
  margin:0;
  font-size:14px;
}
.page-sidebar{
  position:sticky;
  top:106px;
}
.sidebar-card{
  background:#ffffff;
  border:1px solid rgba(79,103,156,.18);
  border-radius:28px;
  padding:26px;
  box-shadow:0 16px 42px rgba(28,54,104,.09);
}
.sidebar-card h3{
  font-size:24px;
}
.sidebar-card p{
  margin:10px 0 18px;
  color:var(--muted);
}
.sidebar-form{
  display:grid;
  gap:12px;
}
.sidebar-form input,
.sidebar-form textarea{
  width:100%;
  border:1px solid rgba(79,103,156,.22);
  background:#fff;
  border-radius:14px;
  min-height:46px;
  padding:12px 14px;
  font:inherit;
}
.sidebar-form textarea{
  min-height:100px;
  resize:vertical;
}
.sidebar-form input:focus,
.sidebar-form textarea:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(79,103,156,.12);
}
.page-cta{
  padding:54px 0;
  background:#f7f9fc !important;
}
.page-cta__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:#ffffff;
  border:1px solid rgba(79,103,156,.14);
  border-radius:30px;
  padding:34px;
  box-shadow:0 12px 36px rgba(28,54,104,.06);
}
.page-cta p{
  margin:12px 0 0;
  color:var(--muted);
}
@media (max-width:1100px){
  .page-hero__grid,
  .page-layout{
    grid-template-columns:1fr;
  }
  .page-sidebar{
    position:static;
  }
}
@media (max-width:760px){
  .page-hero{
    padding:44px 0 36px;
  }
  .page-hero__lead{
    font-size:17px;
  }
  .page-hero__actions{
    display:grid;
  }
  .page-content-section{
    padding:42px 0;
  }
  .page-content,
  .sidebar-card,
  .page-hero__card,
  .page-cta__inner{
    border-radius:22px;
    padding:22px;
  }
  .page-steps{
    grid-template-columns:1fr;
  }
  .page-cta__inner{
    align-items:flex-start;
    flex-direction:column;
  }
}

.form-honeypot{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.captcha-container{
  min-height:0;
}

.form-feedback{
  margin:0;
  padding:12px 14px;
  border-radius:12px;
  font-size:14px;
  line-height:1.45;
}

.form-feedback.is-success{
  color:#1f5f3f;
  background:#e8f6ee;
  border:1px solid #b9e2c8;
}

.form-feedback.is-error{
  color:#8a2430;
  background:#fdecee;
  border:1px solid #f3c2c8;
}

.feedback-form button[type="submit"]:disabled{
  opacity:.7;
  cursor:wait;
}

.feedback-form.is-submitted{
  pointer-events:none;
}

.office-photos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.office-photos__cell{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:18px;
  background:linear-gradient(135deg,#ddd,#f4f1eb);
  aspect-ratio:4/3;
}

.office-photos__cell--main{
  grid-column:1/-1;
  aspect-ratio:16/10;
}

.office-photos__open{
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in;
}

.office-photos__open img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:opacity .35s ease;
}

.office-photos__open img.is-fading{
  opacity:.15;
}

.messengers a{
  background:var(--blue-soft);
  color:var(--blue-dark);
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  transition:background .2s ease, color .2s ease;
}

.messengers a:hover{
  background:var(--blue-dark);
  color:#fff;
}

.map-box{
  min-height:360px;
  padding:0;
  overflow:hidden;
  display:block;
  background:#fff;
}

.map-box iframe{
  width:100%;
  height:360px;
  border:0;
  display:block;
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(12,18,30,.88);
}

.lightbox[hidden]{
  display:none;
}

body.lightbox-open{
  overflow:hidden;
}

.lightbox__content{
  margin:0;
  max-width:min(1100px, calc(100vw - 120px));
  max-height:calc(100vh - 120px);
  display:grid;
  gap:12px;
}

.lightbox__image{
  width:100%;
  max-height:calc(100vh - 180px);
  object-fit:contain;
  border-radius:14px;
  background:#111;
}

.lightbox__caption{
  color:#fff;
  text-align:center;
  font-size:14px;
  line-height:1.45;
}

.lightbox__close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}

.lightbox__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}

.lightbox__arrow--prev{
  left:18px;
}

.lightbox__arrow--next{
  right:18px;
}

@media (max-width:760px){
  .lightbox{
    padding:16px;
  }

  .lightbox__content{
    max-width:100%;
  }

  .lightbox__arrow{
    width:40px;
    height:40px;
    font-size:26px;
  }

  .lightbox__arrow--prev{
    left:8px;
  }

  .lightbox__arrow--next{
    right:8px;
  }
}

/* Меню для маленьких ноутбуков и планшетов */
@media (max-width:1280px){
  .site-header{
    grid-template-columns:180px 1fr auto;
  }

  .main-nav{
    gap:24px;
    font-size:15px;
  }

  .header-phone{
    margin-right:24px;
    padding-left:20px;
    font-size:17px;
  }

  .header-phone:before{
    left:8px;
  }
}

@media (max-width:1100px){
  .site-header{
    height:72px;
    grid-template-columns:150px 1fr auto 56px;
    gap:0;
  }

  .header-logo{
    height:72px;
  }

  .header-logo__plate img{
    width:76px;
    height:58px;
  }

  .nav-toggle{
    display:flex;
    grid-column:4;
    grid-row:1;
    background:transparent;
    border:0;
    width:56px;
    height:72px;
    align-items:center;
    justify-content:center;
    gap:5px;
    flex-direction:column;
    cursor:pointer;
  }

  .nav-toggle span{
    width:23px;
    height:2px;
    background:var(--blue-dark);
    border-radius:999px;
  }

  .header-phone{
    grid-column:3;
    justify-self:end;
    margin:0;
    padding:0 10px 0 16px;
    border-left:1px solid rgba(37,63,120,.14);
    font-size:15px;
    white-space:nowrap;
  }

  .header-phone:before{
    display:none;
  }

  .main-nav{
    position:fixed;
    left:0;
    right:0;
    top:72px;
    z-index:999;
    display:none;
    height:auto;
    padding:16px 24px 22px;
    flex-direction:column;
    gap:4px;
    align-items:stretch;
    background:#fff;
    border-bottom:1px solid var(--border);
    box-shadow:0 14px 36px rgba(28,54,104,.12);
    font-size:16px;
  }

  .main-nav a{
    height:auto;
    padding:16px 8px;
  }

  .main-nav a.is-active:after{
    bottom:8px;
    width:88px;
  }

  .nav-open .main-nav{
    display:flex;
  }
}

@media (max-width:900px){
  .header-phone{
    font-size:0;
  }

  .header-phone:after{
    content:"Позвонить";
    font-size:13px;
    color:#fff;
    background:var(--blue-dark);
    padding:10px 12px;
    border-radius:12px;
  }
}

@media (max-width:760px){
  .site-header{
    height:70px;
    grid-template-columns:96px 1fr 56px;
  }

  .header-logo{
    height:70px;
  }

  .header-logo__plate img{
    width:70px;
    height:54px;
  }

  .nav-toggle{
    height:70px;
  }

  .header-phone{
    grid-column:3;
    margin:0 12px 0 0;
    padding:0;
    border:0;
  }

  .main-nav{
    top:70px;
    padding:18px 20px 24px;
  }

  .main-nav a{
    padding:18px 8px;
  }
}
