:root{
    --bg:#ffffff;
    --ink:#0b0f17;
    --muted:#667085;
    --line:rgba(2,6,23,.10);
    --soft:rgba(2,6,23,.04);
    --card:#ffffff;
    --shadow: 0 18px 55px rgba(2,6,23,.10);
    --shadow2: 0 10px 35px rgba(2,6,23,.08);
    --radius:22px;
    --radius2:28px;
    --max: 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:var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
h1,
h2,
.h1,
.h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	/*font-family: var(--font-family);*/
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 950 !important;
}

.bg-custom {
  background-color: #f6f2ee;
}
.modal-header {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.modal-body {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 2rem;
}
.modal-body h1 {
  font-size: 1.383rem;
}

  a{color:inherit; text-decoration:none}
  img{max-width:100%; display:block}
  .container{max-width:var(--max); margin:0 auto; padding:0 20px}

  /* NAV */
  .nav{
    position:sticky; top:0; z-index:50;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,.78);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner{display:flex; align-items:center; justify-content:space-between; height:64px}
  .brand{font-weight:900; letter-spacing:-.02em; display:flex; align-items:center; gap:10px}
  .dot{width:10px; height:10px; border-radius:99px; background: linear-gradient(135deg, rgba(2,6,23,.9), rgba(2,6,23,.35)); box-shadow: 0 8px 25px rgba(2,6,23,.18)}
  .nav-links{display:flex; gap:18px; align-items:center}
  .nav-links a{color: rgba(2,6,23,.78); font-weight:700; font-size:14px; padding:8px 10px; border-radius:12px}
  .nav-links a:hover{background:var(--soft)}

  .btn:not(.acceptcookies){
    display:inline-flex; align-items:center; justify-content:center;
    padding:12px 16px;
    border-radius: 14px;
    font-weight:900;
    letter-spacing:-.01em;
    border:1px solid var(--line);
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 30px rgba(2,6,23,.06);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor:pointer;
  }
  .btn:hover{transform: translateY(-1px); box-shadow: var(--shadow2)}
  .btn.primary, .btn.btn-primary, .btn.btn-success{background:#513628; color:#fff; border-color:#513628; box-shadow:0 16px 45px rgba(2,6,23,.22)}
  .btn.primary:hover, .btn.btn-primary:hover, .btn.btn-success:hover{box-shadow:0 22px 55px rgba(2,6,23,.28)}
  .btn.small{padding:10px 14px; font-size:14px; border-radius:12px}

  .btn.modal-close {border:none;}
  /* HERO */
  .hero{position:relative; overflow:hidden; border-bottom:1px solid var(--line)}
  .hero-inner{padding:84px 0 54px; display:grid; grid-template-columns: 1.05fr .95fr; gap:34px; align-items:center}

  .bg-wrap{position:absolute; inset:-140px; pointer-events:none; opacity:.9; filter: blur(20px); 
    /*box-shadow: inset 0 0 200px 50px #f7be8a;*/
  }
  .orb{position:absolute; width:560px; height:560px; border-radius:999px;
    background: radial-gradient(circle at 30% 30%, rgb(214 191 168 / 39%), transparent 58%),
                radial-gradient(circle at 70% 70%, rgb(255 244 229 / 59%), transparent 64%);
    animation: float 14s ease-in-out infinite;
  }
  .orb.o1{left:-160px; top:-120px}
  .orb.o2{right:-200px; top:110px; animation-delay:-5s}
  .orb.o3{left:18%; bottom:-280px; width:660px; height:660px; animation-delay:-9s}

  .covers .orb.o1{left:-160px; top:280px}
  .covers .orb.o2{right:-200px; top:290px}

  @keyframes float{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(18px,-16px) scale(1.04)}}

  .kicker{display:inline-flex; gap:10px; align-items:center; background:rgba(2,6,23,.04); border:1px solid var(--line); padding:10px 12px; border-radius:999px; color:rgba(2,6,23,.78); font-weight:800; font-size:13px}
  h1{margin:18px 0 14px; font-size: clamp(36px, 4.2vw, 56px); line-height:1.03; font-weight:950}
  .lead{margin:0 0 22px; color:var(--muted); font-weight:650; font-size:17px; line-height:1.55; max-width: 60ch}
  .hero-cta{display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom: 18px}
  .micro{color: rgba(2,6,23,.62); font-weight:650; font-size:13px; line-height:1.5}
  .micro-name{margin-top: 25px; color: rgb(143 114 86); font-weight: 650; line-height: 1.5; font-size: 17px;}

  .stat-row{display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-top:18px}
  .stat{background:rgba(255,255,255,.72); border:1px solid var(--line); border-radius:var(--radius); padding:16px; box-shadow:0 18px 50px rgba(2,6,23,.06); backdrop-filter: blur(10px)}
  .stat b{display:block; font-size:18px; letter-spacing:-.02em}
  .stat small{color:var(--muted); font-weight:650}

  .hero-visual{
    border:1px solid var(--line);
    border-radius: var(--radius2);
    overflow:hidden;
    box-shadow: var(--shadow);
    background: rgba(255,255,255,.9);
    position:relative;
    transform: translateZ(0);
  }
  .hero-visual::after{
    content:"";
    position:absolute; inset:0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%),
                linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.00) 40%, rgba(2,6,23,.04));
    pointer-events:none;
  }
  .hero-visual img{
    width:100%; height: 659px; object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.2s ease;
  }
  .hero-visual:hover img{transform: scale(1.05)}

  /* SECTIONS */
  section{padding:78px 0}
  .section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:30px}
  h2{margin:0; font-size: clamp(26px, 2.5vw, 34px); letter-spacing:-.03em; font-weight:950; line-height:1.1}
  .sub{margin:0; margin-top: 10px; color:var(--muted); font-weight:650; line-height:1.6; max-width: 72ch}

  .grid3{display:grid; grid-template-columns: repeat(3,1fr); gap:14px}
  .grid2{display:grid; grid-template-columns: repeat(2,1fr); gap:14px}

  .card{border:1px solid var(--line); border-radius:var(--radius); background:var(--card); box-shadow: 0 18px 45px rgba(2,6,23,.06); padding:18px; transition: transform .2s ease, box-shadow .2s ease}
  .card:hover{transform: translateY(-2px); box-shadow: var(--shadow2)}
  .icon{width:44px; height:44px; border-radius:16px; border:1px solid rgba(2,6,23,.12); background:rgba(2,6,23,.04); display:flex; align-items:center; justify-content:center; font-weight:950; margin-bottom:12px}
  .card b{display:block; font-weight:950; letter-spacing:-.02em; margin-bottom:6px}
  .card p{margin:0; color:var(--muted); font-weight:650; line-height:1.6}

  /* portfolio gallery */
  .gallery{display:grid; grid-template-columns: repeat(3,1fr); gap:14px}
  .shot{
    border-radius: var(--radius2);
    overflow:hidden;
    border:1px solid var(--line);
    box-shadow: 0 14px 19px rgba(2,6,23,.07);
    position:relative;
    cursor: zoom-in;
    background: #fff;
  }
  .shot img{width:100%; height: 420px; object-fit:cover; transform: scale(1.02); transition: transform .9s ease}
  .shot:hover img{transform: scale(1.06)}

  /* covers carousel */
  .covers{
    border:1px solid var(--line);
    border-radius: var(--radius2);
    background: rgba(2,6,23,.02);
    box-shadow: 0 22px 60px rgba(2,6,23,.06);
    padding: 14px;
  }
  .covers-head{display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 4px 6px 12px}
  .covers-head b{font-weight:950; letter-spacing:-.02em}
  .hint{font-size:13px; color:var(--muted); font-weight:650}

  .rail{
    display:flex;
    gap: 12px;
    overflow:auto;
    padding: 4px 6px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .rail::-webkit-scrollbar{height:10px}
  .rail::-webkit-scrollbar-thumb{background: rgba(2,6,23,.12); border-radius: 999px}
  .cover{
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: 18px;
    overflow:hidden;
    border: 1px solid rgba(2,6,23,.10);
    background: #fff;
    box-shadow: 0 12px 30px rgba(2,6,23,.08);
    position:relative;
  }
  .cover img{width:100%; height: 180px; object-fit: cover}
  .cover .meta{padding: 10px 12px 12px}
  .cover .meta b, .content_list .tile .h5 {display:block; font-weight:950!important; letter-spacing:-.02em; font-size:14px; margin-bottom:4px}
  .cover .meta span, .content_list .tile .field {display:block; color: var(--muted); font-weight:650; font-size:13px; line-height:1.35}

  /* program list */
  details{
    border:1px solid rgba(2,6,23,.10);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(2,6,23,.06);
    overflow:hidden;
  }
  details + details{margin-top: 10px}
  summary{
    list-style:none;
    cursor:pointer;
    padding: 14px 16px;
    font-weight:950;
    letter-spacing:-.02em;
    display:flex; align-items:center; justify-content:space-between;
  }
  summary::-webkit-details-marker{display:none}
  .sum-right{color: var(--muted); font-weight:700; font-size:13px}
  .panel{padding: 0 16px 16px; color: rgba(2,6,23,.78); font-weight:650; line-height:1.65}
  .panel ul{margin: 10px 0 0; padding-left: 18px}
  .panel li{margin: 4px 0}

  /* =========================
 BEFORE / AFTER (Presets)
 ========================= */
 .preset-grid{display:grid; grid-template-columns: repeat(3,1fr); gap:14px}
  .preset-card{
    border:1px solid var(--line);
    border-radius: var(--radius2);
    background:#fff;
    box-shadow: 0 18px 45px rgba(2,6,23,.06);
    overflow:hidden;
  }
  .preset-body{padding:14px 16px 16px}
  .preset-title{font-weight:950; letter-spacing:-.02em; margin:0 0 6px}
  .preset-desc{margin:0 0 10px; color:var(--muted); font-weight:650; line-height:1.55; font-size:13px}
  .preset-list{margin:0; padding-left:16px; color: rgba(2,6,23,.78); font-weight:650; line-height:1.55; font-size:13px}
  .preset-foot{margin-top:10px; padding-top:10px; border-top:1px solid rgba(2,6,23,.10); color: var(--muted); font-weight:650; font-size:13px}

.ba {
width: 100%;
position: relative;
}

.ba-wrap {
position: relative;
width: 100%;
height: 260px;
overflow: hidden;
border-radius: 18px;
background: #000;
border: 1px solid rgba(2,6,23,.12);
box-shadow: 0 18px 45px rgba(2,6,23,.12);
}

/* оба изображения одинаковые */
.ba-wrap img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
user-select: none;
pointer-events: none;
}

