/* =========================
   OWNER-LIKE HEADER - FIXED VERSION
   Matching owner.com exactly
========================= */

/* ===== CRITICAL FIXES ===== */
:root {
    /* Colors from Figma */
    --primary-blue: #015bf8;
    --secondary-blue: #01d0fc;
    --gradient: linear-gradient(90deg, #01d0fc 0%, #015bf8 100%);
    --text-primary: #000000;
    --text-secondary: #868686;
    --text-white: #ffffff;
    --bg-cream: #f4f0e9;
    --bg-light: #f1f1f1;
    --bg-white: #ffffff;
    --bg-dark: #181f1f;
    --border-color: #ebebeb;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Container */
    --container-width: 1200px;
    --container-wide: 1440px;
}

/* 1. Header - Pure white background, NO transparency */
.owner-header {
    position: sticky;
    top: 0;
    z-index: 999999 !important;
    background: #ffffff !important;
    /* Pure white - NO transparency */
    /* border-bottom: 1px solid rgba(15, 23, 42, 0.08); */
    transition: none;
    /* Remove any transitions */
}

.owner-header-inner {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 24px;
    padding: 14px 0;
}

.owner-logo img {
    height: 40px;
    display: block;
}

/* ===== Navigation ===== */
.owner-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.owner-nav-link {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 160ms ease;
}

.owner-nav-link:hover {
    background: rgba(15, 23, 42, 0.06);
}

/* .owner-nav-link-active {
    background: rgba(15, 23, 42, 0.06);
} */

.owner-caret {
    width: 10px;
    height: 10px;
    border-right: 2px solid #0f172a;
    border-bottom: 2px solid #0f172a;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 160ms ease;
}

/* ===== Header Actions ===== */
.owner-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.owner-login {
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: #0f172a;
    transition: opacity 160ms ease;
}

.owner-login:hover {
    opacity: 0.7;
}

.owner-cta {
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    transition: transform 160ms ease, background 160ms ease;
}

.owner-cta:hover {
    background: #1a2333;
    transform: scale(1.02);
}

/* =========================
   MEGA MENU OVERLAY - FIXED
========================= */

.owner-has-mega {
    position: relative;
}

/* 2. Mega overlay - SAME white background as header */
.owner-mega-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--ownerHeaderH, 72px);
    /* Dynamic height from JS */
    padding: 0;
    /* NO padding - flush with header */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index: 999998 !important;
    background: #ffffff !important;
    /* SAME white as header */
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    /* Matches header border */
}

/* Show on hover/focus */
.owner-has-mega:hover .owner-mega-overlay,
.owner-has-mega:focus-within .owner-mega-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Rotate caret when open */
.owner-has-mega:hover .owner-caret,
.owner-has-mega:focus-within .owner-caret {
    transform: rotate(225deg);
    margin-top: 2px;
}

/* 3. Mega sheet - NO border, NO shadow at top, SEAMLESS */
.owner-mega-sheet {
    background: #ffffff;
    border: none;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 10px 10px rgba(2, 6, 23, 0.18),
        0 10px 24px rgba(2, 6, 23, 0.10);
    padding: 40px 28px 60px;
    margin: -15px 0 0 0;
}

.owner-mega-content {
    display: grid;
    grid-template-columns: 1.15fr 0.5fr;
    gap: 150px;
    align-items: stretch;
    /* max-width: 1340px; */
    margin: 0 auto;
}

/* ===== LEFT SIDE - Product List ===== */
.owner-mega-left {
    padding: 20px 0;
}

.owner-mega-label {
    font-size: 12px;
    font-weight: 500;
    color: #A1A3A5;
    margin-bottom: 14px;
    /* text-transform: uppercase; */
    letter-spacing: 0.05em;
    margin-left: 18px;
}

.owner-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 14px 26px; */
}

.owner-mega-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    /* gap: 12px; */
    text-decoration: none;
    color: #0f172a;
    padding: 10px 8px;
    border-radius: 14px;
    transition: background 160ms ease;
}

.owner-mega-item:hover {
    background: rgba(15, 23, 42, 0.05);
}

/* .owner-ico {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
} */

.owner-ico svg {
    width: 24px;
    height: 24px;
}

.owner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.owner-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    display: block;
    color: #0f172a;
}

