/* ===== assets/css/main.css ===== */
/* Roof landing (inspired by krovelshikimsk.ru but intentionally re-styled)
   - different typography scale
   - softer gradient backgrounds
   - slightly different card radiuses + shadows
*/

:root{
  --bg: #0b1220;
  --bg2:#071327;
  --surface:#ffffff;
  --surface2:#f4f7fb;
  --text:#0d1b2a;
  --muted:#516077;
  --line:#e6edf6;
  --primary:#1774d4;
  --primary2:#49a6ff;
  --ring: rgba(23,116,212,.22);
  --shadow: 0 14px 40px rgba(11,18,32,.10);
  --shadow2: 0 10px 26px rgba(11,18,32,.08);
  --radius: 16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);

  
}
html{}
 .anchor-alias{position:relative;display:block;height:0;visibility:hidden;pointer-events:none;}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button,input,textarea{font:inherit}

.container{
  width:min(1350px, calc(100% - 32px));
  margin:0 auto;
}



/* Sticky header (appears only on scroll) */



@media (min-width: 641px){
  
}











.phone{font-weight:700;font-size: 18px;font-family: "Montserrat", sans-serif;}
.phone--big{font-size:20px}







/* Normal state: links stretched across full width */





/* Sticky state: compact nav + actions on the right */











.btn{
  border:1px solid transparent;
  border-radius:12px;
  padding:17px 17px;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.2px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  color:#fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 12px 26px rgba(23,116,212,.25);
}
.btn--primary:hover{box-shadow: 0 16px 32px rgba(23,116,212,.30)}
.btn--ghost{
  background:#fff;
  border-color: var(--line);
  box-shadow: var(--shadow2);
  color: rgba(13,27,42,.9);
}
.btn--ghost:hover{background: rgba(255,255,255,.75)}
.btn--lg{padding:13px 16px; border-radius:13px}
.btn--sm{padding:8px 12px; border-radius:10px; font-size:13px}

.link{
  border:0;
  background:transparent;
  padding:0;
  color: var(--primary);
  cursor:pointer;
  font-weight:800;
}

.section{padding:54px 0}
.section--alt{background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(244,247,251,.55));}
.section__head{margin-bottom:22px}
.kicker{color:var(--primary); font-weight:800; font-size:13px}
.muted{color:var(--muted)}
.tiny{font-size:12px}
.h1{font-size:44px; line-height:1.06; margin:12px 0}
.h2{font-size:28px; line-height:1.18; margin:0 0 10px}
.h3{font-size:18px; margin:0 0 12px; font-weight:800}

.lead{font-size:16px; color:rgba(13,27,42,.78); max-width:52ch}
.u-accent{color:var(--primary)}
















.mini__title{font-weight:900}
.mini__text{color:var(--muted); font-size:13px; max-width:34ch}


.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}








.list{list-style:none; padding:0; margin:14px 0 0; display:grid; gap:10px}
.list li{display:flex; gap:10px; align-items:flex-start; color:rgba(13,27,42,.86); font-weight:700}
.list img{width:18px;height:18px; margin-top:2px}












.grid{display:grid; gap:10px}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}

.opt{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(244,247,251,.55);
  cursor:pointer;
  font-weight:800;
  color: rgba(13,27,42,.9);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.opt:hover{background: rgba(23,116,212,.06); border-color: rgba(23,116,212,.20)}
.opt input{accent-color: var(--primary)}
.opt:has(input:checked){
  background: rgba(23,116,212,.10);
  border-color: rgba(23,116,212,.35);
}


.field{display:flex; flex-direction:column; gap:8px}
.field span{font-size:12px; color:rgba(13,27,42,.75); font-weight:800}
.field input, .field textarea{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  background:#fff;
  outline:none;
}
.field input:focus, .field textarea:focus{box-shadow: 0 0 0 6px var(--ring); border-color: rgba(23,116,212,.35)}
.field--full{grid-column: 1 / -1}
.check{flex-direction:row; align-items:flex-start; gap:10px}
.check input{margin-top:3px; accent-color: var(--primary)}

.done{padding:26px; text-align:center}
.done__icon{
  width:54px;height:54px;
  margin:0 auto 10px;
  border-radius:18px;
  display:grid; place-items:center;
  background: rgba(23,116,212,.10);
  color: var(--primary);
  font-weight:900;
  font-size:22px;
}





.cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
















.tableWrap{padding:14px}
.tableWrap__head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; padding-bottom:10px}
.tableWrap__foot{display:flex; justify-content:flex-end; padding-top:10px}
.table{width:100%; border-collapse:collapse; font-weight:800}
.table th,.table td{padding:10px 8px; border-bottom:1px solid rgba(230,237,246,.85)}
.table th{font-size:12px; color:rgba(13,27,42,.7); text-transform:uppercase; letter-spacing:.8px}
.t-right{text-align:right}
.is-extra{display:none}



.step{padding:16px}
.step__num{font-weight:900; color:rgba(13,27,42,.45)}
.step__title{font-weight:900; margin-top:8px}
.step__text{color:var(--muted); font-size:13px; margin-top:6px}




































/* responsive */
@media (max-width: 980px){
  
  .h1{font-size:38px}
  
  .cards{grid-template-columns: repeat(2, minmax(0,1fr))}
  
  
  
  
}
@media (max-width: 640px){
  
  
  
  
  
  /* Sticky on mobile: hide logo/brand, keep actions */
  
  
  .h1{font-size:32px}
  
  
  .grid--2, .grid--3{grid-template-columns:1fr}
  
  
  .phone{font-size:14px}
}


@media (prefers-reduced-motion: reduce){
  
}


/* ===== assets/css/blocks/header.css ===== */
.header{
  position:relative;
  z-index:50;
  background: rgba(244,247,251,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230,237,246,.7);
}

.header__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:5px;
}

.brand__mark{
  width:auto;
  height:auto;
  display:block;
  box-shadow:none;
  font-weight:inherit;
}

:root{
  --logo-h: 60px;
  --container-max: 1350px;
  --container-pad: 16px;
  --m-header-h: 68px;
}

.brand__logo{
  display:block;
  height:var(--logo-h);
  width:auto;
  object-fit:contain;
  background:transparent;
}

.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand__name{
  font-weight:800;
  letter-spacing:.4px;
  font-size:26.35px;
}

.brand__accent{
  color:var(--primary);
}

.brand__tag{
  font-size:12.5px;
  color:var(--muted);
  font-weight:600;
  text-transform:uppercase;
}

.header__actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.header__mobile-phone{
  display:none;
  align-items:center;
  justify-content:center;
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(23,116,212,.16);
  background:linear-gradient(180deg, rgba(23,116,212,.09), rgba(23,116,212,.04));
  color:#1f2d3d;
  font-size:11.5px;
  line-height:1;
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
  box-shadow:0 6px 16px rgba(16, 24, 40, .06);
}


.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow2);
  cursor:pointer;
  padding:0;
}

.burger span{
  display:block;
  width:18px;
  height:2px;
  background:#1b2a44;
  margin:4px auto;
  border-radius:999px;
}

.nav{
  border-top:1px solid rgba(230,237,246,.7);
}

.nav__inner{
  display:flex;
  gap:18px;
  padding:10px var(--container-pad);
  overflow:auto;
  width:100%;
  max-width:var(--container-max);
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}

.nav__links{
  display:flex;
  width:100%;
  gap:24px;
  justify-content:space-between;
  align-items:center;
}

.nav__actions{
  display:none;
  align-items:center;
  gap:12px;
}

.nav__links .nav__link{
  flex:0 1 auto;
  text-align:center;
}

.nav__link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:17px;
  line-height:1.2;
  color:rgba(13,27,42,.85);
  padding:8px 0;
  border-radius:0;
  white-space:nowrap;
  background:transparent;
  transition:
    transform .22s ease,
    color .22s ease,
    opacity .22s ease;
  
}

.nav__link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:2px;
  width:100%;
  height:2px;
  border-radius:999px;
  background:var(--primary);
  transform:scaleX(.25);
  transform-origin:center;
  opacity:0;
  transition:
    transform .22s ease,
    opacity .22s ease;
}

.nav__link:hover{
  color:var(--primary);
  transform:translateY(-2px);
  background:transparent;
}

.nav__link:hover::after{
  transform:scaleX(1);
  opacity:1;
}

.nav__link--cta{
  background:transparent;
  color:rgba(13,27,42,.85);
}

.nav__link--cta:hover{
  color:var(--primary);
  background:transparent;
}

.burger--sticky,
.nav__close,
.nav__mobile-footer{
  display:none;
}

.header-sticky{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:60;
  background:rgba(244,247,251,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(230,237,246,.7);
  box-shadow:0 18px 40px rgba(15,25,40,.12);
  transform:translateY(-115%);
  opacity:0;
  pointer-events:none;
  will-change:transform, opacity;
  transition:transform .55s cubic-bezier(.16,1,.3,1), opacity .55s cubic-bezier(.16,1,.3,1);
}

.header-sticky.is-show{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}

/* скрываем верхнюю часть клона на ПК sticky */
.header-sticky .header__top{
  display:none;
}

.header-sticky .nav{
  display:block;
  border-top:none;
}

.header-sticky .nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  overflow:visible;
  padding:14px var(--container-pad);
}

.header-sticky .nav__links{
  display:flex;
  width:auto;
  gap:26px;
  justify-content:flex-start;
  align-items:center;
  flex:1 1 auto;
}

.header-sticky .nav__links .nav__link{
  flex:0 0 auto;
  text-align:left;
}

.header-sticky .nav__actions{
  display:flex;
  flex:0 0 auto;
  flex-direction:row;
  align-items:center;
  gap:12px;
}

.header-sticky .burger--sticky{
  display:none;
}

