body.theme-pro.travel-agency.pilot-home {
    --pilot-ink: #102e3b;
    --pilot-deep: #0a2432;
    --pilot-teal: #175c61;
    --pilot-copper: #9d4127;
    --pilot-sun: #f8d18f;
    --pilot-cream: #faf6ed;
    --pilot-mist: #eff5f2;
    --pilot-edge: #dbe4e1;
    --pilot-display: Georgia, "Times New Roman", serif;
    background: #fffdf8;
    color: var(--pilot-ink);
}

body.theme-pro.travel-agency.pilot-home .agency-header { color: var(--pilot-ink); }
body.theme-pro.travel-agency.pilot-home .agency-topline {
    background: var(--pilot-deep);
    color: #f5f8f7;
}
body.theme-pro.travel-agency.pilot-home .agency-topline a { color: inherit; }
body.theme-pro.travel-agency.pilot-home .agency-header-main { border-bottom-color: var(--pilot-edge); }
body.theme-pro.travel-agency.pilot-home .agency-navigation .container {
    justify-content: center;
    gap: clamp(14px, 1.9vw, 30px);
}
body.theme-pro.travel-agency.pilot-home .agency-navigation .agency-nav-campaign {
    margin-left: 0;
    color: var(--pilot-copper);
}
body.theme-pro.travel-agency.pilot-home .agency-navigation .agency-nav-campaign i,
body.theme-pro.travel-agency.pilot-home .agency-navigation a:hover,
body.theme-pro.travel-agency.pilot-home .agency-navigation summary:hover { color: var(--pilot-copper); }

