/*
Theme Name: DarkAutomat WP Theme
Theme URI: https://darkautomat.ru
Author: DarkAutomat
Author URI: https://darkautomat.ru
Description: Custom Theme for DarkAutomat. Clean, fast, and minimal.
Version: 1.0.27
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: darkautomat
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Teko:wght@600&family=Russo+One&display=swap');


/* 
 * ==========================================
 * GLOBAL VARIABLES (Consolidated)
 * ==========================================
 */
:root {
    /* Colors (Base) */
    --bg-color: #ffffff;
    --text-color: #16181d;
    --text-muted: #6a6e78;
    --accent-color: #2271b1; 
    --accent-hover: #135e96;
    --border-color: #e7e7ec;
    --card-bg: #ffffff;
    
    /* Colors (Aliases & Extended) */
    --bg: #ffffff;
    --bg-soft: transparent;
    --bg-dark: #f8f9fa;
    --card: #ffffff;
    --border: #e7e7ec;
    --border-strong: #d7d7de;
    --text: #16181d;
    --text-on-dark: #16181d;
    --text-on-dark-muted: #6a6e78;
    --accent: #2271b1;
    --accent-dark: #135e96;
    --accent-soft: rgba(34, 113, 177, 0.08);

    /* Typography */
    --font-primary: 'Onest', 'Roboto', sans-serif;
    
    /* Spacing & Sizes */
    --padding-section: clamp(3rem, 5vh + 5vw, 6.25rem) 0;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    /* Fluid Typography */
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --font-size-h1: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
    --font-size-h2: clamp(2rem, 1.3rem + 2vw, 2.5rem);
    --font-size-h3: clamp(1.5rem, 1.1rem + 1vw, 2rem);
    
    /* Radii & Shadows */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-btn: 6px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(16, 18, 22, 0.05);
    --shadow: 0 8px 28px rgba(16, 18, 22, 0.08);
    
    /* Layout */
    --container: 1200px;
    --version: 1.0.26;
}

/* 
 * ==========================================
 * GLOBAL VARIABLES
 * ==========================================
 */


/* 
 * ==========================================
 * RESET & BASE STYLES
 * ==========================================
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input, select, textarea {
    font-size: max(16px, 1rem);
}

body {
    overflow-x: hidden;
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 
 * ==========================================
 * TYPOGRAPHY
 * ==========================================
 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
    color: var(--text-muted);
}

/* 
 * ==========================================
 * COMPONENTS
 * ==========================================
 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    min-height: 48px;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 113, 177, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
    box-shadow: none;
}

/* 
 * ==========================================
 * GLOBAL SIBLING HOVER FOCUS EFFECT
 * ==========================================
 */


.service-card, .portfolio-card, .faq-item, .about-list li, .trust span {
    transition: all 0.4s ease;
}

