﻿:root {
    --neon-purple: #9d50bb;
    --neon-pink: #ff00cc;
    --neon-blue: #00d2ff;
}

.neon-text-gradient {
    background: linear-gradient(90deg, #b066fe, #ff299f, #b066fe);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: move-gradient 4s linear infinite;
}

@keyframes move-gradient {
    to {
        background-position: 200% center;
    }
}

.party-gradient {
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
}

/* Subscription Modal Specific Styles */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

@keyframes fade-in-up-modal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 4s ease-in-out infinite;
}

.animate-fade-in-up-modal {
    animation: fade-in-up-modal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-blur-bg {
    backdrop-filter: blur(12px) brightness(40%);
    -webkit-backdrop-filter: blur(12px) brightness(40%);
}

#subscription-modal {
    transition: all 0.3s ease;
}

#subscription-modal.hidden {
    display: none;
    pointer-events: none;
}

#subscription-modal.flex {
    display: flex;
}

.home-intent-popup {
    position: absolute;
    inset: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1), visibility 520ms;
}

.home-intent-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-intent-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 242, 195, 0.16), transparent 28%),
        radial-gradient(circle at 70% 18%, rgba(245, 183, 67, 0.1), transparent 25%),
        rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.home-intent-card {
    position: relative;
    width: min(92vw, 520px);
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 195, 0.18);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025)),
        linear-gradient(180deg, rgba(3, 17, 20, 0.9), rgba(2, 8, 12, 0.78));
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.5), 0 0 34px rgba(0, 242, 195, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease;
}

.home-intent-popup.is-visible .home-intent-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.home-intent-popup.is-closing {
    opacity: 0;
    visibility: visible;
}

.home-intent-popup.is-closing .home-intent-card {
    transform: translateY(18px) scale(0.97);
    opacity: 0;
}

.home-intent-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 4%, rgba(0, 242, 195, 0.18), transparent 32%),
        radial-gradient(circle at 86% 12%, rgba(245, 183, 67, 0.13), transparent 28%),
        linear-gradient(135deg, rgba(0, 242, 195, 0.08), transparent 44%);
    pointer-events: none;
}

.home-intent-content {
    position: relative;
    padding: 2rem;
}

.home-intent-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.home-intent-close:hover {
    transform: rotate(90deg) scale(1.08);
    color: #fff;
    background: rgba(0, 242, 195, 0.16);
    border-color: rgba(0, 242, 195, 0.35);
}

.home-intent-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #00f2c3;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-intent-title {
    max-width: 430px;
    margin: 0 0 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
    background: linear-gradient(90deg, #ffffff 0%, #d9fff6 48%, #f5b743 115%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-intent-copy {
    max-width: 410px;
    color: rgba(230, 255, 248, 0.72);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.35rem;
}

