/* === BASE === */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #111;
    background: #fff;
}

/* === HEADER === */
header {
    background: #000;
    color: white;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #bbb;
    margin-left: 25px;
    font-size: 14px;
    text-decoration: none;
}

nav a:hover {
    color: white;
}

/* === BANNER === */
.banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* === BREADCRUMBS === */
.top-bar {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}

.breadcrumbs {
    font-size: 14px;
    color: #999;
}

.breadcrumbs a {
    color: #d10000;
    text-decoration: none;
}

.breadcrumbs span {
    color: #555;
}

/* === WRAPPER === */
.about-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* === TITLE (как ITC) === */
.about-title {
    font-size: 42px;
    margin-bottom: 30px;
    margin-top: 0;
    font-weight: 600;
}

/* === ABOUT SECTION === */
.about-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* текст */
.about-text {
    flex: 1;
}

.about-text h4 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #333;
}

/* картинка */
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* === SECOND BLOCK (reverse) === */
.about-section.reverse {
    flex-direction: row;
}

/* === DIVIDER === */
.divider {
    max-width: 1200px;
    margin: 40px auto;
    height: 1px;
    background: #e5e5e5;
}

/* === FOOTER === */
footer {
    background: #000;
    color: #aaa;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }
}

/* фикс для второго блока */
.about-section.reverse {
    align-items: flex-start;
}

/* убираем лишний верхний отступ у первого параграфа */
.about-section.reverse .about-text p:first-child {
    margin-top: 0;
}

/* === FOOTER === */
.footer {
    background: #000;
    color: #ccc;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

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

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

.footer-col a {
    color: #aaa;
    text-decoration: none;
}

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

/* соцсети */
.socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.socials a {
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
}

.socials a:hover {
    color: #fff;
}

/* нижняя часть */
.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #222;
    font-size: 13px;
    color: #777;
}

/* адаптив */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* === CATALOGS === */
.catalogs {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.catalog-title {
    font-size: 32px;
    margin-bottom: 30px;
}

/* сетка */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* карточка */
.catalog-card {
    text-align: center;
}

/* изображение каталога (точный размер) */
.catalog-card img {
    width: 219px;
    height: 296px;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px;
}

/* кнопка */
.download-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.download-btn:hover {
    background: #333;
}

/* адаптив */
@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* === CONTACTS === */
.contacts {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contacts-title {
    font-size: 36px;
    margin-bottom: 30px;
}

/* сетка */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* инфо */
.contacts-info p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

/* форма */
.contacts-form input,
.contacts-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
}

.contacts-form button {
    background: #000;
    color: #fff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}

.contacts-form button:hover {
    background: #333;
}

/* адаптив */
@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}