/*============================================================
  layout.css — CasaPrimes  v3
  Fully responsive · Mobile-first · Slide-in user drawer
============================================================*/
:root {
    --or: #E8572A;
    --or-d: #C94820;
    --or-pale: #FFF4EE;
    --or-glow: rgba(242,101,34,.2);
    --navy: #1A3C6E;
    --navy2: #0F2448;
    --text: #0F1923;
    --text2: #374151;
    --muted: #5A7184;
    --mu2: #9CA3AF;
    --border: #DDE5EC;
    --border2: #D1D5DB;
    --white: #fff;
    --bg: #F8FAFC;
    --green: #059669;
    --red: #DC2626;
    --radius: 10px;
    --nav-h: 60px;
    --mob-nav-h: 60px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: 'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

button, input, select, textarea {
    font-family: inherit
}

/* ── TOPBAR ─────────────────────────────────────────────────── */
.topbar {
    background: linear-gradient(157deg, #18294e 0%, #111f3c 100%);
    color: #FFEB3B;
    font-size: .72rem;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px
}

    .topbar a {
        /* color: #F0B849;*/
        font-weight: 600
    }

    .topbar strong {
        color: #fff
    }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    /*height: var(--nav-h);*/
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06)
}

/* Logo */
.nb-brand {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--navy);
    flex-shrink: 0;
    letter-spacing: -.02em;
    line-height: 1
}

    .nb-brand em {
        color: var(--or);
        font-style: normal
    }

    .nb-brand span {
        color: var(--or)
    }

/* Search bar */
.nb-search {
    flex: 1;
    max-width: 460px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0 12px;
    height: 38px;
    margin: 0 8px
}

    .nb-search svg {
        color: var(--muted);
        flex-shrink: 0
    }

    .nb-search input {
        flex: 1;
        border: none;
        background: none;
        outline: none;
        font-size: .84rem;
        color: var(--text)
    }

    .nb-search button {
        padding: 5px 12px;
        background: var(--or);
        color: #fff;
        border: none;
        border-radius: 7px;
        font-size: .76rem;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap
    }

/* Desktop nav links */
.nb-links {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 20%;
}

/* Dropdown wrapper */
.nb-dropdown-wrap {
    position: relative
}

/* Nav link text */
.nb-link {
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    padding: 0 13px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .18s;
    white-space: nowrap;
    user-select: none
}

    .nb-link:hover, .nb-link.active {
        color: var(--or);
        border-bottom-color: var(--or)
    }

/* Dropdown panel */
.nb-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    padding: 6px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s,transform .2s;
    z-index: 300
}

.nb-dropdown-wrap:hover .nb-dropdown,
.nb-dropdown-wrap:focus-within .nb-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0)
}

/* Dropdown with 2 columns (Services) */
.nb-dropdown.nb-dropdown-2col {
    min-width: 380px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 12px 0
}

.nb-dd-col-title {
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    padding: 4px 16px 8px;
    grid-column: span 1
}

.nb-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: .81rem;
    color: var(--text);
    transition: background .15s;
    white-space: nowrap
}

    .nb-dd-item:hover {
        background: var(--or-pale);
        color: var(--or)
    }

/* Right side icons */
.nb-right {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    flex-shrink: 0
}

.nb-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    transition: all .18s;
    background: none;
    padding: 0;
    flex-shrink: 0
}

    .nb-icon:hover {
        border-color: var(--or);
        color: var(--or)
    }

.nb-admin-link {
    font-size: .74rem;
    font-weight: 700;
    color: var(--or);
    padding: 5px 10px;
    border: 1.5px solid var(--or);
    border-radius: var(--radius);
    transition: all .18s;
    white-space: nowrap
}

    .nb-admin-link:hover {
        background: var(--or);
        color: #fff
    }

.nb-post {
    background: var(--or);
    color: #fff;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    transition: background .18s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0
}

    .nb-post:hover {
        background: var(--or-d)
    }

.nb-free-badge {
    background: rgba(255,255,255,.25);
    font-size: .6rem;
    padding: 1px 5px;
    border-radius: 4px
}

/* ── DESKTOP USER MENU (dropdown) ───────────────────────────── */
/* ═══════════════════════════════════════════════════
   DESKTOP USER AVATAR + DROPDOWN
═══════════════════════════════════════════════════ */
.nb-user-wrap {
    position: relative;
    flex-shrink: 0
}

