:root {
    --am-navy: #032733;
    --am-deep: #064252;
    --am-teal: #0b8e92;
    --am-aqua: #63c8c5;
    --am-gold: #cbbb69;
    --am-sand: #f3efe5;
    --am-ink: #152f38;
    --am-muted: #657b82;
    --am-white: #ffffff;
    --am-shadow: 0 22px 60px rgba(3, 39, 51, .13);
}

.adrift-home-v2 {
    color: var(--am-ink);
    background: #fff;
    overflow-x: hidden;
}

/* Remove the extra legacy WhatsApp button injected by script.js on V2. */
.adrift-home-v2 .whatsapp-float {
    display: none !important;
}

/* Hide Google Translate's original-text / rating popup */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
iframe.VIpgJd-ZVi9od-xl07Ob-OEVmcd {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

.adrift-home-v2 h1,
.adrift-home-v2 h2,
.adrift-home-v2 h3,
.adrift-home-v2 h4,
.adrift-home-v2 h5,
.adrift-home-v2 .btn {
    font-family: "Work Sans", sans-serif;
}

.adrift-home-v2 p,
.adrift-home-v2 input,
.adrift-home-v2 select {
    font-family: "Nunito", sans-serif;
}

/* Header */
.adrift-home-v2 header {
    background: linear-gradient(180deg, rgba(1, 28, 38, .94), rgba(1, 28, 38, .70));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.adrift-home-v2 header .btn,
.adrift-home-v2 header .btn-solid,
.adrift-home-v2 header .btn-rounded {
    border-radius: 999px !important;
}

/* Compact Google Translate control */
.adrift-home-v2 header .menu > ul:has(#google_translate_element) {
    width: auto !important;
    min-width: 46px;
    margin: 0 0 0 10px !important;
    padding: 0 !important;
}

.adrift-home-v2 #google_translate_element {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 1px solid rgba(203, 187, 105, .42);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.adrift-home-v2 #google_translate_element::before {
    content: "🌐";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    line-height: 1;
    pointer-events: none;
}

.adrift-home-v2 #google_translate_element:hover {
    border-color: var(--am-gold);
    background: rgba(255, 255, 255, .14);
    transform: translateY(-1px);
}

.adrift-home-v2 #google_translate_element .goog-te-gadget,
.adrift-home-v2 #google_translate_element .skiptranslate {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.adrift-home-v2 #google_translate_element select,
.adrift-home-v2 #google_translate_element .goog-te-combo {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

