/* FlyUp4You adaptive design system - loaded last */
:root {
    --text-main: var(--text-primary);
    --text-muted: var(--text-secondary);
    --flyup-page-max: 1180px;
    --flyup-dashboard-max: 1240px;
    --flyup-readable: 760px;
    --flyup-space-xs: clamp(0.45rem, 0.35vw, 0.65rem);
    --flyup-space-sm: clamp(0.7rem, 0.55vw, 0.95rem);
    --flyup-space-md: clamp(1rem, 0.9vw, 1.35rem);
    --flyup-space-lg: clamp(1.35rem, 1.5vw, 2rem);
    --flyup-space-xl: clamp(2rem, 2.4vw, 3.2rem);
    --flyup-h1: clamp(2rem, 2.15vw, 3.35rem);
    --flyup-h2: clamp(1.45rem, 1.45vw, 2.2rem);
    --flyup-h3: clamp(1.05rem, 1.05vw, 1.35rem);
    --flyup-body: clamp(0.92rem, 0.55vw, 1rem);
    --flyup-small: clamp(0.78rem, 0.48vw, 0.9rem);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-size: var(--flyup-body);
}

.container {
    width: min(calc(100% - clamp(1rem, 4vw, 4rem)), var(--flyup-page-max));
}

.flyup-dashboard-page > .container,
.ai-mode-page > .container,
.manual-planner-page > .container,
.flyup-pricing-page > .container {
    width: min(calc(100% - clamp(1rem, 4vw, 4rem)), var(--flyup-dashboard-max));
}

h1,
.section-title,
.homepage-hero__title,
.flyup-pricing-hero h1,
.ai-page-header h1,
.flyup-dashboard-welcome h1,
.manual-trip-title {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.section-title,
.flyup-pricing-hero h1,
.ai-page-header h1,
.flyup-dashboard-welcome h1 {
    font-size: var(--flyup-h1) !important;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.homepage-hero__title {
    font-size: clamp(2.4rem, 3.2vw, 4.15rem) !important;
    line-height: 0.98;
    max-width: 11ch;
}

.section-subtitle,
.homepage-hero__description,
.flyup-pricing-hero p,
.ai-page-header p,
.flyup-dashboard-welcome p,
.manual-planner-header__intro {
    font-size: clamp(0.94rem, 0.62vw, 1.05rem) !important;
    line-height: 1.65;
}

.btn {
    min-height: clamp(42px, 2.8vw, 50px);
    padding: clamp(0.72rem, 0.7vw, 0.95rem) clamp(1rem, 1vw, 1.35rem);
    font-size: clamp(0.88rem, 0.56vw, 0.98rem);
}

.btn-sm {
    min-height: 40px;
    padding: 0.65rem 0.95rem;
}

.card {
    border-radius: clamp(16px, 1.1vw, 22px);
}

.site-header {
    padding-top: clamp(0.65rem, 1vw, 1rem);
}

.site-header__inner {
    max-width: min(100%, 1360px);
    margin-inline: auto;
    padding: 0.72rem 1rem;
    gap: 0.8rem;
}

.site-logo__text {
    font-size: clamp(0.95rem, 0.65vw, 1.1rem);
}

.site-logo__mark {
    width: clamp(2rem, 1.8vw, 2.35rem);
    height: clamp(2rem, 1.8vw, 2.35rem);
}

.site-nav__menu {
    gap: clamp(0.75rem, 1.1vw, 1.45rem);
    flex-wrap: nowrap;
}

.site-nav__menu a {
    font-size: clamp(0.84rem, 0.55vw, 0.95rem);
    white-space: nowrap;
}

.site-actions {
    gap: 0.55rem;
}

.site-lang-switcher__item {
    min-width: 34px;
    min-height: 30px;
    font-size: 0.72rem;
}

.site-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.site-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-primary);
    transition: transform .2s ease, opacity .2s ease;
}

.site-header__inner.is-menu-open .site-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header__inner.is-menu-open .site-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header__inner.is-menu-open .site-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.homepage-hero,
.flyup-pricing-page,
.ai-mode-page,
.manual-planner-page,
.flyup-dashboard-page {
    padding-block: clamp(1.6rem, 3vw, 3.5rem) clamp(2.5rem, 4vw, 5rem) !important;
}

