/* JA Transfers & Tours homepage refresh: hero and transfer booking section. */

body.home #about.et_pb_section {
    display: flex;
    align-items: center;
    min-height: 690px;
    padding: clamp(72px, 8vw, 112px) 0 !important;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(3, 38, 52, .08) 0%, rgba(3, 38, 52, .02) 62%, rgba(3, 38, 52, .16) 100%),
        url('../images/hero-cayo-arena.jpg') !important;
    background-position: center 58% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

body.home #about .et_pb_row_3_tb_body {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(250px, 1.12fr);
    align-items: end;
    gap: clamp(28px, 6vw, 88px);
    width: min(92%, 1280px) !important;
    max-width: 1280px !important;
    margin: auto !important;
    padding: 0 !important;
}

body.home #about .et_pb_column_4_tb_body,
body.home #about .et_pb_column_5_tb_body {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.home #about .et_pb_column_4_tb_body {
    position: relative;
    z-index: 2;
    padding: clamp(28px, 4vw, 48px) !important;
    border: 1px solid rgba(8, 64, 76, .10);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 70px rgba(0, 35, 49, .20);
    backdrop-filter: blur(9px);
}

body.home #about .et_pb_text_2_tb_body,
body.home #about .et_pb_text_3_tb_body,
body.home #about .et_pb_code_1_tb_body {
    margin: 0 !important;
}

body.home #about .et_pb_text_2_tb_body p,
body.home #about .et_pb_text_3_tb_body h5 {
    margin: 0 0 13px !important;
    color: #ee6f62 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

body.home #about h1 {
    margin: 0 !important;
    color: #073747 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: clamp(43px, 5vw, 72px) !important;
    font-weight: 800 !important;
    letter-spacing: -.065em !important;
    line-height: .98 !important;
    text-transform: none !important;
}

body.home #about .et_pb_text_3_tb_body {
    margin-top: 22px !important;
}

body.home #about .et_pb_text_3_tb_body p {
    margin: 0 !important;
    color: #455f68 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.72 !important;
    text-align: left !important;
}

body.home #about .et_pb_code_1_tb_body {
    margin-top: 25px !important;
}

body.home #about .button-container {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    max-width: none !important;
}

body.home #about .button-container .button {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 132px;
    padding: 13px 19px !important;
    border: 1px solid #0a4655 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #0a4655 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

body.home #about .button-container .button:first-child {
    border-color: #f6b927 !important;
    background: #f6b927 !important;
    color: #073747 !important;
}

body.home #about .button-container .button:hover,
body.home #about .button-container .button:focus-visible {
    border-color: #0a4655 !important;
    background: #0a4655 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

body.home #about .et_pb_column_5_tb_body {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

body.home #about .et_pb_code_2_tb_body {
    width: min(100%, 315px);
    margin: 0 !important;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 20px 55px rgba(0, 35, 49, .22);
}

body.home #about .et_pb_code_2_tb_body .vp-a,
body.home #about .et_pb_code_2_tb_body .vp-img {
    display: block;
    width: 100%;
    border-radius: 13px;
}

body.home .et_pb_section_10_tb_body {
    padding: 0 !important;
    background: #fff !important;
}

body.home #transfers.et_pb_row {
    display: grid !important;
    grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr);
    align-items: start;
    gap: clamp(42px, 7vw, 92px);
    width: min(92%, 1240px) !important;
    max-width: 1240px !important;
    margin: auto !important;
    padding: clamp(76px, 8vw, 112px) 0 !important;
}

body.home #transfers > .et_pb_column {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.home #transfers .dct_title h6.sub {
    margin: 0 0 13px !important;
    color: #ee6f62 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

body.home #transfers .dct_title h2 {
    margin: 0 !important;
    color: #073747 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: clamp(39px, 4.3vw, 58px) !important;
    font-weight: 800 !important;
    letter-spacing: -.055em !important;
    line-height: 1.02 !important;
    text-transform: none !important;
}

body.home #transfers .dct_title .bd_icon {
    display: none !important;
}

body.home #transfers .et_pb_text_6_tb_body {
    margin: 25px 0 0 !important;
}

body.home #transfers .et_pb_text_6_tb_body p,
body.home #transfers .contact-module p {
    color: #526870 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

body.home #transfers .contact-module {
    margin-top: 32px;
    padding: 27px;
    border: 1px solid #dce8e9;
    border-radius: 20px;
    background: #f3fbfb;
}

body.home #transfers .contact-module h2 {
    margin: 0 0 8px !important;
    color: #073747 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

body.home #transfers .contact-module .button-container {
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    max-width: none !important;
    margin-top: 18px !important;
}