.owner-sub {
    font-size: 14px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.62);
    line-height: 1.35;
    display: block;
}

/* ===== RIGHT SIDE - Story Card ===== */
.owner-mega-right {
    padding: 20px 0;
    margin-top: auto;
}

.owner-story-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
    height: 100%;
    max-height: 280px;
    width: 470px;
    display: block;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.owner-story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.15);
}

.owner-story-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.owner-story-play {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    transition: transform 160ms ease;
}

.owner-story-card:hover .owner-story-play {
    transform: scale(1.1);
}

.owner-story-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 18px 16px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.08));
}

.owner-story-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 92%;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .owner-mega-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .owner-mega-grid {
        grid-template-columns: 1fr;
    }

    .owner-mega-sheet {
        padding: 30px 20px 40px;
    }
}

@media (max-width: 768px) {
    .owner-header-inner {
        padding: 12px 0;
    }

    .owner-nav {
        display: none;
    }

    .owner-mega-overlay {
        top: 60px;
    }
}

/* =========================
   CRITICAL OVERRIDES
   Ensuring nothing breaks the design
========================= */

/* Remove ANY backdrop blur or transparency */
.owner-header,
.owner-mega-overlay,
.owner-mega-sheet {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Ensure perfect white */
.owner-header {
    background-color: #ffffff !important;
    background-image: none !important;
}

.owner-mega-overlay {
    background-color: #ffffff !important;
    background-image: none !important;
}

.owner-mega-sheet {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* NO gap between header and mega menu */
.owner-mega-overlay {
    margin-top: 0 !important;
    border-top: none !important;
}

/* Seamless connection */
#ownerHeader {
    position: sticky;
    top: 0;
    z-index: 999999 !important;
}

.owner-mega-overlay {
    z-index: 999998 !important;
}

/* =========================
   Container 1440 System
========================= */

.container-1482 {
    width: 100%;
    max-width: 1482px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Large desktops (≥1440px) */
@media (min-width: 1440px) {
    .container-1482 {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Tablets & small laptops */
@media (max-width: 1024px) {
    .container-1482 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .container-1482 {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient);
    color: var(--text-white);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 91, 248, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(1, 91, 248, 0.4);
}

.btn-primary {
    will-change: transform;
}

.btn-primary,
.btn-secondary,
.btn-dark,
.btn-white,
.btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

a {
    text-decoration: none !important;
}


.image-hero {
    position: relative;

}

.image-hero {
    /*position: relative;
  */
    height: 600px;
    border-radius: 30px;
    /*margin: 40px 20px;*/
    background-image: url('https://c.animaapp.com/mjo6rtjiKtEO8Q/img/rectangle-58.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    left: 50%;
    bottom: -105px;
    transform: translateX(-50%);
    /*max-width: 1500px;
  width: 100%;
  */
    border-radius: 70px;
    z-index: -1;
    margin-right: 0 !important;
    -webkit-border-radius: 70px;
    -moz-border-radius: 70px;
    -ms-border-radius: 70px;
    -o-border-radius: 70px;
}

/* dark overlay for readability */
.image-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(0,0,0,0.35); */
}

/* text container */
.image-hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    padding-left: 300px;
    max-width: 1000px;
    color: #fff;
}

.image-hero-overlay h1 {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-ui {
    padding-top: 160px;
    /* image space */
}


/* ===== FOOTER UI ===== */
.footer-ui {
    background: #fff;
    border-radius: 60px 60px 0 0;
    padding: 30px 0 30px;
}

/* TOP ROW */
.footer-top-row {
    max-width: 1482px;
    margin: 0 auto 100px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    gap: 30px;
}

/* BRAND */
.footer-brand img {
    height: 44px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}


/* CTA CARDS */
.footer-cta-cards {
    display: flex;
    gap: 16px;
}

.cta-card {
    position: relative;
    min-width: 263px;
    height: 160px;
    padding: 18px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cta-icon {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F3EEE6;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrow image control */
.cta-icon img {
    width: 10px;
    height: 10px;
    object-fit: contain;
    display: block;
}

.cta-card.dark .cta-icon img {
    filter: invert(1);
}

.cta-card:hover .cta-icon {
    transform: translate(2px, -2px);
    transition: transform .2s ease;
}


.cta-dot {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text {
    z-index: 1;
}


.cta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.cta-card.primary {
    background: linear-gradient(90deg, #01d0fc, #015bf8);
    color: #fff;
    height: 160px;
    width: 263px;
    border-radius: 14px;
}

.cta-card.dark {
    background: #000;
    color: #fff;
}

/* LINKS */
.footer-inner {
    max-width: 1482px;
    margin: auto;
    padding: 0 40px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: #868686;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #868686;
    margin-bottom: 10px;
}

.fs-14 {
    font-size: 14px !important;
}

/* .footer-col a:first-of-type {
    color: #000;
} */

/* BOTTOM */
.footer-bottom-ui {
    border-top: 1px solid #ebebeb;
    margin-top: 50px;
    padding: 20px 270px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-ui p,
.footer-legal a {
    font-size: 12px;
    font-weight: 500;
    color: #6c6f75;
    letter-spacing: 0.03rem;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

/* MOBILE */
@media (max-width: 991px) {
    .footer-top-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-cta-cards {
        flex-direction: column;
        width: 100%;
    }

    .cta-card {
        width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom-ui {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.booking-cta {
    padding: 40px 0;
    padding-bottom: 200px !important;
    margin-bottom: -160px !important;
    z-index: -1;
    position: relative;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--text-primary);
    color: var(--text-white);
    border-radius: 10px;
    font-size: 16px;

    background: #111;
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.d-flex {
    display: flex;
    gap: 10px;
}


/* =========================
   MEGA MENU OVERLAY - FIXED
========================= */

.owner-has-mega {
    position: relative;
}

/* 2. Mega overlay - SAME white background as header */
.owner-mega-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--ownerHeaderH, 72px);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index: 999998 !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Show on hover/focus */
.owner-has-mega:hover .owner-mega-overlay,
.owner-has-mega:focus-within .owner-mega-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Rotate caret when open */
.owner-has-mega:hover .owner-caret,
.owner-has-mega:focus-within .owner-caret {
    transform: rotate(225deg);
    margin-top: 2px;
}

/* 3. Mega sheet - NO border, NO shadow at top, SEAMLESS */
.owner-mega-sheet {
    background: #ffffff;
    border: none;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 10px 10px rgba(2, 6, 23, 0.18),
        0 10px 24px rgba(2, 6, 23, 0.10);
    padding: 40px 28px 60px;
    margin: -15px 0 0 0;
}

.owner-mega-content {
    display: grid;
    grid-template-columns: 1.15fr 0.5fr;
    gap: 150px;
    align-items: stretch;
    margin: 0 auto;
}

/* ===== LEFT SIDE - Product List ===== */
.owner-mega-left {
    padding: 20px 0;
}

.owner-mega-label {
    font-size: 12px;
    font-weight: 500;
    color: #A1A3A5;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
    margin-left: 18px;
}

.owner-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 14px 26px; */
}

.owner-mega-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    text-decoration: none;
    color: #0f172a;
    padding: 10px 8px;
    border-radius: 14px;
    transition: background 160ms ease;
}

.owner-mega-item:hover {
    background: rgba(15, 23, 42, 0.05);
}

.owner-ico svg {
    width: 24px;
    height: 24px;
}

.owner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.owner-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    display: block;
    color: #0f172a;
}

.owner-sub {
    font-size: 14px;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.62);
    line-height: 1.35;
    display: block;
}

/* ===== RIGHT SIDE - Story Card ===== */
.owner-mega-right {
    padding: 20px 0;
    margin-top: auto;
}

.owner-story-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
    height: 100%;
    max-height: 280px;
    width: 470px;
    display: block;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.owner-story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.15);
}

.owner-story-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.owner-story-play {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    transition: transform 160ms ease;
}

.owner-story-card:hover .owner-story-play {
    transform: scale(1.1);
}

.owner-story-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 18px 16px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.08));
}

.owner-story-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 92%;
}

/* =========================
   COMPANY DROPDOWN SPECIFIC STYLES
========================= */

/* Company mega menu content - different grid */
.owner-mega-content-company {
    grid-template-columns: 0.6fr 1.4fr;
    gap: 80px;
}

/* Single column grid for company links (no icons) */
.owner-mega-grid-single {
    grid-template-columns: 1fr;
    /* gap: 8px; */
}

/* Company items without icons */
.owner-mega-grid-single .owner-mega-item {
    grid-template-columns: 1fr;
    /* padding: 12px 16px; */
}

.owner-mega-grid-single .owner-title {
    font-size: 20px;
    font-weight: 500;
}

/* Right side cards container */
.owner-mega-right-cards {
    display: grid;
    grid-template-columns: 470px 260px;
    column-gap: 20px;
    align-items: start;
    padding: 20px 0;
}

/* Company card styles */
.owner-company-card {
    width: 470px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.owner-company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.15);
}

/* Card with image */
.owner-company-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.owner-company-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
}