/* tablet sticky header */
@media (min-width: 641px) and (max-width: 1200px){
  .header-sticky{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:9999 !important;
    background:#fff !important;
    border-bottom:1px solid rgba(230,237,246,.95) !important;
    box-shadow:0 12px 28px rgba(15,25,40,.10) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    transform:none !important;
    opacity:0 !important;
    pointer-events:none !important;
    display:block !important;
    visibility:hidden !important;
    transition:opacity .2s ease !important;
  }

  .header-sticky.is-show{
    opacity:1 !important;
    pointer-events:auto !important;
    visibility:visible !important;
  }

  .header-sticky .header__top{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:10px 0 !important;
    gap:12px !important;
    min-height:64px !important;
  }

  .header-sticky .container{
    display:flex !important;
    align-items:center !important;
  }

  .header-sticky .brand{
    gap:10px !important;
    min-width:0 !important;
    flex:0 1 auto !important;
  }

  .header-sticky .brand__logo{
    height:46px !important;
    width:auto !important;
    flex:0 0 auto !important;
  }

  .header-sticky .brand__name{
    font-size:20px !important;
    letter-spacing:.2px !important;
    white-space:nowrap !important;
    line-height:1 !important;
  }

  .header-sticky .brand__tag{
    font-size:9px !important;
    white-space:nowrap !important;
    line-height:1.1 !important;
  }

  .header-sticky .header__actions{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex:0 0 auto !important;
    margin-left:auto !important;
  }

  .header-sticky .header__actions .phone{
    display:inline-flex !important;
    align-items:center !important;
    white-space:nowrap !important;
    font-size:14px !important;
    line-height:1 !important;
    padding:0 !important;
  }

  .header-sticky .header__actions .btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:40px !important;
    padding:10px 14px !important;
    border-radius:10px !important;
    font-size:12px !important;
    white-space:nowrap !important;
  }

  .header-sticky .header__actions .burger{
    display:grid !important;
    place-items:center !important;
    width:40px !important;
    height:26px !important;
    border:none !important;
    background:transparent !important;
    box-shadow:none !important;
    border-radius:10px !important;
    -webkit-tap-highlight-color:transparent !important;
    flex:0 0 auto !important;
    padding:0 !important;
  }
.header-sticky .nav__actions {
    margin-top: 25px;
    flex-direction: column;
}
  .header-sticky .header__actions .burger span{
    display:block !important;
    width:24px !important;
    height:3px !important;
    margin:3px 0 !important;
    background:#1d7fe5 !important;
    border-radius:999px !important;
  }

  .header-sticky .nav{
    position:fixed !important;
    inset:0 !important;
    border-top:none !important;
    background:rgba(13,27,42,.42) !important;
    opacity:0 !important;
    pointer-events:none !important;
    transition:opacity .24s ease !important;
    z-index:10000 !important;
    display:block !important;
    visibility:hidden !important;
  }

  .header-sticky .nav.is-open{
    opacity:1 !important;
    pointer-events:auto !important;
    visibility:visible !important;
  }

  .header-sticky .nav__inner{
    position:absolute !important;
    top:0 !important;
    right:0 !important;
    height:100dvh !important;
    min-height:100% !important;
    width:min(420px, 86vw) !important;
    padding:22px 22px 26px !important;
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    background:#eef3f8 !important;
    overflow:auto !important;
    transform:translateX(105%) !important;
    transition:transform .32s cubic-bezier(.16,1,.3,1) !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box !important;
    justify-content:flex-start !important;
    align-items:stretch !important;
  }

  .header-sticky .nav.is-open .nav__inner{
    transform:translateX(0) !important;
  }

  .header-sticky .nav__close{
    display:block !important;
    position:absolute !important;
    top:14px !important;
    right:14px !important;
    width:38px !important;
    height:38px !important;
    border:none !important;
    background:transparent !important;
    cursor:pointer !important;
  }

  .header-sticky .nav__close::before,
  .header-sticky .nav__close::after{
    content:"" !important;
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:22px !important;
    height:2px !important;
    background:rgba(13,27,42,.55) !important;
    border-radius:999px !important;
    transform-origin:center !important;
  }

  .header-sticky .nav__close::before{
    transform:translate(-50%,-50%) rotate(45deg) !important;
  }

  .header-sticky .nav__close::after{
    transform:translate(-50%,-50%) rotate(-45deg) !important;
  }

  .header-sticky .nav__links{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    margin-top:26px !important;
    justify-content:flex-start !important;
    align-items:stretch !important;
    flex: unset;
  }

  .header-sticky .nav__links .nav__link{
    flex:0 !important;
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    text-align:left !important;
    font-size:25px !important;
    line-height:1.35 !important;
    padding:4px 0 !important;
    border-radius:0 !important;
    color:rgba(13,27,42,.78) !important;
  }
.phone{
  font-weight: 700;
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
}
.header-sticky .nav__actions{
  align-items: flex-start;
}
  .header-sticky .nav__links .nav__link:hover{
    background:transparent !important;
    color:rgba(13,27,42,.95) !important;
    transform:none !important;
  }

  .header-sticky .nav__links .nav__link::after{
    display:none !important;
  }

  .header-sticky .nav__link--cta{
    background:transparent !important;
    color:rgba(13,27,42,.78) !important;
  }

  .header-sticky .nav__phone{
    font-weight:800 !important;
    font-size:17px !important;
    line-height:1.25 !important;
    color:rgba(13,27,42,.96) !important;
    letter-spacing:.1px !important;
  }

  .header-sticky .nav__btn{
    width:100% !important;
    max-width:230px !important;
    min-height:46px !important;
    padding:12px 18px !important;
    font-size:15px !important;
    border-radius:8px !important;
    justify-content:center !important;
  }
}

/* mobile */
@media (max-width: 640px){
  :root{
    --logo-h: 35px;
    --m-header-h: 68px;
  }

  html,
  body{
    overflow-x:hidden;
  }

  body{
    padding-top:var(--m-header-h);
  }

  .header{
    position:fixed;
    inset:0 0 auto 0;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:9999;
    background:#fff;
    border-bottom:1px solid rgba(230,237,246,.95);
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    transform:none !important;
    filter:none !important;
    will-change:auto !important;
    contain:none !important;
  }

  .header__top{
    height:var(--m-header-h);
    padding:0;
    gap:10px;
  }

  .header .container{
    min-height:var(--m-header-h);
    display:flex;
    align-items:center;
  }

  .brand{
    min-width:0;
  }

  .brand__name{
    font-size:15px;
    letter-spacing:.2px;
    white-space:nowrap;
  }

  .brand__tag{
    font-size:7.46px;
    white-space:nowrap;
  }

  .header__actions .phone,
  .header__actions .btn{
    display:none !important;
  }

  .header__mobile-phone{
    display:inline-flex;
  }

  .burger{
    display:grid;
    place-items:center;
    width:42px;
    height:27px;
    border:none;
    background:transparent;
    box-shadow:none;
    border-radius:10px;
    -webkit-tap-highlight-color:transparent;
    flex:0 0 auto;
  }

  .burger span{
    width:26px;
    height:3px;
    margin:3px 0;
    background:#1d7fe5;
    border-radius:999px;
  }


  @media (max-width: 390px){
    .header__top{
      gap:8px;
    }

    .brand{
      gap:8px;
    }

    .brand__name{
      font-size:14px;
    }

    .header__mobile-phone{
      font-size:10.5px;
      padding:6px 8px;
    }

    .burger{
      width:40px;
    }

    .burger span{
      width:24px;
    }
  }

  .nav{
    position:fixed;
    inset:0;
    border-top:none;
    background:rgba(13,27,42,.42);
    opacity:0;
    pointer-events:none;
    transition:opacity .24s ease;
    z-index:10000;
  }

  .nav.is-open{
    opacity:1;
    pointer-events:auto;
  }

  .nav__inner{
    position:absolute;
    top:0;
    right:0;
    height:100dvh;
    min-height:100%;
    width:min(86vw, 330px);
    padding:22px 22px 26px;
    display:flex;
    flex-direction:column;
    gap:0;
    background:#eef3f8;
    overflow:auto;
    transform:translateX(105%);
    transition:transform .32s cubic-bezier(.16,1,.3,1);
    max-width:none;
    margin:0;
    box-sizing:border-box;
    justify-content:flex-start;
    align-items:stretch;
  }

  .nav.is-open .nav__inner{
    transform:translateX(0);
  }

  .nav__close{
    display:block;
    position:absolute;
    top:14px;
    right:14px;
    width:38px;
    height:38px;
    border:none;
    background:transparent;
    cursor:pointer;
  }

  .nav__close::before,
  .nav__close::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:22px;
    height:2px;
    background:rgba(13,27,42,.55);
    border-radius:999px;
    transform-origin:center;
  }

  .nav__close::before{
    transform:translate(-50%,-50%) rotate(45deg);
  }

  .nav__close::after{
    transform:translate(-50%,-50%) rotate(-45deg);
  }

  .nav__links{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:26px;
    justify-content:flex-start;
    align-items:stretch;
  }

  .nav__links .nav__link{
    flex:0;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    text-align:left;
    font-size:17px;
    line-height:1.35;
    padding:4px 0;
    border-radius:0;
    color:rgba(13,27,42,.78);
  }

  .nav__links .nav__link:hover{
    background:transparent;
    color:rgba(13,27,42,.95);
    transform:none;
  }

  .nav__links .nav__link::after{
    display:none;
  }

  .nav__link--cta{
    background:transparent;
    color:rgba(13,27,42,.78);
  }

  .nav__mobile-footer{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:22px;
    padding-top:6px;
    align-items:flex-start;
  }

  .nav__phone{
    font-weight:800;
    font-size:17px;
    line-height:1.25;
    color:rgba(13,27,42,.96);
    letter-spacing:.1px;
  }

  .nav__btn{
    width:100%;
    max-width:230px;
    min-height:46px;
    padding:12px 18px;
    font-size:15px;
    border-radius:8px;
    justify-content:center;
  }

  .nav__actions{
    display:none !important;
  }

  .header-sticky{
    display:none !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .nav,
  .nav__inner,
  .header-sticky,
  .nav__link,
  .nav__link::after{
    transition:none !important;
  }
}

