:root {
    --bg: #f8f6f1;
    --surface: #ffffff;
    --text: #1f1f1a;
    --muted: #676457;
    --line: #ddd7c8;
    --primary: #8b5e34;
    --primary-dark: #6f4a28;
    --dark: #161512;
    --max-width: 1200px;
    --radius: 16px;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

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

button {
    font: inherit;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.logo span {
    color: var(--primary);
}

.nav-desktop,
.nav-actions {
    display: none;
}

.mobile-menu-toggle {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    display: block;
    border-radius: 999px;
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu-inner {
    padding: 1rem 0 1.25rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-nav-links a {
    padding: 0.9rem 0;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mobile-menu-actions .btn {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

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

.hero {
    position: relative;
    min-height: 78svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-media,
.hero-media picture,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.24)),
        linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 35%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0;
}

.hero-copy {
    max-width: 700px;
    color: #fff;
}

.eyebrow,
.section-eyebrow,
.card-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.95;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1.02;
    margin: 0.5rem 0 1rem;
}

.hero-text {
    font-size: 1.08rem;
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-light {
    background: #f1ede4;
}

.intro-grid,
.split-section,
.cards-grid,
.cta-box {
    display: grid;
    gap: 2rem;
}

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

.service-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    margin-top: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

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

.split-image img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.feature-list {
    padding-left: 1.25rem;
    color: var(--muted);
}

.section-heading {
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.cta-section {
    padding-top: 0;
}

.cta-box {
    background: var(--dark);
    color: #fff;
    padding: 2rem;
    border-radius: 24px;
    align-items: center;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

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

h1,
h2,
h3 {
    color: inherit;
}

@media (max-width: 767px) {
    .logo {
        font-size: 1.05rem;
        max-width: calc(100% - 72px);
    }

    .hero {
        min-height: 72svh;
    }

    .hero-content {
        padding: 4rem 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .section {
        padding: 4rem 0;
    }

    .cta-actions {
        flex-direction: column;
    }

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

@media (min-width: 768px) {
    .mobile-menu-toggle,
    .mobile-menu {
        display: none !important;
    }

    .nav-desktop {
        display: flex;
        gap: 1.5rem;
        color: var(--muted);
        font-weight: 600;
    }

    .nav-actions {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }

    .intro-grid,
    .split-section,
    .cta-box {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

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

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

.card-body .btn {
    width: 100%;
    margin-top: 1rem;
}

.flash-wrap {
    padding-top: 1rem;
}

.flash-message {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-top: 1rem;
    background: #e9f7ef;
    color: #1e5a34;
    border: 1px solid #cfe9d8;
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.quote-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.4rem;
}

.form-row label {
    font-weight: 700;
    color: var(--text);
}

.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    background: #fff;
    color: var(--text);
    font: inherit;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.card-body .btn {
    width: 100%;
    margin-top: 1rem;
}

.flash-wrap {
    padding-top: 1rem;
}

.flash-message {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-top: 1rem;
    background: #e9f7ef;
    color: #1e5a34;
    border: 1px solid #cfe9d8;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.contact-copy h2 {
    margin-top: 0.35rem;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.contact-lead {
    font-size: 1.05rem;
    max-width: 58ch;
}

.contact-info-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-info-item {
    background: #f1ede4;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.contact-info-item p {
    margin: 0.35rem 0 0;
}

.contact-info-label {
    display: inline-block;
    font-weight: 700;
    color: var(--text);
}

.contact-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-card-header {
    margin-bottom: 1.25rem;
}

.contact-card-header h3 {
    margin: 0.35rem 0 0;
    font-size: 1.75rem;
    line-height: 1.1;
}

.contact-card-eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
}

.quote-form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.45rem;
}

.form-row label {
    font-weight: 700;
    color: var(--text);
    font-size: 0.96rem;
}

.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: #fcfbf8;
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: none;
}

.form-control::placeholder {
    color: #8b8778;
}

.form-control:focus {
    outline: none;
    border-color: rgba(139, 94, 52, 0.6);
    box-shadow: 0 0 0 4px rgba(139, 94, 52, 0.12);
    background: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 170px;
}

.field-help {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.quote-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    min-height: 56px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.05fr;
        gap: 3rem;
    }

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

    .contact-card {
        padding: 2rem;
    }
}

.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.88);
    margin-top: 5rem;
}

.footer-top {
    display: grid;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #fff;
}

.footer-logo span {
    color: #c99b6b;
}

.footer-copy {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links-group h3 {
    margin: 0 0 0.9rem;
    font-size: 1rem;
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-credit:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    transition: color 0.2s ease;
    opacity: 0.5;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1.4fr 1fr 1fr;
        align-items: start;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-address {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
}

.logo strong {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 767px) {
    .logo {
        font-size: 1rem;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }
}