/* ========== ОБЩИЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.big {
    font-size: xx-large;
}

section {
    padding: 80px 0;
}

.cursor{cursor: pointer;}

.site{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========== ТИПОГРАФИКА ========== */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: #2c3e50;
}


.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

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

/* ========== КНОПКИ ========== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3498db;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

/* ========== КНОПКА ВЫЗОВА МАСТЕРА ========== */
.btn-call {
    background: #e74c3c;
    color: white !important;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-call:hover {
    background: #c0392b;
    color: rgb(238, 227, 227) !important;
    transform: scale(1.05);
}

.btn-call::after {
    background: rgb(172, 29, 29) !important;
    height: 2px;
    bottom: -2px;
}

/* ========== НАВИГАЦИЯ ========== */

.site-header{
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
} 

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: #3498db;
}

.custom-logo,
.logo{
    max-width: 300px;
    height: auto;
}

#breadcrumbs {
    margin-top: clamp(1.875rem, 1.25rem + 2.5vw, 3.125rem);
    margin-bottom: clamp(1.25rem, 0.938rem + 1.25vw, 1.875rem);
}

#breadcrumbs,
#breadcrumbs span,
#breadcrumbs a{
    color: #333;
    line-height: 1.6;
    text-decoration: none;
}

#breadcrumbs .breadcrumb_last{color: #33333380;}

/* ========== МЕНЮ ========== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0px 15px;
    padding: 0;
}

.nav-menu a:not(.btn-call) {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 1rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* ========== ЭФФЕКТ ПРИ НАВЕДЕНИИ ========== */
.nav-menu a:not(.btn-call):hover {
    color: #3498db;
    transform: scale(1.05);
    background: rgba(52, 152, 219, 0.08);
    border-color: rgba(52, 152, 219, 0.3);
}

.nav-menu a:not(.btn-call)::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #3498db;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-menu a:not(.btn-call):hover::after {
    width: 30px;
}

/* ========== АКТИВНАЯ КНОПКА (ТЕКУЩАЯ СТРАНИЦА) ========== */
.nav-menu a.active {
    color: #3498db;
    transform: scale(1.05);
    background: rgba(52, 152, 219, 0.08);
    border-color: rgba(52, 152, 219, 0.3);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: 0.3s;
}

/* ========== ГЕРОЙ-СЕКЦИЯ ========== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
                url('/wp-content/themes/windows/image/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-doors{
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
            url('/wp-content/uploads/2026/03/doors2web.webp'); 
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature i {
    font-size: 1.5rem;
    color: #3498db;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 2rem;
    color: white;
}

/* ========== УСЛУГИ (ГЛАВНАЯ) ========== */
.services-preview {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.service-card .title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 150%;
    font-weight: 700;
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.price {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2ecc71;
    font-size: 1.2rem;
    padding: 5px 15px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50px;
    width: fit-content;
    margin-top: auto;
}

/* ========== О КОМПАНИИ (ГЛАВНАЯ) ========== */

.about-preview {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-list {
    list-style: none;
    margin: 20px 0 30px;
}

.about-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: #2ecc71;
}

/* ========== ГАЛЕРЕЯ РАБОТ ========== */
.works-gallery {
    background: #f8f9fa;
}

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

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item .placeholder-image {
    height: 100%;
    width: 100%;
}

/* ========== ФОРМА ЗАЯВКИ ========== */
.contact-form {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header .title-form,
.form-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
	font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

/* ===== СТРЕЛКА ТОЛЬКО ДЛЯ SELECT ===== */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 45px;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

/* ===================================== */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    border-radius: 20px;
    min-height: 120px;
    resize: vertical;
}

.form-container .btn-primary {
    width: 100%;
    background: white;
    color: #3498db;
    font-size: 1.1rem;
    padding: 16px;
}

.form-container .btn-primary:hover {
    background: #f8f9fa;
}

/* ========== ФУТЕР ========== */

footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    color: white;
}

.footer-col .title {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    color: white;
	font-weight: 700;
}

