/* =============================================================================
   HERO SECTION
   Sección principal con gradiente animado, ilustraciones y badge
   ============================================================================= */

.hero {
    background: linear-gradient(135deg, #003366 0%, #004d7a 50%, #4CAF50 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

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

/* --- BADGE DE CONFIANZA --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-badge:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.hero-badge i {
    color: var(--color-accent);
}

/* --- TIPOGRAFÍA HERO --- */
.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--color-white);
}

.hero h1 span {
    color: var(--color-accent);
    text-shadow: 0 0 30px rgba(240, 185, 11, 0.5);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

/* --- ILUSTRACIÓN CON ICONOS FLOTANTES --- */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-icons {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
}

.hero-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.hero-icon:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent);
    animation-delay: 0s;
}

.hero-icon:nth-child(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: var(--color-secondary);
    animation-delay: 0.5s;
}

.hero-icon:nth-child(3) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: var(--color-accent);
    animation-delay: 1s;
}

.hero-icon:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #4CAF50;
    animation-delay: 1.5s;
}

.hero-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-accent), #f0b90b);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-primary);
    box-shadow: 0 20px 60px rgba(240, 185, 11, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}
