/*
  Стили сайта ДНдекор, перенесённые из index.html практически без изменений.
  Подключается через functions.php (wp_enqueue_style).
*/
:root{
  --lav-900:#372E50;
  --lav-800:#473A66;
  --lav-700:#5C4B82;
  --lav-600:#7A66A8;
  --lav-500:#9B85C9;
  --lav-400:#B5A2D9;
  --lav-300:#D2C4EA;
  --lav-200:#E6DCF4;
  --lav-100:#F3EDFA;
  --cream:#FAF7F2;
  --cream-2:#F3EEE6;
  --ink:#2A2535;
  --ink-soft:#6A6478;
  --white:#FFFFFF;
  --radius-lg:28px;
  --radius-md:18px;
  --radius-sm:12px;
  --shadow-soft:0 20px 60px -25px rgba(55,46,80,0.35);
  --serif:'Cormorant Garamond', serif;
  --sans:'Manrope', sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{text-decoration:none; color:inherit;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer; border:none;}
input,select{font-family:inherit;}
.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}
section{position:relative;}
.eyebrow{
  font-family:var(--sans);
  font-weight:700;
  font-size:12.5px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--lav-600);
  margin-bottom:14px;
  display:inline-block;
}
.eyebrow.on-dark{color:var(--lav-300);}
h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:600;
  color:var(--ink);
  line-height:1.12;
}
.section-title{
  font-size:clamp(30px,4.2vw,46px);
  margin-bottom:16px;
}
.section-title em{
  font-style:italic;
  color:var(--lav-600);
  font-weight:500;
}
.section-sub{
  font-size:16.5px;
  color:var(--ink-soft);
  max-width:620px;
  line-height:1.7;
}
.section-head{
  text-align:center;
  margin:0 auto 56px;
  max-width:680px;
}
.section-head .section-sub{margin:0 auto;}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 32px;
  border-radius:100px;
  font-weight:700;
  font-size:13.5px;
  letter-spacing:0.07em;
  text-transform:uppercase;
  transition:all .25s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--lav-700);
  color:var(--white);
}
.btn-primary:hover{background:var(--lav-800); transform:translateY(-2px);}
.btn-lavender{
  background:var(--lav-600);
  color:var(--white);
}
.btn-lavender:hover{background:var(--lav-700); transform:translateY(-2px);}
.btn-ghost{
  background:rgba(255,255,255,0.08);
  color:var(--white);
  border:1.5px solid rgba(255,255,255,0.55);
  backdrop-filter:blur(4px);
}
.btn-ghost:hover{background:rgba(255,255,255,0.18); transform:translateY(-2px);}
.btn-outline-dark{
  background:transparent;
  color:var(--ink);
  border:1.5px solid var(--ink);
}
.btn-outline-dark:hover{background:var(--ink); color:var(--white);}
.btn-block{width:100%;}

.cta-block{display:flex; flex-direction:column; align-items:center; gap:14px;}

/* ---------- decorative circles ---------- */
.deco-circle{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  z-index:0;
}

/* ============ HEADER ============ */
#site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:rgba(250,247,242,0.0);
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding:22px 0;
}
#site-header.scrolled{
  background:rgba(56,46,81,0.94);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 30px -18px rgba(42,37,53,0.4);
  padding:13px 0;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.brand-mark{
  width:44px; height:44px;
  border-radius:50%;
  overflow:hidden;
  flex-shrink:0;
  box-shadow:0 2px 10px -2px rgba(42,37,53,0.35);
}
.brand-mark img{width:100%; height:100%; object-fit:cover; display:block;}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-text .name{
  font-family:var(--serif);
  font-weight:600;
  font-size:21px;
  letter-spacing:0.01em;
  transition:color .3s ease;
}
.light-mode .brand-text .name{color:var(--white);}
#site-header.scrolled .brand-text .name{color:var(--white);}
.brand-text .tagline{
  font-size:10px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--lav-400);
  margin-top:2px;
}
#site-header.scrolled .brand-text .tagline{color:var(--lav-200);}

.main-nav{
  display:flex;
  align-items:center;
  gap:34px;
}
.main-nav a{
  font-size:14.5px;
  font-weight:600;
  color:rgba(255,255,255,0.92);
  position:relative;
  padding:4px 0;
  transition:color .3s ease;
}
#site-header.scrolled .main-nav a{color:var(--white);}
.main-nav a::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-4px;
  height:2px;
  background:var(--lav-500);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s ease;
}
.main-nav a:hover::after{transform:scaleX(1);}