.home-intent-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-intent-action {
    position: relative;
    min-height: 82px;
    border-radius: 20px;
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(5, 17, 20, 0.88), rgba(5, 17, 20, 0.88)) padding-box,
        linear-gradient(135deg, var(--intent-start, #00f2c3), var(--intent-end, #f5b743)) border-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem;
    text-align: left;
    font-weight: 900;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.18);
    transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.home-intent-action::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--intent-start, #00f2c3) 28%, transparent), transparent 40%);
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.home-intent-action i {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--intent-start, #00f2c3);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid color-mix(in srgb, var(--intent-start, #00f2c3) 45%, transparent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--intent-start, #00f2c3) 18%, transparent);
}

.home-intent-action span,
.home-intent-action small {
    position: relative;
    z-index: 1;
}

.home-intent-action span {
    background: linear-gradient(90deg, var(--intent-start, #00f2c3), var(--intent-end, #f5b743));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-intent-action small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 700;
}

.home-intent-action:hover {
    transform: translateY(-3px);
    filter: saturate(1.12);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3), 0 0 28px color-mix(in srgb, var(--intent-start, #00f2c3) 18%, transparent);
}

.home-intent-action:hover::before {
    opacity: 1;
}

.home-intent-action[data-intent-choice="stay"] {
    --intent-start: #00f2c3;
    --intent-end: #63e86f;
}

.home-intent-action[data-intent-choice="party"] {
    --intent-start: #ff4fb8;
    --intent-end: #9d50bb;
}

.home-intent-action[data-intent-choice="both"] {
    --intent-start: #f5b743;
    --intent-end: #00d2ff;
}

@media (max-width: 640px) {
    .home-intent-popup {
        align-items: flex-end;
        padding: 1rem;
    }

    .home-intent-card {
        border-radius: 26px;
    }

    .home-intent-content {
        padding: 1.5rem;
    }

    .home-intent-actions {
        grid-template-columns: 1fr;
    }

    .home-intent-action {
        min-height: 68px;
    }
}

/* Mobile Menu Styles */
#mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design System */
@media (max-width: 768px) {
    #main-nav {
        display: block !important;
    }

    .hero-banner {
        height: 35vh !important;
        border-radius: 0 0 2rem 2rem;
        margin-top: 0;
    }

    .mobile-search-pill {
        display: flex !important;
        position: absolute;
        bottom: -28px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: white;
        padding: 12px 24px;
        border-radius: 40px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        z-index: 100;
        align-items: center;
        gap: 12px;
        cursor: pointer;
    }

    .mobile-search-pill i {
        color: #ff385c !important;
        font-size: 1.2rem;
    }

    #date-dropdown {
        width: 95vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    #view-calendar .flatpickr-calendar {
        width: 100% !important;
        max-width: 320px !important;
    }

    #main-nav .h-20 {
        height: 4rem !important;
    }
}


.mobile-search-pill {
    display: none;
}

/* Full Screen Search Overlay */
#full-screen-search {
    position: fixed;
    inset: 0;
    background: #f7f7f7;
    z-index: 200;
    display: none;
    /* Controlled by JS */
    flex-direction: column;
    overflow-y: auto;
}