/* ===== assets/css/blocks/hero.css ===== */
:root{
  /* =========================
     HERO HEIGHT
     ========================= */

  /* высота hero на ПК */
  --hero-height-desktop: 470px;

  /* высота hero на планшете */
  --hero-height-tablet: 410px;

  /* высота hero на мобиле */
  --hero-height-mobile: auto;


  /* =========================
     HERO CTA OFFSET
     ========================= */

  /* нижний отступ слева до кнопок на ПК */
  --hero-cta-offset-desktop: 0px;

  /* нижний отступ слева до кнопок на планшете */
  --hero-cta-offset-tablet: 0px;


  /* =========================
     HERO BUTTONS - DESKTOP / TABLET
     ========================= */

  /* ширина кнопок в hero на ПК/планшете */
  --hero-btn-width: 290px;

  /* высота кнопок в hero на ПК/планшете */
  --hero-btn-height: 88px;

  /* размер текста в кнопках на ПК/планшете */
  --hero-btn-font: 21px;

  /* скругление кнопок на ПК/планшете */
  --hero-btn-radius: 14px;

  /* расстояние между кнопками на ПК/планшете */
  --hero-btn-gap: 17px;


  /* =========================
     HERO BUTTONS - MOBILE
     ========================= */

  /* высота кнопок в hero на мобиле */
  --hero-btn-height-mobile: 58px;

  /* размер текста в кнопках на мобиле */
  --hero-btn-font-mobile: 17px;

  /* горизонтальные внутренние отступы кнопок на мобиле */
  --hero-btn-padding-x-mobile: 18px;

  /* расстояние между кнопками на мобиле */
  --hero-btn-gap-mobile: 10px;

  /* верхний отступ блока кнопок на мобиле */
  --hero-cta-margin-top-mobile: 22px;


  /* =========================
     BADGES / ПРЕИМУЩЕСТВА
     ========================= */

  /* размер иконок преимуществ */
  --badge-icon-size: 90px;

  /* размер заголовка в преимуществах */
  --badge-title-size: 21px;

  /* размер описания в преимуществах */
  --badge-text-size: 18px;

  /* расстояние между 4 преимуществами на ПК */
  --badge-gap: 19px;

  /* расстояние между преимуществами на мобиле */
  --badge-gap-mobile: 10px;

  /* верхний отступ блока преимуществ на ПК */
  --badge-margin-top-desktop: 35px;

  /* верхний отступ блока преимуществ на планшете */
  --badge-margin-top-tablet: 16px;

  /* верхний отступ блока преимуществ на мобиле */
  --badge-margin-top-mobile: 14px;

  /* размер заголовка преимущества на мобиле */
  --badge-title-size-mobile: 19px;

  /* размер описания преимущества на мобиле */
  --badge-text-size-mobile: 16px;


  /* =========================
     DESKTOP TEXT CONTROL
     ========================= */

  /* размер заголовка hero только на ПК */
  --hero-title-size-desktop: 58px;

  /* размер описания hero только на ПК */
  --hero-lead-size-desktop: 26px;


  /* =========================
     TABLET / MOBILE TEXT CONTROL
     ========================= */

  /* максимальная ширина заголовка hero на планшете */
  --hero-title-max-width-tablet: 14ch;

  /* размер заголовка hero на планшете */
  --hero-title-size-tablet: clamp(34px, 4.1vw, 48px);

  /* размер текста описания hero на планшете */
  --hero-lead-size-tablet: 19px;

  /* максимальная ширина текста описания hero на планшете */
  --hero-lead-max-width-tablet: 34ch;

  /* максимальная ширина заголовка hero на мобиле */
  --hero-title-max-width-mobile: none;

  /* отступы заголовка hero на мобиле */
  --hero-title-margin-mobile: 16px 0 12px;

  /* размер заголовка hero на мобиле */
  --hero-title-size-mobile: clamp(34px, 9vw, 42px);

  /* межбуквенное расстояние заголовка hero на мобиле */
  --hero-title-letter-spacing-mobile: -1px;

  /* максимальная ширина текста описания hero на мобиле */
  --hero-lead-max-width-mobile: none;

  /* размер текста описания hero на мобиле */
  --hero-lead-size-mobile: 16px;

  /* высота строки текста описания hero на мобиле */
  --hero-lead-line-height-mobile: 1.5;


  /* =========================
     PILL / ПЛАШКА
     ========================= */

  /* размер текста pill на мобиле */
  --pill-font-mobile: 12px;

  /* внутренние отступы pill на мобиле */
  --pill-padding-mobile: 8px 12px;


  /* =========================
     HERO SECTION SPACING
     ========================= */

  /* отступы секции hero на ПК */
  --hero-padding-desktop: 40px 0 26px;

  /* отступы секции hero на планшете */
  --hero-padding-tablet: 28px 0 18px;

  /* отступы секции hero на мобиле */
  --hero-padding-mobile: 20px 0 10px;


  /* =========================
     HERO GRID
     ========================= */

  /* расстояние между левой и правой частью на ПК */
  --hero-grid-gap-desktop: 34px;

  /* расстояние между левой и правой частью на планшете */
  --hero-grid-gap-tablet: 22px;

  /* расстояние между блоками на мобильной раскладке */
  --hero-grid-gap-mobile: 22px;

  /* колонки hero на ПК */
  --hero-grid-columns-desktop: minmax(0, 1fr) minmax(0, 1.08fr);

  /* колонки hero на планшете */
  --hero-grid-columns-tablet: minmax(0, .94fr) minmax(0, 1.06fr);

  /* колонки hero на мобиле */
  --hero-grid-columns-mobile: 1fr;


  /* =========================
     HERO MINI CARD
     ========================= */

  /* колонки нижнего блока справа на ПК */
  --hero-mini-columns-desktop: 364px minmax(0,1fr) auto;

  /* расстояние между элементами нижнего блока справа на ПК */
  --hero-mini-gap-desktop: 18px;

  /* внутренние отступы нижнего блока справа на ПК */
  --hero-mini-padding-desktop: 22px 22px 24px;

  /* колонки нижнего блока справа на планшете */
  --hero-mini-columns-tablet: 1fr;

  /* расстояние между элементами нижнего блока справа на планшете */
  --hero-mini-gap-tablet: 12px;

  /* внутренние отступы нижнего блока справа на планшете */
  --hero-mini-padding-tablet: 18px;

  /* расстояние между элементами нижнего блока справа на мобиле */
  --hero-mini-gap-mobile: 10px;

  /* внутренние отступы нижнего блока справа на мобиле */
  --hero-mini-padding-mobile: 16px;

  /* размер заголовка нижнего блока справа на ПК */
  --hero-mini-title-size-desktop: 24px;

  /* размер заголовка нижнего блока справа на мобиле */
  --hero-mini-title-size-mobile: 20px;

  /* размер текста нижнего блока справа на ПК */
  --hero-mini-text-size-desktop: 16px;

  /* размер текста нижнего блока справа на мобиле */
  --hero-mini-text-size-mobile: 18px;

  /* высота строки текста нижнего блока справа на мобиле */
  --hero-mini-text-line-height-mobile: 1.45;


  /* =========================
     HERO MINI BUTTON
     ========================= */

  /* минимальная ширина кнопки "Рассчитать" на ПК */
  --hero-mini-btn-min-width-desktop: 160px;

  /* минимальная ширина кнопки "Рассчитать" на планшете */
  --hero-mini-btn-min-width-tablet: 180px;

  /* минимальная высота кнопки "Рассчитать" */
  --hero-mini-btn-min-height: 56px;

  /* минимальная высота кнопки "Рассчитать" на мобиле */
  --hero-mini-btn-min-height-mobile: 54px;

  /* внутренние отступы кнопки "Рассчитать" */
  --hero-mini-btn-padding: 14px 24px;

  /* скругление кнопки "Рассчитать" */
  --hero-mini-btn-radius: 13px;

  /* размер текста кнопки "Рассчитать" на ПК */
  --hero-mini-btn-font-desktop: 20px;

  /* размер текста кнопки "Рассчитать" на мобиле */
  --hero-mini-btn-font-mobile: 18px;


  /* =========================
     HERO PHOTO
     ========================= */

  /* минимальная высота фото на планшете/мобиле до 1200 */
  --hero-photo-min-height-tablet-mobile: 280px;

  /* минимальная высота фото на мобиле */
  --hero-photo-min-height-mobile: 250px;


  /* =========================
     HERO CARD / RADIUS
     ========================= */

  /* скругление правой карточки на ПК */
  --hero-card-radius-desktop: 28px;

  /* скругление правой карточки на мобиле */
  --hero-card-radius-mobile: 22px;


  /* =========================
     HERO GLOW
     ========================= */

  /* размер glow на ПК */
  --hero-glow-size-desktop: 200px;

  /* позиция glow на ПК */
  --hero-glow-inset-desktop: -28px -24px auto auto;

  /* размер glow на мобиле */
  --hero-glow-size-mobile: 150px;

  /* позиция glow на мобиле */
  --hero-glow-inset-mobile: -18px -12px auto auto;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(23,116,212,.10);
  color: var(--primary);
  font-weight:800;
  font-size:14px;
  line-height:1.2;
}

.hero{
  position: relative;
  padding:var(--hero-padding-desktop);
  margin: 12px 0 22px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(720px 320px at 8% 6%, rgba(73,166,255,.12), transparent 62%),
    radial-gradient(640px 300px at 92% 12%, rgba(23,116,212,.10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(245,249,255,.92));
  border: 1px solid rgba(95, 149, 214, .16);
  box-shadow:
    0 20px 60px rgba(11,18,32,.06),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 18%),
    radial-gradient(520px 160px at 50% 100%, rgba(23,116,212,.07), transparent 70%);
}

.hero::after{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(23,116,212,.16), transparent);
  pointer-events:none;
}

.hero > .container{
  position: relative;
  z-index: 1;
}

.hero__grid{
  display:grid;
  grid-template-columns: var(--hero-grid-columns-desktop);
  gap:var(--hero-grid-gap-desktop);
  align-items:stretch;
}

.hero__content{
  min-height:var(--hero-height-desktop);
  height:auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding-bottom:var(--hero-cta-offset-desktop);
}

.hero__content .h1{
  margin:18px 0 14px;
  max-width:19ch;
  font-size: clamp(44px, 4vw, 62px);
  line-height:.95;
  letter-spacing:-1.6px;
}

.hero__content .lead{
  max-width:52ch;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height:1.4;
  margin:10px 0 0 0;
}

.hero__cta{
  margin-top:auto;
  display:grid;
  grid-template-columns: repeat(2, var(--hero-btn-width));
  gap:var(--hero-btn-gap);
}