.header-contact{
  display:flex;
  align-items:center;
  gap:22px;
  flex-shrink:0;
}
.header-contact .info{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.35;
}
.header-contact .phone{
  font-weight:700;
  font-size:15px;
  color:var(--white);
  transition:color .3s ease;
}
#site-header.scrolled .header-contact .phone{color:var(--white);}
.header-contact .mail{
  font-size:12px;
  color:rgba(255,255,255,0.75);
  transition:color .3s ease;
}
#site-header.scrolled .header-contact .mail{color:rgba(255,255,255,0.75);}

.header-soc{
  display:flex;
  align-items:center;
  gap:8px;
}
.header-soc a{
  width:32px; height:32px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.14);
  color:var(--white);
  border:1px solid rgba(255,255,255,0.4);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
  flex-shrink:0;
}
.header-soc a:hover{background:var(--lav-500); border-color:var(--lav-500);}
#site-header.scrolled .header-soc a{background:rgba(255,255,255,0.14); color:var(--white); border-color:rgba(255,255,255,0.4);}
#site-header.scrolled .header-soc a:hover{background:var(--lav-500); border-color:var(--lav-500);}

.burger{
  display:none;
  width:44px; height:44px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.4);
  flex-direction:column;
  gap:4px;
  flex-shrink:0;
}
#site-header.scrolled .burger{background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.4);}
.burger span{
  width:18px; height:2px;
  background:var(--white);
  transition:all .3s ease;
}
#site-header.scrolled .burger span{background:var(--white);}

.mobile-phone-link{
  display:none;
  width:40px; height:40px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.12);
  color:var(--white);
  border:1px solid rgba(255,255,255,0.4);
}
#site-header.scrolled .mobile-phone-link{color:var(--white); background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.4);}

.mobile-menu{
  position:fixed;
  inset:0;
  background:linear-gradient(165deg,#3A3155 0%, #4F4170 55%, #6B5896 100%);
  z-index:1200;
  display:flex;
  flex-direction:column;
  padding:28px 28px 40px;
  transform:translateX(100%);
  transition:transform .35s ease;
}
.mobile-menu.open{transform:translateX(0);}
.mobile-menu-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.mobile-close{
  width:42px; height:42px;
  border-radius:50%;
  background:rgba(255,255,255,0.14);
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}
.mobile-menu nav{
  margin-top:50px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.mobile-menu nav a{
  color:var(--white);
  font-family:var(--serif);
  font-size:30px;
  font-weight:500;
  padding:14px 4px;
  border-bottom:1px solid rgba(255,255,255,0.14);
}
.mobile-menu-foot{
  margin-top:auto;
  color:rgba(255,255,255,0.85);
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:15px;
}
.mobile-menu-foot a{font-weight:700;}

/* ============ HERO ============ */
#hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:80px 0 48px;
}
.hero-bg{position:absolute; inset:0; z-index:0;}
.hero-bg img{width:100%; height:100%; object-fit:cover;}
.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(33,27,49,0.90) 0%, rgba(45,38,66,0.60) 34%, rgba(45,38,66,0.68) 66%, rgba(28,23,41,0.92) 100%),
    linear-gradient(150deg, rgba(58,48,84,0.45), rgba(96,80,138,0.28));
}
#hero .deco-circle{z-index:1;}
#hero .deco-circle.c1{width:520px; height:520px; border:1px solid rgba(255,255,255,0.16); top:-160px; right:-120px;}
#hero .deco-circle.c2{width:340px; height:340px; border:1px solid rgba(255,255,255,0.12); top:-40px; right:40px;}
#hero .deco-circle.c3{width:230px; height:230px; background:rgba(214,196,240,0.10); bottom:-60px; left:-60px;}
#hero .deco-circle.c4{width:120px; height:120px; border:1px solid rgba(255,255,255,0.22); bottom:18%; left:6%;}
.hero-center{
  position:relative;
  z-index:2;
  max-width:740px;
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero-logo{width:320px; margin-bottom:24px;}
.hero-logo img{width:100%; display:block;}
.hero-center h1{
  font-size:clamp(34px,5.2vw,58px);
  color:var(--white);
  margin-bottom:20px;
  letter-spacing:0.005em;
}
.hero-center h1 span{
  display:block;
  font-style:italic;
  font-weight:500;
  color:var(--lav-200);
}
.hero-center p.lead{
  color:rgba(255,255,255,0.88);
  font-size:19px;
  max-width:540px;
  margin:0 auto 32px;
  line-height:1.6;
  font-weight:500;
}
.hero-btns{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
}

/* ============ fade-in animation ============ */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.in{opacity:1; transform:translateY(0);}

/* ============ WHY US ============ */
#why{
  padding:64px 0 55px;
  background:var(--cream);
  position:relative;
}
#why .deco-circle{width:380px; height:380px; border:1px solid var(--lav-200); top:60px; left:-180px;}
.why-banner{
  border-radius:var(--radius-lg);
  overflow:hidden;
  height:260px;
  margin-bottom:50px;
  position:relative;
  z-index:1;
}
.why-banner img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:top;
  display:block;
}
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  position:relative;
  z-index:1;
}
.why-card{
  display:flex;
  align-items:flex-start;
  gap:20px;
  background:var(--white);
  border:1px solid var(--lav-100);
  border-radius:var(--radius-md);
  padding:28px 26px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.why-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-soft);
  border-color:var(--lav-300);
}
.why-card .num{
  font-family:var(--serif);
  font-size:48px;
  line-height:1;
  color:var(--lav-300);
  font-weight:600;
  flex-shrink:0;
}
.why-card h3{
  font-size:18px;
  font-family:var(--sans);
  font-weight:700;
  margin-bottom:8px;
  line-height:1.3;
}
.why-card p{
  font-size:14px;
  color:var(--ink-soft);
  line-height:1.6;
}