/* Circular initial letter avatar button */
.nb-user-avatar-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--or),#d9531a);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid rgba(255,255,255,.9);
    box-shadow: 0 2px 8px rgba(242,101,34,.3);
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}

    .nb-user-avatar-btn:hover {
        transform: scale(1.08);
        box-shadow: 0 4px 16px rgba(242,101,34,.45);
    }

/* Dropdown panel */
.nb-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    border-radius: 14px;
    min-width: 220px;
    box-shadow: 0 8px 36px rgba(0,0,0,.15),0 2px 8px rgba(0,0,0,.08);
    border: 1px solid #E5EAF0;
    z-index: 300;
    overflow: hidden;
    animation: ddIn .18s cubic-bezier(.4,0,.2,1);
}

    .nb-user-dropdown.open {
        display: block
    }

/* Arrow pointer */
.nb-ud-arrow {
    position: absolute;
    top: -7px;
    right: 12px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid #E5EAF0;
    border-top: 1px solid #E5EAF0;
    transform: rotate(45deg);
    border-radius: 2px;
}

/* Header with avatar */
.nb-ud-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
    background: linear-gradient(135deg,#0A4B6E,#0D5C87);
}

.nb-ud-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--or);
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,.4);
}

.nb-ud-name {
    font-size: .84rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2
}

.nb-ud-phone {
    font-size: .7rem;
    color: rgba(255,255,255,.6);
    margin-top: 1px
}

.nb-ud-divider {
    height: 1px;
    background: #F1F5F9;
    margin: 3px 0
}

/* Menu items */
.nb-ud-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: .82rem;
    color: #2D3E4F;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    width: 100%;
    text-align: left;
    line-height: 1.4;
}

    .nb-ud-item:hover {
        background: #F5F9FC;
        color: #0A4B6E
    }

.nb-ud-ico {
    font-size: 1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0
}

.nb-ud-logout {
    color: #DC2626 !important
}

    .nb-ud-logout:hover {
        background: #FEF2F2 !important
    }

/* Login button (not logged in) */
.nb-login-icon-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: #fff;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text2);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

    .nb-login-icon-btn:hover {
        border-color: var(--or);
        color: var(--or);
        background: var(--bg)
    }

@keyframes ddIn {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ═══════════════════════════════════════════════════
   MOBILE BOTTOM NAV — AVATAR CIRCLE
═══════════════════════════════════════════════════ */
.mni-avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--or);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,.8);
    box-shadow: 0 1px 4px rgba(242,101,34,.3);
    flex-shrink: 0;
}
/* active state ring */
.mob-nav-item.active .mni-avatar-circle {
    box-shadow: 0 0 0 2px var(--or),0 2px 8px rgba(242,101,34,.4);
}

/* ── HAMBURGER ──────────────────────────────────────────────── */
.nb-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0
}

    .nb-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: all .25s
    }

    .nb-hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .nb-hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0)
    }

    .nb-hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

/* ── MOBILE DRAWER OVERLAY ──────────────────────────────────── */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 150;
    opacity: 0;
    transition: opacity .25s
}

    .mob-overlay.show {
        opacity: 1
    }

/* ── MOBILE NAV DRAWER (slides from left) ───────────────────── */
.mob-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 82vw;
    max-width: 320px;
    background: #fff;
    z-index: 160;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column
}

    .mob-nav-drawer.open {
        transform: translateX(0);
        z-index: 99999;
    }

.mob-drawer-head {
    background: #1e2f4d;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.mob-drawer-logo {
    background: white;
    border-radius: 15px;
    box-shadow: 0px 1px 11px 0px #000;
    padding: 5px;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff
}

    .mob-drawer-logo em {
        color: #F0B849;
        font-style: normal
    }

.mob-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: none;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.mob-drawer-user {
    padding: 16px 18px;
    background: #FFF4EE;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px
}

.mob-drawer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--or);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0
}

.mob-drawer-uname {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text)
}

.mob-drawer-uphone {
    font-size: .74rem;
    color: var(--muted);
    margin-top: 2px
}

.mob-drawer-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #FFF4EE;
    border-bottom: 1px solid var(--border);
    font-size: .84rem;
    font-weight: 600;
    color: var(--or);
    text-decoration: none
}

.mob-nav-section {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    padding: 14px 18px 4px
}

