:root{
  --bg:#ffffff;
  --soft:#fff6f8;
  --soft2:#f7f2ff;
  --ink:#0b0b0f;
  --muted:#5b5b66;
  --line: rgba(20, 20, 30, .08);
  --shadow: 0 18px 48px rgba(20, 16, 30, .10);
  --shadow2: 0 10px 28px rgba(20, 16, 30, .08);

  /* “instagram-ish”: мягкие розово-фиолетовые акценты */
  --accent:#ff4da6;
  --accent2:#7c3aed;
  --accent3:#ff7a59;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: radial-gradient(1200px 500px at 30% -10%, rgba(255,77,166,.10), transparent 60%),
  radial-gradient(900px 520px at 80% 10%, rgba(124,58,237,.10), transparent 60%),
  var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ max-width: var(--container); margin:0 auto; padding: 0 16px; }

h1,h2,h3{ margin:0 0 10px; letter-spacing:-.02em; }
h1{ font-size: clamp(30px, 3.2vw, 52px); line-height:1.06; }
h2{ font-size: clamp(22px, 2.2vw, 32px); line-height:1.15; }
h3{ font-size: 18px; line-height:1.25; }
p{ margin: 0 0 12px; line-height:1.65; }
.lead{ font-size: 18px; color: rgba(11,11,15,.82); max-width: 820px; }
.muted{ color: var(--muted); }

/* Header */
.site-header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}
.brand{ display:flex; align-items:center; gap:10px; min-width: 220px; }
.brand-logo{
  border: 1px solid transparent;
  width: 60px;
  height: 60px;
  border-radius: 10px;
}
.brand-name{ font-weight: 800; letter-spacing:-.02em; }
.brand-tagline{ font-size: 12px; color: rgba(11,11,15,.55); margin-top:2px; }

.nav{ display:flex; align-items:center; gap: 18px; }
.nav a{ font-weight: 650; color: rgba(11,11,15,.88); }
.nav a:hover{ color: rgba(11,11,15,1); }
.nav-cta{
  padding: 10px 12px;
  border-radius: 14px;
  color:#fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 30px rgba(255,77,166,.18);
}

.burger{ display:none; width:44px; height:44px; border-radius:14px; border:1px solid var(--line);
  background: rgba(255,255,255,.85); box-shadow: var(--shadow2); padding:0; }
.burger span{ display:block; width:18px; height:2px; background: var(--ink); border-radius:2px; margin: 4px auto; }
.nav-mobile{ border-top:1px solid var(--line); background: rgba(255,255,255,.92); }
.nav-mobile-inner{ padding: 12px 16px 16px; display:grid; gap: 10px; }
.nav-mobile a{ padding: 12px 12px; border: 1px solid var(--line); border-radius: 16px; background:#fff; font-weight: 700; }

html.menu-open, html.menu-open body{ overflow:hidden; }

/* Sections */
.section{ padding: 64px 0; }
.section-soft{
  background: linear-gradient(180deg, rgba(255,246,248,.85), rgba(247,242,255,.65));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{
  display:flex; align-items:flex-end; justify-content: space-between; gap: 14px;
  margin-bottom: 16px;
}
.section-head p{ margin:0; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  color:#fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 18px 40px rgba(124,58,237,.16);
  font-weight: 800;
  cursor:pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover{ transform: translateY(-1px); opacity: .96; }
.btn-ghost{
  background: rgba(255,255,255,.72);
  color: rgba(11,11,15,.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
.btn-wide{ width: 100%; max-width: 360px; }

/* HERO slider */
.hero{ padding: 0; }
.hero-slider{
  position: relative;
  overflow:hidden;
  border-bottom: 1px solid var(--line);
}
.hero-slide{
  background-image: var(--bg);
}
.hero-track{
  display:flex;
  transition: transform .5s ease;
  will-change: transform;
}
.hero-slide{
  position: relative;
  min-width: 100%;
  height: clamp(420px, 62vh, 720px);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,11,15,.62), rgba(11,11,15,.22) 55%, rgba(11,11,15,.06));
}
.hero-content{
  position: relative;
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  color:#fff;
}
.hero-content h1, .hero-content h2{ color:#fff; }
.hero-content .lead{ color: rgba(255,255,255,.86); }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 6px; }

/* slider controls */
.slider-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.slider-arrow::before{
  content:"";
  position:absolute; inset:0;
  margin:auto;
  width: 12px; height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(135deg);
  top: 0; bottom: 0; left: 0; right: 0;
}
.slider-arrow.next{ right: 14px; }
.slider-arrow.prev{ left: 14px; }
.slider-arrow.next::before{ transform: rotate(-45deg); }

.slider-dots{
  position:absolute;
  left: 0; right: 0;
  bottom: 14px;
  display:flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}
.slider-dot{
  width: 8px; height: 8px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.35);
  cursor:pointer;
}
.slider-dot.is-active{
  width: 22px;
  background: #fff;
}

/* Cards */
.grid{ display:grid; gap: 14px; }
.cards{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.card-icon{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,77,166,.16), rgba(124,58,237,.12));
  margin-bottom: 10px;
}
.card-link{ display:inline-block; margin-top: 10px; font-weight: 800; color: rgba(11,11,15,.86); }

/* Split carousel */
.split-carousel{ position: relative; overflow:hidden; border-radius: var(--radius-lg); border:1px solid var(--line); box-shadow: var(--shadow); }
.split-track{ display:flex; transition: transform .5s ease; will-change: transform; }
.split-slide{ min-width: 100%; display:grid; grid-template-columns: 1.1fr .9fr; background: rgba(255,255,255,.88); }
.split-media{ height: 380px; }
.split-media img{ width:100%; height:100%; object-fit: cover; }
.split-text{ padding: 22px; display:flex; flex-direction: column; justify-content: center; }
.ticks{ margin: 10px 0 0; padding-left: 18px; color: rgba(11,11,15,.82); }
.ticks li{ margin: 6px 0; }

/* Reviews */
.reviews{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.review{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
}
.review-top{ display:flex; align-items:center; gap: 10px; margin-bottom: 10px; }
.avatar{
  width: 38px; height: 38px;
  border-radius: 999px;
  display:grid; place-items:center;
  font-weight: 900;
  color: rgba(11,11,15,.88);
  background: linear-gradient(135deg, rgba(255,77,166,.22), rgba(124,58,237,.16));
  border: 1px solid var(--line);
}
.review-name{ font-weight: 900; }
.review-sub{ font-size: 12px; color: rgba(11,11,15,.55); margin-top:2px; }
.stars{ margin-left:auto; color: rgba(255,77,166,.95); letter-spacing:1px; }

/* Form */
.form{ max-width: 820px; }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label{ display:block; font-weight: 800; color: rgba(11,11,15,.92); }
input, textarea{
  width:100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 16px;
  color: rgba(11,11,15,.60);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  font-weight: 600;
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(255,77,166,.35);
  color: rgba(11,11,15,.60);
  box-shadow: 0 0 0 5px rgba(255,77,166,.10);
}

input, textarea {
  color: #111 !important;
  background-color: #fff !important;
  -webkit-text-fill-color: #111 !important;
}

input:-webkit-autofill {
  -webkit-text-fill-color: #111 !important;
}

.form-note{ font-size: 13px; color: rgba(11,11,15,.60); margin-top: 10px; }

/* Footer */
.site-footer{ padding: 28px 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.70); backdrop-filter: blur(12px); }
.site-footer .container{ display:grid; gap: 6px; color: rgba(11,11,15,.78); }

/* Responsive */
@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr; }
  .reviews{ grid-template-columns: 1fr; }
  .split-slide{ grid-template-columns: 1fr; }
  .split-media{ height: 300px; }
  .form-grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .burger{ display:block; }
}