/* Visitor-facing language menu; Google selector remains hidden as the engine */
.adrift-home-v2 .am-language-control { position: relative; width: 46px; height: 46px; }
.adrift-home-v2 .am-language-control #google_translate_element {
    position: absolute !important; width: 1px !important; height: 1px !important;
    overflow: hidden !important; border: 0 !important; opacity: 0 !important;
    pointer-events: none !important;
}
.adrift-home-v2 .am-language-trigger {
    display: flex; width: 46px; height: 46px; align-items: center; justify-content: center;
    padding: 0; border: 1px solid rgba(203, 187, 105, .55); border-radius: 12px;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 21px; line-height: 1;
    cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.adrift-home-v2 .am-language-trigger:hover,
.adrift-home-v2 .am-language-trigger[aria-expanded="true"] {
    border-color: var(--am-gold); background: rgba(255, 255, 255, .15); transform: translateY(-1px);
}
.adrift-home-v2 .am-language-menu {
    position: absolute; top: calc(100% + 10px); right: 0; z-index: 10020; display: none;
    width: 190px; padding: 8px; border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px; background: #062d39; box-shadow: 0 20px 45px rgba(0, 20, 28, .30);
}
.adrift-home-v2 .am-language-menu.is-open { display: block; }
.adrift-home-v2 .am-language-option {
    display: flex; width: 100%; min-height: 40px; align-items: center; padding: 9px 12px;
    border: 0; border-radius: 9px; background: transparent; color: rgba(255, 255, 255, .92);
    font: 700 14px/1.2 "Nunito", sans-serif; text-align: left; cursor: pointer;
}
.adrift-home-v2 .am-language-option:hover,
.adrift-home-v2 .am-language-option:focus {
    outline: 0; background: rgba(203, 187, 105, .18); color: #fff;
}

/* Hero */
.adrift-home-v2 .home_section {
    position: relative;
    min-height: min(760px, 84vh);
    background: var(--am-navy);
}

.adrift-home-v2 .home_section::after {
    display: none !important;
}

.adrift-home-v2 .home_section .home {
    min-height: min(760px, 84vh);
}

.adrift-home-v2 .home_section .container,
.adrift-home-v2 .home_section .row,
.adrift-home-v2 .home_section .home-content {
    min-height: inherit;
}

.adrift-home-v2 .home_section .home-content {
    position: relative;
    z-index: 30 !important;
    opacity: 1 !important;
    filter: none !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.adrift-home-v2 .home_section .bg-transparent {
    width: min(760px, 100%);
    padding: 42px 46px 46px !important;
    text-align: left !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 26px;
    background: linear-gradient(90deg, rgba(0, 31, 42, .92), rgba(0, 42, 54, .60)) !important;
    box-shadow: 0 24px 60px rgba(0, 25, 34, .20);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.adrift-home-v2 .home_section .bg-transparent > * {
    position: relative;
    z-index: 31;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.adrift-home-v2 .home_section h1 {
    max-width: 690px;
    margin: 0 0 24px;
    color: var(--am-white) !important;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.04em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .22);
}

.adrift-home-v2 .home_section h3 {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .92) !important;
    font-size: clamp(18px, 1.7vw, 25px);
    font-weight: 400;
    line-height: 1.55;
}

.am-hero-kicker {
    display: block;
    margin-bottom: 18px;
    color: var(--am-gold) !important;
    font: 700 14px/1.2 "Work Sans", sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.am-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.am-primary-cta,
.am-secondary-cta {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 1px solid var(--am-gold);
    border-radius: 999px;
    font: 700 15px/1 "Work Sans", sans-serif;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.am-primary-cta {
    color: var(--am-navy) !important;
    background: var(--am-gold) !important;
    opacity: 1 !important;
    box-shadow: 0 12px 28px rgba(203, 187, 105, .25);
}

.am-secondary-cta {
    color: #fff !important;
    background: rgba(3, 39, 51, .42) !important;
    border-color: rgba(255, 255, 255, .55);
    opacity: 1 !important;
}

.am-primary-cta:hover,
.am-secondary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .20);
}

.am-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 22px;
    margin-top: 26px;
    color: rgba(255, 255, 255, .90) !important;
    font: 600 13px/1.4 "Nunito", sans-serif;
}

.am-hero-proof span::before {
    content: "✓";
    margin-right: 7px;
    color: var(--am-gold);
}

/* Holiday planner */
.adrift-home-v2 .book-table {
    position: relative;
    z-index: 5;
    margin-top: -86px;
}

.adrift-home-v2 .book-table .table-form {
    padding: 30px 28px 26px;
    border: 1px solid rgba(4, 62, 76, .08);
    border-radius: 26px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--am-shadow);
}

.am-planner-heading {
    margin: 0 10px 18px;
}

.am-planner-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--am-teal);
    font: 700 12px/1.2 "Work Sans", sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.am-planner-heading h2 {
    margin: 0;
    color: var(--am-navy);
    font-size: clamp(25px, 2.3vw, 34px);
    font-weight: 700;
}

.adrift-home-v2 .book-table form {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.adrift-home-v2 .book-table .form-control,
.adrift-home-v2 .book-table .ts-control {
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #d9e2e4;
    border-radius: 13px !important;
    background: #fff;
    color: var(--am-ink);
    box-shadow: none !important;
}

.adrift-home-v2 .book-table .form-control:focus,
.adrift-home-v2 .book-table .ts-control:focus-within {
    border-color: var(--am-teal);
    box-shadow: 0 0 0 4px rgba(11, 142, 146, .10) !important;
}

.adrift-home-v2 .book-table input[type="submit"] {
    min-height: 54px;
    margin: 10px;
    padding: 14px 24px !important;
    border: 0;
    border-radius: 13px !important;
    background: var(--am-gold) !important;
    color: var(--am-navy) !important;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(112, 98, 32, .18);
}

/* Page sections */
.adrift-home-v2 .section-b-space {
    padding-bottom: 92px;
}

.adrift-home-v2 .section-t-space {
    padding-top: 92px;
}

.adrift-home-v2 .about-section.three-image {
    padding-top: 118px;
}

.adrift-home-v2 .title-3 {
    margin-bottom: 42px;
}

.adrift-home-v2 .title-3 .title-label {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(203, 187, 105, .22);
    color: #756817;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.adrift-home-v2 .title-3 h2 {
    color: var(--am-navy);
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 700;
    letter-spacing: -.025em;
}

.adrift-home-v2 .about-text p,
.adrift-home-v2 .content-category p {
    color: var(--am-muted);
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 0;
}

.adrift-home-v2 .about-section .img-box img,
.adrift-home-v2 .category-box,
.adrift-home-v2 .special-box,
.adrift-home-v2 .ticket-box {
    border-radius: 20px;
    box-shadow: 0 16px 44px rgba(3, 39, 51, .11);
    overflow: hidden;
}

.adrift-home-v2 .category-box,
.adrift-home-v2 .special-box {
    border: 1px solid rgba(5, 63, 77, .08);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.adrift-home-v2 .category-box:hover,
.adrift-home-v2 .special-box:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 58px rgba(3, 39, 51, .16);
}

.adrift-home-v2 .btn,
.adrift-home-v2 .btn-rounded,
.adrift-home-v2 .btn-solid,
.adrift-home-v2 .btn-outline-secondary {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .01em;
}

.adrift-home-v2 .full-banner {
    min-height: 570px;
}

.adrift-home-v2 .full-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 34, 45, .05), rgba(2, 34, 45, .75));
}

