body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fa;
}
body {
    overflow-x: hidden;
    background: #f5f7fa;
}
/* HEADER (glass) */
header {
    position: fixed;
    width: 100%;
    top: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px; /* уменьшили */
    box-sizing: border-box; /* важно! */

    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);

    z-index: 1000;
}

.logo {
    height: 50px;
    flex-shrink: 0;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 15px;

    flex-wrap: wrap; /* чтобы не обрезалось */
    justify-content: flex-end;

    max-width: 70%; /* ограничение */
}
.top-info span {
    white-space: nowrap;
    font-size: 14px;
}
.socials a {
    text-decoration: none;
    color: #191010;
    font-weight: 500;
}

/* HERO */
.hero {
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 80px;
    margin: 0;
    letter-spacing: 3px;
}

.hero h2 {
    font-size: 22px;
    max-width: 800px;
    margin-top: 20px;
}

/* NAV */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
    margin-bottom: 20px;

    padding: 0 20px;
}

nav button {
    padding: 16px 32px;

    border: none;
    border-radius: 16px;

    background: white;

    color: #222;

    font-size: 17px;
    font-weight: 700; /* жирный текст */

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0,0,0,0.12);

    transition: 0.3s;
}

nav button:hover {
    transform: translateY(-3px);

    background: #e91e63;
    color: white;

    box-shadow: 0 10px 25px rgba(233,30,99,0.3);
}

/* SECTIONS */
.section {
    display: none;
    padding: 80px 20px;
    text-align: center;
}

.section h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* CARD GRID */
.grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* CARD */
.card {
    background: white;
    width: 250px;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h4 {
    margin: 10px 0 5px;
}

/* SERVICES */
.service {
    background: white;

    margin: 20px auto;
    padding: 22px 28px;

    width: 340px;

    border-radius: 22px;

    cursor: pointer;

    font-size: 18px;
    font-weight: 700;

    color: #222;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.35s;

    text-align: left;
}

.service:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(0,0,0,0.15);

    background: #fdf2f7;
}

.service-info {
    display: none;

    margin-top: 15px;

    font-size: 15px;
    font-weight: 400;

    color: #666;

    line-height: 1.6;
}

/* CONTAINER */
.equipment-container {
    display: block;

    width: 100%;
}

/* CARD */
.equipment {
    background: white;

    margin: 30px auto;
    padding: 22px;

    width: 360px;

    border-radius: 22px;

    cursor: pointer;

    font-size: 18px;
    font-weight: 700;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.35s;
}

/* HOVER */
.equipment:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(0,0,0,0.15);

    background: #f5f9ff;
}

/* IMAGE */
.equipment-info img {
    width: 100%;

    border-radius: 16px;

    margin-top: 15px;
}

/* TITLE */
.equipment h3 {
    font-size: 24px;

    padding: 20px 25px 10px;

    color: #222;
}

/* SHORT */
.short-text {
    padding: 0 25px;

    color: #666;

    line-height: 1.7;
}

/* BUTTON */
.more-btn {
    margin: 20px 25px 0;

    padding: 12px 22px;

    border: none;

    border-radius: 14px;

    background: #111;

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.more-btn:hover {
    background: #e91e63;
}

/* HIDDEN INFO */
.equipment-info {
    display: none;
    margin-top: 10px;
    text-align: left;
}

.equipment-info p {
    font-weight: 400;

    font-size: 16px;

    line-height: 1.8;

    color: #555;
}

.equipment-info img {
    width: 100%;
    border-radius: 10px;
}

/* FOOTER */
footer {
    background: #558153;
    color: white;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-info {
        justify-content: flex-start;
        max-width: 100%;
        margin-top: 5px;
    }
}
/* VIDEO BACKGROUND */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    z-index: -2;
}

/* затемнение для читаемости */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

/* HERO */
.hero {
    margin-top: 110px;


    display: flex;
    justify-content: center;

    padding: 0 30px;

    box-sizing: border-box;
}

