/*
=========================================================
  LURRAFLY DESIGN SYSTEM (CSS GLOBAL)
  Concepto: Lurra (Tierra/Verde) + Fly (Cielo/Azul)
=========================================================
*/

/* 1. VARIABLES GLOBALES */
:root {
    /* Identidad Corporativa: Lurra (Tierra) & Fly (Volar) */
    --clr-fly-dark: #0A192F;       /* Azul Noche Profundo (Cielo/Espacio/Institucional) */
    --clr-fly-light: #2563EB;      /* Azul Aviación (Botones/Enlaces) */
    --clr-lurra-dark: #065F46;     /* Verde Tierra/Bosque Profundo */
    --clr-lurra-light: #10B981;    /* Verde Esmeralda (Acentos, Éxito, Drones Seguros) */
    
    /* Neutros y Fondos */
    --clr-bg-page: #F8FAFC;        /* Gris casi blanco (Limpieza) */
    --clr-bg-card: #FFFFFF;        /* Cajas blancas puras */
    --clr-text-main: #334155;      /* Gris Oscuro (Legibilidad) */
    --clr-text-title: #0F172A;     /* Negro Azulado (Impacto) */
    --clr-text-muted: #64748B;

    /* Gradientes */
    --grad-lurra-fly: linear-gradient(135deg, var(--clr-fly-dark) 0%, var(--clr-lurra-dark) 100%);
    --grad-lurra-fly-light: linear-gradient(135deg, var(--clr-fly-light) 0%, var(--clr-lurra-light) 100%);

    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sombras Elevadas (Aero) */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Radios */
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* 2. RESET Y BASES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-page);
    color: var(--clr-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-title);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: var(--clr-fly-light);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--clr-lurra-light);
}

/* 3. UTILIDADES Y ESTRUCTURA */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }

/* 4. BOTONES (CTAs) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn i { /* Estilo para Font Awesome dentro de botones */
    font-size: 1.1em;
}

/* Botón "Fly" (Principal) */
.btn-primary {
    background: var(--clr-fly-dark);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(10, 25, 47, 0.39);
}
.btn-primary:hover {
    background: var(--grad-lurra-fly-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: #fff;
}

/* Botón "Lurra" (Acción Positiva/Inscripción) */
.btn-success {
    background: var(--clr-lurra-light);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}
.btn-success:hover {
    background: var(--clr-lurra-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 95, 70, 0.4);
}

/* 5. TARJETAS (CARDS) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--clr-bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {    /* Borde verde "tierra" sutil al hacer hover */
    content: '';
    position: absolute;
    bottom: 0; left: 0; height: 4px; width: 0%;
    background: var(--clr-lurra-light);
    transition: width 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    width: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--clr-fly-light);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: var(--clr-lurra-light);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

/* 6. NAVEGACIÓN Y FOOTER */
.header {
    background: var(--clr-fly-dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: -0.5px;
}
.brand-logo .lurra-text { color: var(--clr-lurra-light); } /* Verde Tierra */
.brand-logo .fly-text { color: #fff; }                     /* Blanco Cielo */

.nav-menu a {
    color: rgba(255,255,255,0.8);
    margin-left: 30px;
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-menu a:hover {
    color: var(--clr-lurra-light);
}

.footer {
    background: var(--clr-fly-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
    text-align: center;
    border-top: 5px solid var(--clr-lurra-dark);
}

/* 7. HERO SECTION (Fondo Dual) */
.hero {
    background: var(--grad-lurra-fly);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -1.5px;
}

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Responsivo Menú */
@media (max-width: 768px) {
    .nav-menu { display: none; }
}

/* 8. LIENZOS PARA IMÁGENES (Placeholders) */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 25, 47, 0.05); /* Gris/Azulado Claro */
    border: 2px dashed var(--clr-fly-light);
    border-radius: var(--radius-lg);
    color: var(--clr-text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
    min-height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.img-placeholder i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: rgba(37, 99, 235, 0.4);
}

.img-placeholder .filename {
    background: var(--clr-fly-dark);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    margin-top: 10px;
    display: inline-block;
}

/* 9. IMÁGENES REALES */
.modern-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease;
}

.img-placeholder:hover .modern-img {
    transform: scale(1.03);
}

.img-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
    .img-container {
        min-height: 300px; /* Reducimos altura mínima en tablets/móviles */
        margin-top: 30px;
    }
}

.modern-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease;
}

/* Mejora para móviles pequeños */
@media (max-width: 600px) {
    .img-container {
        min-height: 250px;
        aspect-ratio: 16 / 9; /* Forzamos un ratio cinemático para que no ocupen media pantalla */
    }
    .hero {
        padding: 40px 0;
        text-align: center;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .split-section {
        gap: 20px;
    }
}