/* ============ PORTFOLIO ============ */
#portfolio{
  padding:55px 0 60px;
  background:var(--white);
}
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.pf-tile{
  position:relative;
  aspect-ratio:1/1;
  border-radius:var(--radius-sm);
  overflow:hidden;
  cursor:pointer;
}
.pf-tile img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  filter:blur(0.2px) saturate(1.05);
  transform:scale(1.008);
  transition:transform .6s ease;
}
.pf-tile:hover img{transform:scale(1.09);}

/* ============ LIGHTBOX ============ */
.lightbox-overlay{
  position:fixed; inset:0;
  background:rgba(20,16,28,0.92);
  z-index:3000;
  display:none;
  align-items:center; justify-content:center;
  padding:40px;
}
.lightbox-overlay.open{display:flex;}
.lightbox-img{
  max-width:90vw; max-height:85vh;
  border-radius:var(--radius-md);
  box-shadow:0 40px 90px -30px rgba(0,0,0,0.6);
  object-fit:contain;
}
.lightbox-close{
  position:absolute; top:24px; right:24px;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.12); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
  transition:background .2s ease;
}
.lightbox-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%;
  background:rgba(255,255,255,0.12); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.lightbox-close:hover, .lightbox-arrow:hover{background:rgba(255,255,255,0.24);}
.lightbox-prev{left:24px;}
.lightbox-next{right:24px;}
@media (max-width:640px){
  .lightbox-overlay{padding:16px;}
  .lightbox-arrow{width:40px; height:40px;}
  .lightbox-prev{left:8px;}
  .lightbox-next{right:8px;}
  .lightbox-close{top:16px; right:16px;}
}

/* ============ CALCULATOR ============ */
#calc{
  background:linear-gradient(165deg,#2C2540, #473A66 60%, #5C4B82);
  padding:55px 0 84px;
  position:relative;
  overflow:hidden;
}
#calc .deco-circle.c1{width:420px;height:420px;border:1px solid rgba(255,255,255,0.14); top:-200px; left:-120px;}
#calc .deco-circle.c2{width:260px;height:260px;border:1px solid rgba(255,255,255,0.14); bottom:-380px; right:6%;}
.calc-head{
  text-align:center;
  max-width:700px;
  margin:0 auto 50px;
  position:relative;
  z-index:1;
}
.calc-head h2{
  color:var(--white);
  font-size:clamp(30px,4.4vw,46px);
}
.calc-head h2 em{
  font-style:italic;
  color:var(--lav-200);
  font-weight:500;
}
.calc-head p{
  color:rgba(255,255,255,0.82);
  font-size:16px;
  margin-top:16px;
  max-width:560px;
  margin-left:auto; margin-right:auto;
}
.calc-checks{
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:26px;
  font-size:13.5px;
  color:rgba(255,255,255,0.92);
  font-weight:600;
}
.calc-checks .ck{display:flex; align-items:center; gap:8px;}
.calc-checks svg{color:var(--lav-200); flex-shrink:0;}