body.home #transfers .contact-module .button {
    width: auto !important;
    min-width: 125px;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #073747 !important;
    color: #fff !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.home #transfers .contact-module .button:last-child {
    background: #19a978 !important;
}

body.home #transfers .et_pb_column_21_tb_body {
    padding: 13px !important;
    border: 1px solid #dce8e9;
    border-radius: 26px;
    background: #f7fbfb;
    box-shadow: 0 24px 65px rgba(7, 55, 71, .14);
}

body.home #transfers .tbs-ja-atlas-replacement,
body.home #transfers .tbs-ja-atlas-replacement iframe {
    overflow: hidden;
    border-radius: 18px;
}

body.home #transfers .et_pb_text_7_tb_body {
    width: fit-content;
    margin: 14px auto 2px !important;
    padding: 10px 17px !important;
    border-radius: 999px;
    background: #073747;
    color: #fff !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .08em;
}

@media (max-width: 980px) {
    body.home #about.et_pb_section {
        min-height: 760px;
        padding: 72px 0 !important;
        background-position: 61% center !important;
    }

    body.home #about .et_pb_row_3_tb_body,
    body.home #transfers.et_pb_row {
        grid-template-columns: 1fr;
    }

    body.home #about .et_pb_column_4_tb_body {
        max-width: 610px;
    }

    body.home #about .et_pb_column_5_tb_body {
        display: none;
    }

    body.home #transfers.et_pb_row {
        gap: 42px;
    }
}

@media (max-width: 600px) {
    body.home #about.et_pb_section {
        min-height: 720px;
        padding: 46px 0 !important;
    }

    body.home #about .et_pb_row_3_tb_body,
    body.home #transfers.et_pb_row {
        width: 90% !important;
    }

    body.home #about .et_pb_column_4_tb_body {
        padding: 26px 22px !important;
        border-radius: 21px;
    }

    body.home #about h1 {
        font-size: clamp(38px, 12vw, 52px) !important;
    }

    body.home #about .button-container .button {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    body.home #transfers .dct_title h2 {
        font-size: 38px !important;
    }

    body.home #transfers .contact-module {
        padding: 22px 18px;
    }

    body.home #transfers .contact-module .button-container {
        flex-direction: column !important;
    }

    body.home #transfers .contact-module .button {
        width: 100% !important;
    }

    body.home #transfers .et_pb_column_21_tb_body {
        padding: 7px !important;
        border-radius: 19px;
    }
}

/* Keep the transfer redesign readable over legacy Divi section rules. */
html body.home #page-container #popular-transfers.ja-popular-transfers .ja-popular-transfers__intro h2 {
    color: #073747 !important;
}

html body.home #page-container #popular-transfers.ja-popular-transfers .ja-popular-transfers__intro p {
    color: #526870 !important;
}

html body.home #page-container #popular-transfers.ja-popular-transfers .ja-transfer-route__bottom a,
html body.home #page-container #popular-transfers.ja-popular-transfers .ja-popular-transfers__all {
    color: #073747 !important;
}

/* Popular transfer routes replace the old dark-blue destination block. */
html body.home #page-container .ja-popular-transfers.et_pb_section {
    padding: clamp(72px, 8vw, 110px) 0 !important;
    background: #f7f1e7 !important;
}

.ja-popular-transfers__inner {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.ja-popular-transfers__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: end;
    gap: 40px;
    margin-bottom: 38px;
}

