:root {
    --primary: #5e91d0;
    --primary-dark: #4a7ab8;
    --primary-light: #7ba8dc;
    --primary-color: #5e91d0;
    --secondary: #264573;
    --secondary-dark: #1a3255;
    --secondary-light: #345a8c;
    --secondary-color: #264573;
    --accent: #00d4aa;
    --accent-dark: #00b894;
    --text-dark: #1a1a2e;
    --text-body: #4a4a5a;
    --text-muted: #6c757d;
    --text-color: #333333;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--primary-dark); }

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 32px; }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 44px;
    width: auto;
    transition: transform var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text small {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-main {
    display: none;
}

@media (min-width: 1024px) {
    .nav-main {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

.nav-main a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-main a:hover {
    color: var(--primary);
    background: var(--gray-100);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(94, 145, 208, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(94, 145, 208, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-body);
    padding: 8px 12px;
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--primary);
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 24px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--text-muted);
}

.badge-primary {
    background: linear-gradient(135deg, rgba(94, 145, 208, 0.1), rgba(38, 69, 115, 0.1));
    color: var(--primary);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.contact-cta-wrapper {
    background: linear-gradient(135deg, #5e91d0 0%, #3d6fa8 100%);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-cta-content {
    flex: 1;
    min-width: 280px;
}

.contact-cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.contact-cta-content h2 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 0;
}

.contact-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn-whatsapp {
    background: #25D366;
    color: white;
}

.contact-btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    color: white;
}

.contact-btn-email {
    background: white;
    color: #3d6fa8;
}

.contact-btn-email:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    color: #3d6fa8;
}

.contact-btn-phone {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.contact-btn-phone:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    color: white;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1a2e44;
    color: white;
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #7ba8dc;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts svg {
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.footer-contacts span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #7ba8dc;
}

.footer-company p,
.footer-copyright p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin: 0;
}

.footer-company strong {
    color: rgba(255,255,255,0.7);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(94, 145, 208, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #4a7ab8;
    transform: translateY(-3px);
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-cta-section {
        padding: 40px 0;
    }

    .contact-cta-wrapper {
        padding: 35px 25px;
        flex-direction: column;
        text-align: center;
    }

    .contact-cta-content h2 {
        font-size: 1.4rem;
    }

    .contact-cta-buttons {
        justify-content: center;
        width: 100%;
    }

    .contact-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .site-footer {
        padding: 45px 0 0;
    }

    .footer-main {
        padding-bottom: 35px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 0;
    }

    .footer-legal {
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .contact-cta-wrapper {
        padding: 28px 20px;
    }

    .contact-cta-content h2 {
        font-size: 1.25rem;
    }

    .contact-cta-content p {
        font-size: 0.9rem;
    }

    .contact-cta-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column:last-child {
        grid-column: span 1;
    }

    .footer-contacts li {
        justify-content: center;
    }
}
