/* ===== CSS Custom Properties ===== */
: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: #F5F0E8;
    --cream-200: #EDE5D5;
    --cream-300: #E0D5C0;
    
    --warm-gray-50: #FAFAF8;
    --warm-gray-100: #F5F5F3;
    --warm-gray-200: #E8E8E4;
    --warm-gray-300: #D4D4CE;
    --warm-gray-400: #A8A89E;
    --warm-gray-500: #787870;
    --warm-gray-600: #5C5C54;
    --warm-gray-700: #3D3D38;
    --warm-gray-800: #2A2A26;
    --warm-gray-900: #1A1A16;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --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-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--warm-gray-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--warm-gray-900);
}

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

.navbar.scrolled {
    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-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--emerald-700);
}

.nav-logo span {
    letter-spacing: -0.01em;
}

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

.nav-menu a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--warm-gray-700);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--emerald-600) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
}

.nav-cta:hover {
    background: var(--emerald-700) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--warm-gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 120px;
    padding-bottom: 0;
    background: var(--cream-50);
    overflow: hidden;
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-full);
    color: var(--emerald-700);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--warm-gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    color: var(--emerald-600);
    font-style: normal;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--warm-gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warm-gray-600);
    font-size: 0.938rem;
    font-weight: 500;
}

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

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

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

.hero-image-wrapper img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(5, 150, 105, 0.15);
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

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

.float-card-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
}

.float-card-label {
    font-size: 0.813rem;
    color: var(--warm-gray-500);
    font-weight: 500;
}

/* Hero Wave */
.hero-wave {
    margin-top: -1px;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: #fff;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-200);
}

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

.btn-white {
    background: #fff;
    color: var(--emerald-700);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.063rem;
}

.btn-full {
    width: 100%;
}

/* ===== Section Styles ===== */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-full);
    color: var(--emerald-700);
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--warm-gray-500);
    max-width: 560px;
    line-height: 1.7;
}

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

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

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

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

.service-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

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

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

.service-card:hover .service-icon {
    background: var(--emerald-600);
    color: #fff;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--warm-gray-900);
}

.service-card p {
    color: var(--warm-gray-600);
    font-size: 0.938rem;
    line-height: 1.7;
}

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

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

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

.about-img-secondary img {
    width: 320px;
    height: 240px;
    object-fit: cover;
    display: block;
}

.about-img-accent {
    position: absolute;
    top: -20px;
    right: 40px;
    opacity: 0.6;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    color: var(--warm-gray-600);
    font-size: 1.063rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.813rem;
    color: var(--warm-gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background: var(--cream-100);
}

.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);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 150, 105, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

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

.cta-headline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-text {
    color: var(--emerald-200);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 480px;
}

.cta-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

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

.contact-text {
    color: var(--warm-gray-600);
    font-size: 1.063rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

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

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--warm-gray-900);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--warm-gray-600);
    font-size: 0.938rem;
    line-height: 1.6;
}

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

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--warm-gray-900);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--warm-gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--warm-gray-800);
    background: var(--cream-50);
    transition: 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(5, 150, 105, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-400);
}

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

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

.form-success.show {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.form-success p {
    color: var(--warm-gray-500);
    font-size: 0.938rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--warm-gray-900);
    color: var(--warm-gray-400);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--emerald-400);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.75;
    color: var(--warm-gray-500);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-gray-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--warm-gray-500);
    font-size: 0.938rem;
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    margin-bottom: 12px;
    color: var(--warm-gray-500);
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--warm-gray-600);
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--cream-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
    }
    
    .hero {
        padding-top: 96px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-bottom: 60px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper img {
        height: 400px;
    }
    
    .hero-float-card {
        left: 16px;
        bottom: -10px;
    }
    
    .hero-trust {
        gap: 20px;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-img-secondary {
        right: 0;
    }
    
    .about-img-secondary img {
        width: 240px;
        height: 180px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-right {
        flex-direction: row;
        justify-content: center;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-float-card {
        left: 0;
        right: 0;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-right {
        flex-direction: column;
    }
    
    .cta-right .btn {
        width: 100%;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .gallery-item img {
        transition: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}