.footer-col .title span,
.footer-col h3 span {
    color: #3498db;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: #3498db;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* ========== ПЛЕЙСХОЛДЕРЫ ДЛЯ ИЗОБРАЖЕНИЙ ========== */
.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 1.2rem;
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.experience-badge span {
    font-size: 2rem;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* ========== СТИЛИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ ========== */
.page-header {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: white;
    animation: fadeInDown 1.8s ease forwards;
}

.page-header .section-title::after {
    background: white;
}

.page-header .text-center {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInDown 1.8s ease forwards;
}

/* ========== УСЛУГИ (SERVICES.HTML) ========== */
.service-detail-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-detail-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.service-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2ecc71;
    margin-top: 5px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: #2ecc71;
}

.price-table {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-table .title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    color: white;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

tbody tr:hover {
    background: #f8f9fa;
}

/* ========== О КОМПАНИИ (ABOUT.HTML) ========== */
.about-company {
    padding: 80px 0;
    background: white;
}

.about-company-content {
    display: grid;
/*     grid-template-columns: 1fr 1fr; */
    gap: 60px;
    align-items: center;
}

.about-company-text .title,
.about-company-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
	font-weight: 700;
}

.about-company-text p {
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    display: block;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.our-team {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.member-photo .placeholder-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.team-member .title,
.team-member h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
	font-weight: 700;
}

.member-position {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-experience {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-desc {
    color: #333;
    font-size: 0.9rem;
}

.advantages {
    padding: 80px 0;
    background: white;
}

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

.advantage-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.advantage-card .title,
.advantage-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
	font-weight: 700;
}

.advantage-card p {
    color: #666;
}

/* ========== КОНТАКТЫ (CONTACTS.HTML) ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.contact-card .title,
.contact-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
	font-weight: 700;
}

.contact-card p {
    margin-bottom: 10px;
    color: #333;
}

.contact-card a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.contact-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
    margin-top: auto;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.social-btn.viber {
    background: linear-gradient(135deg, #7360F2, #8F5AFF);
}

.social-btn.viber:hover {
    background: linear-gradient(135deg, #8F5AFF, #7360F2);
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-note {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.social-note i {
    color: #3498db;
    margin-right: 10px;
}

.map-placeholder {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
}

.transport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.transport-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.transport-item i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.transport-item h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: #2c3e50;
}

.transport-item p {
    color: #666;
    font-size: 0.9rem;
}

.requisites-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.requisites-item {
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.requisites-item .title,
.requisites-item h4 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
	font-weight: 700;
}

.requisites-item p {
    margin-bottom: 10px;
    color: #333;
}

.form-group .btn-primary{color: #3498db;}

.hero-buttons .btn-primary{color: white;}

.service-detail-link{
    text-decoration: none;
    color: rgb(51, 51, 51); 
}

.price-table .table-wrapper table tbody tr:first-child {
  background: linear-gradient(90deg, #3498db, #2ecc71);
  color: white;
  font-weight: bold;
}

.page-title{text-align: left;}

.page-title::after{
    left: 0%;
    transform: translateX(0%);
}

.page-description{
    margin-top: clamp(0rem, -0.625rem + 2.5vw, 1.25rem);
    font-weight: 400;
    font-size: 1rem;
    line-height: 25px; 
    margin-bottom: clamp(1.875rem, 1.25rem + 2.5vw, 3.125rem);
}

#mobil-logo{display: none;} 


/* ========== Seo блок ========== */

.block-seo{padding-top: 20px;}

.wrapper__block-seo{
  display: grid;
  gap: 20px;
  justify-items: start;
}

.wrapper__block-seo ul,
.wrapper__block-seo ol{
  list-style: disc;
}

.title-seo{
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 700;
    line-height: 120%;
}

.description-seo,
.description-seo p,
.description-seo span{
    font-weight: 400;
    font-size: 1rem;
    line-height: 25px;
}

.description-seo {
  max-height: 144px;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  width: 100%;
}

.description-seo.collapsible {
  transition: max-height 0.5s ease-in;
}

.description-seo.expanded {
  max-height: 1000px;
}

.button-onwards {
  transition: opacity 0.3s;
}

.button-onwards svg {
  transition: transform 0.3s ease;
}

.button-onwards.open svg {
  transform: rotate(180deg);
}

.button-onwards{
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  max-width: 220px;
width: 100%;
}

.button-onwards span{
  font-weight: 600;
  font-size: clamp(0.875rem, 0.813rem + 0.25vw, 1rem);
  line-height: 100%;
  background: #e74c3c;
  color: white;
  padding: 20px;
  border-radius: 50px;
  display: block;
}

.block-seo-yslugi{
    padding-top: 50px;
}

.table-wrapper {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.table-wrapper table {
    min-width: 600px; 
    width: 100%;
}

.mainPage-services-grid .service-features{display: none;}

.service-detail-header .title{
     font-size: 1.17em;
    font-weight: 700;   
}

img.qr-img {
    max-width: 100px;
    display: block;
}







/* ========== АНИМАЦИИ ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .about-company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }

    .btn-call .fa-phone,
    #pk-logo{display: none;}

    #mobil-logo{display: block;} 
    
    .service-detail-header{display: grid;}
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        gap: 0;
        margin-left: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 15px 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 10px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1,
    .page-header .section-title {
        font-size: 2.2rem;
    }
    
    .hero p,
    .page-header .text-center {
        font-size: 1rem;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .page-header {
        height: 350px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
	.about-company-text .title,
    .about-company-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 520px) {
    .btn-call{
        font-size: 12px;
        padding: 10px 15px;
        margin: 0px 10px;
    }

    #mobil-logo{
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .section-title,
    .hero h1,
    .page-header .section-title {
        font-size: 1.8rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .page-header {
        height: 300px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }

    .form-header > p{font-size: 14px;}

	.form-header .title-form,
    .form-header h2{
		font-size: 18px;
	}

    .form-group textarea{max-height: 100px;}

    .pum-theme-7 .pum-container, 
    .pum-theme-tema-po-umolchaniyu .pum-container {padding: 20px !important;}

    th, td {
        padding: 15px;
        font-size: 14px;
    }
}

/* ========== КНОПКА НАВЕРХ ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    border: 2px solid white;
    animation: pokeUp 1s infinite;  /* ← анимация тыканья */
}

@keyframes pokeUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);  /* ← подпрыгивание вверх */
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Прячем на компьютере */
@media (min-width: 769px) {
    .back-to-top {
        display: none;
    }
}