/* FULLSCREEN CARD */
.slider-card {
    position: relative;

    width: 92%;
    max-width: 1500px;

    margin: 0 auto;

    border-radius: 30px;

    overflow: hidden;

    background: white;

    box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    aspect-ratio: 16 / 9; /* подстраивается под фото */
}

/* SLIDES */
.slide {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: contain; /* показывает фото полностью */

    background: white;

    opacity: 0;

    transition: opacity 1s ease;

    top: 0;
    left: 0;
}

/* ACTIVE */
.slide.active {
    opacity: 1;
}

/* СТРЕЛКИ */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 65px;
    height: 65px;

    border-radius: 50%;
    border: none;

    background: rgba(255,255,255,0.85);

    font-size: 32px;

    cursor: pointer;

    z-index: 10;

    transition: 0.3s;

    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

/* LEFT */
.prev {
    left: 25px;
}

/* RIGHT */
.next {
    right: 25px;
}
.socials a {
    text-decoration: none;
    color: #3a3939;
    margin: 0 8px;
    font-weight: 500;

    transition: 0.3s;
}

.socials a:hover {
    color: #e91e63;
}

/* КАРТОЧКА СПЕЦИАЛИСТА */
.specialist-card {
    width: 420px;

    border-radius: 28px;

    overflow: hidden;

    background: white;

    box-shadow: 0 15px 40px rgba(0,0,0,0.12);

    transition: 0.4s;

    margin: 20px;
}

/* HOVER */
.specialist-card:hover {
    transform: translateY(-8px);
}

/* ФОТО */
.specialist-card img {
    width: 100%;

    height: 650px;

    object-fit: cover;

    object-position: top; /* показывает верх с логотипом DDS */

    display: block;
}

/* ABOUT SECTION */
.about-section {
    padding: 100px 20px;

    display: flex;
    justify-content: center;
}

/* CONTAINER */
.about-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    text-align: center;
}

/* MINI TITLE */
.about-mini-title {
    display: inline-block;

    font-size: 14px;

    letter-spacing: 3px;

    color: #c59b5f;

    font-weight: 700;

    margin-bottom: 15px;
}

/* TITLE */
.about-container h2 {
    font-size: 54px;

    margin-bottom: 40px;

    color: #222;
}

/* TEXT CARD */
.about-right {
    background: white;

    padding: 60px;

    border-radius: 35px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    text-align: left;

    width: 100%;
    max-width: 950px;

    margin: 0 auto; /* ЦЕНТРИРУЕТ */
}

/* PARAGRAPHS */
.about-right p {
    font-size: 19px;

    line-height: 2;

    color: #555;

    margin-bottom: 30px;
}
/* =========================
   MOBILE PREMIUM VERSION
========================= */

@media (max-width: 768px) {

    /* MOBILE HEADER */
header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 8px 14px;

    background: rgba(255,255,255,0.55);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    z-index: 1000;

    box-sizing: border-box;
}

/* LOGO */
.logo {
    height: 62px;

    width: auto;

    margin: 0;

    display: block;
}

/* RIGHT SIDE */
.top-info {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 10px;

    font-size: 12px;

    text-align: right;
}

/* SOCIAL ICONS */
.top-info a {
    text-decoration: none;

    color: #222;

    font-weight: 500;
}

.hero {
    margin-top: 95px;
}

    /* SECTION CONTENT */
.section {
    padding-left: 18px;
    padding-right: 18px;

    text-align: center;
}

/* CARDS */
.service,
.equipment,
.specialist-card,
.about-right {
    margin-left: auto;
    margin-right: auto;
}

/* TEXT */
.service-info,
.equipment-info,
.about-right p {
    text-align: left;
}

    /* ABOUT TITLE MOBILE */
