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

:root {
    --green-dark: #054720;
    --green-mid: #009345;
    --charcoal: #404041;
    --grey: #6D6E70;
    --cream: #F7F5F0;
    --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* NAV */
nav.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5,71,32,0.97);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    border-bottom: 1px solid rgba(0,147,69,0.2);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-mid); }
.nav-links .nav-cta {
    background: var(--green-mid);
    color: var(--white);
    padding: 9px 22px;
    border-radius: 4px;
    font-weight: 500;
}
.nav-links .nav-cta:hover { background: #007a38; color: var(--white); }

/* HERO */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(5,71,32,0.88) 0%, rgba(5,71,32,0.75) 45%, rgba(5,71,32,0.35) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 700px;
}
.hero-content--centered {
    max-width: 860px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 5%;
    left: 0;
    right: 0;
}
.hero-content--centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-content--centered .hero-actions { justify-content: center; }
.hero-logo {
    width: 220px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-mid);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: rgba(0,147,69,0.12);
    border: 1px solid rgba(0,147,69,0.3);
    padding: 6px 14px;
    border-radius: 20px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--green-mid); font-style: normal; }
.hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2.2s ease-in-out infinite;
}
.hero-scroll svg {
    width: 20px; height: 20px;
    stroke: rgba(255,255,255,0.4);
    fill: none; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* BUTTONS */
.btn-primary {
    background: var(--green-mid);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
    display: inline-block;
}
.btn-primary:hover { background: #007a38; color: var(--white); }
.btn-outline {
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.9);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
}
.btn-outline:hover { border-color: var(--green-mid); color: var(--white); }
.btn-dark {
    background: var(--green-dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
    display: inline-block;
}
.btn-dark:hover { background: var(--green-mid); color: var(--white); }

/* TRUST BAR */
.trust-bar {
    background: var(--cream);
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e2dc;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--grey);
}
.trust-item svg {
    width: 18px; height: 18px;
    stroke: var(--green-mid);
    fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}
.trust-item strong { color: var(--charcoal); font-weight: 500; }

/* SECTIONS */
.site-section { padding: 6rem 5%; }
.section-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.section-sub {
    font-size: 1rem;
    color: var(--grey);
    max-width: 580px;
    line-height: 1.8;
}

/* SERVICES */
.services-header { margin-bottom: 3.5rem; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5px;
    background: #e5e2dc;
    border: 1.5px solid #e5e2dc;
    border-radius: 10px;
    overflow: hidden;
}
.service-card {
    background: var(--white);
    padding: 2rem 2rem 2.5rem;
    transition: background 0.2s;
}
.service-card:hover { background: var(--cream); }
.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e8ede9;
    line-height: 1;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.9rem; color: var(--grey); line-height: 1.75; }

/* PERMITS */
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.section-dark .section-label { color: var(--green-mid); }
.permits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3rem;
}
.permits-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.permits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}
.permits-list li::before {
    content: '';
    width: 20px; height: 20px;
    background: rgba(0,147,69,0.2);
    border: 1px solid var(--green-mid);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23009345' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10l3.5 3.5L15 7'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}
.permits-cta { margin-top: 2.5rem; }
.permits-aside {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 2rem;
}
.permits-aside h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(0,147,69,0.1);
    border: 1px solid rgba(0,147,69,0.25);
    border-radius: 6px;
    margin-bottom: 0.75rem;
}
.cert-badge svg {
    width: 22px; height: 22px;
    stroke: var(--green-mid);
    fill: none; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}