.search-step-header {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-step-card {
    background: white;
    margin: 12px;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.search-step-card.active {
    box-shadow: 0 0 0 2px black;
}

.search-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 24px;
    border-top: 1px solid #ebebeb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
}

.animate-fade-in {
    animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-step-card {
    cursor: pointer;
    overflow: hidden;
    max-height: 80px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.search-step-card.active {
    max-height: 600px;
    padding-bottom: 30px;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Mobile Property Swipe Redesign */
.mobile-swipe-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 10px 4px 20px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.mobile-swipe-container::-webkit-scrollbar {
    display: none;
}

.mobile-card-two {
    flex: 0 0 calc(50% - 6px);
    scroll-snap-align: start;
    min-width: 0;
}

.guest-favourite-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    color: #222;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-heart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.section-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}


/* Home intent popup: mobile responsive refinement */
@media (max-width: 640px) {
    .home-intent-popup {
        position: absolute;
        align-items: flex-end;
        justify-content: center;
        padding: clamp(0.75rem, 3.5vw, 1rem);
        padding-bottom: calc(clamp(0.75rem, 3.5vw, 1rem) + env(safe-area-inset-bottom));
    }

    .home-intent-card {
        width: min(100%, 420px);
        max-height: min(82vh, 620px);
        border-radius: 26px;
        display: flex;
        flex-direction: column;
    }

    .home-intent-content {
        width: 100%;
        max-height: inherit;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: clamp(1.15rem, 5vw, 1.5rem);
        padding-top: clamp(1.5rem, 7vw, 1.85rem);
        scrollbar-width: none;
    }

    .home-intent-content::-webkit-scrollbar {
        display: none;
    }

    .home-intent-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 36px;
        height: 36px;
    }

    .home-intent-kicker {
        max-width: calc(100% - 48px);
        margin-bottom: 0.85rem;
        font-size: clamp(0.62rem, 2.8vw, 0.72rem);
        line-height: 1.25;
        letter-spacing: 0.14em;
    }

    .home-intent-title {
        max-width: 100%;
        margin-bottom: 0.65rem;
        font-size: clamp(1.8rem, 10vw, 2.45rem);
        line-height: 1;
    }

    .home-intent-copy {
        max-width: 100%;
        margin-bottom: 1rem;
        font-size: clamp(0.88rem, 3.6vw, 0.98rem);
        line-height: 1.55;
    }

    .home-intent-actions {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .home-intent-action {
        min-height: 68px;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.8rem;
        padding: 0.85rem 0.95rem;
        border-radius: 18px;
    }

    .home-intent-action i {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .home-intent-action span,
    .home-intent-action small {
        display: block;
        min-width: 0;
    }

    .home-intent-action span {
        font-size: 0.98rem;
        line-height: 1.1;
    }

    .home-intent-action small {
        font-size: 0.7rem;
        line-height: 1.25;
    }
}

@media (max-width: 380px) {
    .home-intent-card {
        max-height: min(86vh, 600px);
        border-radius: 22px;
    }

    .home-intent-content {
        padding: 1rem;
        padding-top: 1.35rem;
    }

    .home-intent-title {
        font-size: clamp(1.55rem, 9.5vw, 2rem);
    }

    .home-intent-copy {
        font-size: 0.84rem;
    }

    .home-intent-action {
        min-height: 62px;
        padding: 0.75rem 0.8rem;
    }
}

@media (max-width: 640px) and (max-height: 680px) {
    .home-intent-card {
        max-height: calc(100vh - 1.5rem - env(safe-area-inset-bottom));
    }

    .home-intent-kicker {
        margin-bottom: 0.55rem;
    }

    .home-intent-title {
        margin-bottom: 0.45rem;
    }

    .home-intent-copy {
        margin-bottom: 0.75rem;
        line-height: 1.42;
    }

    .home-intent-actions {
        gap: 0.5rem;
    }

    .home-intent-action {
        min-height: 58px;
        padding-top: 0.68rem;
        padding-bottom: 0.68rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .home-intent-popup {
        align-items: center;
    }

    .home-intent-card {
        width: min(92vw, 640px);
        max-height: calc(100vh - 1.25rem);
    }

    .home-intent-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-intent-action {
        min-height: 64px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

/* =====================================================================
   Home experience layer — modern interaction patterns.
   Additive & progressive: reveal only activates when JS adds `.reveal-on`
   to <html>, so if JS ever fails the page stays fully visible (fail-open).
   ===================================================================== */

/* ---- 1. Scroll progress bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 2000;
    background: linear-gradient(90deg, #00e6df 0%, #15aeb0 45%, #6fe36f 100%);
    box-shadow: 0 0 10px rgba(0, 230, 223, 0.55);
    border-radius: 0 3px 3px 0;
    transition: width 90ms linear;
    pointer-events: none;
}

/* ---- 2. Back-to-top floating button ---- */
.back-to-top {
    position: fixed;
    right: clamp(14px, 3vw, 30px);
    bottom: clamp(16px, 4vw, 34px);
    z-index: 1500;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    color: #04211f;
    font-size: 1rem;
    background: linear-gradient(135deg, #4bf3d3 0%, #15aeb0 100%);
    box-shadow: 0 12px 28px rgba(21, 174, 176, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 300ms ease, transform 340ms cubic-bezier(0.16, 1, 0.3, 1), visibility 300ms, box-shadow 260ms ease;
}
.back-to-top.is-shown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 18px 38px rgba(21, 174, 176, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.back-to-top:active { transform: translateY(0) scale(0.96); }

/* ---- 3. Scroll reveal (progressive enhancement) ---- */
html.reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
html.reveal-on [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}
/* Gentle stagger for grouped children that opt in */
html.reveal-on [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 640ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.reveal-on [data-reveal-stagger].is-revealed > * {
    opacity: 1;
    transform: none;
}
html.reveal-on [data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: 70ms; }
html.reveal-on [data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: 140ms; }
html.reveal-on [data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: 210ms; }
html.reveal-on [data-reveal-stagger].is-revealed > *:nth-child(5) { transition-delay: 280ms; }
html.reveal-on [data-reveal-stagger].is-revealed > *:nth-child(n+6) { transition-delay: 340ms; }

@media (prefers-reduced-motion: reduce) {
    html.reveal-on [data-reveal],
    html.reveal-on [data-reveal-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .scroll-progress,
    .back-to-top { transition: none !important; }
}

/* =====================================================================
   Hero redesign — cinematic background, eyebrow, gradient headline,
   elevated glass search bar + labelled search button.
   All JS-wired IDs are preserved; this is visual-only.
   ===================================================================== */

/* ---- Cinematic background grade (depth + bottom vignette) ---- */
.hero-grade {
    pointer-events: none;
    background:
        radial-gradient(90% 60% at 15% 20%, rgba(0, 168, 132, 0.18), transparent 60%),
        radial-gradient(70% 50% at 90% 10%, rgba(0, 142, 255, 0.14), transparent 58%),
        linear-gradient(to top, rgba(3, 10, 14, 0.92) 0%, rgba(3, 10, 14, 0.35) 24%, transparent 46%);
}

/* Subtle, slow Ken-Burns life on the hero photo */
.hero-img {
    animation: heroZoom 26s ease-in-out infinite alternate;
    transform-origin: 60% 40%;
}
@keyframes heroZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.07); }
}

/* ---- Eyebrow badge ---- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #eafffb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}
.hero-eyebrow i { color: #38f0cf; }

/* ---- Headline ---- */
.hero-headline {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    letter-spacing: -0.015em;
}
.hero-accent {
    background: linear-gradient(100deg, #4bf3d3 0%, #16c97d 42%, #38f0cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Elevated glass search bar ---- */
.hero-search-bar {
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28), 0 2px 0 rgba(255, 255, 255, 0.6) inset !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    transition: box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1), transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hero-search-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 34px 72px rgba(0, 0, 0, 0.32) !important;
}
.hero-search-bar:focus-within {
    box-shadow: 0 34px 72px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(21, 174, 176, 0.22) !important;
}

/* ---- Labelled search button (teal gradient pill) ---- */
.hero-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 60px;
    min-width: 60px;
    padding: 0 1.6rem;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, #009c9c 0%, #007A7A 100%);
    box-shadow: 0 12px 26px rgba(0, 122, 122, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, filter 240ms ease;
}
.hero-search-btn i { font-size: 1.05rem; }
.hero-search-btn:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.06);
    box-shadow: 0 18px 34px rgba(0, 122, 122, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero-search-btn:active { transform: scale(0.97); }

/* Icon-only between md and lg to keep the bar from crowding; label from lg up */
.hero-search-btn__label { display: none; }
@media (min-width: 1024px) {
    .hero-search-btn { padding: 0 1.7rem; }
    .hero-search-btn__label { display: inline; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-search-btn { min-width: 56px; height: 56px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-img { animation: none !important; }
    .hero-search-bar, .hero-search-btn { transition: none !important; }
}

/* ---- Hero CTAs: modern pill buttons (override base in style.css) ---- */
.home-primary-btn,
.home-secondary-btn {
    min-height: 52px !important;
    padding: 0 30px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease, filter 260ms ease, background 260ms ease !important;
}
.home-primary-btn {
    background: linear-gradient(135deg, #00a8ff 0%, #16c97d 100%) !important;
    box-shadow: 0 16px 34px rgba(0, 142, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}
.home-primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-18deg);
    transition: left 620ms cubic-bezier(0.16, 1, 0.3, 1);
}
.home-primary-btn:hover::after { left: 130%; }
.home-primary-btn:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.05);
    box-shadow: 0 22px 44px rgba(0, 142, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}
.home-secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.home-secondary-btn:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(75, 243, 211, 0.7) !important;
    background: rgba(75, 243, 211, 0.14) !important;
}

@media (prefers-reduced-motion: reduce) {
    .home-primary-btn::after { transition: none !important; }
}
