/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    background-image: url('hero-bg-map.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--charcoal-texture);
    opacity: 0.1;
}

/* Interception points */
.interception-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    z-index: 3;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.interception-point::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 22px;
    height: 22px;
    border: 2px solid var(--white);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

/* Connection lines */
.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    z-index: 2;
    animation: connectionPulse 3s infinite;
    opacity: 0.6;
}

/* Positioned interception points */
.point-latam {
    top: 60%;
    left: 35%;
}

.point-usa {
    top: 35%;
    left: 30%;
}

.point-europe {
    top: 30%;
    left: 55%;
}

.point-asia {
    top: 40%;
    left: 75%;
}

.point-africa {
    top: 55%;
    left: 52%;
}

/* Connection lines positioning */
.line-latam-usa {
    top: 47%;
    left: 32%;
    width: 100px;
    transform: rotate(-25deg);
    animation-delay: 0.5s;
}

.line-latam-europe {
    top: 42%;
    left: 42%;
    width: 150px;
    transform: rotate(-15deg);
    animation-delay: 1s;
}

.line-usa-europe {
    top: 32%;
    left: 40%;
    width: 120px;
    transform: rotate(8deg);
    animation-delay: 1.5s;
}

.line-europe-asia {
    top: 35%;
    left: 62%;
    width: 130px;
    transform: rotate(5deg);
    animation-delay: 2s;
}

/* Banner floating animation */
@keyframes bannerFloat {
    0%, 100% {
        transform: translate(-50%, -100%) rotate(10deg);
    }
    50% {
        transform: translate(-50%, -100%) rotate(10deg) translateY(-5px);
    }
}

.hero-content {
    /* Ensure both hero titles (and their group) are centered horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    width: 100%;
    position: relative;
}

/* Static fade-in animation for breaking banner */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Glow animation for breaking banner */
@keyframes bannerGlow {
    0%, 100% {
        box-shadow: 3px 3px 15px rgba(0,0,0,0.6), 0 0 10px rgba(255,255,255,0.5);
    }
    50% {
        box-shadow: 3px 3px 15px rgba(0,0,0,0.6), 0 0 20px rgba(255,255,255,0.9);
    }
}

.breaking-banner {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    padding: 0.4rem 2rem;
    margin-bottom: 3rem;
    background: var(--white);
    color: var(--black);
    box-shadow: 3px 3px 15px rgba(0,0,0,0.6);
    z-index: 3;
    transform-origin: center center;
    animation: fadeIn 0.8s ease both, bannerGlow 2s ease-in-out infinite alternate;
}

.breaking-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--charcoal-texture);
    opacity: 0.1;
    pointer-events: none;
}

.breaking-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    /* aumentado un poco para títulos más grandes */
    font-size: clamp(3rem, 5vw, 6.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 12px rgba(0,0,0,0.9), 1px 1px 6px rgba(0,0,0,0.7);
    line-height: 1.2;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
    opacity: 1;
    white-space: nowrap;
    overflow-wrap: break-word;
    hyphens: none;
}

.hero-title-part1 {
    margin-bottom: 0.5rem;
}

.hero-title-part2 {
    margin-bottom: 1rem;
    /* aumentado un poco para mayor legibilidad */
    font-size: clamp(2.5rem, 4.5vw, 5.5rem);
    white-space: nowrap;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: typewriterChar 0.1s ease forwards;
}

.hero-title .space {
    display: inline-block;
    width: 0.3em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 1px 1px 4px rgba(0,0,0,0.6);
}

.hero-btn {
    background: transparent;
    border: 3px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.hero-btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}