.about-company .about-banner {
    /* Єдиний контейнер для заголовка та опису з текстурою */
    background: linear-gradient(rgba(34,34,34,0.78), rgba(34,34,34,0.78)), url('../image/herringbone.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    margin: 0;
    color: #eef2f3;
}

.about-company .section-header {
    /* Заголовок всередині банера */
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    color: #eef2f3;
}
@import url('fonts.css');

/* Загальні стилі */
:root {
    --primary-color: #219653;
    --secondary-color: #b59a3a;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    position: relative;
    padding-bottom: 60px; /* Висота футера */
    display: flex;
    flex-direction: column;
    color: var(--text-color);
}

body.home header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Increased z-index */
    background-color: rgba(51, 51, 51, 0.3) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 2.2rem 0 2.2rem 0;
    min-height: 90px;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}

body.home main {
    padding-top: 0; /* Removed padding-top for hero section */
    position: relative;
    z-index: 1;
}

body.services header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(51, 51, 51, 0.3) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 2.2rem 0 2.2rem 0;
    min-height: 90px;
    transition: all 0.3s ease !important;
    transform: translateY(0);
    opacity: 1 !important;
}

body.services main {
    margin-top: 0 !important;
}

body.services footer {
    position: static;
}

body.services .hero {
    margin-top: 0 !important;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 0, 0, 0.1) !important; /* ЧЕРВОНИЙ ФОН З 90% ПРОЗОРОСТІ */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 2.2rem 0 2.2rem 0;
    min-height: 90px;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: translateY(0);
    opacity: 1 !important;
}

/* Додаткові стани для анімації шапки */
header.scrolled {
    background-color: rgba(255, 0, 0, 0.1) !important; /* ЧЕРВОНИЙ ФОН З 90% ПРОЗОРОСТІ */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

header.hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    filter: blur(5px) !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transition: all 0.1s ease-out !important;
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
}

nav ul li a:hover {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700;
}

