/* =========================================================
   🌐 GLOBAL / БАЗОВЫЕ СТИЛИ
========================================================= */
:root{
  --blue: #3D73FF;
  --green: #9fff6b;
  --accent-green: #10B981;
  --accent-viber: #7360f2;
  --accent-telegram: #2aabee;
  --muted: #c6effa;
  --text: #333;
  --light: #f0f0f0;
}
*{box-sizing:border-box}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ws-font-body);
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden; /* обрезаем горизонтальный скролл */
}
body.page {
    background-color: #FFFFFF;
    background-image: url('images/texture.png');
    background-repeat: repeat;
    background-size: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =========================================================
   🖼 HEADER / ШАПКА САЙТА
========================================================= */
.site-header {
  position: fixed;
  z-index: 5;
  width: 100%;
  background: linear-gradient(to bottom, rgba(10,10,15,0.98) 0%, rgba(10,10,15,0.05) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FA0A0A0F', endColorstr='#0D0A0A0F', GradientType=0); /* IE6-9 */
}

.site-header.scrolled {
  background: linear-gradient(to bottom, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.35) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Логотип и описание */
.site-header .site-title {
  margin: 0;
  line-height: 1;
}
.site-header .site-title a {
  color: #00D1B2;
  font-weight: 700;
  font-size: 26px;
  text-decoration: none;
  display: inline-block;
}
.site-header .site-description {
  margin: 0;
  color: #cfd2da;
  font-size: 13px;
}

/* Центрирование логотипа */
.site-header .col-12.text-center,
.site-header .site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* WP custom logo */
.site-header .custom-logo-link,
.site-header .custom-logo {
  display: inline-block;
  max-height: 64px;
  width: auto;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .site-header .custom-logo,
  .site-header .site-title a {
    max-height: 52px;
    font-size: 20px;
  }
}

/* Перекраска белого логотипа */
.site-header .custom-logo--tint,
.site-header .custom-logo.tint {
  filter: invert(56%) sepia(72%) saturate(300%) hue-rotate(146deg) brightness(96%) contrast(95%);
}

/* Контактные и хедер-кнопки */
.header-buttons .btn-icon {font-size: 1em;
  line-height: 0;
 display: inline-block !important; margin-right: 2px; }
.header-buttons .btn-register { color: var(--blue); background: none; border: 0; }
.header-buttons .btn-register:hover .btn-icon {
  transform: translateX(4px) rotate(8deg);
}
.header-buttons .btn-login { color: #28a745; background: none; border: 0; }
.header-buttons .btn-login:hover .btn-icon {
  transform: translateX(4px) rotate(8deg);
}
.site-header .contact-icons .btn-phone { color: var(--accent-green); margin-right: 10px; }
.site-header .contact-icons .btn-viber { color: var(--accent-viber); margin-right: 10px; }

/* Mobile menu: brand-blue bars without the Bootstrap button frame. */
.site-header .navbar-toggler {
  color: var(--accent-color, #007bff);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 44px;
  min-height: 44px;
}
.site-header .navbar-toggler:focus { box-shadow: none; }
.site-header .navbar-toggler:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.site-header .navbar-toggler-icon {
  width: 28px;
  height: 22px;
  background:
    linear-gradient(currentColor, currentColor) center top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center bottom / 100% 2px no-repeat;
}

/* Dropdown: hover to open on desktop + arrow rotation (single consolidated block) */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* убираем смещение */
  }

  .navbar .dropdown-toggle::after {
    display: inline-block;
    vertical-align: middle;
    border: solid transparent;
    border-width: 0.3em 0.3em 0 0.3em;
    border-top-color: currentColor;
    transform: rotate(0deg); /* в верх по умолчанию */
    transition: transform 0.2s ease;
  }

  /* при наведении показываем вниз */
  .navbar .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg); /* вниз */
  }
}

/* =========================================================
   📞 HERO / PHONE BLOCK & ROTATORS
========================================================= */
/* Hero layout */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-video { 
  position: absolute; 
  top: 0; left: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}
.hero-overlay {
  position: absolute; 
  inset: 0;
  background: linear-gradient(135deg, rgba(20,20,20,0.65), rgba(10,10,10,0.35));
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px; 
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column; /* ротатор сверху, кнопка снизу */
  justify-content: center; /* вертикальный центр */
  align-items: center;     /* горизонтальный центр */
  min-height: 100vh;
  text-align: center;
  padding: 0 20px;
  gap: 40px; /* расстояние между ротатором и кнопкой */
}

/* Ротатор в потоке */
.hero-rotator {
  position: relative; /* ! убрали absolute */
  margin-top: 60px;   /* сдвиг вниз */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-family: var(--ws-font-body);
  font-weight: 800;
  line-height: 1.2;
  width: 100%;
}


.hero-rotator .line {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.hero-rotator .line span { 
  display: inline-block; 
  position: relative; 
  transition: transform .5s ease-in-out; 
}
.hero-rotator .big { font-size: 3.2rem; }
.hero-rotator .medium { font-size: 2.4rem; }
.hero-rotator .small { font-size: 1.6rem; }

.hero-rotator .gradient-red  { 
  background: linear-gradient(45deg,#ff4b2b,#ff416c); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}
.hero-rotator .gradient-blue { 
  background: linear-gradient(45deg,#3a7bd5,#00d2ff); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}
.hero-rotator .gradient-green { 
  background: linear-gradient(45deg,#00c9a7,#92fe9d); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}
.hero-rotator .floaty { 
  animation: floaty 3s ease-in-out infinite; 
}

@keyframes floaty {
  0%{ transform: translateY(0); } 
  50%{ transform: translateY(-6px); } 
  100%{ transform: translateY(0); }
}

.hero-rotator.fade-out span { 
  animation: fadeOut 1.2s forwards; 
}
@keyframes fadeOut {
  0%{ opacity:1; filter:blur(0); transform:scale(1); } 
  50%{ opacity:0.6; filter:blur(4px); transform:scale(1.05); } 
  100%{ opacity:0; filter:blur(12px); transform:scale(1.1); }
}
/* Кнопка под ротатором */
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px; /* дополнительный сдвиг вниз, если нужно */
}

/* =========================================================
   🔘 CTA BLOCKS (универсально для hero / services / т.д.)
========================================================= */

.btn-services,
.btn-more,
.order-service {
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.btn-services { margin-top: 60px; }

.btn-more, .order-service { margin-top: 60px; }

/* =========================================================
   📞 PHONE BLOCK / BAKEN
========================================================= */
.phone-block { text-align:center; padding: 100px 0; }
.phone-block h2 { font-size:2.2em; margin-bottom:20px; color:#fff;}
.phone-block h3 { font-size:1.6em; margin-bottom:40px; color:#fff;}
.phone-block {
  position: relative;
  z-index: 1;

  /* 🔹 Фон по умолчанию (fallback) */
  background: linear-gradient(135deg, #1a1a1a, #111);

  /* 🔹 Поверх — картинка */
  background-image: url(../images/let.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* =========================================================
   💎 SHARED SECTION BG (вынос общих свойств для секций)
========================================================= */



/* =========================================================
   💎 ADVANTAGES / ЧОМУ МИ
========================================================= */
.advantages {
  position: relative;
  padding: 0 0 60px;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.advantages { background-image: url(../images/latest_bg.jpg); }
.advantages .zsgol::after,
.advantages .zsgol::before { background: linear-gradient(to right, transparent, #f0f0f0, transparent); }
.advantages .zsgol h2 {
  color: var(--light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5), -1px -1px 2px rgba(255,255,255,0.2);
}

.advantages-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:25px; }

.adv-card {
  background: rgba(255,255,255,0.05);
  padding:25px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.adv-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(159,255,107,0.1), rgba(255,255,255,0.05));
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.adv-card h3 {
  display:flex; align-items:center; gap:10px; color: var(--light);
  font-weight:700; font-size:22px; margin-bottom:15px; text-shadow:0 1px 2px rgba(0,0,0,0.3);
  transition: color .3s ease;
}
.adv-card:hover h3 { color: var(--green); }
.adv-card i { color: var(--green); font-size:1.6rem; flex-shrink:0; }
.adv-card p { color:#ddd; font-size:1em; line-height:1.6; }

@media (max-width: 768px) {
  .adv-card h3 { font-size:20px; }
  .adv-card p { font-size:0.95em; }
}

/* =========================================================
   🛠 SERVICES / НАШІ ПОСЛУГИ
========================================================= */
.services {
  position: relative;
  padding: 0 0 60px;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #179ebe;
  background-image: url(../images/services.jpg);
}
.performance-badges {
  display:flex; gap:12px; margin-top:15px;
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.badge a.btn-link { display:inline-block; padding:10px 20px; border-radius:8px; font-weight:600; text-decoration:none; transition:all .3s ease; font-size:14px; }

/* кнопки order / more */
.btn-link.order { background: var(--accent-green); color:#fff; }
.btn-link.order:hover { background:#059669; transform:scale(1.05); }
.btn-link.more  { background: var(--blue); color:#fff; }
.btn-link.more:hover { background:#2563eb; transform:scale(1.05); }

/* slider */
.slider-container { width:100%; height:480px; position:relative; overflow:hidden; }
.landing { background-color:#3B82F6; }
.site    { background-color:#10B981; }
.shop    { background-color:#F97316; }
.pidrimka{ background-color:#8B5CF6; }

.btn-more .btn-link { padding:8px 16px; background:#007bff; color:#fff; text-decoration:none; border-radius:6px; font-weight:500; line-height:1; vertical-align:middle; box-sizing:border-box; }
.btn-more .btn-link:hover { background:#0056b3; }
.btn-more .btn-link:active { transform:scale(0.97); }

.now-showing { position:absolute; top:20px; left:20px; color:var(--green); font-size:14px; font-weight:600; display:flex; align-items:center; gap:8px; z-index:10; }
.now-showing::before { content:""; width:6px; height:6px; background:var(--green); border-radius:50%; }

/* Accordion slider */
.accordion-slider { display:flex; height:100%; position:relative; }
.slide {
  flex:1; position:relative; cursor:pointer;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
  overflow:hidden;
  filter: grayscale(0.2);
}
.slide:hover { filter: grayscale(0); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.slide::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 80%);
  transition: background .3s ease;
}
.slide:hover::before { background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%); }
.slide.active { flex:2.5; filter:grayscale(0); }
.slide.active::before { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%); }

.slide-content { position:absolute; bottom:30px; left:30px; right:30px; color:white; z-index:2; }
.slide.active .slide-content { bottom:50px; transition: all 0.8s cubic-bezier(0.4,0,0.2,1) 0.2s; }

.slide-price { position:absolute; top:-40px; right:20px; font-size:24px; font-weight:700; color:#fff; background:rgba(0,0,0,0.3); padding:6px 12px; border-radius:8px; z-index:3; }

.slide-number {
  font-size:34px; font-weight:300; color:rgba(255,255,255,0.6); line-height:1;
  position:absolute; bottom:30px; left:30%; transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}
.slide-number .vid { font-size:18px; margin-right:10px; }
.slide-number .mis { font-size:18px; margin-left:10px; }
.slide.active .slide-number { bottom:auto; top:-50px; font-size:34px; left:0; }

.car-brand {
  font-size:26px; font-weight:600; color:rgba(255,255,255,0.8);
  margin-bottom:5px; transform:rotate(-90deg); transform-origin:left bottom;
  position:absolute; bottom:100px; left:30px; white-space:nowrap;
  transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}
.slide.active .car-brand { transform:rotate(0deg); position:static; transform-origin:unset; }

.car-name {
  font-size:28px; font-weight:700; margin-bottom:8px;
  opacity:0; transform:translateY(30px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
  transition-delay: 0s;
}
.slide.active .car-name { opacity:1; transform:translateY(0); transition-delay:0.3s; }

.car-subtitle {
  font-size:16px; color:rgba(255,255,255,0.8); margin-bottom:20px;
  opacity:0; transform:translateY(30px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.slide.active .car-subtitle { opacity:1; transform:translateY(0); transition-delay:0.4s; }

.car-specs {
  opacity:0; transform:translateY(30px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.slide.active .car-specs { opacity:1; transform:translateY(0); transition-delay:0.5s; }

.spec-row { display:flex; justify-content:space-between; margin-bottom:6px; font-size:14px;
  opacity:0; transform:translateX(-20px);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.slide.active .spec-row { opacity:1; transform:translateX(0); }
.slide.active .spec-row:nth-child(1){ transition-delay:0.6s; }
.slide.active .spec-row:nth-child(2){ transition-delay:0.65s; }
.slide.active .spec-row:nth-child(3){ transition-delay:0.7s; }
.slide.active .spec-row:nth-child(4){ transition-delay:0.75s; }

.spec-label { color: rgba(255,255,255,0.7); }
.spec-value { color:white; font-weight:600; }

.performance-badges { display:flex; gap:12px; margin-top:15px; opacity:0; transform:translateY(30px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.slide.active .performance-badges { opacity:1; transform:translateY(0); transition-delay:0.8s; }

.badge { display:flex; align-items:center; gap:6px; padding:4px 8px; border-radius:12px; font-size:12px; font-weight:500;
  opacity:0; transform:scale(0.8); transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.slide.active .badge { opacity:1; transform:scale(1); }
.slide.active .badge:nth-child(1){ transition-delay:0.85s; }
.slide.active .badge:nth-child(2){ transition-delay:0.9s; }
.slide.active .badge:nth-child(3){ transition-delay:0.95s; }

.badge-icon { width:8px; height:8px; background:var(--green); border-radius:50%; }

/* add button */
.add-button {
  position:absolute; bottom:20px; right:30px; width:32px; height:32px; background:transparent;
  border:2px solid var(--green); border-radius:50%; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition: all 0.4s ease; z-index:3;
}
/* 🔹 Эффект при наведении */
.add-button:hover {
  transform: scale(1.15); /* увеличение примерно на 2–3 пикселя */
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.4); /* лёгкое свечение, по желанию */
}
.add-button::before,
.add-button::after { content:""; position:absolute; background:var(--green); transition: all 0.4s ease; }
.add-button::before { width:12px; height:2px; }
.add-button::after  { width:2px; height:12px; transform:rotate(0deg); }
.slide.active .add-button::before { transform:rotate(0deg); }
.slide.active .add-button::after  { opacity:0; transform:scale(0); }

/* navigation arrows */
.navigation-arrows {
  position:absolute; top:7%; transform:translateY(-50%); width:50px; height:50px; background:rgba(255,255,255,0.1);
  border:none; border-radius:50%; color:white; cursor:pointer; font-size:20px; display:flex; align-items:center;
  justify-content:center; transition: all .3s ease; z-index:4; backdrop-filter: blur(10px);
}
.nav-prev { left:20px; }
.nav-next { right:20px; }
.navigation-arrows:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .accordion-slider { flex-direction: column; }
  .slide { flex:1; min-height:80px; }
  .slide.active { flex:2; }
  .slide-number { font-size:32px; }
  .car-brand { transform:none; position:static; }
  .navigation-arrows { display:none; }
}

/* =========================================================
   🎨 PORTFOLIO / НАШІ РОБОТИ
========================================================= */
.portfolio-section { /* merged duplicates */
  position: relative;
  padding: 0 0 60px 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.portfolio-section { background-image: url(../images/portfolio.jpg);}
.portfolio-section { text-align:center; } /* keep base text-align */

.portfolio-section .section-title { font-size:32px; font-weight:700; margin-bottom:10px; color:#1e293b; }
.portfolio-section .section-subtitle { margin-bottom:40px; color:#fff; }

.portfolio-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:20px; }
.portfolio-item { position:relative; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,0.12); cursor:pointer; }
.portfolio-item img { width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.portfolio-item .overlay { position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%); display:flex; align-items:flex-end; justify-content:center; opacity:0; transition: opacity .3s ease; padding:20px; }
.portfolio-item .view-more { color:#fff; font-size:18px; font-weight:600; background: rgba(59,130,246,0.9); padding:8px 18px; border-radius:8px; transition: background .2s; }
.portfolio-item .view-more:hover { background: rgba(37,99,235,0.95); }
.portfolio-item:hover img { transform:scale(1.08); }
.portfolio-item:hover .overlay { opacity:1; }

@media (max-width:768px) {
  .portfolio-section { padding:50px 15px; }
  .portfolio-section .section-title { font-size:26px; }
}

/* =========================================================
   🤝 COOPERATION / СПІВПРАЦЯ
========================================================= */
.cooperation {
  position: relative;
  padding: 0 0 60px 0;
  z-index: 1;
  background: url(../images/cooperation.jpg) center/cover no-repeat fixed;
}

.cooperation .zsgol h2 {
  color: #111;
  font-weight: 700;
  margin-bottom: .5rem;
}

.cooperation .zsgol::after,
.cooperation .zsgol::before {
  content: '';
  width: 14%;
  height: 2px;
  background: linear-gradient(to right, transparent, #111, transparent);
  position: absolute;
}

.cooperation h4 {
  margin-bottom: 30px;
  text-align: center;
  color: #555;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.roadmap-step {
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.51);
  background: rgba(255, 255, 255, 0.51);
  transition: transform .3s ease, box-shadow .3s ease;
}

.roadmap-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.roadmap-step .icon {
  font-size: 2.5rem;
  color: #4caf50;
  margin-bottom: 15px;
  transition: transform .3s ease, color .3s ease;
}

.roadmap-step:hover .icon {
  transform: scale(1.2);
  color: #43a047;
}

.roadmap-step h5 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.roadmap-step p {
  color: #555;
  font-size: .95rem;
  line-height: 1.6;
}

/* =========================================================
   🔘 BUTTONS / CTA (btn-one и вариации)
========================================================= */
.btn-one {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: 40px;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  padding: 0px 27px;
  text-align: center;
  color: #141414;
  overflow: hidden;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.4s;
  border: 1px solid currentColor;
  background: transparent;
}

/* 🔹 Прозрачный фон под кнопкой */
.btn-one::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* 🔹 Маска с синим фоном (анимация исчезает при загрузке) */
.btn-one::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #3D73FF;
  -webkit-mask: url(../images/bg.png) no-repeat 100% 0 / 7100% 100%;
  mask: url(../images/bg.png) no-repeat 100% 0 / 7100% 100%;
  mask-size: 7100% 100%;
  animation: ani2 0.7s steps(70) forwards;
  animation-delay: 1s;
  transition: all 0.4s ease;
}


/* 🔹 Ключевые кадры */
@keyframes ani2 {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
}

@keyframes ani {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

/* 🔹 Общие стили для иконок и текста */
.btn-one, .ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-icon {
  line-height: 1;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.btn-one:hover .btn-icon,
.ws-btn:hover .btn-icon {
  transform: translateX(4px) rotate(8deg);
}

.btn-text {
  display: inline-block;
}

/* 🔹 Эффект наведения */
.btn-one:hover, .content-contact-icons .btn-one:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
.header-contact-icons a:hover {
  transform: translateX(4px) rotate(8deg); 
}

/* 🔹 Запуск анимации маски при наведении */
.btn-one:hover::before {
  animation: ani 0.7s steps(70) forwards;
}

/* 🔹 Плавный возврат эффекта при уходе курсора */
.btn-one:not(:hover)::before {
  animation: ani2 0.7s steps(70) forwards;
}

/* 🔹 Цветовые вариации */
.btn-blue { color: var(--blue); border-color: var(--blue); }
.btn-blue::before { background: var(--blue); }

.btn-green { color: #28a745; border-color: #28a745; }
.btn-green::before { background: #28a745; }

.btn-gradient { color: #ff6a00; border: 1px solid transparent; }
.btn-gradient::before { background: linear-gradient(90deg,#ff6a00,#ffb347); }
.btn-gradient:hover { color:#fff; }

.btn-phone { color: var(--accent-green); border-color: var(--accent-green); margin-right: 20px; transition: transform 0.3s ease; }
.btn-phone::before { background: var(--accent-green); }

.btn-viber { color: var(--accent-viber); border-color: var(--accent-viber); margin-right: 20px; transition: transform 0.3s ease; }
.btn-viber::before { background: var(--accent-viber); }

.btn-telegram { color: var(--accent-telegram); border-color: var(--accent-telegram); transition: transform 0.3s ease; margin-right: 6px;}
.btn-telegram::before { background: var(--accent-telegram); }

.btn-view { color: #0ea5e9; border-color: #0ea5e9; }
.btn-view::before { background: #0ea5e9; }

.btn-why { color: var(--green); border-color: var(--green); }
.btn-why::before { background: var(--green); }
.btn-why:hover .btn-arrow { transform: rotate(-30deg); }

/* 🔹 Мобильная адаптация */
@media (max-width:768px) {
  .btn-one .btn-text { display: none; }
  .btn-why .btn-text { display: inline-block; }
  .btn-one { padding: 0 14px; }
}


/* =========================================================
   📑 TOP-MENU
========================================================= */
.top-menu .navbar-nav > li > a { color:#ddd; font-size:0.95rem; transition: color .3s ease; }
.top-menu .navbar-nav > li > a:hover { color:#8bc34a; }





/* =========================================================
   📌 MAIN NAVIGATION
========================================================= */
.main-nav .nav-link {
  position: relative;
  font-size: 18px;
  color: #def731;
  transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.2s ease;
  font-weight: 600;
  padding: 0 10px;
}

.main-nav .nav-link.active,
.main-nav .nav-link.show { color:#5A88FF; }
.main-nav .nav-link::before {
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background-color:currentColor;
  transform:scaleX(0); transform-origin:center; transition: transform .25s ease;
  /* 🔹 Острые края */
  clip-path: polygon(0% 50%, 5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%);
}
.main-nav .nav-link:hover::before,
.main-nav .nav-link.active::before { transform:scaleX(1); text-shadow: 0 0 25px rgba(222, 247, 49, 0.8),
               0 0 50px rgba(222, 247, 49, 0.4);}

/* Dropdown menu styles */
.navbar .dropdown-menu {
  padding:10px 0; border:none; background: rgba(20,20,30,0.85); box-shadow:0 8px 25px rgba(0,0,0,0.3);
  animation: dropdownFade .25s ease forwards; min-width:220px; border-radius:10px; overflow:hidden;
}
@keyframes dropdownFade { from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:translateY(0);} }
.navbar .dropdown-menu .dropdown-item { color:#ddd; font-size:0.95rem; padding:12px 18px; transition:all .25s ease; border-bottom:1px solid rgba(255,255,255,0.15); }
.navbar .dropdown-menu .dropdown-item:last-child { border-bottom:none; }
.navbar .dropdown-menu .dropdown-item:hover { background: rgba(61,115,255,0.15); color:#fff; }
.navbar .nav-link.dropdown-toggle { font-weight:600; transition: color .3s ease; }
.navbar .nav-link.dropdown-toggle:hover { color: var(--blue); }

@media (min-width: 992px) {
  .site-header .main-nav { gap: 8px; }
  .site-header .main-nav .nav-link { color: #e6eef7; padding: 8px 12px; }
  .site-header .main-nav .nav-link:is(:hover, :focus-visible, .active, .show) { color: #55b5ff; }
  .site-header .main-nav .nav-link::before { bottom: 0; }
  .site-header .main-nav .nav-link:focus-visible::before { transform: scaleX(1); }
  .site-header .navbar .dropdown-menu {
    background: rgba(9, 22, 39, .96);
    border-radius: 0;
    border-top: 1px solid rgba(0, 123, 255, .45);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
    padding: 8px;
    min-width: 240px;
  }
  .site-header .navbar .dropdown-item {
    padding: 12px 14px;
    border: 0;
    color: #e6eef7;
  }
  .site-header .navbar .dropdown-item:is(:hover, :focus-visible, .active) {
    color: #55b5ff;
    background: rgba(0, 123, 255, .10);
  }
}

@media (max-width: 991.98px) {
  .site-header #main-menu {
    margin-top: 10px;
    background: rgba(9, 22, 39, .96);
    border-top: 1px solid rgba(0, 123, 255, .45);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
  }
  .site-header #main-menu.show {
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-header #main-menu .main-nav { padding: 8px 12px; margin-bottom: 0 !important; }
  .site-header #main-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 12px 14px;
    color: #e6eef7;
    font-size: 17px;
    line-height: 1.4;
    text-shadow: none;
    border-radius: 0;
  }
  .site-header #main-menu .nav-link::before {
    left: 14px;
    right: 14px;
    bottom: 3px;
  }
  .site-header #main-menu .nav-link:focus-visible::before { transform: scaleX(1); }
  .site-header #main-menu .nav-link:is(:hover, :focus-visible, .active, .show) {
    color: #55b5ff;
    background: rgba(0, 123, 255, .10);
  }
  .site-header #main-menu .dropdown-toggle::after { margin-left: 12px; color: #55b5ff; }
  .site-header #main-menu .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
  .site-header #main-menu .dropdown-menu {
    position: static;
    margin: 4px 0 8px 14px;
    padding: 4px 0;
    min-width: 0;
    background: rgba(255, 255, 255, .03);
    border: 0;
    border-left: 2px solid rgba(0, 123, 255, .45);
    border-radius: 0;
    box-shadow: none;
  }
  .site-header #main-menu .dropdown-item {
    min-height: 46px;
    padding: 12px 16px;
    white-space: normal;
    line-height: 1.4;
    border: 0;
  }
  .site-header #main-menu .dropdown-item:is(:hover, :focus-visible, .active) {
    color: #55b5ff;
    background: rgba(0, 123, 255, .10);
  }
  .site-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background:
      linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)),
      linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
  }
}

/* =========================================================
   🖤 FOOTER / ПОДВАЛ
========================================================= */
.modern-footer { 
  position: relative;
  padding: 60px 0 0 0;
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.8) 100%), url(../images/footer-honeycomb-fine.png);
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat; 
  overflow: hidden;
}

/* Headings */
.modern-footer .footer-title-menu > i { color: #ffd54f; }
.modern-footer .footer-title-join > i { color: #e8b48c; }
.modern-footer h4 { font-size:1.3em; color: rgb(53,151,255); margin-bottom:20px; position:relative; font-weight:700; }
.modern-footer h4::after { content:''; display:block; width:40px; height:2px; background-color: rgba(43,146,255,1); margin-top:8px; border-radius:2px; }
.footer-title-join::after { content:''; display:block; width:60px; height:3px; background:linear-gradient(90deg,var(--blue),#28a745); margin-top:6px; border-radius:2px; }

/* Footer menu */
.footer-menu ul { padding-left:2rem;} 
.footer-menu li { list-style:none; margin-bottom:10px; position:relative; padding-left:18px; }
.footer-menu li::before { content:"♦"; position:absolute; left:0; top:0; color:#3597ff; font-size:.7rem; line-height:2.4; }
.modern-footer .footer-menu a { position:relative; color:#007AFF; text-decoration:none; transition: color .2s ease; }
.modern-footer .footer-menu a::after { content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background-color:currentColor; transform:scaleX(0); transform-origin:center; transition: transform .25s ease; }
.modern-footer .footer-menu a:hover::after,
.modern-footer .footer-menu a:focus::after { transform:scaleX(1); }

/* Contacts */
.footer-contacts { padding-left:2rem; color: #fff;}
.footer-contacts p { position:relative; padding:6px 0; margin:0; }
.footer-contacts p:last-child { border-bottom:none; }
.footer-contacts i { margin-right:10px; color:var(--green); transition: transform .3s ease, color .3s ease; }

.footer-contacts a {text-decoration:none; transition: color .3s ease; }
.footer-contacts p:hover a { color:var(--green); }

.contact-icon { font-size:1.2rem; min-width:20px; text-align:center; transition: transform .3s ease, color .3s ease; }
.footer-contacts p:hover .contact-icon { transform: translateX(4px) rotate(8deg); }
.contact-link { color: var(--muted); text-decoration:none; transition: color .3s ease; }
.contact-link:hover { color: var(--blue); }
.contact-icon.telegram { color: var(--accent-telegram); }
.contact-icon.viber    { color: var(--accent-viber); }

/* Footer join */
.footer-join { padding:15px; }
.footer-join .join-text { color:#ccc; margin-bottom:20px; font-size:.95rem; line-height:1.5; position:relative; background: rgba(255,255,255,0.05); padding:15px; box-shadow: inset 0 0 10px rgba(61,115,255,0.2); }


/* Стили декоративных углов в footer-join */
.footer-join p::before { content:''; position:absolute; left:0; bottom:0; width:50px; height:50px; border-left:2px solid var(--blue); border-bottom:2px solid var(--blue); }
.footer-join p::after  { content:''; position:absolute; right:0; top:0; width:50px; height:50px; border-right:2px solid var(--blue); border-top:2px solid var(--blue); }

/* Copy */
.copy-footer { text-align:center; padding:15px 0 0; margin-top:30px; font-size:.9em; color:#888; border-top:1px solid rgba(255,255,255,0.1); }

.btn-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent; /* прозрачный центр */
  border: 2px solid rgba(255, 255, 255, 0.4);
  color:  #00bfff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 999;
  transition: 0.4s; /* плавность */
  opacity: 0;              /* скрыта по умолчанию */
  visibility: hidden;
}

/* Появление при скролле */
.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* SVG прогресс */
.progress-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.progress-ring__bg {
  fill: none;
  stroke: rgba(255,255,255,0.2);
  stroke-width: 3;
}

.progress-ring__circle {
  fill: none;
  stroke: #00bfff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 131.95; /* 2πr = 2 * 3.14 * 21 */
  stroke-dashoffset: 131.95;
  transition: stroke-dashoffset .2s linear;
}

/* Иконка */
.btn-scroll-top i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1em;
  z-index: 2;
  pointer-events: none;
}

/* Маска */
.btn-scroll-top::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #3D73FF;
  -webkit-mask: url(../images/bg.png) no-repeat 100% 0 / 7100% 100%;
  mask: url(../images/bg.png) no-repeat 100% 0 / 7100% 100%;
  animation: ani2 0.7s steps(70) forwards;  
  transition: all 0.4s ease;
}

/* Резервный фон */
.btn-scroll-top::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: transparent;
}

/* Эффект наведения */
.btn-scroll-top:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* Запуск маски */
.btn-scroll-top:hover::before {
  animation: ani 0.7s steps(70) forwards;
}

/* =========================================================
   ⚡ DECOR ELEMENTS / ZSGOL
========================================================= */
.zsgol {
  text-align:center;
  padding:40px 0;
  position:relative;
}
.zsgol::after, .zsgol::before {
  content:''; width:14%; height:2px; background: linear-gradient(to right, transparent, #c6effa, transparent); position:absolute;
}
.zsgol::after { right:50%; }
.zsgol::before { left:50%; }
.zsgol h2 {
  text-transform:uppercase; font-weight:700; margin:16px 0; font-size:1.8em; color:var(--muted);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5), -1px -1px 2px rgba(255,255,255,0.2);
}

/* =========================================================
   ACCESSIBILITY / ANIMATIONS (keyframes kept)
========================================================= */
@keyframes dropdownFade { from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:translateY(0);} }
@keyframes ani { from { -webkit-mask-position:100% 0; mask-position:100% 0; } to { -webkit-mask-position:0 0; mask-position:0 0; } }
@keyframes floaty { 0%{transform:translateY(0);} 50%{transform:translateY(-6px);} 100%{transform:translateY(0);} }
@keyframes fadeOut { 0%{opacity:1;} 100%{opacity:0;} }

/* =========================================================
   Lending  / БАЗОВЫЕ СТИЛИ
========================================================= */

.page-title {
  position: fixed;
  left: 0;
  top: 20%;
  writing-mode: vertical-rl; /* вертикальная колонка */
  text-orientation: upright;  /* буквы стоят вертикально */
  white-space: nowrap;        /* ключевой момент — запрет переноса */
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color, #007bff);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
  padding: 15px 8px;
  z-index: 20;
  user-select: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.landing-page .btn-one .btn-text { display: inline-block; }
.landing-page .btn-one { height: auto; min-height: 40px; padding-block: 8px; }

/* Reserve a rail for vertical page titles on compact desktop screens. */
@media (min-width: 769px) and (max-width: 1399.98px) {
  body.page .page-title {
    left: 0;
    padding-inline: 2px;
    font-size: 24px;
  }
  body.page .site-main.container {
    padding-left: 56px;
    padding-right: 24px;
  }
}

/* Hover */
.page-title:hover {
  color: #ff3366;
  text-shadow: 0 0 10px rgba(255,51,102,0.6);
}

/* Мобильный адаптив */
@media (max-width: 768px) {
  .page-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    white-space: normal; /* на мобиле переносить можно */
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    padding: 0;
  }
}




body.page-id-18 #outer-wrap, body.page-id-16 #outer-wrap, body.page-id-14 #outer-wrap, body.page-id-12 #outer-wrap, body.page-id-56 #outer-wrap, body.page-id-58 #outer-wrap, body.page-id-60 #outer-wrap, body.page-id-2 #outer-wrap {
  position: relative;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* параллакс эффект */
  background-color: #179ebe;
  background-image: url(../images/services.jpg);
}


body.page-id-182 #outer-wrap  {
  position: relative;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url(../images/portfolio.jpg);
}


body.page-id-223 #outer-wrap{
  position: relative;
  z-index: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url(../images/latest_bg.jpg);
}


.list-unstyled {
  list-style: none;
  font-size: 17px;
  padding-left: 10px;
}
/* Mobile hero: keep animated phrases within the screen. */
@media (max-width: 767.98px) {
  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-content {
    min-height: 100svh;
    padding: 130px 12px 48px;
    gap: 28px;
  }

  .hero-title {
    width: 100%;
    min-width: 0;
  }

  .hero-rotator {
    margin-top: 0;
    gap: 24px;
  }

  .hero-rotator .line {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
    margin-bottom: 0;
  }

  .hero-rotator .line span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-rotator .big { font-size: clamp(1.65rem, 6.8vw, 2.6rem); }
  .hero-rotator .medium { font-size: clamp(1.3rem, 5.4vw, 2rem); }
  .hero-rotator .small { font-size: clamp(1.05rem, 4.4vw, 1.5rem); }
}
/* Keep the primary hero action readable on mobile. */
@media (max-width: 768px) {
  .hero-content .btn-one {
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: 10px 18px;
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-content .btn-one .btn-text {
    display: inline-block;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-content .btn-one .btn-icon {
    flex-shrink: 0;
  }
}
/* Mobile services: visible summaries and content-sized expanded cards. */
@media (max-width: 768px) {
  #services .slider-container,
  #services .accordion-slider { height: auto; }

  #services .slide,
  #services .slide.active { flex: none; min-height: 0; }

  #services .slide-content,
  #services .slide.active .slide-content {
    position: relative;
    inset: auto;
    padding: 20px 64px 20px 20px;
  }

  #services .slide-number,
  #services .slide.active .slide-number {
    position: static;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
  }

  #services .car-brand,
  #services .slide.active .car-brand {
    position: static;
    transform: none;
    font-size: 22px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    color: #fff;
    margin: 0;
  }

  #services .slide:not(.active) .car-name,
  #services .slide:not(.active) .car-subtitle,
  #services .slide:not(.active) .car-specs,
  #services .slide:not(.active) .performance-badges { display: none; }

  #services .slide.active .car-name { margin-top: 16px; font-size: 21px; }
  #services .spec-row { flex-direction: column; gap: 2px; margin-bottom: 10px; }
  #services .spec-value { overflow-wrap: anywhere; }
  #services .performance-badges .badge { padding: 0; }
  #services .add-button { top: 24px; right: 16px; bottom: auto; }
}
/* Service and support arrows tilt upward while moving forward. */
#services .performance-badges .btn-one:hover .btn-icon,
.guarantee-support .btn-one:hover .btn-icon {
  transform: translateX(4px) rotate(-8deg);
}
/* Center the primary action between the rotating text and hero bottom. */
.hero {
  height: auto;
  min-height: 100svh;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(130px, 1fr) auto minmax(120px, 1fr);
  min-height: 100svh;
  padding: 0 20px;
  gap: 0;
  justify-items: center;
}
.hero-content .hero-title {
  grid-row: 2;
  min-width: 0;
  max-width: 100%;
}
.hero-content .hero-rotator { margin-top: 0; }
.hero-content > .btn-one {
  grid-row: 3;
  align-self: center;
  margin: 0;
}
@media (max-width: 767.98px) {
  .hero-content { padding-inline: 12px; }
}


/* Premium service palette; accordion layout and interaction remain unchanged. */
#services .accordion-slider { gap: 0; }
#services .slide { border-radius: 0; border: 1px solid #ffffff24; background-color: #243a52; filter: none; }
#services .slide.landing { --service-accent: #82b7ff; --service-glow: #255baa; --service-art: url(../images/landing-structure.png); }
#services .slide.site { --service-accent: #75dfd0; --service-glow: #18685f; --service-art: url(../images/site-structure.png); }
#services .slide.shop { --service-accent: #edc58a; --service-glow: #77532d; --service-art: url(../images/shop-structure.png); }
#services .slide.pidrimka { --service-accent: #c2a4f2; --service-glow: #503675; --service-art: url(../images/support-care.png); }
#services .slide::before,
#services .slide:hover::before,
#services .slide.active::before { background: linear-gradient(180deg, transparent 0%, #1c304a60 45%, #122236 100%), radial-gradient(ellipse at 80% 0%, var(--service-glow), #263e56 78%); filter: saturate(1.9) brightness(1.18); }
#services .slide::after { content: ""; position: absolute; inset: 40px 4% 0 25%; background: var(--service-art) center top / contain no-repeat; opacity: .28; pointer-events: none; transition: opacity .6s, transform .8s; }
#services .slide.active::after { opacity: .12; transform: translateX(18%); }
#services .slide:hover { border-color: var(--service-accent); box-shadow: inset 0 1px 0 #ffffff33; }
#services .slide.active { border-color: var(--service-accent); }
#services .slide-number { color: var(--service-accent); font-weight: 500; letter-spacing: -.04em; }
#services .slide-number .vid,#services .slide-number .mis { color: #c8d3e2; letter-spacing: normal; }
#services .car-brand { color: #f4f7fd; letter-spacing: -.025em; }
#services .slide.active .car-brand { color: var(--service-accent); }
#services .car-name { font-size: clamp(21px, 2vw, 28px); line-height: 1.2; }
#services .car-subtitle { color: #c8d3e2; }
#services .spec-row { border-bottom: 1px solid #ffffff12; padding-bottom: 5px; gap: 12px; }
#services .spec-label { color: #aab9cc; }
#services .spec-value { color: #f3f6fc; text-align: right; }
#services .add-button { border-color: var(--service-accent); background: #0c1728; }
#services .add-button::before,#services .add-button::after { background: var(--service-accent); }
#services .add-button:hover { box-shadow: 0 0 18px #ffffff25; }
#services .performance-badges .btn-one { color: var(--service-accent); border-color: var(--service-accent); background: #ffffff08; }
#services .navigation-arrows { background: #0c1728cc; border: 1px solid #ffffff30; }
@media (min-width: 769px) and (max-width: 1100px) {
 #services .slide-content { left: 20px; right: 20px; }
 #services .slide.active .spec-row { flex-direction: column; gap: 0; font-size: 12px; }
 #services .slide.active .spec-value { text-align: left; }
 #services .slide.active .car-subtitle { margin-bottom: 12px; }
}
@media (max-width: 768px) {
 #services .slide::after { inset: 0 8% 0 55%; opacity: .2; }
 #services .slide.active::after { opacity: .09; }
 #services .spec-value { text-align: left; }
 #services .slide { border-radius: 0; }
}

/* Contacts: world-map backdrop and dedicated contact cards. */
body.page-id-22 #outer-wrap { background: #091321 url(../images/contacts-world.png) center top / 100% auto fixed no-repeat; }
.ws-contacts { color:#e6eef7; padding:45px 0; }
.ws-contacts h2,.ws-contacts h3 { color:#fff; }
.ws-contacts p { line-height:1.75; }
.wc-label { color:#86d9ee; font-size:12px; font-weight:700; letter-spacing:.14em; margin-bottom:20px; }
.wc-hero { padding:36px 0 65px; max-width:850px; }
.wc-hero h2 { font-size:clamp(36px,5vw,66px); line-height:1.12; letter-spacing:-.04em; margin-bottom:26px; }
.wc-hero h2 span { color:#8fe9f1; }
.wc-lead { font-size:20px; max-width:670px; }
.wc-actions { display:flex; align-items:center; flex-wrap:wrap; gap:24px; margin-top:30px; }
.ws-contacts a { color:#9aeaff; text-underline-offset:5px; }
.ws-contacts .btn-one { color:#a5efff; border-color:#72cfe8; height:auto; min-height:46px; padding:10px 20px; }
.ws-contacts .btn-one .btn-text { display:inline-block; white-space:normal; }
.wc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.wc-card,.wc-next,.wc-address { background:rgba(10,24,40,.93); border:1px solid #739dbb55; border-radius:22px; padding:30px; }
.wc-card h3 { font-size:23px; margin-bottom:22px; }
.wc-card p:last-child { color:#c4d2e0; margin-top:20px; margin-bottom:0; }
.wc-icon { display:grid; place-items:center; width:44px; height:44px; color:#97edff; background:rgba(255,255,255,.05); border-radius:0; font-size:26px; margin-bottom:24px; }
.wc-contact { display:block; font-size:clamp(18px,1.9vw,24px); font-weight:600; margin:8px 0; overflow-wrap:anywhere; }
.wc-hours { font-size:26px; margin:0; color:#9aeaff; }
.wc-location,.wc-bottom { display:grid; grid-template-columns:1.2fr 1fr; gap:54px; align-items:center; padding:65px 0; }
.wc-location { border-bottom:1px solid #ffffff30; }
.wc-location h2,.wc-bottom h2 { font-size:clamp(28px,3.4vw,44px); line-height:1.2; margin-bottom:22px; }
.wc-address address { font-size:24px; font-style:normal; line-height:1.65; margin:20px 0; color:#fff; }
.wc-next h3 { font-size:24px; }
.wc-next ol { padding-left:22px; line-height:1.7; margin:22px 0 28px; }
.wc-next li { padding:5px 0; }
.ws-contacts a:focus-visible,.ws-contacts button:focus-visible { outline:3px solid #9aeaff; outline-offset:5px; }
@media(max-width:991.98px) { .wc-grid { grid-template-columns:1fr; } .wc-location,.wc-bottom { gap:28px; } }
@media(max-width:767.98px) {
 body.page-id-22 #outer-wrap { background-attachment:scroll; background-size:auto 720px; }
 .ws-contacts { padding-top:10px; }
 .wc-hero { padding:20px 0 36px; }
 .wc-location,.wc-bottom { grid-template-columns:1fr; padding:36px 0; }
 .wc-card,.wc-next,.wc-address { padding:24px; }
}

/* About page: dedicated road background and readable editorial layout. */
body.page-id-20 #outer-wrap,body.page-id-12 #outer-wrap { background: #141b24 url(../images/latest_bg.jpg) center / cover fixed no-repeat; }
.ws-about { color: #e9eff5; padding: 40px 0 24px; }
.ws-landing .wl-illustration { margin: 0; display: flex; justify-content: center; }
.ws-landing .wl-illustration img { width: 300px; max-width: 100%; height: auto; }
.ws-landing .wa-hero > div { min-width: 0; }
.ws-landing .wl-list-title { font-size: 20px; margin: 24px 0 16px; }
.ws-landing li { padding: 0 0 12px 8px; line-height: 1.65; }
.ws-landing li::marker { color: var(--accent-color, #007bff); }
.ws-about h2,.ws-about h3 { color: #fff; }
.ws-about p { line-height: 1.75; }
.ws-about .wa-eyebrow { color: #8fe9f1; font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 22px; }
.wa-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; padding: 35px 0 80px; }
.wa-hero h2 { font-size: clamp(40px,5.2vw,72px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 28px; }
.wa-hero h2 span,.wa-cta h2 span { color: #8fe9f1; }
.wa-lead { max-width: 580px; font-size: 19px; color: #dae3ed; }
.wa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.ws-about .btn-one { color: #a5efff; border-color: #72cfe8; height: auto; min-height: 46px; padding: 10px 20px; }
.ws-about .btn-one .btn-text { display: inline-block; white-space: normal; }
.wa-text-link { color: #fff; text-underline-offset: 6px; }
.wa-route,.wa-card,.wa-cta { background: rgba(12,22,35,.88); border: 1px solid rgba(170,215,240,.22); border-radius: 24px; }
.wa-route { padding: 32px; box-shadow: 0 20px 60px #0003; }
.wa-route > div { position: relative; padding: 0 0 24px 48px; border-left: 1px solid #527889; margin-left: 15px; }
.wa-route > div:last-child { padding-bottom: 0; border-left-color: transparent; }
.wa-route > div > span { position: absolute; left: -17px; top: 0; background: #183343; color: #95effb; border: 1px solid #527889; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; font-size: 12px; }
.wa-route h3 { font-size: 20px; margin-bottom: 6px; }
.wa-route div p { font-size: 14px; color: #bdcbd7; margin: 0; }
.wa-section { padding: 60px 0; border-top: 1px solid #ffffff30; scroll-margin-top: 100px; }
.wa-section h2,.wa-cta h2 { font-size: clamp(28px,3.2vw,44px); line-height: 1.2; margin-bottom: 30px; letter-spacing: -.025em; }
.wa-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wa-card { padding: 30px; }
.wa-card h3 { font-size: 23px; margin: 16px 0 12px; }
.wa-card p { margin: 0; color: #ced9e3; }
/* Shared transparent, square panels for service, About and Contacts pages. */
body.page-id-22 .ws-contacts :is(.wc-card,.wc-next,.wc-address),
body.page-id-20 .ws-about :is(.wa-route,.wa-card,.wa-cta),
body:is(.page-id-12,.page-id-14,.page-id-16,.page-id-18) .ws-landing .wa-card,
body:is(.page-id-12,.page-id-14,.page-id-16,.page-id-18) .ws-landing .wa-cta {
 background: rgba(255,255,255,.05);
 border: 0;
 border-radius: 0;
 box-shadow: none;
 transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
body.page-id-22 .ws-contacts :is(.wc-card,.wc-next,.wc-address):hover,
body.page-id-20 .ws-about :is(.wa-route,.wa-card,.wa-cta):hover,
body:is(.page-id-12,.page-id-14,.page-id-16,.page-id-18) .ws-landing .wa-card:hover,
body:is(.page-id-12,.page-id-14,.page-id-16,.page-id-18) .ws-landing .wa-cta:hover {
 transform: translateY(-5px);
 background: linear-gradient(135deg, rgba(0,123,255,.12), rgba(255,255,255,.05));
 box-shadow: 0 10px 20px rgba(0,0,0,.5);
}
.wa-number { color: #89dce9; font-size: 12px; letter-spacing: .1em; }
.wa-services { border-top: 1px solid #ffffff30; }
.wa-services a { display: flex; align-items: center; gap: 24px; padding: 24px 12px; border-bottom: 1px solid #ffffff30; color: #fff; text-decoration: none; transition: background .2s; }
.wa-services a:hover { background: #122d40cc; }
.wa-services a > span { color: #8fe9f1; font-size: 14px; }
.wa-services h3 { font-size: 25px; margin: 0 0 4px; }
.wa-services p { margin: 0; color: #d3dde5; }
.wa-services b { margin-left: auto; color: #8fe9f1; font-size: 28px; }
.wa-cta { text-align: center; padding: 60px 32px; margin-top: 30px; }
.wa-cta > p:not(.wa-eyebrow) { max-width: 640px; margin: 0 auto 28px; }
.ws-about a:focus-visible,.ws-about button:focus-visible { outline: 3px solid #a5efff; outline-offset: 5px; }
/* Landing palette matches its service card on the homepage. */
body.page-id-12 #outer-wrap {
 --page-service-glow: #255baa;
 background-attachment: fixed;
}
.ws-landing .wa-hero h2 span,
.ws-landing .wa-cta h2 span,
.ws-landing .wa-eyebrow,
.ws-landing .wa-number { color: var(--accent-color, #007bff); }
.ws-landing .btn-one { color: var(--accent-color, #007bff); border-color: var(--accent-color, #007bff); }
.ws-landing .btn-one:hover { color: #fff; }
.ws-landing a:focus-visible,.ws-landing button:focus-visible { outline-color: var(--accent-color, #007bff); }
body.page-id-14 #outer-wrap {
 --page-service-glow: #18685f;
 background-attachment: fixed;
}
@media (max-width: 767.98px) {
 body.page-id-14 #outer-wrap { background-attachment: scroll; }
}
body.page-id-16 #outer-wrap {
 --page-service-glow: #77532d;
 background-attachment: fixed;
}
body.page-id-18 #outer-wrap {
 --page-service-glow: #503675;
 background-attachment: fixed;
}
@media (max-width: 767.98px) {
 body.page-id-16 #outer-wrap,body.page-id-18 #outer-wrap { background-attachment: scroll; }
}
body:is(.page-id-12,.page-id-14,.page-id-16,.page-id-18) #outer-wrap {
 background: #122236;
 isolation: isolate;
}
body:is(.page-id-12,.page-id-14,.page-id-16,.page-id-18) #outer-wrap::before {
 content: "";
 position: fixed;
 inset: 0;
 z-index: -1;
 pointer-events: none;
 background: linear-gradient(180deg, transparent 0%, #1c304a60 45%, #122236 100%), radial-gradient(ellipse at 80% 0%, var(--page-service-glow), #263e56 78%);
 filter: saturate(1.9) brightness(1.18);
}
@media(max-width: 767.98px) {
 body.page-id-20 #outer-wrap,body.page-id-12 #outer-wrap { background-attachment: scroll; }
 .ws-about { padding-top: 12px; }
 .wa-hero,.wa-intro,.wa-grid { grid-template-columns: 1fr; gap: 26px; }
 .wa-hero { padding: 16px 0 44px; }
 .wa-section { padding: 36px 0; }
 .wa-route,.wa-card { padding: 24px; }
 .wa-cta { padding: 36px 20px; }
 .wa-services a { gap: 14px; padding-inline: 0; }
 .wa-services h3 { font-size: 22px; }
}

