:root{
  --bg:#f6f7fb;
  --panel:#ffffff;
  --panel2:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e5e7eb;

  --accent:#0ea5e9;   /* голубой */
  --accent2:#8b5cf6;  /* фиолетовый */

  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --shadow2: 0 10px 30px rgba(15,23,42,.08);

  --radius: 18px;
  --radius2: 24px;
  --container: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(800px 420px at 92% 0%, rgba(139,92,246,.14), transparent 55%),
    var(--bg);
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
p{line-height:1.6}
ul{margin:0; padding-left:18px}
strong{color:var(--text)}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:var(--panel); border:1px solid var(--line); border-radius:12px;
  z-index:9999;
  box-shadow: var(--shadow2);
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(246,247,251,.80);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.header__inner{
  display:flex;
  align-items:center;
  gap:24px;
  padding:6px 0;
}
.brand{
  display:flex;
  align-items:center;
}

.brand__logo{
  height: 60px;
  width: auto;
  display:block;
}

.brand__mark{
  display:inline-grid; place-items:center;
  width:38px; height:38px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(14,165,233,.18), rgba(139,92,246,.14));
  border:1px solid rgba(15,23,42,.10);
  color: var(--text);
}
.brand__text{display:flex; flex-direction:column; line-height:1.1}
.brand__title{font-weight:900; letter-spacing:.2px}
.brand__subtitle{font-size:12px; color:var(--muted); margin-top:4px}

.nav{
  display:flex; align-items:center; gap:14px;
  margin-left:auto;
}
.nav a{
  font-size:14px; color:rgba(15,23,42,.84);
  padding:10px 10px; border-radius:12px;
}
.nav a:hover{background: rgba(15,23,42,.04)}
.nav__cta{
  border:1px solid rgba(14,165,233,.25);
  background: rgba(14,165,233,.08);
}

.header__contacts{
  display:flex; align-items:center; gap:10px;
  margin-left:8px;
}
.phone{
  font-weight:800;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow2);
}

.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  cursor:pointer;
  margin-left:auto;
  box-shadow: var(--shadow2);
}
.burger span{display:block; height:2px; margin:6px 10px; background:rgba(15,23,42,.72); border-radius:2px}

.mobile-nav{
  display:none;
  border-top:1px solid rgba(15,23,42,.08);
  background: rgba(246,247,251,.92);
  padding: 12px 16px 16px;
}
.mobile-nav a{
  display:block;
  padding:12px 10px;
  border-radius:12px;
  color:rgba(15,23,42,.86);
}
.mobile-nav a:hover{background: rgba(15,23,42,.04)}
.mobile-nav__cta{
  margin-top:8px;
  border:1px solid rgba(14,165,233,.25);
  background: rgba(14,165,233,.08);
}
.mobile-nav__phone{
  margin-top:10px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid transparent;
  cursor:pointer;
  font-weight:800;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  background: linear-gradient(135deg, rgba(14,165,233,.95), rgba(139,92,246,.88));
  color:#ffffff;
  box-shadow: var(--shadow2);
}
.btn--secondary{
  background: rgba(255,255,255,.78);
  border-color: rgba(15,23,42,.10);
  box-shadow: var(--shadow2);
}
.btn--ghost{
  background: rgba(255,255,255,.60);
  border-color: rgba(15,23,42,.10);
  box-shadow: var(--shadow2);
}

.hero{ padding: 44px 0 24px; }

.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.hero__grid--single{ grid-template-columns: 1fr; }

.badge{
  display:inline-flex;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(14,165,233,.22);
  background: rgba(14,165,233,.08);
  color: rgba(15,23,42,.86);
  font-size:13px;
}
h1{
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height:1.06;
  letter-spacing:-.4px;
}
.lead{
  margin: 0 0 16px;
  color: rgba(15,23,42,.76);
  font-size: 16px;
}
.hero__bullets{
  color: rgba(15,23,42,.76);
  margin: 0 0 18px;
}
.hero__bullets li{margin: 8px 0}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap}

.hero__trust{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:18px;
}
.trust{
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  padding: 12px 12px;
  box-shadow: var(--shadow2);
}
.trust__num{font-weight:900; font-size:18px}
.trust__text{color:var(--muted); font-size:12px; margin-top:4px}