/* AFTER — обрезаем маской, а не размером */
.ba-wrap .after {
position: absolute;
inset: 0;
clip-path: inset(0 50% 0 0);
transition: clip-path 0.02s linear;
}

/* линия разделения */
.ba-wrap .handle {
position: absolute;
top: 0;
bottom: 0;
width: 2px;
background: rgba(255,255,255,.9);
left: 50%;
transform: translateX(-1px);
pointer-events: none;
z-index: 3;
}

/* бегунок */
.ba-wrap .knob {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 44px;
height: 44px;
border-radius: 14px;
background: rgba(255,255,255,.95);
box-shadow: 0 12px 30px rgba(0,0,0,.25);
font-weight: 900;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
z-index: 4;
}

/* подписи */
.ba-wrap .labels {
position: absolute;
left: 0;
right: 0;
bottom: 10px;
display: flex;
justify-content: space-between;
padding: 0 14px;
font-size: 12px;
font-weight: 700;
color: rgba(255,255,255,.85);
pointer-events: none;
z-index: 2;
}

/* range — скрытый, но доступный */
.ba-wrap input[type="range"] {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: ew-resize;
z-index: 5;
}


  /* FAQ */
  .faq{
    border:1px solid var(--line);
    border-radius: var(--radius2);
    background:#fff;
    box-shadow: 0 18px 45px rgba(2,6,23,.06);
    overflow:hidden;
  }
  .faq-item{border-top:1px solid rgba(2,6,23,.10)}
  .faq-item:first-child{border-top:none}
  .faq-q{
    width:100%;
    background:transparent;
    border:0;
    padding:16px 16px;
    text-align:left;
    display:flex; justify-content:space-between; align-items:center;
    font-weight:950; letter-spacing:-.02em;
    cursor:pointer;
    color: var(--ink);
  }
  .faq-q span{color: var(--muted); font-weight:900}
  .faq-a{
    padding:0 16px 16px;
    color: rgba(2,6,23,.78);
    font-weight:650;
    line-height:1.65;
    display:none;
  }
  .faq-item.open .faq-a{display:block}

  /* start */
  .start{border-top:1px solid var(--line); background: linear-gradient(180deg, rgba(2,6,23,.02), transparent 65%)}
  .buybox{border:1px solid var(--line); border-radius: var(--radius2); background: rgba(255,255,255,.86); box-shadow: var(--shadow); padding:22px; display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:center}
  .buybox h3{margin:0 0 8px; font-weight:950; letter-spacing:-.03em}
  .muted{color: var(--muted); font-weight:650; line-height:1.65}
  .buyright{border-left: 1px solid rgba(2,6,23,.10); padding-left:18px; display:flex; flex-direction:column; gap:10px}
  .price{font-size: 38px; margin:0; font-weight:950; letter-spacing:-.03em}
  .fine{font-size: 12.5px; color: rgba(2,6,23,.58); font-weight:650; line-height:1.5}

  /* lightbox */
  .lightbox{
    position:fixed; inset:0; z-index: 80;
    background: rgba(11,15,23,.75);
    backdrop-filter: blur(10px);
    display:none;
    align-items:center;
    justify-content:center;
    padding: 18px;
  }
  .lightbox.show{display:flex}
  .lb-inner{
    max-width: min(980px, 96vw);
    width:100%;
    border-radius: 26px;
    overflow:hidden;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    background: rgba(255,255,255,.06);
    position:relative;
  }
  .lb-inner img{width:100%; height: auto; display:block; background:#000}
  .lb-close{
    position:absolute; top:12px; right:12px;
    width:44px; height:44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(11,15,23,.35);
    color:#fff;
    font-weight:950;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
  }

  /* Sticky bottom bar */
  .bottombar{position:fixed; left:0; right:0; bottom:0; z-index:60; background: rgba(255,255,255,.82); border-top:1px solid var(--line); backdrop-filter: blur(14px)}
  .bottombar .inner{max-width: var(--max); margin:0 auto; padding:10px 20px; display:flex; align-items:center; justify-content:space-between; gap:12px}
  .bb-title{font-weight:950!important; letter-spacing:-.02em}
  .bb-sub{font-size:13px; color:var(--muted); font-weight:650}
  .bb-right{display:flex; align-items:center; gap: 12px}
  .bb-price{font-weight:950; letter-spacing:-.02em}
  .hide{display:none !important}

  /* Reveal */
  .reveal{opacity:0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease}
  .reveal.show{opacity:1; transform: translateY(0)}
  .delay1{transition-delay:.08s}
  .delay2{transition-delay:.16s}
  .delay3{transition-delay:.24s}

  /* responsive */
  @media (max-width: 980px){
    .nav-links{display:none}
    .hero-inner{grid-template-columns: 1fr; padding:64px 0 44px}
    .stat-row{grid-template-columns: 1fr}
    .grid3{grid-template-columns: 1fr}
    .grid2{grid-template-columns: 1fr}
    .gallery{grid-template-columns: 1fr}
    .preset-grid{grid-template-columns: 1fr}
    .hero-visual img{height: 460px}
    .shot img{height: 520px}
    .buybox{grid-template-columns:1fr}
    .buyright{border-left:none; padding-left:0; border-top:1px solid rgba(2,6,23,.10); padding-top:14px}
  }
  .spacer{height:74px}

.mr-n3-custom {
  margin-right: -20px;
}
.ml-n3-custom {
  margin-left: -20px;
}
.mx-n3-custom {
  margin-right: -20px;
  margin-left: -20px;
}
.slick-list {
  padding: 0 20px 20px;
}

.icms-cookiealert {
  display: none;
}