:root{
  --lv-bg:var(--nm-color-bg,#f6f7fb);
  --lv-surface:var(--nm-color-card-bg,#fff);
  --lv-surface-2:var(--nm-color-card-soft,#f9fafb);
  --lv-text:var(--nm-color-text,#0f172a);
  --lv-muted:var(--nm-color-muted,#475569);
  --lv-primary:var(--nm-color-primary,#1d4ed8);
  --lv-primary-soft:var(--nm-color-primary-soft,#e8efff);
  --lv-primary-dark:var(--nm-color-primary-dark,#1e3a8a);
  --lv-border:rgba(15,23,42,.10);
  --lv-border-2:rgba(15,23,42,.06);
  --lv-ring:rgba(29,78,216,.35);
  --lv-radius-pill:var(--nm-radius-pill,999px);
  --lv-radius-card:var(--nm-radius-card,18px);
  --lv-radius-large:var(--nm-radius-large,24px);
  --lv-shadow-1:0 10px 28px rgba(2,6,23,.10);
  --lv-shadow-2:0 16px 44px rgba(2,6,23,.14);
  --lv-shadow-hero:0 26px 70px rgba(2,6,23,.22);
  --lv-pad-y:40px;
  --lv-pad-x:20px;
  --lv-container:1400px;
  --lv-card-min:334px;
  --lv-card-max:396px;
}

@media (max-width:767px){
  :root{
    --lv-pad-y:26px;
    --lv-pad-x:16px;
  }
}

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

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Inter",sans-serif;
  background:var(--lv-bg);
  color:var(--lv-text);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

a:not(.lv-btn){
  color:var(--lv-primary);
}

a:not(.lv-btn):hover,
a:not(.lv-btn):focus{
  color:var(--lv-primary-dark);
  text-decoration:underline;
  text-underline-offset:.18em;
  text-decoration-thickness:2px;
}

:focus-visible{
  outline:0;
  box-shadow:0 0 0 4px var(--lv-ring);
  border-radius:10px;
}

section[id]{
  scroll-margin-top:92px;
}

.lv-container{
  max-width:var(--lv-container);
  margin-inline:auto;
}

.lv-section{
  padding:var(--lv-pad-y) var(--lv-pad-x);
  text-align:center;
}

.lv-section h2{
  margin:0 0 14px;
  font-size:clamp(24px,4vw,32px);
  letter-spacing:-.02em;
}

.lv-section-intro{
  max-width:860px;
  margin:0 auto 30px;
  color:rgba(30,58,138,.92);
  font-size:16px;
  line-height:1.6;
}

.lv-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 22px;
  border-radius:var(--lv-radius-pill);
  font-weight:750;
  font-size:15px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}

.lv-btn-primary{
  background:linear-gradient(180deg,#2563eb 0%,#1d4ed8 100%);
  color:#fff;
  border-color:rgba(255,255,255,.10);
  box-shadow:0 12px 28px rgba(29,78,216,.28),0 10px 22px rgba(2,6,23,.10);
}

.lv-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(29,78,216,.30),0 14px 30px rgba(2,6,23,.12);
}

.lv-btn-outline{
  background:rgba(255,255,255,.70);
  border-color:var(--lv-border);
  color:var(--lv-primary-dark);
  box-shadow:0 10px 22px rgba(2,6,23,.08);
}

.lv-btn-outline:hover{
  transform:translateY(-2px);
  background:#fff;
  border-color:rgba(29,78,216,.22);
  box-shadow:0 14px 32px rgba(2,6,23,.10);
}

.lv-hero-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.lv-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(246,247,251,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--lv-border);
  padding:12px var(--lv-pad-x);
}

.lv-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.lv-logo{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.lv-logo-mark{
  width:38px;
  height:38px;
  border-radius:var(--lv-radius-pill);
  display:grid;
  place-items:center;
  font-weight:900;
  letter-spacing:.06em;
  color:#fff;
  background:linear-gradient(180deg,#2563eb 0%,#1d4ed8 100%);
  box-shadow:0 14px 28px rgba(2,6,23,.16);
}

.lv-logo-text{
  font-weight:850;
  letter-spacing:.03em;
}

/* =========================
   Lang switcher (nm_lang shortcode)
   ========================= */

.lv-nav .nm-lang{
  display:flex;
  gap:8px;
  align-items:center;
}

/* Кнопки как у твоего .lv-nav a */
.lv-nav .nm-lang__link{
  padding:8px 12px;
  border-radius:var(--lv-radius-pill);
  font-weight:800;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(15,23,42,.72);
  background:rgba(255,255,255,.70);
  border:1px solid var(--lv-border-2);
  transition:background .18s ease,transform .18s ease,border-color .18s ease,color .18s ease;
  text-decoration:none;
}

.lv-nav .nm-lang__link:hover{
  background:#fff;
  border-color:rgba(29,78,216,.20);
  transform:translateY(-1px);
  color:rgba(15,23,42,.86);
  text-decoration:none;
}

/* Активный язык */
.lv-nav .nm-lang__link.nm-is-active{
  background:var(--lv-primary-soft);
  border-color:rgba(29,78,216,.22);
  color:rgba(30,58,138,.95);
  box-shadow:0 10px 22px rgba(2,6,23,.06);
}

/* =========================
   Active language button
   ========================= */

.lv-nav .nm-lang__link.nm-is-active{
  background: linear-gradient(180deg,#2563eb 0%,#1d4ed8 100%);
  color:#fff !important;
  border-color:rgba(255,255,255,.12);
  box-shadow:0 12px 28px rgba(29,78,216,.28),0 10px 22px rgba(2,6,23,.10);
}

.lv-nav .nm-lang__link.nm-is-active:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(29,78,216,.30),0 14px 30px rgba(2,6,23,.12);
  text-decoration:none;
}


.lv-hero{
  padding-top:56px;
  padding-bottom:56px;
  background:radial-gradient(900px 480px at 18% 12%,rgba(37,99,235,.14),rgba(0,0,0,0)62%),linear-gradient(180deg,#f6f7fb 0%,#f6f7fb 100%);
}

@media (max-width:767px){
  .lv-hero{
    padding-top:var(--lv-pad-y);
    padding-bottom:var(--lv-pad-y);
  }
}

.lv-hero-inner{
  display:grid;
  gap:32px;
  align-items:center;
}

@media (min-width:768px){
  .lv-hero-inner{
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  }
}

.lv-kicker{
  margin:0 0 12px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:var(--lv-radius-pill);
  background:rgba(29,78,216,.10);
  border:1px solid rgba(29,78,216,.16);
  color:rgba(30,58,138,.95);
  font-weight:850;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.lv-hero-text h1{
  margin:0 0 16px;
  font-size:clamp(28px,6vw,40px);
  line-height:1.12;
  letter-spacing:-.03em;
}

.lv-hero-subtitle{
  margin:0 0 12px;
  font-size:17px;
  line-height:1.65;
  max-width:720px;
  color:rgba(15,23,42,.88);
}

.lv-hero-description{
  margin:0 0 24px;
  font-size:15.5px;
  line-height:1.7;
  color:rgba(15,23,42,.70);
  max-width:760px;
}

.lv-hero-description strong{
  color:rgba(15,23,42,.90);
}

.lv-hero-media{
  display:flex;
  justify-content:center;
}

.lv-hero-figure{
  max-width:880px;
  border-radius:var(--lv-radius-large);
  overflow:hidden;
  background:#0b1220;
  box-shadow:var(--lv-shadow-hero);
  margin:0;
  border:1px solid rgba(255,255,255,.06);
}

.lv-hero-figure figcaption{
  padding:10px 16px 14px;
  font-size:13px;
  color:rgba(255,255,255,.78);
  text-align:left;
}

.lv-cards-grid{
  display:grid;
  gap:22px;
  grid-template-columns:repeat(auto-fit,minmax(var(--lv-card-min),1fr));
  justify-content:center;
}

@media (max-width:420px){
  .lv-cards-grid{
    grid-template-columns:1fr;
  }
}

@media (min-width:1024px){
  .lv-cards-grid{
    grid-template-columns:repeat(3,minmax(var(--lv-card-min),var(--lv-card-max)));
    justify-content:center;
  }
}

@supports selector(.lv-cards-grid:has(>*)){
  @media (min-width:1024px){
    .lv-cards-grid:has(>.lv-card:first-child:nth-last-child(2)){
      grid-template-columns:repeat(2,minmax(var(--lv-card-min),var(--lv-card-max)));
      justify-content:center;
      column-gap:56px;
      row-gap:22px;
    }

    .lv-cards-grid:has(>.lv-card:first-child:nth-last-child(4))>.lv-card:nth-child(4){
      grid-column:2;
      justify-self:center;
    }

    .lv-cards-grid:has(>.lv-card:only-child){
      grid-template-columns:minmax(var(--lv-card-min),var(--lv-card-max));
      justify-content:center;
    }

    .lv-cards-grid:has(>.lv-card:first-child:nth-last-child(5))>.lv-card:nth-child(4){
      grid-column:1 / span 2;
      justify-self:end;
    }

    .lv-cards-grid:has(>.lv-card:first-child:nth-last-child(5))>.lv-card:nth-child(5){
      grid-column:2 / span 2;
      justify-self:start;
    }
  }
}

.lv-card{
  background:var(--lv-surface);
  border-radius:var(--lv-radius-card);
  padding:22px 20px;
  text-align:left;
  border:1px solid var(--lv-border);
  box-shadow:var(--lv-shadow-1);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.lv-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--lv-shadow-2);
  border-color:rgba(29,78,216,.16);
}

.lv-card h3{
  margin:0 0 10px;
  font-size:17px;
  letter-spacing:-.01em;
}

.lv-card p{
  margin:0 0 10px;
  color:rgba(15,23,42,.74);
  line-height:1.6;
}

.lv-card p:last-child{
  margin-bottom:0;
}

.lv-card-combo{
  border-left:4px solid rgba(29,78,216,.85);
}

.lv-card-soft{
  background:var(--lv-surface-2);
}

.lv-faq-list{
  max-width:980px;
  margin:0 auto;
  text-align:left;
  display:grid;
  gap:12px;
}

.lv-faq-item{
  background:var(--lv-surface);
  border-radius:16px;
  padding:0;
  border:1px solid var(--lv-border);
  box-shadow:0 10px 24px rgba(2,6,23,.08);
  overflow:hidden;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.lv-faq-item:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(2,6,23,.10);
  border-color:rgba(29,78,216,.16);
}

.lv-faq-item>summary{
  cursor:pointer;
  font-weight:850;
  list-style:none;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  user-select:none;
  position:relative;
  color:rgba(15,23,42,.92);
  line-height:1.25;
}

.lv-faq-item>summary::-webkit-details-marker{
  display:none;
}

.lv-faq-item>summary::after{
  content:"";
  width:12px;
  height:12px;
  flex:0 0 12px;
  border-right:2px solid rgba(29,78,216,.9);
  border-bottom:2px solid rgba(29,78,216,.9);
  transform:rotate(45deg);
  transition:transform .18s ease,opacity .18s ease;
  opacity:.9;
}

.lv-faq-item>summary:hover{
  background:linear-gradient(135deg,rgba(29,78,216,.06),rgba(255,255,255,0));
}

.lv-faq-item[open]{
  border-color:rgba(29,78,216,.22);
  box-shadow:0 18px 44px rgba(29,78,216,.10),0 14px 30px rgba(2,6,23,.10);
}

.lv-faq-item[open]>summary{
  background:linear-gradient(135deg,rgba(29,78,216,.08),rgba(255,255,255,0));
}

.lv-faq-item[open]>summary::after{
  transform:rotate(-135deg);
  opacity:1;
}

.lv-faq-content{
  padding:0 18px 16px;
  color:rgba(15,23,42,.72);
  font-size:15px;
  line-height:1.65;
}

.lv-faq-content p{
  margin:0;
}

.lv-faq-item[open] .lv-faq-content{
  border-top:1px solid var(--lv-border-2);
  padding-top:14px;
}

@media (max-width:480px){
  .lv-faq-item>summary{
    padding:14px 14px;
  }

  .lv-faq-content{
    padding:0 14px 14px;
  }
}

.lv-contact--dark{
  --lv-gold:#d7b76a;
  --lv-gold-2:#f1d48a;
  --lv-dark-1:#070a12;
  --lv-dark-2:#0b1426;
  position:relative;
  overflow:hidden;
  padding-top:clamp(52px,5.4vw,86px);
  padding-bottom:clamp(52px,5.4vw,86px);
  background:radial-gradient(900px 440px at 18% 20%,rgba(37,99,235,.18),rgba(0,0,0,0)62%),radial-gradient(900px 520px at 84% 80%,rgba(215,183,106,.12),rgba(0,0,0,0)60%),linear-gradient(145deg,var(--lv-dark-2)0%,#091225 45%,var(--lv-dark-1)100%);
  color:rgba(255,255,255,.86);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 -28px 80px rgba(0,0,0,.30),0 36px 110px rgba(0,0,0,.36);
}

.lv-contact--dark::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(rgba(255,255,255,.055)1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055)1px,transparent 1px);
  background-size:46px 46px;
  opacity:.05;
  pointer-events:none;
}

.lv-contact--dark .lv-contact-header{
  text-align:center;
  margin-bottom:34px;
  position:relative;
  z-index:1;
}

.lv-contact--dark h2{
  color:#fff;
  letter-spacing:-.01em;
}

.lv-contact--dark .lv-section-intro{
  color:rgba(255,255,255,.70);
}

.lv-contact-grid{
  display:grid;
  gap:18px;
  max-width:1100px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

@media (min-width:860px){
  .lv-contact-grid{
    grid-template-columns:1.25fr .9fr;
  }
}

.lv-contact-card{
  background:linear-gradient(165deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--lv-radius-card);
  padding:24px 22px;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.18),0 20px 46px rgba(0,0,0,.45);
  backdrop-filter:blur(10px);
  text-align:left;
}

.lv-contact-card--main{
  border-left:4px solid rgba(215,183,106,.92);
}

.lv-contact-card--scope{
  background:linear-gradient(165deg,rgba(215,183,106,.10),rgba(255,255,255,.04));
  border-color:rgba(215,183,106,.18);
}

.lv-contact-title{
  margin:0 0 16px;
  font-size:17px;
  font-weight:900;
  color:#fff;
  letter-spacing:-.01em;
}

.lv-contact-meta{
  display:grid;
  gap:10px;
  margin-bottom:14px;
}

.lv-contact-meta__row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
}

.lv-contact-label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:rgba(255,255,255,.60);
  white-space:nowrap;
}

.lv-contact-value{
  font-weight:750;
  color:rgba(255,255,255,.90);
  text-align:right;
}

.lv-contact-cta{
  display:grid;
  gap:12px;
  margin-top:10px;
}

.lv-contact-cta__item{
  text-decoration:none;
  display:block;
  padding:14px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.18),0 22px 54px rgba(0,0,0,.44);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
}

.lv-contact-cta__item:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.09);
  border-color:rgba(215,183,106,.24);
  box-shadow:0 30px 76px rgba(0,0,0,.52);
}

.lv-contact-cta__kicker{
  display:block;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
  margin-bottom:6px;
}

.lv-contact-cta__value{
  display:block;
  font-weight:950;
  font-size:clamp(18px,2.1vw,24px);
  letter-spacing:.01em;
  color:var(--lv-gold);
  text-shadow:0 10px 22px rgba(215,183,106,.12);
}

.lv-contact-cta__item--phone .lv-contact-cta__value{
  color:var(--lv-gold-2);
  font-size:clamp(20px,2.4vw,28px);
}

.lv-contact-footnote{
  margin:14px 0 0;
  font-size:14px;
  color:rgba(255,255,255,.70);
}

.lv-scope-list{
  display:grid;
  gap:10px;
  margin:0 0 12px;
}

.lv-scope-item{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.88);
  font-weight:750;
}

.lv-contact-note{
  margin:0;
  font-size:14px;
  color:rgba(255,255,255,.68);
}

@media (max-width:520px){
  .lv-contact-meta__row{
    flex-direction:column;
    align-items:flex-start;
  }

  .lv-contact-value{
    text-align:left;
  }
}

.lv-footer{
  padding:44px 20px;
  text-align:center;
  background:linear-gradient(180deg,#0c111c 0%,#070a12 100%);
  color:rgba(255,255,255,.78);
  border-top:1px solid rgba(255,255,255,.08);
}

.lv-footer-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  gap:10px;
  justify-items:center;
}

.lv-footer-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.lv-footer .lv-logo-mark{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  font-weight:900;
  letter-spacing:.06em;
  font-size:12px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.92);
}

.lv-footer-name{
  font-weight:900;
  letter-spacing:.04em;
  color:rgba(255,255,255,.92);
  font-size:13px;
  text-transform:uppercase;
}

.lv-footer-text{
  margin:0;
  max-width:860px;
  font-size:14px;
  color:rgba(255,255,255,.70);
}

.lv-footer-copy{
  margin:8px 0 0;
  font-size:12px;
  color:rgba(255,255,255,.56);
}

.lv-footer a{
  color:rgba(255,255,255,.86);
  text-decoration:underline;
  text-underline-offset:.28em;
  text-decoration-thickness:2px;
  transition:opacity .16s ease;
}

.lv-footer a:hover{
  opacity:.92;
}

.lv-footer a:focus-visible{
  outline:0;
  box-shadow:0 0 0 4px rgba(255,255,255,.25);
  border-radius:10px;
}

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