/* ===== CSS Custom Properties ===== */
:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    
    --cream-50:  #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef3c7;
    --cream-400: #fde68a;
    --cream-800: #78716c;
    --cream-900: #57534e;
    
    --text-dark:  #1c1917;
    --text-body: #44403c;
    --text-muted:#78716c;
    --text-light: #a8a29e;
    
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--emerald-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--emerald-600);
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

em {
    font-style: italic;
    color: var(--emerald-700);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    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;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}

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

/* ===== Section Labels ===== */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.97);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--text-dark);
}

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

.logo-accent {
    color: var(--emerald-600);
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-cta {
    background: var(--emerald-700);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--emerald-800);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.pexels.com/photos/5799052/pexels-photo-5799052.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.88) 0%,
        rgba(4, 120, 87, 0.80) 50%,
        rgba(6, 95, 70, 0.85) 100%
    );
}

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

.hero-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-300);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-headline em {
    color: var(--cream-300);
    font-style: italic;
}

.hero-subheadline {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

.trust-item svg {
    color: var(--cream-400);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

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

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

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-100);
}

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

.service-card:hover .service-icon {
    background: var(--emerald-700);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

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

.about-image {
    position: relative;
}

.about-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stats {
    position: absolute;
    bottom: -32px;
    right: -32px;
    display: flex;
    gap: 16px;
}

.stat {
    background: var(--emerald-700);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0.85;
    line-height: 1.4;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    margin-bottom: 20px;
    color: var(--text-body);
    font-size: 1.02rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 32px 0;
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
}

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

.about-content .btn {
    margin-top: 8px;
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--emerald-600);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-100);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background: url('https://images.pexels.com/photos/6474192/pexels-photo-6474192.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center center / cover no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.92) 0%,
        rgba(4, 120, 87, 0.88) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cta-quote {
    position: relative;
    padding-left: 40px;
}

.cta-quote svg {
    color: var(--cream-400);
    margin-bottom: 16px;
    opacity: 0.6;
}

.cta-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
}

.cta-cta h3 {
    color: var(--white);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 16px;
}

.cta-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--cream-50);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition);
}

.info-card:hover {
    border-color: var(--emerald-100);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-700);
    border-radius: var(--radius-sm);
    color: var(--white);
    flex-shrink: 0;
}

.info-card h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.info-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-card a {
    color: var(--emerald-700);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--emerald-600);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    transition: all var(--transition);
    outline: none;
    width: 100%;
}

.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.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--emerald-600);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--emerald-700);
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--emerald-900);
    color: rgba(255,255,255,0.75);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 4px;
}

.footer-logo:hover {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.6;
    margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--cream-300);
    text-decoration: none;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.6;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

.footer-bottom a {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
}

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream-50);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        padding: 12px 16px;
        width: 100%;
    }
    
    .nav-cta {
        text-align: center;
        margin-top: 8px;
    }
    
    .hero-content {
        padding: 100px 20px 80px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-trust {
        gap: 16px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-stats {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 24px;
    }
    
    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content .btn {
        display: inline-flex;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-quote {
        padding-left: 0;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .services,
    .about,
    .why-us,
    .contact {
        padding: 72px 0;
    }
    
    .cta-banner {
        padding: 72px 0;
    }
    
    .stat {
        padding: 16px 20px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
}