.calc-card{
  position:relative;
  z-index:1;
  max-width:1080px;
  margin:0 auto;
  transform:translateY(60px);
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:0 40px 80px -30px rgba(20,16,32,0.55);
  display:grid;
  grid-template-columns:1.55fr 1fr;
  overflow:hidden;
}
.calc-left{padding:32px 34px;}
.calc-right{
  background:var(--cream-2);
  padding:32px 34px;
  display:flex;
  flex-direction:column;
}
.field-label{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin-bottom:8px;
}
.field-label .val{
  font-family:var(--sans);
  font-size:24px;
  color:var(--ink);
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
}
.field-block{margin-bottom:20px;}
input[type=range]{
  -webkit-appearance:none;
  width:100%;
  height:4px;
  background:var(--lav-100);
  border-radius:4px;
  outline:none;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:22px; height:22px;
  border-radius:50%;
  background:var(--ink);
  border:4px solid var(--white);
  box-shadow:0 2px 8px rgba(0,0,0,0.3);
  cursor:pointer;
  margin-top:0;
}
input[type=range]::-moz-range-thumb{
  width:22px; height:22px;
  border-radius:50%;
  background:var(--ink);
  border:4px solid var(--white);
  box-shadow:0 2px 8px rgba(0,0,0,0.3);
  cursor:pointer;
}
.range-minmax{
  display:flex; justify-content:space-between;
  font-size:11px; color:var(--ink-soft); margin-top:6px;
}
.zones-list{display:flex; flex-direction:column; gap:7px;}
.zone-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1.5px solid var(--lav-100);
  border-radius:var(--radius-sm);
  padding:9px 14px;
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--ink);
}
.zone-row:hover{border-color:var(--lav-300);}
.zone-row.active{border-color:var(--ink); background:var(--lav-100);}
.zone-check{
  width:22px; height:22px;
  border-radius:50%;
  border:1.5px solid var(--lav-300);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition:all .2s ease;
}
.zone-row.active .zone-check{background:var(--ink); border-color:var(--ink); color:var(--white);}
.zone-row.active .zone-check svg{display:block;}
.zone-check svg{display:none;}
select.field-select{
  width:100%;
  border:1.5px solid var(--lav-100);
  border-radius:var(--radius-sm);
  padding:9px 14px;
  font-size:13.5px;
  font-weight:600;
  color:var(--ink);
  background:var(--white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" stroke="%236A6478" stroke-width="2"><path d="M2 4l5 5 5-5"/></svg>') no-repeat right 18px center;
  appearance:none;
}
.format-toggle{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1.5px solid var(--lav-100);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.format-toggle button{
  padding:11px 8px;
  background:var(--white);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:var(--ink-soft);
  border-right:1.5px solid var(--lav-100);
  transition:all .2s ease;
}
.format-toggle button:last-child{border-right:none;}
.format-toggle button.active{background:var(--lav-700); color:var(--white);}
.format-toggle button.active:hover{background:var(--lav-800);}
.calc-right .label-sm{
  font-size:12px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:14px;
}
.calc-price{
  font-family:var(--sans);
  font-size:clamp(30px,3vw,40px);
  font-weight:600;
  color:var(--ink);
  line-height:1.15;
  margin-bottom:18px;
}
.calc-disclaimer{
  font-size:12px;
  color:var(--ink-soft);
  line-height:1.7;
  margin-bottom:16px;
}
.calc-disclaimer b{color:var(--ink); font-weight:700;}
.calc-included{
  display:flex; flex-direction:column; gap:8px;
  margin-bottom:20px;
  padding:14px 16px;
  background:var(--white);
  border-radius:var(--radius-sm);
}
.calc-included .ci-title{
  font-size:12.5px; font-weight:700; color:var(--ink); margin-bottom:2px;
}
.calc-included .ci-row{
  display:flex; align-items:flex-start; gap:8px;
  font-size:12.5px; color:var(--ink); line-height:1.5;
}
.calc-included svg{color:var(--lav-600); flex-shrink:0; margin-top:2px;}
.calc-summary{
  border-top:1px solid var(--lav-300);
  padding-top:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:24px;
}
.calc-summary .srow{
  display:flex; justify-content:space-between;
  font-size:13.5px; color:var(--ink-soft); font-weight:600;
}
.calc-summary .srow b{color:var(--ink); font-weight:700;}
.calc-right .btn{margin-top:auto;}

/* ============ PRICING ============ */
#pricing{
  padding:64px 0 60px;
  background:var(--cream);
}
.price-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.price-card{
  background:var(--white);
  border-radius:var(--radius-md);
  border:1px solid var(--lav-100);
  border-top:none;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .3s ease, box-shadow .3s ease;
}
.price-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-soft);}
.price-card .pc-visual{
  height:210px;
  overflow:hidden;
  position:relative;
  border-radius:var(--radius-md) var(--radius-md) 0 0;
}
.price-card .pc-visual img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.price-card:hover .pc-visual img{transform:scale(1.06);}
.price-card .pc-body{padding:16px 28px 30px; display:flex; flex-direction:column; flex:1;}
.price-card h3{font-size:21px; margin-bottom:16px;}
.price-card ul{display:flex; flex-direction:column; gap:11px; margin-bottom:24px; flex:1;}
.price-card li{
  display:flex; justify-content:space-between; gap:10px;
  font-size:14px; color:var(--ink-soft);
  border-bottom:1px dashed var(--lav-100);
  padding-bottom:9px;
}
.price-card li b{color:var(--ink); font-weight:700; white-space:nowrap;}
.price-note{
  text-align:center;
  max-width:640px;
  margin:46px auto 0;
  color:var(--ink);
  font-weight:600;
  font-size:18px;
  line-height:1.6;
}

