* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #780B10;
    --primary-dark: #5a080c;
    --primary-light: #9e1117;
    --dark: #1a1a1a;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #999999;
    --light: #f5f5f5;
    --white: #ffffff;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ========== БАЗОВЫЕ СТИЛИ ========== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 2.0;
    background-color: var(--white);
}
header {
    position: fixed;
    z-index: 1000;
}
.main_div {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 100px;
    
}

.main_div img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 130px); /* Высота экрана минус хедер */
    object-fit: cover;
    object-position: center;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========== HERO SECTION (КАРТИНКА) ========== */
.main_div {
    display: flex;
    justify-content: center;
}

/* ========== ТИПОГРАФИКА ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(35px, 5vw, 46px);
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
}

/* ========== HEADER ========== */
.header1 {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-full {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 30px;
    font-weight: 700;
}

.brand-porsche {
    color: var(--dark);
}

.brand-salova {
    color: var(--primary);
}

.number a {
    text-decoration: none;
    color: var(--dark);
    font-size: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.number a:hover {
    color: var(--primary);
}

.number a i {
    color: var(--primary);
    font-size: 16px;
}

/* ========== НАВИГАЦИЯ ========== */
.nav {
    display: flex;
    justify-content: center;
    border-top: 2px solid black;
    background: var(--white);
}

.div-nav {
    padding: 15px 25px;
    transition: var(--transition);
}

.div-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 20px;
    transition: var(--transition);
}

.div-nav:hover {
    background: var(--primary);
}

.div-nav:hover a {
    color: var(--white);
}

/* ========== HERO SECTION (СТАРЫЙ КОД - НЕ ИСПОЛЬЗУЕТСЯ) ========== */
.div-main {
    position: relative;
    background-image: url(pictures/фон-исправленный1920х1080.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.description {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 0 20px;
}

.doverte {
    font-size: clamp(14px, 3vw, 18px);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.sertificir {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tehnicheskoe {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(120, 11, 16, 0.3);
}

.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 11, 16, 0.4);
}

/* ========== SECTION BACKGROUND ========== */
.under-main {
    background: var(--light);
}

/* ========== BENEFITS SECTION ========== */
.why-me {
    padding: 80px 0;
}

.colon-1, .colon-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon img {
    height: 120px;
    width: auto;
}

.benefit-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.4;
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 25px;
    text-align: center;
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    height: 120px;
    width: auto;
    transition: var(--transition);
}
.service-icon-try8 {
    margin-bottom: 20px;
}
.service-icon-try8 a {
padding-bottom: 20px;
}
.service-icon-try8 p {
padding-bottom: 20px;
}
.service-icon-try8 img {
    height: 180px;
    width: auto;
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card h3 a {
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.service-card:hover h3 a {
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
}

.button-to-services {
    text-align: center;
}

.to-services {
    background: transparent;
    border: 2px solid var(--primary);
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.to-services a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.to-services:hover {
    background: var(--primary);
}

.to-services:hover a {
    color: var(--white);
}

/* ========== SLIDER SECTION ========== */
.ours-works {
    padding: 80px 0;
    background: var(--white);
}

.container-slyder {
    max-width: 900px;
    margin: 0 auto;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 500px;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.prev:hover, .next:hover {
    background: var(--primary);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* ========== MAP SECTION ========== */
.karta {
    padding: 80px 0;
    background: var(--light);
}

.karta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.karta-info {
    padding: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: rgba(120, 11, 16, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--gray-dark);
}

.info-item p, .info-item a {
    color: var(--gray);
    text-decoration: none;
}

.karta-ssulka iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ========== REVIEWS SECTION ========== */
.under-our-works {
    padding: 80px 0;
    background: var(--light);
}

.reviews-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.reviews-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.reviews-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.reviews-link {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    font-family: 'YS Text', sans-serif;
    color: #b3b3b3;
    text-decoration: none;
    background: rgba(255,255,255,0.9);
    padding: 4px 0;
    pointer-events: auto;
}

.reviews-link:hover {
    color: var(--primary);
}

/* ========== FOOTER ========== */
.footer-main {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-logo h3 {
    font-size: 20px;
}

.footer-logo h3 span {
    color: var(--primary);
}

.footer-col p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
}

.footer-contacts li i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #aaa;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 450px;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.close:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-header h3 {
    font-size: 24px;
}

.modal-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.modal-contacts a {
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-phone {
    background: var(--primary);
    color: var(--white);
}

.modal-phone:hover {
    background: var(--primary-dark);
}

.modal-wa {
    background: #25D366;
    color: white;
}

.modal-tg {
    background: #0088cc;
    color: white;
}

.modal-address {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--gray);
}

/* ========== SCROLL MARGIN ========== */
[id] {
    scroll-margin-top: 120px;
}

/* ========== АДАПТИВЫ ========== */
@media (min-width: 370px) and (max-width: 450px) {
    
    /* ===== КОНТЕЙНЕР ===== */
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    /* ===== HEADER ===== */
    .header1 {
        position: relative;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .header-line {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px 0;
    }
    
    .logo-full {
        gap: 8px;
    }
    
    .logo img {
        height: 32px;
        width: auto;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .number a {
        font-size: 16px;
        padding: 0;
    }
    
    .number a i {
        font-size: 12px;
    }
    
    /* Навигация скрыта */
    .nav {
        display: none;
    }
    
    /* ===== HERO КАРТИНКА ===== */
    .main_div {
        margin-top: 0;
    }
    
    .main_div img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ ===== */
    .why-me {
        padding: 40px 0;
    }
    
    .colon-1, .colon-2 {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 0;
    }
    
    .colon-2 {
        margin-top: 0;
    }
    
    .benefit-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 16px;
        border-radius: 16px;
    }
    
    .benefit-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .benefit-icon img {
        height: 40px;
        width: auto;
    }
    
    .benefit-card h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .benefit-card p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    /* ===== СЕКЦИЯ УСЛУГ ===== */
    .services {
        padding: 40px 0;
    }
    
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .service-card {
        padding: 24px 16px;
        border-radius: 20px;
    }
    
    .service-icon img {
        height: 65px;
        width: auto;
    }
    
    .service-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 12px;
    }
    
    .button-to-services {
        text-align: center;
    }
    
    .to-services {
        padding: 10px 24px;
        font-size: 14px;
        border-width: 1.5px;
    }
    
    .to-services a {
        font-size: 14px;
    }
    
    /* ===== СЛАЙДЕР ===== */
    .ours-works {
        padding: 40px 0;
    }
    
    .container-slyder {
        max-width: 100%;
    }
    
    .slider {
        border-radius: 16px;
    }
    
    .slide {
        height: 220px;
        object-fit: cover;
    }
    
    .prev, .next {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .prev {
        left: 8px;
    }
    
    .next {
        right: 8px;
    }
    
    /* ===== КАРТА ===== */
    .karta {
        padding: 40px 0;
    }
    
    .karta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        border-radius: 16px;
    }
    
    .karta-info {
        padding: 20px;
    }
    
    .info-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .info-item:last-child {
        margin-bottom: 0;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin: 0 auto;
    }
    
    .info-item h4 {
        font-size: 14px;
    }
    
    .info-item p {
        font-size: 12px;
    }
    
    .info-item a {
        font-size: 12px;
    }
    
    .karta-ssulka iframe {
        width: 100%;
        height: 280px;
        min-height: auto;
    }
    
    /* ===== ОТЗЫВЫ ===== */
    .under-our-works {
        padding: 40px 0;
    }
    
    .reviews-container {
        padding: 0;
    }
    
    .reviews-wrapper {
        border-radius: 16px;
    }
    
    .reviews-iframe {
        height: 420px;
    }
    
    .reviews-link {
        font-size: 8px;
        padding: 3px 0;
    }
    
    /* ===== ФУТЕР ===== */
    .footer-main {
        padding: 35px 0 16px;
    }
    
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-bottom: 25px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .footer-logo img {
        height: 32px;
    }
    
    .footer-logo h3 {
        font-size: 16px;
    }
    
    .footer-col p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-col ul li {
        margin-bottom: 8px;
    }
    
    .footer-col ul li a {
        font-size: 12px;
    }
    
    .footer-contacts li {
        justify-content: center;
        font-size: 12px;
        gap: 8px;
    }
    
    .footer-contacts li i {
        width: 18px;
        font-size: 12px;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .social-links a {
        width: 34px;
        height: 34px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 11px;
    }
    
    /* ===== МОДАЛЬНОЕ ОКНО ===== */
    .modal-content {
        width: 90%;
        padding: 20px;
        border-radius: 20px;
    }
    
    .modal-header {
        margin-bottom: 15px;
    }
    
    .modal-header i {
        font-size: 32px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .modal-content p {
        font-size: 13px;
    }
    
    .modal-contacts {
        gap: 10px;
        margin: 20px 0;
    }
    
    .modal-contacts a {
        padding: 10px;
        font-size: 13px;
    }
    
    .modal-address {
        padding-top: 15px;
        font-size: 12px;
    }
    
    .close {
        top: 12px;
        right: 16px;
        font-size: 24px;
    }
    
    /* ===== ТИПОГРАФИКА ===== */
    .section-header {
        margin-bottom: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .section-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .highlight {
        font-size: inherit;
    }
    
    /* ===== СТАРЫЙ HERO (если используется) ===== */
    .div-main {
        min-height: 500px;
        height: auto;
        padding: 80px 0;
    }
    
    .description {
        padding: 0 16px;
    }
    
    .doverte {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }
    
    .sertificir {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .tehnicheskoe {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .hero-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    /* ===== SCROLL MARGIN ===== */
    [id] {
        scroll-margin-top: 120px;
    }
    .benefit-card p {
        display: none;
    }
    .colon-1 {
        margin-bottom: 15px;
    }
}
/* ---------- ПЛАНШЕТЫ (451px - 900px) ---------- */
@media (min-width: 450px) and (max-width: 900px) {
    
    /* ===== КОНТЕЙНЕР ===== */
    .container {
        padding: 0 30px;
        max-width: 100%;
    }
    
    /* ===== HEADER ===== */
    .header1 {
        position: relative;
    }
    
    .header-line {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
    }
    
    .logo-full {
        gap: 10px;
    }
    
    .logo img {
        height: 40px;
        width: auto;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .number a {
        font-size: 18px;
    }
    
    .number a i {
        font-size: 14px;
    }
    
    /* Навигация скрыта (пока нет бургера) */
    .nav {
        display: none;
    }
    
    /* ===== HERO КАРТИНКА ===== */
    .main_div {
        margin-top: 0;
    }
    
    .main_div img {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 450px;
    }
    
    /* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ ===== */
    .why-me {
        padding: 50px 0;
    }
    
    .colon-1, .colon-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 0;
    }
    .colon-1 {
        margin-bottom: 20px;
    }
    
    .colon-2 {
        margin-top: 0;
    }
    
    .benefit-card {
        padding: 25px 18px;
        text-align: center;
        border-radius: 18px;
    }
    
    .benefit-icon {
        margin-bottom: 15px;
    }
    
    .benefit-icon img {
        height: 45px;
        width: auto;
    }
    
    .benefit-card h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .benefit-card p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* ===== СЕКЦИЯ УСЛУГ ===== */
    .services {
        padding: 0;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 35px;
    }
    
    .service-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .service-icon img {
        height: 80px;
        width: auto;
    }
    
    .service-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .button-to-services {
        text-align: center;
    }
    
    .to-services {
        padding: 10px 30px;
        font-size: 15px;
    }
    
    /* ===== СЛАЙДЕР ===== */
    .ours-works {
        padding: 50px 0;
    }
    
    .container-slyder {
        max-width: 100%;
        padding: 0;
    }
    
    .slider {
        border-radius: 18px;
    }
    
    .slide {
        height: 380px;
        object-fit: cover;
    }
    
    .prev, .next {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }
    
    /* ===== КАРТА ===== */
    .karta {
        padding: 50px 0;
    }
    
    .karta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 25px;
        border-radius: 20px;
    }
    
    .karta-info {
        padding: 25px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }
    
    .info-item {
        flex: 1;
        min-width: 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 0;
    }
    
    .info-item i {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin: 0;
    }
    
    .info-item h4 {
        font-size: 15px;
    }
    
    .info-item p {
        font-size: 13px;
    }
    
    .info-item a {
        font-size: 13px;
    }
    
    .karta-ssulka iframe {
        width: 100%;
        height: 350px;
        min-height: auto;
    }
    
    /* ===== ОТЗЫВЫ ===== */
    .under-our-works {
        padding: 50px 0;
    }
    
    .reviews-container {
        padding: 0;
    }
    
    .reviews-wrapper {
        max-width: 100%;
        border-radius: 18px;
    }
    
    .reviews-iframe {
        height: 500px;
    }
    
    /* ===== ФУТЕР ===== */
    .footer-main {
        padding: 45px 0 20px;
    }
    
     .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-col p {
        text-align: center;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-col ul {
        text-align: center;
    }
    
    .footer-col ul li {
        justify-content: center;
    }
    
    .footer-contacts li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        padding-top: 25px;
        font-size: 12px;
    }
    
    /* ===== МОДАЛЬНОЕ ОКНО ===== */
    .modal-content {
        width: 85%;
        max-width: 450px;
        padding: 25px;
    }
    
    .modal-header h3 {
        font-size: 22px;
    }
    
    .modal-header i {
        font-size: 36px;
    }
    
    .modal-contacts a {
        padding: 12px;
        font-size: 15px;
    }
    
    /* ===== ТИПОГРАФИКА ===== */
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .section-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }
    
    /* ===== СТАРЫЙ HERO (если используется) ===== */
    .div-main {
        min-height: 600px;
        height: auto;
    }
    
    .description {
        padding: 0 30px;
    }
    
    .doverte {
        font-size: 12px;
        letter-spacing: 4px;
    }
    
    .sertificir {
        font-size: 36px;
    }
    
    .tehnicheskoe {
        font-size: 14px;
    }
    
    .hero-btn {
        padding: 12px 32px;
        font-size: 15px;
    }
    
    /* ===== SCROLL MARGIN ===== */
    [id] {
        scroll-margin-top: 0px;
    }
}

/* ---------- ПЛАНШЕТЫ БОЛЬШИЕ (700px - 900px) ---------- */
@media (min-width: 701px) and (max-width: 900px) {
    
    /* Услуги - 3 колонки */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    /* Преимущества - 4 колонки */
    .colon-1, .colon-2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .benefit-card {
        padding: 20px 12px;
    }
    
    .benefit-icon img {
        height: 40px;
    }
    
    .benefit-card h4 {
        font-size: 14px;
    }
    
    .benefit-card p {
        font-size: 12px;
    }
    
    /* Карта - 3 колонки информации */
    .karta-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .info-item {
        min-width: auto;
    }
    
    /* Слайдер */
    .slide {
        height: 420px;
    }

}
/* ---------- НОУТБУКИ (901px - 1500px) ---------- */
@media (min-width: 901px) and (max-width: 1500px) {
    
    /* ===== КОНТЕЙНЕР ===== */
    .container {
        max-width: 1100px;
        padding: 0 40px;
    }
    
    /* ===== HEADER ===== */
    .brand-name {
        font-size: 26px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .number a {
        font-size: 24px;
    }
    
    .div-nav a {
        font-size: 18px;
    }
    
    .div-nav {
        padding: 12px 20px;
    }
    
    /* ===== HERO КАРТИНКА ===== */
    .main_div img {
        width: 100%;
        height: auto;
        max-height: 85vh;
        object-fit: cover;
    }
    
    /* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ ===== */
    .why-me {
        padding: 0;
    }
    
    .colon-1, .colon-2 {
        gap: 25px;
    }
    
    .benefit-card {
        padding: 28px 18px;
    }
    
    .benefit-icon img {
        height: 48px;
    }
    
    .benefit-card h4 {
        font-size: 17px;
    }
    
    .benefit-card p {
        font-size: 13px;
    }
    
    /* ===== СЕКЦИЯ УСЛУГ ===== */
    .services {
        padding: 70px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon img {
        height: 100px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 13px;
    }
    
    /* ===== СЛАЙДЕР ===== */
    .ours-works {
        padding: 70px 0;
    }
    
    .slide {
        height: 450px;
    }
    
    /* ===== КАРТА ===== */
    .karta {
        padding: 70px 0;
    }
    
    .karta-wrapper {
        gap: 30px;
    }
    
    .karta-info {
        padding: 35px;
    }
    
    .info-item {
        gap: 15px;
    }
    
    /* ===== ОТЗЫВЫ ===== */
    .under-our-works {
        padding: 70px 0;
    }
    
    .reviews-wrapper {
        max-width: 750px;
    }
    
    .reviews-iframe {
        height: 550px;
    }
    
    /* ===== ФУТЕР ===== */
    .footer-main {
        padding: 50px 0 25px;
    }
    
    .footer-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 35px;
    }
    
    .footer-col {
        flex: 1;
        min-width: 180px;
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-col p {
        text-align: left;
    }
    
    .footer-col h4 {
        text-align: left;
    }
    
    .footer-col ul {
        text-align: left;
    }
    
    .footer-contacts li {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    /* ===== ТИПОГРАФИКА ===== */
    .section-header {
        margin-bottom: 45px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    /* ===== SCROLL MARGIN ===== */
    [id] {
        scroll-margin-top: 130px;
    }
    .main_div {
        min-height: 400px;
    }
}