/* ============================================
   MADZ DIGITAL BUSINESS - CORPORATE WEBSITE
   COLORES CORPORATIVOS:
   - Gris Madz: #333333, #4A4A4A, #666666
   - Morado Globo: #8B5CF6, #7C3AED
   - Fucsia Globo: #EC4899, #DB2777
   ============================================ */

/* CSS Variables - Colores Corporativos */
:root {
    /* Colores Primarios - Madz */
    --madz-grey-dark: #333333;
    --madz-grey-medium: #4A4A4A;
    --madz-grey-light: #666666;
    --madz-grey-ultra-light: #F3F4F6;
    
    /* Colores Secundarios - Globo */
    --globo-purple: #8B5CF6;
    --globo-purple-dark: #7C3AED;
    --globo-purple-light: #A78BFA;
    --globo-fuchsia: #EC4899;
    --globo-fuchsia-dark: #DB2777;
    --globo-fuchsia-light: #F9A8D4;
    
    /* Colores Neutrales */
    --white: #FFFFFF;
    --black: #000000;
    --grey-50: #F9FAFB;
    --grey-100: #F3F4F6;
    --grey-200: #E5E7EB;
    --grey-300: #D1D5DB;
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transiciones */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--madz-grey-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--madz-grey-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--globo-purple);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--globo-purple), var(--globo-fuchsia));
    transition: var(--transition-normal);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-primary-nav {
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-nav::after {
    display: none;
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--madz-grey-medium);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: var(--transition-normal);
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    color: var(--globo-purple);
    background: rgba(139, 92, 246, 0.1);
}

.lang-btn.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
}

.lang-divider {
    color: var(--madz-grey-light);
    font-weight: 300;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--madz-grey-dark);
    transition: var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--madz-black);
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    filter: brightness(0.7) contrast(1.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.75) 0%, 
        rgba(26, 26, 26, 0.65) 50%, 
        rgba(51, 51, 51, 0.55) 100%);
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    color: var(--white);
    padding: 3rem 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 3rem;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    letter-spacing: -0.02em;
}

.gradient-text {
    color: var(--white);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.9;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.4s backwards;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Hero Pillars */
.hero-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pillar-icon i {
    font-size: 2rem;
    color: var(--white);
}

.pillar-item:hover .pillar-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.pillar-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.pillar-separator {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--globo-fuchsia), var(--globo-fuchsia-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--globo-fuchsia-dark), var(--globo-fuchsia));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-purple {
    background: linear-gradient(135deg, #7C3AED, #DB2777) !important;
    border: none !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
}

.btn-purple:hover {
    background: linear-gradient(135deg, #DB2777, #7C3AED) !important;
    box-shadow: var(--shadow-xl) !important;
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 6rem 0;
}

/* Reducir espacio entre Quiénes Somos y Soluciones */
#quienes-somos {
    padding-bottom: 2rem;
}

/* Reducir espacio entre Soluciones y Tecnología */
#soluciones {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

#soluciones .about-content {
    margin-bottom: 0;
}

#tecnologia {
    padding-top: 2rem;
}

.section-dark {
    background: linear-gradient(135deg, var(--madz-grey-dark) 0%, var(--madz-grey-medium) 100%);
    color: var(--white);
}

.section-gradient {
    background: linear-gradient(135deg, 
        var(--grey-50) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        rgba(236, 72, 153, 0.05) 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--madz-grey-dark);
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--madz-grey-light);
    line-height: 1.8;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro h3 {
    font-size: 2rem;
    color: var(--madz-grey-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--madz-grey-medium);
}

/* Pillar Sections */
.pillar-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--madz-grey-light);
    transition: var(--transition-normal);
}

.pillar-section:hover {
    box-shadow: var(--shadow-lg);
    border-left-color: var(--madz-grey-darkest);
}

.pillar-highlight {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), rgba(219, 39, 119, 0.03));
    border-left-color: var(--accent-gradient-start);
}

.pillar-highlight:hover {
    border-left-color: var(--accent-gradient-end);
}

.pillar-header {
    margin-bottom: 1.5rem;
}

.pillar-header h3 {
    font-size: 1.6rem;
    color: var(--madz-grey-dark);
    font-weight: 700;
    margin: 0;
}

.pillar-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--madz-grey-medium);
    margin-bottom: 1.2rem;
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pillar-list li {
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--madz-grey-medium);
}

.pillar-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--madz-grey-darkest);
    font-weight: bold;
}

.pillar-conclusion {
    background: var(--grey-50);
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--madz-grey-dark);
}

/* Gloria CTA */
.gloria-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-secondary-dark {
    background: var(--madz-grey-darkest);
    color: var(--white);
    border: none;
}

