/* CSS Переменные (Цвета и настройки) */
:root {
    --primary: #1e3a8a;
    --primary-hover: #1e40af;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --dark: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --teal-text: #2b5c65;
    --blue-50: #eff6ff;
    --green-500: #22c55e;
    --red-500: #ef4444;
    --container-padding: 1.5rem;
}
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;

    

    margin: 0;
    padding: 0;
}
/* Изоляция стилей для Elementor */
#oskol-wrapper, .main-content {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    background-color: var(--gray-50);
    line-height: 1.5;
    padding-top: 80px;
    /* Отступ под фиксированную шапку */
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}
/* Базовые классы */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

/* Типографика */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background-color: var(--blue-50);
}

.btn-outline-gray {
    border: 1px solid var(--gray-300);
    color: var(--gray-800);
    background: #fff;
    box-shadow: none;
}

.btn-outline-gray:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon {
    margin-left: 0.5rem;
    width: 20px;
    height: 20px;
}

.btn-full {
    width: 100%;
}

/* 1. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 50;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
}

.logo span {
    color: var(--accent);
}

.logo-desc {
    display: block;
    font-size: 10px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/*.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}*/

.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links ul li a {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: color 0.2s;
    text-decoration: none; 
}

.nav-links ul li a:hover {
    color: var(--primary);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-block {
    text-align: right;
}

.phone-block a {
    font-weight: 700;
    color: var(--gray-900);
    transition: color 0.2s;
}

.phone-block a:hover {
    color: var(--primary);
}

.phone-time {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.mobile-btn {
    display: none;
    color: var(--gray-600);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--gray-100);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 49;
}

.mobile-menu.active {
    display: block;
}

/* 1.1 Breadcrumbs (Хлебные крошки) */
.breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-separator {
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.breadcrumb-item.current {
    color: #fff;
    font-weight: 500;
}

/* Стили для хлебных крошек вне темных Hero-секций (на белом/сером фоне) */
.main-content > .breadcrumbs,
.page-header .breadcrumbs {
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem 0;
    margin-bottom: 0;
}

.main-content > .breadcrumbs .breadcrumb-item a,
.page-header .breadcrumbs .breadcrumb-item a {
    color: var(--gray-500);
}

.main-content > .breadcrumbs .breadcrumb-item a:hover,
.page-header .breadcrumbs .breadcrumb-item a:hover {
    color: var(--primary);
}

.main-content > .breadcrumbs .breadcrumb-separator,
.page-header .breadcrumbs .breadcrumb-separator {
    color: var(--gray-300);
}

.main-content > .breadcrumbs .breadcrumb-item.current,
.page-header .breadcrumbs .breadcrumb-item.current {
    color: var(--gray-900);
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin-bottom: 1.5rem;
    }
    .breadcrumb-list {
        font-size: 0.8125rem;
    }
    .breadcrumb-separator {
        margin: 0 0.5rem;
    }
}

.mobile-menu-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.mobile-menu a {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 0;
}

.mobile-menu-contact {
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.mobile-menu-contact .phone {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.75rem;
}

/* 2. Hero Section */
.hero {
    position: relative;
    color: #fff;
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--gray-200);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature svg {
    color: var(--accent);
    width: 24px;
    height: 24px;
}

/* 3. Quiz Section */
.quiz {
    position: relative;
    z-index: 20;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: -4rem auto 6rem;
    padding: 3rem;
}

.quiz-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.quiz-subtitle {
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-subtitle span {
    color: var(--accent);
    font-weight: 700;
}

.progress-bg {
    width: 100%;
    height: 0.5rem;
    background: var(--gray-200);
    border-radius: 999px;
    margin-bottom: 2rem;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.3s;
}

.quiz-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.quiz-card {
    display: block;
    position: relative;
    cursor: pointer;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 0.25rem;
    transition: border-color 0.2s;
}

.quiz-card:hover {
    border-color: var(--primary);
}

.quiz-card input {
    display: none;
}

.quiz-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.quiz-check svg {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
}

.quiz-card input:checked~.quiz-check {
    background: var(--primary);
    border-color: var(--primary);
}

.quiz-card input:checked~.quiz-check svg {
    opacity: 1;
}

.quiz-img {
    height: 8rem;
    border-radius: 0.5rem;
    background: var(--gray-100);
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
}

.quiz-card-title {
    font-weight: 700;
    text-align: center;
    padding-bottom: 0.5rem;
    color: var(--gray-800);
}

.quiz-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    gap: 1rem;
}

.quiz-nav.between {
    justify-content: space-between;
}

.quiz-nav-back {
    color: var(--gray-500);
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.quiz-nav-back:hover {
    color: var(--gray-800);
}

.range-slider-wrap {
    max-width: 600px;
    margin: 2rem auto;
}

.range-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
}

.range-input {
    width: 100%;
    height: 0.5rem;
    background: var(--gray-200);
    border-radius: 0.5rem;
    outline: none;
    -webkit-appearance: none;
    accent-color: var(--primary);
    cursor: pointer;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.quiz-opt-btn {
    border: 2px solid var(--gray-200);
    padding: 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s;
    color: var(--gray-800);
}

.quiz-opt-btn:hover {
    border-color: var(--primary);
    background: var(--blue-50);
}

.quiz-final {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.quiz-icon-success {
    width: 4rem;
    height: 4rem;
    background: #dcfce7;
    color: var(--green-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.quiz-form {
    text-align: left;
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

.form-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 1rem;
}

/* 4. Technologies Section */
.technologies {
    padding: 4rem 0;
    background: white;
}

.page-template-template-technologies-php #technologies {
	background: inherit;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    position: relative;
    height: 280px;
    border-radius: 0.75rem;
    border: 1px solid #fed7aa;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    transition: box-shadow 0.3s;
    background-color: #fff;
}

.tech-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tech-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tech-card:hover .tech-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2); 
}

.tech-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tech-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-50);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-200);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-btn-wrap {
    margin-top: auto;
}

.tech-btn-wrap .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* 5. Projects Catalog */
.projects {
    padding: 4rem 0;
    background: var(--gray-50);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.filter-tab {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab.active,
.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.hot {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 16rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-200);
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.badge-red {
    background: var(--red-500);
}

.badge-green {
    background: var(--green-500);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.project-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-meta svg {
    width: 16px;
    height: 16px;
}

.project-price-wrap {
    margin-bottom: 1.5rem;
}

.project-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.project-price-sub {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.project-actions {
    display: flex;
    gap: 0.75rem;
}

.project-actions .btn {
    flex: 1;
    padding: 0.75rem;
}

.projects-more {
    text-align: center;
    margin-top: 3rem;
}

/* 6. Preimushestva / Advantages */
.section-preimushestva {
    padding: 6rem 0;
    background: #fff;
}

.preimushestva-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.preimushestva-card {
    background: var(--blue-50);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.preimushestva-icon {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preimushestva-icon.accent {
    background: var(--accent);
}

.preimushestva-icon svg {
    width: 32px;
    height: 32px;
}

.pulse-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.preimushestva-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.preimushestva-info p {
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .preimushestva-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .preimushestva-card {
        flex-direction: column;
    }
}

@media (max-width: 550px) {
    .preimushestva-card {
        flex-direction: column;
    }
    .preimushestva-card .preimushestva-info {
        text-align: center;
    }
}

/* 7. Portfolio */
.portfolio {
    padding: 6rem 0;
    background: var(--gray-900);
    color: #fff;
}

.portfolio .section-title {
    color: #fff;
    text-align: left;
    margin-bottom: 0.5rem;
}

.portfolio .section-subtitle {
    color: var(--gray-400);
    text-align: left;
    margin: 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.portfolio-nav {
    display: flex;
    gap: 0.5rem;
}

.portfolio-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-800);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.portfolio-nav button:hover {
    background: var(--gray-700);
}

.portfolio-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

.portfolio-card {
    scroll-snap-align: center;
    flex: 0 0 600px;
    background: var(--gray-800);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-img {
    height: 18rem;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--gray-700);
}

.portfolio-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.portfolio-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.portfolio-meta svg {
    width: 16px;
    height: 16px;
}

.portfolio-review {
    background: var(--gray-900);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-700);
    margin-top: auto;
}

.portfolio-review p {
    font-style: italic;
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.author-ava {
    width: 28px;
    height: 28px;
    background: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* 8. Mortgage */
.mortgage {
    padding: 6rem 0;
    background: var(--blue-50);
}

.mortgage-box {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #dbeafe;
    display: flex;
    overflow: hidden;
}

.mortgage-calc {
    padding: 3rem;
    flex: 3;
}

.mortgage-banks {
    padding: 3rem;
    flex: 2;
    background: var(--gray-50);
    border-left: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-row {
    margin-bottom: 2rem;
}

.calc-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    align-items: flex-end;
}

.calc-label {
    font-weight: 600;
    color: var(--gray-700);
}

.calc-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.calc-result-area {
    border-top: 1px solid var(--gray-100);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.25rem;
}

.result-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
}

.banks-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.banks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bank-item {
    background: #fff;
    height: 5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 1.8rem;
}

.bank-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bank-sber {
    color: #16a34a;
}

.bank-vtb {
    color: #2563eb;
}

.bank-alfa {
    color: #dc2626;
}

.bank-domrf {
    color: #60a5fa;
}

/* 9. Lead Capture */
.lead {
    padding: 5rem 0;
    background: var(--gray-900);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.lead-deco {
    position: absolute;
    top: -5rem;
    right: -5rem;
    opacity: 0.1;
}

.lead-deco svg {
    width: 384px;
    height: 384px;
}

.lead-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    gap: 3rem;
}

.lead-content {
    flex: 1;
}

.lead-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.lead-desc {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.lead-features {
    display: flex;
    gap: 1.5rem;
    color: var(--gray-400);
}

.lead-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lead-form-box {
    flex: 1;
    max-width: 450px;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    color: var(--gray-900);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.form-check input {
    margin-top: 0.2rem;
}

/* 10. Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent);
}

.footer-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-contact svg {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-800);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-btn.wa:hover {
    background: #22c55e;
}

.social-btn.tg:hover {
    background: #3b82f6;
}

.seo-block {
    margin-bottom: 2rem;
}

.seo-summary {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    outline: none;
}

.seo-summary svg {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

details[open] .seo-summary svg {
    transform: rotate(180deg);
}

.seo-text {
    margin-top: 1rem;
    font-size: 0.75rem;
    background: rgba(31, 41, 55, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-600);
    gap: 4rem;
    align-items: center;
}

footer .razrabotka-tandem:hover {
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* Адаптивность (Media Queries) */
@media (max-width: 1024px) {

    .nav-links,
    .header-contact {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .hero-usluga h1.hero-title {
        font-size: 2.3rem;
    }

    .mortgage-box {
        flex-direction: column;
    }

    .mortgage-banks {
        border-left: none;
        border-top: 1px solid var(--gray-200);
    }

    .lead-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .lead-features {
        justify-content: center;
    }

    .lead-deco {
        display: none;
    }

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

    .mobile-menu-inner li {
        list-style: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .quiz {
        padding: 1.5rem 0;
        margin-top: -2rem;
    }

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

    .quiz-options {
        grid-template-columns: 1fr;
    }

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

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

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

    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .portfolio-card {
        flex: 0 0 85vw;
    }

    .calc-result-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .calc-result-area .btn {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/*стили формы cf7 начало*/
.form-quiz input {
    width: 100%;
    font-family: inherit;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    transition: border-color 0.2s;
    outline: none;
}

.form-quiz label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
	text-align: left;
}

.form-quiz .btn-accent,
.form-quiz .btn-primary {
	margin-top: 1rem;
}

.form-prefooter .wpcf7-list-item {
    margin-left: 0;
}

.form-prefooter .form-prefooter-row4 label {
    display: flex;
    flex-wrap: nowrap;
}
.form-prefooter .form-prefooter-row4 label input {
    width: 50px;
    margin-right: 10px;
}

.form-prefooter .form-prefooter-row4 label span {
    flex: 0 0 auto;
}

/*стили формы cf7 конец*/

/* --- Contacts Page Styles --- */
.hero-shallow {
    background: var(--gray-900);
    color: #fff;
    padding: 60px 0 40px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-shallow .hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: radial-gradient(rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero-shallow .container {
    position: relative;
    z-index: 10;
}

.hero-shallow .page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.hero-shallow .page-title span {
    color: var(--accent);
}

.hero-shallow .hero-desc {
    max-width: 700px;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--gray-300);
}

.contacts-info {
    padding: 5rem 0;
    background: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    border-color: var(--gray-300);
}

.contact-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 0.75rem;
    background: var(--blue-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem;
}

.contact-card p {
    margin: 0;
    color: var(--gray-800);
    font-weight: 500;
    line-height: 1.5;
}

.contact-card .contact-meta {
    margin: 0.5rem 0 0;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.contact-card a.phone-large {
    display: block;
    color: var(--gray-900);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.contact-card a.phone-secondary {
    display: block;
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--primary) !important;
}

.contact-card a.email-link {
    display: inline-block;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    margin-bottom: 0.5rem;
}

.map-container {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.contacts-form-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 3.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--gray-200);
}

/* --- CF7 Form Styles --- */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 0;
}

.wpcf7-form .form-group {
    margin-bottom: 1.5rem;
}

.wpcf7-form .form-group p {
    margin: 0;
}

.wpcf7-form .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.wpcf7-form input:not([type="submit"]), 
.wpcf7-form select, 
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--gray-900);
    background-color: #fcfdfd;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.wpcf7-form input.wpcf7-submit:focus {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.wpcf7-form textarea {
    height: 100px;
    resize: vertical;
}

/* Стилизация Select в CF7 */
.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Группа согласия */
.form-submit-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.form-submit-wrapper p {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    background-color: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 280px;
}

.wpcf7-submit:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-agreement {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-align: center;
}

.form-agreement label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-agreement input[type="checkbox"] {
  
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Валидация CF7 */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    margin: 2rem 0 0 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid transparent !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
    background-color: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #15803d !important;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
    background-color: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #b91c1c !important;
}

.wpcf7-spinner {
    position: absolute;
    margin: 0 0 0 10px !important;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    .wpcf7-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .wpcf7-submit {
        width: 100%;
    }
}

/* --- Services (Usluga) Styles --- */
.hero-usluga {
    position: relative; 
    overflow: hidden; 
    color: #fff;
}

.hero-usluga .hero-bg {
    position: absolute; 
    top:0; left:0; width:100%; height:100%; 
    background-size: cover; 
    background-position: center; 
    z-index: 0;
}

.hero-usluga .hero-overlay {
    position: absolute; 
    top:0; left:0; width:100%; height:100%; 
    background: linear-gradient(to right, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.6) 100%); 
    z-index: 1;
}

.hero-usluga .hero-content {
    padding: 70px 0 50px; 
    position: relative; 
    z-index: 2;
}

.usluga-badge {
    display:inline-block; 
    padding: 6px 16px; 
    background: rgba(37, 99, 235, 0.9); 
    border-radius: 30px; 
    font-weight:600; 
    font-size: 0.85rem; 
    margin-bottom:20px; 
    letter-spacing: 0.5px; 
    text-transform: uppercase;
}

.hero-usluga .hero-title {
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    max-width: 800px; 
    line-height: 1.2;
}

.hero-usluga .hero-desc {
    font-size: 1.15rem; 
    max-width: 600px; 
    opacity: 0.9; 
    margin-bottom: 40px; 
    line-height: 1.6;
}

.hero-usluga .hero-actions {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    flex-wrap: wrap;
}

.usluga-layout {
    display: grid; 
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); 
    gap: 60px;
}

.usluga-main-text .prose {
    font-size: 1.1rem; 
    line-height: 1.8; 
    color: #374151;
}

.usluga-advantages {
    margin-top: 60px;
}

.usluga-advantages h2,
.usluga-steps h2 {
    font-size: 2rem; 
    margin-bottom: 30px; 
    color: #111827;
}

.advantages-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 24px;
}

.advantage-card {
    padding: 24px; 
    background: #f9fafb; 
    border-radius: 16px; 
    border-top: 4px solid #2563eb; 
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.advantage-card h4 {
    margin: 0 0 12px; 
    font-size: 1.15rem; 
    color: #111827; 
    display: flex; 
    align-items: center; 
    gap: 12px;
}

.advantage-card h4 i {
    color: #2563eb; 
    flex-shrink: 0;
}

.advantage-card p {
    margin: 0; 
    font-size: 0.95rem; 
    color: #4b5563; 
    line-height: 1.5;
}

.usluga-steps {
    margin-top: 80px;
}

.steps-list {
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    position: relative;
}

.step-item {
    display: flex; 
    gap: 24px; 
    align-items: flex-start; 
    position: relative; 
    z-index: 1;
}

.step-num {
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background: #ebf5ff; 
    border: 2px solid #2563eb; 
    color: #2563eb; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold; 
    font-size: 1.2rem; 
    flex-shrink: 0;
}

.step-content {
    background: #fff; 
    padding: 24px; 
    border: 1px solid #e5e7eb; 
    border-radius: 12px; 
    flex-grow: 1; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.step-content h4 {
    margin: 0 0 8px; 
    font-size: 1.2rem; 
    color: #111827;
}

.step-content p {
    margin: 0; 
    color: #4b5563; 
    line-height: 1.6;
}

.sidebar-widget {
    padding: 32px; 
    background: #f3f4f6; 
    border-radius: 16px; 
    position: sticky; 
    top: 120px;
}

.sidebar-widget h3 {
    margin: 0 0 16px; 
    font-size: 1.5rem; 
    color: #111827;
}

.sidebar-widget p {
    color: #4b5563; 
    margin-bottom: 24px; 
    line-height: 1.6;
}

.expert-block {
    display: flex; 
    align-items: center; 
    gap: 16px; 
    margin-bottom: 24px;
}

.expert-avatar {
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: #d1d5db; 
    overflow: hidden; 
    display:flex; 
    align-items:center; 
    justify-content:center;
}

.expert-name {
    font-weight: 600; 
    color: #111827;
}

.expert-status {
    font-size: 0.85rem; 
    color: #6b7280;
}

.sidebar-phone {
    display: block; 
    text-align: center; 
    margin-top: 16px; 
    color: #111827; 
    font-weight: 600; 
    text-decoration: none;
}

.sidebar-phone:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-usluga .hero-content {
        padding: 20px;
        font-size: 2rem;
    }
}

/* Service Card (Archive/Grid) */
.usluga-archive-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 40px;
}

.usluga-archive-card {
    padding: 0; 
    border: 1px solid #e5e7eb; 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    background: #fff; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usluga-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    display: block; 
    width: 100%; 
    height: 220px; 
    padding: 0; margin: 0; 
    overflow: hidden; 
    background: #f3f4f6;
}

.service-card-image img {
    width: 100%; height: 100%; 
    margin: 0; padding: 0; 
    display: block; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.usluga-archive-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 24px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
}

.service-card-title {
    margin: 0 0 12px 0; 
    font-size: 1.25rem; 
    line-height: 1.4;
}

.service-card-title a {
    text-decoration: none; 
    color: #111827;
}

.service-card-excerpt {
    margin-bottom: 24px; 
    color: #4b5563; 
    font-size: 0.95rem; 
    line-height: 1.6;
}

.pagination {
    margin-top: 80px; 
    text-align: center; 
    display: flex; 
    justify-content: center; 
    gap: 10px;
}

.pagination .page-numbers {
    padding: 8px 16px; 
    border: 1px solid #e5e7eb; 
    border-radius: 8px; 
    font-weight: 500;
    transition: all 0.2s;
}

.pagination .current,
.pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 991px) {
    .usluga-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sidebar-widget {
        position: static;
    }
}
@media (max-width: 768px) {
.usluga-archive-card {
    margin: auto 15px;
}
}


/*Форма CF7 на странице контакты начало*/
.wpcf7-f410-o1 textarea {
    height: 80px;
}
/*Форма CF7 на странице контакты конец*/

.single-usluga ul {
    list-style: inherit;
    margin: 0 0 0 20px;
}

ul.menu  {
   list-style: none!important; 
}

form .form-prefooter-row4 {
	margin-top: 15px;
}

#popmake-420 h2 {
    margin-bottom: 10px;
}

.form-prefooter-row1 {
    margin-bottom: 15px;
}

.page-template-template-portfolios .portfolio {
    background: white;
    padding: 4rem 0;
}

.page-template-template-portfolios .portfolio .section-title {
	color: var(--gray-900);
}

.page-template-template-portfolios .section-preimushestva {
	padding-top: 0;
}

.page-template-template-technologies .section-preimushestva {
	padding-top: 4rem;
}