:root {
    --green-900: #064E3B;
    --green-800: #065F46;
    --green-700: #047857;
    --green-600: #059669;
    --green-500: #10B981;
    --green-100: #D1FAE5;
    --green-50:  #ECFDF5;
    --off-white: #F8F7F4;
    --cream:     #F1F0EC;
    --sand:      #E8E6E0;
    --charcoal:  #1A1D1C;
    --slate:     #2D3331;
    --gray-600:  #4B5553;
    --gray-400:  #9CA39F;
    --gray-200:  #E5E7E5;
    --white:     #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

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

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 247, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    color: var(--green-900);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    z-index: 1001;
}
.logo .logo-sub {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--gray-600);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.logo-light { color: var(--white) !important; }
.logo-light .logo-sub { color: rgba(255,255,255,0.7) !important; }

/* NAV */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--slate);
    transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover {
    background: var(--green-50);
    color: var(--green-800);
}
.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--green-800) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}
.nav-phone:hover {
    background: var(--green-700) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--charcoal);
    transition: background var(--transition);
    z-index: 1001;
}
.nav-toggle:hover { background: var(--green-50); }
.close-icon { display: none; }

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #064E3B 0%, #047857 30%, #059669 55%, #10B981 80%, #34D399 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(52, 211, 153, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(6, 78, 59, 0.4) 0%, transparent 50%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    padding: 0 16px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-line { display: block; }
.hero-line.highlight {
    position: relative;
    display: inline-block;
}
.hero-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.hero-desc {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    color: var(--off-white);
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--white);
    color: var(--green-900);
    border-color: var(--white);
}
.btn-primary:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-dark {
    background: var(--green-900);
    color: var(--white);
    border-color: var(--green-900);
}
.btn-dark:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-light {
    background: var(--white);
    color: var(--green-900);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* SECTION STYLES */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--green-600);
    border-radius: 1px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-desc {
    font-size: 1.063rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

/* SERVICES */
.services {
    padding: 100px 24px;
    background: var(--off-white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-700), var(--green-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-100);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-md);
    color: var(--green-700);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
}
.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}
.service-desc {
    font-size: 0.938rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ABOUT */
.about {
    padding: 100px 24px;
    background: var(--cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 7/6;
    object-fit: cover;
}
.about-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--green-600);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}
.about-stat-card {
    position: absolute;
    bottom: 24px;
    left: -24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.about-stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-800);
}
.about-stat-card .stat-label {
    font-size: 0.813rem;
    color: var(--gray-600);
    font-weight: 500;
}
.about-content .section-title { margin-top: 8px; }
.about-text {
    font-size: 1.063rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 28px 0 36px;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--slate);
}
.about-list li svg {
    color: var(--green-600);
    flex-shrink: 0;
}
.about-content .btn-dark { margin-top: 8px; }

/* GALLERY */
.gallery {
    padding: 100px 24px;
    background: var(--off-white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

/* CTA BANNER */
.cta-banner {
    position: relative;
    padding: 96px 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-600) 100%);
}
.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(52, 211, 153, 0.2) 0%, transparent 60%);
}
.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CONTACT */
.contact {
    padding: 100px 24px;
    background: var(--off-white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-desc {
    font-size: 1.063rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    gap: 16px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-md);
    color: var(--green-700);
}
.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}
.contact-item p {
    font-size: 0.938rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.contact-item a {
    color: var(--green-700);
    font-weight: 500;
    transition: color var(--transition);
}
.contact-item a:hover { color: var(--green-900); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; }

/* FORM */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--charcoal);
    background: var(--off-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: 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(5, 150, 105, 0.12);
    background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
    font-size: 0.813rem;
    color: var(--gray-400);
    margin-top: 12px;
    text-align: center;
}
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.form-success svg { color: var(--green-600); margin-bottom: 16px; }
.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}
.form-success p {
    font-size: 0.938rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* FOOTER */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: 72px 24px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-400); }
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    margin-bottom: 10px;
}
.footer-contact a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--green-400); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.813rem;
    color: rgba(255,255,255,0.4);
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-800);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--green-700);
    transform: translateY(-2px);
}

/* 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);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a {
        padding: 14px 16px;
        font-size: 1.063rem;
        border-radius: var(--radius-sm);
    }
    .nav-phone {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
        border-radius: var(--radius-sm);
    }
    .nav-toggle[aria-expanded="true"] .hamburger { display: none; }
    .nav-toggle[aria-expanded="true"] .close-icon { display: block; }
    
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    .nav-overlay.active { opacity: 1; visibility: visible; }

    .hero { min-height: 100svh; padding: 100px 20px 80px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { gap: 16px; }
    .trust-item { font-size: 0.813rem; }

    .services { padding: 72px 20px; }
    .services-grid { grid-template-columns: 1fr; }

    .about { padding: 72px 20px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stat-card { left: 16px; }
    .about-list { grid-template-columns: 1fr; }

    .gallery { padding: 72px 20px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }

    .cta-banner { padding: 72px 20px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; justify-content: center; }

    .contact { padding: 72px 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer { padding: 56px 20px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
}
