/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background: #111;
    color: #fff;
    padding-top: 90px;
    overflow-x: hidden;
}


/* =========================
   CONTAINER (32 / 24 / 16)
========================= */
.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;   /* стандарт для десктопа */
    width: auto;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(17,17,17,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
	
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header.scrolled {
    background: rgba(0,0,0,0.95);
}

.header-inner {
	position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 80px;      /* фиксируем высоту */
   padding: 0 32px;      /* убираем старый padding */
	
}
.logo {
	flex: 1;
    font-weight: 700;
    font-size: 22px;
    color: #cc731c;
}


/* =========================
   NAV
========================= */

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 28px;
	color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav a {
    white-space: nowrap;
    font-weight: 500;
    transition: 0.3s;
	color: #fff;
    text-decoration: none;
}

.nav a:hover {
    color: #cc731c;
}


/* =========================
   HEADER CONTACTS
========================= */

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.header-contacts a:hover {
    color: #cc731c;
}
.header-contacts i {
    font-size: 18px;
    color: #cc731c;
}

.telegram i {
    font-size: 22px;
}

.telegram:hover i {
    color: #229ED9;
}


/* =========================
   LANGUAGE SWITCH
========================= */

.lang-switch {
    display: flex;
    gap: 8px;
}

.lang-switch button {
    background: none;
    border: 1px solid #cc731c;
    color: #cc731c;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.lang-switch button.active,
.lang-switch button:hover {
    background: #cc731c;
    color: #fff;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
        url('../assets/images/hero.webp') center/cover no-repeat;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #bfbfbf;
    margin-bottom: 30px;
}

.hero-phone {
    margin-top: 20px;
}

.hero-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

.hero-phone a:hover {
    color: #cc731c;
}

.hero-phone i {
    font-size: 20px;
    color: #cc731c;
}


/* =========================
   BUTTON
========================= */

.btn {
    background: #cc731c;
    color: #fff;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(204,115,28,0.6);
}


/* =========================
   SECTION SPACING
========================= */

section {
    padding: 120px 0;
}


/* =========================
   TITLES
========================= */

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 24px;
    color: #cc731c;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
    color: #bfbfbf;
}


/* =========================
   GRIDS
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}


/* =========================
   ICON FIXES
========================= */

.benefit-item i {
    font-size: 36px;
    color: #cc731c;
    margin-bottom: 20px;
    display: inline-block;
}

.adv-icon i {
    font-size: 30px;
    color: #cc731c;
}

.process-item h3 {
    font-size: 42px;
    font-weight: 700;
    color: #cc731c;
    margin-bottom: 15px;
}


/* =========================
   ADVANTAGE NUMBERS
========================= */

.adv-item h3 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.adv-item h3 span {
    color: #cc731c;
}

.adv-item p {
    color: #bfbfbf;
}


/* =========================
   CARDS
========================= */

.service-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #cc731c;
}


/* =========================
   ANIMATION
========================= */

.hidden {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}


.mobile-contacts {
    display: none;
    margin-top: 40px;
    padding: 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.mobile-contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 16px;
}

.mobile-contacts i {
    color: #cc731c;
    font-size: 18px;
}

/* =========================
   BURGER
========================= */

.burger {
	margin-left: 15px;
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}



/* =========================
   CONTACT CTA FIX
========================= */

.contact-cta {
    padding: 140px 0;
    background: #111;
    text-align: center;
}

.contact-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-cta p {
    font-size: 18px;
    color: #bfbfbf;
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
}


.about-image {
    position: relative;
    width: 100%;
    height: 420px; /* фиксированная высота для красоты */
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* обрезает красиво */
    transition: 0.6s ease;
}

/* лёгкий premium эффект */
.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.4)
    );
}

.about-image:hover img {
    transform: scale(1.05);
}
/* =========================
   RESPONSIVE
========================= */
.about-text p {
	padding-bottom: 24px;
}

.page-hero {
    padding: 160px 0 100px;
    text-align: center;
    background: #111;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #cc731c;
}

.page-hero p {
    color: #bfbfbf;
    font-size: 18px;
}

.services-detailed {
    padding: 100px 0;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse .service-text {
    direction: ltr;
}

.service-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-text p {
    color: #bfbfbf;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-text ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-text li {
    margin-bottom: 10px;
}

.service-image {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    padding: 120px 0;
    background: #111;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.contact-item i {
    font-size: 32px;
    color: #cc731c;
    margin-bottom: 15px;
}

.contact-item h3 {
    margin-bottom: 10px;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
}

.contact-item a:hover {
    color: #cc731c;
}

.contact-item p {
    color: #bfbfbf;
}

.map-section {
    padding: 120px 0;
    background: #1a1a1a;
}

.map-container {
    margin-top: 40px;
    height: 450px;
    background: #222;
    border-radius: 20px;
    overflow: hidden;
}


@media (max-width: 1024px) {
	.contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	.service-block {
        grid-template-columns: 1fr;
    }

    .service-block.reverse {
        direction: ltr;
    }
	
	 .header-contacts {
        display: none;
    }
.mobile-contacts {
        display: block;
    }
    /* скрываем обычную навигацию */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 260px;
        height: 100vh;
        background: #111;
        display: flex;
        flex-direction: column;
        padding: 120px 24px 40px;
        gap: 20px;
        transition: 0.4s ease;
    }

    .nav.active {
        right: 0;
    }

    /* показываем бургер */
    .burger {
        display: flex;
    }

    /* выравниваем header */
    .header-inner {
        justify-content: space-between;
    }

    .container {
        padding: 0 24px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
	.service-image {
        order: -1;
    }
}

@media (max-width: 768px) {
	.contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
 
    .container {
        padding: 0 16px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;              /* ВАЖНО */
        transform: none;         /* ВАЖНО */
        width: 260px;
        height: 100vh;
        background: #111;
        display: flex;
        flex-direction: column;
        padding: 120px 24px 40px;
        gap: 20px;
        transition: 0.4s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 18px;
    }
    .services-grid,
    .process-grid,
    .benefits-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .burger {
        display: flex;
    }

    .header-contacts {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

}