: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: 0;
  --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: 16px; 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: 16px; 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: 16px 6px;
  padding: 18px 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: 18px; 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: 16px;
  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;
}
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 0;
}

.package-card {
  position: relative;
  background: linear-gradient(145deg, #fffaf7, #f8f2ee);
  border-radius: 20px;
  padding: 28px;
  color: #3a2f2f;
  border: 1px solid rgba(200, 170, 150, 0.25);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* мягкое свечение */
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 200, 180, 0.25), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

.package-card:hover::before {
  opacity: 1;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 170, 150, 0.5);
  box-shadow: 0 10px 30px rgba(180, 140, 120, 0.15);
}

/* заголовок */
.package-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 1px;
  color: #b08968;
}

/* описание */
.package-services {
  font-size: 18px;
  line-height: 1.7;
  color: #6b5b5b;
  margin-bottom: 18px;
}

/* цена */
.package-price {
  font-size: 24px;
  font-weight: 700;
  color: #3a2f2f;
}

/* выделенный пакет */
.package-card.highlight {
  background: linear-gradient(145deg, #fff3ec, #fce8dd);
  border: 1px solid rgba(200, 150, 130, 0.4);
  box-shadow: 0 0 25px rgba(255, 200, 180, 0.25);
}
.services {
  padding: 60px 0;
}

.services-title {
  font-size: 32px;
  margin-bottom: 12px;
  color: #3a2f2f;
}

.services-lead {
  color: #7a6a6a;
  margin-bottom: 40px;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* карточка */
.service-card {
  background: linear-gradient(145deg, #fffaf7, #f8f2ee);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(200, 170, 150, 0.25);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(180, 140, 120, 0.15);
}

/* заголовок */
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #b08968;
}

/* текст */
.service-card p {
  font-size: 18px;
  color: #6b5b5b;
  margin-bottom: 18px;
}

/* кнопка */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f3e6df;
  color: #5a4a4a;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #e8d5cc;
}
.price {
  padding: 50px 0;
  max-width: 700px;
}

.price-title {
  font-size: 26px;
  margin-bottom: 24px;
  color: #3a2f2f;
}

/* контейнер */
.price-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* строка */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fffaf7;
  border: 1px solid rgba(200, 170, 150, 0.2);
  transition: 0.25s ease;
}

/* hover */
.price-row:hover {
  background: #fdf2ec;
  transform: translateX(3px);
}

/* название */
.price-row span:first-child {
  color: #5a4a4a;
  font-size: 18px;
  width: 80%;
}

/* цена */
.price-row span:last-child {
  font-weight: 600;
  color: #3a2f2f;
}
.price-note {
  font-size: 16px;
  color: #9c8b8b;
  margin-top: 4px;
}

/* SEO service pages */
.seo-hero{
  padding: 46px 0 42px;
  background:
          linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,246,248,.82)),
          radial-gradient(700px 320px at 78% 18%, rgba(255,77,166,.12), transparent 64%);
}

.seo-hero-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 34px;
  align-items:center;
}

.breadcrumbs{
  color: rgba(11,11,15,.58);
  font-size: 15px;
  margin-bottom: 14px;
}

.breadcrumbs a{
  color: rgba(11,11,15,.78);
  font-weight: 700;
}

.seo-badges{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  margin: 18px 0 4px;
}

.seo-badges span{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: rgba(11,11,15,.72);
  font-size: 14px;
  font-weight: 750;
}

.seo-hero-media{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(20,16,30,.14);
  aspect-ratio: 16 / 11;
  background:#fff;
}

.seo-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.seo-layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items:start;
}

.seo-content{
  display:grid;
  gap: 18px;
}

.seo-block{
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  scroll-margin-top: 96px;
}

.seo-price-head{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items:center;
  margin-bottom: 18px;
}

.seo-price-head img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(20,16,30,.10);
}

.bullets,
.steps{
  margin: 10px 0 0;
  padding-left: 20px;
  color: rgba(11,11,15,.78);
  line-height: 1.7;
}

.bullets li,
.steps li{
  margin: 7px 0;
}

.faq-list{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}

.faq-list details{
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  border-radius: 14px;
}

.faq-list summary{
  cursor:pointer;
  font-weight: 850;
}

.faq-list p{
  margin: 10px 0 0;
  color: rgba(11,11,15,.72);
}

.related-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 12px;
}

.seo-aside{
  display:grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.seo-aside .form{
  max-width:none;
}

.seo-aside .card{
  border-radius: 18px;
}

.seo-block .price-row{
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20,16,30,.05);
}

.seo-block .price-row:hover{
  transform: none;
  background: #fff7fb;
}

.seo-block .btn,
.seo-aside .btn,
.seo-hero .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 850;
}

.seo-block .btn:not(.btn-ghost),
.seo-aside .btn:not(.btn-ghost),
.seo-hero .btn:not(.btn-ghost){
  color:#fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.seo-block .btn-ghost,
.seo-hero .btn-ghost{
  color: rgba(11,11,15,.86);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}

@media (max-width: 980px){
  .seo-hero-grid,
  .seo-layout{
    grid-template-columns: 1fr;
  }

  .seo-aside{
    position: static;
  }

  .seo-price-head{
    grid-template-columns: 1fr;
  }

  .seo-price-head img{
    max-height: 220px;
  }
}