.mob-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: .88rem;
    color: var(--text);
    border-bottom: 1px solid #F3F4F6;
    transition: background .15s
}

    .mob-nav-link:active, .mob-nav-link:hover {
        background: var(--or-pale);
        color: var(--or)
    }

.mob-nav-link-arrow {
    margin-left: auto;
    color: var(--muted)
}

.mob-drawer-sub {
    background: #F8FAFC;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
}

    .mob-drawer-sub.open {
        max-height: 400px
    }

.mob-drawer-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 36px;
    font-size: .82rem;
    color: var(--text2);
    border-bottom: 1px solid #F3F4F6
}

    .mob-drawer-sublink:hover {
        color: var(--or);
        background: var(--or-pale)
    }

.mob-drawer-footer {
    margin-top: auto;
    padding: 16px 18px;
    border-top: 1px solid var(--border)
}

.mob-drawer-post {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--or);
    color: #fff;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 10px
}

    .mob-drawer-post:hover {
        background: var(--or-d)
    }

.mob-drawer-logout {
    width: 100%;
    padding: 10px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    background: #fff;
    cursor: pointer;
    font-family: inherit
}

/* ── MOBILE USER PANEL (slides from right) ──────────────────── */
.mob-user-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80vw;
    max-width: 300px;
    background: #fff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto
}

    .mob-user-panel.open {
        transform: translateX(0)
    }

/* ═══════════════════════════════════════════════════
   MOBILE USER PANEL (right slide-in)
═══════════════════════════════════════════════════ */
.mob-user-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82vw;
    max-width: 310px;
    background: #fff;
    z-index: 161;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex;
    z-index: 999;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,.18);
}

    .mob-user-panel.open {
        transform: translateX(0)
    }

/* Panel header */
.mob-up-head {
    background: linear-gradient(160deg,#062F46,#0A4B6E);
    padding: 48px 20px 24px;
    position: relative;
    text-align: center;
}

.mob-up-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
}

    .mob-up-close:hover {
        background: rgba(255,255,255,.28)
    }

.mob-up-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: var(--or);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,.4);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.mob-up-name {
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3px
}

.mob-up-phone {
    font-size: .76rem;
    color: rgba(255,255,255,.6)
}

.mob-up-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 3px 10px;
    background: rgba(15,158,110,.2);
    border: 1px solid rgba(15,158,110,.35);
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 700;
    color: #4ADE80;
}

/* Nav items */
.mob-up-nav {
    flex: 1;
    padding: 8px 0
}

.mob-up-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    font-size: .86rem;
    font-weight: 600;
    color: #2D3E4F;
    text-decoration: none;
    border-bottom: 1px solid #F1F5F9;
    transition: background .15s;
}

    .mob-up-item:last-child {
        border-bottom: none
    }

    .mob-up-item:hover {
        background: #F5F9FC;
        color: #0A4B6E
    }

.mob-up-ico {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0
}

.mob-up-arrow {
    margin-left: auto;
    color: #8FA4B5;
    font-size: 1.1rem;
    font-weight: 300
}

.mob-up-divider {
    height: 6px;
    background: #F7F5F0
}

/* Logout at bottom */
.mob-up-footer {
    padding: 16px 20px 24px;
    border-top: 1px solid #F1F5F9
}

.mob-up-logout {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1.5px solid #FECACA;
    background: #FEF2F2;
    color: #DC2626;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .mob-up-logout:hover {
        background: #DC2626;
        color: #fff;
        border-color: #DC2626
    }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(157deg, #18294e 0%, #111f3c 100%);
    color: rgba(255,255,255,.55)
}

.footer-top-bar {
    height: 3px;
    background: linear-gradient(90deg,var(--or),#F0B849,var(--or))
}

.ft-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 20px 0
}

.ft-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px
}

.ft-brand {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -.02em
}

    .ft-brand em {
        color: #F0B849;
        font-style: normal
    }

    .ft-brand span {
        color: var(--or)
    }

.ft-desc {
    font-size: .78rem;
    line-height: 1.7;
    color: white;
    margin-bottom: 14px;
    max-width: 260px
}

.ft-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px
}

.ft-badge {
    background: rgb(243 138 28);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: .66rem;
    font-weight: 600;
    color: navy
}

