/* =========================================
   RESET & VARIABLES
========================================= */

:root {
    --forest: #18372d;
    --forest-dark: #102820;
    --sage: #667b6b;
    --cream: #f4f1e9;
    --warm-white: #faf9f5;
    --sand: #d9c9aa;
    --charcoal: #202521;
    --gray: #69716b;
    --border: #dfe2dc;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--charcoal);
    background: var(--warm-white);
    line-height: 1.6;
}

img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

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

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


/* =========================================
   GLOBAL
========================================= */

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.eyebrow.dark {
    color: var(--sage);
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.08;
}

h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
}

h2 span,
h1 span {
    display: block;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.25s ease;
}

.button-primary {
    background: var(--sand);
    color: var(--forest-dark);
}

.button-primary:hover {
    background: #e5d8c1;
    transform: translateY(-2px);
}

.button-outline {
    border-color: rgba(255,255,255,0.65);
    color: white;
}

.button-outline:hover {
    background: white;
    color: var(--forest);
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-mark {
    width: 39px;
    height: 39px;
    border: 1px solid currentColor;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 1.3rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.logo-text small {
    margin-top: 5px;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.7;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-cta {
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.6);
}

.menu-toggle {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 820px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    /*
       Add your hero image here:

       /images/hero.jpg

       The image is intentionally handled in CSS so
       swapping demo photography is easy.
    */

    background:
        linear-gradient(90deg, rgba(16,40,32,0.95) 0%, rgba(16,40,32,0.72) 42%, rgba(16,40,32,0.22) 100%),
        url("images/hero.jpg") center / cover no-repeat;

    background-color: var(--forest);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16,40,32,0.15);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6.7rem);
    max-width: 850px;
}

.hero-text {
    max-width: 590px;
    margin: 28px 0 36px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.86);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 80px;
}

.hero-trust div:not(.trust-divider) {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    font-family: var(--serif);
    font-size: 1.35rem;
}

.hero-trust span {
    font-size: 0.68rem;
    opacity: 0.7;
}

.trust-divider {
    width: 1px;
    height: 35px;
    background: rgba(255,255,255,0.3);
}


/* =========================================
   INTRO
========================================= */

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

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: end;
}

.intro h2 {
    max-width: 650px;
}

.intro-copy {
    max-width: 480px;
}

.intro-copy p {
    color: var(--gray);
    font-size: 1.05rem;
}

.text-link {
    display: inline-flex;
    gap: 12px;
    margin-top: 25px;
    font-weight: 700;
    font-size: 0.85rem;
}

.text-link span {
    transition: 0.2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: var(--warm-white);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 60px;
}

.section-heading > p {
    color: var(--gray);
    max-width: 420px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.service-card {
    min-height: 310px;
    padding: 34px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: 0.25s ease;
}

.service-card:hover {
    background: var(--cream);
}

.service-number {
    color: var(--sage);
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    max-width: 320px;
}

.service-card a {
    display: inline-block;
    margin-top: 24px;
    font-size: 0.75rem;
    font-weight: 700;
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--cream);
}

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

.about-image {
    min-height: 650px;
}

.image-placeholder {
    background: #dfe2dc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    letter-spacing: 0.12em;
}

.image-placeholder span {
    font-size: 0.7rem;
    font-weight: 700;
}

.image-placeholder small {
    margin-top: 8px;
    font-size: 0.65rem;
}

.about-content > p:not(.eyebrow) {
    color: var(--gray);
    margin-top: 22px;
    max-width: 510px;
}

.about-points {
    margin-top: 40px;
    border-top: 1px solid #cdd2cb;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 17px 0;
    border-bottom: 1px solid #cdd2cb;
}

.about-points strong {
    font-size: 0.7rem;
    color: var(--sage);
}

.about-points span {
    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================
   GALLERY
========================================= */

.work {
    background: var(--warm-white);
}

.centered {
    display: block;
    text-align: center;
}

.centered > p:last-child {
    margin: 20px auto 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
    background: var(--cream);
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}


/* =========================================
   TESTIMONIAL
========================================= */

.testimonial {
    background: var(--forest);
    color: white;
}

.testimonial-inner {
    max-width: 900px;
    text-align: center;
}

.testimonial blockquote {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.2;
    margin: 25px auto 35px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 0.85rem;
}

.testimonial-author span {
    font-size: 0.7rem;
    opacity: 0.55;
}


/* =========================================
   SERVICE AREA
========================================= */

.service-area {
    background: var(--cream);
}

.service-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.service-area-grid > div:first-child p:last-child {
    color: var(--gray);
    max-width: 520px;
    margin-top: 25px;
}

.area-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #cdd2cb;
    border-left: 1px solid #cdd2cb;
}

.area-list span {
    padding: 20px;
    border-right: 1px solid #cdd2cb;
    border-bottom: 1px solid #cdd2cb;
    font-size: 0.85rem;
    font-weight: 600;
}


/* =========================================
   CONTACT
========================================= */

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

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
}

.contact-info h2 {
    max-width: 600px;
}

.contact-info > p:not(.eyebrow) {
    color: rgba(255,255,255,0.65);
    max-width: 470px;
    margin-top: 25px;
}

.contact-details {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details a {
    display: flex;
    flex-direction: column;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-details small {
    color: rgba(255,255,255,0.45);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.quote-form {
    padding: 45px;
    background: var(--warm-white);
    color: var(--charcoal);
}

.quote-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.quote-form input,
.quote-form textarea,
.quote-form select {
    width: 100%;
    border: 1px solid var(--border);
    background: white;
    padding: 14px 15px;
    outline: none;
    color: var(--charcoal);
}

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

.quote-form textarea {
    resize: vertical;
}

.quote-form .button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.form-note {
    margin-top: 12px;
    text-align: center;
    color: var(--gray);
    font-size: 0.68rem;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #0b1d17;
    color: white;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 80px;
}

.footer-brand p {
    max-width: 300px;
    color: rgba(255,255,255,0.5);
    margin-top: 20px;
    font-size: 0.85rem;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.footer-grid a:not(.logo) {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 60px;
    padding-top: 22px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .section {
        padding: 80px 0;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: white;
    }

    .hero {
        min-height: 720px;
    }

    .hero-trust {
        margin-top: 55px;
        gap: 16px;
    }

    .intro-grid,
    .section-heading,
    .about-grid,
    .service-area-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

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

    .about-image {
        min-height: 500px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 600px) {

    .section {
        padding: 65px 0;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 3.3rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-trust {
        display: none;
    }

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

    .service-card {
        min-height: auto;
    }

    .about-image {
        min-height: 380px;
    }

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

    .gallery-large {
        grid-row: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form {
        padding: 25px;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 900px) {

    .main-nav.mobile-open {
        display: flex;
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background: var(--forest-dark);
    }

}