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

:root {
    --bg-color: #fffdfb;
    --primary-color: #a2d149;
    --secondary-color: #5dbce9;
    --accent-orange: #f28d35;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

.hero-content {
    animation: fadeIn 1s ease-out;
}

.hero-visual {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

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

ul {
    list-style: none;
}

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

header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 253, 251, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

header.header-scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.nav-hidden {
    transform: translateY(-100%);
}

header.header-scrolled .nav-links a {
    color: var(--white);
}

header.header-scrolled .nav-links a:hover {
    color: var(--primary-color);
}

header.header-scrolled .hamburger span {
    background: var(--white);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: clamp(60px, 10vw, 100px);
    width: auto;
    display: block;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-login {
    font-weight: 600;
}

.btn-register {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(162, 209, 73, 0.1);
}

.btn-register:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Dark Theme Navbar Override */
.dark-theme-nav .nav-links a {
    color: var(--white);
}

.dark-theme-nav .nav-actions a {
    color: var(--white);
}

.dark-theme-nav .hamburger span {
    background: var(--white);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    align-items: center;
    gap: 4rem;
    padding: 8rem 0 4rem 0;
    min-height: 90vh;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.hero-content h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-get-started {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(162, 209, 73, 0.2);
}

.btn-get-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(162, 209, 73, 0.4);
    background: var(--secondary-color);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.image-mask {
    width: min(600px, 100%);
    aspect-ratio: 6/7;
    background: #f0f7e6;
    border-top-left-radius: 300px;
    border-bottom-left-radius: 300px;
    border-bottom-right-radius: 300px;
    overflow: hidden;
    position: relative;
    border: 8px solid var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.floating-element {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(162, 209, 73, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.floating-element:hover {
    transform: scale(1.1) rotate(45deg);
}

/* About Section */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 50vh;
    padding: 0;
}

.about-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(162, 209, 73, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.9rem;
}

.card-subtitle {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.about-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about-content h2 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.about-content h2 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pilares {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 2rem auto;
    text-align: left;
}

.pilares li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.pilares li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1.5rem;
}

.pilares li strong {
    color: var(--primary-color);
}

/* --- NEW PREMIUM ACRONYMS --- */
.premium-acronyms {
    padding: 8rem 0;
    overflow: hidden;
}

.acronyms-interactive-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.col-npi {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.acro-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
}

.acro-bubble {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 20px rgba(162, 209, 73, 0.2), 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.acro-item:hover .acro-bubble {
    transform: scale(1.15);
    background: var(--bg-color);
    box-shadow: inset 0 0 20px rgba(162, 209, 73, 0), 0 0 40px rgba(162, 209, 73, 0.6);
}

.acro-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.5;
    transform: translateX(-10px);
    transition: all 0.4s ease-out;
}

.acro-item:hover .acro-text {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(0);
}

.col-connections {
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-width: 150px;
    max-width: 250px;
}

.energy-lines {
    width: 100%;
    height: 300px;
    filter: drop-shadow(0 0 8px rgba(93, 188, 233, 0.5));
}

.energy-path {
    fill: none;
    stroke: url(#line-glow);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 15, 15;
    animation: flowLines 30s linear infinite;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.premium-acronyms:hover .energy-path {
    opacity: 1;
    animation: flowLines 15s linear infinite;
}

@keyframes flowLines {
    to { stroke-dashoffset: -1000; }
}

.col-meb {
    position: relative;
    z-index: 2;
}

.meb-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.meb-stack span {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    text-shadow: 0 5px 15px rgba(93, 188, 233, 0.3);
    transition: transform 0.3s ease;
}

.meb-stack:hover span {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(93, 188, 233, 0.8);
}

.col-result {
    position: relative;
    z-index: 2;
    margin-left: 2rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.result-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 50px rgba(93, 188, 233, 0.2);
}

.result-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(93,188,233,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.result-card:hover .result-glow {
    opacity: 1;
}

.result-card h4 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Redesign Mobile responsiveness */
@media (max-width: 992px) {
    .acronyms-interactive-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    .col-connections {
        display: none;
    }
    .meb-stack {
        flex-direction: row;
        gap: 1rem;
    }
    .col-result {
        margin-left: 0;
        text-align: center;
    }
}

/* Nosotros Section */
.nosotros-hero {
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

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

.nosotros-logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    animation: fadeIn 1.2s ease-out backwards;
}

.glowing-logo {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(93, 188, 233, 0.4)) drop-shadow(0 0 60px rgba(162, 209, 73, 0.3));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.decorative-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(162,209,73,0.12) 0%, rgba(93,188,233,0.08) 50%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
    animation: pulseBlob 8s infinite alternate;
}

@keyframes pulseBlob {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.nosotros-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nosotros-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-color);
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.nosotros-title span {
    color: var(--secondary-color);
    position: relative;
}

.animate-text-1 {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.animate-text-2 {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.highlight-text.animate-text-3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.5rem;
    background: rgba(162, 209, 73, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    margin-top: 1rem;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

/* Founder Section */
.founder-section {
    padding: 6rem 0;
    margin-bottom: 4rem;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

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

.founder-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    animation: fadeIn 1.5s ease-out backwards;
}

.founder-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 200px 200px 20px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.founder-image-wrapper:hover .founder-img {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 50px rgba(162, 209, 73, 0.2);
}

.founder-accent {
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    border: 3px solid var(--primary-color);
    border-radius: 200px 200px 20px 20px;
    z-index: 1;
    opacity: 0.3;
    transition: var(--transition);
}

.founder-image-wrapper:hover .founder-accent {
    transform: translate(15px, 15px);
    opacity: 0.6;
}

.founder-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.founder-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(93, 188, 233, 0.1);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    width: fit-content;
    animation: fadeIn 1s ease-out backwards;
}

.founder-name {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.founder-bio {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

/* Credentials Section */
.credentials-section {
    padding: 6rem 0;
}

.credentials-main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--text-color);
    text-align: center;
    margin-bottom: 4rem;
}

.credentials-main-title span {
    color: var(--primary-color);
}

.credentials-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.credential-item {
    width: 100%;
    text-align: center;
    animation: fadeIn 1s ease-out backwards;
}

.credential-title-bar {
    background: #8edc00;
    color: #fff; /* Texto blanco ahora con contraste mejorado */
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    margin: 0 auto;
    width: fit-content;
    min-width: 65%;
    text-align: center;
    box-shadow: 0 0 20px rgba(142, 220, 0, 0.4), 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.credential-item:hover .credential-title-bar {
    transform: scale(1.04);
    box-shadow: 0 0 35px rgba(142, 220, 0, 0.6), 0 8px 15px rgba(0,0,0,0.15);
    background: #9cf500;
}

.credential-logo-space {
    padding: 2rem 1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-logo-space img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.logo-placeholder {
    display: inline-block;
    padding: 1.5rem 3rem;
    border: 2px dashed #a2d149;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .credential-title-bar {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
        min-width: 90%;
    }
    .credential-logo-space {
        padding: 1.5rem 0.5rem;
        min-height: 70px;
    }
}


.slogan-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(93, 188, 233, 0.05) 50%, rgba(162, 209, 73, 0.1) 100%);
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.slogan-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.tecnica-bio-logo {
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-out backwards;
}

.tecnica-bio-logo img {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
    transition: var(--transition);
}

.tecnica-bio-logo img:hover {
    transform: translateY(-5px);
}

/* Técnica Cards Grid */
.tecnica-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto 4rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

.tecnica-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    animation: fadeIn 1.5s ease-out backwards;
}

.tecnica-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(162, 209, 73, 0.15);
    background: rgba(255, 255, 255, 0.6);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tecnica-card:hover .card-icon {
    transform: scale(1.2) translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: var(--transition);
}

.slogan-label {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(162, 209, 73, 0.15);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out 0.2s backwards;
}

.main-slogan {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeIn 1.5s ease-out, heartbeat 4s infinite alternate ease-in-out;
}

.main-slogan span {
    color: var(--primary-color);
    display: inline-block;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

/* Floating Elements (Cells & Foods) */
.floating-element {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.floating-element svg {
    width: 100%;
    height: 100%;
}

.cell-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    left: -50px;
    animation: floatSlow 12s infinite alternate ease-in-out, spinSlow 40s infinite linear;
}

.cell-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -20px;
    animation: floatSlow 15s infinite alternate-reverse ease-in-out, spinSlow 35s infinite linear reverse;
}

.food-1, .food-2, .food-3, .food-4 {
    font-size: 3rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.food-1 {
    top: 15%;
    left: 10%;
    animation: foodMotion1 6s infinite alternate ease-in-out;
}

.food-2 {
    top: 5%;
    right: 15%;
    font-size: 4rem;
    animation: foodMotion2 7s infinite alternate ease-in-out;
}

.food-3 {
    bottom: 15%;
    left: 15%;
    font-size: 3.5rem;
    animation: foodMotion1 8s infinite alternate-reverse ease-in-out;
}

.food-4 {
    bottom: 25%;
    right: 10%;
    animation: foodMotion2 5s infinite alternate-reverse ease-in-out;
}

@keyframes floatSlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -40px); }
}

@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes foodMotion1 {
    0% { transform: translateY(0) rotate(-10deg); }
    100% { transform: translateY(-20px) rotate(15deg); }
}

@keyframes foodMotion2 {
    0% { transform: translateY(0) rotate(10deg); }
    100% { transform: translateY(25px) rotate(-5deg); }
}

@media (max-width: 992px) {


    .nav-links, .nav-actions {
        display: none;
    }
    .about {
        padding: 5rem 0;
    }
    .hero, .nosotros-hero {
        grid-template-columns: 1fr;
        padding-top: 12rem;
    }
    .hero-content {
        margin-top: 5rem;
    }
    .acronyms-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .npi-group {
        align-items: center;
        text-align: center;
    }
    .acronym-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    .acronym-item:hover {
        transform: translateY(-10px) translateX(0);
    }
    .connector-container {
        display: none; /* Simplify on mobile */
    }
    .meb-group {
        flex-direction: column;
        gap: 2rem;
        height: auto;
        justify-content: center;
    }
    .meb-letters {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 2rem;
        height: auto;
    }
    .meb-group:hover .meb-letters .letter {
        transform: scale(1.1) translateY(-10px) translateX(0);
    }
    .meb-result {
        text-align: center;
    }
    .meb-group:hover .result-text {
        transform: scale(1.05) translateY(-5px) translateX(0);
    }
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .nosotros-logo-wrapper {
        max-width: 300px;
    }
    .highlight-text.animate-text-3 {
        text-align: left;
    }
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .founder-badge {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }
    .logo img {
        height: 55px;
    }
    .acronym-item .letter {
        font-size: 4rem;
    }
    .meb-letters .letter {
        font-size: 3rem;
    }
    .slogan-section {
        padding: 6rem 0;
    }
    .food-1, .food-2, .food-3, .food-4 {
        font-size: 2rem;
    }
    .cell-1 {
        width: 150px;
        height: 150px;
    }
    .cell-2 {
        width: 150px;
        height: 150px;
    }
}

/* --- MOBILE NAVIGATION --- */

/* Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-color);
    z-index: 2000;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sidebar-logo img {
    height: 60px;
    width: auto;
}

.close-sidebar {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.sidebar-links li a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    display: block;
    padding: 0.5rem 0;
}

.sidebar-links li a.active {
    color: var(--primary-color);
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-bottom: 2rem;
}

.sidebar-actions .btn-login,
.sidebar-actions .btn-register {
    text-align: center;
    display: block;
    width: 100%;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Visibility Control */
@media (max-width: 992px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* =========================================
   INTERCONECTA INNOVACIÓN PAGE STYLES
   ========================================= */

/* Hero Section */
.interconecta-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 0 4rem;
    text-align: center;
}
.hero-image-wrapper {
    max-width: 800px;
    width: 100%;
    margin-bottom: 2rem;
}
.hero-image-main {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}
.hero-text-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: var(--primary-color);
}

/* Manifiesto Section */
.manifiesto-section {
    padding: 4rem 0 6rem;
}
.manifiesto-section .section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3.5rem;
    color: var(--text-color);
}
.manifiesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.manifiesto-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
    cursor: default;
    overflow: hidden;
}
.manifiesto-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.card-1::before { background: linear-gradient(135deg, rgba(93,188,233,0.1), transparent); }
.card-2::before { background: linear-gradient(135deg, rgba(162,209,73,0.1), transparent); }
.card-3::before { background: linear-gradient(135deg, rgba(242,141,53,0.1), transparent); }

.manifiesto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.manifiesto-card:hover::before {
    opacity: 1;
}
.card-number {
    width: 70px;
    height: 70px;
    background: var(--bg-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}
.card-1 .card-number { color: var(--secondary-color); border: 2px solid var(--secondary-color); }
.card-2 .card-number { color: var(--primary-color); border: 2px solid var(--primary-color); }
.card-3 .card-number { color: #f28d35; border: 2px solid #f28d35; }

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    line-height: 1.4;
}
.card-title span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 0.5rem;
}
.card-1 .card-title span { color: var(--secondary-color); }
.card-2 .card-title span { color: var(--primary-color); }
.card-3 .card-title span { color: #f28d35; }

/* Estrategia Blue Banner */
.estrategia-banner {
    background: var(--secondary-color);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.estrategia-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    border-radius: 50%;
}
.estrategia-banner::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -5%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    border-radius: 50%;
}
.estrategia-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}