.adrift-home-v2 .full-banner .container {
    position: relative;
    z-index: 2;
}

.adrift-home-v2 .full-banner .banner-content {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: rgba(3, 39, 51, .76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--am-shadow);
}

.adrift-home-v2 .highlight-section {
    padding: 30px;
    border-radius: 24px;
    background: var(--am-sand);
}

.adrift-home-v2 .highlight-box {
    height: 100%;
    padding: 24px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(3, 39, 51, .08);
}

/* Mobile persistent conversion action */
.am-mobile-actions {
    display: none;
}

@media (max-width: 991px) {
    .adrift-home-v2 .home_section,
    .adrift-home-v2 .home_section .home {
        min-height: 680px;
    }

    .adrift-home-v2 .home_section .home-content {
        align-items: flex-end;
    }

    .adrift-home-v2 .home_section .bg-transparent {
        margin-bottom: 92px;
        padding: 34px 32px 38px !important;
    }

    .adrift-home-v2 .book-table {
        margin-top: -72px;
    }

    .adrift-home-v2 .book-table .table-form {
        padding: 24px 18px;
    }

    .adrift-home-v2 .book-table .responsive-column {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .adrift-home-v2 .book-table input[type="submit"] {
        width: calc(50% - 20px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .adrift-home-v2 .home_section h1 {
        max-width: 620px;
        font-size: 52px;
    }
}

@media (max-width: 575px) {
    .adrift-home-v2 {
        padding-bottom: 96px;
    }

    /* The fixed V2 WhatsApp action replaces the floating desktop widget. */
    .adrift-home-v2 #FloatingWhatsAppDIV {
        display: none !important;
    }

    .adrift-home-v2 header .menu > ul:has(#google_translate_element) {
        display: block !important;
        min-width: 40px;
        margin-left: 6px !important;
    }

    .adrift-home-v2 header .menu > ul:has(#google_translate_element) > li {
        display: block !important;
    }

    .adrift-home-v2 header .container,
    .adrift-home-v2 header .row,
    .adrift-home-v2 header .col {
        width: 100%; max-width: 100%; margin: 0; padding: 0 10px;
    }

    .adrift-home-v2 header .menu {
        display: flex !important; min-height: 82px; align-items: center !important;
        justify-content: flex-start !important; gap: 8px;
    }

    .adrift-home-v2 header .brand-logo {
        flex: 0 0 auto; width: 168px !important; margin-right: auto !important;
    }

    .adrift-home-v2 header .brand-logo img {
        width: 168px !important; max-width: 100% !important; height: auto !important;
    }

    .adrift-home-v2 header nav {
        display: block !important; flex: 0 0 42px; width: 42px !important; margin: 0 !important;
    }

    .adrift-home-v2 header .main-navbar,
    .adrift-home-v2 header #mainnav { display: block !important; width: 42px !important; }

    .adrift-home-v2 header .toggle-nav {
        position: static !important; display: flex !important; width: 42px !important;
        height: 42px !important; align-items: center; justify-content: center;
        margin: 0 !important; padding: 0 !important; color: #fff !important;
        font-size: 23px !important;
    }

    .adrift-home-v2 #google_translate_element {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .adrift-home-v2 #google_translate_element::before {
        font-size: 18px;
    }

    .adrift-home-v2 .am-language-control,
    .adrift-home-v2 .am-language-trigger { width: 40px; height: 40px; }
    .adrift-home-v2 .am-language-trigger { border-radius: 10px; font-size: 18px; }
    .adrift-home-v2 .am-language-menu {
        position: fixed; top: 76px; right: 12px; left: 12px; width: auto;
    }

    .adrift-home-v2 .home_section,
    .adrift-home-v2 .home_section .home {
        min-height: 660px;
        height: 660px;
    }

    .adrift-home-v2 .home_section .home {
        background-position: 58% center !important;
        background-size: cover !important;
    }

    .adrift-home-v2 .home_section video {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 58% center !important;
        opacity: 1 !important;
    }

    .adrift-home-v2 .home_section .home-content {
        align-items: flex-end;
    }

    .adrift-home-v2 .home_section .bg-transparent {
        width: calc(100% - 24px);
        margin: 0 auto 58px;
        padding: 22px 20px 23px !important;
        border-color: rgba(255, 255, 255, .16);
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(0, 31, 42, .56), rgba(0, 31, 42, .82)) !important;
        box-shadow: 0 18px 42px rgba(0, 24, 32, .22);
        backdrop-filter: blur(1.5px);
        -webkit-backdrop-filter: blur(1.5px);
    }

    .adrift-home-v2 .home_section h1 {
        margin-bottom: 13px;
        font-size: clamp(28px, 8vw, 35px);
        line-height: 1.08;
    }

    .adrift-home-v2 .home_section h3 {
        font-size: 15px;
        line-height: 1.42;
    }

    .adrift-home-v2 .am-hero-kicker {
        margin-bottom: 10px;
        font-size: 11px;
        letter-spacing: .13em;
    }

    .am-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 18px;
    }

    .am-primary-cta,
    .am-secondary-cta {
        width: 100%;
    }

    .am-primary-cta,
    .am-secondary-cta {
        min-height: 48px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .am-hero-proof {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px 10px;
        margin-top: 16px;
        font-size: 12px;
    }

    .adrift-home-v2 .book-table {
        margin-top: -48px;
    }

    .adrift-home-v2 .book-table .table-form {
        border-radius: 22px;
    }

    .adrift-home-v2 .book-table .responsive-column,
    .adrift-home-v2 .book-table input[type="submit"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .adrift-home-v2 .section-b-space {
        padding-bottom: 64px;
    }

    .adrift-home-v2 .about-section.three-image {
        padding-top: 86px;
    }

    .adrift-home-v2 .about-section.three-image .image-section {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100% !important;
        margin: 0 0 26px !important;
    }

    .adrift-home-v2 .about-section.three-image .img-box {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: 235px !important;
        margin: 0 !important;
        transform: none !important;
        border-radius: 18px !important;
    }

    .adrift-home-v2 .about-section.three-image .img-box:nth-child(n+3) {
        display: none !important;
    }

    .adrift-home-v2 .about-section.three-image .img-box .circle {
        display: none !important;
    }

    .adrift-home-v2 .about-section.three-image .img-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 18px !important;
    }

    .adrift-home-v2 .about-section .about-text,
    .adrift-home-v2 .about-section .about-text p {
        text-align: left !important;
        letter-spacing: 0 !important;
        word-spacing: normal !important;
    }

    .adrift-home-v2 .about-section .about-text p {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 1.65;
    }

    .adrift-home-v2 .title-3 {
        margin-bottom: 28px;
    }

    .adrift-home-v2 .title-3 h2 {
        font-size: 32px;
    }

    .adrift-home-v2 .full-banner {
        min-height: 520px;
    }

    .adrift-home-v2 .highlight-section {
        padding: 14px;
    }

    .am-mobile-actions {
        position: fixed;
        right: 12px;
        bottom: 10px;
        left: 12px;
        z-index: 9999;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 7px;
        border: 1px solid rgba(5, 55, 67, .12);
        border-radius: 15px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 45px rgba(0, 31, 41, .24);
        backdrop-filter: blur(10px);
    }

    .am-mobile-actions a {
        display: flex;
        min-height: 43px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font: 800 13px/1 "Work Sans", sans-serif;
        text-decoration: none;
    }

    .am-mobile-actions .plan {
        color: var(--am-navy);
        background: var(--am-gold);
    }

    .am-mobile-actions .chat {
        color: #fff;
        background: #159b64;
    }
}

@media (prefers-reduced-motion: reduce) {
    .adrift-home-v2 *,
    .adrift-home-v2 *::before,
    .adrift-home-v2 *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