.about-container h2 {
    font-size: 30px;
}

    body {
        overflow-x: hidden;
    }

    /* HEADER */
    header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 14px 18px;

    display: flex;

    flex-direction: column;

    align-items: flex-start; /* СЛЕВА */

    gap: 12px;

    background: rgba(255,255,255,0.96);

    backdrop-filter: blur(10px);

    z-index: 1000;

    box-sizing: border-box;

        padding-top: 10px;
}

    /* LOGO */
    .logo {
    height: 90px;

    width: auto;

    object-fit: contain;
}

    /* TOP INFO */
    .top-info {
    width: 100%;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: flex-start; /* СЛЕВА */

    gap: 10px;

    text-align: left;
}

    .top-info span,
    .top-info a {
        font-size: 13px;
    }

    /* NAVIGATION */
    nav {
        margin-top: 25px;

        padding: 0 12px;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    nav button {
        width: 100%;

        padding: 14px 10px;

        font-size: 14px;

        font-weight: 700;

        border-radius: 16px;
    }

    /* HERO */
    .hero {
    margin-top: 140px;

    padding: 0 12px;

    display: flex;
    justify-content: center;
}

    /* SLIDER */
    .slider-card {
    width: 100%;

    aspect-ratio: 4 / 5;

    border-radius: 24px;

    overflow: hidden;
}

    .slide {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;
}

    /* SLIDER ARROWS */
    .arrow {
        width: 42px;
        height: 42px;

        font-size: 22px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    /* SECTIONS */
    .section {
        padding: 50px 15px;
    }

    .section h3 {
        font-size: 28px;

        margin-bottom: 25px;
    }

    /* GRID */
    .grid {
        flex-direction: column;

        align-items: center;
    }

    /* SPECIALISTS */
    .specialist-card {
        width: 100%;
        max-width: 340px;

        border-radius: 24px;
    }

    .specialist-card img {
        width: 100%;

        height: 520px;

        object-fit: cover;

        object-position: center top;
    }

    /* SERVICES */
    .service {
        width: 100%;
        max-width: 340px;

        padding: 20px;

        font-size: 16px;

        border-radius: 20px;
    }

    .service-info {
        font-size: 14px;

        line-height: 1.6;
    }

    /* EQUIPMENT */
    .equipment {
        width: 100%;
        max-width: 340px;

        padding: 20px;

        border-radius: 20px;

        font-size: 16px;
    }

    .equipment-info img {
        border-radius: 16px;
    }

    /* EQUIPMENT PAGE */
    .equipment-page {
        padding: 140px 20px 60px 20px;

        gap: 30px;
    }

    .equipment-page img {
        width: 100%;

        border-radius: 24px;
    }

    .equipment-text h1 {
        font-size: 34px;

        text-align: center;
    }

    .equipment-text p,
    .equipment-text li {
        font-size: 16px;
    }

    /* FOOTER */
    footer {
        padding: 30px 20px;

        text-align: center;
    }

    footer .socials {
        margin-top: 15px;
    }

    footer .socials a {
        display: inline-block;

        margin: 5px 8px;
    }
}

/* ABOUT SECTION */
.about-section {
    padding: 100px 40px;

    display: flex;
    justify-content: center;
}

/* CONTAINER */
.about-container {
    width: 100%;
    max-width: 1400px;

    display: grid;
    grid-template-columns: 1fr 2fr;

    gap: 70px;

    align-items: start;
}

/* LEFT SIDE */
.about-left {
    position: sticky;
    top: 120px;
}

.about-mini-title {
    font-size: 14px;

    letter-spacing: 3px;

    color: #c59b5f;

    font-weight: 700;
}

.about-left h2 {
    font-size: 52px;

    margin-top: 15px;

    line-height: 1.1;

    color: #222;
}

/* RIGHT SIDE */
.about-right {
    background: white;

    padding: 50px;

    border-radius: 30px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.about-right p {
    font-size: 18px;

    line-height: 2;

    color: #555;

    margin-bottom: 30px;
}
.about-container {
    grid-template-columns: 1fr;

    gap: 30px;
}

.about-left {
    position: static;
}

.about-left h2 {
    font-size: 38px;
}

.about-right {
    padding: 30px 22px;
}

.about-right p {
    font-size: 16px;

    line-height: 1.8;
}

/* ABOUT SECTION FIX */
.about-container {
    width: 100%;

    padding: 0 10px;

    margin: 0 auto;

    box-sizing: border-box;
}

.about-right {
    width: 100%;

    max-width: 95%;

    margin: 0 auto;

    padding: 30px 24px;

    box-sizing: border-box;

    border-radius: 24px;
}

/* SMALL TAP TEXT */
.tap-text {
    display: block;

    margin-top: 8px;

    font-size: 13px;

    font-style: italic;

    font-weight: 400;

    color: #888;
}

/* CONTACT INFO */
.contact-info {
    background: white;

    padding: 40px;

    border-radius: 30px;

    box-shadow: 0 10px 35px rgba(0,0,0,0.08);

    max-width: 700px;

    margin: 0 auto;

    text-align: left;
}

.contact-info h3 {
    font-size: 34px;

    margin-bottom: 25px;

    color: #222;

    text-align: center;
}

.contact-info p {
    font-size: 17px;

    line-height: 1.9;

    color: #555;

    margin-bottom: 18px;

    text-align: left;

    padding-left: 8px;
}

/* SOCIALS */
.contact-socials {
    margin-top: 25px;

    width: 100%;

    display: flex;

    flex-wrap: wrap;

    justify-content: flex-start;

    align-items: center;

    gap: 15px;

    box-sizing: border-box;
}

.contact-socials a {
    text-decoration: none;

    background: #f5f5f5;

    padding: 12px 20px;

    border-radius: 14px;

    color: #222;

    font-weight: 600;

    transition: 0.3s;
}

.contact-socials a:hover {
    background: #e91e63;

    color: white;
}

.social-title {
    text-align: center;
    margin-top: 25px;

    margin-bottom: 15px;

    font-size: 18px;

    color: #222;
}

/* FOOTER SECTION */
.footer-section {
    margin: 20px;
}

.footer-section h4 {
    font-size: 20px;

    margin-bottom: 15px;

    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.8);

    line-height: 1.8;

    font-size: 15px;
}

/* FORCE LEFT CONTACT CONTENT */
.contact-info * {
    text-align: left;
}

.contact-socials {
    display: block;
}

.contact-socials a {
    display: inline-block;

    margin-right: 12px;

    margin-top: 10px;
}

/* ONLY TITLE CENTER */
.contact-info h3 {
    text-align: center;
}

/* FOOTER */
footer {
    background: #558153;

    padding: 60px 30px;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 70px;
}

/* BLOCK */
.footer-block {
    min-width: 220px;
}

/* TITLES */
.footer-block h4 {
    color: white;

    margin-bottom: 20px;

    font-size: 22px;
}

/* TEXT */
.footer-block p,
.footer-block a {
    display: block;

    color: rgba(255,255,255,0.8);

    text-decoration: none;

    margin-bottom: 12px;

    line-height: 1.7;

    transition: 0.3s;
}

/* HOVER */
.footer-block a:hover {
    color: #e91e63;
}

/* FOOTER BOTTOM */
.footer-bottom {
    width: 100%;

    margin-top: 40px;

    text-align: right;

    color: rgba(255,255,255,0.5);

    font-size: 14px;

    font-style: italic;
}

@media (max-width: 768px) {

    header {
        position: fixed !important;

        top: 0 !important;
        left: 0 !important;

        width: 100% !important;

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        justify-content: space-between !important;

        padding: 8px 14px !important;

        background: rgba(255,255,255,0.55) !important;

        backdrop-filter: blur(12px) !important;

        -webkit-backdrop-filter: blur(12px) !important;

        box-sizing: border-box !important;

        z-index: 9999 !important;
    }

    .logo {
        height: 78px !important;

        width: auto !important;

        margin: 0 !important;

        display: block !important;
    }

    .top-info {
        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        justify-content: flex-end !important;

        flex-wrap: wrap !important;

        gap: 10px !important;

        font-size: 11px !important;

        text-align: right !important;
    }

    .hero {
        margin-top: 95px !important;
    }

}

.phone-link {
    text-decoration: none;

    color: #191010;

    display: block;

    margin-bottom: 14px;

    transition: 0.3s;
}

.phone-link:hover {
    color: #e91e63;
}