.ft-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.ft-soc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #cecece;
    border: 1px solid #f38a1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: rgb(30 47 77);
    transition: all .18s
}

    .ft-soc:hover {
        background: var(--or);
        color: #fff;
        border-color: var(--or)
    }

.ft-col-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: ghostwhite;
    margin-bottom: 14px
}

.ft-links {
    display: flex;
    flex-direction: column;
    gap: 9px
}

.ft-link {
    font-size: .78rem;
    color: rgb(30 47 77);
    transition: color .18s
}

    .ft-link:hover {
        color: #F0B849
    }

.ft-app-link {
    font-size: .78rem;
    color: rgb(30 47 77);
    display: block;
    margin-bottom: 8px;
    transition: color .18s
}

    .ft-app-link:hover {
        color: #F0B849
    }

.ft-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .72rem;
    color: rgba(255,255,255,.25)
}

/* ══════════════════════════════════════════
   MOBILE BOTTOM NAV — Clean 5-tab bar
══════════════════════════════════════════ */
.mob-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 140;
    background: #fff;
    border-top: 1.5px solid #E5EAF0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom,0px);
}

.mob-nav-items {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 4px;
}

/* ── Every regular tab ──────────────────── */
.mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    color: #8FA4B5;
    font-size: inherit;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color .15s;
    position: relative;
    min-width: 0;
    -webkit-tap-highlight-color: transparent;
}

    .mob-nav-item.active,
    .mob-nav-item:active {
        color: #E8921A;
    }

        /* Orange top-border on active tab */
        .mob-nav-item.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 3px;
            border-radius: 0 0 4px 4px;
            background: #E8921A;
        }

/* ── Icon inside each tab ───────────────── */
.mni-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Ensure SVGs inherit color correctly */
    color: inherit;
}

    .mni-icon svg {
        display: block;
        width: 22px;
        height: 22px;
    }

/* ── Label below icon ───────────────────── */
.mni-label {
    display: block;
    font-size: .6rem;
    font-weight: 600;
    line-height: 1;
    color: inherit;
    white-space: nowrap;
    letter-spacing: .01em;
}

/* ── POST button (orange circle, raised) ─ */
.mob-nav-post-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px 6px;
    color: #8FA4B5;
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mni-post-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #E8921A;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(232,146,26,.45),0 2px 6px rgba(232,146,26,.25);
    flex-shrink: 0;
    transition: transform .15s,box-shadow .15s;
    margin-top: -8px; /* lifts circle above the bar */
}

    .mni-post-circle svg {
        display: block;
        width: 20px;
        height: 20px;
    }

.mob-nav-post-item:active .mni-post-circle {
    transform: scale(.92);
    box-shadow: 0 2px 8px rgba(232,146,26,.35);
}

.mob-nav-post-item .mni-label {
    color: #E8921A;
    font-size: .6rem;
}

/* ── PAGE CONTENT BASE ──────────────────────────────────────── */
.page-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px
}

.section-pad {
    padding: 56px 0
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* Large tablet */
@media(max-width:1100px) {
    .nb-links {
        gap: 0
    }

    .nb-link {
        padding: 0 9px;
        font-size: .76rem
    }

    .ft-grid {
        grid-template-columns: 1fr 1fr 1fr
    }

    .nb-post {
        padding: 7px 12px;
        font-size: .76rem
    }
}

/* Tablet: 900px — show mobile drawer */
@media(max-width:900px) {
    /* Show mobile elements */
    .mob-bottom-nav {
        display: block
    }

    body {
        padding-bottom: 58px
    }

    .nb-hamburger {
        display: flex
    }

    /* Hide desktop nav links + some nav right items */
    .nb-links {
        display: none !important
    }

    .nb-right .nb-admin-link {
        display: none
    }

    .nb-right .nb-post {
        display: none
    }
    /* Keep the login icon + avatar visible on desktop too, hide on mobile */

    /* Footer */
    .ft-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .ft-container {
        padding: 28px 16px 0
    }
}

/* Mobile: 640px */
@media(max-width:640px) {
    /* Topbar */
    .topbar {
        display: none
    }

    /* Navbar */
    .navbar {
        padding: 0 12px;
        /*height: 54px;*/
        gap: 8px
    }

    --nav-h:54px;
    .nb-brand {
        font-size: 1.1rem
    }

    .nb-right {
        gap: 4px
    }

    .nb-icon {
        width: 32px;
        height: 32px
    }

    /* Hamburger visible */
    .nb-hamburger {
        display: flex
    }

    /* Hide notification + saved icons on very small screens */
    .nb-right .nb-icon:not(.nb-avatar) {
        display: none
    }

    .nb-right .nb-avatar {
        display: flex
    }



    .ft-container {
        padding: 24px 12px 0
    }

    .ft-brand {
        font-size: 1.2rem
    }

    .ft-desc {
        max-width: 100%
    }

    /* Mobile bottom nav */
    .mob-nav-items {
        height: 58px
    }

    .mni-post-circle {
        width: 42px;
        height: 42px
    }

    .mni-label {
        font-size: .58rem
    }

    .mni-icon svg {
        width: 20px;
        height: 20px
    }

    /* Mobile drawer */
    .mob-nav-drawer {
        width: 88vw;
        max-width: 320px
    }

    /* Legal pages */
    .legal-card {
        padding: 20px 16px
    }
}

.menuhide2 {
    display: none;
}

.menuhide {
}

/* Tablet only */
@media (min-width: 641px) and (max-width: 900px) {
    .menuhide2 {
        display: none;
    }

    .ft-grid {
        display: flex;
    }

    .navbar {
        padding: 0 10px
    }

    .nb-brand {
        font-size: 1rem
    }

    .ft-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center
    }

    .mob-nav-drawer {
        width: 92vw
    }
}

