/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    --cream-50:  #fefdf8;
    --cream-100: #faf9f6;
    --cream-200: #f5f3ed;
    --cream-300: #e8e4d8;

    --stone-50:  #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--stone-700);
    background: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--emerald-700); color: #fff;
    padding: 8px 16px; border-radius: var(--radius-sm);
    z-index: 1000; font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { color: var(--stone-900); font-weight: 700; line-height: 1.2; }

.section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--emerald-600);
    background: var(--emerald-50); border: 1px solid var(--emerald-200);
    padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}

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

.section-sub {
    font-size: 1.1rem; color: var(--stone-500);
    max-width: 560px; line-height: 1.7;
}

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 0.95rem;
    padding: 12px 24px; border-radius: var(--radius-md);
    transition: all var(--transition); white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: #fff; box-shadow: 0 4px 16px rgba(5,150,105,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5,150,105,0.4);
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-500));
}

.btn-ghost {
    background: rgba(255,255,255,0.15); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--emerald-600); color: #fff;
    padding: 10px 20px; border-radius: var(--radius-sm);
    font-size: 0.88rem;
}
.btn-nav:hover { background: var(--emerald-700); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

.btn-light {
    background: #fff; color: var(--emerald-700);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ─── HEADER ─── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,253,248,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition);
}
.site-header.scrolled {
    background: rgba(250,253,248,0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.2rem; font-weight: 700;
    color: var(--stone-800);
}
.logo:hover { color: var(--stone-900); }

.logo-icon { color: var(--emerald-600); }

.logo-text { font-family: var(--font-serif); }
.logo-accent { color: var(--emerald-600); }

/* ─── NAV ─── */
.nav-menu {
    display: flex; align-items: center; gap: 4px;
}

.nav-menu a {
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 0.92rem; font-weight: 500;
    color: var(--stone-600);
    transition: all var(--transition);
}
.nav-menu a:hover {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

.nav-toggle {
    display: none;
    padding: 8px; border-radius: var(--radius-sm);
    color: var(--stone-700);
    transition: background var(--transition);
}
.nav-toggle:hover { background: var(--cream-200); }

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        #047857 0%,
        #059669 25%,
        #10b981 50%,
        #34d399 70%,
        #6ee7b7 100%
    );
}

.hero-pattern { position: absolute; inset: 0; opacity: 0.6; }

.hero-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 800px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    color: #fff; font-size: 0.85rem; font-weight: 500;
    padding: 8px 20px; border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800; color: #fff;
    line-height: 1.15; margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, #fff, var(--emerald-100));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.hero-stats {
    display: flex; align-items: center;
    justify-content: center; gap: 0;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 20px 40px;
}

.hero-stat {
    text-align: center; padding: 0 24px;
}
.hero-stat .stat-number {
    display: block; font-size: 1.1rem;
    font-weight: 700; color: #fff;
}
.hero-stat .stat-label {
    font-size: 0.82rem; color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.25);
}

.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0;
    line-height: 0;
}

/* ─── SERVICES ─── */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}

.section-header {
    text-align: center; margin-bottom: 60px;
}
.section-header .section-sub { margin: 0 auto; }

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

.service-card {
    background: #fff;
    border: 1px solid var(--cream-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(--emerald-400), var(--emerald-600));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    color: var(--emerald-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--emerald-100);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.15rem; margin-bottom: 10px;
    color: var(--stone-800);
}
.service-card p {
    font-size: 0.95rem; color: var(--stone-500);
    line-height: 1.7;
}

/* ─── WHY US ─── */
.why-us {
    padding: 100px 0;
    background: var(--cream-100);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.why-us-content .section-sub { margin-bottom: 40px; }

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

.reason {
    display: flex; gap: 20px;
}

.reason-num {
    font-family: var(--font-serif);
    font-size: 2rem; font-weight: 800;
    color: var(--emerald-200);
    line-height: 1; flex-shrink: 0;
    width: 40px;
}

.reason h4 {
    font-size: 1.05rem; margin-bottom: 6px;
    color: var(--stone-800);
}
.reason p {
    font-size: 0.93rem; color: var(--stone-500);
    line-height: 1.7;
}

.why-us-visual { position: relative; }

.why-us-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.why-us-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.why-us-image:hover img { transform: scale(1.03); }

.why-us-image-accent {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(5,150,105,0.1), transparent);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.why-us-floating-card {
    position: absolute; bottom: -20px; left: -20px;
    background: #fff;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-lg);
}
.why-us-floating-card svg { color: var(--emerald-500); flex-shrink: 0; }
.why-us-floating-card strong {
    display: block; font-size: 0.9rem; color: var(--stone-800);
}
.why-us-floating-card span {
    font-size: 0.8rem; color: var(--stone-400);
}

/* ─── ABOUT ─── */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.about-image-wrap {
    position: relative; border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-xl);
}
.about-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.about-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(5,150,105,0.08), transparent 60%);
    border-radius: var(--radius-xl);
}

