:root {
    --bg-color: #0b0f19;
    --acc-color: #0ea5e9;
    --acc-color-hover: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #0ea5e9, #8b5cf6, #ec4899);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

.mt-2 { margin-top: 2rem; }

h1, h2, h3, .logo, .footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s, box-shadow 0.3s;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./images/hero-bg.png') no-repeat center center/cover;
    z-index: -1;
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--bg-color) 10%, transparent);
    z-index: -1;
}

.hero-content {
    max-width: 850px;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-inline: auto;
    color: #cbd5e1;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--acc-color);
    color: #fff;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6);
    background: var(--acc-color-hover);
}

.cta-button.outline {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--acc-color);
    box-shadow: none;
}

.cta-button.outline:hover {
    background: rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: left;
    flex-grow: 1;
    min-width: 280px;
    max-width: 400px;
}

.contact-card:hover {
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.contact-card.whatsapp {
    background: rgba(16, 185, 129, 0.05); 
    border-color: rgba(16, 185, 129, 0.2);
}

.contact-card.whatsapp:hover {
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: white;
    flex-shrink: 0;
}

.contact-card.whatsapp .contact-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-info .value {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
    color: var(--text-main);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 5%;
}

.section-title {
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.lead-text {
    font-size: 1.4rem;
    color: var(--text-main);
    line-height: 1.8;
}

.sub-text {
    font-size: 1.1rem;
}

.flex-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.flex-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 60%);
    z-index: -1;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.25);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
}

/* Contact CTA */
.contact-cta {
    padding: 4rem 5% 8rem 5%;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 3.5rem 3rem;
}

.cta-box h2 {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 4rem 5%;
    background: #04060a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Animations */
.fade-up-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    h2 { font-size: 2rem; }
    .section-container { padding: 4rem 5%; }
    
    .cta-box {
        padding: 2.5rem 1rem !important;
    }
    
    .contact-card {
        padding: 1.25rem 1rem;
        gap: 0.75rem;
    }

    .contact-info .value {
        font-size: 0.95rem;
        word-break: normal;
        overflow-wrap: normal;
        white-space: nowrap;
    }
    
    .contact-info {
        overflow: hidden;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
    }
}
