:root {
    --bg: #151515;
    --card: #1b1b1d;
    --muted: #9aa0a6;
    --accent: #f9b233; /* yellow/orange */
    --white: #ffffff;
    --radius: 12px;
    --max-width: 1160px;
    --gap: 20px;
}

* {
    box-sizing: border-box;
}
html,
body {
    height: auto;
}

body { 
    margin: 0;
    font-family:
        Roboto,
        system-ui,
        -apple-system,
        "Segoe UI",
        "Helvetica Neue",
        Arial;
    background: linear-gradient(180deg, var(--bg) 0%, #0e0e10 60%);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
}

/* === MONTSERRAT 600 === */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/Montserrat/montserrat-v31-cyrillic-600.woff2') format('woff2');
    font-display: swap;
}

/* === MONTSERRAT 700 === */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/Montserrat/montserrat-v31-cyrillic-700.woff2') format('woff2');
    font-display: swap;
}

/* === ROBOTO 500 === */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/Roboto/roboto-v49-cyrillic-500.woff2') format('woff2');
    font-display: swap;
}


a {
    color: inherit;
    text-decoration: none;
}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img {
    height: 60px;
    width: 60px;
    border-radius: 5px;
}
.logo .text {
    font-family: Montserrat;
    letter-spacing: 0.4px;
}
nav {
    display: flex;
    gap: 18px;
    align-items: center;
}
nav a {
    padding: 10px 8px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 15px;
}
nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
}

.contact-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--accent);
    color: #111;
    font-weight: 600;
    font-family: Montserrat;
}
.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--white);
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 40px;
    align-items: top;
    padding: 48px 0;
}
.hero-left {
    padding-top: 20px;
}
.eyebrow {
    color: var(--accent);
    font-weight: 600;
    font-family: Montserrat;
    margin-bottom: 12px;
}
h1 {
    font-family: Montserrat;
    font-size: 46px;
    line-height: 1.02;
    margin: 0 0 18px;
}
.ctas {
    display: flex;
    gap: 14px;
}

.hero-right .tank-card {
    background: var(--card-bg);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    transform: rotate(3deg);
    transition: var(--transition);
}

.hero-right .tank-card:hover {
    transform: rotate(0deg) scale(1.1);
}

.tank-card .image {
    width: 100%;
    height: 350px;
    background-image: url("index_img/1.webp");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.about {
    color: #f2f2f2;
    line-height: 1.6;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

.about__title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.about__title span {
    color: #f9b234;
}

.about__content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about__content ul {
    list-style: none;
    margin: 1rem 0 2rem;
    padding: 0;
}

.about__content li {
    background-color: #1c1c1c;
    margin-bottom: 0.6rem;
    padding: 0.8rem 1rem;
    border-left: 4px solid #f9b234;
    border-radius: 8px;
    transition: background 0.3s;
}

.about__content li:hover {
    background-color: #242424;
}

/* SERVICES */
.section {
    margin-top: 48px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}
.card {
    background: var(--card);
    border-radius: 12px;
    padding: 18px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card h3 {
    margin: 0;
    font-family: Montserrat;
    font-size: 16px;
}
.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* WHY CHOOSE */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.feature {
    background: transparent;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature .icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--accent), #ff9f1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-weight: 700;
}
.feature p {
    margin: 0;
    font-weight: 600;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
    width: 100%;
    height: 100;
}
.gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
.gallery img:hover {
    transform: scale(3.05);
    filter: brightness(80%); /* лёгкое затемнение */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
/* CONTACT */
.contact-block {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    margin-top: 36px;
}
.contact-block1 {
    display: grid;
    gap: 24px;
    margin-top: 36px;
}
form {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    font-family: Montserrat;
}
form .row {
   
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
form input,
form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: var(--white);
}
form button {
    margin-top: 8px;
}

footer {
    margin-top: 40px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === ГАЛЕРЕЯ === */
.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* === ЛАЙТБОКС === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
    height: 100;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    transition:
        transform 0.3s ease-in-out,
        opacity 0.3s;
}

/* === КНОПКИ === */
.lightbox .close,
.lightbox .prev,
.lightbox .next {
    position: absolute;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover {
    color: #f9b233;
}

.lightbox .close {
    top: 20px;
    right: 35px;
}

.lightbox .prev,
.lightbox .next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    padding: 10px;
}

.lightbox .prev {
    left: 40px;
}
.lightbox .next {
    right: 40px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Responsive */
@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-right {
        order: 2;
    }
    .card {
        min-height: 100px;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
    .contact-block {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 520px) {
    h1 {
        font-size: 32px;
    }
    .logo .mark {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    nav {
        display: none;
    }
    .contact-actions .btn {
        padding: 8px 12px;
    }
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 24px;
    width: 90vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -45vw;
    margin-right: -45vw;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 15px;
    padding: 14px;
    text-align: center;
    transition: bottom 0.4s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item:hover .work-overlay {
    bottom: 0;
}

/* === МОДАЛКА === */
/* === Модалка #workModal === */
.work-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.work-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 95vw; 

}

.modal-left {
    flex: 1 1 60%;
    background: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-left img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.modal-right {
    color: #000000;
 flex: 1 1 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;

}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 5;
}

.prev {
    left: 10px;
}
.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    color: #ffb400;
}

.services {
    color: #fff;
    padding: 20px 20px;
    font-family: "Inter", sans-serif;
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: 1px;
}





.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.btn {
    background: #ffb400;
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #ffcc33;
}


@media (max-width: 900px) {
    .contacts-grid {
        flex-direction: column;
    }
}

.interp  {
border:1px solid #ccc;
padding:1px;   
}
textarea {
font-family: Montserrat;
}
input {
    font-family: Montserrat;
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