.homepage-benefits,
.homepage-how-it-works,
.homepage-report-preview,
.homepage-pricing,
.homepage-faq,
.homepage-final-cta {
    padding-block: clamp(2.5rem, 4vw, 4.5rem) !important;
}

.hero-shell {
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 500px) !important;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.homepage-hero__content {
    max-width: 560px;
}

.hero-media {
    max-width: 500px;
    min-height: clamp(470px, 39vw, 600px) !important;
}

.hero-media-tile--tall { min-height: clamp(230px, 19vw, 290px) !important; }
.hero-media-tile--medium { min-height: clamp(200px, 16vw, 240px) !important; }
.hero-media-tile--small { min-height: clamp(170px, 13vw, 205px) !important; }

.hero-stats,
.benefits-grid,
.steps-grid,
.pricing-grid,
.flyup-dashboard-stats,
.flyup-dashboard-services,
.flyup-pricing-grid,
.flyup-pricing-unlocks__grid {
    gap: clamp(0.85rem, 1.1vw, 1.4rem) !important;
}

.hero-stat,
.benefit-card,
.step-card,
.pricing-card,
.final-cta-card,
.report-preview__mockup,
.services-strip,
.metric-box,
.faq-item,
.flyup-dashboard-section,
.flyup-dashboard-service,
.flyup-dashboard-stat,
.flyup-pricing-card,
.flyup-pricing-unlocks,
.flyup-pricing-member,
.manual-planner-header,
.manual-trip-brief,
.manual-sidebar-card,
.manual-day-card,
.ai-progress-wrap,
.ai-form-shell {
    padding: clamp(1rem, 1.25vw, 1.55rem) !important;
}

.report-preview-luxury__top h3,
.flyup-dashboard-service h3,
.flyup-pricing-unlocks__grid h3,
.ai-step-title {
    font-size: var(--flyup-h3) !important;
}

.report-preview-luxury__subtitle,
.report-preview-luxury__weather span,
.report-preview-luxury__highlights span,
.flyup-dashboard-nav-item,
.flyup-dashboard-stat__label,
.flyup-dashboard-billing__row,
.ai-step-label,
.ai-chip,
.flyup-field label,
.manual-field > span {
    font-size: var(--flyup-small) !important;
}

.flyup-dashboard-layout {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) !important;
    gap: clamp(1rem, 1.6vw, 1.6rem) !important;
}

.flyup-dashboard-sidebar {
    top: 88px !important;
}

.flyup-dashboard-sidebar__inner {
    padding: 0.75rem !important;
}

.flyup-dashboard-nav-item {
    padding: 0.7rem 0.75rem !important;
    gap: 0.6rem;
}

.flyup-dashboard-main {
    gap: clamp(1rem, 1.1vw, 1.4rem) !important;
    min-width: 0;
}

.flyup-dashboard-welcome {
    align-items: center !important;
}

.flyup-dashboard-welcome h1,
.manual-trip-title {
    max-width: 720px;
    font-size: clamp(1.65rem, 1.85vw, 2.35rem) !important;
}

.manual-trip-title {
    min-height: 58px !important;
    max-width: 680px !important;
}

.manual-planner-header {
    align-items: center !important;
}

.manual-planner-top-grid {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr) !important;
}

.manual-trip-brief__grid {
    grid-template-columns: repeat(4, minmax(140px, 1fr)) !important;
}

.manual-activity-item {
    grid-template-columns: minmax(84px, 100px) minmax(0, 1fr) minmax(95px, 120px) 34px !important;
    gap: 0.6rem !important;
}

input,
select,
textarea,
.form-control,
.manual-input {
    min-height: 42px !important;
    padding: 0.72rem 0.85rem !important;
    font-size: clamp(0.88rem, 0.55vw, 0.96rem) !important;
    border-radius: 12px !important;
}

textarea {
    min-height: 100px;
}

.flyup-profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    max-width: 760px !important;
}

.flyup-profile-card strong {
    font-size: clamp(0.98rem, .7vw, 1.08rem) !important;
}

.ai-mode-container {
    max-width: 860px !important;
}

.ai-form-grid {
    gap: 0.9rem !important;
}

.flyup-pricing-page__container {
    max-width: 980px;
    margin-inline: auto;
}

