:root {
    --bg: #f6f4ef;
    --white: #ffffff;
    --text: #1e1f1c;
    --muted: rgb(130,163,170);
    --line: rgba(30, 31, 28, 0.1);
    --accent: rgb(77,169,173);
    --accent-dark: rgb(57,97,110);
    --dark: rgb(57,97,110);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius: 22px;
    --container: 1200px;
    --header-height: 88px;
    --bg-page: #eceae6;
    --bg-card: #f7f7f5;
    --text-main: #232323;
    --text-muted: #5b5f61;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --container-width: 1180px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;
}

.section-heading.center {
    margin: 0 auto 50px;
    text-align: center;
}

.section-kicker,
.eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

h1,
h2,
h3 {
    line-height: 1.1;
    margin: 0;
}

h1 {
    font-size: clamp(40px, 7vw, 78px);
    max-width: 820px;
}

h2 {
    font-size: clamp(30px, 4vw, 52px);
    margin-bottom: 18px;
}

h3 {
    font-size: 24px;
}

p {
    margin: 0 0 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    transition: 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.btn.full {
    width: 100%;
}

.text-link {
    font-weight: 700;
    color: var(--accent-dark);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: 0.35s ease;
    background: var(--muted);
}

.site-header.scrolled {
    background: rgba(23, 25, 21, 0.84);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 700;
}

.logo-mark {
    width: auto;
    height: auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
}
.logo-mark img {
    display: block;
    height: 72px; /* або 50px, як треба */
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.92);
}