body.theme-pro.travel-agency.pilot-home .pilot-hero {
    padding: 28px 0 0;
    background: linear-gradient(180deg, var(--pilot-cream), #fffdf8);
}
.pilot-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    min-height: 440px;
    border-radius: 26px;
    overflow: hidden;
    isolation: isolate;
    background: var(--pilot-deep);
    box-shadow: 0 14px 44px #0a243225;
}
.pilot-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-width: 0;
    padding: clamp(30px, 4vw, 64px) clamp(26px, 4.4vw, 72px) clamp(54px, 5.2vw, 82px);
    color: #f6f4ed;
    background: radial-gradient(ellipse at 0 100%, #185258, transparent 73%), var(--pilot-deep);
}
.pilot-hero-copy::before {
    position: absolute;
    content: "";
    pointer-events: none;
    width: 270px;
    height: 270px;
    inset: auto auto -145px -64px;
    border-radius: 50%;
    border: 1px solid #a8d3c52b;
    box-shadow: 0 0 0 26px #a8d3c515, 0 0 0 54px #a8d3c510;
}
.pilot-hero-copy h1 {
    position: relative;
    color: #fffaf0;
    font: 400 clamp(3.35rem, 5.45vw, 5.9rem) / .96 var(--pilot-display);
    font-family: var(--pilot-display) !important;
    letter-spacing: -.065em;
    margin: 0;
}
.pilot-hero-copy h1 em {
    display: block;
    color: var(--pilot-sun);
    font-weight: inherit;
}
.pilot-hero-copy p {
    position: relative;
    color: #e4efec;
    margin: 24px 0 26px;
    max-width: 33ch;
    font-size: clamp(14px, 1.15vw, 17px);
    line-height: 1.65;
}
.pilot-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    gap: 10px 20px;
}
.pilot-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    gap: 10px;
    font-size: 13px;
    font-weight: 750;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero-actions a.pilot-action {
    padding: 0 20px;
    border-radius: 9px;
    color: var(--pilot-deep) !important;
    background: var(--pilot-sun);
}
.pilot-hero-actions .pilot-action:hover { background: #ffe2af; }
.pilot-hero-actions .pilot-text-link { color: #fffaf0; }
.pilot-hero-actions .pilot-text-link:hover { text-decoration: underline; }
.pilot-hero-photo {
    margin: 0;
    min-width: 0;
    position: relative;
    background: #256577;
}
.pilot-hero-photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 57% 56%;
}
.pilot-hero-photo figcaption { position: absolute; right: 20px; bottom: 52px; }
.pilot-hero-photo figcaption a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 18px;
    background: #fffaf3;
    color: var(--pilot-deep);
    font-size: 12px;
    font-weight: 650;
}
.pilot-hero-photo figcaption i { color: var(--pilot-copper); }
.pilot-search-zone {
    width: calc(100% - 44px);
    margin: -34px auto 0;
    position: relative;
    z-index: 2;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc {
    border: 1px solid var(--pilot-edge);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 14px 44px #10363619;
    scroll-margin-top: 150px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-tabs {
    border-radius: 17px 17px 0 0;
    background: var(--pilot-mist);
    padding: 8px;
    gap: 4px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-tabs .nav-link {
    min-height: 47px;
    flex-direction: row;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    color: var(--pilot-ink);
    font-size: 13px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-tabs .nav-link i { font-size: 15px; }
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-tabs .nav-link.active {
    color: #fff;
    background: var(--pilot-teal);
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-body { padding: 18px 22px; }
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-title {
    color: var(--pilot-ink);
    font-size: 16px;
    margin-bottom: 13px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-title i,
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-input-wrap i {
    color: var(--pilot-teal);
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-label { color: #435c5c; }
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-input-wrap {
    background: #f9fcfa;
    border-color: var(--pilot-edge);
    border-radius: 8px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 12px !important;
    white-space: nowrap;
    background: var(--pilot-copper);
    color: #fff;
    border-radius: 9px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-submit:hover { background: #78301e; }
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-form {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(126px, .46fr);
    align-items: end;
    gap: 12px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero #otel-search-form {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.05fr) minmax(0, .86fr) minmax(126px, .46fr);
}
body.theme-pro.travel-agency.pilot-home .pilot-hero #feribot-search-form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(126px, .46fr);
}
.pilot-home .pilot-hero .agency-hsc-form .agency-search-note {
    margin: 0 0 7px;
    color: #435c5c;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-product-benefits {
    margin-top: 16px;
    padding: 18px 12px 22px;
    color: #2b4d51;
    gap: 8px;
    font-size: 12px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-product-benefits i { color: var(--pilot-copper); }

body.theme-pro.travel-agency.pilot-home .agency-section-head h2,
body.theme-pro.travel-agency.pilot-home .agency-planning h2 {
    font: 400 clamp(2rem, 3.5vw, 3.6rem) / 1.02 var(--pilot-display);
    letter-spacing: -.045em;
    color: var(--pilot-ink);
}
body.theme-pro.travel-agency.pilot-home .agency-eyebrow,
body.theme-pro.travel-agency.pilot-home .agency-section-head > a,
body.theme-pro.travel-agency.pilot-home .agency-section-head .agency-section-actions > a { color: var(--pilot-copper); }
body.theme-pro.travel-agency.pilot-home .agency-section-head p { color: #435c5c; font-size: 14px; }
body.theme-pro.travel-agency.pilot-home .agency-section-head > a {
    padding: 9px 13px;
    border: 1px solid var(--pilot-edge);
    border-radius: 8px;
    background: #fff;
}
body.theme-pro.travel-agency.pilot-home .agency-section-head > a:hover { background: var(--pilot-mist); }
body.theme-pro.travel-agency.pilot-home .agency-section-soft { background: var(--pilot-mist); }

.pilot-home .pilot-destinations { padding-top: 32px; }
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination {
    grid-column: span 4;
    min-height: 215px;
    border-radius: 16px;
    background-color: var(--pilot-teal);
}
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination:nth-child(6n + 1),
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination:nth-child(6n + 6) { grid-column: span 5; }
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination:nth-child(6n + 3),
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination:nth-child(6n + 4) { grid-column: span 3; }
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination > div {
    background: linear-gradient(transparent, #0a2432ed);
    padding: 48px 18px 17px;
}
body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination h3 {
    font: 400 clamp(1.32rem, 2vw, 2rem) / 1.08 var(--pilot-display);
}

body.theme-pro.travel-agency.pilot-home .pilot-campaigns { background: var(--pilot-cream); }
.pilot-campaign-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 17px;
}
body.theme-pro.travel-agency.pilot-home .pilot-campaigns .agency-hero-shortcuts {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(90px, 1fr);
    margin: 0;
}
body.theme-pro.travel-agency.pilot-home .pilot-campaigns .agency-hero-shortcuts > a {
    padding: 18px 22px;
    background: #fffdf8;
    border: 1px solid var(--pilot-edge);
    border-radius: 15px;
}
body.theme-pro.travel-agency.pilot-home .pilot-campaigns .agency-hero-shortcuts > a:nth-child(2) {
    background: var(--pilot-mist);
}
body.theme-pro.travel-agency.pilot-home .pilot-campaigns .agency-hero-shortcuts > a strong {
    color: var(--pilot-ink);
    font-size: 16px;
}
body.theme-pro.travel-agency.pilot-home .pilot-campaigns .agency-hero-shortcuts > a small {
    color: #435c5c;
    font-size: 12px;
}
body.theme-pro.travel-agency.pilot-home .pilot-campaigns .agency-hero-fallback {
    display: block;
    min-height: 270px;
}
body.theme-pro.travel-agency.pilot-home .pilot-campaigns .agency-hero-fallback > div {
    background: linear-gradient(90deg, #0a2432eb, #0a243240);
}
.pilot-home .agency-hero-fallback .agency-eyebrow { color: #fff5e0 !important; }
.pilot-home .pilot-designer { padding-top: 24px; }
body.theme-pro.travel-agency.pilot-home .pilot-designer .tds-entry {
    background: var(--pilot-mist);
    border-color: var(--pilot-edge);
}
body.theme-pro.travel-agency.pilot-home .pilot-designer .tds-entry h2 {
    color: var(--pilot-ink);
    font: 400 clamp(1.5rem, 2.6vw, 2.7rem) / 1.04 var(--pilot-display);
}
body.theme-pro.travel-agency.pilot-home .pilot-designer .tds-entry-link { background: var(--pilot-teal); color: #fff; }

body.theme-pro.travel-agency.pilot-home .agency-theme-grid > a,
body.theme-pro.travel-agency.pilot-home .agency-hotel-card,
body.theme-pro.travel-agency.pilot-home .agency-tour-group,
body.theme-pro.travel-agency.pilot-home .agency-vtour-card,
body.theme-pro.travel-agency.pilot-home .agency-blog-card {
    border-color: var(--pilot-edge);
    border-radius: 15px;
}
body.theme-pro.travel-agency.pilot-home .agency-planning { background: var(--pilot-cream); }
body.theme-pro.travel-agency.pilot-home .agency-footer { background: var(--pilot-deep) !important; }
.pilot-home :is(.pilot-hero, .pilot-campaigns, .pilot-destinations) :focus-visible {
    outline: 3px solid #208780;
    outline-offset: 3px;
}
.pilot-home .pilot-hero-copy :focus-visible { outline-color: var(--pilot-sun); }

@media (max-width: 1023px) {
    .pilot-hero-panel { min-height: 392px; }
    body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-form,
    body.theme-pro.travel-agency.pilot-home .pilot-hero #otel-search-form,
    body.theme-pro.travel-agency.pilot-home .pilot-hero #feribot-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pilot-home .pilot-hero .agency-hsc-form .agency-search-note { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    body.theme-pro.travel-agency.pilot-home .pilot-hero { padding-top: 16px; }
    .pilot-hero-panel { grid-template-columns: minmax(0, 1fr); border-radius: 19px; min-height: auto; }
    .pilot-hero-copy { padding: 29px 23px 24px; }
    .pilot-hero-copy h1 { font-size: clamp(2.25rem, 11vw, 4.7rem); }
    .pilot-hero-copy p { margin: 15px 0 17px; }
    .pilot-hero-photo { min-height: 185px; height: clamp(185px, 46vw, 270px); }
    .pilot-hero-photo figcaption { right: 12px; bottom: 22px; }
    .pilot-search-zone { width: calc(100% - 15px); margin-top: -11px; }
    body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-tabs .nav-link {
        min-height: 57px;
        flex-direction: column;
        gap: 5px;
        padding: 6px 1px;
        font-size: 11px;
    }
    body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-body { padding: 14px 13px; }
    body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-hsc-form,
    body.theme-pro.travel-agency.pilot-home .pilot-hero #otel-search-form,
    body.theme-pro.travel-agency.pilot-home .pilot-hero #feribot-search-form {
        grid-template-columns: minmax(0, 1fr);
    }
    body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-product-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
        padding-inline: 5px;
        row-gap: 12px;
    }
    .pilot-home .pilot-hero .agency-product-benefits span { justify-content: flex-start; }
    .pilot-campaign-grid { grid-template-columns: minmax(0, 1fr); }
    body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination:nth-child(n) {
        grid-column: span 1;
        min-height: 166px;
    }
    body.theme-pro.travel-agency.pilot-home .pilot-destinations .agency-destination:first-child { grid-column: 1 / -1; }
    body.theme-pro.travel-agency.pilot-home .agency-section-head { align-items: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .pilot-home .pilot-destinations .agency-destination img { transition: none; }
}

/* Keep open search controls above the floating assistant launcher and mobile contact bar. */
.pilot-search-zone:has(.dropdown-menu.show) { z-index: 1045; }

body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-search-quick > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-search-quick > div > a {
    color: var(--pilot-ink);
    background: var(--pilot-mist);
    border: 1px solid var(--pilot-edge);
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 11px;
}
body.theme-pro.travel-agency.pilot-home .pilot-hero .agency-search-quick > div > a:hover {
    border-color: var(--pilot-teal);
    color: var(--pilot-teal);
}