/* Mobile only */
@media (max-width: 640px) {
    .menuhide2 {
        display: inherit !important;
        margin-top: 10px;
        width: 150px;
        float: left;
    }

    .ft-grid {
        grid-template-columns: 1fr !important
    }

    .pwa-right {
        display: block !important;
    }

    .menuhide {
        display: none;
    }

    .navbar {
        padding: 0 10px
    }

    .nb-brand {
        font-size: 1rem
    }


    .ft-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center
    }

    .mob-nav-drawer {
        width: 92vw
    }
}

/*.logo-img {
    height: 80px;
    transition: transform 0.4s ease;
}

    .logo-img:hover {
        transform: rotateX(8deg) rotateY(8deg) scale(1.05);
    }
*/
.logo-img {
    height: 80px;
}

.footerlogo-img {
    height: 110px !important;
    background: white;
    padding: 7px;
    border-radius: 21px;
    box-shadow: 0px 1px 11px 0px #000;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }

    50% {
        transform: scale(1.015);
        opacity: 1;
    }
}

.ft-bottom {
    background: linear-gradient(135deg, #0a1f44, #0d2b5c); /* Dark navy gradient */
    color: rgba(255, 255, 255, 0.7);
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
}

    /* Company text */
    .ft-bottom p {
        margin: 0;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

/* Links container */
.ft-links {
    display: flex;
    gap: 16px;
}

    /* Links style */
    .ft-links a {
        color: #ababab;
        font-size: 0.75rem;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

        /* Hover effect */
        .ft-links a:hover {
            color: darkorange;
        }

        /* Underline animation */
        .ft-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0%;
            height: 1px;
            background: darkorange;
            transition: width 0.3s ease;
        }

        .ft-links a:hover::after {
            width: 100%;
        }

/* Responsive */
@media (max-width: 600px) {
    .ft-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


/* Links container */
.ft-f-links {
    float: left;
    gap: 16px;
}

    /* Links style */
    .ft-f-links a {
        color: white;
        font-size: 0.75rem;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        margin-right: 16px;
    }

        /* Hover effect */
        .ft-f-links a:hover {
            color: white;
        }

        /* Underline animation */
        .ft-f-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -3px;
            width: 0%;
            height: 1px;
            background: white;
            transition: width 0.3s ease;
        }

        .ft-f-links a:hover::after {
            width: 100%;
        }

/* ===== Card Container ===== */
.pwa-screen-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    height: 90px;
}

    /* ===== Image ===== */
    .pwa-screen-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ===== Overlay ===== */
.pwa-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: #fff;
}

/* ===== Text ===== */
.pwa-screen-prop-title {
    font-size: 0.65rem;
    font-weight: 600;
}

.pwa-screen-prop-price {
    font-size: 0.7rem;
    font-weight: 700;
}

.pwa-screen-prop-loc {
    font-size: 0.6rem;
    opacity: 0.85;
}