/* 
 * ==========================================
 * PORTFOLIO (CASES)
 * ==========================================
 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--card-bg, #1a1a1a);
    border: 1px solid var(--border-color, #333);
    border-radius: var(--border-radius, 12px);
    overflow: hidden;
    transition: var(--transition, all 0.3s ease);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-color, #2271b1);
}

.portfolio-card-img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ocr-search-btn {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
  }
  
  .ocr-search-btn [data-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
  }

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-card-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay .btn {
    transform: translateY(0);
}

.portfolio-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-card-cat {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color, #2271b1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.portfolio-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.portfolio-card-body h3 a {
    color: var(--text-color, #fff);
}

.portfolio-card-body h3 a:hover {
    color: var(--accent-color, #2271b1);
}

.portfolio-card-body p {
    font-size: 1rem;
    margin-bottom: 0;
    flex-grow: 1;
}

/* 

/* Custom Font for Logo */
@font-face {
    font-family: 'Pribylskaia';
    src: url('./assets/fonts/Pribylskaia.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    text-decoration: none !important;
}

.logo-mark {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.logo-word {
    font-family: 'Pribylskaia', sans-serif !important;
    font-weight: 400 !important;
    font-size: 2.8rem !important;
    line-height: 1 !important;
    position: relative;
    top: -3px;
}

/* Breadcrumbs UI (Badge Style) */
.da-breadcrumbs-wrap {
    margin-bottom: 20px;
    padding: 0;
    display: flex;
    justify-content: center;
}

/* Unified Page Header Card (Centered Title, Top-Left Breadcrumbs) */
.unified-header-wrapper {
    padding-top: 120px; /* Clear fixed header */
}
.unified-header-card {
    padding: 24px 40px;
    margin-bottom: 60px;
    background: linear-gradient(145deg, #0f172a, #020617);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-content-left {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.unified-header-card h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.unified-header-card .page-lead {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* Breadcrumbs inside header card */
.da-breadcrumbs-wrap {
    order: 1;
    align-self: flex-start;
    margin-left: 0;
    margin-bottom: 12px;
}

.da-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.da-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.da-breadcrumbs .bc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}
.da-breadcrumbs .bc-link:hover {
    color: var(--accent-color);
}
.da-breadcrumbs .separator {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin: 0 4px;
}
.da-breadcrumbs .bc-current {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: var(--text-color);
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: none;
}

/* Mobile Responsiveness for Unified Header */
@media (max-width: 768px) {
    .unified-header-wrapper {
        padding-top: 90px;
    }
    .unified-header-card {
        padding: 24px 20px;
        margin-bottom: 40px;
        border-radius: 16px;
    }
    .unified-header-card h1 {
        font-size: 2rem;
    }
    .unified-header-card .page-lead {
        font-size: 0.9rem;
    }
    .da-breadcrumbs-wrap {
        margin-bottom: 16px;
    }
}





/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.icon { display: inline-block; vertical-align: middle; width: 1em; height: 1em; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 1); transition: all 0.3s ease; }
.mainbar { position: relative; background: transparent; transition: all 0.3s ease; z-index: 50; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.60); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); transform: translateZ(0); will-change: background-color, backdrop-filter; }
.site-header.scrolled .mainbar { background: transparent; box-shadow: none; }

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…: РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.topbar {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…: РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.mainbar {
  /* РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р… .site-header */
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 42px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    white-space: nowrap;
  }
  
  .topbar-item [data-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  
  .topbar-item .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

a.topbar-item:hover {
  color: var(--accent);
}

.topbar-address {
  color: var(--text-muted);
}

.topbar-spacer {
  margin-left: auto;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.logo-mark svg, .logo-mark img {
  width: 100%;
  height: 100%;
}

.logo-word {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  transform: scaleX(0.7);
  transform-origin: left center;
  margin-right: -45px;
}

.logo-accent {
  color: var(--accent);
  animation: blinkDot 1.5s step-end infinite;
}

@keyframes blinkDot {
  50% { opacity: 0; }
}

/* ДЕСКТОП: Оригинальная горизонтальная навигация */
.menu-overlay-backdrop {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  font-family: var(--font-primary);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-close {
  display: none;
}

.header-cta {
  flex-shrink: 0;
}

.nav-cta-mobile, .nav-mobile-info, .nav-extras {
  display: none;
}

.nav-toggle {
  display: none;
  width: 40px;
    height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-btn);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 28px;
  height: 28px;
}

/* МОБИЛКИ И ПЛАНШЕТЫ: Новое боковое меню (App Drawer) */
@media (max-width: 991px) {
    .menu-overlay-backdrop {
        display: block;
        position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
        background: rgba(0,0,0,0.4);
        opacity: 0; pointer-events: none; z-index: 1000;
        transition: opacity 0.4s ease;
    }
    .menu-overlay-backdrop.active {
        opacity: 1; pointer-events: auto;
    }

    .site-nav {
        position: fixed; top: 0; right: 0; width: 100%; height: 100dvh;
        background: var(--bg-color);
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        padding: 80px 30px env(safe-area-inset-bottom, 30px);
        transform: translateX(100%); transition: transform 0.4s ease;
        display: flex; flex-direction: column;
        z-index: 1001;
        overflow-y: auto;
        gap: 0;
        overscroll-behavior: contain;
    }
    .site-nav.nav-open {
        transform: translateX(0);
    }

    .nav-close {
        display: block;
        position: absolute; top: 15px; right: 20px;
        background: none; border: none; font-size: 2.5rem;
        color: var(--text-color); cursor: pointer; transition: transform 0.3s;
        line-height: 1; z-index: 1002;
    }
    .nav-close:hover {
        transform: rotate(90deg); color: var(--accent);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-links li {
        margin-bottom: 22px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 10px;
        width: 100%;
    }

    .nav-links a {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.4rem;
        font-weight: 600;
        text-transform: none;
        letter-spacing: normal;
        padding: 6px 0;
        display: block;
    }
    .nav-links a.active::after { display: none; }
    
    .nav-links a:hover, .nav-links a.active {
        padding-left: 10px;
    }

    .nav-mobile-info {
        display: block;
        margin-top: 30px;
    }
    .nav-contact-link, .nav-contact-text {
        display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--text-muted); text-decoration: none; font-size: 0.95rem;
    }
    .nav-contact-link:hover { color: var(--accent); }
    
    .nav-cta-mobile {
        display: flex; width: 70%; margin: 20px auto; justify-content: center;
    }
    
    .nav-extras {
        display: block;
        margin-top: auto; padding-top: 20px;
    }
    .nav-socials { display: flex; gap: 15px; margin-bottom: 20px; }
    .nav-socials .social-link {
        display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: transparent; border: none; transition: all 0.3s;
    }
    .nav-socials .social-link:hover { background: transparent; transform: scale(1.1); }

    .nav-map { display: none; } /* Скроем карту в панели для минимализма */

    .nav-toggle {
        display: flex;
    }
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.05s;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), #3685c4);
  box-shadow: 0 8px 24px var(--accent-soft);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  min-width: 0;
  padding: 8px 6px;
}

.btn-ghost:hover {
  color: var(--accent-dark);
}

/* ===================== Elements ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34, 113, 177, 0.15);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Slider Base Styles */

/* Hero Slider Styles */
.hero-slider .hero-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
  z-index: 1;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.hero-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots .slider-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s, width 0.18s;
}

.hero-dots .slider-dot.active {
  background: var(--accent);
  width: 22px;
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 2.3rem;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.section-foot {
  text-align: center;
  margin-top: 42px;
}

/* ===================== РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--accent), #135e96);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.about-photo .icon {
  width: 88px;
  height: 88px;
  color: #fff;
}

.about h2 {
  font-size: 2.1rem;
  margin: 6px 0 16px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}

.about-list li .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 3px;
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.service-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.2s, color 0.2s;
}

.service-icon .icon {
  width: 27px;
  height: 27px;
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex-grow: 1;
  margin: 0 0 18px;
}

.service-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent);
  white-space: nowrap;
}

.service-more .icon {
  width: 16px;
  height: 16px;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…: РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 26px;
}

.services-empty,
.services-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 50px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.slider {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.slider-track .service-card {
  flex: 0 0 calc((100% - 22px) / 2);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.slider-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s, width 0.18s;
}

.slider-dot.active {
  background: var(--accent);
  width: 22px;
}



/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.process-step .num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.process-step h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.contact-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.contact-item .ico {
  width: 40px;
    height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(34, 113, 177, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .ico .icon {
  width: 21px;
  height: 21px;
}

.contact-item .c-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-item .c-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.contact-form .field {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #444;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.page-hero {
  padding: 56px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.18s;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .sep {
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 600;
}

.page-hero h1 {
  font-size: 2.6rem;
  margin: 0;
}

.page-hero .page-lead {
  color: var(--text-muted);
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 1.05rem;
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  align-items: start;
}

.svc-main h2 {
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.svc-lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 30px;
}

.svc-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.svc-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}

.svc-includes li .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 2px;
}

.svc-aside {
  position: sticky;
  top: 130px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.svc-icon-lg {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.svc-icon-lg .icon {
  width: 30px;
  height: 30px;
}

.svc-price-lg {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
}

.svc-price-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 8px 0 22px;
}

.svc-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.svc-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.svc-meta-row span {
  color: var(--text-muted);
}

.svc-aside .btn {
  width: 100%;
}

.state-block {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.state-block h2 {
  color: var(--text);
  margin: 0 0 12px;
}

/* ===================== CTA-РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.cta-band {
  background: var(--bg-dark);
  color: var(--text);
  text-align: center;
}

.cta-band h2 {
  font-size: 2.1rem;
  margin: 0 0 14px;
  color: var(--text);
}

.cta-band p {
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-band .btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.3);
}

.cta-band .btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
  color: var(--text);
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  max-width: 320px;
  margin: 0 0 16px;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 16px;
}

.footer-col a,
.footer-col .footer-static {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: 0.84rem;
}

.footer-bottom a {
  color: var(--text-on-dark-muted);
  font-size: 0.84rem;
}

.footer-bottom a:hover {
  color: #fff;
}

.expert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
}
.expert-badge .icon {
  width: 14px;
  height: 14px;
}

/* ===================== РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… ===================== */
@media (max-width: 980px) {
  .about-inner,
  .contact-inner,
  .svc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc-aside {
    position: static;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .slider-track .service-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .topbar-address {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }
}

.nav-mobile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-top: 20px;
}

.site-nav .nav-contact-link,
.site-nav .nav-contact-text,
.site-nav .social-link .icon {
  color: #4b5563;
  opacity: 1;
}

.footer-self-employed-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.footer-self-employed-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 113, 177, 0.4);
}