.hero__cta .btn{
  width:100%;
  height:var(--hero-btn-height);
  min-height:var(--hero-btn-height);
  padding:0 22px;
  font-size:var(--hero-btn-font);
  border-radius:var(--hero-btn-radius);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero__cta .btn--primary{
  box-shadow: 0 16px 32px rgba(23,116,212,.22);
}

.hero__cta .btn--ghost{
  background: rgba(255,255,255,.88);
}

.hero__badges{
  margin-top:var(--badge-margin-top-desktop);
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:var(--badge-gap);
}

.badge{
  display:flex;
  align-items:center;
  gap:10px;
  background:none;
  border:none;
  box-shadow:none;
  border-radius:0;
  padding:0;
  min-height:auto;
}

.badge img{
  width:var(--badge-icon-size);
  height:var(--badge-icon-size);
  flex:0 0 var(--badge-icon-size);
  margin-top:2px;
}

.badge__title{
  font-weight:800;
  font-size:var(--badge-title-size);
  line-height:1.2;
  margin-bottom:2px;
}

.badge__text{
  font-size:var(--badge-text-size);
  color:var(--muted);
  font-weight:500;
  line-height:1.3;
}

.hero__media{
  position:relative;
  height:100%;
  min-width:0;
}

.hero__card{
  min-height:var(--hero-height-desktop);
  height:auto;
  display:grid;
  grid-template-rows: minmax(0,1fr) auto;
  background:#fff;
  border:1px solid rgba(230,237,246,.92);
  border-radius:var(--hero-card-radius-desktop);
  box-shadow:
    0 18px 36px rgba(11,18,32,.08),
    0 4px 14px rgba(11,18,32,.04);
  overflow:hidden;
}

.hero__photo{
  min-height:0;
  height:100%;
  background:
    url("/assets/img/hero-roof.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0e1c2f, #1a2b44);
}

.hero__mini{
  display:grid;
  grid-template-columns: var(--hero-mini-columns-desktop);
  align-items:center;
  gap:var(--hero-mini-gap-desktop);
  padding:var(--hero-mini-padding-desktop);
  background: rgba(255,255,255,.98);
}

.mini__title{
  font-weight:900;
  font-size:var(--hero-mini-title-size-desktop);
  line-height:1.15;
  color: var(--text);
}

.mini__text{
  color:var(--muted);
  font-size:var(--hero-mini-text-size-desktop);
  line-height:1.38;
  max-width:34ch;
  margin:0;
}

.hero__mini-btn{
  min-height:var(--hero-mini-btn-min-height);
  min-width:var(--hero-mini-btn-min-width-desktop);
  padding:var(--hero-mini-btn-padding);
  border-radius:var(--hero-mini-btn-radius);
  font-size:var(--hero-mini-btn-font-desktop);
  font-weight:900;
  white-space:nowrap;
  box-shadow: 0 14px 28px rgba(23,116,212,.22);
}

.hero__glow{
  position:absolute;
  inset:var(--hero-glow-inset-desktop);
  width:var(--hero-glow-size-desktop);
  height:var(--hero-glow-size-desktop);
  border-radius:999px;
  filter: blur(14px);
  pointer-events:none;
}

/* ===== FIX ONLY FOR DESKTOP ===== */
@media (min-width: 1201px){
  .hero__content .h1{
    font-size:var(--hero-title-size-desktop);
  }

  .hero__content .lead{
    font-size:var(--hero-lead-size-desktop);
  }
}

/* ===== TABLET ONLY: 641px - 1200px ===== */
@media (min-width: 641px) and (max-width: 1200px){
  .hero{
    padding:var(--hero-padding-tablet);
    margin: 10px 0 18px;
    border-radius: 28px;
  }

  .hero__grid{
    grid-template-columns: var(--hero-grid-columns-tablet);
    gap:var(--hero-grid-gap-tablet);
    align-items:stretch;
  }

  .hero__content{
    min-height:var(--hero-height-tablet);
    padding-bottom:var(--hero-cta-offset-tablet);
  }

  .hero__card{
    min-height:var(--hero-height-tablet);
  }

  .hero__content .h1{
    max-width:var(--hero-title-max-width-tablet);
    font-size: var(--hero-title-size-tablet);
    line-height:.98;
    letter-spacing:-1.2px;

  }

  .hero__content .lead{
    max-width:var(--hero-lead-max-width-tablet);
    font-size:var(--hero-lead-size-tablet);
  }

  .hero__cta{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:12px;
    margin-top:auto;
  }

  .hero__cta .btn{
    min-height:60px;
    height:60px;
    font-size:17px;
    padding:0 16px;
  }

  .hero__photo{
    min-height:var(--hero-photo-min-height-tablet-mobile);
  }

  .hero__mini{
    grid-template-columns: var(--hero-mini-columns-tablet);
    align-items:flex-start;
    gap:var(--hero-mini-gap-tablet);
    padding:var(--hero-mini-padding-tablet);
  }

  .mini__text{
    max-width:none;
    font-size:15px;
  }

  .hero__mini-btn{
    width:100%;
    min-width:var(--hero-mini-btn-min-width-tablet);
    justify-self:stretch;
  }

  .hero__badges{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:var(--badge-gap);
    margin-top:var(--badge-margin-top-tablet);
  }
}

@media (max-width: 640px){
  .pill{
    font-size:var(--pill-font-mobile);
    padding:var(--pill-padding-mobile);
  }

  .hero{
    padding:var(--hero-padding-mobile);
    margin: 8px 0 14px;
    border-radius: 22px;
  }

  .hero::after{
    left:16px;
    right:16px;
  }

  .hero__grid{
    grid-template-columns:var(--hero-grid-columns-mobile);
    gap:var(--hero-grid-gap-mobile);
  }

  .hero__content,
  .hero__card{
    min-height:var(--hero-height-mobile);
    height:auto;
  }

  .hero__content{
    padding-bottom:0;
  }

  .hero__content .h1{
    max-width:var(--hero-title-max-width-mobile);
    margin:var(--hero-title-margin-mobile);
    font-size: var(--hero-title-size-mobile);
    line-height:1;
    letter-spacing:var(--hero-title-letter-spacing-mobile);
    text-align: center;
  }

  .hero__content .lead{
    max-width:var(--hero-lead-max-width-mobile);
    font-size:var(--hero-lead-size-mobile);
    line-height:var(--hero-lead-line-height-mobile);
    text-align: center;
  }

  .hero__cta{
    grid-template-columns:1fr;
    gap:var(--hero-btn-gap-mobile);
    margin-top:var(--hero-cta-margin-top-mobile);
  }

  .hero__cta .btn{
    width:100%;
    min-height:var(--hero-btn-height-mobile);
    height:var(--hero-btn-height-mobile);
    font-size:var(--hero-btn-font-mobile);
    padding:0 var(--hero-btn-padding-x-mobile);
  }

  .hero__badges{
    grid-template-columns:1fr;
    gap:var(--badge-gap-mobile);
    margin-top:var(--badge-margin-top-mobile);
  }

  .badge__title{
    font-size:var(--badge-title-size-mobile);
  }

  .badge__text{
    font-size:var(--badge-text-size-mobile);
  }

  .hero__card{
    border-radius:var(--hero-card-radius-mobile);
  }

  .hero__photo{
    min-height:var(--hero-photo-min-height-mobile);
  }

  .hero__mini{
    grid-template-columns:1fr;
    padding:var(--hero-mini-padding-mobile);
    gap:var(--hero-mini-gap-mobile);
  }

  .mini__title{
    font-size:var(--hero-mini-title-size-mobile);
  }

  .mini__text{
    font-size:var(--hero-mini-text-size-mobile);
    line-height:var(--hero-mini-text-line-height-mobile);
    text-align: center;
  }

  .hero__mini-btn{
    width:100%;
    min-width:0;
    min-height:var(--hero-mini-btn-min-height-mobile);
    font-size:var(--hero-mini-btn-font-mobile);
  }

  .hero__glow{
    width:var(--hero-glow-size-mobile);
    height:var(--hero-glow-size-mobile);
    inset:var(--hero-glow-inset-mobile);
  }
}

/* ===== assets/css/blocks/calc.css ===== */
.calc-section{
  --calc-person-photo-width: 380px;
  --calc-person-photo-height: 540px;

  padding-top: 44px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at top left, rgba(73,166,255,.10), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}

.calc-head{
  margin-bottom: 22px;
  text-align:center;
}

.calc-head__topline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-bottom:10px;
}

.calc-head__eyebrow{
  font-size:15px;
  line-height:1.35;
  font-weight:700;
  color:#1f2d3d;
}

.calc-head__title{
  margin:0 auto;
  max-width:980px;
  font-size:clamp(32px, 2.6vw, 54px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-0.02em;
  color:#0d2f57;
}

.calc-shell{
  display:grid;
  grid-template-columns:350px minmax(0, 1fr);
  gap:22px;
  align-items:stretch;
  padding:12px;
  border:4px solid #1774d4;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.86));
  box-shadow:
    0 18px 44px rgba(11,18,32,.10),
    inset 0 1px 0 rgba(255,255,255,.65);
}

.calc-side{
  display:flex;
  flex-direction:column;
  min-height:100%;
  border-radius:18px;
  background:#e5eef8;
  overflow:hidden;
}

.calc-side__photo{
  position:relative;
  min-height:350px;
  background:
    linear-gradient(135deg, rgba(73,166,255,.28), rgba(23,116,212,.10)),
    linear-gradient(180deg, #f6faff 0%, #dbe9f8 100%);
}

.calc-side__photo::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:var(--calc-person-photo-width);
  height:var(--calc-person-photo-height);
  background-image:url("/assets/img/calc/pers.webp");
  background-repeat:no-repeat;
  background-position:center bottom;
  background-size:contain;
  z-index:1;
  pointer-events:none;
}

.calc-side__photo::after{
  content:"";
  position:absolute;
  inset:14px 14px auto 14px;
  height:190px;
  border-radius:14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(227,237,251,.24)),
    repeating-linear-gradient(
      135deg,
      rgba(23,116,212,.05) 0 16px,
      rgba(255,255,255,.08) 16px 32px
    );
  box-shadow: inset 0 0 0 1px rgba(23,116,212,.10);
  z-index:0;
}

.calc-side__photo-badge{
position: absolute;
    left: 25%;
    bottom: 9px;
    transform: translateX(-12%);
    min-width: 158px;
    padding: 10px 19px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #1774d4, #49a6ff);
    box-shadow: 0 16px 30px rgba(23,116,212,.26);
    z-index: 2;
}

.calc-side__photo-name{
  font-size:27px;
  line-height:1;
  font-weight:800;
  margin-bottom:5px;
}

.calc-side__photo-role{
  font-size:14px;
  line-height:1.2;
  font-weight:600;
  opacity:.96;
}

.calc-side__content{
  display:flex;
  flex-direction:column;
  gap:24px;
  padding:24px 22px 22px;
  flex:1 1 auto;
}

.calc-side__text{
  margin:0;
  color:#133355;
  font-size:15px;
  line-height:1.5;
  font-weight:500;
}

.calc-side__benefits-title{
  font-size:16px;
  line-height:1.4;
  font-weight:800;
  color:#133355;
}

.calc-side__benefits{
  display:grid;
  gap:10px;
}

.calc-benefit{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(255,255,255,.52);
  border:1px solid rgba(23,116,212,.08);
}

.calc-benefit__icon{
  width:35px;
  height:35px;
  flex:0 0 auto;
}

.calc-benefit__text{
  color:#0d2f57;
  font-size:15px;
  line-height:1.3;
  font-weight:700;
}

.calc-main{
  min-width:0;
}

.calc-card{
  padding:22px 28px 26px;
  min-height:100%;
  border-radius:18px;
  border:1px solid rgba(23,116,212,.12);
  box-shadow:none;
  background:#f8fbff;
}

.calc-steps{
  margin-bottom:18px;
}

.calc-steps__label{
  margin-bottom:10px;
  font-size:15px;
  line-height:1.2;
  font-weight:700;
  color:#133355;
}

.calc-steps__bar{
  height:10px;
  border-radius:999px;
  background:#dbe8f5;
  overflow:hidden;
  position:relative;
}

.steps__progress{
  display:block;
  width:0;
  height:100%;
  border-radius:999px;
  background:
    linear-gradient(90deg, rgba(23,116,212,.98), rgba(102,184,255,.95)),
    repeating-linear-gradient(
      -55deg,
      rgba(255,255,255,.24) 0 8px,
      rgba(255,255,255,0) 8px 16px
    );
  background-size:100% 100%, 38px 100%;
  box-shadow:0 2px 12px rgba(23,116,212,.18);
  transition:width .55s cubic-bezier(.2,.8,.2,1);
  animation:calcProgressStripes 1.2s linear infinite;
}

@keyframes calcProgressStripes{
  from{
    background-position:0 0, 0 0;
  }
  to{
    background-position:0 0, 38px 0;
  }
}

.quiz{
  margin-top:0;
}

.quiz__step{
  display:none;
}

.quiz__step.is-active{
  display:block;
}

.calc-card__title{
  margin:0 0 8px;
  font-size:23px;
  line-height:1.15;
  font-weight:900;
  color:#0d2f57;
}

.calc-card__subtitle{
  margin:0 0 20px;
  font-size:16px;
  line-height:1.4;
  color:#5f738f;
  font-weight:500;
}

.calc-options-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px 22px;
}

