/* 
   ================================================================
   METROLOGÍA FÁCIL - CYBER-PRO DESIGN SYSTEM v2
   Elegant, Technical, Hyper-Vibrant & Professional
   ================================================================
*/

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

:root {
    --mf-blue: #002b6b;
    --mf-orange: #f37021;
    --mf-white: #ffffff;
    --mf-light: #f4f7f9;
    --mf-text: #1e293b;
    --neon-blue: #0055ff;
    --neon-orange: #ff6600;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--mf-text);
    background-color: var(--mf-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- DYNAMIC BACKGROUND: TECH GRID --- */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #e8edf3 100%);
}

.dynamic-bg::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(0, 43, 107, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 43, 107, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(1000px) rotateX(60deg);
    animation: moveGrid 30s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(60px);
    }
}

/* --- HEADER & NAVIGATION --- */
header {
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--mf-blue);
    box-shadow: 0 0 20px rgba(0, 43, 107, 0.1);
}

.logo-container img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 43, 107, 0.1));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--mf-blue);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--mf-orange);
    text-shadow: 0 0 10px rgba(243, 112, 33, 0.5);
}

.btn-login {
    background: var(--mf-blue);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 43, 107, 0.3);
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--mf-orange);
    box-shadow: 0 0 30px var(--mf-orange);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
    padding: 6rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
}

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

.hero-visual img {
    max-width: 400px;
    /* Tamaño controlado del logo */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 43, 107, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-tag {
    color: var(--mf-orange);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 10px rgba(243, 112, 33, 0.3);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--mf-blue);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--mf-orange);
    text-shadow: 0 0 20px rgba(243, 112, 33, 0.6);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

/* --- ABOUT SECTION --- */
.about {
    padding: 8rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--mf-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 43, 107, 0.1);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid rgba(0, 43, 107, 0.05);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    border-color: var(--mf-orange);
    box-shadow: 0 20px 60px rgba(243, 112, 33, 0.2);
    transform: translateY(-10px);
}

.about-card h3 {
    color: var(--mf-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-card h3::before {
    content: "";
    width: 15px;
    height: 15px;
    background: var(--mf-orange);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--mf-orange);
}

.about-card p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* --- ALLIES SECTION --- */
.allies {
    padding: 8rem 10%;
    text-align: center;
}

.allies-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.ally-logo {
    max-width: 160px;
    height: auto;
    filter: grayscale(1);
    opacity: 0.4;
    transition: var(--transition);
}

.ally-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-visual img {
        max-width: 300px;
    }
}