.cert-badge div p:first-child { font-size: 0.9rem; font-weight: 500; color: var(--white); line-height: 1.3; }
.cert-badge div p:last-child { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 1px; }
.service-area { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.service-area p { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.area-tag { font-size: 0.8rem; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }

/* ABOUT */
.section-cream { background: var(--cream); }
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}
.about-visual {
    background: var(--green-dark);
    border-radius: 10px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.about-visual::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(0,147,69,0.2);
}
.about-placeholder { text-align: center; position: relative; z-index: 1; }
.about-placeholder svg { width: 64px; height: 64px; stroke: rgba(0,147,69,0.5); fill: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.about-placeholder p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.about-body { font-size: 0.95rem; color: var(--grey); line-height: 1.85; margin-bottom: 1.5rem; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--green-dark); line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--grey); margin-top: 0.3rem; }

/* CONTACT PAGE */
.page-hero {
    background: var(--green-dark);
    padding: 5rem 5% 4rem;
    text-align: center;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 500px; margin: 0 auto; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    margin-top: 3rem;
    align-items: start;
}
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--green-dark); margin-bottom: 1rem; font-weight: 500; }
.contact-info p { font-size: 0.9rem; color: var(--grey); line-height: 1.8; margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--charcoal); margin-bottom: 0.75rem; }
.contact-detail svg { width: 18px; height: 18px; stroke: var(--green-mid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--charcoal); letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #d4d1cc;
    border-radius: 5px;
    padding: 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color 0.2s;
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-mid); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
    background: var(--green-dark);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 5px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}
.form-submit:hover { background: var(--green-mid); }

/* BLOG / INSIGHTS */
.blog-hero {
    background: var(--green-dark);
    padding: 5rem 5% 4rem;
}
.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.blog-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 500px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.blog-card {
    background: var(--white);
    border: 1px solid #e5e2dc;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--green-mid); }
.blog-card-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: var(--cream);
}
.blog-card-thumb-placeholder {
    width: 100%;
    height: 200px;
    background: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-thumb-placeholder svg { width: 40px; height: 40px; stroke: rgba(0,147,69,0.4); fill: none; stroke-width: 1; }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: 0.78rem; color: var(--grey); margin-bottom: 0.75rem; letter-spacing: 0.03em; }
.blog-card-meta span { color: var(--green-mid); font-weight: 500; }
.blog-card h2 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 500; color: var(--green-dark); margin-bottom: 0.75rem; line-height: 1.35; }
.blog-card h2 a { text-decoration: none; color: inherit; }
.blog-card h2 a:hover { color: var(--green-mid); }
.blog-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-card-link { font-size: 0.85rem; color: var(--green-mid); text-decoration: none; font-weight: 500; }
.blog-card-link:hover { text-decoration: underline; }

.no-posts { text-align: center; padding: 4rem 0; color: var(--grey); font-size: 0.95rem; }

/* SINGLE POST */
.single-post-hero {
    background: var(--green-dark);
    padding: 5rem 5% 4rem;
}
.single-post-hero .post-meta { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.single-post-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    max-width: 800px;
}
.post-content-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 5%;
}
.post-content-wrap .post-thumb {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    display: block;
}
.post-content h2, .post-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--green-dark);
    margin: 2rem 0 1rem;
    font-weight: 500;
}
.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.25rem; }
.post-content p { font-size: 0.95rem; color: var(--charcoal); line-height: 1.85; margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--charcoal); font-size: 0.95rem; line-height: 1.85; }
.post-content a { color: var(--green-mid); }
.post-content img { border-radius: 6px; margin: 1.5rem 0; }
.post-back { font-size: 0.88rem; color: var(--green-mid); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 2rem; }
.post-back:hover { text-decoration: underline; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid #e5e2dc;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--charcoal);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.pagination a:hover { border-color: var(--green-mid); color: var(--green-mid); }
.pagination .current { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

/* FOOTER */
footer.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.45);
    padding: 2rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-name { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: rgba(255,255,255,0.8); font-weight: 500; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content { max-width: 100%; }
    .permits-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-visual { min-height: 200px; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .trust-bar { gap: 1.25rem; }
    .post-content-wrap { padding: 3rem 5%; }
    .single-post-hero .post-thumb { height: 240px; }
}