/* ============ TIMELINE ============ */
#process{
  padding:64px 0;
  background:linear-gradient(165deg,#2C2540, #473A66 60%, #5C4B82);
}
#process .section-head h2{color:var(--white);}
#process .section-head h2 em{color:var(--lav-200);}
.process-banner{
  border-radius:var(--radius-lg);
  overflow:hidden;
  height:180px;
  margin-bottom:50px;
  position:relative;
  z-index:1;
}
.process-banner img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.timeline{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0 30px;
  position:relative;
}
.tl-step{
  padding:60px 0 40px;
  position:relative;
}
.tl-num{
  position:absolute;
  top:-6px; left:0;
  font-family:var(--serif);
  font-size:104px;
  font-weight:600;
  line-height:1;
  color:rgba(255,255,255,0.12);
  z-index:0;
  user-select:none;
  pointer-events:none;
}
.tl-step h3{position:relative; z-index:1; font-size:18px; margin-bottom:8px; font-family:var(--sans); font-weight:700; color:var(--white);}
.tl-step p{position:relative; z-index:1; font-size:14px; color:rgba(255,255,255,0.75); line-height:1.65;}

/* ============ ABOUT ============ */
#about{
  padding:60px 0;
  background:var(--lav-100);
  position:relative;
  overflow:hidden;
}
#about .deco-circle{width:300px; height:300px; border:1px solid var(--lav-300); right:-120px; bottom:-120px;}
.about-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:60px;
  align-items:center;
  position:relative;
  z-index:1;
}
.about-visual{
  aspect-ratio:1/1;
  border-radius:var(--radius-lg);
  background:linear-gradient(150deg,#5C4B82,#372E50);
  position:relative;
  overflow:hidden;
}
.about-visual img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
}
.about-copy p{color:var(--ink-soft); font-size:16px; margin-bottom:18px; line-height:1.75;}

