/* ============================================
   HARBOR SOILS — Clean Modern Landscape Supply
   Palette: Earth browns + natural greens
   ============================================ */

:root {
    --color-earth: #3D2B1F;
    --color-green: #2D5016;
    --color-green-light: #4A7C25;
    --color-green-pale: #E8F0E0;
    --color-sand: #F5F0E8;
    --color-warm: #8B6914;
    --color-white: #FFFFFF;
    --color-text: #3A3A3A;
    --color-text-light: #6B6B6B;
    --color-text-muted: #999;
    --color-border: #E5E0D8;
    --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --max-width: 1200px;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-main); font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 800; line-height: 1.15; color: var(--color-earth); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-green { color: var(--color-green); }

.section-tag {
    display: inline-block; font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-green);
    margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.875rem 2rem; font-family: var(--font-main); font-size: 0.875rem;
    font-weight: 700; border: none; border-radius: 10px; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--color-green); color: var(--color-white); }
.btn-primary:hover { background: var(--color-green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,80,22,0.2); }
.btn-white { background: var(--color-white); color: var(--color-earth); }
.btn-white:hover { background: var(--color-sand); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--color-white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { border-color: var(--color-white); background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ============ HEADER ============ */
.site-header { background: var(--color-white); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0.75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.site-logo img { height: 40px; width: auto; }
.logo-text { font-size: 1.375rem; font-weight: 800; color: var(--color-earth); }
.logo-text span { color: var(--color-green); }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav a { font-size: 0.875rem; font-weight: 500; color: var(--color-text-light); }
.site-nav a:hover { color: var(--color-green); }
.header-right { display: flex; align-items: center; }
.header-phone { font-size: 0.875rem; font-weight: 700; color: var(--color-green); margin-right: 1rem; }
.header-cta { font-size: 0.8125rem; font-weight: 700; padding: 0.625rem 1.25rem; background: var(--color-green); color: var(--color-white); border-radius: 8px; }
.header-cta:hover { background: var(--color-green-light); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--color-earth); margin: 5px 0; }
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--color-white); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.mobile-nav.active { opacity: 1; pointer-events: all; }
.mobile-nav a { font-size: 1.5rem; font-weight: 700; color: var(--color-earth); }
.mobile-phone { font-size: 1.25rem; font-weight: 700; color: var(--color-green); margin-top: 1rem; }

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 6rem 0;
    background: var(--color-earth);
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video-wrap {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
}
.hero-video {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(20,14,10,0.88) 0%, rgba(20,14,10,0.75) 60%, rgba(20,14,10,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; color: var(--color-white); }
.hero-badge { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em; color: var(--color-green-pale); margin-bottom: 1.5rem; padding: 0.5rem 1rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; }
.hero h1 { color: var(--color-white); margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-badge-item { font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.7); }

/* ============ PRODUCTS ============ */
.products-section { padding: 5rem 0; background: var(--color-sand); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
    background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px;
    padding: 2rem; transition: var(--transition); text-align: center;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: var(--color-green); }
.product-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.product-card h3 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.product-card p { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.7; }

/* ============ CALCULATOR STRIP ============ */
.calc-strip { background: var(--color-green-pale); border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
.calc-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.calc-strip-text { display: flex; align-items: center; gap: 1rem; }
.calc-icon { font-size: 2rem; flex-shrink: 0; }
.calc-strip-text strong { display: block; font-size: 1rem; font-weight: 700; color: var(--color-earth); margin-bottom: 0.125rem; }
.calc-strip-text p { font-size: 0.9375rem; color: var(--color-text-light); margin: 0; }
@media (max-width: 768px) { .calc-strip-inner { flex-direction: column; text-align: center; } .calc-strip-text { flex-direction: column; } }

/* ============ HOW IT WORKS ============ */
.how-section { padding: 5rem 0; background: var(--color-earth); }
.how-section .section-header { color: var(--color-white); }
.how-section .section-tag { color: var(--color-green-light); }
.how-section h2 { color: var(--color-white); }
.how-section .section-desc { color: rgba(255,255,255,0.65); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.step-card { text-align: center; padding: 2.5rem 2rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; }
.step-number { width: 52px; height: 52px; border-radius: 50%; background: var(--color-green); color: var(--color-white); font-size: 1.375rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.step-card h3 { color: var(--color-white); font-size: 1.125rem; margin-bottom: 0.75rem; }
.step-card p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.7; }
.how-cta { text-align: center; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

/* ============ REVIEWS ============ */
.reviews-section { padding: 5rem 0; background: var(--color-sand); }
.reviews-rating { display: flex; align-items: center; gap: 0.75rem; justify-content: center; margin-top: 0.5rem; }
.stars { font-size: 1.5rem; color: #F4B942; letter-spacing: 2px; }
.reviews-rating span { font-size: 1rem; font-weight: 700; color: var(--color-earth); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.review-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; padding: 2rem; }
.review-stars { color: #F4B942; font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.review-card p { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.75; font-style: italic; margin-bottom: 1.25rem; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.review-author strong { display: block; font-size: 0.9375rem; color: var(--color-earth); }
.review-author span { font-size: 0.8125rem; color: var(--color-text-muted); }
.reviews-cta { text-align: center; }
.btn-text-link { font-size: 0.9375rem; font-weight: 600; color: var(--color-green); border-bottom: 1px solid var(--color-green); padding-bottom: 1px; }
.btn-text-link:hover { color: var(--color-green-light); border-color: var(--color-green-light); }
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============ WHY SECTION ============ */
.why-section { padding: 5rem 0; }
.why-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.why-content h2 { margin-bottom: 1rem; }
.why-content > p { font-size: 1.0625rem; color: var(--color-text-light); line-height: 1.8; margin-bottom: 1.5rem; }
.why-list { margin-bottom: 2rem; }
.why-list li { padding: 0.5rem 0; font-size: 1rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.why-list li:last-child { border-bottom: none; }
.why-list strong { color: var(--color-green); }
.why-placeholder {
    background: var(--color-sand); border-radius: 12px; padding: 3rem; text-align: center;
    border: 1px solid var(--color-border);
}
.why-placeholder span { font-size: 3rem; display: block; margin-bottom: 1rem; }
.why-placeholder p { font-size: 1.0625rem; color: var(--color-text); line-height: 1.8; }
.why-hours { margin-top: 1rem; font-size: 0.9375rem; color: var(--color-text-light); }

/* ============ DELIVERY ============ */
.delivery-section { padding: 5rem 0; background: var(--color-green-pale); }
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 800px; margin: 0 auto; }
.delivery-item {
    background: var(--color-white); border-radius: 10px; padding: 1rem; text-align: center;
    font-weight: 600; font-size: 0.9375rem; color: var(--color-earth); border: 1px solid var(--color-border);
}

/* ============ BLOG / POSTS ============ */
.blog-section { padding: 5rem 0; }
.tag-badge { display: inline-block; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-green); margin-bottom: 0.5rem; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; transition: var(--transition); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.post-card-image { display: block; overflow: hidden; }
.post-card-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card-content { padding: 1.25rem; }
.post-card-content h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.post-card-content h3 a:hover { color: var(--color-green); }
.post-card-content p { font-size: 0.9375rem; color: var(--color-text-light); }
.post-meta { font-size: 0.8125rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }

/* ============ CTA ============ */
.cta-section { padding: 5rem 0; background: var(--color-green); text-align: center; }
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: var(--color-white); margin-bottom: 0.75rem; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.125rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ POST / PAGE FULL ============ */
.post-header { padding: 5rem 0 2rem; text-align: center; background: var(--color-sand); }
.post-title { margin-bottom: 1rem; }
.post-excerpt { font-size: 1.25rem; color: var(--color-text-light); max-width: 700px; margin: 0 auto 1.5rem; }
.post-author { font-weight: 600; }
.post-feature-image { max-width: 1000px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.post-feature-image img { border-radius: 12px; }
.post-feature-image figcaption { text-align: center; font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.75rem; }
.post-content { max-width: 720px; margin: 0 auto; padding: 0 1.5rem 5rem; }
.post-content p { font-size: 1.0625rem; line-height: 1.85; margin-bottom: 1.5rem; }
.post-content h1 { font-size: 1.625rem; margin: 2.5rem 0 1.25rem; }
.post-content h2 { font-size: 1.375rem; margin: 2.25rem 0 1rem; }
.post-content h3 { font-size: 1.125rem; margin: 2rem 0 1rem; }
.post-content img { border-radius: 12px; margin: 2rem 0; }
.post-content a { color: var(--color-green); text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: var(--color-green-light); }
.post-content blockquote { border-left: 3px solid var(--color-green); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: var(--color-text-light); }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-content li { list-style: disc; margin-bottom: 0.5rem; line-height: 1.8; }
.post-content ol li { list-style: decimal; }
.post-tags { max-width: 720px; margin: 0 auto; padding: 0 1.5rem 4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-tag-link { font-size: 0.8125rem; padding: 0.375rem 0.875rem; background: var(--color-sand); border: 1px solid var(--color-border); border-radius: 20px; color: var(--color-text-light); }
.post-tag-link:hover { border-color: var(--color-green); color: var(--color-green); }

.page-header { padding: 5rem 0 2rem; text-align: center; background: var(--color-sand); }
.page-title { margin-bottom: 0.75rem; }
.page-excerpt { font-size: 1.125rem; color: var(--color-text-light); }
.page-content { padding: 3rem 0 5rem; }
.page-content-inner { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.page-content-inner p { font-size: 1.0625rem; line-height: 1.85; margin-bottom: 1.5rem; }
.page-content-inner h2 { font-size: 1.5rem; margin: 2.5rem 0 1.25rem; }
.page-content-inner h3 { font-size: 1.125rem; margin: 2rem 0 1rem; }

/* ============ ARCHIVE ============ */
.archive-header { padding: 5rem 0 2rem; text-align: center; background: var(--color-sand); border-bottom: 1px solid var(--color-border); }
.archive-desc { font-size: 1.0625rem; color: var(--color-text-light); margin-top: 0.75rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.related-section { padding: 5rem 0; background: var(--color-sand); border-top: 1px solid var(--color-border); }
.related-title { text-align: center; margin-bottom: 2rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 3rem 0 0; }
.pagination-link { font-size: 0.875rem; font-weight: 600; color: var(--color-green); }
.pagination-info { font-size: 0.8125rem; color: var(--color-text-muted); }

/* ============ ERROR ============ */
.error-page { padding: 8rem 0; text-align: center; }
.error-code { font-size: 6rem; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.error-message { font-size: 1.25rem; color: var(--color-text-light); margin-bottom: 2rem; }

/* ============ FOOTER ============ */
.site-footer { background: var(--color-earth); padding: 4rem 0 2rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo-text { font-size: 1.375rem; font-weight: 800; color: var(--color-white); display: block; margin-bottom: 0.75rem; }
.footer-logo-text span { color: var(--color-green-light); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9375rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 0.875rem; display: block; }
.footer-col a:hover { color: var(--color-green-light); }
.footer-address { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-hours { color: rgba(255,255,255,0.4); font-size: 0.8125rem; margin-top: 0.75rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.25); }

/* ============ GHOST CARD WIDTHS ============ */
.kg-width-wide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.kg-width-full { max-width: none; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.kg-width-full img { width: 100%; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .delivery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .site-nav, .header-cta, .header-phone { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav { display: flex; }
    .products-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .delivery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
