:root {
    --primary: #b8874d;
    --primary-dark: #8f6738;
    --secondary: #173d36;
    --ink: #151515;
    --muted: #6c7275;
    --line: #e6e0d8;
    --light: #f7f4ef;
    --white: #ffffff;
    --dark: #111514;
    --shadow: 0 22px 60px rgba(21, 21, 21, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

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

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility 0s linear .4s;
    z-index: 99999;
}

#spinner.show {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s ease, visibility 0s linear 0s;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-dark {
    background: var(--dark) !important;
}

.btn {
    border-radius: 4px;
    border-width: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
    min-height: 46px;
    padding: 12px 20px;
}

.btn-lg {
    min-height: 54px;
    padding: 14px 24px;
    font-size: 15px;
}

.btn-primary {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 14px 30px rgba(184, 135, 77, .22);
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--white);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, .55);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
}

.btn-outline-dark {
    color: var(--ink);
    border-color: rgba(21, 21, 21, .2);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
}

.eyebrow {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.lead-text {
    color: var(--ink);
    font-size: 19px;
    font-weight: 600;
}

.site-navbar {
    top: 0;
    min-height: 78px;
    padding: 12px 0;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(21, 21, 21, .08);
    backdrop-filter: blur(18px);
    z-index: 999;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
}

.site-navbar .navbar-brand img {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
}

.site-navbar .navbar-nav {
    gap: 4px;
}

.site-navbar .nav-link {
    color: var(--ink);
    padding: 10px 14px !important;
    font-size: 15px;
    font-weight: 800;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--primary);
}

.site-navbar .nav-cta {
    margin-left: 10px;
    padding: 10px 18px;
}

.navbar-toggler {
    border: 0;
    padding: 6px;
    box-shadow: none !important;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 82vh;
    padding: 112px 0 92px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10, 12, 11, .88) 0%, rgba(10, 12, 11, .63) 48%, rgba(10, 12, 11, .18) 100%),
        url("../img/background_fill.jpg") center center / cover no-repeat;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 9px;
    content: "";
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    max-width: 880px;
    margin-bottom: 24px;
    color: var(--white);
    font-size: clamp(2.6rem, 7vw, 5.85rem);
}

.hero-text {
    max-width: 680px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 52px;
}

.hero-proof div {
    min-width: 150px;
    padding-left: 18px;
    border-left: 2px solid var(--primary);
}

.hero-proof strong {
    display: block;
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
}

.hero-proof span {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
}

.about-section {
    background: linear-gradient(180deg, var(--white) 0%, #fbfaf7 100%);
}

.about-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr .78fr;
    gap: 18px;
    min-height: 560px;
}

.about-gallery img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-main {
    min-height: 560px;
}

.about-secondary {
    align-self: end;
    height: 430px !important;
    margin-top: 90px;
}

.experience-badge {
    position: absolute;
    right: 26px;
    bottom: 28px;
    max-width: 250px;
    padding: 22px;
    color: var(--white);
    background: var(--secondary);
    border-left: 5px solid var(--primary);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.experience-badge strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.experience-badge span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.value-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.value-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
}

.value-list i {
    color: var(--primary);
    font-size: 22px;
}

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

.service-card {
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(21, 21, 21, .08);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(21, 21, 21, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-content {
    position: relative;
    padding: 34px 28px 30px;
}

.service-icon {
    position: absolute;
    top: -28px;
    left: 28px;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: var(--white);
    background: var(--secondary);
    border: 4px solid var(--white);
    border-radius: 8px;
    font-size: 24px;
}

.service-content h3 {
    margin: 8px 0 14px;
    font-size: 24px;
}

.service-content p {
    margin-bottom: 0;
}

.method-section {
    color: rgba(255, 255, 255, .72);
    background:
        linear-gradient(120deg, rgba(17, 21, 20, .96), rgba(23, 61, 54, .93)),
        url("../img/bg.jpeg") center center / cover no-repeat;
}

.method-section p {
    color: rgba(255, 255, 255, .72);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.method-step {
    min-height: 210px;
    padding: 28px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.method-step span {
    display: block;
    margin-bottom: 28px;
    color: var(--primary);
    font-weight: 800;
}

.method-step h3 {
    color: var(--white);
    font-size: 24px;
}

.method-step p {
    margin-bottom: 0;
}

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

.commitment-img {
    width: 100%;
    max-height: 680px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.commitment-list {
    display: grid;
    gap: 20px;
}

.commitment-list > div {
    display: flex;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.commitment-list i {
    display: grid;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    place-items: center;
    color: var(--white);
    background: var(--primary);
    border-radius: 8px;
    font-size: 23px;
}

.commitment-list h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.commitment-list p {
    margin-bottom: 0;
}

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

.project-grid {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 230px;
    gap: 16px;
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 230px;
    background: #202523;
    border-radius: 8px;
}

.project-large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-tall {
    grid-row: span 2;
}

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

.project-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(17, 21, 20, 0) 35%, rgba(17, 21, 20, .82) 100%);
}

.project-card span {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 18px;
    left: 20px;
    color: var(--white);
    font-weight: 800;
}

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

.testimonials-section {
    background: #fbfaf7;
}

.testimonial-card {
    height: 100%;
    padding: 34px;
    background: var(--white);
    border: 1px solid rgba(21, 21, 21, .08);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(21, 21, 21, .07);
}

.testimonial-card i {
    color: var(--primary);
    font-size: 26px;
}

.testimonial-card p {
    margin: 22px 0;
    color: var(--ink);
    font-size: 17px;
}

.testimonial-card h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 16px;
}

.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: center;
    padding: 48px;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-panel h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-panel p {
    margin-bottom: 0;
}

.contact-actions {
    display: grid;
    gap: 14px;
}

.footer {
    padding: 70px 0 0;
    color: rgba(255, 255, 255, .68);
    background: var(--dark);
}

.footer p {
    color: rgba(255, 255, 255, .68);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
}

.footer h3 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 17px;
}

.footer a:not(.footer-brand) {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .68);
}

.footer a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-links a {
    display: grid !important;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--white) !important;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.copyright {
    margin-top: 50px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
}

.copyright p {
    margin: 0;
}

.copyright a {
    display: inline !important;
    color: var(--primary) !important;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    display: none;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 4px;
}

@media (max-width: 1199.98px) {
    .project-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .site-navbar .navbar-collapse {
        margin-top: 14px;
        padding: 14px 0;
        border-top: 1px solid rgba(21, 21, 21, .08);
    }

    .site-navbar .nav-cta {
        width: 100%;
        margin: 10px 0 0;
    }

    .hero {
        min-height: auto;
        padding: 98px 0 74px;
        background-position: center center;
    }

    .about-gallery {
        min-height: auto;
    }

    .about-main {
        min-height: 480px;
    }

    .about-secondary {
        height: 360px !important;
        margin-top: 70px;
    }

    .method-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 68px 0;
    }

    .hero {
        padding: 76px 0 62px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        gap: 18px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .about-main,
    .about-secondary {
        height: 360px !important;
        min-height: 0;
        margin-top: 0;
    }

    .experience-badge {
        position: static;
        max-width: none;
        margin-top: 16px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .project-large,
    .project-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-panel {
        padding: 30px 24px;
    }
}

@media (max-width: 420px) {
    .site-navbar .navbar-brand span {
        font-size: 19px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .btn-lg {
        padding-right: 18px;
        padding-left: 18px;
    }
}