.calc-option{
  display:flex;
  flex-direction:column;
  gap:10px;
  cursor:pointer;
  min-width:0;
  position:relative;
}

.calc-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.calc-option__media{
  display:block;
  width:100%;
  aspect-ratio:1.55 / 1;
  border-radius:12px;
  background:
    linear-gradient(135deg, rgba(73,166,255,.22), rgba(255,255,255,.18)),
    repeating-linear-gradient(
      135deg,
      rgba(23,116,212,.10) 0 14px,
      rgba(255,255,255,.22) 14px 28px
    );
  box-shadow:
    inset 0 0 0 1px rgba(23,116,212,.10),
    0 8px 22px rgba(11,18,32,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.calc-option__media--01{
  background-image:url("/assets/img/calc/1.webp");
}

.calc-option__media--02{
  background-image:url("/assets/img/calc/2.webp");
}

.calc-option__media--03{
  background-image:url("/assets/img/calc/3.webp");
}

.calc-option__media--04{
  background-image:url("/assets/img/calc/4.webp");
}

.calc-option__media--05{
  background-image:url("/assets/img/calc/5.webp");
}

.calc-option__media--06{
  position:relative;
  background-image:url("/assets/img/calc/6.webp");
}

.calc-option__line{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.calc-option__radio{
  position:relative;
  width:21px;
  height:21px;
  flex:0 0 auto;
  margin-top:1px;
  border-radius:50%;
  border:1.5px solid rgba(13,47,87,.42);
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.calc-option__text{
  color:#1d3557;
  font-size:16px;
  line-height:1.22;
  font-weight:500;
}

.calc-option:hover .calc-option__media{
  transform:translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(23,116,212,.14),
    0 12px 26px rgba(11,18,32,.09);
}

.calc-option input:checked + .calc-option__media{
  box-shadow:
    inset 0 0 0 2px rgba(23,116,212,.34),
    0 14px 28px rgba(23,116,212,.14);
}

.calc-option input:checked ~ .calc-option__line .calc-option__radio{
  border-color:#1774d4;
  box-shadow:0 0 0 4px rgba(23,116,212,.10);
}

.calc-option input:checked ~ .calc-option__line .calc-option__radio::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:#1774d4;
}

.calc-option input:checked ~ .calc-option__line .calc-option__text{
  color:#0d2f57;
}

.calc-card__bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-top:22px;
}

.calc-tip{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.calc-tip__icon{
  width:28px;
  height:28px;
  flex:0 0 auto;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 35%, #a9d7ff 0 28%, #49a6ff 29% 60%, #1774d4 61% 100%);
  box-shadow:0 6px 16px rgba(23,116,212,.20);
}

.calc-tip__text{
  padding-top:2px;
  color:#617892;
  font-size:14px;
  line-height:1.25;
  font-weight:500;
}

.calc-card__nav{
  margin-top:0;
}

.calc-next-btn{
  min-width:212px;
  min-height:58px;
  border-radius:12px;
  font-size:22px;
  font-weight:800;
  background:#1774d4;
  box-shadow:0 18px 30px rgba(23,116,212,.18);
}

.calc-next-btn:hover{
  background:#1568c7;
  box-shadow:0 18px 30px rgba(23,116,212,.18);
}

.calc-prev-btn{
  min-width:150px;
  min-height:58px;
  border-radius:12px;
  font-size:20px;
  font-weight:800;
}

.quiz__nav{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:18px;
  flex-wrap:wrap;
}

.quiz__nav--step2{
  margin-top:22px;
}

/* STEP 2 */
.calc-roof-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px 18px;
}

.calc-area-grid,
.calc-time-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}

.calc-roof-option{
  display:flex;
  flex-direction:column;
  gap:10px;
  cursor:pointer;
  min-width:0;
  position:relative;
}

.calc-roof-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.calc-roof-option__media{
  display:block;
  width:100%;
  aspect-ratio:1.75 / 1;
  border-radius:16px;
  background:
    linear-gradient(135deg, rgba(233,242,255,.96), rgba(166,205,255,.68)),
    repeating-linear-gradient(
      135deg,
      rgba(23,116,212,.08) 0 16px,
      rgba(255,255,255,.16) 16px 32px
    );
  box-shadow:
    inset 0 0 0 1px rgba(23,116,212,.10),
    0 8px 22px rgba(11,18,32,.06);
  transition:transform .18s ease, box-shadow .18s ease;
  position:relative;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.calc-roof-option__media::after{
  content:"";
  position:absolute;
  inset:auto -15% -26% auto;
  width:120px;
  height:120px;
  background:radial-gradient(circle, rgba(255,255,255,.32), transparent 65%);
  transform:rotate(-18deg);
}

.calc-roof-option__media--01{
  background-image:url("/assets/img/calc/7.webp");
}

.calc-roof-option__media--02{
  background-image:url("/assets/img/calc/8.webp");
}

.calc-roof-option__media--03{
  background-image:url("/assets/img/calc/9.webp");
}

.calc-roof-option__media--04{
  background-image:url("/assets/img/calc/10.webp");
}

.calc-roof-option__media--05{
  background-image:url("/assets/img/calc/11.webp");
}

.calc-roof-option__media--06{
  background-image:url("/assets/img/calc/12.webp");
}

.calc-roof-option__line{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:28px;
}

.calc-roof-option__radio{
  position:relative;
  width:20px;
  height:20px;
  flex:0 0 auto;
  border-radius:50%;
  border:1.5px solid rgba(13,47,87,.42);
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease;
}

.calc-roof-option__text{
  color:#1c3554;
  font-size:16px;
  line-height:1.22;
  font-weight:700;
}

.calc-roof-option:hover .calc-roof-option__media{
  transform:translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(23,116,212,.12),
    0 12px 26px rgba(11,18,32,.09);
}

.calc-roof-option input:checked + .calc-roof-option__media{
  box-shadow:
    inset 0 0 0 2px rgba(23,116,212,.34),
    0 14px 28px rgba(23,116,212,.14);
}

.calc-roof-option input:checked ~ .calc-roof-option__line .calc-roof-option__radio{
  border-color:#1774d4;
  box-shadow:0 0 0 4px rgba(23,116,212,.10);
}

.calc-roof-option input:checked ~ .calc-roof-option__line .calc-roof-option__radio::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:#1774d4;
}

.calc-roof-option input:checked ~ .calc-roof-option__line .calc-roof-option__text{
  color:#0d2f57;
}

.calc-list-options{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.calc-list-option{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
  border:1px solid rgba(23,116,212,.14);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,248,255,.96));
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.calc-list-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.calc-list-option__radio{
  position:relative;
  width:20px;
  height:20px;
  flex:0 0 auto;
  margin-top:1px;
  border-radius:50%;
  border:1.5px solid rgba(13,47,87,.42);
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease;
}

.calc-list-option__text{
  color:#1c3554;
  font-size:16px;
  line-height:1.3;
  font-weight:700;
}

.calc-list-option:hover{
  transform:translateY(-1px);
  border-color:rgba(23,116,212,.24);
  box-shadow:0 10px 22px rgba(11,18,32,.06);
}

.calc-list-option input:checked ~ .calc-list-option__radio{
  border-color:#1774d4;
  box-shadow:0 0 0 4px rgba(23,116,212,.10);
}

.calc-list-option input:checked ~ .calc-list-option__radio::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:#1774d4;
}

.calc-list-option input:checked ~ .calc-list-option__text{
  color:#0d2f57;
}

.calc-list-option:has(input:checked){
  border-color:rgba(23,116,212,.28);
  background:linear-gradient(180deg, rgba(245,249,255,.98), rgba(232,242,255,.98));
  box-shadow:0 12px 24px rgba(23,116,212,.08);
}

/* FORM STEP */
.calc-summary{
  display:grid;
  gap:10px;
  margin:0 0 18px;
  padding:16px 18px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(238,245,255,.95));
  border:1px solid rgba(23,116,212,.14);
}

.calc-summary__item{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:flex-start;
}

.calc-summary__label{
  color:#667f9d;
  font-size:14px;
  line-height:1.3;
  font-weight:700;
}