.footer-self-employed-badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-self-employed-badge strong {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-socials {
  margin-top: 10px;
}

@media (min-width: 981px) {
  .nav-mobile-info {
    display: none;
  }
}

.nav-contact-link,
.nav-contact-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-contact-link .icon,
.nav-contact-text .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

@media (max-width: 560px) {
  .hero {
    padding: 64px 0 60px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .section-head h2,
  .cta-band h2 {
    font-size: 1.8rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .slider-track .service-card {
    flex: 0 0 100%;
  }

  .hero-stats {
    gap: 30px;
  }

  .topbar-inner {
    gap: 16px;
    font-size: 0.76rem;
  }
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р… РїС—Р…РїС—Р…РїС—Р…-РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tb-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #fff !important;
  transition: transform 0.18s, opacity 0.18s;
}

.tb-social .icon {
  width: 16px;
  height: 16px;
}

.tb-social:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.tb-social.tb-tg {
  background: #29a9eb;
}

.tb-social.tb-max {
  background: #8b5cff;
}

.tb-social.tb-vk {
  background: #4a86d6;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.btn-giveaway {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff2bd0, #932bff);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 43, 208, 0.4);
  animation: giveawayPulse 3s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-giveaway:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 43, 208, 0.6);
  background: linear-gradient(135deg, #ff4df5, #a842ff);
}

.btn-giveaway:active {
  transform: translateY(0);
}

.btn-giveaway .gift {
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes giveawayPulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(255, 43, 208, 0.4);
  }
  50% {
    box-shadow: 0 4px 22px rgba(255, 43, 208, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-giveaway {
    animation: none;
  }
}

@media (max-width: 880px) {
  .header-giveaway {
    display: none;
  }
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.giveaway-modal {
  text-align: center;
  overflow: hidden;
}

.giveaway-modal::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff4d6d, #ff9a3c, #ffd23f, #2ad0c2, #7b61ff);
}

.giveaway-emoji {
  font-size: 3rem;
  line-height: 1;
  margin: 6px 0 8px;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.legal-doc {
  max-width: 820px;
}

.legal-doc h2 {
  font-size: 1.2rem;
  margin: 30px 0 10px;
}

.legal-doc p {
  color: var(--text-muted);
  margin: 0 0 12px;
}

/* ============================================================
   РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…, РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…, РїС—Р…РїС—Р…-РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…, cookie, РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…, РїС—Р…РїС—Р…РїС—Р…. РїС—Р…РїС—Р…РїС—Р…РїС—Р…
   ============================================================ */

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… (РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…) */
.map-frame {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… (РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…) */
.socials {
  display: flex;
  gap: 10px;
  margin: 6px 0 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(225, 29, 34, 0.12);
}

.social-link .icon {
  width: 24px;
  height: 24px;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.footer-map .map-frame {
  height: 170px;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…, РїС—Р…РїС—Р…-РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…, РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.footer-legal-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

.footer-requisites {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-links a {
  color: var(--text-on-dark-muted);
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-offer {
  margin: 16px 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 920px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  text-align: center;
}

/* Cookie-РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.86rem;
  max-width: 720px;
}

.cookie-bar a {
  color: var(--text);
  text-decoration: underline;
}

.cookie-bar .btn {
  flex-shrink: 0;
  min-width: 120px;
}

/* РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(16, 18, 22, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.modal h2 {
  font-size: 1.3rem;
  text-align: center;
  margin: 0 6px 8px;
}

.modal-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 22px;
}

.modal .field {
  margin-bottom: 14px;
}

.modal label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 0.95rem;
}

.modal input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.modal-consent {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.modal-consent a {
  color: var(--accent);
}

/* РїС—Р…РїС—Р…РїС—Р…. РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р… (РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… + РїС—Р…РїС—Р…РїС—Р…РїС—Р…-РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…) */
.nav-extras {
  display: none;
}

@media (max-width: 880px) {
  .nav-extras {
    display: block;
    padding: 10px 32px 4px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .nav-socials {
    display: flex;
    gap: 10px;
    padding: 8px 0 12px;
  }

  .nav-socials .social-link {
    border: none;
  }

  .nav-socials .social-link:hover {
    border: none;
    background: transparent;
  }

  .nav-map .map-frame {
    height: 150px;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-legal-top {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 28px 22px;
  }
}

/* WP_РїС—Р…РїС—Р…РїС—Р…РїС—Р… Hero Styles */
.hero-ocr {
  position: relative;
  overflow: hidden;
  color: #111;
  padding: 80px 0;
}

.hero-ocr-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-ocr-text {
  max-width: 600px;
}

.ocr-title {
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #111;
}

.ocr-accent {
  color: #2271b1; /* Primary Green */
}

.ocr-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 40px;
  max-width: 90%;
}

.ocr-actions {
  display: flex;
  gap: 16px;
}

.ocr-btn-primary {
  background: #111;
  color: #fff;
  border-color: #111;
  border-radius: 8px;
  font-weight: 700;
  padding: 16px 32px;
}

.ocr-btn-primary:hover {
  background: #333;
  color: #fff;
}

.ocr-btn-outline {
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 8px;
  font-weight: 700;
  padding: 16px 32px;
}

.ocr-btn-outline:hover {
  background: #f0f0f0;
}

.ocr-card-wrap {
  perspective: 1000px;
}

.ocr-card { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 12px; box-shadow: 0 8px 28px rgba(16, 18, 22, 0.08); padding: 0; color: var(--text-color); overflow: hidden; border: 1px solid var(--border-color); }

.ocr-card-item { padding: 20px 24px; border-bottom: 1px solid var(--border-color); display: flex; flex-direction: column; position: relative; }

.ocr-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6a6e78;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 600;
}

.ocr-card-value { font-size: 1rem; font-weight: 500; color: var(--text-color); }

.ocr-card-price {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: #2271b1;
  font-size: 1rem;
}

.ocr-card-footer { padding: 20px 24px; background: rgba(0,0,0,0.02); border-top: 1px solid var(--border-color); }

.ocr-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #2271b1;
  margin-bottom: 16px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #2271b1;
  border-radius: 50%;
  box-shadow: 0 0 8px #2271b1;
}

.ocr-card-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2271b1;
  padding: 16px 20px;
  border-radius: 8px;
  color: #fff;
}

.ocr-card-total span {
  font-size: 0.95rem;
  font-weight: 600;
}

.ocr-card-total strong {
  font-size: 1.25rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-ocr-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ocr-title {
    font-size: 3.5rem;
  }
}
@media (max-width: 560px) {
  .ocr-title {
    font-size: 2.5rem;
  }
  .ocr-actions {
    flex-direction: column;
  }
}

/* WP_РїС—Р…РїС—Р…РїС—Р…РїС—Р… Topbar & Header Styles */
.site-header .topbar {
  background: transparent;
  padding: 10px 0 0 0;
}

.topbar-inner {
  height: auto;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 10px;
}

.ocr-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ocr-contacts-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ocr-btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.ocr-btn-circle .icon {
  width: 20px;
  height: 20px;
  color: inherit;
  display: block;
}

.ocr-btn-circle span {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-1px);
}

.ocr-btn-circle:hover {
  background: transparent;
  border-color: transparent;
  transform: scale(1.1);
}

.ocr-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  padding: 0 16px;
  height: 38px;
}

.ocr-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.9rem;
  width: 150px;
}

.ocr-search input::placeholder {
  color: var(--text-muted);
}

.ocr-search-btn {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.ocr-search-btn .icon {
  width: 18px;
  height: 18px;
}

/* ===================== Contact Page Hero ===================== */
.contact-hero-section {
  position: relative;
  padding: 80px 20px 40px;
  background: var(--bg);
}

.ch-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-soft);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 24px;
  margin: 20px;
  z-index: 0;
}

.ch-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.ch-left {
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0;
}

.ch-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text);
}

.ch-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 90%;
  margin: 0 0 60px;
}

.ch-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.ch-info-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.ch-info-item span, .ch-info-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
}

.ch-info-item a:hover {
  color: var(--accent);
}

/* Right side form card */
.ch-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ch-form-card h2 {
  font-size: 1.8rem;
  margin: 0 0 10px;
  color: #111;
}

.ch-form-desc {
  color: #666;
  margin: 0 0 30px;
  font-size: 0.95rem;
}