.about-content .section-sub { margin-bottom: 24px; }
.about-content p {
    font-size: 0.98rem; color: var(--stone-500);
    line-height: 1.8; margin-bottom: 16px;
}

.about-values {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 32px;
}

.value-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.92rem; font-weight: 500;
    color: var(--stone-700);
}
.value-item svg { color: var(--emerald-500); flex-shrink: 0; }

/* ─── TESTIMONIALS ─── */
.testimonials {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 4rem; line-height: 1;
    color: var(--emerald-200);
    position: absolute; top: 16px; left: 24px;
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.98rem; color: var(--stone-600);
    line-height: 1.75; margin-bottom: 24px;
    margin-top: 24px; position: relative; z-index: 1;
}

.testimonial-author {
    display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: 50%; color: var(--emerald-500);
}
.testimonial-author strong {
    display: block; font-size: 0.92rem; color: var(--stone-800);
}
.testimonial-author span {
    font-size: 0.8rem; color: var(--stone-400);
}

/* ─── CTA BANNER ─── */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; }

.cta-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        var(--emerald-800) 0%,
        var(--emerald-700) 40%,
        var(--emerald-600) 70%,
        var(--emerald-500) 100%
    );
}

.cta-pattern { position: absolute; inset: 0; }

.cta-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 680px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #fff; margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem; color: rgba(255,255,255,0.8);
    margin-bottom: 36px; line-height: 1.75;
}

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

/* ─── CONTACT ─── */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-sub { margin-bottom: 36px; }

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

.contact-item {
    display: flex; gap: 16px;
}

.contact-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    color: var(--emerald-600);
    flex-shrink: 0;
}

.contact-item strong {
    display: block; font-size: 0.92rem;
    color: var(--stone-800); margin-bottom: 4px;
}
.contact-item p, .contact-item a {
    font-size: 0.9rem; color: var(--stone-500);
    line-height: 1.6;
}
.contact-item a:hover { color: var(--emerald-600); }

/* ─── FORM ─── */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.4rem; margin-bottom: 8px;
}
.form-note {
    font-size: 0.9rem; color: var(--stone-400);
    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.88rem;
    font-weight: 600; color: var(--stone-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem; color: var(--stone-800);
    background: var(--cream-50);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone-300); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: flex; align-items: center; gap: 10px;
    margin-top: 16px; padding: 14px 18px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    font-size: 0.92rem; font-weight: 500;
}
.form-success svg { color: var(--emerald-500); flex-shrink: 0; }

/* ─── FOOTER ─── */
.site-footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 60px 0 0;
}

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

.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-links h4,
.footer-contact h4 {
    font-size: 0.88rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--stone-200); margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9rem; color: var(--stone-400);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald-400); }

.footer-contact p {
    font-size: 0.9rem; line-height: 1.7;
    margin-bottom: 4px;
}
.footer-contact a {
    color: var(--stone-400);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--emerald-400); }

.footer-bottom {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 12px;
    padding: 24px 0;
    font-size: 0.82rem; color: var(--stone-500);
}

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    
    .nav-menu {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: rgba(250,253,248,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu a {
        width: 100%; padding: 12px 16px;
        font-size: 1rem;
    }
    .btn-nav {
        width: 100%; justify-content: center;
        margin-top: 8px;
    }
}

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

@media (max-width: 768px) {
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 24px; }
    .hero-stat-divider { width: 48px; height: 1px; }
    
    .why-us-grid,
    .about-inner,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .why-us-visual { order: -1; }
    .why-us-floating-card { bottom: -16px; left: 16px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    
    .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ─── ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    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; }