.hero__slider{
  position:relative;
  margin: 0 auto;
}

.slider{
  position:relative;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.slider__viewport{overflow:hidden}
.slider__track{
  display:flex;
  transform: translateX(0);
  transition: transform .45s ease;
  will-change: transform;
}
.slider__slide{
  min-width:100%;
  margin:0;
  position:relative;
}
.slider__slide img{
  width:100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.slider__slide figcaption{
  position:absolute; left:12px; bottom:12px;
  padding:8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.86);
  font-size:13px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow2);
}

.slider__btn{
  position:absolute; top:50%;
  transform: translateY(-50%);
  width:44px; height:44px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.88);
  font-size:28px;
  display:grid; place-items:center;
  cursor:pointer;
  box-shadow: var(--shadow2);
}
.slider__btn:hover{background: rgba(255,255,255,.92)}
.slider__btn--prev{left:12px}
.slider__btn--next{right:12px}

.slider__dots{
  display:flex; gap:8px;
  justify-content:center;
  padding: 12px 12px 14px;
  background: rgba(15,23,42,.02);
  border-top:1px solid rgba(15,23,42,.06);
}
.dot-btn{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.18);
  background: rgba(15,23,42,.10);
  cursor:pointer;
}
.dot-btn[aria-selected="true"]{
  width:26px;
  background: linear-gradient(135deg, rgba(14,165,233,.92), rgba(139,92,246,.86));
  border-color: transparent;
}

.hero__note{
  margin-top: 12px;
  display:flex; align-items:center; gap:10px;
  color: rgba(15,23,42,.72);
  font-size: 14px;
}
.hero__note .dot{
  width:10px; height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(14,165,233,.92), rgba(139,92,246,.86));
}

/* Sections */
.section{padding: 44px 0}
.section--alt{
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(14,165,233,.08), transparent 55%),
    rgba(15,23,42,.02);
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:18px; margin-bottom: 18px;
}
.section__head h2{
  margin:0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-.2px;
}
.section__head p{margin:0; color:var(--muted); max-width: 560px}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  padding: 18px 18px;
  box-shadow: var(--shadow2);
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 10px; color:rgba(15,23,42,.72)}
.card ul{color:rgba(15,23,42,.78)}
.card li{margin: 8px 0}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.feature{
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  padding: 18px 18px;
  box-shadow: var(--shadow2);
}
.feature__icon{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(14,165,233,.08);
  margin-bottom:10px;
}
.feature h3{margin:0 0 8px}
.feature p{margin:0; color:rgba(15,23,42,.72)}

.cta-strip{
  margin-top: 16px;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  border:1px solid rgba(14,165,233,.16);
  background: linear-gradient(135deg, rgba(14,165,233,.08), rgba(139,92,246,.06));
  border-radius: var(--radius2);
  padding: 16px 16px;
  box-shadow: var(--shadow2);
}
.muted{color:var(--muted); font-size:14px}