.ch-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ch-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ch-form input,
.ch-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f9f9f9;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.ch-form input:focus,
.ch-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.ch-form-type label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
}

.ch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ch-pill input {
  display: none;
}

.ch-pill span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.ch-pill input:checked + span {
  border-color: var(--accent);
  background: rgba(34, 113, 177, 0.05); /* or var(--accent-soft) */
  color: var(--accent);
  font-weight: 600;
}

.ch-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #666;
}

.ch-checkbox input {
  width: auto;
  margin: 0;
}

.ch-submit-btn {
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 30px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}

.ch-submit-btn:hover {
  background: #f0f0f0;
}

/* Map Section */
.contact-map-section {
  position: relative;
  margin: 20px 40px 80px;
  border-radius: 24px;
  overflow: hidden;
  height: 500px;
}

.ch-map-container {
  width: 100%;
  height: 100%;
  background: #eee;
}

.ch-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ch-map-card {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 10;
}

.cmc-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 50%;
  color: #111;
}

.cmc-icon svg {
  width: 20px;
  height: 20px;
}

.cmc-text strong {
  display: block;
  font-size: 1rem;
  color: #111;
}

.cmc-text span {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 992px) {
  .ch-container {
    grid-template-columns: 1fr;
  }
  .ch-title {
    font-size: 2.5rem;
  }
  .ch-left {
    padding-bottom: 0;
  }
}
@media (max-width: 600px) {
  .ch-form-row {
    grid-template-columns: 1fr;
  }
  .ch-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-map-section {
    margin: 20px 10px 60px;
  }
  .ch-map-card {
    left: 20px;
    bottom: 20px;
    right: 20px;
  }
}

/* ===================== Footer Improvements ===================== */
.footer {
  position: relative;
  background: #fff;
  padding: 60px 0 0 0;
  overflow: hidden;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.footer-map-container {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: #eee;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-art {
  width: 100%;
  height: 250px;
  background: url('../assets/img/footer_art.png') bottom center / cover no-repeat;
  position: relative;
  z-index: 5;
  border-bottom: 2px solid var(--accent); /* to transition into footer-bottom seamlessly if needed */
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== Contact Pills (РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р… РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…РїС—Р…) ===================== */
.ch-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 24px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
}

.ch-contact-card:hover {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ch-contact-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.ch-contact-icon svg {
  width: 24px;
  height: 24px;
}

.ch-contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ch-contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.ch-contact-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================== Contact Page Redesign ===================== */
.contact-parallax-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;
  text-align: center;
  padding: 100px 20px 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.cp-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
  z-index: 1;
}

[data-theme="dark"] .cp-overlay {
  background: linear-gradient(180deg, rgba(11,14,17,0.9) 0%, rgba(11,14,17,0.4) 100%);
}

.cp-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cp-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cp-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible, .cg-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Guide Section */
.contact-guide-section {
  padding: 80px 0;
  background: var(--bg);
}

.cg-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .cg-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cg-guide {
  padding-right: 20px;
}

.cg-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

.cg-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.cg-step {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.cg-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(34, 113, 177, 0.4);
  border: 4px solid var(--bg);
}

.cg-step-content {
  padding-top: 10px;
}

.cg-step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.cg-step-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cg-form-wrapper {
  position: relative;
}

/* Contact Method Cards */
.contact-method-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
}

a.contact-method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.cm-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cm-icon svg {
  width: 30px;
  height: 30px;
}

.cm-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text);
}

.cm-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.cp-illustration {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../assets/img/contact-hero.png') no-repeat center right;
  background-size: contain;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

[data-theme="dark"] .cp-illustration {
  mix-blend-mode: screen;
  opacity: 0.2;
}
.contact-method-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 20px;
}
.cm-icon {
  flex-shrink: 0 !important;
}
.cm-info {
  flex: 1 1 auto;
}

/* Thematic Heroes Update */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}

/* Fix Contact Cards Adaptive */
@media (max-width: 576px) {
  .contact-method-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
}

/* Footer Redesign - High Contrast & Modern */
.site-footer {
  background: var(--card) !important;
  border-top: 1px solid var(--border);
}
.footer-legal-links a,
.footer-requisites span,
.footer-offer {
  color: #4a4d55 !important;
}
.footer-offer {
  font-size: 0.9rem !important;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}
.footer-bottom {
  background: var(--accent) !important;
}
.footer-bottom p,
.footer-bottom a {
  color: #ffffff !important;
  opacity: 0.9;
}
.footer-bottom a:hover {
  opacity: 1;
}

/* Modern Map */
.footer-map iframe {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.footer-map iframe:hover {
  transform: translateY(-5px);
}

/* Contact Cards List Layout */
.cm-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cg-container {
  grid-template-columns: 1fr 1.2fr;
}

/* Footer 3x2 Grid Update */
.footer-grid {
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 40px 20px !important;
}

.footer-map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.expert-badge {
  display: flex !important;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 12px !important;
  margin-top: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  box-shadow: 0 4px 15px rgba(34, 113, 177, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.expert-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 113, 177, 0.35);
}

/* Map Design Update */
.footer-map iframe {
  filter: grayscale(0.8) contrast(1.1) opacity(0.9);
  border-radius: 20px !important;
  border: 1px solid var(--border);
}
.footer-map iframe:hover {
  filter: grayscale(0) contrast(1) opacity(1);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-map {
    grid-column: 1 / -1;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}
.pt-item {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.pt-marker {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}
.pt-content {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 24px 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  flex-grow: 1;
}
.pt-content h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--text);
}
.pt-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Guarantees Grid */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.guarantee-card {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
}
.guarantee-card:hover {
  transform: translateY(-5px);
}
.g-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.guarantee-card h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text);
}
.guarantee-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Mega Footer Media Queries */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  .pt-content {
    padding: 20px;
  }
}

.footer-map-mega {
  width: 100%;
  margin-bottom: 40px;
}
.footer-map-mega iframe {
  width: 100%;
  height: 400px;
  border-radius: 24px !important;
  border: 1px solid var(--border);
  filter: grayscale(0.8) contrast(1.1) opacity(0.9);
  transition: all 0.5s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.footer-map-mega iframe:hover {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(34, 113, 177, 0.15);
}

/* Apply Header Socials Style to Footer Socials */
.socials .social-link {
  border-color: var(--border-strong);
  color: var(--text);
}
.socials .social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Mobile Footer Legal and Bottom Bar Fixes */
@media (max-width: 768px) {
  .footer-legal-links {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 16px !important;
  }
}

/* File Upload Component */
.custom-file-upload {
    position: relative;
    margin-bottom: 15px;
}
.file-input-hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: #f8f9fa;
    border: 2px dashed #dce0e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.file-upload-label:hover, .file-upload-label.dragover {
    border-color: var(--accent-color, #2271b1);
    background: #f0fdf4;
}
.upload-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-color, #2271b1);
    margin-bottom: 8px;
}
.upload-text {
    font-weight: 600;
    color: var(--text-color, #212529);
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.upload-hint {
    font-size: 0.8rem;
    color: var(--text-muted, #6c757d);
}
.file-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}
.file-item-name {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}




.admin-bar .site-header { top: 32px; }

/* Messenger Brand Colors - removed for svg logos */
/* --- Premium Service Card Overhaul --- */
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 20px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 119, 255, 0.08);
  border-color: rgba(0, 119, 255, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #0077ff;
  font-size: 24px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, #0077ff 0%, #0056b3 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 119, 255, 0.3);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card h3 a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s;
}

.service-card:hover h3 a {
  color: #0077ff;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.service-price {
  font-weight: 700;
  color: #111;
  font-size: 1.05rem;
}

.service-link-btn {
  width: 40px;
    height: 40px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-card:hover .service-link-btn {
  background: #0077ff;
  color: #fff;
  transform: translateX(5px);
}

/* --- Bento Box Style Service Cards --- */
.bento-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(16, 18, 22, 0.08);
    border-color: var(--accent-color);
}
.bento-card:first-child {
    grid-column: span 2;
    gap: 30px;
}
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .bento-card { flex-direction: column; }
    .bento-card:first-child { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr !important; }
    .bento-card:first-child { grid-column: span 1; }
}

