:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --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;

    --accent: #f59e0b;
    --accent-light: #fef3c7;

    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Syne', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background pattern */
.bg-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(13, 148, 136, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
    color: var(--slate-900);
}

/* Badge */
.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--teal-100);
    color: var(--teal-700);
}
.badge--teal { background: var(--teal-100); color: var(--teal-700); }
.badge--light { background: rgba(255,255,255,0.2); color: #ffffff; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
    border-color: var(--teal-600);
}
.btn-primary:hover { background: var(--teal-700); border-color: var(--teal-700); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn-outline:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; padding: 16px 28px; }
.btn-white {
    background: #ffffff;
    color: var(--teal-700);
    border-color: #ffffff;
}
.btn-white:hover { background: var(--teal-50); transform: translateY(-1px); box-shadow: var(--shadow-xl); }
.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #ffffff; }

/* Section header */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 16px 0;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--slate-500);
}
.section-header--light h2 { color: #ffffff; }
.section-header--light p { color: rgba(255,255,255,0.75); }

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--slate-900);
    text-decoration: none;
}
.logo svg { color: var(--teal-600); }
.logo--light { color: #ffffff; }
.logo--light svg { color: var(--teal-300); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--teal-600); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-700);
    padding: 8px;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--teal-900) 100%);
    overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; filter: blur(1px); }
.shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, transparent 70%);
    top: -200px; right: -100px;
}
.shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    bottom: -100px; left: -50px;
}
.shape-3 {
    width: 200px; height: 200px;
    background: rgba(13, 148, 136, 0.12);
    top: 30%; left: 55%;
    border-radius: var(--radius-xl);
    transform: rotate(45deg);
}
.shape-4 {
    width: 120px; height: 120px;
    background: rgba(245, 158, 11, 0.2);
    top: 20%; left: 10%;
    border-radius: var(--radius-lg);
    transform: rotate(30deg);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content { max-width: 520px; }
.hero .badge { margin-bottom: 24px; }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stat cards */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 380px;
}
.stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.stat-card--main {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--teal-600);
    border-color: var(--teal-500);
}
.stat-card--main .stat-card--accent {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-500) 100%);
    z-index: -1;
}
.stat-card--main .stat-card--icon { color: rgba(255,255,255,0.8); flex-shrink: 0; }
.stat-card--main .stat-card--number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}
.stat-card--main .stat-card--label {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin-top: 4px;
}
.stat-card--teal { background: var(--teal-700); border-color: var(--teal-600); }
.stat-card--teal .stat-card--icon { color: var(--teal-200); }
.stat-card--teal .stat-card--label { color: #ffffff; font-weight: 600; font-size: 0.9rem; }
.stat-card--teal .stat-card--sub { color: var(--teal-200); font-size: 0.78rem; margin-top: 4px; }
.stat-card--slate { background: var(--slate-700); border-color: var(--slate-600); }
.stat-card--slate .stat-card--icon { color: var(--slate-300); }
.stat-card--slate .stat-card--label { color: #ffffff; font-weight: 600; font-size: 0.9rem; }
.stat-card--slate .stat-card--sub { color: var(--slate-400); font-size: 0.78rem; margin-top: 4px; }
.stat-card--accent { background: var(--accent); border-color: #d97706; }
.stat-card--accent .stat-card--icon { color: rgba(255,255,255,0.9); }
.stat-card--accent .stat-card--label { color: #78350f; font-weight: 600; font-size: 0.9rem; }
.stat-card--accent .stat-card--sub { color: rgba(120, 53, 15, 0.7); font-size: 0.78rem; margin-top: 4px; }

.stat-card--icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.stat-card--number { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #ffffff; }
.stat-card--label { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-top: 2px; }

/* ===================== SERVICES ===================== */
.services {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--teal-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover { border-color: var(--teal-300); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}
.service-icon--teal { background: var(--teal-100); color: var(--teal-700); }
.service-icon--slate { background: var(--slate-100); color: var(--slate-600); }
.service-icon--accent { background: var(--accent-light); color: #b45309; }
.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--slate-900);
}
.service-card p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.65;
}

/* ===================== ABOUT ===================== */
.about {
    padding: 100px 0;
    background: var(--slate-50);
    position: relative;
    z-index: 1;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-float-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--teal-600);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
}
.about-float-card svg { color: var(--teal-200); }

.about-content .badge { margin-bottom: 16px; }
.about-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin-bottom: 20px;
}
.about-content > p {
    color: var(--slate-600);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.75;
}
.about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--slate-700);
}
.about-feature--dot {
    width: 10px; height: 10px;
    background: var(--teal-500);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================== APPROACH ===================== */
.approach {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--slate-800) 0%, var(--teal-900) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.approach-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.approach-shape { position: absolute; border-radius: 50%; }
.approach-shape-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    top: -200px; right: -150px;
}
.approach-shape-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    bottom: -100px; left: -50px;
}
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
}
.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 20px;
}
.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}
.step-content h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 10px;
}
.step-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}
.step-connector {
    width: 60px;
    flex-shrink: 0;
    align-self: center;
    margin-top: 40px;
}
.step-connector::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-500), var(--accent));
    border-radius: 2px;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
    padding: 80px 0;
    background: var(--teal-600);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; }
.cta-shape-1 {
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    top: -200px; left: -100px;
}
.cta-shape-2 {
    width: 250px; height: 250px;
    background: rgba(245, 158, 11, 0.15);
    bottom: -100px; right: 5%;
    border-radius: var(--radius-xl);
    transform: rotate(30deg);
}
.cta-banner .container {
    position: relative;
    z-index: 1;
    text-align: center;
}
.cta-banner h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 16px;
}
.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== CONTACT ===================== */
.contact {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info .badge { margin-bottom: 16px; }
.contact-info h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin-bottom: 16px;
}
.contact-info > p {
    color: var(--slate-500);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.7;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
}
.contact-item--icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    color: var(--teal-700);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    margin-bottom: 4px;
}
.contact-item p, .contact-item a {
    color: var(--slate-800);
    font-size: 1rem;
    line-height: 1.6;
    text-decoration: none;
}
.contact-item a:hover { color: var(--teal-600); }

/* Form */
.contact-form {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.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(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    color: var(--teal-800);
    font-weight: 500;
    margin-top: 16px;
}
.form-success svg { color: var(--teal-600); flex-shrink: 0; }

/* ===================== FOOTER ===================== */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-400);
}
.footer-links h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-200);
    margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-400); }
.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-contact a { color: var(--teal-400); text-decoration: none; }
.footer-contact a:hover { color: var(--teal-300); }

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
}
.footer-bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* ===================== MOBILE MENU ===================== */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    gap: 20px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-stats { max-width: 100%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open { display: flex; }
    .menu-toggle { display: flex; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-stats { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .stat-card--main { grid-column: 1 / -1; }
    .services-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; align-items: center; gap: 24px; }
    .step-connector {
        width: 2px;
        height: 40px;
        margin-top: 0;
    }
    .step-connector::before {
        width: 2px;
        height: 100%;
    }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr; }
    .stat-card--main { grid-column: 1; }
}
