/* TK Virtual | Homepage refinement v2
   Presentation only: preserves Leaflet, local map iframe, vAMSYS and Framer code.
   Loaded after Framer's original styles and tkv-layout.css.
*/

:root { --tkv-bg: #05070a; --tkv-panel: #0c1016; --tkv-border: rgba(255,255,255,.11); --tkv-red: #e83a43; }
html { scroll-behavior: smooth; }
body { background: var(--tkv-bg); overflow-x: clip; }

/* The exported Framer desktop page has a hard-coded 1200px canvas, which
   becomes visually very narrow at reduced browser zoom. Make it fluid. */
.framer-0R7iN > .framer-BtqoM,
.framer-BtqoM.framer-72rtr7 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto;
}

/* Premium, restrained navigation. No markup or navigation actions replaced. */
.framer-0R7iN .framer-1g8rqds-container { width: 100% !important; }
.framer-0R7iN .framer-1g8rqds-container nav.framer-VN1L5 {
    background: rgba(7, 9, 13, .88) !important;
    -webkit-backdrop-filter: blur(20px) saturate(135%) !important;
    backdrop-filter: blur(20px) saturate(135%) !important;
    box-shadow: 0 10px 36px rgba(0,0,0,.30) !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
}
.framer-0R7iN .framer-VN1L5 .framer-14auoc5 {
    width: calc(100% - 88px) !important;
    max-width: 1540px !important;
    min-height: 66px;
    margin-inline: auto;
}
.framer-0R7iN nav.framer-VN1L5 a,
.framer-0R7iN nav.framer-VN1L5 a .framer-text {
    transition: opacity .2s ease, color .2s ease;
}
.framer-0R7iN nav.framer-VN1L5 a:hover,
.framer-0R7iN nav.framer-VN1L5 a:hover .framer-text {
    opacity: 1 !important;
    color: #fff !important;
}

/* Hero: less dead vertical space, without touching its image or animations. */
.framer-BtqoM .framer-1o54d2s {
    height: clamp(600px, 87svh, 950px) !important;
    padding: clamp(112px, 12svh, 148px) 24px 72px !important;
    gap: clamp(32px, 4svh, 62px) !important;
}
.framer-BtqoM .framer-r77l27 {
    max-width: 780px !important;
}

/* Better rhythm for the features area ahead of the live map. */
.framer-BtqoM .framer-2i1scq {
    max-width: 1540px !important;
    width: 100% !important;
    padding: 56px 36px 36px !important;
    gap: 28px !important;
    border-radius: 28px !important;
}

/* Main improvement: wide map, real container height and restrained frame. */
.framer-BtqoM .framer-cuur9e-container {
    flex: none !important;
    width: min(1740px, calc(100vw - 88px)) !important;
    max-width: calc(100vw - 88px) !important;
    min-width: 0 !important;
    height: clamp(560px, 75svh, 855px) !important;
    margin: 12px auto 26px !important;
    border-radius: 26px !important;
    border: 1px solid var(--tkv-border) !important;
    background: var(--tkv-panel);
    box-shadow: 0 28px 80px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.025) inset;
    overflow: hidden !important;
    isolation: isolate;
}
.framer-BtqoM .framer-cuur9e-container > div {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}
.framer-BtqoM .framer-cuur9e-container iframe[title="Vamsys Pro Map"] {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: inherit;
}

/* Original export contains a decorative 80px spacer below the map. */
.framer-BtqoM .framer-10rop9q-container {
    width: 1px !important;
    height: 24px !important;
    min-height: 0 !important;
    pointer-events: none;
}

/* More consistent lower-section spacing and typography. */
.framer-BtqoM #faq {
    width: 100% !important;
    max-width: 1340px !important;
    padding: 68px 28px !important;
}
.framer-BtqoM #usecases-1 {
    width: 100% !important;
    max-width: 1400px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 68px 28px 88px !important;
    gap: 30px !important;
    border-radius: 28px !important;
}
.framer-BtqoM #usecases-1 .framer-77bdf5 h2 {
    color: #f4f6f9 !important;
    letter-spacing: -.035em;
}

@media (max-width: 1199.98px) {
    .framer-0R7iN .framer-VN1L5 .framer-14auoc5 {
        width: calc(100% - 52px) !important;
    }
    .framer-BtqoM .framer-cuur9e-container {
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
        height: clamp(520px, 71svh, 760px) !important;
        border-radius: 22px !important;
    }
    .framer-BtqoM .framer-2i1scq { padding: 48px 24px 28px !important; }
}
@media (max-width: 809.98px) {
    .framer-0R7iN .framer-VN1L5 .framer-14auoc5 {
        width: calc(100% - 28px) !important;
        min-height: 58px;
    }
    .framer-BtqoM .framer-1o54d2s {
        height: auto !important;
        min-height: 600px !important;
        padding: 115px 18px 64px !important;
        gap: 30px !important;
    }
    .framer-BtqoM .framer-2i1scq {
        padding: 36px 16px 20px !important;
        gap: 20px !important;
        border-radius: 18px !important;
    }
    .framer-BtqoM .framer-cuur9e-container {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        height: clamp(430px, 68svh, 660px) !important;
        margin: 10px auto 18px !important;
        border-radius: 16px !important;
        box-shadow: 0 14px 40px rgba(0,0,0,.32);
    }
    .framer-BtqoM .framer-10rop9q-container { height: 12px !important; }
    .framer-BtqoM #faq { padding: 48px 18px !important; }
    .framer-BtqoM #usecases-1 {
        padding: 48px 18px 58px !important;
        gap: 22px !important;
        border-radius: 18px !important;
    }
}
@media (max-width: 430px) {
    .framer-BtqoM .framer-cuur9e-container { height: 530px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .framer-0R7iN nav.framer-VN1L5 a { transition: none !important; }
}