.calc-summary__value{
  color:#0d2f57;
  font-size:15px;
  line-height:1.3;
  font-weight:800;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field span{
  font-size:12px;
  color:rgba(13,27,42,.75);
  font-weight:800;
}

.field input,
.field textarea{
  border:1px solid rgba(23,116,212,.15);
  border-radius:14px;
  padding:12px 12px;
  background:#fff;
  outline:none;
}

.field input:focus,
.field textarea:focus{
  box-shadow:0 0 0 6px rgba(23,116,212,.12);
  border-color:rgba(23,116,212,.35);
}

.field--full{
  grid-column:1 / -1;
}

.check{
  flex-direction:row;
  align-items:flex-start;
  gap:10px;
}

.check input{
  margin-top:3px;
  accent-color:var(--primary);
}

.done{
  padding:26px;
  text-align:center;
}

.done__icon{
  width:54px;
  height:54px;
  margin:0 auto 10px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(23,116,212,.10);
  color:var(--primary);
  font-weight:900;
  font-size:22px;
}

/* tablet */
@media (max-width: 1200px){
  .calc-shell{
    grid-template-columns:1fr;
    gap:14px;
    padding:14px;
  }

  .calc-side{
    display:grid;
    grid-template-columns:minmax(220px, 290px) minmax(0, 1fr);
    align-items:stretch;
    min-height:260px;
    border-radius:20px;
    background:linear-gradient(135deg, #e9f2ff 0%, #dbe9fb 100%);
    border:1px solid rgba(23,116,212,.10);
    overflow:hidden;
  }

  .calc-side__photo{
    min-height:260px;
  }

  .calc-side__photo::before{
    width:290px;
    height:390px;
  }

  .calc-side__photo::after{
    inset:12px 12px auto 12px;
    height:150px;
  }

  .calc-side__photo-badge{
    left:18px;
    right:auto;
    bottom:16px;
    transform:none;
    min-width:0;
    max-width:calc(100% - 36px);
    padding:12px 16px;
    border-radius:16px;
  }

  .calc-side__photo-name{
    font-size:24px;
  }

  .calc-side__photo-role{
    font-size:13px;
  }

  .calc-side__content{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px 22px;
  }

  .calc-side__text{
    margin:0;
    max-width:600px;
    font-size:27px;
    line-height:1.5;
    font-weight:600;
  }

  .calc-side__benefits-title,
  .calc-side__benefits{
    display:none;
  }

  .calc-card{
    padding:18px 18px 22px;
    border-radius:18px;
  }

  .calc-head{
    margin-bottom:18px;
  }

  .calc-head__title{
    max-width:760px;
    font-size:44px;
  }

  .calc-options-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px 16px;
  }

  .calc-roof-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
  }

  .calc-option__text,
  .calc-roof-option__text{
    font-size:15px;
  }

  .calc-card__bottom{
    margin-top:18px;
  }

  .calc-tip__text{
    font-size:13px;
  }

  .calc-next-btn{
    min-width:188px;
    min-height:54px;
    font-size:20px;
  }

  .calc-prev-btn{
    min-width:132px;
    min-height:54px;
    font-size:18px;
  }
}

/* mobile */
@media (max-width: 767px){
  .calc-section{
    padding-top:32px;
    padding-bottom:48px;
  }

  .calc-shell{
    gap:10px;
  }

  .calc-side{
    grid-template-columns:1fr;
    min-height:0;
    border-radius:16px;
  }

  .calc-side__photo{
    min-height:350px;
  }

  .calc-side__photo::before{
    width:min(100%, 380px);
    height:380px;
  }

  .calc-side__photo::after{
    inset:10px 10px auto 10px;
    height:118px;
    border-radius:12px;
  }

  .calc-side__photo-badge{
    left:12px;
    bottom:12px;
    max-width:calc(100% - 24px);
    padding:11px 14px;
    border-radius:14px;
  }

  .calc-side__photo-name{
    font-size:22px;
    margin-bottom:4px;
  }

  .calc-side__photo-role{
    font-size:12px;
  }

  .calc-side__content{
    padding:14px 14px 16px;
    justify-content:flex-start;
  }

  .calc-side__text{
    max-width:none;
    font-size:14px;
    line-height:1.45;
  }

  .calc-head__topline{
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:8px;
  }

  .calc-head__icon{
    width:42px;
    height:22px;
    margin-top:1px;
  }

  .calc-head__icon span{
    width:16px;
    height:16px;
    border-width:1.5px;
  }

  .calc-head__icon span:nth-child(1){left:0; top:2px;}
  .calc-head__icon span:nth-child(2){left:9px; top:2px;}
  .calc-head__icon span:nth-child(3){left:18px; top:2px;}

  .calc-head__eyebrow{
    font-size:12px;
  }

  .calc-head__title{
    font-size:24px;
    max-width:340px;
  }

  .calc-shell{
    padding:8px;
    border-width:4px;
    border-radius:20px;
  }

  .calc-card{
    padding:14px 12px 16px;
    border-radius:16px;
  }

  .calc-steps{
    margin-bottom:16px;
  }

  .calc-steps__label{
    font-size:14px;
    margin-bottom:8px;
  }

  .calc-card__title{
    font-size:18px;
    margin-bottom:8px;
  }

  .calc-card__subtitle{
    font-size:14px;
    margin-bottom:14px;
  }

  .calc-options-grid,
  .calc-roof-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px 10px;
  }

  .calc-option,
  .calc-roof-option{
    gap:8px;
  }

  .calc-option__media,
  .calc-roof-option__media{
    border-radius:10px;
  }

  .calc-option__line,
  .calc-roof-option__line{
    gap:8px;
    align-items:flex-start;
  }

  .calc-option__radio,
  .calc-roof-option__radio{
    width:18px;
    height:18px;
    margin-top:1px;
  }

  .calc-option input:checked ~ .calc-option__line .calc-option__radio::after,
  .calc-roof-option input:checked ~ .calc-roof-option__line .calc-roof-option__radio::after{
    inset:3px;
  }

  .calc-option__text,
  .calc-roof-option__text{
    font-size:13px;
    line-height:1.18;
  }

  .calc-card__bottom{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    margin-top:16px;
  }

  .calc-tip{
    align-items:center;
  }

  .calc-tip__icon{
    width:24px;
    height:24px;
  }

  .calc-tip__text{
    font-size:12px;
    line-height:1.2;
  }

  .calc-card__nav{
    width:100%;
    justify-content:center;
  }

  .quiz__nav{
    gap:8px;
  }

  .quiz__nav .btn{
    flex:1 1 0;
  }

  .calc-next-btn,
  .calc-prev-btn{
    min-width:0;
    width:100%;
    min-height:52px;
    font-size:18px;
  }

  .grid--2,
  .grid--3{
    grid-template-columns:1fr;
  }

  .calc-summary{
    padding:14px;
    border-radius:14px;
  }

  .calc-list-options{
    gap:10px;
  }

  .calc-list-option{
    padding:14px 14px;
    gap:10px;
  }

  .calc-list-option__radio{
    width:18px;
    height:18px;
  }

  .calc-list-option input:checked ~ .calc-list-option__radio::after{
    inset:3px;
  }

  .calc-list-option__text{
    font-size:14px;
    line-height:1.25;
  }

  .calc-option,
  .calc-roof-option{
    overflow:visible;
    -webkit-tap-highlight-color: transparent;
  }
}

/* ===== assets/css/blocks/works.css ===== */
.section__head--center{
  text-align:center;
}
.section__head--center h2{
      margin: 0 auto;
    max-width: 980px;
    font-size: clamp(32px, 2.6vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0d2f57;
}
.gallery{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:10px;
}

.gallery__item{
  display:block;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
  aspect-ratio:4/3;
  position:relative;
}

.gallery__img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.gallery__item:hover .gallery__img{
  transform:scale(1.03);
}

.works-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
}

.works-lightbox.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.works-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.86);
}

.works-lightbox__ui,
.works-lightbox__stage,
.works-lightbox__thumbs-wrap{
  position:relative;
  z-index:2;
}

.works-lightbox__ui--top{
  position:absolute;
  top:16px;
  left:20px;
  right:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.works-lightbox__counter{
  color:#fff;
  font-size:22px;
  font-weight:700;
  line-height:1;
  letter-spacing:.02em;
}

.works-lightbox__close{
  width:44px;
  height:44px;
  border:none;
  background:transparent;
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.works-lightbox__stage{
  position:absolute;
  inset:72px 24px 122px;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform:scale(.98);
  transition:opacity .3s ease, transform .3s ease;
}

.works-lightbox.is-open .works-lightbox__stage{
  opacity:1;
  transform:scale(1);
}

.works-lightbox__content{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.works-lightbox__img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
}

.works-lightbox__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:56px;
  height:56px;
  border:none;
  background:transparent;
  color:#fff;
  font-size:54px;
  line-height:1;
  cursor:pointer;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.works-lightbox__nav--prev{
  left:8px;
}

.works-lightbox__nav--next{
  right:8px;
}

.works-lightbox__thumbs-wrap{
  position:absolute;
  left:0;
  right:0;
  bottom:16px;
  padding:0 96px;
}

.works-lightbox__thumbs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  padding:4px 0;
  scrollbar-width:none;
  justify-content: center;
}

.works-lightbox__thumbs::-webkit-scrollbar{
  display:none;
}

.works-lightbox__thumb{
  flex:0 0 auto;
  width:72px;
  height:48px;
  border:2px solid transparent;
  background:transparent;
  padding:0;
  cursor:pointer;
  overflow:hidden;
  border-radius:4px;
  opacity:.72;
  transition:opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.works-lightbox__thumb:hover{
  opacity:.95;
  transform:translateY(-1px);
}

.works-lightbox__thumb.is-active{
  opacity:1;
  border-color:#fff;
}

.works-lightbox__thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

@media (max-width: 980px){
  .gallery{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }

  .works-lightbox__stage{
    inset:76px 18px 112px;
  }

  .works-lightbox__thumbs-wrap{
    padding:0 64px;
  }

  .works-lightbox__thumb{
    width:68px;
    height:46px;
  }
}

@media (max-width: 640px){
  .gallery{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .works-lightbox__ui--top{
    top:12px;
    left:12px;
    right:12px;
  }

  .works-lightbox__counter{
    font-size:18px;
  }

  .works-lightbox__close{
    width:38px;
    height:38px;
    font-size:30px;
  }

  .works-lightbox__stage{
    inset:58px 8px 96px;
  }

  .works-lightbox__nav{
    width:40px;
    height:40px;
    font-size:40px;
  }

  .works-lightbox__nav--prev{
    left:0;
  }

  .works-lightbox__nav--next{
    right:0;
  }

  .works-lightbox__thumbs-wrap{
    bottom:10px;
    padding:0 12px;
  }

  .works-lightbox__thumb{
    width:62px;
    height:42px;
  }
}

/* ===== assets/css/blocks/faq.css ===== */
.faq{
  display:grid;
  gap:14px;
}

.faq__item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:0;
  box-shadow:var(--shadow2);
  overflow:hidden;
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.faq__item:hover{
  border-color:rgba(23,116,212,.18);
  box-shadow:0 14px 34px rgba(11,18,32,.08);
}

.faq__item summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  cursor:pointer;
  font-weight:900;
  list-style:none;
  padding:22px 24px;
}

.faq__item summary::-webkit-details-marker{
  display:none;
}

.faq__question{
  display:block;
  font-size:clamp(18px, 1.25vw, 24px);
  line-height:1.28;
  color:#08213f;
}

.faq__icon{
  position:relative;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border-radius:50%;
}

.faq__icon::before,
.faq__icon::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:16px;
  height:2px;
  border-radius:999px;
  background:#0d2f57;
  transform:translate(-50%, -50%);
  transition:transform .28s ease, opacity .22s ease, background .22s ease;
}

.faq__icon::after{
  transform:translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::before{
  transform:translate(-50%, -50%) rotate(45deg);
}

.faq__item[open] .faq__icon::after{
  transform:translate(-50%, -50%) rotate(-45deg);
}

.faq__body{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .32s ease;
}

.faq__body::before{
  content:"";
}

.faq__item[open] .faq__body{
  grid-template-rows:1fr;
}

.faq__body > *{
  min-height:0;
}

.faq__body{
  margin-top:0;
}

.faq__body{
  color:var(--muted);
  font-weight:700;
}

.faq__body{
  padding:0 24px;
}

.faq__body::after{
  content:"";
  display:block;
  height:22px;
}

.faq__item[open] .faq__body{
  padding-bottom:0;
}

.faq__body{
  overflow:hidden;
}

.faq__body{
  font-size:15px;
  line-height:1.65;
}

.section__head h2{
  text-align:center;
  margin:0 auto;
  max-width:980px;
  font-size:clamp(32px, 2.6vw, 54px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-0.02em;
  color:#0d2f57;
}

/* ПК и планшет */
@media (min-width: 641px){
  .faq{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
    align-items:start;
  }

  .faq__item summary{
    min-height:98px;
    padding:28px 28px;
  }

  .faq__body{
    padding:0 28px;
  }

  .faq__body::after{
    height:26px;
  }
}

/* Только мобила - не трогаем layout, оставляем одну колонку */
@media (max-width: 640px){
  .faq{
    grid-template-columns:1fr;
    gap:12px;
  }

  .faq__item{
    border-radius:18px;
  }

  .faq__item summary{
    padding:18px 18px;
    gap:14px;
  }

  .faq__question{
    font-size:16px;
  }

  .faq__body{
    padding:0 18px;
    font-size:14px;
    line-height:1.55;
  }

  .faq__body::after{
    height:18px;
  }

  .faq__icon{
    flex:0 0 24px;
    width:24px;
    height:24px;
  }

  .faq__icon::before,
  .faq__icon::after{
    width:14px;
  }
}

/* ===== assets/css/blocks/contacts.css ===== */
.contactsSection{
  position: relative;
}

.contactCard{
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 28px;
  align-items: stretch;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,248,252,.98));
  box-shadow:
    0 24px 60px rgba(11,18,32,.08),
    0 10px 30px rgba(11,18,32,.05);
}

.contactCard::before{
  content:"";
  position:absolute;
  inset:auto auto -140px -120px;
  width:420px;
  height:420px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(73,166,255,.16) 0%, rgba(73,166,255,0) 72%);
  pointer-events:none;
}

