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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --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;
    --slate-950: #020617;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    line-height: 1.6;
    background: #fff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--slate-200);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--slate-900);
    text-decoration: none;
}

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.938rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--teal-600);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
}

.btn-outline {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

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

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 10px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-950) 0%, var(--teal-900) 50%, var(--teal-700) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(13, 148, 136, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(15, 118, 110, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 72px;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--teal-200);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-actions .btn-primary {
    background: var(--teal-500);
    border-color: var(--teal-500);
    color: var(--slate-950);
}

.hero-actions .btn-primary:hover {
    background: var(--teal-400);
    border-color: var(--teal-400);
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-actions .btn-outline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

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

/* Section shared */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

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

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

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

/* Services */
.services {
    padding: 96px 0;
    background: var(--slate-50);
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--slate-200);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: var(--teal-400);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.1);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

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

/* About */
.about {
    padding: 96px 0;
    background: #fff;
}

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-600);
}

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

/* Why Choose */
.why-choose {
    padding: 96px 0;
    background: var(--slate-900);
}

.why-choose .section-tag {
    color: var(--teal-400);
}

.why-choose .section-title {
    color: #fff;
}

.why-choose .section-subtitle {
    color: var(--slate-400);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 12px;
    padding: 36px;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: var(--teal-600);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.188rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.938rem;
    color: var(--slate-400);
    line-height: 1.65;
}

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

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

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-text {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

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

.contact-item a {
    color: var(--teal-600);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

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

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--slate-200);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--slate-800);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

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

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

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

.form-success svg {
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}

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

/* Footer */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 12px;
}

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

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

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

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

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

.footer-contact a {
    color: var(--teal-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-contact span {
    font-size: 0.938rem;
    color: var(--slate-500);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.813rem;
    color: var(--slate-600);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .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-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 96px;
        padding-bottom: 48px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info .section-title,
    .contact-info .section-tag {
        text-align: center;
    }

    .contact-info .section-tag {
        display: block;
    }

    .contact-text {
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
}