.btn-secondary-dark:hover {
    background: var(--madz-grey-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Conclusion Box */
.pillar-conclusion-box {
    background: var(--madz-grey-dark);
    color: var(--white);
    border-left: 4px solid var(--globo-purple);
    margin-bottom: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pillar-conclusion-box h3 {
    color: var(--white);
    font-size: 1.8rem;
}

.pillar-conclusion-box p {
    color: var(--white);
    font-size: 1.1rem;
}

.conclusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.conclusion-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conclusion-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.conclusion-item i {
    font-size: 1.8rem;
    color: var(--globo-fuchsia);
}

.conclusion-item strong {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
}

.conclusion-item strong {
    color: var(--white);
    font-size: 1.05rem;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--madz-grey-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--madz-grey-light);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--madz-grey-darkest);
    font-weight: 700;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid var(--grey-100);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--madz-grey-darkest);
}

.feature-box i {
    font-size: 3rem;
    color: var(--madz-grey-darkest);
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.3rem;
    color: var(--madz-grey-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-box p {
    color: var(--madz-grey-light);
    line-height: 1.7;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tech-icon i {
    font-size: 2rem;
    color: var(--white);
}

.tech-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.tech-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.tech-features i {
    color: var(--globo-fuchsia);
    margin-top: 3px;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--globo-purple);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.solution-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--madz-grey-dark);
    margin-bottom: 1rem;
}

.solution-card > p {
    color: var(--madz-grey-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.solution-benefits {
    list-style: none;
    padding-top: 1rem;
    border-top: 2px solid var(--grey-100);
}

.solution-benefits li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    color: var(--madz-grey-medium);
    font-size: 0.95rem;
}

.solution-benefits i {
    color: var(--globo-fuchsia);
}

/* ============================================
   SECTORS SECTION
   ============================================ */
/* ============================================
   SECTORS SECTION
   ============================================ */

.versatility-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.versatility-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--madz-grey-medium);
}

.versatility-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 2rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--globo-purple);
}

.versatility-footer p {
    font-size: 1.1rem;
    color: var(--madz-grey-dark);
    margin: 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 0;
}

.sector-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--globo-purple);
}

.sector-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.sector-icon i {
    font-size: 2rem;
    color: var(--white);
}

.sector-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--madz-grey-dark);
    margin-bottom: 1rem;
}

.sector-card p {
    color: var(--madz-grey-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   METHODOLOGY SECTION
   ============================================ */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--globo-purple);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--madz-grey-dark);
    margin-bottom: 0.8rem;
}

.step-content p {
    color: var(--madz-grey-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   WHY MADZ SECTION
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    text-align: center;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-icon i {
    font-size: 2rem;
    color: var(--white);
}

.why-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--globo-purple);
}

.cta-section .btn-primary:hover {
    background: var(--grey-50);
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--madz-grey-dark);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--madz-grey-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--globo-purple);
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    color: var(--madz-grey-dark);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--madz-grey-light);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--globo-purple), var(--globo-fuchsia));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    color: var(--madz-grey-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--grey-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
    color: var(--madz-grey-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--globo-purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--madz-grey-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
    background: var(--white);
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--globo-fuchsia);
    padding-left: 5px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--globo-fuchsia);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-section {
    padding: 8rem 0 4rem;
    background: var(--grey-50);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--madz-grey-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.legal-date {
    color: var(--madz-grey-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--madz-grey-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--globo-purple);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: var(--madz-grey-medium);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--madz-grey-medium);
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--madz-grey-medium);
    margin-bottom: 0.8rem;
}

.legal-content a {
    color: var(--globo-purple);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    color: var(--globo-fuchsia);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--madz-grey-dark);
    font-weight: 600;
}

.legal-back {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--grey-200);
}

/* ============================================
   NOTIFICATION SYSTEM
   ============================================ */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    min-width: 350px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 1.5rem;
    transform: translateX(600px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    border-left: 4px solid var(--madz-grey-dark);
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notification-content i {
    font-size: 1.5rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.notification-content span {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--madz-grey-dark);
}

.notification-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: none;
    border: none;
    color: var(--madz-grey-light);
    cursor: pointer;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: var(--grey-100);
    color: var(--madz-grey-dark);
}

.notification-success {
    border-left-color: #10b981;
}

.notification-success .notification-content i {
    color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-error .notification-content i {
    color: #ef4444;
}

.notification-info {
    border-left-color: #3b82f6;
}

.notification-info .notification-content i {
    color: #3b82f6;
}

/* Mobile notification */
@media (max-width: 768px) {
    .notification {
        top: 80px;
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .methodology-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-badge {
        margin-bottom: 2rem;
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .hero-pillars {
        gap: 1.5rem;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    
    .pillar-icon {
        width: 60px;
        height: 60px;
    }
    
    .pillar-icon i {
        font-size: 1.6rem;
    }
    
    .pillar-item span {
        font-size: 0.85rem;
    }
    
    .pillar-separator {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.35;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .hero-pillars {
        gap: 1rem;
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .pillar-icon {
        width: 50px;
        height: 50px;
    }
    
    .pillar-icon i {
        font-size: 1.4rem;
    }
    
    .pillar-item span {
        font-size: 0.75rem;
    }
    
    .pillar-separator {
        font-size: 1rem;
        margin: 0 0.25rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .tech-grid,
    .solutions-grid,
    .sectors-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Smooth animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