.ja-popular-transfers__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #e76f51;
    font-family: Manrope, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ja-popular-transfers__intro h2 {
    margin: 0 !important;
    color: #073747 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: clamp(38px, 5vw, 64px) !important;
    font-weight: 800 !important;
    letter-spacing: -.055em !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.ja-popular-transfers__intro p {
    max-width: 680px;
    margin: 20px 0 0 !important;
    color: #526870 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.ja-popular-transfers__benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.ja-popular-transfers__benefits span {
    padding: 10px 13px;
    border: 1px solid rgba(7, 55, 71, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #073747;
    font-family: Manrope, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.ja-popular-transfers__benefits span::before {
    margin-right: 6px;
    color: #18a77a;
    content: '\2713';
}

.ja-popular-transfers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ja-transfer-route {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(7, 55, 71, .10);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(7, 55, 71, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ja-transfer-route:hover {
    border-color: rgba(7, 55, 71, .20);
    box-shadow: 0 18px 40px rgba(7, 55, 71, .12);
    transform: translateY(-4px);
}

.ja-transfer-route__top,
.ja-transfer-route__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ja-transfer-route__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #073747;
    color: #fff;
    font-family: Manrope, Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
}

.ja-transfer-route__type {
    color: #e76f51;
    font-family: Manrope, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ja-transfer-route__path {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}

.ja-transfer-route__path small {
    display: block;
    margin-bottom: 5px;
    color: #829399;
    font-family: Manrope, Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ja-transfer-route__path strong {
    display: block;
    overflow: hidden;
    color: #073747;
    font-family: Manrope, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.ja-transfer-route__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eaf7f3;
    color: #18a77a;
    font-size: 18px;
    font-weight: 900;
}

.ja-transfer-route__bottom {
    padding-top: 18px;
    border-top: 1px solid #e9efef;
}

.ja-transfer-route__destination {
    color: #526870;
    font-family: Manrope, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.ja-transfer-route__bottom a,
.ja-popular-transfers__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f6b71e;
    color: #073747 !important;
    font-family: Manrope, Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none !important;
}

.ja-transfer-route__bottom a {
    padding: 10px 15px;
}

.ja-popular-transfers__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 24px 28px;
    border-radius: 20px;
    background: #073747;
}

.ja-popular-transfers__footer p {
    margin: 0 !important;
    color: rgba(255, 255, 255, .82) !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 14px !important;
}

.ja-popular-transfers__all {
    flex: 0 0 auto;
    padding: 13px 20px;
}

@media (max-width: 980px) {
    .ja-popular-transfers__intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ja-popular-transfers__benefits {
        justify-content: flex-start;
    }

    .ja-popular-transfers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    html body.home #page-container .ja-popular-transfers.et_pb_section {
        padding: 58px 0 !important;
    }

    .ja-popular-transfers__grid {
        grid-template-columns: 1fr;
    }

    .ja-transfer-route {
        padding: 20px;
    }

    .ja-popular-transfers__footer {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }
}

/* Divi's generated hero rules are printed after plugin styles. These more
   specific declarations keep the requested design authoritative. */
html body.home #page-container #about.et_pb_section {
    display: flex !important;
    align-items: center !important;
    min-height: 680px !important;
    padding: clamp(44px, 4.4vw, 58px) 0 !important;
    background-image:
        linear-gradient(90deg, rgba(3, 38, 52, .08) 0%, rgba(3, 38, 52, .02) 62%, rgba(3, 38, 52, .16) 100%),
        url('../images/hero-cayo-arena.jpg') !important;
    background-position: center bottom !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

html body.home #page-container #about.et_pb_section::before,
html body.home #page-container #about h1::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

html body.home #page-container #about .et_pb_row.et_pb_row_3_tb_body {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(250px, .88fr) !important;
    align-items: end !important;
    gap: clamp(28px, 6vw, 88px) !important;
    width: min(92%, 1280px) !important;
    max-width: 1280px !important;
    margin: auto !important;
    padding: 0 !important;
}

/* Divi adds clearfix pseudo-elements to rows. Inside a CSS grid they become
   real grid items and force the two hero columns onto separate rows. */
html body.home #page-container #about .et_pb_row.et_pb_row_3_tb_body::before,
html body.home #page-container #about .et_pb_row.et_pb_row_3_tb_body::after {
    display: none !important;
    content: none !important;
}

html body.home #page-container #about .et_pb_column.et_pb_column_4_tb_body {
    grid-column: 1 !important;
    grid-row: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: clamp(28px, 4vw, 48px) !important;
    border: 1px solid rgba(8, 64, 76, .10) !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 28px 70px rgba(0, 35, 49, .20) !important;
}

html body.home #page-container #about .et_pb_column.et_pb_column_5_tb_body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    display: none !important;
}

html body.home #page-container #about h1 {
    margin: 0 !important;
    color: #073747 !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: clamp(43px, 5vw, 72px) !important;
    font-weight: 800 !important;
    letter-spacing: -.065em !important;
    line-height: .98 !important;
    text-transform: none !important;
}

html body.home #page-container #about .et_pb_text_2_tb_body p {
    color: #ee6f62 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

html body.home #page-container #about .et_pb_text_3_tb_body p {
    color: #455f68 !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
}

@media (max-width: 980px) {
    html body.home #page-container #about .et_pb_row.et_pb_row_3_tb_body {
        grid-template-columns: 1fr !important;
    }

    html body.home #page-container #about .et_pb_column.et_pb_column_5_tb_body {
        display: none !important;
    }

    html body.home #page-container #about .et_pb_column.et_pb_column_4_tb_body {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
}

@media (max-width: 600px) {
    html body.home #page-container #about.et_pb_section {
        min-height: 0 !important;
        padding: 42px 0 !important;
    }

    html body.home #page-container #about .et_pb_column.et_pb_column_4_tb_body {
        padding: 26px 22px !important;
        border-radius: 21px !important;
    }

    html body.home #page-container #about h1 {
        font-size: clamp(38px, 12vw, 52px) !important;
    }
}
