/* ============================================
   Depot on 59 — Styles
   Forest Green + Off-White · Confident Corporate
   ============================================ */

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

:root {
    --green-900: #0d1f15;
    --green-800: #1a3c2a;
    --green-700: #234d36;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-100: #d1fae5;
    --green-50:  #ecfdf5;
    
    --cream:     #f5f0e8;
    --cream-light:#faf7f2;
    --cream-dark:#e8e0d0;
    
    --white:     #ffffff;
    --black:     #0a0a0a;
    --gray-900:  #111827;
    --gray-700:  #374151;
    --gray-500:  #6b7280;
    --gray-300:  #d1d5db;
    --gray-100:  #f3f4f6;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
    
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background-color: var(--cream-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--green-600);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--cream);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

/* --- Section Utilities --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--green-600);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--green-800);
    margin-bottom: 24px;
}

.text-accent {
    color: var(--green-600);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

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

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}

.btn-ghost:hover {
    background: var(--green-800);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--green-800);
    color: var(--cream);
    padding: 10px 22px;
    font-size: 0.88rem;
}

.btn-nav:hover {
    background: var(--green-700);
    color: var(--cream);
}

.btn-map {
    margin-top: 16px;
    font-size: 0.88rem;
    padding: 12px 24px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-dark);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--green-800);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.logo-light .logo-text {
    color: var(--cream);
}

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-nav a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--green-800);
    background: var(--green-50);
}

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

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--cream-light);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    border: 1px solid var(--green-100);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--green-800);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 680/820;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--green-600);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.hero-floating-card {
    position: absolute;
    bottom: 32px;
    left: -24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-800);
}

.hero-floating-card svg {
    color: var(--green-600);
    flex-shrink: 0;
}

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

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

.about-text p {
    color: var(--gray-700);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.about-feature svg {
    color: var(--green-600);
    flex-shrink: 0;
}

.about-image-group {
    position: relative;
}

.about-img-main {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 60%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--cream-dark);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-100);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: 24px;
    transition: all var(--transition);
}

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

.service-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 14px;
}

.service-card > p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.service-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--green-600);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Gallery Strip --- */
.gallery-strip {
    background: var(--green-800);
    padding: 0;
    overflow: hidden;
}

.gallery-scroll {
    display: flex;
    gap: 4px;
    overflow: hidden;
}

.gallery-scroll img {
    flex: 1;
    min-width: 0;
    height: 280px;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.gallery-scroll img:hover {
    opacity: 1;
}

/* --- Location --- */
.location {
    padding: 100px 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.location-detail {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.location-detail:first-child {
    padding-top: 0;
}

.location-detail:last-child {
    border-bottom: none;
}

.location-icon {
    width: 44px;
    height: 44px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.location-detail strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-800);
    margin-bottom: 4px;
}

.location-detail p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.location-detail a {
    color: var(--green-600);
}

.location-detail a:hover {
    color: var(--green-800);
    text-decoration: underline;
}

/* Map placeholder */
.map-placeholder {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    border: 2px dashed var(--cream-dark);
}

.map-placeholder svg {
    margin: 0 auto 16px;
    color: var(--green-600);
}

.map-placeholder p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 4px;
    font-weight: 500;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: var(--green-800);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.cta-content .section-label {
    color: var(--green-100);
}

.cta-content .section-label::before {
    background: var(--green-100);
}

.cta-content .section-heading {
    color: var(--cream);
}

.cta-content .text-accent {
    color: var(--green-100);
}

.cta-content > p {
    color: rgba(245, 240, 232, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 440px;
}

/* Form */
.cta-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--cream-light);
    color: var(--gray-900);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1rem;
    margin-top: 4px;
}

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

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

/* --- Footer --- */
.footer {
    background: var(--green-900);
    color: var(--cream);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-brand p {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-tagline {
    margin-top: 8px !important;
    font-style: italic;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cream);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.92rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--cream);
    padding-left: 4px;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.4);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

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

    .services-grid .service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(245, 240, 232, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 24px;
        border-bottom: 1px solid var(--cream-dark);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .btn-nav {
        text-align: center;
        justify-content: center;
    }

    /* Hero mobile */
    .hero {
        padding-top: 72px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0 60px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-wrapper {
        aspect-ratio: 4/3;
    }

    .hero-floating-card {
        left: 16px;
        bottom: 16px;
    }

    .hero-stats {
        gap: 16px;
    }

    /* About mobile */
    .about {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 50%;
        margin-top: -40px;
        margin-left: auto;
    }

    /* Services mobile */
    .services {
        padding: 60px 0;
    }

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

    .services-grid .service-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    /* Gallery mobile */
    .gallery-scroll {
        flex-direction: column;
    }

    .gallery-scroll img {
        height: 200px;
    }

    /* Location mobile */
    .location {
        padding: 60px 0;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* CTA mobile */
    .cta {
        padding: 60px 0;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-form {
        padding: 28px;
    }

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

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 1.85rem;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .service-card {
        padding: 28px 24px;
    }

    .cta-form {
        padding: 20px;
    }
}
