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

html {
    scroll-behavior: smooth;
}

#services,
#audit,
#portfolio,
#contact {
    scroll-margin-top: 210px;
}

:root {
    --dark: #1C2733;
    --dark-2: #243241;
    --orange: #E76F00;
    --orange-dark: #cf6100;
    --white: #ffffff;
    --light: #F5F7FA;
    --light-2: #EEF2F6;
    --text: #1C2733;
    --muted: #5E6B78;
    --radius: 10px;
    --shadow: 0 10px 24px rgba(28, 39, 51, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

.container {
    width: 90%;
    max-width: 1240px;
    margin: auto;
}

.narrow {
    max-width: 1000px;
}

.header {
    padding: 20px 0;
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo img {
    height: 145px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

nav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.7);
    padding: 9px 18px;
    border-radius: 4px;
}

.hero-unified {
    background: linear-gradient(180deg, var(--white) 0%, var(--white) 70%, #f8fafc 100%);
    padding: 90px 0 70px;
}

.hero-grid-main {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.hero-text h1 {
    font-size: 2.9rem;
    line-height: 1.12;
    margin-bottom: 18px;
}

.hero-text p {
    color: var(--muted);
    margin-bottom: 34px;
    font-size: 1.05rem;
}

.hero-photo img,
.engineering-photo img,
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-photo {
    min-height: 360px;
}

.hero-photo img {
    min-height: 360px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--orange-dark);
}

.btn-secondary {
    border: 1px solid var(--dark);
    color: var(--dark);
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
}

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

.type-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #e7edf3;
    box-shadow: 0 8px 20px rgba(28, 39, 51, 0.04);
}

.type-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.type-icon {
    height: 78px;
    margin: 0 auto 16px;
    object-fit: contain;
    transition: 0.3s;
}

.type-card:hover .type-icon {
    transform: scale(1.04);
}

.type-card h4 {
    font-size: 1.02rem;
    font-weight: 600;
}

.hero-approach {
    margin-top: 34px;
}

.content-main a {
    color: #e76f00;
    font-weight: 500;
    text-decoration: none;
}

.content-main a:hover {
    text-decoration: underline;
}
.content-main a:visited {
    color: #e76f00;
}
.section-dark a {
    color: #ffa24a;
}

.section-dark a:visited {
    color: #ffa24a;
}
.content-main p {
    line-height: 1.65;
}

.approach-box {
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius);
    padding: 42px 46px;
    box-shadow: var(--shadow);
}

.section {
    padding: 110px 0;
}

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

.section-light {
    background: var(--light);
}

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

.section-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 26px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 64px;
    height: 3px;
    background: var(--orange);
    display: block;
    margin-top: 12px;
}

.light-title {
    color: var(--white);
}

.cards {
    display: grid;
    gap: 28px;
}

.cards-6 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--white);
    padding: 34px;
    border-radius: var(--radius);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    border: 1px solid #e5ebf1;
    box-shadow: 0 10px 24px rgba(28, 39, 51, 0.05);
}

.card:hover {
    transform: translateY(-10px) scale(1.015);
    border-color: var(--orange);
    box-shadow: 0 18px 34px rgba(28, 39, 51, 0.14);
    background: #fffaf6;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.card p {
    color: var(--muted);
}

.engineering-top {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 42px;
    align-items: start;
    margin-bottom: 40px;
}

.engineering-text p + p {
    margin-top: 14px;
}

.engineering-photo {
    display: flex;
    align-items: stretch;
}

.engineering-photo img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.foundations-types {
    margin-top: 0;
}

.foundations-types .type-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.foundations-types .type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(28,39,51,0.18);
}

.foundations-types .type-icon {
    height: 118px;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.foundations-types .type-card:hover .type-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(231,111,0,0.35));
}

.icon-frame-dark {
    background: #111111;
    border-radius: 8px;
    padding: 16px 12px;
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-list {
    margin-top: 28px;
    list-style: none;
}

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

.audit-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--orange);
    position: absolute;
    left: 0;
    top: 9px;
    border-radius: 50%;
}

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

.portfolio-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #e5ebf1;
    box-shadow: 0 10px 24px rgba(28, 39, 51, 0.05);
}

.portfolio-item p {
    padding: 18px 20px 22px;
    font-weight: 500;
}

.contact-section {
    background: linear-gradient(180deg, var(--dark-2) 0%, #16212c 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before,
.contact-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(231, 111, 0, 0.08);
    pointer-events: none;
}

.contact-section::before {
    width: 240px;
    height: 240px;
    top: -80px;
    right: -60px;
}

.contact-section::after {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: -30px;
}

.contact-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 1;
}

.contact-intro h2 {
    font-size: 2.1rem;
    margin-bottom: 14px;
}

.contact-divider {
    width: 80px;
    height: 2px;
    background: var(--orange);
    margin: 28px auto 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.1fr 0.9fr 1.2fr;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.contact-card-mail a {
    white-space: nowrap;
}

.project-types .type-card {
    padding-top: 24px;
    padding-bottom: 24px;
}

.contact-card-address,
.contact-card-mail {
    min-width: 0;
}

.contact-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(4px);
}

.contact-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.contact-card h3,
.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(231, 111, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.footer {
    padding: 28px 0;
    text-align: center;
    background: var(--light);
    color: var(--muted);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-grid-main,
    .engineering-top,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards-6,
    .portfolio-grid,
    .project-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-photo,
    .engineering-photo {
        min-height: auto;
    }

    .hero-photo img,
    .engineering-photo img {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .logo img {
        height: 100px;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        gap: 14px;
    }

    .hero-unified {
        padding: 60px 0 50px;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }

    .section {
        padding: 80px 0;
    }

    .cards-6,
    .portfolio-grid,
    .project-types {
        grid-template-columns: 1fr;
    }

    .approach-box {
        padding: 30px 24px;
    }

    .card,
    .contact-card {
        padding: 24px;
    }

    .contact-intro h2 {
        font-size: 1.8rem;
    }
}

