/* Vista index - banner, hero, servicios, aeronaves, mantenimiento */

/* New Hero Split Design */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: #22223A;
    /* Dark navy background */
    overflow: hidden;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch;
    border-bottom: 20px solid #CACADB;
    /* 20px thick line */
}

.hero-split__content {
    padding: 60px 10% 60px 15%;
    /* Increased left padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.hero-split__logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    /* Space between logo and title */
}

.hero-logo-icon {
    width: 200px;
    /* Even larger */
    height: auto;
    object-fit: contain;
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0.9;
}

.hero-split__info {
    max-width: 550px;
}

.hero-badge {
    background: #ffffff;
    color: rgb(38, 38, 54);
    display: inline-block;
    padding: 0 20px;
    /* Removed vertical padding entirely */
    border-radius: 20px;
    margin-bottom: 15px;
    line-height: 1;
    /* Tighten box around text */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    /* Added dark shadow */
}

.hero-badge span {
    font-family: 'Outfit', sans-serif;
    /* Consistency */
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    display: block;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    /* Consistency */
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    /* Added subtle text shadow */
}

.hero-description {
    font-family: 'Outfit', sans-serif;
}

.hero-description p {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-weight: 300;
    opacity: 0.9;
}

.hero-split__media {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-split__media img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

/* Language Selector for Hero */
.lang-selector-hero {
    position: absolute;
    top: 40px;
    right: 40px;
    /* Moved to far right corner */
    z-index: 10;
    display: flex;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.lang-link-hero {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
}

.lang-link-hero.is-active {
    color: #ffffff;
    font-weight: 700;
}

.lang-divider-hero {
    color: rgba(255, 255, 255, 0.3);
}

/* Discover Havana Section */
.discover-havana {
    padding: 100px 0;
    background: #ffffff;
}

.discover-header {
    text-align: center;
    margin-bottom: 80px;
}

.discover-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: #22223A;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    text-transform: uppercase;
    line-height: 1.2;
}

.discover-divider {
    width: 80px;
    height: 6px;
    background: #22223A;
    margin: 0 auto;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: end;
    /* Align items to the bottom of the grid */
}

.discover-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure full height */
}

.discover-img-wrap {
    position: relative;
    width: 100%;
    height: 450px;
    /* Fixed height for consistency */
    margin-bottom: 50px;
    line-height: 0;
    /* Prevents any spacing below the image */
}

.discover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.discover-label-box {
    position: absolute;
    bottom: -1px;
    /* Slightly offset to cover the image edge perfectly */
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 35px;
    /* Removed vertical padding to use fixed height */
    box-shadow: none;
    /* Removed shadow */
    text-align: center;
    width: 80%;
    /* Consistent width */
    height: 90px;
    /* Fixed height for all banners */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 4px 0 0;
    /* Only top corners rounded to stay flush at bottom */
    z-index: 5;
}

.discover-label {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #22223A;
    line-height: 1.2;
    display: block;
}

.discover-content {
    padding-top: 15px;
    text-align: left;
}

.discover-content p {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #212121;
    margin: 0;
    font-weight: 300;
}

/* Havana Rhythm Section - Overlay Design */
.havana-rhythm {
    padding: 100px 0;
    background: #ffffff;
}

.rhythm-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rhythm-media {
    position: relative;
    width: 100%;
    line-height: 0;
}

.rhythm-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.rhythm-overlay-box {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    padding: 30px 50px;
    /* Even more compact */
    width: 50%;
    max-width: 550px;
    box-shadow: none;
    /* Removed shadow */
    z-index: 10;
    line-height: normal;
    /* Restore line-height for text */
}

.rhythm-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: #22223A;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.rhythm-line {
    width: 70px;
    height: 6px;
    background: #22223A;
    margin-bottom: 15px;
}

.rhythm-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #22223A;
    margin-bottom: 10px;
}

.rhythm-desc {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #212121;
    margin-bottom: 20px;
    font-weight: 300;
}

.rhythm-pill {
    background: rgb(38, 38, 54);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 20px;
    display: inline-block;
}

.rhythm-pill span {
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .rhythm-overlay-box {
        position: relative;
        width: 100%;
        max-width: none;
        padding: 40px 20px;
        box-shadow: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rhythm-line {
        margin: 0 auto 25px;
    }
}

/* Section 1: Travel Info */
.travel-info {
    background: #ffffff;
    padding: 100px 0 0 0;
}

.travel-card {
    background: #eef2f6;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 40px;
    border-radius: 100px 100px 0 0;
    text-align: center;
}

.travel-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #22223A;
    margin-bottom: 12px;
}

.travel-card-line {
    width: 60px;
    height: 6px;
    background: #22223A;
    margin: 0 auto 25px;
}

.travel-card-text {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #212121;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Section 2: Contact Section */
.contact-section {
    background: #22223A;
    color: #ffffff;
    padding: 35px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.contact-headline {
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-subheadline {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 580px;
    /* Limit width to align with title */
    font-weight: 300;
}

.contact-details {
    margin-top: 35px;
}

.contact-detail-row {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.form-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.form-subheading {
    font-family: 'Poppins light', 'Poppins', 'Outfit', sans-serif;
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 25px;
    font-weight: 300;
}

.contact-form-final {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-final input,
.contact-form-final textarea {
    background: #CACBD7;
    /* Gray-blue background matching the image */
    border: none;
    padding: 15px 22px;
    border-radius: 10px;
    color: #22223A;
    /* Dark text for readability */
    font-family: 'Poppins', 'Outfit', sans-serif;
    font-size: 16px;
}

.contact-form-final input::placeholder,
.contact-form-final textarea::placeholder {
    color: #22223A;
    /* Darker placeholder */
}

.contact-form-final textarea {
    height: 120px;
    resize: none;
}

.form-footer-final {
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    background: #ffffff;
    color: #22223A;
    padding: 10px 20px;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    background: #CACBD7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .contact-details {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .contact-detail-row {
        flex-direction: column;
        gap: 25px;
    }

    .contact-subheadline {
        margin: 0 auto 40px;
    }

    .form-footer-final {
        justify-content: center;
    }

    .travel-card {
        margin: 0 20px;
        border-radius: 60px 60px 0 0;
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 60px 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 38px;
    }

    .discover-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rhythm-overlay-box {
        position: relative;
        width: 100%;
        max-width: none;
        bottom: 0;
        right: 0;
        padding: 40px 20px;
        text-align: center;
    }

    .rhythm-media img {
        height: 350px;
    }

    .travel-info {
        padding-top: 60px;
    }

    .contact-section {
        padding: 20px 0;
    }
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }

    .hero-split__content {
        padding: 100px 8% 60px;
        align-items: center;
        text-align: center;
    }

    .hero-split__logo {
        justify-content: center;
        margin-bottom: 30px;
    }

    .hero-split__info {
        margin-top: 0;
    }

    .hero-split__media {
        height: 50vh;
        order: -1;
        /* Image on top for mobile */
    }

    .hero-split__media img {
        height: 100%;
    }

    .lang-selector-hero {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-logo-icon {
        width: 120px;
    }

    .hero-badge span {
        font-size: 32px;
    }

    .hero-badge {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description p {
        font-size: 16px;
    }
}

/* Base Transition Variable */
:root {
    --transition-smooth: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Selector de Idioma Minimalista (Superior) */
.lang-selector-top {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    z-index: 100;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.lang-link-top {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 300;
}

.lang-link-top:hover,
.lang-link-top.is-active {
    color: #ffffff;
    font-weight: 700;
}

.lang-divider-top {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Global strong style for index */
strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}