.owner-company-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    flex: 1;
}

.owner-company-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 160ms ease;
}

.owner-company-arrow i {
    font-size: 14px;
    color: #0f172a;
}

.owner-company-card:hover .owner-company-arrow {
    background: rgba(15, 23, 42, 0.12);
    transform: translateX(2px);
}

/* Dark card (We're Hiring) */
.owner-company-card-dark {
    width: 260px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.owner-company-content-dark {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.owner-company-title-dark {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.owner-company-subtitle-dark {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.owner-company-arrow-dark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 160ms ease;
}

.owner-company-arrow-dark i {
    font-size: 16px;
    color: #fff;
}

.owner-company-card-dark:hover .owner-company-arrow-dark {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .owner-mega-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .owner-mega-content-company {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .owner-mega-grid {
        grid-template-columns: 1fr;
    }

    .owner-mega-sheet {
        padding: 30px 20px 40px;
    }

    .owner-mega-right-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .owner-header-inner {
        padding: 12px 0;
    }

    .owner-nav {
        display: none;
    }

    .owner-mega-overlay {
        top: 60px;
    }
}

@media (max-width: 640px) {
    .owner-mega-right-cards {
        gap: 16px;
    }

    .owner-company-img {
        height: 140px;
    }

    .owner-company-title {
        font-size: 13px;
    }

    .owner-company-title-dark {
        font-size: 20px;
    }
}

/* =========================
   CRITICAL OVERRIDES
   Ensuring nothing breaks the design
========================= */

/* Remove ANY backdrop blur or transparency */
.owner-header,
.owner-mega-overlay,
.owner-mega-sheet {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Ensure perfect white */
.owner-header {
    background-color: #ffffff !important;
    background-image: none !important;
}

.owner-mega-overlay {
    background-color: #ffffff !important;
    background-image: none !important;
}

.owner-mega-sheet {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* NO gap between header and mega menu */
.owner-mega-overlay {
    margin-top: 0 !important;
    border-top: none !important;
}

/* Seamless connection */
#ownerHeader {
    position: sticky;
    top: 0;
    z-index: 999999 !important;
}

.owner-mega-overlay {
    z-index: 999998 !important;
}

/* =========================
   Container 1440 System
========================= */

.container-1482 {
    width: 100%;
    max-width: 1482px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Large desktops (≥1440px) */
@media (min-width: 1440px) {
    .container-1482 {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Tablets & small laptops */
@media (max-width: 1024px) {
    .container-1482 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .container-1482 {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient);
    color: var(--text-white);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(1, 91, 248, 0.4);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================
   UTILITIES
========================= */

a {
    text-decoration: none !important;
}

.d-flex {
    display: flex;
    gap: 10px;
}

.fs-14 {
    font-size: 14px !important;
}

/* Card 1: Image + text overlay like Owner */
.owner-company-card--overlay {
    position: relative;
    width: 470px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

/* Full image fills the card */
.owner-company-card--overlay .owner-company-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay gradient + text */
.owner-company-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 18px 16px;
    background: linear-gradient(to top,
            rgba(2, 6, 23, 0.78),
            rgba(2, 6, 23, 0.10));
}

/* Title + arrow on same row */
.owner-company-overlay-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.owner-company-card--overlay .owner-company-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 88%;
}

/* Arrow bubble */
.owner-company-card--overlay .owner-company-arrow {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 160ms ease, background 160ms ease;
}

.owner-company-card--overlay .owner-company-arrow i {
    color: #fff;
    font-size: 16px;
}

.owner-company-card--overlay:hover .owner-company-arrow {
    background: rgba(255, 255, 255, 0.24);
    transform: translateX(2px);
}