.bento-icon-box {
    color: var(--accent-color);
    flex-shrink: 0;
}
.bento-icon-box .dashicons { font-size: 32px; width: 32px; height: 32px; }
.bento-card:first-child .bento-icon-box .dashicons { font-size: 40px; width: 40px; height: 40px; }

.bento-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.bento-title {
    font-size: 1.25rem; font-weight: 700; margin: 0 0 10px 0; letter-spacing: -0.01em;
}
.bento-title a { color: var(--text-color); text-decoration: none; transition: color 0.3s; }
.bento-title a:hover { color: var(--accent-color); }

.bento-desc {
    color: var(--text-muted); line-height: 1.6; margin: 0; flex-grow: 1;
}
.bento-bottom {
    margin-top: 20px; display: flex; justify-content: space-between; align-items: center;
    font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
    border-top: 1px solid var(--border-color); padding-top: 15px;
}
.bento-btn {
    color: var(--accent-color); text-decoration: none; transition: color 0.3s;
}
.bento-btn:hover { color: var(--accent-hover); }

/* Fix filter buttons for the new style */
.filter-btn {
    border-radius: 30px !important;
}

/* =========================================
   Р‘Р Р•РќР”Р‘РЈРљ (РЎРІРµС‚Р»С‹Р№ Tech Aesthetic)
   ========================================= */
