/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1a1a2e; background: #fdfaf3; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #fdfaf3;
    --cream-100: #f8f3e8;
    --cream-200: #f0e9d6;
    --cream-300: #e8dfc4;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --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.12), 0 4px 12px rgba(0,0,0,0.06);
    --transition: 0.25s ease;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--emerald-700); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); z-index: 200; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--emerald-700); color: #fff; }
.btn-primary:hover { background: var(--emerald-800); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--emerald-700); border: 2px solid var(--emerald-700); }
.btn-outline:hover { background: var(--emerald-700); color: #fff; }
.btn-light { background: #fff; color: var(--emerald-800); }
.btn-light:hover { background: var(--cream-100); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(253,250,243,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; letter-spacing: 0.04em; color: var(--emerald-800); }
.logo-icon { flex-shrink: 0; }
.logo-text { font-family: 'Montserrat', sans-serif; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-weight: 500; font-size: 0.9rem; color: var(--slate-700);
    transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover { color: var(--emerald-700); background: var(--cream-100); }
.nav-toggle { display: none; padding: 8px; border-radius: var(--radius-sm); }
.nav-toggle:focus-visible { outline: 2px solid var(--emerald-600); outline-offset: 2px; }
.hamburger {
    display: block; width: 22px; height: 2px; background: var(--slate-700);
    position: relative; border-radius: 2px; transition: background var(--transition);
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0; width: 100%; height: 2px;
    background: var(--slate-700); border-radius: 2px; transition: transform var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }
.header-phone { display: none; }

/* ===== HERO ===== */
.hero {
    padding-top: 72px; min-height: 100vh; min-height: 100dvh;
    background: var(--cream-50);
    display: flex; align-items: center;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: center; padding: 60px 0 80px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cream-100); color: var(--emerald-700);
    padding: 8px 16px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
    border: 1px solid var(--cream-200);
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800; line-height: 1.15;
    color: var(--slate-900); margin-bottom: 20px;
}
.text-accent { color: var(--emerald-700); }
.hero-subtitle {
    font-size: 1.125rem; color: var(--slate-600);
    line-height: 1.7; margin-bottom: 32px; max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 24px; align-items: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--emerald-700); }
.stat-label { font-size: 0.8rem; color: var(--slate-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: var(--cream-300); }
.hero-image-wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.hero-image-wrapper img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.hero-image-accent {
    position: absolute; bottom: -20px; right: -20px;
    width: 200px; height: 200px;
    background: var(--emerald-700); border-radius: var(--radius-lg);
    z-index: -1; opacity: 0.12;
}
.hero-trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px; font-size: 0.875rem; font-weight: 600;
    color: var(--emerald-700); background: var(--cream-100);
    padding: 10px 18px; border-radius: var(--radius-sm);
    border: 1px solid var(--cream-200);
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--emerald-600); margin-bottom: 12px;
}
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800; color: var(--slate-900);
    line-height: 1.2; margin-bottom: 16px;
}
.section-subtitle { font-size: 1.05rem; color: var(--slate-500); line-height: 1.7; }

/* ===== SERVICES ===== */
.services { padding: 96px 0; background: var(--cream-50); }
.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: 32px;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
    border-color: var(--emerald-500);
}
.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--cream-100); color: var(--emerald-700);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-card:hover .service-icon { background: var(--emerald-700); color: #fff; }
.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; font-weight: 700; color: var(--slate-900);
    margin-bottom: 10px;
}
.service-card p { font-size: 0.925rem; color: var(--slate-500); line-height: 1.65; }

/* ===== WHY US ===== */
.why-us { padding: 96px 0; background: var(--slate-900); }
.why-us .section-tag { color: var(--emerald-400); }
.why-us .section-title { color: #fff; }
.why-us .section-subtitle { color: var(--slate-400); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.split-image img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.split-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(6,78,59,0.3) 0%, transparent 60%);
    border-radius: var(--radius-lg);
}
.split-stat-card {
    position: absolute; bottom: 24px; left: 24px;
    background: #fff; border-radius: var(--radius-md);
    padding: 20px 28px; box-shadow: var(--shadow-lg);
}
.split-stat-number {
    display: block; font-family: 'Montserrat', sans-serif;
    font-size: 2rem; font-weight: 800; color: var(--emerald-700); line-height: 1;
}
.split-stat-label { display: block; font-size: 0.8rem; color: var(--slate-500); font-weight: 500; margin-top: 4px; }
.features-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.feature-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--slate-300); font-weight: 500; }
.feature-check { color: var(--emerald-500); flex-shrink: 0; }