.flyup-pricing-hero {
    padding: clamp(1.6rem, 2.6vw, 3rem) !important;
}

.flyup-pricing-card__price strong {
    font-size: clamp(2rem, 2.6vw, 3rem) !important;
}

@media (min-width: 1600px) {
    :root {
        --flyup-page-max: 1200px;
        --flyup-dashboard-max: 1260px;
    }

    .homepage-hero__title {
        font-size: 4rem !important;
    }

    .section-title,
    .flyup-pricing-hero h1,
    .ai-page-header h1 {
        font-size: 3rem !important;
    }
}

@media (max-width: 1180px) {
    .site-header__inner {
        border-radius: 26px !important;
        flex-wrap: wrap;
    }

    .site-menu-toggle {
        display: inline-flex;
        order: 3;
        margin-left: auto;
    }

    .site-nav,
    .site-actions {
        display: none !important;
        width: 100%;
        order: 4;
    }

    .site-header__inner.is-menu-open .site-nav {
        display: flex !important;
        justify-content: stretch;
    }

    .site-header__inner.is-menu-open .site-actions {
        display: flex !important;
    }

    .site-nav__menu {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem !important;
    }

    .site-nav__menu a {
        display: block;
        padding: 0.78rem 0.85rem;
        border-radius: 14px;
        background: rgba(14, 165, 233, 0.06);
    }

    .site-actions {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .site-actions .btn {
        flex: 1 1 160px;
    }

    .site-lang-switcher {
        flex: 0 0 auto;
        width: auto !important;
    }

    .hero-shell {
        grid-template-columns: 1fr !important;
    }

    .homepage-hero__content,
    .hero-media {
        max-width: none;
        justify-self: stretch;
    }

    .homepage-hero__title {
        max-width: 14ch;
    }

    .flyup-dashboard-layout {
        grid-template-columns: 1fr !important;
    }

    .flyup-dashboard-sidebar {
        position: static !important;
    }

    .flyup-dashboard-sidebar__inner {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        padding: 0.7rem !important;
        scrollbar-width: thin;
    }

    .flyup-dashboard-nav-item {
        flex: 0 0 auto;
        margin-bottom: 0 !important;
        white-space: nowrap;
    }

    .flyup-dashboard-nav-item--logout {
        margin-top: 0 !important;
        border-top: 0 !important;
        padding-top: 0.7rem !important;
    }

    .manual-planner-header,
    .flyup-dashboard-welcome {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .manual-planner-header__actions,
    .flyup-dashboard-welcome__actions {
        width: 100%;
        justify-content: flex-start !important;
    }
}

@media (max-width: 900px) {
    .container,
    .flyup-dashboard-page > .container,
    .ai-mode-page > .container,
    .manual-planner-page > .container,
    .flyup-pricing-page > .container {
        width: min(calc(100% - 1.25rem), 100%);
    }

    .homepage-hero__title,
    .section-title,
    .flyup-pricing-hero h1,
    .ai-page-header h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    .hero-stats,
    .benefits-grid,
    .steps-grid,
    .pricing-grid,
    .flyup-dashboard-stats,
    .flyup-dashboard-services,
    .flyup-pricing-grid,
    .flyup-pricing-unlocks__grid,
    .manual-planner-top-grid {
        grid-template-columns: 1fr !important;
    }

    .manual-trip-brief__grid,
    .ai-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ai-progress-steps {
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .ai-step-indicator {
        min-width: 82px;
    }

    .report-modal__grid,
    .report-preview-luxury {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    :root {
        --flyup-h1: clamp(1.9rem, 9vw, 2.55rem);
    }

    .site-header__inner {
        padding: 0.7rem;
    }

    .site-logo__text {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-nav__menu,
    .manual-trip-brief__grid,
    .ai-form-grid {
        grid-template-columns: 1fr !important;
    }

    .site-actions {
        gap: 0.5rem;
    }

    .site-actions .btn {
        flex: 1 1 100%;
    }

    .site-lang-switcher {
        width: 100% !important;
        justify-content: center;
    }

    .homepage-hero__actions,
    .final-cta-card__actions,
    .manual-planner-header__actions,
    .ai-form-nav {
        flex-direction: column;
    }

    .homepage-hero__actions .btn,
    .final-cta-card__actions .btn,
    .manual-planner-header__actions .btn,
    .ai-form-nav .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 0.7rem !important;
    }

    .hero-media {
        min-height: auto !important;
        grid-template-columns: 1fr !important;
    }

    .hero-media-column--up,
    .hero-media-column--down {
        animation: none !important;
    }

    .hero-media-column:nth-child(2) {
        display: none;
    }

    .manual-activity-item {
        grid-template-columns: 1fr 34px !important;
    }

    .manual-time-input,
    .manual-title-input,
    .manual-cost-input {
        grid-column: 1 / 2;
    }

    .manual-activity-remove {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .flyup-dashboard-sidebar__inner {
        margin-inline: -0.1rem;
    }

    .flyup-profile-grid {
        grid-template-columns: 1fr !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .flyup-dashboard-sidebar,
    .site-menu-toggle {
        display: none !important;
    }

    .container,
    .flyup-dashboard-page > .container,
    .manual-planner-page > .container {
        width: 100% !important;
        max-width: none !important;
    }
}

/* =========================
   Premium report card final tuning
   - Image = 1/3
   - Content = 2/3
   - Compact typography so all content stays inside the card
========================= */
.homepage-report-preview .report-preview {
    grid-template-columns: minmax(280px, 0.85fr) minmax(520px, 1.15fr) !important;
    align-items: center !important;
    gap: clamp(1.25rem, 2vw, 2.2rem) !important;
}

.homepage-report-preview .report-preview-luxury {
    grid-template-columns: minmax(210px, 1fr) minmax(0, 2fr) !important;
    min-height: 330px !important;
    max-height: 330px !important;
    width: 100% !important;
}

.homepage-report-preview .report-preview-luxury__media {
    min-height: 330px !important;
    height: 330px !important;
}

.homepage-report-preview .report-preview-luxury__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.homepage-report-preview .report-preview-luxury__badge {
    top: 0.8rem !important;
    left: 0.8rem !important;
    padding: 0.32rem 0.62rem !important;
    font-size: clamp(0.68rem, 0.42vw, 0.76rem) !important;
    line-height: 1 !important;
}

.homepage-report-preview .report-preview-luxury__body {
    padding: clamp(0.85rem, 0.95vw, 1.15rem) !important;
    gap: clamp(0.48rem, 0.55vw, 0.7rem) !important;
    overflow: hidden !important;
}

.homepage-report-preview .report-preview-luxury__top {
    gap: 0.6rem !important;
}

.homepage-report-preview .report-preview-luxury__eyebrow {
    margin-bottom: 0.22rem !important;
    font-size: clamp(0.68rem, 0.42vw, 0.78rem) !important;
    letter-spacing: 0.07em !important;
}

.homepage-report-preview .report-preview-luxury__top h3 {
    margin-bottom: 0.25rem !important;
    font-size: clamp(1.05rem, 0.9vw, 1.28rem) !important;
    line-height: 1.06 !important;
    max-width: 13ch !important;
}

.homepage-report-preview .report-preview-luxury__subtitle {
    font-size: clamp(0.78rem, 0.52vw, 0.88rem) !important;
    line-height: 1.38 !important;
    max-width: 24ch !important;
}

.homepage-report-preview .report-preview-luxury__score {
    min-width: 52px !important;
    height: 36px !important;
    padding-inline: 0.68rem !important;
    font-size: clamp(0.86rem, 0.55vw, 0.98rem) !important;
    flex-shrink: 0 !important;
}

.homepage-report-preview .report-preview-luxury__weather,
.homepage-report-preview .report-preview-luxury__highlights {
    gap: 0.38rem !important;
}

.homepage-report-preview .report-preview-luxury__weather span,
.homepage-report-preview .report-preview-luxury__highlights span {
    min-height: 28px !important;
    padding: 0.28rem 0.55rem !important;
    font-size: clamp(0.68rem, 0.44vw, 0.78rem) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
}

.homepage-report-preview .report-preview-luxury__footer {
    padding-top: 0.6rem !important;
    margin-top: auto !important;
}

.homepage-report-preview .report-preview-luxury__cta {
    min-height: 46px !important;
    padding: 0.72rem 0.9rem !important;
    border-radius: 15px !important;
    font-size: clamp(0.78rem, 0.5vw, 0.9rem) !important;
}

.homepage-report-preview .report-preview-luxury__cta-icon {
    width: 27px !important;
    height: 27px !important;
    font-size: 0.85rem !important;
}

@media (max-width: 1180px) {
    .homepage-report-preview .report-preview {
        grid-template-columns: 1fr !important;
    }

    .homepage-report-preview .report-preview-luxury {
        max-width: 760px !important;
        margin-inline: auto !important;
    }
}

@media (max-width: 900px) {
    .homepage-report-preview .report-preview-luxury {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .homepage-report-preview .report-preview-luxury__media {
        height: clamp(210px, 42vw, 280px) !important;
        min-height: clamp(210px, 42vw, 280px) !important;
    }

    .homepage-report-preview .report-preview-luxury__top h3,
    .homepage-report-preview .report-preview-luxury__subtitle {
        max-width: none !important;
    }
}

/* =========================
   FlyUp4You mobile/tablet hamburger header final fix
   Closed state: logo + 3-line button only.
   Open state: language/login/register + navigation links.
========================= */
.site-menu-toggle {
    display: none;
}

@media (max-width: 1180px) {
    .site-header__inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        border-radius: 22px !important;
        padding: 0.8rem 0.95rem !important;
    }

    .site-logo {
        order: 1 !important;
    }

    .site-menu-toggle {
        order: 2 !important;
        display: inline-flex !important;
        width: 44px !important;
        height: 44px !important;
        border: 1px solid rgba(219, 231, 243, 0.95) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
        cursor: pointer !important;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07) !important;
        margin-left: auto !important;
    }

    .site-menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #0f172a !important;
        transition: transform 0.22s ease, opacity 0.22s ease !important;
    }

    .site-header__inner.is-menu-open .site-menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }

    .site-header__inner.is-menu-open .site-menu-toggle span:nth-child(2) {
        opacity: 0 !important;
    }

    .site-header__inner.is-menu-open .site-menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    .site-nav,
    .site-actions {
        display: none !important;
        width: 100% !important;
    }

    .site-header__inner.is-menu-open .site-actions {
        order: 3 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.65rem !important;
        align-items: stretch !important;
    }

    .site-header__inner.is-menu-open .site-actions .site-lang-switcher {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .site-header__inner.is-menu-open .site-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        min-height: 46px !important;
    }

    .site-header__inner.is-menu-open .site-nav {
        order: 4 !important;
        display: block !important;
    }

    .site-header__inner.is-menu-open .site-nav__menu {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
        width: 100% !important;
        padding-top: 0.1rem !important;
    }

    .site-header__inner.is-menu-open .site-nav__menu a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 42px !important;
        padding: 0.72rem 0.75rem !important;
        border-radius: 14px !important;
        background: rgba(14, 165, 233, 0.06) !important;
        font-size: 0.92rem !important;
        line-height: 1.15 !important;
    }
}

@media (max-width: 640px) {
    .site-header__inner.is-menu-open .site-nav__menu,
    .site-header__inner.is-menu-open .site-actions {
        grid-template-columns: 1fr !important;
    }

    .site-menu-toggle {
        width: 42px !important;
        height: 42px !important;
    }
}

/* ========================================================================== 
   FINAL RESPONSIVE - Dashboard client + hero cloud gallery
   ========================================================================== */

.flyup-dashboard-page > .container {
    width: min(calc(100% - clamp(1rem, 4vw, 3rem)), 1240px) !important;
}

.flyup-dashboard-layout {
    grid-template-columns: minmax(188px, 220px) minmax(0, 1fr) !important;
    gap: clamp(1rem, 1.5vw, 1.6rem) !important;
}

.flyup-dashboard-sidebar__inner {
    overflow: hidden;
}

.flyup-dashboard-main,
.flyup-dashboard-section,
.flyup-dashboard-welcome,
.flyup-dashboard-stat,
.flyup-dashboard-service,
.flyup-dashboard-history-item {
    min-width: 0 !important;
}

.flyup-dashboard-welcome h1 {
    font-size: clamp(1.55rem, 1.9vw, 2.25rem) !important;
}

.flyup-dashboard-welcome p,
.flyup-dashboard-service p,
.flyup-dashboard-history-item__meta,
.flyup-dashboard-billing__row,
.flyup-dashboard-profile__info p,
.flyup-dashboard-profile__info small {
    font-size: clamp(0.82rem, 0.52vw, 0.94rem) !important;
}

.flyup-dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.flyup-dashboard-stat {
    min-height: 126px !important;
}

.homepage-hero .hero-media.card,
.homepage-hero .hero-media {
    position: relative !important;
    isolation: isolate !important;
    height: 460px !important;
    min-height: 460px !important;
    max-height: 460px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 44% 56% 47% 53% / 42% 48% 52% 58% !important;
}

.homepage-hero .hero-media::before {
    content: "";
    position: absolute;
    inset: -20px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.68) 34%, rgba(255,255,255,0) 66%),
        radial-gradient(circle at 82% 18%, rgba(224,242,254,0.86) 0%, rgba(224,242,254,0.44) 38%, rgba(224,242,254,0) 70%),
        radial-gradient(circle at 72% 84%, rgba(204,251,241,0.76) 0%, rgba(204,251,241,0.40) 38%, rgba(204,251,241,0) 72%),
        radial-gradient(circle at 20% 76%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.52) 40%, rgba(255,255,255,0) 74%),
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(224,242,254,0.38), rgba(204,251,241,0.32));
    filter: blur(18px);
    transform: scale(1.04);
}

