:root {
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-light: #eff6ff;
    --accent: #059669;
    --accent-light: #ecfdf5;
    --dark: #0f172a;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

body {
    color: var(--gray-700);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    scroll-margin-top: 80px;
}

/* --- STICKY SOCIAL SIDEBAR --- */
.sticky-social-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
}

.sticky-social-bar a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sticky-social-bar a:hover {
    width: 52px;
    padding-left: 8px;
}

.social-linkedin {
    background-color: #0077b5;
}

.social-whatsapp {
    background-color: #25d366;
}

.social-github {
    background-color: #333333;
}

.social-twitter {
    background-color: #1da1f2;
}

.social-email {
    background-color: #ea4335;
}

/* --- TOP MICRO BAR --- */
.top-bar {
    background: var(--dark);
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.global-presence {
    display: flex;
    align-items: center;
    gap: 16px;
}

.flag-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.flag-pill {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    color: #f1f5f9;
    font-weight: 500;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-contacts {
    display: flex;
    gap: 20px;
}

.top-contacts a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.top-contacts a:hover {
    color: #ffffff;
}

/* --- STICKY HEADER & LOGO --- */
header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--gray-50);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark);
    cursor: pointer;
}

/* --- HERO BANNER --- */
.hero {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.9) 100%),
        url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='3' cy='3' r='1.5' fill='%201d4ed8' fill-opacity='0.12'/%3E%3C/svg%3E");
    padding: 70px 0 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(29, 78, 216, 0.2);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 28px;
}

.hero-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.benefit-item i {
    color: var(--accent);
    background: var(--accent-light);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.lead-form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.form-header {
    margin-bottom: 20px;
    text-align: center;
}

.form-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.form-header p {
    font-size: 13px;
    color: var(--gray-500);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--gray-50);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-code {
    background: #e2e8f0;
    color: var(--dark);
    font-weight: 800;
    letter-spacing: 3px;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.form-status {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* --- SECTIONS ALTERNATING FLOW --- */
.about-section {
    padding: 90px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.about-content p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.services {
    padding: 90px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(29, 78, 216, 0.3);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.service-tag-pill {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tech-section {
    padding: 90px 0;
    background: #ffffff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tech-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.tech-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.tech-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.tech-info p {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
}

.client-section {
    padding: 90px 0;
    background: #eff6ff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.client-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.client-badge-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #059669;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

.client-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.client-desc {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.client-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.client-stat-box {
    background: var(--gray-50);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.client-stat-box h4 {
    font-size: 18px;
    color: var(--primary);
    font-weight: 800;
}

.client-stat-box p {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
    font-weight: 600;
}

.client-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.client-image-wrapper {
    position: relative;
    text-align: center;
}

.client-img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.redesign-tag {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--dark);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-section {
    padding: 90px 0;
    background: #ffffff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.step-item {
    text-align: center;
    padding: 20px 10px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 10px;
}

/* --- HIGH READABILITY FOOTER --- */
footer {
    background: var(--dark);
    color: #f1f5f9;
    padding: 70px 0 28px;
    font-size: 14px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 16px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e2e8f0;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: #60a5fa;
    font-size: 16px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* --- POPUP CONSULTATION MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 520px;
    border-radius: 20px;
    padding: 36px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--gray-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 16px;
}

.modal-header {
    text-align: center;
    margin-bottom: 22px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.agency-statement-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.5;
}

.agency-statement-box strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 4px;
}

@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .client-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .top-contacts {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .sticky-social-bar {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 24px;
        transition: left 0.3s ease-in-out;
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-cta {
        display: none;
    }
}