/* ===== PRODUCTS ===== */
.products { padding: 96px 0; background: var(--cream-50); }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card {
    background: #fff; border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-img { overflow: hidden; }
.product-img img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem; font-weight: 700; color: var(--slate-900);
    padding: 20px 24px 8px;
}
.product-card p { font-size: 0.9rem; color: var(--slate-500); line-height: 1.65; padding: 0 24px 24px; }

/* ===== PROCESS ===== */
.process { padding: 96px 0; background: #fff; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step { position: relative; padding: 28px 20px; text-align: center; }
.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem; font-weight: 800; color: var(--cream-200);
    line-height: 1; margin-bottom: 16px;
}
.process-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; font-weight: 700; color: var(--slate-900);
    margin-bottom: 8px;
}
.process-step p { font-size: 0.85rem; color: var(--slate-500); line-height: 1.6; }
.process-step:not(:last-child)::after {
    content: ''; position: absolute; top: 44px; right: -10px;
    width: 20px; height: 2px; background: var(--cream-300);
}
.process-step:not(:last-child)::before {
    content: ''; position: absolute; top: 40px; right: -14px;
    width: 0; height: 0; border-top: 4px solid transparent;
    border-bottom: 4px solid transparent; border-left: 6px solid var(--cream-300);
}

/* ===== CTA BANNER ===== */
.cta-banner { padding: 80px 0; background: var(--emerald-800); }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
}
.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800; color: #fff; margin-bottom: 8px;
}
.cta-text { font-size: 1.05rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { padding: 96px 0; background: var(--cream-50); }
.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--cream-100); color: var(--emerald-700);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; color: var(--slate-700); line-height: 1.6; }
.contact-item a { color: var(--emerald-700); font-weight: 500; transition: color var(--transition); }
.contact-item a:hover { color: var(--emerald-500); text-decoration: underline; }

/* ===== FORM ===== */
.contact-form {
    background: #fff; border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--slate-700); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--cream-200); border-radius: var(--radius-sm);
    background: var(--cream-50); color: var(--slate-900);
    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(--emerald-500); box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--slate-400); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.8rem; color: var(--slate-400); text-align: center; margin-top: 12px; }
.form-success {
    display: flex; align-items: center; gap: 10px;
    padding: 16px; border-radius: var(--radius-sm);
    background: var(--cream-100); color: var(--emerald-800);
    font-weight: 600; font-size: 0.9rem; margin-top: 16px;
    border: 1px solid var(--cream-200);
}
.form-success svg { color: var(--emerald-600); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 64px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
    padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: var(--slate-400); max-width: 280px; }
.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #fff; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--slate-400); transition: color var(--transition); }
.footer-col a:hover { color: var(--emerald-400); }
.footer-col address { font-style: normal; font-size: 0.9rem; line-height: 1.8; }
.footer-col a { color: var(--slate-400); }
.footer-col a:hover { color: var(--emerald-400); text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0; text-align: center;
    font-size: 0.825rem; color: var(--slate-500);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
    display: none; position: fixed; inset: 0; z-index: 90;
    background: rgba(0,0,0,0.4);
}
.nav-overlay.active { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { gap: 32px; }
    .split-layout { gap: 40px; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .process-step:nth-child(4) { grid-column: 1 / 2; }
    .process-step:nth-child(5) { grid-column: 2 / 3; }
    .process-step:not(:last-child)::after,
    .process-step:not(:last-child)::before { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: var(--cream-50); flex-direction: column;
        align-items: stretch; padding: 24px; gap: 4px;
        transform: translateX(100%); transition: transform 0.3s ease;
        z-index: 95; overflow-y: auto;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a { padding: 14px 16px; font-size: 1rem; }
    .nav-toggle { display: block; z-index: 101; }
    .header-phone { display: none; }
    .hero-grid { grid-template-columns: 1fr; padding: 40px 0 60px; }
    .hero-image-wrapper img { height: 360px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .split-layout { grid-template-columns: 1fr; }
    .reverse-mobile.order-reverse { display: flex; flex-direction: column-reverse; }
    .split-image img { height: 320px; }
    .products-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-step:nth-child(3) { grid-column: 1 / 2; }
    .process-step:nth-child(4) { grid-column: 2 / 3; }
    .process-step:nth-child(5) { grid-column: 1 / -1; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .process-steps { grid-template-columns: 1fr; }
    .process-step:nth-child(n) { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .contact-form { padding: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); }
    .reveal.revealed { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