.homepage-hero .hero-media-column {
    position: relative !important;
    z-index: 1 !important;
}

.homepage-hero .hero-media-column--up {
    animation: heroColumnUp 28s linear infinite !important;
}

.homepage-hero .hero-media-column--down {
    animation: heroColumnDown 28s linear infinite !important;
}

@keyframes heroColumnUp {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes heroColumnDown {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}

@media (max-width: 1180px) {
    .flyup-dashboard-page > .container {
        width: min(calc(100% - 1.5rem), 100%) !important;
    }

    .flyup-dashboard-layout {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .flyup-dashboard-sidebar {
        position: sticky !important;
        top: 78px !important;
        z-index: 25 !important;
    }

    .flyup-dashboard-sidebar__inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0.55rem !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0.65rem !important;
        border-radius: 18px !important;
        background: rgba(255,255,255,0.92) !important;
        backdrop-filter: blur(14px) !important;
        scrollbar-width: thin !important;
    }

    .flyup-dashboard-nav-item {
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0.62rem 0.78rem !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
        font-size: 0.84rem !important;
    }

    .flyup-dashboard-nav-item--logout {
        margin-top: 0 !important;
        border-top: none !important;
        padding-top: 0.62rem !important;
    }

    .flyup-dashboard-welcome {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1.15rem !important;
    }

    .flyup-dashboard-welcome__actions {
        width: 100% !important;
    }

    .flyup-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .flyup-dashboard-grid-secondary,
    .flyup-dashboard-services {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .flyup-dashboard-page {
        padding-block: 1.25rem 2.5rem !important;
    }

    .flyup-dashboard-page > .container {
        width: min(calc(100% - 1rem), 100%) !important;
    }

    .flyup-dashboard-sidebar {
        top: 68px !important;
    }

    .flyup-dashboard-sidebar__inner {
        margin-inline: 0 !important;
        padding: 0.55rem !important;
        gap: 0.45rem !important;
        border-radius: 16px !important;
    }

    .flyup-dashboard-nav-item {
        padding: 0.56rem 0.68rem !important;
        font-size: 0.78rem !important;
    }

    .flyup-dashboard-welcome h1 {
        font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
    }

    .flyup-dashboard-welcome__actions,
    .flyup-dashboard-history-item,
    .flyup-dashboard-billing__row,
    .flyup-dashboard-profile {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .flyup-dashboard-welcome__actions .btn,
    .flyup-dashboard-inline-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .flyup-dashboard-stats,
    .flyup-dashboard-services,
    .flyup-profile-grid {
        grid-template-columns: 1fr !important;
    }

    .flyup-dashboard-stat,
    .flyup-dashboard-section,
    .flyup-dashboard-service {
        padding: 0.95rem !important;
    }

    .flyup-dashboard-history-item__actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 1024px) {
    .homepage-hero .hero-media.card,
    .homepage-hero .hero-media {
        display: none !important;
    }
}