/* Steps */
.steps{
  list-style:none;
  padding:0; margin:0;
  display:grid;
  gap:12px;
}
.step{
  display:flex; gap:14px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.step__num{
  width:42px; height:42px;
  border-radius:16px;
  display:grid; place-items:center;
  font-weight:900;
  color:#ffffff;
  background: linear-gradient(135deg, rgba(14,165,233,.95), rgba(139,92,246,.88));
  flex:0 0 auto;
}
.step__body h3{margin:0 0 6px}
.step__body p{margin:0; color:rgba(15,23,42,.72)}

/* Reviews */
.reviews{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.review{
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  padding: 18px 18px;
  box-shadow: var(--shadow2);
}
.review__top{display:flex; gap:12px; align-items:center; margin-bottom:10px}
.avatar{
  width:42px; height:42px;
  border-radius:16px;
  display:grid; place-items:center;
  font-weight:900;
  background: rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.10);
}
.review__name{font-weight:900}
.review__meta{font-size:12px; color:var(--muted); margin-top:3px}
.review p{margin: 0 0 10px; color:rgba(15,23,42,.72)}
.stars{letter-spacing:2px; color: rgba(14,165,233,.95)}

/* FAQ */
.faq{display:grid; gap:10px}
.faq__item{
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  padding: 14px 16px;
  box-shadow: var(--shadow2);
}
.faq__item summary{
  cursor:pointer;
  font-weight:900;
}
.faq__content{margin-top:10px; color:rgba(15,23,42,.72)}

.order{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
.form{
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
label span{display:block; font-size:13px; color:rgba(15,23,42,.78); margin-bottom:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(14,165,233,.35);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.form__full{margin-top:12px}
.check{
  display:flex; gap:10px;
  align-items:flex-start;
  margin-top:12px;
  color:rgba(15,23,42,.72);
  font-size:13px;
}
.check input{width:auto; margin-top:2px}
.form__actions{
  margin-top:14px;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.form__hint{margin:0; color:var(--muted); font-size:12px}
.form__notice{
  margin-top: 10px;
  font-size:14px;
  color: rgba(14,165,233,.95);
}
.form__notice.is-error{color: rgba(220,38,38,.95)}

.order__side .side-card{
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius2);
  padding: 18px 18px;
  box-shadow: var(--shadow2);
}
.side-card h3{margin:0 0 10px}
.list{margin:0; color:rgba(15,23,42,.72)}
.list li{margin: 8px 0}
.side-card__line{
  height:1px;
  background: rgba(15,23,42,.08);
  margin: 14px 0;
}

/* Footer */
.footer{
  padding: 34px 0 16px;
  border-top:1px solid rgba(15,23,42,.06);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .6fr .8fr;
  gap:14px;
  align-items:center;
}
.footer__brand{font-weight:900; font-size:18px; margin-bottom:6px}
.footer__links{display:flex; gap:14px; flex-wrap:wrap; color:rgba(15,23,42,.82)}
.footer__links a{padding:8px 10px; border-radius:12px}
.footer__links a:hover{background: rgba(15,23,42,.04)}
.footer__contacts{display:flex; justify-content:flex-end; gap:10px; align-items:center}
.footer__bottom{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px;
}
.top{color:rgba(15,23,42,.82); padding:8px 10px; border-radius:12px}
.top:hover{background: rgba(15,23,42,.04)}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:100;
}
.modal.is-open{display:block}
.modal__overlay{
  position:absolute; inset:0;
  background: rgba(15,23,42,.45);
  backdrop-filter: blur(8px);
}
.modal__panel{
  position:relative;
  width:min(520px, calc(100% - 26px));
  margin: 10vh auto 0;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.96);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.modal__close{
  position:absolute;
  top:10px; right:10px;
  width:40px; height:40px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
  color: rgba(15,23,42,.86);
  cursor:pointer;
}

@media (max-width: 980px){
  .cards{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .reviews{grid-template-columns: 1fr}
  .order{grid-template-columns: 1fr}
  .section__head{flex-direction:column; align-items:flex-start}
  .footer__grid{grid-template-columns: 1fr; gap:10px}
  .footer__contacts{justify-content:flex-start}
}

@media (max-width: 860px){
  .nav, .header__contacts{display:none}
  .burger{display:inline-block}
  .mobile-nav{display:block}
  .mobile-nav[aria-hidden="true"]{display:none}
}
.reviews-section {
  margin-top: 28px;
}

.reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.reviews__controls {
  display: flex;
  gap: 10px;
}

.reviews__btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.reviews__btn:active {
  transform: translateY(1px);
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform 420ms ease;
}

.review {
  flex: 0 0 100%;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

/* На широких — 2 карточки в ряд, на очень широких — 3 */
@media (min-width: 860px) {
  .review { flex-basis: calc(50% - 8px); }
}
@media (min-width: 1180px) {
  .review { flex-basis: calc(33.333% - 10.666px); }
}

.review__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review__name {
  font-weight: 700;
}

.review__meta {
  font-size: 14px;
  opacity: .75;
}

.review__media {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
}

.review__media img {
  display: block;
  width: 100%;
  height: auto;
}

.stars {
  margin-top: 10px;
  letter-spacing: 1px;
  font-size: 18px;
}