/* ============ TESTIMONIALS ============ */
#reviews{
  padding:64px 0;
  background:linear-gradient(165deg,#2C2540,#473A66);
}
#reviews .section-head h2{color:var(--white);}
#reviews .section-head .eyebrow{color:var(--lav-300);}
#reviews .section-head p{color:rgba(255,255,255,0.78);}
.review-slider{
  display:flex;
  align-items:center;
  gap:16px;
  max-width:860px;
  margin:0 auto;
}
.review-arrow{
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  background:rgba(255,255,255,0.06);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition:background .2s ease, border-color .2s ease;
}
.review-arrow:hover{background:var(--lav-600); border-color:var(--lav-600);}
.review-viewport{flex:1; overflow:hidden; position:relative;}
.review-slide{
  display:none;
  grid-template-columns:200px 1fr;
  gap:28px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.review-slide.active{display:grid;}
.review-photo{aspect-ratio:3/4; overflow:hidden;}
.review-photo img{width:100%; height:100%; object-fit:cover;}
.review-content{padding:24px 26px 24px 0; display:flex; flex-direction:column; justify-content:center;}
.review-content p{
  font-size:14px; color:rgba(255,255,255,0.86); line-height:1.7; margin-bottom:16px;
}
.review-content .who b{display:block; font-size:14px; color:var(--white);}
.review-content .who span{font-size:11.5px; color:rgba(255,255,255,0.6);}
.review-dots{display:flex; justify-content:center; gap:8px; margin-top:22px;}
.review-dots .dot{
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,0.3);
}
.review-dots .dot.active{background:var(--lav-300);}
.reviews-note{
  text-align:center; color:rgba(255,255,255,0.55); font-size:12px; margin-top:26px;
}
@media (max-width:640px){
  .review-slide{grid-template-columns:1fr;}
  .review-photo{aspect-ratio:16/10;}
  .review-photo img{object-position:top;}
  .review-content{padding:20px;}
  .review-slider{gap:8px;}
  .review-arrow{width:36px; height:36px;}
}