.logo {
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

main {
    margin-left: 0;
    width: 100%;
    padding-top: 0; /* Removed padding-top for hero section */
}

/* Якщо є меню сторінки, додаємо відступ */
.product-sticky-menu ~ main {
    margin-left: 170px;
    width: calc(100% - 170px);
}

@media (max-width: 768px) {
    header {
        width: 100%;
        height: auto;
        background-color: rgba(51, 51, 51, 0.1);
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }
    
    nav ul li {
        width: auto;
    }
    
    main {
        margin-left: 0;
        width: 100%;
    }
    
    .logo {
        margin-bottom: 1rem;
        text-align: center;
    }
}

/* Адаптивний відступ під висоту шапки */
@media (max-width: 992px) {
    .hero-content {
        padding-top: 11.7rem;
    }
    
    .hero {
        background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../image/baner/12.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding-top: 9.7rem;
    }
    
    .hero {
        background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../image/baner/12.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}

.cart-icon {
    margin-left: auto;
    position: relative;
}

.cart-link {
    display: flex;
    align-items: center;
    font-size: 2.4rem;
}

.cart-count {
    position: absolute;
    top: -12px;
    right: -16px;
}

.graphite-footer {
    background: #222831;
    color: #fff;
    width: 100%;
    height: 1.5cm;
    min-height: 1.5cm;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    letter-spacing: 0.03em;
    box-shadow: 0 -2px 12px rgba(34,34,34,0.08);
    margin-top: 2em;
}

/* Про компанію (Банер 2) */
.about-company {
    /* Банер 2 (Про компанію) - тільки заголовок, опис та соцмережі */
    background: none;
    padding: 0 0 40px 0; /* зверху 0 — впритик до банера 1 */
    margin-top: 0;
    color: inherit;
}

.about-company .about-description {
    /* Опис компанії всередині єдиного банера */
    background: none; /* фон вже є в .about-banner */
    color: #ecf0f1;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin: 0;
}

.about-company .about-description p {
    color: #e7ecef !important;
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    letter-spacing: 0.005em !important;
    text-align: center !important;
    max-width: 980px !important;
    margin: 0 auto !important;
}

/* Стилі логотипу в заголовку секції як у шапці */
.about-company .section-header h2 {
    color: #fff;
    text-shadow: 0 4px 18px #222, 0 1px 2px #000;
}
.about-company .section-header h2 .eco {
    color: #21c653;
    font-weight: 800;
    text-shadow: 0 2px 10px #222, 0 1px 2px #000;
}
.about-company .section-header h2 .bruk {
    color: #ffd700;
    font-weight: 800;
    margin-left: 2px;
    text-shadow: 0 2px 10px #fff, 0 1px 2px #000;
}

.about-company .social-links {
    margin-top: 20px !important;
    display: flex !important;
    gap: 16px !important;
    justify-content: center !important;
    background: none !important; /* фон вже є в .about-banner */
    padding: 0 !important;
    border-radius: 0 !important;
}

.about-company .social-link {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(33, 150, 83, 0.14) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.about-company .social-link i {
    color: inherit !important;
}

.about-company .social-link:hover {
    transform: translateY(-2px) !important;
    background: rgba(33, 150, 83, 0.22) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
}

/* Банер 3 (Досвід, Якість, Гарантія, Комплексний підхід) — тільки на головній в секції Про компанію */
.about-company .advantages {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
    margin-top: 30px !important;
    padding: 0 15px !important;
}

@media (max-width: 992px) {
    .about-company .advantages {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 0 10px !important;
    }
}

@media (max-width: 600px) {
    .about-company .advantages {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 0 8px !important;
    }
}

.about-company .advantage-item {
    background: #ffffff !important;
    color: #333333 !important;
    border-radius: 12px !important;
    padding: 28px 22px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-align: center !important;
    width: auto !important;
    max-width: none !important;
}

.about-company .advantage-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 32px rgba(0,0,0,0.12) !important;
}

.about-company .advantage-icon {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: rgba(76, 175, 80, 0.16) !important; /* світло-зелений кружок */
    color: #1B5E20 !important; /* темно-зелена іконка */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem !important;
    margin-bottom: 14px !important;
}

.about-company .advantage-item h3 {
    font-size: 1.25rem !important;
    color: #222222 !important;
    margin: 0 0 10px 0 !important;
    font-weight: 700 !important;
}

.about-company .advantage-item p {
    color: #5f6b75 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    font-size: 0.98rem !important;
}
.graphite-footer .footer-content {
    width: 100%;
    text-align: center;
}

@media (max-width: 600px) {
    .graphite-footer {
        height: 1.1cm;
        min-height: 1.1cm;
        font-size: 0.95em;
    }
    .graphite-footer .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100vw !important;
    }
    .footer-socials {
        position: static !important;
        margin-top: 0.3em;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        display: flex;
        gap: 1.2em;
    }
    .footer-content span {
        margin: 0 auto !important;
        text-align: center;
        font-size: 0.98em;
    }
    .modal#calculatorModal .modal-content {
        padding: 1.2em 0.5em 1.2em 0.5em;
        max-width: 98vw;
        min-width: unset;
    }
    .close-modal {
        top: 8px;
        right: 12px;
        font-size: 1.5em;
    }
}

/* Стилі для модального вікна */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2em;
    border-radius: 1em;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 0.5em;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 83, 0.2);
}