.nav a {
    position: relative;
    font-size: 15px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone-link {
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    padding: 0;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    margin: 4px auto;
    transition: 0.3s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    color: var(--white);
    background: var(--dark);
}

.hero-slider {
    position: relative;
    min-height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to right, rgba(10, 12, 10, 0.75), rgba(10, 12, 10, 0.3)),
            linear-gradient(to top, rgba(10, 12, 10, 0.55), rgba(10, 12, 10, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-text {
    max-width: 650px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.86);
    margin-top: 24px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}
.hero-buttons1 {
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.hero-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.15);
}

.intro {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
}

.intro-text {
    color: var(--accent-dark);
    font-size: 18px;
}

.specialization {
    background: linear-gradient(180deg, #f2efe8 0%, #f6f4ef 100%);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.spec-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow);
}

.spec-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(138, 163, 107, 0.12);
    color: var(--accent-dark);
    font-weight: 800;
    margin-bottom: 22px;
}

.projects-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 46px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.project-card1 {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-body {
    padding: 28px;
}

.project-location {
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.advantages {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.advantages-image img {
    border-radius: 28px;
    box-shadow: var(--shadow);
    min-height: 520px;
    object-fit: cover;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
}

.check-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-dark);
    font-size: 22px;
    line-height: 1;
}

.stats {
    background: var(--dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 34px 24px;
    text-align: center;
}

.stat-number {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.completed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.completed-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.completed-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.completed-body {
    padding: 22px;
}

.contact {
    background: linear-gradient(180deg, #f1efe8 0%, #ebe7dc 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.contact-list a,
.contact-list span {
    font-size: 18px;
    color: var(--text);
}

.contact-form {
    background: var(--white);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    margin-bottom: 16px;
}

.checkbox {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    margin: 8px 0 26px;
    color: var(--muted);
}

.checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0 0 8px 0;
    flex: 0 0 22px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox label {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--muted);
    cursor: pointer;
}

.site-footer {
    background: #11130f;
    color: rgba(255, 255, 255, 0.85);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 12px;
}

.footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .projects-grid,
    .completed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid,
    .advantages-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .advantages-image img {
        min-height: 380px;
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        right: 20px;
        left: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px;
        background: rgba(20, 22, 18, 0.96);
        border-radius: 24px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .burger {
        display: block;
    }

    .phone-link {
        display: none;
    }
}

@media (max-width: 700px) {
    .section {
        padding: 84px 0;
    }

    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .hero-buttons,
    .projects-top,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-grid,
    .completed-grid,
    .stats-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-controls {
        width: calc(100% - 24px);
        justify-content: space-between;
    }

    .contact-form {
        padding: 22px;
    }
}
.stats {
    background: #111;
    color: #fff;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    font-size: 60px;
    font-weight: 800;
    color: #5fb3b3;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

/* мобілка */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


.project-page {
    padding: 48px 20px 72px;
}




.project-card {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    align-items: stretch;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.project-card__image {
    min-height: 100%;
    background: #ddd;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.project-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 52px;
}

.project-card__label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-card__title {
    margin: 0 0 22px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 700;
    color: var(--text-main);
}

.project-card__text {
    margin: 0 0 30px;
    max-width: 560px;
    font-size: 22px;
    line-height: 1.55;
    color: var(--text-muted);
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.project-meta-item {
    min-width: 132px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(15, 106, 115, 0.08);
}

.project-meta-item__value {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-dark);
}

.project-meta-item__label {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    color: var(--text-muted);
}

/*.project-card__button {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: fit-content;*/
/*    min-width: 180px;*/
/*    padding: 16px 24px;*/
/*    border-radius: 999px;*/
/*    background: var(--accent);*/
/*    color: #fff;*/
/*    font-size: 16px;*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    transition: transform 0.25s ease, background 0.25s ease;*/
/*}*/

.project-card__button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* планшет */
@media (max-width: 991px) {
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-card__image img {
        min-height: 420px;
    }

    .project-card__content {
        padding: 36px 30px 38px;
    }

    .project-card__text {
        font-size: 19px;
    }
}

/* телефон — як на макеті */
@media (max-width: 640px) {
    .project-page {
        padding: 22px 16px 40px;
    }

    .project-card {
        border-radius: 28px;
    }

    .project-card__image {
        padding: 0;
    }

    .project-card__image img {
        min-height: 0;
        aspect-ratio: 1 / 0.95;
        object-fit: cover;
    }

    .project-card__content {
        padding: 22px 22px 26px;
    }

    .project-card__label {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .project-card__title {
        margin-bottom: 16px;
        font-size: 22px;
        line-height: 1.15;
    }

    .project-card2__text {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.55;
        max-width: 100%;
    }

    .project-card__meta {
        gap: 10px;
        margin-bottom: 22px;
    }

    .project-meta-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .project-meta-item__value {
        font-size: 15px;
    }

    .project-meta-item__label {
        font-size: 12px;
    }

    .project-card__button {
        width: 100%;
        min-width: 0;
        padding: 14px 20px;
        font-size: 15px;
    }

}
.news-section {
    padding: 90px 0;
    background: #eceae6;
    overflow: hidden;
}

.news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.news-title {
    margin: 0;
    max-width: 720px;
    font-size: clamp(34px, 5vw, 72px);
    line-height: 1.02;
    font-weight: 700;
    color: #181818;
}

.news-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.news-arrow {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 50%;
    background: #f8f7f4;
    color: #2f5f6b;
    font-size: 24px;
    cursor: pointer;
    transition: 0.25s ease;
}

.news-arrow:hover {
    background: #55aeb5;
    color: #fff;
    border-color: #55aeb5;
}

.news-carousel {
    overflow: hidden;
}

.news-track {
    display: flex;
    gap: 32px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.news-card {
    flex: 0 0 calc((100% - 64px) / 3);
    background: #f7f7f5;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.news-card__image {
    aspect-ratio: 1.4 / 1;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.04);
}

.news-card__body {
    padding: 24px 24px 28px;
}

.news-card__meta {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f6f79;
}

.news-card__title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #181818;
}

.news-card__text {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.55;
    color: #2f2f2f;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 14px 22px;
    border: 1px solid rgba(24, 24, 24, 0.1);
    border-radius: 999px;
    background: transparent;
    color: #181818;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.news-card__link:hover {
    background: #55aeb5;
    border-color: #55aeb5;
    color: #fff;
}

@media (max-width: 1100px) {
    .news-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .news-track {
        gap: 24px;
    }
}

@media (max-width: 700px) {
    .news-section {
        padding: 64px 0;
    }

    .news-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .news-title {
        font-size: 36px;
        max-width: 100%;
    }

    .news-controls {
        align-self: flex-end;
    }

    .news-track {
        gap: 18px;
    }

    .news-card {
        flex: 0 0 100%;
        border-radius: 26px;
    }

    .news-card__body {
        padding: 20px 20px 24px;
    }

    .news-card__title {
        font-size: 20px;
    }

    .news-card__text {
        font-size: 15px;
    }

    .news-card__link {
        width: 100%;
        min-width: 0;
    }
}