/* ===== Contact Options (Top Cards) ===== */
.pwa-contact-options {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    gap: 8px;
}

.pwa-contact-card {
    flex: 1;
    background: #f3f4f6;
    border-radius: 10px;
    text-align: center;
    padding: 10px 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .pwa-contact-card:hover {
        background: #0d5c87;
        color: #fff;
        transform: translateY(-2px);
    }

    .pwa-contact-card .icon {
        font-size: 1rem;
    }

    .pwa-contact-card .label {
        font-size: 0.6rem;
        margin-top: 4px;
    }

/* ===== Form ===== */
.pwa-contact-form {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Floating Field */
.field {
    position: relative;
}

    .field input,
    .field textarea {
        width: 100%;
        border: none;
        border-bottom: 1.5px solid #ccc;
        background: transparent;
        padding: 8px 4px;
        font-size: 0.7rem;
        outline: none;
    }

    /* Label */
    .field label {
        position: absolute;
        left: 4px;
        top: 8px;
        font-size: 0.65rem;
        color: #888;
        transition: 0.2s ease;
        pointer-events: none;
    }

    /* Floating Animation */
    .field input:focus + label,
    .field input:valid + label,
    .field textarea:focus + label,
    .field textarea:valid + label {
        top: -6px;
        font-size: 0.55rem;
        color: #0d5c87;
    }

/* Button */
.pwa-contact-btn {
    margin-top: 6px;
    background: #0d5c87;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
}

.logo-hover {
    font-size: 60px;
    font-weight: bold;
    color: #1A3C6E;
    transition: all 0.4s ease;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

    .logo-hover:hover {
        transform: rotateX(2deg) rotateY(2deg) scale(1.1);
        text-shadow: 5px 5px 15px rgba(0,0,0,0.5);
    }

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50px;
    padding: 6px 16px
}

.vc-item {
    display: flex;
    align-items: center;
    gap: 6px
}

.vc-label {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    font-weight: 500
}

.vc-num {
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums
}

.vc-sep {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.15)
}

.vc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.6);
    animation: vcPulse 2s ease-in-out infinite;
    flex-shrink: 0
}

@keyframes vcPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34,197,94,.6)
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34,197,94,0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34,197,94,0)
    }
}

/* ── Odometer visitor counter ── */
.odo-outer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.odo-row {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.odo-lbl {
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .08em
}

.odo-groups {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #111;
    border: 2px solid #2a2a2a;
    border-radius: 6px;
    padding: 3px 7px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.7),0 1px 0 rgba(255,255,255,.06)
}

.odo-digit-wrap {
    position: relative;
    width: 22px;
    height: 30px;
    overflow: hidden;
    border-radius: 3px;
    background: #0d0d0d;
    border: 1px solid #222;
    box-shadow: inset 0 1px 4px rgba(0,0,0,.9)
}

    .odo-digit-wrap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 10px;
        background: linear-gradient(to bottom,rgba(0,0,0,.85),transparent);
        z-index: 2
    }

    .odo-digit-wrap::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 10px;
        background: linear-gradient(to top,rgba(0,0,0,.85),transparent);
        z-index: 2
    }

.odo-reel {
    display: flex;
    flex-direction: column;
    align-items: center
}

.odo-cell {
    width: 22px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New',Courier,monospace;
    font-size: 16px;
    font-weight: 700;
    color: #f5c542;
    text-shadow: 0 0 6px rgba(245,197,66,.4);
    flex-shrink: 0
}

.odo-comma {
    font-size: 12px;
    color: #444;
    font-weight: 700;
    line-height: 30px;
    padding: 0 1px;
    align-self: center
}

.odo-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,.12)
}

.odo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(34,197,94,.5);
    animation: odoPulse 2s ease-in-out infinite
}

@keyframes odoPulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.pwa-contact-card {
    cursor: pointer;
    transition: .3s;
    padding: 10px;
    border-radius: 14px;
}

    .pwa-contact-card:hover {
        transform: translateY(-4px);
    }

    /* Active selected card */
    .pwa-contact-card.active-card {
        background: #25D366; /* change color here */
        color: #fff;
        box-shadow: 0 5px 15px rgba(37,211,102,.3);
        transform: translateY(-4px);
    }

        .pwa-contact-card.active-card .icon {
            transform: scale(1.1);
        }

        .pwa-contact-card.active-card .label {
            font-weight: 600;
        }
