/* ========================================
   Property Restoration & Outdoors
   Clean Minimalist — Forest Green + Off-White
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-900: #0d2818;
    --green-800: #1a4d2e;
    --green-700: #236b3f;
    --green-600: #2d8a52;
    --green-500: #3da864;
    --green-100: #d1f2e0;
    --green-50:  #eaf8ef;
    
    --off-white: #f7f5f0;
    --cream:     #faf9f6;
    --warm-gray: #8a8578;
    --dark:      #1a1a18;
    --dark-soft: #2e2e2a;
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border: 1.5px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 77, 46, 0.2);
}

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.35);
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.8);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--green-800);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--green-50);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.4s var(--ease-out);
}

.site-header.scrolled .container {
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff;
    transition: color 0.4s;
}

.site-header.scrolled .logo {
    color: var(--dark);
}

.logo-icon {
    color: #fff;
    transition: color 0.4s;
}

.site-header.scrolled .logo-icon {
    color: var(--green-800);
}

.logo-text {
    line-height: 1.3;
}

/* --- Nav --- */
.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav a:not(.nav-cta) {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.75);
    transition: color 0.3s;
    position: relative;
}

.nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-out);
}

.nav a:not(.nav-cta):hover {
    color: #fff;
}

.nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.site-header.scrolled .nav a:not(.nav-cta) {
    color: var(--warm-gray);
}

.site-header.scrolled .nav a:not(.nav-cta):hover {
    color: var(--dark);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 9px 18px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.site-header.scrolled .nav-cta {
    color: var(--green-800);
    border-color: var(--green-800);
}

.site-header.scrolled .nav-cta:hover {
    background: var(--green-800);
    color: #fff;
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.site-header.scrolled .mobile-toggle span {
    background: var(--dark);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--green-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.mobile-link:hover {
    color: #fff;
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-contact a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.mobile-contact a:hover {
    color: #fff;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 40, 24, 0.72) 0%,
        rgba(13, 40, 24, 0.65) 40%,
        rgba(13, 40, 24, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-title em {
    font-style: italic;
    color: var(--green-100);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 44px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* --- Trust Strip --- */
.trust-strip {
    background: var(--cream);
    border-bottom: 1px solid rgba(26, 77, 46, 0.08);
    padding: 28px 0;
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--dark-soft);
    letter-spacing: 0.02em;
    padding: 0 28px;
    white-space: nowrap;
}

.trust-item svg {
    color: var(--green-700);
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(26, 77, 46, 0.15);
    flex-shrink: 0;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.services .section-header {
    text-align: center;
    margin-bottom: 72px;
}

.services .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(26, 77, 46, 0.08);
    border: 1px solid rgba(26, 77, 46, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.service-card {
    background: var(--cream);
    padding: 48px 36px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

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

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 24px;
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--green-800);
    color: #fff;
    border-color: var(--green-800);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.75;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--off-white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--green-100);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 77, 46, 0.1);
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--green-800);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(26, 77, 46, 0.12);
    flex-shrink: 0;
}

/* --- Work --- */
.work {
    padding: 120px 0;
    background: var(--cream);
}

.work .section-header {
    text-align: center;
    margin-bottom: 72px;
}

.work .section-subtitle {
    margin: 0 auto;
}

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

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 40, 24, 0.6);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #fff;
    text-transform: uppercase;
}

.work-item--large {
    grid-column: span 7;
    height: 360px;
}

.work-item--tall {
    grid-column: span 5;
    height: 360px;
}

.work-item:not(.work-item--large):not(.work-item--tall) {
    height: 172px;
}

/* --- CTA Band --- */
.cta-band {
    padding: 112px 0;
    background: var(--green-900);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50%;
}

.cta-band::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.85;
    margin-bottom: 44px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail svg {
    color: var(--green-700);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--green-700);
}

/* --- Form --- */
.contact-form-wrapper {
    background: var(--off-white);
    border: 1px solid rgba(26, 77, 46, 0.08);
    border-radius: 6px;
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--dark);
    background: #fff;
    border: 1px solid rgba(26, 77, 46, 0.15);
    border-radius: 4px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(61, 168, 100, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 4px;
    color: var(--green-800);
    font-size: 0.9rem;
    font-weight: 400;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--green-700);
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo--light {
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 20px;
}

.footer-links a,
.footer-links span {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.8);
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        gap: 48px;
    }
    
    .work-item--large {
        grid-column: span 12;
        height: 300px;
    }
    
    .work-item--tall {
        grid-column: span 6;
        height: 280px;
    }
    
    .work-item:not(.work-item--large):not(.work-item--tall) {
        grid-column: span 6;
        height: 280px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 16px;
    }
    
    .trust-divider {
        display: none;
    }
    
    .trust-item {
        padding: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item--large,
    .work-item--tall,
    .work-item:not(.work-item--large):not(.work-item--tall) {
        grid-column: span 1;
        height: 240px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