/* ============ CONTACT FORM ============ */
#contact{
  padding:64px 0 55px;
  background:var(--cream);
}
.contact-wrap{
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  display:grid;
  grid-template-columns:1fr 0.85fr;
  overflow:hidden;
}
.contact-form-side{padding:54px;}
.contact-form-side h2{font-size:clamp(26px,3vw,36px); margin-bottom:14px;}
.contact-form-side > p{color:var(--ink-soft); font-size:14.5px; margin-bottom:30px; line-height:1.7;}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:22px;
}
.form-grid .full{grid-column:1/-1;}
.form-field label{
  display:block; font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:6px;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  border:1.5px solid var(--lav-100);
  border-radius:var(--radius-sm);
  padding:11px 14px;
  font-size:13.5px;
  font-family:inherit;
  color:var(--ink);
  transition:border-color .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{outline:none; border-color:var(--lav-500);}
.form-field select{
  background:var(--white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" stroke="%236A6478" stroke-width="2"><path d="M2 4l5 5 5-5"/></svg>') no-repeat right 14px center;
  appearance:none;
}
.form-field textarea{resize:vertical; min-height:80px; line-height:1.5;}

.pill-group{display:flex; flex-wrap:wrap; gap:8px;}
.pill-input{position:absolute; opacity:0; width:1px; height:1px; pointer-events:none;}
.pill{
  display:inline-flex; align-items:center;
  padding:9px 16px;
  border:1.5px solid var(--lav-100);
  border-radius:100px;
  font-size:12.5px; font-weight:700;
  color:var(--ink-soft);
  cursor:pointer;
  transition:all .2s ease;
  user-select:none;
}
.pill:hover{border-color:var(--lav-300);}
.pill-input:checked + .pill{background:var(--lav-700); color:var(--white); border-color:var(--lav-700);}
.pill-input:focus-visible + .pill{outline:2px solid var(--lav-500); outline-offset:2px;}

.file-field{
  display:flex; align-items:center; gap:10px;
  border:1.5px dashed var(--lav-300);
  border-radius:var(--radius-sm);
  padding:13px 16px;
  font-size:12.5px;
  color:var(--ink-soft);
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease;
}
.file-field:hover{border-color:var(--lav-500); background:var(--lav-100);}
.file-field input{position:absolute; opacity:0; width:1px; height:1px;}
.file-field .fname{font-weight:700; color:var(--ink);}
.consent{
  font-size:12px; color:var(--ink-soft); line-height:1.6; margin-bottom:20px;
}
.consent a{color:var(--lav-700); text-decoration:underline;}
.contact-side-visual{
  background:linear-gradient(165deg,#5C4B82,#2C2540);
  padding:24px 44px 54px;
  color:var(--white);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}
.contact-side-visual .deco-circle{width:240px; height:240px; border:1px solid rgba(255,255,255,0.18); bottom:-100px; right:-90px;}
.contact-side-visual .top .top-logo{
  display:block; width:150px; height:auto; margin:0 auto 0;
}
.contact-side-visual .top p{font-size:14.5px; color:rgba(255,255,255,0.8); line-height:1.75;}
.contact-info-list{
  display:flex; flex-direction:column; gap:18px;
  position:relative; z-index:1;
}
.contact-info-list .ci{display:flex; gap:14px; align-items:flex-start;}
.contact-info-list .ci .ic{
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-info-list .ci b{display:block; font-size:14px;}
.contact-info-list .ci span{font-size:12.5px; color:rgba(255,255,255,0.7);}

.contact-side-visual .side-map{
  border-radius:var(--radius-md);
  overflow:hidden;
  flex:1 1 auto;
  min-height:220px;
  margin:16px 0;
  box-shadow:0 20px 45px -20px rgba(0,0,0,0.5);
  position:relative;
  z-index:1;
}
.contact-side-visual .side-map iframe{width:100%; height:100%; border:0; display:block;}
.contact-side-visual .side-map .map-pin-label{
  position:absolute; left:12px; bottom:12px;
  background:rgba(255,255,255,0.95);
  color:var(--ink);
  font-size:11.5px; font-weight:700;
  padding:7px 12px 7px 9px;
  border-radius:100px;
  box-shadow:0 8px 20px -8px rgba(0,0,0,0.5);
  pointer-events:none;
  z-index:2;
  display:flex; align-items:center; gap:6px;
}
@media (max-width:640px){
  .contact-side-visual .side-map{min-height:220px; margin:14px 0;}
}

/* ============ FOOTER ============ */
footer{
  background:#211C2E;
  color:rgba(255,255,255,0.75);
  padding:20px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 0.8fr 1fr 0.9fr;
  gap:40px;
  padding-bottom:25px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.footer-brand-row{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;}
.footer-brand .brand-mark{color:var(--white);}
.footer-brand .brand-text .name{color:var(--white);}
.footer-tagline{font-size:13.5px; color:rgba(255,255,255,0.55); margin-top:14px;}
.footer-col h4{
  color:var(--white); font-family:var(--sans); font-size:13px; font-weight:700;
  letter-spacing:0.08em; text-transform:uppercase; margin-bottom:20px;
}
.footer-col ul{display:flex; flex-direction:column; gap:12px;}
.footer-col a, .footer-col li{font-size:13.5px; color:rgba(255,255,255,0.65);}
.footer-col a:hover{color:var(--white);}
.footer-col .legal{font-size:12px; color:rgba(255,255,255,0.45); line-height:1.7; margin-top:6px;}
.footer-soc{display:flex; gap:10px;}
.footer-soc a{
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.footer-soc a:hover{background:var(--lav-600);}
.footer-bottom{
  padding:12px 0 17px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:12px;
  color:rgba(255,255,255,0.4);
}
.footer-bottom .disclaimer{max-width:760px; line-height:1.7;}

/* ============ MODAL ============ */
.modal-overlay{
  position:fixed; inset:0;
  background:rgba(33,28,46,0.65);
  backdrop-filter:blur(3px);
  z-index:2000;
  display:none;
  align-items:center; justify-content:center;
  padding:20px;
}
.modal-overlay.open{display:flex;}
.modal-box{
  background:var(--white);
  border-radius:var(--radius-lg);
  max-width:560px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  padding:19px 17px;
  position:relative;
  box-shadow:0 40px 90px -30px rgba(0,0,0,0.5);
}
.modal-box .form-grid{margin-bottom:8px; gap:8px;}
.modal-box .field-block-label{
  font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:4px; display:block;
}
.modal-box .modal-section{margin-bottom:8px;}
.modal-box .form-field label{margin-bottom:3px;}
.modal-box .pill-group{gap:4px;}
.modal-box .consent{font-size:11px; line-height:1.5; margin-bottom:10px;}
@media (max-width:560px){
  .modal-overlay{padding:0;}
  .modal-box{
    width:100%; max-width:100%;
    height:100vh; height:100dvh;
    max-height:100vh; max-height:100dvh;
    border-radius:0;
    padding:18px 14px 16px;
  }
}
.modal-close{
  position:absolute; top:9px; right:9px;
  width:36px; height:36px; border-radius:50%;
  background:var(--lav-100); color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
}
.modal-box h3{font-size:24px; margin-bottom:4px;}
.modal-box > p{font-size:13.5px; color:var(--ink-soft); margin-bottom:11px;}
.modal-box .form-field{margin-bottom:8px;}
.modal-thanks{
  display:none;
  text-align:center;
  padding:9px 0;
}
.modal-thanks.show{display:block;}
.modal-thanks .ic{
  width:62px; height:62px; border-radius:50%; background:var(--lav-100); color:var(--lav-700);
  display:flex; align-items:center; justify-content:center; margin:0 auto 8px;
}
.modal-thanks h3{margin-bottom:5px;}
.modal-thanks p{color:var(--ink-soft); font-size:14px;}

/* ============ POLICY CONTENT (страница политики конфиденциальности) ============ */
#policy{
  padding:64px 0 70px;
  background:var(--cream);
}
.policy-wrap{
  max-width:820px;
  margin:0 auto;
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  padding:54px;
}
.policy-wrap h1{font-size:clamp(28px,3.6vw,40px); margin-bottom:12px;}
.policy-wrap .updated{font-size:13px; color:var(--ink-soft); margin-bottom:36px;}
.policy-wrap h2{font-size:22px; margin:34px 0 12px;}
.policy-wrap h2:first-of-type{margin-top:0;}
.policy-wrap p{color:var(--ink-soft); font-size:15.5px; line-height:1.8; margin-bottom:14px;}
.policy-wrap ul{margin:0 0 14px; padding-left:0;}
.policy-wrap li{
  color:var(--ink-soft); font-size:15.5px; line-height:1.8;
  padding-left:22px; position:relative; margin-bottom:8px;
}
.policy-wrap li::before{
  content:'';
  position:absolute; left:0; top:11px;
  width:6px; height:6px; border-radius:50%;
  background:var(--lav-400);
}
.policy-wrap b{color:var(--ink);}
.policy-wrap a{color:var(--lav-700); text-decoration:underline;}

/* ============ RESPONSIVE ============ */
@media (max-width:1080px){
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .portfolio-grid{grid-template-columns:repeat(3,1fr);}
  .price-grid{grid-template-columns:1fr;}
  .timeline{grid-template-columns:repeat(2,1fr);}
  .reviews-grid{grid-template-columns:repeat(2,1fr);}
  .about-grid{grid-template-columns:1fr; gap:40px;}
  .about-visual{width:100%; max-width:420px; margin:0 auto;}
  .contact-wrap{grid-template-columns:1fr;}
  .contact-side-visual{order:-1;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:900px){
  #site-header .main-nav, #site-header .header-contact .info, #site-header .brand-text{display:none;}
  #site-header .burger{display:flex;}
  #site-header .mobile-phone-link{display:flex;}
  #site-header .header-contact{gap:10px; display:contents;}
  #site-header .header-soc{gap:6px; order:-1; flex-shrink:0;}
  #site-header .header-soc a{width:44px; height:44px;}
  #site-header .header-soc a svg{width:18px; height:18px;}
  #site-header .brand{order:0; display:none;}
  #site-header.scrolled .brand{display:flex;}
  #site-header .mobile-actions{display:flex; align-items:center; gap:8px; order:1; flex-shrink:0;}
  #site-header .mobile-phone-link{width:44px; height:44px;}
  .hero-logo{width:240px;}
  .calc-card{grid-template-columns:1fr;}
}
@media (max-width:400px){
  #site-header .header-soc{gap:4px;}
  #site-header .header-soc a{width:36px; height:36px;}
  #site-header .header-soc a svg{width:16px; height:16px;}
  .mobile-phone-link{width:36px; height:36px;}
  .burger{width:36px; height:36px;}
}
@media (max-width:640px){
  .container{padding:0 18px;}
  #why{padding:40px 0 32px;}
  #why .section-head{margin-bottom:32px;}
  .why-grid{grid-template-columns:1fr; gap:14px;}
  .why-card{padding:20px 18px;}
  #why .cta-block{margin-top:28px !important;}
  .portfolio-grid{grid-template-columns:repeat(2,1fr);}
  .timeline{grid-template-columns:1fr;}
  .tl-num{font-size:84px;}
  .why-banner{height:160px; margin-bottom:34px;}
  .process-banner{height:120px; margin-bottom:34px;}
  .reviews-grid{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
  .contact-form-side, .contact-side-visual{padding:34px 24px;}
  .calc-left, .calc-right{padding:22px 20px;}
  .footer-grid{grid-template-columns:1fr;}
  .hero-btns .btn{flex:1 1 100%;}
  .policy-wrap{padding:34px 22px;}
}

/* ============ ELEMENTOR ЛОВУШКИ СПЕЦИФИЧНОСТИ ============ */
/* Внутри редактора Elementor виджет HTML оборачивает контент в свой div (.elementor-widget-container) —
   это не влияет на вложенные классы выше, добавлено для ясности и не меняет ни одного правила. */