.service-landing {
    background-color: var(--bg-color, #ffffff);
    color: var(--text-color, #16181d);
    background-image: linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
}
.sl-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color, #e7e7ec);
    background: transparent; /* lets grid show */
}
.sl-section-head {
    text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.sl-section-head h2 { font-size: 2.5rem; margin: 0 0 15px 0; font-weight: 700; letter-spacing: -0.02em; }
.sl-section-head p { font-size: 1.1rem; color: var(--text-muted, #6a6e78); margin: 0; }
.sl-eyebrow { color: var(--accent-color, #2271b1); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 15px; font-size: 0.9rem; }

/* BREADCRUMBS (РўРµРєСЃС‚РѕРІС‹Рµ, Р±РµР· РїР»Р°С€РµРє) */
.sl-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted, #6a6e78);
    font-weight: 500;
}
.sl-breadcrumbs a {
    color: var(--text-color, #16181d);
    text-decoration: none;
}
.sl-breadcrumbs a:hover {
    color: var(--accent-color, #2271b1);
}

/* 2. РЎР›РђР™Р”Р•Р  / Р“Р›РђР’РќР«Р™ Р­РљР РђРќ (Hero) */
.sl-hero { text-align: center; padding-top: 60px; position: relative; overflow: hidden; }
.sl-hero h1 { font-size: 3.5rem; line-height: 1.1; margin: 0 auto 20px auto; max-width: 900px; font-weight: 700; letter-spacing: -0.03em; }
.sl-hero p { font-size: 1.25rem; color: var(--text-muted, #6a6e78); max-width: 700px; margin: 0 auto 40px auto; }

/* 3. РљРђРўРђР›РћР“ (Bento Grid) */
.sl-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sl-card { background: var(--card-bg, #ffffff); border: 1px solid var(--border-color, #e7e7ec); border-radius: var(--border-radius, 12px); padding: 40px; transition: all 0.3s ease; display: flex; flex-direction: column; }
.sl-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(16, 18, 22, 0.08); border-color: var(--accent-color, #2271b1); }
.sl-card-icon { color: var(--accent-color, #2271b1); margin-bottom: 20px; }
.sl-card-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 15px 0; }
.sl-card-list { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
.sl-card-list li { padding: 10px 0; border-bottom: 1px solid var(--border-color, #e7e7ec); color: var(--text-muted, #6a6e78); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.sl-card-list li:last-child { border-bottom: none; }
.sl-card-list li::before { content: 'вњ“'; color: var(--accent-color, #2271b1); font-weight: 700; }

/* Р’РџРРЎРђРќРќР«Р™ РљРћРќРўР•РќРў РР— Р Р•Р”РђРљРўРћР Рђ */
.sl-content-area {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e7e7ec);
    border-radius: var(--border-radius, 12px);
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 4. Р’РћРџР РћРЎ-РћРўР’Р•Рў (FAQ) */
.sl-faq-item { background: var(--card-bg, #ffffff); border: 1px solid var(--border-color, #e7e7ec); border-radius: var(--border-radius, 12px); margin-bottom: 15px; overflow: hidden; }
.sl-faq-q { padding: 25px 30px; font-weight: 700; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.sl-faq-q:hover { color: var(--accent-color, #2271b1); }
.sl-faq-a { padding: 0 30px 25px 30px; color: var(--text-muted, #6a6e78); display: none; }

/* 5. РћРўР—Р«Р’Р« */
.sl-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.sl-review { background: var(--card-bg, #ffffff); border: 1px solid var(--border-color, #e7e7ec); border-radius: var(--border-radius, 12px); padding: 40px; }
.sl-review-text { font-size: 1.1rem; font-style: italic; color: var(--text-muted, #6a6e78); margin-bottom: 22px; }
.sl-review-author { display: flex; align-items: center; gap: 15px; }

/* 6. Р¤РћР РњРђ Р—РђРҐР’РђРўРђ */
.sl-cta-box { background: var(--text-color, #16181d); color: #fff; text-align: center; padding: 80px; border-radius: var(--border-radius, 12px); }
.sl-cta-box h2 { font-size: 3rem; margin: 0 0 20px 0; color: #fff; letter-spacing: -0.02em; }
.sl-cta-box p { font-size: 1.2rem; color: #a0a5b1; max-width: 600px; margin: 0 auto 40px auto; }
.sl-form { display: flex; justify-content: center; gap: 15px; max-width: 600px; margin: 0 auto; }
.sl-input { padding: 16px 20px; border-radius: var(--border-radius, 12px); border: none; flex-grow: 1; font-size: 1rem; font-family: var(--font-primary); }

@media(max-width: 992px) {
    .sl-bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .sl-steps { grid-template-columns: 1fr; gap: 15px; }
    .sl-reviews { grid-template-columns: 1fr; }
    .sl-hero h1 { font-size: 2.8rem; }
    .sl-form { flex-direction: column; }
    .sl-content-area { padding: 30px; }
    .sl-cta-box { padding: 40px 20px; }
}

.unified-header-card .da-breadcrumbs .bc-link { color: rgba(255,255,255,0.6); }
.unified-header-card .da-breadcrumbs .bc-link:hover { color: #ffffff; }
.unified-header-card .da-breadcrumbs .separator { color: rgba(255,255,255,0.3); }
.unified-header-card .da-breadcrumbs .bc-current { color: #ffffff; }
/* Global Breadcrumbs Left Alignment Rule */
.sl-breadcrumbs, .da-breadcrumbs-wrap, .da-breadcrumbs {
    text-align: left !important;
    justify-content: flex-start !important;
    width: 100%;
}

/* =======================================================
   FOOTER (v3) & COOKIE BANNER
   ======================================================= */
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.cookie-btn {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}
.cookie-btn:hover {
    background: var(--accent-hover);
}

/* Variant 3: Bento Grid Footer */
.v3-footer { 
    background: var(--bg-color); 
    padding: clamp(3rem, 5vh + 5vw, 5rem) 0 clamp(1.5rem, 3vh, 2.5rem); 
    border-top: 1px solid var(--border-color); 
    margin-top: clamp(2rem, 4vh, 4rem); 
}
.v3-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: clamp(1rem, 3vw, 20px); 
}
.v3-card { 
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 24px; 
    padding: clamp(1.5rem, 4vw, 40px); 
}
.v3-main { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}
.v3-main h3 { font-size: clamp(1.5rem, 3vw, 32px); font-weight: 800; margin: 0 0 20px; }
.v3-main p { color: var(--text-muted); font-size: 16px; max-width: 400px; line-height: 1.6; }
.v3-nav h4, .v3-social h4 { font-size: 18px; margin: 0 0 20px; font-weight: 700; }
.v3-nav ul { list-style: none; padding: 0; margin: 0; }
.v3-nav li { margin-bottom: 12px; }
.v3-nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.v3-nav a:hover { color: var(--accent-color); }
.v3-social .soc-wrap { display: flex; gap: 15px; flex-wrap: wrap; }
.v3-social a { width: 40px;
    height: 40px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.3s; }
.v3-social a:hover { transform: scale(1.1); }
.v3-copyright { margin-top: 40px; text-align: center; color: var(--text-muted); font-size: 14px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.requisites-text { font-size: 12px; opacity: 0.7; }

/* Checkbox Legal 152-FZ */
.legal-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
}
.legal-checkbox-wrap input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
    min-width: 16px;
    min-height: 16px;
}
.legal-checkbox-wrap label {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    line-height: 1.4;
    cursor: pointer;
    font-weight: 400 !important;
    margin: 0 !important;
}
.legal-checkbox-wrap a { color: var(--accent-color); text-decoration: none; }
.legal-checkbox-wrap a:hover { text-decoration: underline; }

@media (min-width: 768px) {
    .v3-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .v3-grid { grid-template-columns: 2fr 1fr 1fr; }
    .v3-main { grid-column: 1 / 2; grid-row: 1 / 3; }
    .v3-social { grid-column: 2 / 4; }
}

/* =======================================================
   SERVICES FILTER
   ======================================================= */
.services-filter-wrap { text-align: center; margin-bottom: 40px; }
.services-filter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.services-filter .filter-btn { padding: 8px 20px; border-radius: 30px !important; font-size: 0.9rem; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 768px) {
  .services-filter { gap: 8px; }
  .services-filter .filter-btn { padding: 6px 16px; font-size: 0.75rem; min-height: 32px; border-radius: 24px !important; }
}
.services-filter .filter-btn.active { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.service-card { transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease; }

/* =======================================================
   HERO ARCHIVE USLUGI (Variant 8.1)
   ======================================================= */
.v8-wrap { padding: 40px 0; background: #ffffff; position: relative; text-align: left; }
.v8-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: end; max-width: 900px; margin: 0 auto; position: relative; text-align: left; }
h1.v8-title { font-size: clamp(2.7rem, 6vw, 4.8rem) !important; font-weight: 800 !important; line-height: 1.2 !important; margin: 0 !important; color: var(--text-color); letter-spacing: -0.02em; position: relative; text-align: left; }
h1.v8-title span { color: var(--accent-color); display: inline; margin-left: 0; }
div.v8-desc { font-size: 1.2rem !important; line-height: 1.6; color: var(--text-muted); padding-bottom: 10px; border-bottom: 3px solid var(--accent-color); text-align: left; margin: 0; max-width: none; }
.v8-1 .v8-breadcrumbs-container { margin-bottom: 22px; max-width: 900px; margin-left: auto; margin-right: auto; text-align: left; display: block; }
.v8-breadcrumbs nav, .v8-breadcrumbs ul, .da-breadcrumbs { list-style: none; padding: 0 !important; margin: 0 !important; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-start; text-align: left; }
.v8-breadcrumbs { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); text-align: left; display: block; }
.v8-breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.v8-breadcrumbs a:hover { color: var(--accent-color); }
.v8-breadcrumbs .bc-current { font-weight: 700; color: var(--accent-color); }

@media (max-width: 768px) {
    .v8-grid { grid-template-columns: 1fr; align-items: start; }
    h1.v8-title { margin-bottom: 30px !important; }
}

/* =======================================================
   MOBILE BOTTOM NAV (2026)
   ======================================================= */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .site-header { display: none !important; }
    body { padding-bottom: 80px; }
    
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 15px));
        z-index: 9999;
        transition: transform 0.3s ease;
    }

    .mobile-bottom-nav.nav-hidden {
        transform: translateY(150%);
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 600;
        gap: 4px;
        width: 60px;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav .nav-item svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav .nav-item:hover, 
    .mobile-bottom-nav .nav-item.active {
        color: var(--accent-color);
    }

    .mobile-bottom-nav .nav-item:hover svg, 
    .mobile-bottom-nav .nav-item.active svg {
        transform: translateY(-2px);
    }

    .mobile-bottom-nav .nav-item.center-btn {
        position: relative;
        top: -15px;
    }
    .mobile-bottom-nav .nav-item.center-btn .icon-wrap {
        background: var(--accent-color);
        color: #fff;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(34, 113, 177, 0.3);
        margin-bottom: 4px;
    }
    .mobile-bottom-nav .nav-item.center-btn svg {
        stroke: #fff;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Service Card: Hover Reveal (Variant 7) */
.hover-reveal-card {
    background: var(--card-bg, #fff);
    border-radius: var(--border-radius, 12px);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.hr-content-default { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; width: 100%; }
.hover-reveal-card:hover .hr-content-default { transform: translateY(-20px); opacity: 0; }
.hr-icon { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 15px; }
.hr-title { font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.3; color: var(--text-color); }

.hr-content-hover {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-color); color: #fff;
    padding: 30px; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-reveal-card:hover .hr-content-hover { transform: translateY(0); }
.hr-desc { font-size: 0.9rem; margin: 0 0 15px 0; line-height: 1.5; color: rgba(255,255,255,0.9); }
.hr-btn { 
    background: #fff; color: var(--accent-color); padding: 8px 24px; 
    border-radius: 20px; font-weight: 600; text-decoration: none; 
    font-size: 0.85rem; transition: transform 0.2s, box-shadow 0.2s;
}
.hr-btn:hover {
    transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}



/* =========================================
   Навигация Кейсов (Вариант 2)
========================================= */
.v2-nav-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  border-top: 2px solid var(--border);
  padding-top: 40px;
}
.v2-nav-item {
  display: flex;
  align-items: center;
  gap: 24px;
}
.v2-nav-icon {
  font-size: 32px;
  color: var(--border);
  transition: all 0.3s ease;
}
.v2-nav-item:hover .v2-nav-icon {
  color: var(--accent-color);
  transform: scale(1.1);
}
.v2-nav-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
  line-height: 1.4;
}
.v2-nav-item:hover .v2-nav-title {
  color: var(--text-main);
}
.v2-nav-next {
  flex-direction: row-reverse;
  text-align: right;
}
.v2-btn-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 1px dashed var(--border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.v2-btn-all i {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--accent-color);
}
.v2-btn-all:hover {
  background: var(--accent-color);
  color: #fff;
  border-style: solid;
}
.v2-btn-all:hover i {
  color: #fff;
}
@media (max-width: 900px) {
  .v2-nav-wrapper {
    grid-template-columns: 1fr;
  }
  .v2-btn-all {
    width: 100%;
    height: 60px;
    flex-direction: row;
    gap: 10px;
  }
}

/* =========================================
   Логотип (Вариант 2: Terminal)
========================================= */
.logo.v2-logo { 
    font-family: 'Fira Code', monospace; 
    gap: 8px; 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    color: var(--text-main); 
}
.v2-logo .v2-icon {
    color: var(--accent-color); 
    font-size: 28px; 
    font-weight: 700;
}
.v2-logo .v2-text { 
    font-size: 24px; 
    font-weight: 500; 
    letter-spacing: -1px; 
    display: flex;
    align-items: center;
}
.v2-logo .v2-cursor {
    display: inline-block; 
    width: 10px; 
    height: 24px;
    background: var(--accent-color); 
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 768px) {
    .v2-logo .v2-icon { font-size: 24px; }
    .v2-logo .v2-text { font-size: 20px; }
    .v2-logo .v2-cursor { height: 20px; width: 8px; }
}

/* =========================================
   Широкое Модальное Окно (Variant 1: Split Classic)
========================================= */
.modal-wide {
    width: 100%;
    max-width: 950px;
    background: #ffffff;
    border-radius: var(--border-radius);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    color: var(--text-color);
    display: flex;
    flex-direction: row;
    min-height: 450px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.modal-wide .panel-left {
    flex: 0 0 40%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background: var(--accent-color);
    color: #fff;
}

.modal-wide .panel-right {
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-wide .modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.2;
}

.modal-wide .modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255,255,255,0.8);
}

.modal-wide .contact-info {
    margin-top: auto;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    line-height: 2;
}

.modal-wide .contact-info a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.modal-wide .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-wide .form-full {
    grid-column: 1 / -1;
}

.modal-wide .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-wide .form-group label {
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-wide .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--text-color);
}

.modal-wide .form-control:focus {
    border-color: var(--accent-color);
}

.modal-wide .dropzone {
    border: 2px dashed var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #fff;
    height: 100%;
    box-sizing: border-box;
}

.modal-wide .dropzone svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-color);
}

.modal-wide .dropzone:hover {
    border-color: var(--accent-color);
    background: rgba(34, 113, 177, 0.03);
}

.modal-wide .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.modal-wide .checkbox-group a {
    color: var(--accent-color);
    text-decoration: none;
}

.modal-wide .btn-submit {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    margin-top: 20px;
}

.modal-wide .btn-submit:hover {
    background: var(--accent-hover);
}

.modal-wide .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-wide .close-btn:hover {
    background: rgba(0,0,0,0.1);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .modal-wide {
        flex-direction: column;
        min-height: auto;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        border-radius: 12px;
    }
    .modal-wide .panel-left {
        flex: none;
        padding: 25px 20px 20px;
    }
    .modal-wide .panel-right {
        padding: 20px;
    }
    .modal-wide .modal-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .modal-wide .modal-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    .modal-wide .contact-info {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    .modal-wide .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .modal-wide .dropzone {
        padding: 15px;
    }
    .modal-wide .btn-submit {
        padding: 14px;
        font-size: 1rem;
    }
    .modal-wide .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        background: rgba(0,0,0,0.15);
        color: #fff;
    }
}
/* BENTO GRID (������ �������� ����) */
.sl-bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sl-bento-card { background: var(--card-bg, #ffffff); border: 1px solid var(--border-color, #e7e7ec); border-radius: var(--border-radius, 12px); padding: 30px; transition: all 0.3s ease; }
.sl-bento-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); border-color: var(--accent-color); }
.bento-wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #ffffff, #f9f9fc); border-left: 4px solid var(--accent-color); }
.sl-bento-icon { margin-bottom: 15px; }
.sl-bento-card h3 { font-size: 1.3rem; margin: 0 0 10px 0; font-weight: 700; }
.sl-bento-card p { color: var(--text-muted); margin: 0; font-size: 1rem; line-height: 1.6; }

/* ����� ������ (PROCESS) */
.sl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.sl-step { background: var(--bg-color, #f4f5f8); border-radius: var(--border-radius, 12px); padding: 30px 20px; position: relative; text-align: center; transition: all 0.3s ease; }
.sl-step:hover { background: #ffffff; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.sl-step-num { width: 40px; height: 40px; background: var(--accent-color); color: #fff; font-weight: 800; font-size: 1.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px auto; }
.sl-step h4 { font-size: 1.1rem; margin: 0 0 10px 0; font-weight: 700; }
.sl-step p { font-size: 0.95rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
/* ������� 8 (������ �����) */
.card-v8 {
    padding: 10px 0 10px 30px;
    border-left: 2px solid var(--border-color);
    transition: all 0.3s ease;
    background: transparent;
}
.card-v8:hover {
    border-left-color: var(--accent-color);
    padding-left: 40px;
}
.card-v8 h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}
.card-v8 h3 .dashicons {
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}
.card-v8:hover h3 .dashicons {
    opacity: 1;
    transform: translateX(0);
}
.card-v8 p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ������� 8 � HOVER REVEAL (�������� ���������� ��� ���������) */
.card-v8 p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}
.card-v8:hover p {
    max-height: 100px;
    opacity: 1;
    margin-top: 8px;
}

/* =======================================================
   ������� 18: ��������� ����� � ������� (Wave Footer)
   ======================================================= */
.service-card-v18 {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230052cc' fill-opacity='0.03' d='M0,192L48,181.3C96,171,192,149,288,144C384,139,480,149,576,170.7C672,192,768,224,864,229.3C960,235,1056,213,1152,192C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}
.card-wrapper:hover .service-card-v18 {
    box-shadow: 0 15px 35px rgba(0,82,204,0.1);
    transform: translateY(-5px);
}

.service-card-v18 .icon-circle {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-size: 20px;
}

.service-card-v18 p { margin: 0 0 20px 0; color: var(--text-muted); line-height: 1.6; flex-grow: 1; position: relative; z-index: 2; font-size: 0.95rem; }


.service-card-v18 .btn-fake i {
    color: inherit !important;
    font-size: 16px;
}
.card-wrapper:hover 
.service-card-v18 .btn-fake i {
    color: inherit !important;
    font-size: 16px;
}

/* �������������� ����� 3 � ��� ��� �������� (�� ������� ������������) */
@media (min-width: 992px) {
    .services-grid, .services-archive-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ��������� �������� ���� (blur) ��� ���������� ���� ������ */
.modal-overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.7) !important; /* ������ ���������� ���� ����� ������� � ��������� ��� ������� */
}

/* =======================================================
   ������� 21: �������� ����� (�� ������ ������� ���������)
   ======================================================= */
.section-v21 {
    background-color: #2271b1; /* Deep Navy, �������� ���������� � #2271b1 */
    padding: 100px 0 120px;
    color: #fff;
}
.section-v21 .section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-v21 .section-head h2 {
    color: #fff; /* ��������� ������ ����� �� ������ ���� */
}
.section-v21 .section-head p {
    color: #94a3b8;
}
.section-v21 .eyebrow {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ��������� ����� ������ �������� Variant 18 ��� ������������ ������� */
.section-v21 .service-card-v18 {
    box-shadow: 0 15px 35px rgba(14, 30, 50, 0.15); /* ���� � ���� ���� */
    border: none;
}
.section-v21 
.section-v21 .service-card-v18 p {
    color: #52606D; /* Slate ��� ������������� */
}
.section-v21 .service-card-v18 .icon-circle {
    background: #2271b1; /* �����-���� */
}
.section-v21 
.service-card-v18 .btn-fake i {
    color: inherit !important;
    font-size: 16px;
}
.card-wrapper:hover 
.service-card-v18 .btn-fake i {
    color: inherit !important;
    font-size: 16px;
}

/* =======================================================
   ������������ ��� ����� ����� (1 ������� �� ����������)
   � ���������� ������� �� ~30% (�� ������� ������������)
   ======================================================= */

/* ������ ����� 1 ������� �� ��������� � 2 �� ��������� */
@media (max-width: 991px) {
    .services-grid, .services-archive-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .services-grid, .services-archive-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ��������� ������ ���������� � �������� */
h1.v8-title {
    font-size: clamp(1.8rem, 4.5vw, 3.3rem) !important; /* ����: 1.8rem-3.2rem */
}
div.v8-desc {
    font-size: 0.85rem !important; /* ����: 1.2rem */
}

.service-card-v18 p {
    font-size: 0.8rem !important; /* ����: 0.95rem */
}
.section-v21 .section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem) !important; 
}
.section-v21 .section-head p {
    font-size: 0.85rem !important;
}

/* Восстанавливаем display: grid для сетки архива услуг */
.services-archive-grid {
    display: grid !important;
    gap: 30px;
}

/* =======================================================
   Финальный блок CTA (Call To Action) перед подвалом
   ======================================================= */
.cta-bottom {
    background-color: #1A1D24; /* Премиальный темно-серый/коричневатый цвет из референса */
    padding: 100px 20px;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cta-bottom-inner {
    max-width: 800px;
    margin: 0 auto;
}
.cta-bottom h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
}
.cta-bottom p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 40px;
}
.cta-inline-form {
    display: flex;
    max-width: 650px;
    margin: 0 auto 20px;
    gap: 10px;
}
.cta-inline-form input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: #fff;
    color: #1a1a24;
    font-family: inherit;
}
.cta-inline-form button {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 8px;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
    font-family: inherit;
}
.cta-inline-form button:hover {
    background-color: var(--accent-hover, #1A578A);
}
.cta-guarantees {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 20px;
}
@media (max-width: 768px) {
    .cta-inline-form {
        flex-direction: column;
    }
    .cta-inline-form button {
        width: 100%;
    }
}

/* =======================================================
   Ãðàôèòîâûé öâåò (Ïåðåêðàñêà Ïîäâàëà è Óñëóã)
   ======================================================= */

/* Ïîäâàë (Footer) */
.v3-footer {
    background: #1A1D24 !important;
    color: #ffffff;
    border-top: none !important;
}
.v3-footer .v3-card {
    background: rgba(255, 255, 255, 0.03) !important; /* Ëåãêîå âûäåëåíèå êàðòî÷åê íà òåìíîì ôîíå */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.v3-footer .v3-main p, 
.v3-footer .v3-nav a,
.v3-footer .v3-copyright,
.v3-footer .requisites-text {
    color: #94a3b8 !important;
}
.v3-footer .v3-nav a:hover {
    color: #16181d !important;
}
.v3-footer h4, .v3-footer .v2-text {
    color: #ffffff !important;
}
.v3-footer .v3-main a {
    color: #ffffff !important;
}

/* Áëîê Óñëóã (section-v21) */
.section-v21 {
    background-color: #1A1D24 !important;
}

/* =======================================================
   Серые карточки товаров и возврат фоновой сетки
   ======================================================= */
body {
    background-image: 
      linear-gradient(to right, rgba(0,0,0,0.06) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px) !important;
    background-size: 80px 80px !important;
    background-position: center top !important;
    background-attachment: fixed !important;
}

.section-v21 {
    background-color: #ffffff !important;
}
.section-v21 .section-head h2 {
    color: var(--text-color) !important;
}
.section-v21 .section-head p, .section-v21 .eyebrow {
    color: var(--text-muted) !important;
}

.section-v21 

.service-card-v18 p, .service-card-v18 .icon-circle {
    display: none !important;
}

.service-card-v18 .btn-fake i {
    color: inherit !important;
    font-size: 16px;
}

.card-wrapper:hover 
.service-card-v18 .btn-fake i {
    color: inherit !important;
    font-size: 16px;
}
.service-card-v18 .vector-bg {
    position: absolute;
    z-index: 0;
    transition: all 0.5s ease;
    top: -20px;
    right: -20px;
    width: 150px;
    pointer-events: none;
}
.card-wrapper:hover .service-card-v18 {
    border-color: #3b404d !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.2) !important;
}
.card-wrapper:hover .service-card-v18 .vector-bg {
    transform: scale(1.05);
}

/* STRICT OVERRIDE FOR WHITE CARDS */
.service-card-v18 {
    background: #ffffff !important;
    border-color: #e7e7ec !important;
    position: relative;
    overflow: hidden;
    padding: 25px 25px 30px 25px !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.card-wrapper:hover .service-card-v18 {
    border-color: var(--accent-color) !important;
    box-shadow: 0 8px 28px rgba(16,18,22,0.08) !important;
}

.service-card-v18 h3 {
    color: #16181d !important;
    font-size: 1.15rem !important; /* Slightly smaller to fit long text */
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    font-weight: 700 !important; /* 700 instead of 800 for better readability on long texts */
    margin: 0 !important;
    z-index: 2;
    position: relative;
    padding-bottom: 5px !important; /* Align vertically with the button center */
    padding-right: 55px !important; /* CRITICAL: Prevents text from going under the absolute button */
    word-break: break-word; /* Prevents long words from overflowing */
}

.service-card-v18 p, .service-card-v18 .icon-circle {
    display: none !important;
}

.service-card-v18 .btn-fake {
    position: absolute;
    bottom: 22px;
    right: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f4 !important;
    color: #16181d !important; 
    border: none !important;
    z-index: 2;
    transition: all 0.3s;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.service-card-v18 .btn-fake svg {
    color: inherit !important;
    stroke: currentColor !important;
}

.card-wrapper:hover .service-card-v18 .btn-fake {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.service-card-v18 .vector-bg {
    position: absolute;
    z-index: 0;
    transition: all 0.5s ease;
    top: -20px;
    right: -20px;
    width: 150px;
    pointer-events: none;
}
.card-wrapper:hover .service-card-v18 .vector-bg {
    transform: scale(1.05);
}