.form-status{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  color: rgba(11,11,15,.85);
  font-weight: 700;
}
.form-status[data-type="ok"]{
  border-color: rgba(34,197,94,.25);
  box-shadow: 0 0 0 5px rgba(34,197,94,.10);
}
.form-status[data-type="err"]{
  border-color: rgba(239,68,68,.25);
  box-shadow: 0 0 0 5px rgba(239,68,68,.10);
}
.form-status[data-type="wait"]{
  opacity: .9;
}
/* Form status + animations */
.form-actions{ margin-top: 14px; display:flex; gap: 12px; align-items:center; flex-wrap:wrap; }
.btn.is-loading{ pointer-events:none; opacity:.92; }
.btn .btn-spinner{
  width: 14px; height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.55);
  border-top-color: rgba(255,255,255,1);
  animation: spin .8s linear infinite;
  display:inline-block;
}
@keyframes spin{ to { transform: rotate(360deg); } }

.form-status{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.80);
  box-shadow: var(--shadow2);
  color: rgba(11,11,15,.88);
  font-weight: 700;
  transform: translateY(6px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.form-status.is-visible{ transform: translateY(0); opacity: 1; }

.form-status[data-type="ok"]{
  border-color: rgba(34,197,94,.28);
  box-shadow: 0 0 0 6px rgba(34,197,94,.10), var(--shadow2);
}
.form-status[data-type="err"]{
  border-color: rgba(239,68,68,.28);
  box-shadow: 0 0 0 6px rgba(239,68,68,.10), var(--shadow2);
}
.form-status[data-type="wait"]{
  border-color: rgba(124,58,237,.20);
  box-shadow: 0 0 0 6px rgba(124,58,237,.08), var(--shadow2);
}

.hero-slide{ position:relative; }
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
}

/* ===== Site Preloader ===== */
#site-preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
          radial-gradient(1200px 500px at 30% -10%, rgba(255,77,166,.16), transparent 60%),
          radial-gradient(900px 520px at 80% 10%, rgba(124,58,237,.16), transparent 60%),
          #fff;
  transition: opacity .4s ease, visibility .4s ease;
}

#site-preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner{
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.preloader-logo{
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: 22px;
}

.preloader-text{
  font-size: 13px;
  color: rgba(11,11,15,.65);
}

.preloader-spinner{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid rgba(124,58,237,.18);
  border-top-color: rgba(255,77,166,.95);
  animation: preloader-spin .9s linear infinite;
}

@keyframes preloader-spin{
  to { transform: rotate(360deg); }
}

/* пока прелоад — запрещаем скролл */
html.is-loading,
html.is-loading body{
  overflow: hidden;
}