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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --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;
    --white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-900);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

.nav-logo-accent {
    color: var(--teal-600);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--teal-600);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-600);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--slate-700);
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--white) 50%, var(--teal-50) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--teal-600);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-tag-dot {
    width: 6px;
    height: 6px;
    background: var(--teal-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-title-accent {
    color: var(--teal-600);
    font-style: italic;
}

.hero-desc {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-300);
}

.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
}

.btn-white {
    background: var(--white);
    color: var(--teal-700);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

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

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-color: var(--teal-200);
}

.stat-card-highlight {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: var(--white);
}

.stat-card-highlight .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.stat-card-highlight .stat-number {
    color: var(--white);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* Services */
.services {
    padding: 100px 24px;
    background: var(--white);
}

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

.service-card {
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--teal-50);
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* About */
.about {
    padding: 100px 24px;
    background: var(--slate-50);
}

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

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

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

.about-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--teal-100);
    border-radius: 16px;
    z-index: 0;
}

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

.about-text {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--slate-700);
    font-weight: 400;
}

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

/* Why Us */
.why-us {
    padding: 100px 24px;
    background: var(--white);
}

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

.why-card {
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.08);
    transform: translateY(-4px);
}

.why-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--teal-100);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.why-card:hover .why-number {
    color: var(--teal-200);
}

.why-card h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 24px;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 1.0625rem;
    color: var(--slate-400);
    line-height: 1.7;
}

.cta-actions {
    flex-shrink: 0;
}

/* Contact */
.contact {
    padding: 100px 24px;
    background: var(--slate-50);
}

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

.contact-desc {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.contact-item p,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--slate-500);
    text-decoration: none;
    line-height: 1.6;
}

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

/* Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-700);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 10px;
    color: var(--teal-700);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 16px;
}

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

.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--slate-900);
    padding: 64px 24px 32px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-logo-accent {
    color: var(--teal-500);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--teal-500);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-stats {
        max-width: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image img {
        height: 450px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }
    
    .hero-card {
        padding: 32px 24px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-wrap {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}