.hero {
    display: flex;
    align-items: stretch;
    min-height: 100vh; /* повний екран */
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('../image/baner/12.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    /* Без додаткового нижнього відступу, щоб банер 2 примикав впритул */
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    margin-top: 0; /* Removed margin-top */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5em;
    padding: 2em;
    /* Відсуваємо текст нижче фіксованої шапки, при цьому банер починається з самого верху */
    padding-top: 13.7rem;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: transparent;
    border-radius: 1em;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

.hero-text {
    width: 100%;
}

.hero-image {
    display: none;
}

.hero-banners {
    display: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    padding: 0;
    color: #34495e; /* трішки світліший графітовий */
    line-height: 1.18;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 6px rgba(255,255,255,0.2);
    order: 1;
}

.guarantee {
    font-size: 1.3em;
    color: #1f2937; /* темний графіт */
    font-weight: 600;
    margin: 0.4rem 0 0 0;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(255,255,255,0.12);
    order: 2;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
    margin-top: 1.5em;
    width: 100%;
    order: 3;
}

.hero-button {
    width: auto;
    min-width: 160px;
    text-align: center;
    position: relative;
    z-index: 5;
    padding: 10px 20px;
}

/* Стилі для кнопок hero-button та cta-button перенесено в animations.css */

/* Загальні стилі для інших кнопок (не hero-button) */
button:not(.hero-button):not(.cta-button), 
.btn:not(.hero-button):not(.cta-button),
input[type="submit"]:not(.hero-button):not(.cta-button),
input[type="button"]:not(.hero-button):not(.cta-button) {
    display: inline-block;
    padding: 0.8em 1.8em;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        #2ecc71 25%, 
        var(--primary-color) 50%, 
        #2ecc71 75%, 
        var(--primary-color) 100%
    );
    background-size: 200% auto;
}

button:not(.hero-button):not(.cta-button):hover,
.btn:not(.hero-button):not(.cta-button):hover,
input[type="submit"]:not(.hero-button):not(.cta-button):hover,
input[type="button"]:not(.hero-button):not(.cta-button):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 83, 0.3);
}

/* ... (далі вставити увесь вміст css/style.css до кінця) ... */ 

/* === Team section (Наша команда) === */
.team-section {
    padding: 40px 0 20px 0 !important;
}

.team-section > h3 {
    text-align: center !important;
    font-size: 2.2rem !important;
    color: #2b2f33 !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    margin: 0 0 28px 0 !important;
}

.team-members {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(240px, 1fr)) !important;
    gap: 28px !important;
    max-width: 1160px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
}

.team-member {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    padding: 28px 22px !important;
    text-align: center !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.team-member:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
}

.member-image {
    width: 220px !important;
    height: 220px !important;
    border-radius: 50% !important;
    margin: 0 auto 18px auto !important;
    border: 6px solid #41a75a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f8fbf8 !important;
}

.member-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.team-member h4 {
    font-size: 1.35rem !important;
    color: #2b2f33 !important;
    font-weight: 800 !important;
    margin: 6px 0 8px 0 !important;
}

.team-member p {
    color: #6c7782 !important;
    font-size: 1.05rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

@media (max-width: 1200px) {
    .team-members { grid-template-columns: repeat(3, minmax(240px, 1fr)) !important; max-width: 900px !important; }
}

@media (max-width: 992px) {
    .team-members { grid-template-columns: repeat(2, minmax(260px, 1fr)) !important; gap: 20px !important; max-width: 720px !important; }
    .member-image { width: 200px !important; height: 200px !important; }
}

@media (max-width: 600px) {
    .team-members { grid-template-columns: 1fr !important; gap: 16px !important; }
    .team-member { padding: 22px 18px !important; }
    .member-image { width: 180px !important; height: 180px !important; }
}

/* === CTA: Готові розпочати свій проект? === */
.cta-section {
    position: relative !important;
    margin: 40px 0 0 0 !important;
    padding: 90px 20px !important;
    min-height: 340px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #ffffff !important;
    overflow: hidden !important;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        url('../image/project.baner.jpg') center/cover no-repeat,
        url('../image/project.baner.png') center/cover no-repeat,
        url('../image/project.baner.webp') center/cover no-repeat,
        url('../image/cta/blueprints.jpg') center/cover no-repeat,
        #1f2937;
    z-index: 0;
}

.cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.cta-section h3,
.cta-section p,
.cta-section .cta-button {
    position: relative;
    z-index: 2;
}

.cta-section h3 {
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    margin: 0 0 10px 0 !important;
    color: #ffffff !important;
    text-shadow: 0 4px 18px rgba(0,0,0,0.55) !important;
}

.cta-section p {
    font-size: 1.25rem !important;
    margin: 0 0 20px 0 !important;
    color: #eaf1f5 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
}

@media (max-width: 768px) {
    .cta-section { padding: 70px 16px !important; min-height: 300px !important; }
    .cta-section h3 { font-size: 2rem !important; }
    .cta-section p { font-size: 1.1rem !important; }
}