/* ============================================================
   DV DETAILING STUDIO — общий файл стилей
   Подключается на каждой странице через <link rel="stylesheet" href="styles.css">
   Разбит на пронумерованные блоки в порядке секций на главной странице.
   ============================================================ */

/* ============================================================
   0. ПЕРЕМЕННЫЕ И БАЗА
   ============================================================ */
:root{
  --blue:       #1f6fd6;
  --blue-deep:  #0a2a5e;
  --blue-mid:   #123a7a;
  --blue-light: #4aa3df;
  --gold:       #f6ae2d;
  --ink:        #16233b;
  --ink-dim:    #5a6b85;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:80px; }
html,body{ margin:0; font-family:'Inter',sans-serif; color:var(--ink); overflow-x:hidden; background:#fff; }
body{ padding-top:70px; }
img{ max-width:100%; }
a{ color:inherit; }
h1,h2,h3,h4,h5,h6{ font-family:'Inter',sans-serif; }


/* ============================================================
   1. КНОПКИ
   ============================================================ */
.btn{
  padding:16px 28px; border-radius:10px; text-decoration:none;
  font-weight:800; font-size:14.5px; display:inline-block;
  border:none; cursor:pointer; font-family:inherit;
  transition:transform .2s ease, box-shadow .2s ease;
}
.cta-row{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }

.btn-gold{ background:var(--gold); color:#3a2604; box-shadow:0 12px 26px -6px rgba(246,174,45,.55); }
.btn-gold:hover{ transform:translateY(-3px); box-shadow:0 16px 32px -6px rgba(246,174,45,.65); }

.btn-outline{ border:2px solid rgba(255,255,255,.5); color:#fff; background:transparent; }
.btn-outline:hover{ transform:translateY(-3px); background:rgba(255,255,255,.1); }

.btn-book{ background:linear-gradient(135deg,var(--blue),var(--blue-light)); color:#fff; box-shadow:0 12px 26px -6px rgba(31,111,214,.55); }
.btn-book:hover{ transform:translateY(-3px); box-shadow:0 16px 32px -6px rgba(31,111,214,.65); }

.btn-gift{
  position:relative; overflow:hidden; color:#fff;
  border:2px solid var(--blue-light);
  background:linear-gradient(135deg, rgba(74,163,223,.28), rgba(31,111,214,.12));
  animation:giftPulse 2.4s ease-in-out infinite;
}
.btn-gift:hover{ transform:translateY(-3px); background:linear-gradient(135deg, rgba(74,163,223,.4), rgba(31,111,214,.2)); }
.btn-gift::after{
  content:""; position:absolute; top:0; left:-75%; width:45%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.65), transparent);
  transform:skewX(-20deg); animation:giftShine 2.8s ease-in-out infinite;
}
@keyframes giftShine{ 0%{left:-75%;} 55%{left:130%;} 100%{left:130%;} }
@keyframes giftPulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(74,163,223,.55); }
  50%{ box-shadow:0 0 0 10px rgba(74,163,223,0); }
}

.btn-dark{ background:var(--blue-deep); color:#fff; box-shadow:0 12px 26px -6px rgba(10,42,94,.5); }
.btn-dark:hover{ transform:translateY(-3px); }
.btn-outline-dark{ border:2px solid rgba(45,28,5,.35); color:#2d1c05; }
.btn-outline-dark:hover{ transform:translateY(-3px); background:rgba(45,28,5,.08); }


/* ============================================================
   2. ШАПКА (NAV)
   ============================================================ */
nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 5vw; background:rgba(10,42,94,0);
  transition:background .3s ease, box-shadow .3s ease;
}
nav.scrolled{ background:var(--blue-deep); box-shadow:0 6px 20px rgba(0,0,0,.2); }

.brand{ display:flex; align-items:center; gap:10px; font-weight:800; color:var(--blue-deep); font-size:16px; white-space:nowrap; text-decoration:none; }
nav.scrolled .brand{ color:#fff; }
.brand img{ height:42px; width:42px; object-fit:contain; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-tagline{ font-size:9.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin-top:2px; }
.brand-address{ font-size:9.5px; font-weight:400; color:#8a94a3; margin-top:2px; }
nav.scrolled .brand-address{ color:#b8c4d6; }

nav .links{ display:flex; gap:22px; font-size:14px; font-weight:600; }
nav .links a{ text-decoration:none; color:var(--blue); font-weight:700; transition:color .2s ease; }
nav .links a:hover{ color:var(--gold); }
nav.scrolled .links a{ color:#fff; }
nav.scrolled .links a:hover{ color:var(--gold); }
.links .contacts-btn{
  all:unset; cursor:pointer; text-decoration:none; color:var(--blue); font-weight:700;
  font-size:14px; font-family:inherit; transition:color .2s ease;
}
.links .contacts-btn:hover{ color:var(--gold); }
nav.scrolled .links .contacts-btn{ color:#fff; }
nav.scrolled .links .contacts-btn:hover{ color:var(--gold); }

.nav-call{ background:var(--gold); color:#3a2604; padding:10px 18px; border-radius:8px; font-weight:800; text-decoration:none; font-size:14px; white-space:nowrap; }

/* Гамбургер-кнопка мобильного меню */
.nav-toggle{ display:none; flex-direction:column; justify-content:center; gap:5px; width:36px; height:36px; background:transparent; border:none; cursor:pointer; padding:0; flex-shrink:0; }
.nav-toggle span{ display:block; width:100%; height:3px; border-radius:2px; background:var(--blue-deep); transition:background .2s ease, transform .2s ease, opacity .2s ease; }
nav.scrolled .nav-toggle span{ background:#fff; }
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

.mobile-menu{
  display:none; flex-direction:column;
  position:fixed; top:70px; left:0; right:0; z-index:49;
  background:var(--blue-deep);
  padding:6px 5vw 16px;
  box-shadow:0 12px 24px rgba(0,0,0,.3);
  max-height:calc(100vh - 70px);
  overflow-y:auto;
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{ color:#fff; text-decoration:none; font-weight:700; font-size:15px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.mobile-menu a:last-child{ border-bottom:none; }
.mobile-menu .mobile-call{ color:var(--gold); }
.mobile-menu .contacts-btn{
  all:unset; box-sizing:border-box; display:block; width:100%; text-align:left; cursor:pointer;
  color:#fff; font-weight:700; font-size:15px; padding:14px 0; font-family:inherit;
  border-bottom:1px solid rgba(255,255,255,.12);
}


/* ============================================================
   3. HERO (главная страница)
   ============================================================ */
.hero{
  position:relative; color:#fff; padding:8vh 5vw 14vh; overflow:hidden;
  background:
    linear-gradient(160deg, rgba(10,42,94,.62) 0%, rgba(18,58,122,.55) 100%),
    url("images/hero-water-droplets.jpg");
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.hero-grid{ max-width:1600px; margin:0 auto; display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }

.slide-left{ opacity:0; transform:translateX(-50px); animation:slideInLeft .8s ease .2s forwards; }
.slide-right{ opacity:0; transform:translateX(50px); animation:slideInRight .8s ease .4s forwards; }
.slide-title{ opacity:0; transform:translateX(50px); animation:slideInRight .8s ease .15s forwards; }
@keyframes slideInLeft{ to{ opacity:1; transform:translateX(0); } }
@keyframes slideInRight{ to{ opacity:1; transform:translateX(0); } }

.hero-text{ min-width:0; }
.hero-tagline{ display:inline-block; font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin:0 0 14px; }
.hero h1{ font-weight:800; font-size:clamp(32px,4.4vw,52px); line-height:1.15; margin:0 0 22px; color:#fff; }
.hero .intro{ font-size:17px; line-height:1.65; color:#cfe0f7; max-width:54ch; margin:0 0 34px; }
.hero .intro strong{ color:#fff; }

.marker{ position:relative; z-index:0; display:inline-block; padding:2px 8px; color:#1c1204; }
.marker::before{
  content:""; position:absolute; inset:4px -4px; z-index:-1;
  background:#ffd23f; transform:skewX(-4deg) rotate(-.5deg); border-radius:3px;
}

.hero-btn-col{ display:flex; flex-direction:column; gap:14px; width:100%; max-width:280px; margin:28px 0 0; }
.hero-btn-col .btn{ width:100%; text-align:center; }

.checklist{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; }
.checklist-side{ margin-top:28px; width:100%; max-width:460px; }
.checklist li{ font-size:14px; color:#dce8fa; padding-left:22px; position:relative; }
.checklist li::before{ content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:800; }

.hero-visual{ display:flex; flex-direction:column; align-items:center; }
.hero-card-title{ text-align:center; font-weight:800; font-size:clamp(28px,3.4vw,40px); line-height:1.15; margin:0 0 22px; color:#fff; }

.hero-card{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  padding:44px 36px; backdrop-filter:blur(6px);
  border-radius:42% 58% 65% 35% / 45% 40% 60% 55%;
  animation:blobMorph 14s ease-in-out infinite alternate;
}
@keyframes blobMorph{
  0%{ border-radius:42% 58% 65% 35% / 45% 40% 60% 55%; }
  50%{ border-radius:58% 42% 35% 65% / 55% 60% 40% 45%; }
  100%{ border-radius:48% 52% 55% 45% / 40% 55% 45% 60%; }
}
.badge-wrap{ position:relative; width:150px; height:150px; margin:0 auto 20px; }
.ring{ position:absolute; inset:0; border-radius:50%; border:2px dashed rgba(246,174,45,.6); animation:spin 24s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.logo-mask{ position:absolute; inset:6px; border-radius:50%; overflow:hidden; background:transparent; box-shadow:0 10px 26px rgba(0,0,0,.3); display:flex; align-items:center; justify-content:center; }
.logo-mask img{ width:100%; height:100%; object-fit:cover; transform:translateX(-8px); }
.hero-card .stars{ text-align:center; color:var(--gold); letter-spacing:3px; font-size:20px; margin-bottom:6px; }
.hero-card p{ text-align:center; font-size:13.5px; color:#cfe0f7; margin:0; }
.hero-card .addr{ text-align:center; font-size:12px; color:#9fb8dd; margin-top:10px; }

.wave{ position:absolute; left:0; right:0; bottom:-1px; line-height:0; }
.wave svg{ width:100%; height:90px; display:block; }

/* ---------- Мобильная минималистичная hero (заменяет .hero < 900px) ---------- */
.hero-mobile{
  display:none; padding:22px 20px 30px; color:#fff;
  background:
    linear-gradient(160deg, rgba(10,42,94,.72) 0%, rgba(18,58,122,.66) 100%),
    url("images/hero-water-droplets.jpg");
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.hero-mobile-badge{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.hero-mobile-badge img{ width:38px; height:38px; border-radius:50%; flex-shrink:0; object-fit:cover; }
.hero-mobile-badge strong{ display:block; font-size:14px; font-weight:800; }
.hero-mobile-badge span{ display:block; font-size:11px; color:var(--gold); font-weight:700; margin-top:1px; }
.hero-mobile h1{ font-size:clamp(24px,7vw,30px); font-weight:800; line-height:1.25; margin:0 0 10px; color:#fff; }
.hero-mobile p{ font-size:14px; line-height:1.55; color:#cfe0f7; margin:0 0 16px; }
.hero-mobile-tags{ display:flex; flex-wrap:wrap; gap:7px; margin-bottom:20px; }
.hero-mobile-tags span{
  font-size:11px; font-weight:700; color:#dce8fa; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18); padding:6px 12px; border-radius:999px;
}
.hero-mobile-btns{ display:flex; flex-direction:column; gap:10px; }
.hero-mobile-btns .btn{ width:100%; text-align:center; padding:14px; font-size:14px; }


/* ============================================================
   4. КАЛЬКУЛЯТОР ПАКЕТОВ
   ============================================================ */
.dv-builder{ width:100%; max-width:1800px; margin:0 auto; padding:60px 3vw; box-sizing:border-box; font-family:inherit; background:linear-gradient(180deg,#f8f9fb 0%,#ffffff 100%); border-radius:24px; }
.dv-header{ text-align:center; margin-bottom:20px; }
.dv-header h2{ font-size:42px; font-weight:800; color:var(--gold); letter-spacing:1px; margin:0 0 10px; }
.dv-header p{ font-size:17px; color:#666; margin:4px 0; }

.dv-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:40px; align-items:stretch; margin-top:30px; }
.dv-ceramic-col{ display:flex; flex-direction:column; gap:40px; min-width:0; }
.dv-ceramic-col .dv-section{ flex:none; }
.dv-ceramic-col .dv-return-box{ flex:1; }
.dv-section{ min-width:0; background:linear-gradient(180deg,#ffffff 0%,#f7faff 45%,#f4f7fb 100%); border:1px solid rgba(31,111,214,0.08); border-radius:24px; padding:32px; box-shadow:0 10px 35px rgba(0,0,0,0.06); transition:all .3s ease; }
.dv-section:hover{ transform:translateY(-4px); box-shadow:0 18px 50px rgba(0,0,0,0.10); }
.dv-section h3{ font-size:30px; font-weight:800; margin:0 0 24px; color:var(--blue); letter-spacing:.5px; }
.dv-section h4{ font-size:16px; margin:18px 0 10px; color:var(--ink); }

.dv-option{ display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px; margin-bottom:14px; border-radius:18px; background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%); border:1.5px solid rgba(246,174,45,.45); cursor:pointer; text-align:left; transition:all .25s ease; }
.dv-option:hover{ transform:translateY(-3px); border-color:var(--blue); box-shadow:0 10px 25px rgba(31,111,214,.15); }
.dv-option div{ text-align:left; min-width:0; }
.dv-option input{ transform:scale(1.25); accent-color:var(--gold); flex-shrink:0; }
.dv-option strong{ display:block; font-size:17px; font-weight:700; color:#222; }
.dv-option span{ display:block; margin-top:4px; font-size:13.5px; color:#666; }
.dv-option b{ margin-left:auto; font-size:20px; font-weight:800; color:var(--blue-light); white-space:nowrap; }
.dv-option.dv-static{ cursor:default; }
.dv-option.dv-static:hover{ transform:none; box-shadow:none; border-color:rgba(0,0,0,.06); }
.dv-note{ font-size:13px; color:#333; margin-top:4px; }

.dv-includes{ display:block; margin-top:8px; }
.dv-option span.dv-includes-label{ display:block; font-weight:700; color:var(--blue); font-size:11.5px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:2px; }
.dv-option span.dv-include-item{ display:block; color:var(--blue); font-size:13px; font-weight:600; line-height:1.5; }
.dv-include-item::before{ content:"✓ "; }
.dv-option span.dv-note-warn{ display:block; color:#e0472b; font-weight:700; font-size:12.5px; margin-top:8px; }

.dv-action-row{ display:grid; grid-template-columns:1.1fr .9fr; gap:24px; margin-top:32px; align-items:stretch; }
.dv-action-row.dv-action-row-single{ grid-template-columns:1fr; max-width:560px; margin-left:auto; margin-right:auto; }
.dv-summary-compact{ background:linear-gradient(135deg,#ffffff,#f8f8f8); border:1px solid rgba(246,174,45,0.3); border-radius:20px; padding:24px 28px; box-shadow:0 10px 30px rgba(0,0,0,0.07); display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.dv-summary-mini{ text-align:center; }
.dv-summary-mini span{ display:block; font-size:11px; color:#777; letter-spacing:1px; text-transform:uppercase; }
.dv-summary-mini h3{ margin:4px 0 0; font-size:28px; font-weight:900; color:var(--blue-light); }
.dv-book-btn{ background:linear-gradient(135deg,var(--blue),var(--blue-light)); color:#fff; font-size:15.5px; font-weight:700; padding:15px 30px; border:none; border-radius:999px; cursor:pointer; letter-spacing:.5px; box-shadow:0 10px 24px rgba(31,111,214,0.28); transition:all .3s ease; font-family:inherit; white-space:nowrap; }
.dv-book-btn:hover{ transform:translateY(-3px); box-shadow:0 16px 36px rgba(31,111,214,0.38); }

.dv-return-box{
  position:relative; border:1px solid rgba(31,111,214,.16); border-radius:22px; padding:34px 30px 28px;
  text-align:center; background:linear-gradient(160deg,#ffffff 0%,#f3f8ff 100%);
  box-shadow:0 14px 34px rgba(10,42,94,.08); display:flex; flex-direction:column; align-items:center;
}
.dv-return-icon{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--blue),var(--blue-light)); color:#fff; font-size:24px; font-weight:800;
  margin-bottom:14px; box-shadow:0 8px 18px rgba(31,111,214,.3);
}
.dv-return-badge{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--blue); background:rgba(31,111,214,.08); padding:5px 14px; border-radius:999px; margin-bottom:10px;
}
.dv-return-box h3{ margin:0 0 8px; font-size:20px; font-weight:800; color:var(--ink); }
.dv-return-box p{ margin:0 0 18px; font-size:14px; color:#556; max-width:38ch; line-height:1.5; }
.dv-return-stats{
  display:flex; gap:28px; margin-bottom:22px; padding:14px 26px; border-radius:14px;
  background:rgba(31,111,214,.05);
}
.dv-return-stats span{ display:flex; flex-direction:column; font-size:11px; color:#778; letter-spacing:.04em; text-transform:uppercase; }
.dv-return-stats strong{ font-size:19px; font-weight:800; color:var(--blue-light); text-transform:none; letter-spacing:normal; margin-bottom:2px; }
.dv-return-box a{
  display:inline-block; background:linear-gradient(135deg,var(--blue),var(--blue-light)); color:#fff;
  font-weight:700; padding:13px 28px; border-radius:999px; text-decoration:none; font-size:14px;
  cursor:pointer; border:none; font-family:inherit; letter-spacing:.3px;
  box-shadow:0 10px 22px rgba(31,111,214,.28); transition:all .3s ease;
}
.dv-return-box a:hover{ transform:translateY(-3px); box-shadow:0 16px 32px rgba(31,111,214,.36); }
.dv-return-fine{ margin:14px 0 0 !important; font-size:11.5px !important; color:#999 !important; max-width:none !important; }

/* Compact price rows for Ceramic Coating */
.dv-ceramic-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:11px 2px; border-bottom:1px solid rgba(0,0,0,.07); font-size:14.5px;
}
.dv-ceramic-row:last-of-type{ border-bottom:none; }
.dv-ceramic-row span{ font-weight:700; color:#222; }
.dv-ceramic-row b{ font-size:16px; font-weight:800; color:var(--blue-light); }

/* ---------- Add-ons / Booking modal ---------- */
.dv-modal-overlay{
  display:none; position:fixed; inset:0; z-index:200; background:rgba(10,20,40,.55);
  align-items:center; justify-content:center; padding:20px;
}
.dv-modal-overlay.open{ display:flex; }
.dv-modal{
  background:#fff; border-radius:22px; max-width:560px; width:100%; max-height:88vh; overflow-y:auto;
  padding:34px 30px 28px; position:relative; box-shadow:0 30px 70px rgba(0,0,0,.35);
}
.dv-modal-close{
  position:absolute; top:16px; right:18px; width:34px; height:34px; border-radius:50%; border:none;
  background:#f1f3f7; color:#556; font-size:20px; line-height:1; cursor:pointer; transition:.2s ease;
}
.dv-modal-close:hover{ background:#e4e8f0; color:var(--ink); }
.dv-modal-title{ font-size:22px; font-weight:800; color:var(--blue-deep); margin:0 0 6px; }
.dv-modal-summary{ font-size:14px; color:var(--ink-dim); margin:0 0 22px; font-weight:600; }

.dv-modal-addons{ display:flex; flex-direction:column; gap:10px; }
.dv-addon-row{
  display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:14px;
  background:linear-gradient(145deg,#ffffff,#f7faff); border:1px solid rgba(31,111,214,.12);
  cursor:pointer; transition:.2s ease;
}
.dv-addon-row:hover{ border-color:rgba(31,111,214,.35); transform:translateY(-1px); }
.dv-addon-row input{ transform:scale(1.2); accent-color:var(--blue); flex-shrink:0; }
.dv-addon-row-text{ flex:1; min-width:0; }
.dv-addon-row-text strong{ display:block; font-size:14.5px; font-weight:700; color:var(--ink); }
.dv-addon-row-text span{ display:block; font-size:12.5px; color:#667; margin-top:2px; }
.dv-addon-row > b{ font-size:16px; font-weight:800; color:var(--blue); white-space:nowrap; }

.dv-addon-row.dv-addon-highlight{
  background:linear-gradient(145deg,#fff8ec,#fff1d6); border:1.5px dashed var(--gold);
}
.dv-addon-row.dv-addon-highlight:hover{ border-color:var(--gold); }
.dv-addon-row.dv-addon-highlight .dv-addon-row-text strong{ color:#8a5a05; }
.dv-addon-row.dv-addon-highlight input{ accent-color:var(--gold); }
.dv-addon-row.dv-addon-highlight > b{ color:#c0791f; }

.dv-modal-included-note{ font-size:12.5px; font-weight:700; color:#c0791f; margin:16px 0 0; min-height:1em; }

.dv-modal-total{
  display:flex; justify-content:space-between; gap:16px; margin:22px 0 20px; padding:16px 18px;
  border-radius:14px; background:#f5f9ff; border:1px solid rgba(31,111,214,.15);
}
.dv-modal-total div{ text-align:center; flex:1; }
.dv-modal-total span{ display:block; font-size:11px; color:#777; letter-spacing:1px; text-transform:uppercase; }
.dv-modal-total strong{ display:block; margin-top:4px; font-size:22px; font-weight:900; color:var(--blue-deep); }

.dv-modal-book-btn{ width:100%; text-align:center; }

@media (max-width:520px){
  .dv-modal{ padding:26px 20px 22px; border-radius:18px; }
  .dv-addon-row{ flex-wrap:wrap; }
}

/* ---------- Sticky "Book Now" bar (visible while browsing packages) ---------- */
.dv-sticky-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:150;
  background:linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  box-shadow:0 -10px 30px rgba(10,42,94,.35);
  padding:16px 24px;
  transform:translateY(120%); transition:transform .3s ease;
}
.dv-sticky-bar.visible{ transform:translateY(0); }
.dv-sticky-inner{ display:flex; align-items:center; justify-content:center; gap:32px; max-width:920px; margin:0 auto; }
.dv-sticky-info{ display:flex; flex-direction:column; gap:1px; line-height:1.3; text-align:right; }
.dv-sticky-info span:first-child{ font-size:15.5px; font-weight:700; color:#cfe0f7; }
.dv-sticky-info strong{ color:var(--gold); font-size:19px; }
.dv-sticky-time{ font-size:12.5px; color:#8fa8cf; }
.dv-sticky-bar .dv-book-btn{
  background:linear-gradient(135deg,var(--gold),#ffd25c); color:#3a2604;
  box-shadow:0 10px 22px rgba(246,174,45,.35);
  padding:14px 30px; font-size:14.5px; white-space:nowrap; flex-shrink:0;
}
.dv-sticky-bar .dv-book-btn:hover{ box-shadow:0 16px 30px rgba(246,174,45,.45); }

@media (max-width:520px){
  .dv-sticky-bar{ padding:12px 16px; }
  .dv-sticky-inner{ gap:16px; }
  .dv-sticky-info span:first-child{ font-size:14px; }
  .dv-sticky-bar .dv-book-btn{ padding:11px 20px; font-size:13px; }
}


/* ============================================================
   5. ОТЗЫВЫ (золотая полоса с каруселью)
   ============================================================ */
.gold-band{
  position:relative; overflow:hidden; padding:9vh 5vw 12vh;
  background:
    linear-gradient(160deg, rgba(246,174,45,.55) 0%, rgba(246,174,45,.72) 100%),
    url("images/seamless-gold-gradient.jpg");
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.gold-inner{ position:relative; max-width:1100px; margin:0 auto; text-align:center; }
.gold-inner h2{ font-weight:800; font-size:clamp(26px,3vw,36px); color:#2d1c05; margin:0 0 8px; }
.gold-inner .sub{ font-size:14px; color:#5c4212; margin:0 0 8px; font-weight:600; }
.gold-inner .note{ font-size:11.5px; color:#6b4f16; margin:0 0 40px; font-weight:600; opacity:.75; }

.carousel{ position:relative; max-width:640px; margin:0 auto; }
.review-card{ background:#fff; border-radius:18px; padding:30px 34px; box-shadow:0 20px 50px -18px rgba(0,0,0,.3); display:none; text-align:left; }
.review-card.active{ display:block; animation:fadeIn .4s ease; }
@keyframes fadeIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.review-top{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.review-avatar{ width:42px; height:42px; border-radius:50%; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; flex-shrink:0; }
.review-name{ font-weight:700; font-size:15px; color:var(--ink); }
.review-date{ font-size:12px; color:var(--ink-dim); }
.review-stars{ color:var(--gold); letter-spacing:2px; margin-bottom:10px; }
.review-card p{ font-size:14.5px; line-height:1.6; color:var(--ink-dim); margin:0; }

.carousel-arrow{ position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:50%; background:#fff; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--blue-deep); box-shadow:0 8px 20px rgba(0,0,0,.2); transition:transform .2s ease; }
.carousel-arrow:hover{ transform:translateY(-50%) scale(1.1); }
.carousel-arrow.prev{ left:-56px; }
.carousel-arrow.next{ right:-56px; }
.dots{ display:flex; justify-content:center; gap:8px; margin-top:22px; }
.dot{ width:8px; height:8px; border-radius:50%; background:rgba(45,28,5,.3); cursor:pointer; transition:background .2s ease, transform .2s ease; }
.dot.active{ background:#2d1c05; transform:scale(1.3); }


/* ============================================================
   6. WHY CHOOSE US
   ============================================================ */
.why-section{ background:#fff; padding:10vh 5vw 8vh; text-align:center; }
.why-section h2{ font-weight:800; font-size:clamp(26px,3.2vw,38px); margin:0 auto 40px; max-width:24ch; color:var(--ink); }
.underline-accent{ position:relative; color:var(--blue-deep); }
.underline-accent::after{
  content:""; position:absolute; left:2px; right:2px; bottom:-6px; height:3px;
  background-image:repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px);
}

.why-wrap{ display:grid; grid-template-columns:.85fr 1.15fr; gap:50px; align-items:center; max-width:1600px; margin:0 auto; }
.why-visual{ opacity:0; animation:driveIn 1s cubic-bezier(.2,.8,.2,1) .1s forwards; }
.why-visual img{ width:100%; height:auto; display:block; filter:drop-shadow(0 20px 40px rgba(10,42,94,.25)); }
@keyframes driveIn{ 0%{opacity:0; transform:translateX(-160px);} 100%{opacity:1; transform:translateX(0);} }

.why-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.why-card{ padding:10px; }
.why-icon{ width:56px; height:56px; border-radius:50%; background:rgba(31,111,214,.08); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:22px; color:var(--blue); }
.why-card h4{ margin:0 0 8px; font-size:16px; }
.why-card p{ margin:0; font-size:13.5px; color:var(--ink-dim); line-height:1.5; }

.section-divider{ display:flex; align-items:center; justify-content:center; gap:16px; max-width:220px; margin:0 auto; padding:6vh 5vw 0; }
.section-divider::before,.section-divider::after{ content:""; flex:1; height:1px; background:linear-gradient(90deg, transparent, rgba(31,111,214,.3)); }
.section-divider::after{ background:linear-gradient(90deg, rgba(31,111,214,.3), transparent); }
.section-divider span{ width:10px; height:10px; background:var(--gold); transform:rotate(45deg); border-radius:2px; flex-shrink:0; }


/* ============================================================
   7. HAVE QUESTIONS / QUOTE
   ============================================================ */
.quote-section{ background:linear-gradient(180deg,#f8f9fb 0%,#ffffff 100%); padding:80px 5vw; text-align:center; }
.quote-section h2{ font-weight:800; font-size:clamp(26px,3.2vw,36px); margin:0 0 20px; color:var(--blue-deep); }
.quote-section p{ max-width:760px; margin:0 auto 16px; color:var(--ink-dim); font-size:16px; line-height:1.6; }
.quote-highlight{ display:inline-block; margin-top:14px; padding:16px 30px; border-radius:16px; background:linear-gradient(135deg,rgba(31,111,214,.06),rgba(246,174,45,.1)); border:1px solid rgba(31,111,214,.14); font-weight:700; color:var(--blue-deep); font-size:14.5px; }
.quote-section .btn{ margin-top:26px; }

/* Простая форма на /quote странице */
.quote-form{ max-width:560px; margin:40px auto 0; text-align:left; background:#fff; border:1px solid rgba(31,111,214,.1); border-radius:20px; padding:32px; box-shadow:0 10px 35px rgba(0,0,0,.06); }
.quote-form label{ display:block; font-size:13px; font-weight:700; color:var(--ink); margin:16px 0 6px; }
.quote-form label:first-child{ margin-top:0; }
.quote-form input, .quote-form textarea, .quote-form select{
  width:100%; padding:12px 14px; border:1px solid rgba(0,0,0,.12); border-radius:10px;
  font-family:inherit; font-size:14.5px; color:var(--ink);
}
.quote-form textarea{ resize:vertical; min-height:110px; }

.contact-radio{ display:flex; gap:24px; }
.contact-radio-option{
  display:flex; align-items:center; gap:8px; cursor:pointer;
  font-size:14.5px; font-weight:600; color:var(--ink); margin:0 !important;
}
.contact-radio-option input{
  width:auto; accent-color:var(--blue); cursor:pointer; transform:scale(1.15);
}
.quote-form button{ margin-top:22px; width:100%; }

.success-badge{
  width:66px; height:66px; margin:0 auto 16px; border-radius:50%;
  background:linear-gradient(135deg,#34d399,#0ea968);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 26px rgba(14,169,104,.35);
  animation:successPop .5s cubic-bezier(.34,1.56,.64,1);
}
.success-badge svg{ width:30px; height:30px; }
@keyframes successPop{
  0%{ transform:scale(0); opacity:0; }
  60%{ transform:scale(1.15); opacity:1; }
  100%{ transform:scale(1); }
}


/* ============================================================
   8. FAQ
   ============================================================ */
.faq-section{ padding:80px 3vw; border-radius:9px; max-width:1800px; margin:0 auto; }
.faq-title{ text-align:center; font-size:clamp(28px,3.2vw,38px); font-weight:800; color:#ffc933; margin-bottom:16px; letter-spacing:1px; }
.faq-sub{ text-align:center; color:var(--ink-dim); font-size:15px; margin:0 0 40px; }

.faq-list{ display:flex; flex-direction:column; gap:14px; max-width:860px; margin:0 auto; }
.faq-item{
  border-radius:16px; overflow:hidden; transition:background .3s ease, box-shadow .3s ease;
  background:rgba(255,214,64,0.16);
  border:1px solid rgba(255,214,64,0.45);
  box-shadow:0 8px 32px rgba(255,214,64,0.14), inset 0 1px 0 rgba(255,255,255,0.5);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
.faq-item.open{ background:rgba(255,214,64,0.26); box-shadow:0 14px 34px rgba(255,214,64,.3), inset 0 1px 0 rgba(255,255,255,.5); }
.faq-question{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 24px; background:none; border:none; cursor:pointer; text-align:left;
  font-size:16.5px; font-weight:700; color:var(--blue); font-family:inherit; transition:color .2s ease;
}
.faq-question:hover{ color:var(--blue-deep); }
.faq-icon{
  flex-shrink:0; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(31,111,214,.1); color:var(--blue); font-size:16px; font-weight:800; line-height:1;
  transition:transform .3s ease;
}
.faq-item.open .faq-icon{ transform:rotate(45deg); }
.faq-answer{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s ease; }
.faq-item.open .faq-answer{ grid-template-rows:1fr; }
.faq-answer-inner{ overflow:hidden; font-size:14.5px; line-height:1.6; color:#555; padding:0 24px; }
.faq-item.open .faq-answer-inner{ padding:0 24px 22px; }


/* ============================================================
   9. ФИНАЛЬНЫЙ CTA-БЛОК
   ============================================================ */
.cta-band{
  padding:70px 5vw; text-align:center;
  background:
    linear-gradient(160deg, rgba(246,174,45,.6) 0%, rgba(246,174,45,.78) 100%),
    url("images/seamless-gold-gradient.jpg");
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.cta-band h2{ font-size:clamp(26px,3vw,36px); font-weight:800; color:#2d1c05; margin:0 0 12px; }
.cta-band p{ color:#5c4212; font-size:16px; max-width:640px; margin:0 auto 30px; font-weight:600; }
.cta-band .cta-row{ justify-content:center; margin-bottom:0; }


/* ============================================================
   10. СТРАНИЦЫ GALLERY / CERTIFICATES / QUOTE — общий "page-hero"
   ============================================================ */
.page-hero{
  position:relative; padding:12vh 5vw 8vh; color:#fff; text-align:center;
  background:linear-gradient(160deg, rgba(10,42,94,.85) 0%, rgba(18,58,122,.8) 100%), url("images/seamless-blue-gradient.jpg");
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.page-hero .back-link{ display:inline-block; margin-bottom:16px; font-size:13px; color:var(--gold); text-decoration:none; font-weight:700; }
.page-hero .back-link:hover{ text-decoration:underline; }
.page-hero h1{ font-size:clamp(30px,4vw,48px); font-weight:800; margin:0 0 14px; color:#fff; }
.page-hero p{ font-size:16px; color:#dce8fa; max-width:60ch; margin:0 auto; }

.page-hero.page-hero-gold{
  background:linear-gradient(160deg, rgba(246,174,45,.6) 0%, rgba(246,174,45,.78) 100%), url("images/seamless-gold-gradient.jpg");
}
.page-hero.page-hero-gold .back-link{ color:#2d1c05; }
.page-hero.page-hero-gold h1{ color:#2d1c05; }
.page-hero.page-hero-gold p{ color:#5c4212; font-weight:600; }

.gallery-section{ background:#0e1f3d; padding:70px 5vw 90px; }
.gallery-grid{ max-width:1700px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:220px; gap:16px; }
.gallery-grid a{ display:block; border-radius:14px; overflow:hidden; position:relative; }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.gallery-grid a:hover img{ transform:scale(1.08); }
.gallery-grid .wide{ grid-column:span 2; }
.gallery-grid .tall{ grid-row:span 2; }

/* ---------- Gallery lightbox ---------- */
.lightbox-overlay{
  display:none; position:fixed; inset:0; z-index:300; background:rgba(5,10,20,.94);
  align-items:center; justify-content:center; padding:20px;
}
.lightbox-overlay.open{ display:flex; }
.lightbox-img{ max-width:88vw; max-height:86vh; border-radius:10px; box-shadow:0 24px 70px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top:22px; right:22px; width:46px; height:46px; border-radius:50%;
  background:var(--gold); color:#3a2604; border:none; font-size:26px; font-weight:800;
  line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,.35); transition:transform .2s ease;
}
.lightbox-close:hover{ transform:scale(1.08); }
.lightbox-arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:54px; height:54px; border-radius:50%;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); color:#fff; font-size:20px;
  cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s ease, transform .2s ease;
}
.lightbox-arrow:hover{ background:rgba(255,255,255,.22); transform:translateY(-50%) scale(1.06); }
.lightbox-prev{ left:18px; }
.lightbox-next{ right:18px; }

@media (max-width:640px){
  .lightbox-close{ width:40px; height:40px; font-size:22px; top:14px; right:14px; }
  .lightbox-arrow{ width:42px; height:42px; font-size:16px; }
  .lightbox-prev{ left:8px; }
  .lightbox-next{ right:8px; }
}

.confirm-note{
  max-width:800px; margin:0 auto 28px; padding:16px 22px; border-radius:14px; text-align:center;
  font-size:15px; font-weight:600; color:#8a5a05; background:rgba(246,174,45,.12);
  border:1px solid rgba(246,174,45,.35);
}
.confirm-note strong{ color:#5c3c02; }

/* ---------- Ceramic Coating page ---------- */
.ceramic-section{ max-width:1100px; margin:0 auto; padding:70px 20px 90px; }
.ceramic-intro{ display:grid; grid-template-columns:.85fr 1.15fr; gap:50px; align-items:center; margin-bottom:80px; }
.ceramic-photo{ width:100%; border-radius:22px; box-shadow:0 20px 50px rgba(0,0,0,.18); object-fit:cover; max-height:560px; }
.ceramic-intro-text h2{ font-size:clamp(24px,3vw,30px); font-weight:800; color:var(--blue-deep); margin:0 0 16px; }
.ceramic-intro-text p{ font-size:15.5px; color:#556; line-height:1.7; margin:0 0 16px; }
.ceramic-benefits{ list-style:none; margin:0 0 26px; padding:0; }
.ceramic-benefits li{
  position:relative; padding:10px 0 10px 28px; font-size:14.5px; color:#333;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.ceramic-benefits li::before{ content:"✓"; position:absolute; left:0; top:10px; color:var(--gold); font-weight:800; }

.ceramic-pricing{ margin-bottom:80px; }
.ceramic-pricing h2{ text-align:center; font-size:clamp(24px,3vw,30px); font-weight:800; color:var(--blue); margin:0 0 6px; }
.ceramic-price-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.ceramic-price-card{
  text-align:center; padding:32px 20px; border-radius:18px; background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
  border:1.5px solid rgba(246,174,45,.4); box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.ceramic-price-card h3{ font-size:18px; font-weight:800; color:var(--ink); margin:0 0 6px; }
.ceramic-price-card span{ display:block; font-size:13px; color:#777; margin-bottom:14px; }
.ceramic-price-card b{ font-size:30px; font-weight:900; color:var(--blue-light); }

.ceramic-faq h2{ text-align:center; font-size:clamp(24px,3vw,30px); font-weight:800; color:var(--blue-deep); margin:0 0 26px; }

@media (max-width:800px){
  .ceramic-intro{ grid-template-columns:1fr; gap:30px; }
  .ceramic-photo{ max-height:420px; }
}

.gift-section{ max-width:800px; margin:0 auto; padding:70px 20px; }
.gift-title{ font-weight:800; font-size:clamp(26px,3.2vw,38px); color:var(--gold); letter-spacing:.5px; text-align:center; margin:0 0 20px; }
.gift-desc{ font-size:17px; color:#666; text-align:center; max-width:640px; margin:0 auto 40px; line-height:1.6; }
.gift-process{ background:linear-gradient(180deg,#ffffff 0%,#f7faff 45%,#f4f7fb 100%); border:1px solid rgba(31,111,214,0.08); border-radius:24px; box-shadow:0 10px 35px rgba(0,0,0,0.06); padding:32px; }
.gift-process h2{ font-weight:800; font-size:26px; color:var(--blue); letter-spacing:.5px; margin:0 0 24px; }
.gift-process ul{ list-style:none; margin:0; padding:0; }
.gift-process li{ display:flex; align-items:flex-start; gap:16px; padding:16px 0; border-bottom:1px solid rgba(31,111,214,0.08); font-size:16px; color:#222; }
.gift-process li:last-child{ border-bottom:none; }
.gift-process .num{ font-weight:800; font-size:20px; color:var(--gold); min-width:28px; display:inline-block; }
.gift-cta{ text-align:center; margin-top:40px; }

/* ---------- Юридические страницы (privacy.html) ---------- */
.legal-section{ max-width:760px; margin:0 auto; padding:60px 20px 90px; }
.legal-intro{ font-size:16px; color:#556; line-height:1.65; margin:0 0 30px; }
.legal-section h2{ font-size:21px; font-weight:800; color:var(--blue); margin:34px 0 12px; }
.legal-section h2:first-of-type{ margin-top:0; }
.legal-section p{ font-size:15px; color:#444; line-height:1.7; margin:0 0 14px; }
.legal-section ul{ margin:0 0 14px; padding-left:22px; }
.legal-section li{ font-size:15px; color:#444; line-height:1.7; margin-bottom:6px; }
.legal-section a{ color:var(--blue); font-weight:700; }
.legal-updated{ margin-top:40px; padding-top:20px; border-top:1px solid rgba(0,0,0,.08); font-size:13px; color:#999; }

/* ---------- Кнопка "Наверх" ---------- */
.back-to-top{
  position:fixed; right:20px; bottom:100px; z-index:130;
  width:46px; height:46px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--blue),var(--blue-light)); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(31,111,214,.35);
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s, box-shadow .2s ease;
}
.back-to-top svg{ width:22px; height:22px; }
.back-to-top.visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ box-shadow:0 14px 30px rgba(31,111,214,.45); transform:translateY(-3px); }

@media (max-width:640px){
  .back-to-top{ right:16px; bottom:90px; width:42px; height:42px; }
}


/* ============================================================
   11. ФУТЕР
   ============================================================ */
footer{
  color:#cfe0f7; padding:60px 5vw 24px;
  background:
    linear-gradient(160deg, rgba(10,42,94,.92) 0%, rgba(10,42,94,.96) 100%),
    url("images/seamless-blue-gradient.jpg");
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.footer-grid{ max-width:1600px; margin:0 auto; display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ height:44px; width:44px; object-fit:contain; }
.footer-brand span{ color:#fff; font-weight:800; font-size:17px; }
.footer-tagline{ font-size:13.5px; color:#9fb8dd; line-height:1.6; max-width:32ch; }
footer h4{ color:#fff; font-size:14px; letter-spacing:.05em; text-transform:uppercase; margin:0 0 16px; }
footer ul{ list-style:none; margin:0; padding:0; }
footer li{ margin-bottom:10px; font-size:14px; }
footer a{ text-decoration:none; color:#cfe0f7; }
footer a:hover{ color:var(--gold); }
.footer-bottom{ max-width:1600px; margin:50px auto 0; padding-top:22px; border-top:1px solid rgba(255,255,255,.12); font-size:12.5px; color:#7f9bc6; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }


/* ============================================================
   12. АДАПТИВНОСТЬ (МОБИЛЬНЫЕ ЭКРАНЫ)
   ============================================================ */
@media (max-width:900px){
  nav .links{ display:none; }
  .nav-toggle{ display:flex; }
  .brand-text{ display:none; }

  /* На мобильных показываем отдельную минималистичную hero-секцию вместо десктопной */
  .hero{ display:none; }
  .hero-mobile{ display:block; }

  .dv-builder{ padding:36px 18px; }
  .dv-grid{ grid-template-columns:1fr; gap:24px; }
  .dv-ceramic-col{ gap:24px; }
  .dv-action-row{ grid-template-columns:1fr; }
  .dv-summary-compact{ justify-content:center; text-align:center; }
  .dv-header h2{ font-size:32px; }

  .why-wrap{ grid-template-columns:1fr; }
  .why-visual{ max-width:420px; margin:0 auto; }
  .why-grid{ grid-template-columns:1fr 1fr; }

  .carousel-arrow{ display:none; }

  .gallery-grid{ grid-template-columns:repeat(2,1fr); }

  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
}