.contactCard::after{
  content:"";
  position:absolute;
  top:-120px;
  right:-120px;
  width:320px;
  height:320px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(23,116,212,.10) 0%, rgba(23,116,212,0) 72%);
  pointer-events:none;
}

.contactCard > *{
  position: relative;
  z-index: 1;
}

.contactCard__left{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contactCard__eyebrow{
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(23,116,212,.14);
  border-radius: 999px;
  background: rgba(23,116,212,.07);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.contactCard__title{
  margin: 16px 0 12px;
  font-size: 40px;
  line-height: 1.08;
}

.contactCard__lead{
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
}


.contactFeatures{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contactFeature{
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(230,237,246,.95);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 10px 24px rgba(11,18,32,.04);
}

.contactFeature__num{
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  color: var(--text);
}

.contactFeature__text{
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contactSupport{
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0d1b2a, #14273c);
  color: #fff;
  box-shadow: 0 18px 40px rgba(13,27,42,.18);
}

.contactSupport__row{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.contactSupport__label{
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: rgba(255,255,255,.68);
  font-weight: 700;
}

.contactSupport__phone{
  color:#fff;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
}

.contactSupport__meta{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contactSupport__item{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.contactSupport__itemLabel{
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

.contactSupport__item strong{
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
}

.contactCard__right{
  display:flex;
  align-items:stretch;
}

.contactFormBox{
  width:100%;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(230,237,246,.95);
  box-shadow: 0 16px 36px rgba(11,18,32,.08);
  backdrop-filter: blur(10px);
}

.form__title{
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--text);
  text-align: center;
}

.contactFormBox__text{
  margin: 20px 0 20px;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.contactFormBox .field{
  gap: 9px;
}

.contactFormBox .field span{
  font-size: 16px;
  font-weight: 800;
  color: rgba(13,27,42,.74);
  margin-top: 4px;
}

.contactFormBox .field input,
.contactFormBox .field textarea{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(230,237,246,.98);
  background: #fff;
  padding: 15px 16px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.contactFormBox .field textarea{
  min-height: 118px;
  resize: vertical;
}

.contactFormBox .field input::placeholder,
.contactFormBox .field textarea::placeholder{
  color: #8b98ab;
}

.contactFormBox__btn{
  width: 100%;
  min-height: 58px;
  margin-top: 15px;
  border-radius: 16px;
  font-size: 16px;
}

.contactFormBox__policy{
  margin: 0;
  line-height: 1.55;
  text-align: center;
    margin-top: 10px;
}

@media (max-width: 1200px){
  .contactCard{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }

  .contactCard__title{
    font-size: 34px;
    text-align: center;
  }

  .contactCard__lead{
    max-width: none;
    text-align: center;
  }

  .contactCard__right{
    display: block;
  }

  .contactFormBox{
    max-width: none;
  }
}

@media (max-width: 860px){
  .contactBullets,
  .contactFeatures,
  .contactSupport__meta{
    grid-template-columns: 1fr;
  }

  .contactSupport__phone{
    font-size: 28px;
  }
}

@media (max-width: 640px){
  .contactCard{
    padding: 18px;
    gap: 18px;
    border-radius: 22px;
  }

  .contactCard__eyebrow{
    min-height: 34px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .contactCard__title{
    margin: 14px 0 10px;
    font-size: 28px;
    line-height: 1;
    text-align: center;
  }

  .contactCard__lead{
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }

  .contactBullets{
    margin-top: 18px;
    gap: 10px;
  }

  .contactBullet{
    min-height: auto;
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 14px;
  }

  .contactFeatures{
    margin-top: 14px;
    gap: 10px;
  }

  .contactFeature{
    padding: 16px 14px 14px;
    border-radius: 16px;
  }

  .contactFeature__num{
    font-size: 20px;
  }

  .contactFeature__text{
    font-size: 13px;
  }

  .contactSupport{
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .contactSupport__phone{
    font-size: 23px;
    word-break: break-word;
  }

  .contactSupport__item strong{
    font-size: 13px;
  }

  .contactFormBox{
    padding: 18px;
    border-radius: 18px;
  }

  .form__title{
    font-size: 20px;
  }

  .contactFormBox__text{
    font-size: 13px;
  }

  .contactFormBox .field input,
  .contactFormBox .field textarea{
    padding: 14px 14px;
    border-radius: 14px;
  }

  .contactFormBox .field textarea{
    min-height: 104px;
  }

  .contactFormBox__btn{
    min-height: 54px;
    font-size: 15px;
  }
}

/* ===== assets/css/blocks/footer.css ===== */
.footer{
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding: 42px 0 18px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(73,166,255,.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(23,116,212,.18), transparent 26%),
    linear-gradient(180deg, #091423 0%, #071327 100%);
}

.footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}

.footer__top{
  display:grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
}

.footer__brand{
  display:grid;
  gap:18px;
}

.footer__logo{
  display:inline-grid;
  gap:8px;
  width:max-content;
  max-width:100%;
}

.footer__brand-name{
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .5px;
}

.footer__brand-accent{
  color: var(--primary2);
}

.footer__brand-text{
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.footer__desc{
  margin:0;
  max-width: 640px;
  color: rgba(255,255,255,.82);
  line-height: 1.72;
  font-size: 15px;
}

.footer__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.footer__chip{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding: 10px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color:#fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.footer__nav-wrap{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer__col{
  display:grid;
  align-content:start;
  gap:2px;
}

.footer__title{
  margin-bottom: 4px;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.footer__link{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  border:0;
  padding:0;
  background:transparent;
  color: rgba(255,255,255,.82);
  font-size:15px;
  line-height:1.45;
  cursor:pointer;
  text-align:left;
  transition:
    color .22s ease,
    transform .22s ease,
    opacity .22s ease;
}

.footer__link:hover{
  color:#fff;
  transform: translateX(4px);
}

.footer__link--button{
  font: inherit;
}

.footer__contact{
  font-weight: 700;
}

.footer__muted{
  color: rgba(255,255,255,.58);
  font-size:14px;
  line-height:1.55;
}

.footer__up{
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  width: max-content;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.footer__up:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.footer__up:active{
  transform: translateY(0);
}

.footer__up-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 14px;
  line-height: 1;
}

.footer__up-text{
  display: inline-block;
  transform: translateY(-1px);
}

.footer__bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer__copy,
.footer__bottom-note{
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height:1.6;
}

@media (max-width: 1200px){
  .footer__top{
    grid-template-columns: 1fr;
  }

  .footer__nav-wrap{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .footer{
    padding: 36px 0 18px;
  }

  .footer__nav-wrap{
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand-name{
    font-size: 26px;
  }
}

@media (max-width: 640px){
  .footer{
    margin-top: 28px;
    padding: 30px 0 18px;
  }

  .footer .container{
    width: min(100% - 20px, 1350px);
  }

  .footer__top{
    gap: 20px;
  }

  .footer__brand{
    gap: 14px;
    padding: 18px 16px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    backdrop-filter: blur(10px);
  }

  .footer__logo{
    width: 100%;
    gap: 6px;
  }

  .footer__brand-name{
    font-size: 24px;
    line-height: 1;
    word-break: break-word;
  }

  .footer__brand-text{
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .08em;
  }

  .footer__desc{
    font-size: 14px;
    line-height: 1.62;
    color: rgba(255,255,255,.84);
  }

  .footer__chips{
    gap: 8px;
  }

  .footer__chip{
    min-height: 34px;
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    color: #fff;
  }

  .footer__nav-wrap{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer__col{
    gap: 8px;
    padding: 16px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  }

  .footer__title{
    margin-bottom: 2px;
    font-size: 21px;
    letter-spacing: .06em;
  }

  .footer__link{
    width: 100%;
    max-width: 100%;
    font-size: 19px;
    line-height: 1.5;
    padding: 3px 0;
  }

  .footer__link:hover{
    transform: none;
  }

  .footer__contact{
    font-size: 22px;
  }

  .footer__muted{
    font-size: 20px;
    line-height: 1.5;
  }

  .footer__up{
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    min-height: 54px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(73,166,255,.22), rgba(23,116,212,.12));
    border-color: rgba(73,166,255,.22);
    font-size: 15px;
  }

  .footer__up-icon{
    width: 24px;
    height: 24px;
    font-size: 15px;
  }

  .footer__bottom{
    margin-top: 18px;
    padding-top: 14px;
    gap: 8px;
  }

  .footer__copy,
  .footer__bottom-note{
    width: 100%;
    font-size: 12px;
    line-height: 1.55;
  }
}

/* ===== assets/css/blocks/widget.css ===== */
/* ===== assets/css/blocks/widget.css ===== */
/* ===== assets/css/blocks/widget.css ===== */
/* ===== assets/css/blocks/widget.css ===== */
.widget{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
}

.widget__fab{
  width:58px;height:58px;
  border-radius:20px;
  border:0;
  cursor:pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 18px 34px rgba(23,116,212,.30);
  display:grid; place-items:center;
}.widget__fab img{width:24px;height:24px; filter: brightness(0) invert(1)}
/* ===== assets/css/blocks/modal.css ===== */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

.modal.is-open{
  display: block;
}

.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(11,18,32,.55);
  backdrop-filter: blur(6px);
}

.modal__panel{
  position: relative;
  width: min(520px, calc(100% - 28px));
  margin: 8vh auto;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
}

.modal__panel--privacy{
  width: min(860px, calc(100% - 28px));
  max-height: min(84vh, 920px);
  overflow: auto;
  margin: 5vh auto;
  padding: 26px;
  border-radius: 28px;
}

.modal__close{
  position:absolute;
  right:12px;
  top:12px;
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.modal__close:hover{
  transform: rotate(90deg);
  background: rgba(23,116,212,.06);
  border-color: rgba(23,116,212,.22);
}

.privacy{
  display:grid;
  gap:22px;
}

.privacy__head{
  padding-right: 44px;
}

.privacy__eyebrow{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(23,116,212,.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy__title{
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--text);
}

.privacy__lead{
  margin:0;
  color: var(--muted);
  line-height:1.7;
  font-size:15px;
  max-width: 70ch;
}

.privacy__content{
  display:grid;
  gap:16px;
}

.privacy__block{
  padding: 18px 18px 16px;
  border:1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(244,247,251,.72), rgba(255,255,255,1));
}

.privacy__block h4{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.3;
  font-weight:900;
  color: var(--text);
}

.privacy__block p{
  margin:0;
  color: rgba(13,27,42,.82);
  line-height:1.72;
  font-size:15px;
}

.privacy__block ul{
  margin:0;
  padding-left: 18px;
  color: rgba(13,27,42,.82);
  line-height:1.72;
  font-size:15px;
}

.privacy__note{
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(23,116,212,.08);
  color: rgba(13,27,42,.82);
  font-size:14px;
  line-height:1.7;
  border:1px solid rgba(23,116,212,.16);
}

@media (max-width: 640px){
  .modal__panel{
    margin: 5vh auto;
  }

  .modal__panel--privacy{
    width: min(100% - 16px, 860px);
    max-height: 88vh;
    padding: 18px;
    border-radius: 20px;
  }

  .privacy{
    gap:18px;
  }

  .privacy__head{
    padding-right: 38px;
  }

  .privacy__title{
    font-size: 26px;
  }

  .privacy__lead,
  .privacy__block p,
  .privacy__block ul{
    font-size: 14px;
    line-height: 1.65;
  }

  .privacy__block{
    padding: 16px 14px 14px;
    border-radius: 16px;
  }

  .privacy__block h4{
    font-size: 16px;
  }
}
/* ===== Hero redesign v2 ===== */
.hero{
  position: relative;
  padding: 26px 0 0;
  margin: 12px 0 22px;
  border-radius: 0;
  overflow: visible;
  background: none;
  border: none;
  box-shadow: none;
}

.hero::before,
.hero::after{
  display:none;
}

.hero > .container{
  position: relative;
  z-index: 1;
}

.hero__panel-wrap{
  position: relative;
  overflow: hidden;
  min-height: 640px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(7, 18, 33, .76) 0%, rgba(7, 18, 33, .58) 28%, rgba(7, 18, 33, .16) 52%, rgba(7,18,33,.12) 100%),
    url("/assets/img/bg.webp") center/cover no-repeat;
  box-shadow: 0 24px 60px rgba(11,18,32,.12);
}

.hero__panel-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0) 22%, rgba(7,18,33,.14) 100%);
  pointer-events:none;
}

.hero__panel-wrap::after{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:min(54%, 700px);
  background: linear-gradient(180deg, rgba(8,23,43,.96), rgba(9,25,46,.88));
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.05);
}

.hero__grid{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 640px;
  align-items: center;
  gap: 0;
}

.hero__content{
  min-height: auto;
  max-width: 600px;
  padding: 72px 0 72px 56px;
  justify-content: center;
  color: #fff;
}

.hero__content .pill{
  background: rgba(73,166,255,.18);
  color: #d9f3dc;
  border: 1px solid rgba(143, 211, 148, .18);
  backdrop-filter: blur(6px);
}

.hero__content .h1{
  margin: 22px 0 18px;
  max-width: 12ch;
  font-size: clamp(50px, 4.2vw, 68px);
  line-height: .98;
  letter-spacing: -1.8px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.hero__content .lead{
  max-width: 36ch;
  margin: 0;
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,.86);
}

.hero__cta{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__cta .btn{
  width: auto;
  min-width: 240px;
  height: 60px;
  min-height: 60px;
  padding: 0 26px;
}

.hero__cta .btn--primary{
  box-shadow: 0 18px 36px rgba(23,116,212,.28);
}

.hero__cta .btn--ghost{
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.7);
}

.hero__badges{
  margin-top: 28px;
}

.hero__phone-card{
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  width: min(360px, calc(100% - 40px));
  padding: 18px 22px 18px 24px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(7,25,47,.88), rgba(16,58,108,.72));
  border: 1px solid rgba(120, 181, 255, .24);
  box-shadow: 0 24px 50px rgba(4, 15, 31, .32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__phone-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(180px 90px at 90% 18%, rgba(76,169,255,.26), transparent 72%),
    radial-gradient(180px 90px at 4% 100%, rgba(255,255,255,.10), transparent 68%),
    linear-gradient(120deg, rgba(255,255,255,.08), rgba(255,255,255,0) 48%);
}

.hero__phone-label,
.hero__phone-link,
.hero__phone-note{
  position: relative;
  z-index: 1;
}

.hero__phone-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(230, 242, 255, .86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__phone-link{
  display: inline-block;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 31px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
  text-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.hero__phone-link:hover{
  color: #d9ecff;
}

.hero__phone-note{
  margin-top: 8px;
  max-width: 28ch;
  color: rgba(230, 242, 255, .78);
  font-size: 14px;
  line-height: 1.45;
}

@media (min-width: 641px) and (max-width: 1200px){
  .hero{
    padding-top: 18px;
    margin: 10px 0 18px;
  }

  .hero__panel-wrap{
    min-height: 560px;
    border-radius: 28px;
    background:
      linear-gradient(90deg, rgba(7, 18, 33, .76) 0%, rgba(7, 18, 33, .62) 36%, rgba(7, 18, 33, .22) 62%, rgba(7,18,33,.16) 100%),
      url("/assets/img/bg.webp") center/cover no-repeat;
  }

  .hero__panel-wrap::after{
    width: min(64%, 640px);
    clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%);
  }

  .hero__grid{
    min-height: 560px;
  }

  .hero__content{
    max-width: 540px;
    padding: 52px 24px 52px 38px;
  }

  .hero__content .h1{
    max-width: 11.5ch;
    font-size: clamp(42px, 5vw, 56px);
  }

  .hero__content .lead{
    max-width: 32ch;
    font-size: 18px;
  }

  .hero__cta .btn{
    min-width: 220px;
    height: 58px;
    min-height: 58px;
  }

  .hero__badges{
    margin-top: 18px;
  }

  .hero__phone-card{
    right: 22px;
    bottom: 22px;
    width: min(320px, calc(100% - 36px));
    padding: 16px 18px;
    border-radius: 20px;
  }

  .hero__phone-link{
    font-size: clamp(22px, 2.8vw, 28px);
  }

  .hero__phone-note{
    max-width: 24ch;
    font-size: 13px;
  }
}

@media (max-width: 640px){
  .hero{
    padding-top: 12px;
    margin: 8px 0 14px;
  }

  .hero__panel-wrap{
    min-height: auto;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(7, 18, 33, .70) 0%, rgba(7, 18, 33, .42) 36%, rgba(7, 18, 33, .82) 100%),
      url("/assets/img/bg.webp") center/cover no-repeat;
  }

  .hero__panel-wrap::after{
    inset: auto 0 0 0;
    width: auto;
    height: 100%;
    clip-path: none;
    background: linear-gradient(180deg, rgba(7,18,33,.18) 0%, rgba(7,18,33,.65) 32%, rgba(7,18,33,.88) 100%);
  }

  .hero__grid{
    min-height: auto;
  }

  .hero__content{
    max-width: none;
    padding: 26px 18px 28px;
    align-items: center;
    text-align: center;
  }

  .hero__content .pill{
    margin: 0 auto;
  }

  .hero__content .h1{
    max-width: 11.5ch;
    margin: 18px auto 14px;
    font-size: clamp(36px, 10vw, 46px);
    line-height: .98;
    letter-spacing: -1.2px;
    text-align: center;
  }

  .hero__content .lead{
    max-width: 27ch;
    font-size: 17px;
    line-height: 1.45;
    text-align: center;
  }

  .hero__cta{
    width: 100%;
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__cta .btn{
    width: 100%;
    min-width: 0;
    height: 56px;
    min-height: 56px;
  }

  .hero__phone-card{
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: 0 auto 18px;
    padding: 16px 16px 17px;
    border-radius: 18px;
    text-align: center;
  }

  .hero__phone-label{
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hero__phone-link{
    font-size: clamp(23px, 7vw, 30px);
  }

  .hero__phone-note{
    max-width: none;
    margin-top: 8px;
    font-size: 13px;
  }

  .hero__badges{
    margin-top: 14px;
  }
}


/* Rebuilt anchors */
:root{
  --anchor-offset: 96px;
}
html{
  scroll-behavior: smooth;
}
section[id],
.anchor-alias,
[id="hero"],
[id="calc"],
[id="works"],
[id="faq"],
[id="contacts"],
[id="services"],
[id="prices"]{
  scroll-margin-top: var(--anchor-offset);
}
