/* ==========================================================================
   Multiglobal Servicios - Modern Design System (Glassmorphism & Neon-Teal Accent)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #ffffff;       /* Pure White Background */
    --bg-card: #f8fafc;       /* Light Slate Blue/Grey Card */
    --bg-nav: rgba(255, 255, 255, 0.9);   /* Light translucent header */
    
    --primary: #1e40af;      /* Corporate Royal Blue from Multiglobal Logo */
    --primary-glow: rgba(30, 64, 175, 0.15);
    --secondary: #1d4ed8;    /* Vibrant Corporate Blue */
    --accent: #1e3a8a;       /* Deep Navy Blue Accent */
    
    --text-main: #1e293b;    /* Dark Slate Gray for readability */
    --text-muted: #64748b;   /* Muted Slate Gray */
    --text-inverse: #ffffff; /* White text on buttons */
    
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(30, 64, 175, 0.25); /* Corporate Blue Glow */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Effects */
    --shadow-glass: 0 8px 25px rgba(30, 64, 175, 0.12);
    --blur-glass: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glowing Accents */
body::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.04) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.04) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

/* Header & Navigation */
.header-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
    padding: 0.5rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, #00b894 0%, #0284c7 50%, #1e40af 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 184, 148, 0.4), 0 2px 10px rgba(30, 64, 175, 0.3);
    transform: translateY(-2px);
}

.nav-link:hover i, .nav-link.active i {
    color: #ffffff !important;
}

.nav-link::after {
    display: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Glassmorphism Button */
.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
    color: var(--text-main);
}

.btn-glass:hover {
    background: linear-gradient(135deg, #00b894 0%, #0284c7 50%, #1e40af 100%);
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0, 184, 148, 0.4), 0 2px 10px rgba(30, 64, 175, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: var(--text-inverse);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
    opacity: 0.95;
}

.btn-menu-gradient {
    background: linear-gradient(135deg, #00b894 0%, #0284c7 50%, #1e40af 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 184, 148, 0.4), 0 2px 10px rgba(30, 64, 175, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-menu-gradient:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 22px rgba(0, 184, 148, 0.5), 0 4px 14px rgba(30, 64, 175, 0.4) !important;
    opacity: 0.95;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0.03em;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    filter: blur(80px);
    opacity: 0.25;
    z-index: 1;
}

.hero-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
    transform: none !important;
    transition: var(--transition-smooth);
}

.hero-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.22) !important;
}

/* Glassmorphism Cards & Grid */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.22) !important;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services Page Styles */
.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--primary);
}

/* Nosotros / Values Page */
.value-card {
    text-align: center;
}

.value-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.75rem;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.glass-card:hover .value-icon-wrapper {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--secondary);
    transform: scale(1.1);
}

/* Contact Form & Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(30, 64, 175, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Alert Boxes */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Footer styling */
.footer-glass {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-glass));
    border-top: 1px solid var(--border-glass);
    padding: 5rem 0 2rem 0;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-widget h4 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid, .grid-3, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-card {
        margin: 0 auto;
        transform: none;
    }
    
    .hero-card:hover {
        transform: translateY(-5px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Client Logo Cards */
.client-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(30, 64, 175, 0.15);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary) !important;
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.22) !important;
}

.client-logo-card svg, .client-logo-card img {
    max-height: 45px;
    width: auto;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.client-logo-card:hover svg {
    filter: drop-shadow(0 4px 6px rgba(30, 64, 175, 0.2));
}
