/* bi-file-earmark-text */

:root {
    --navy: #071b3a;
    --navy2: #020b1c;
    --gold: #d99a25;
    --gold2: #f1bd56;
    --green: #14a44d;
    --ink: #071b3a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, .09);
}

body.premium-home {
    font-family: Inter, system-ui, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top left, rgba(217, 154, 37, .1), transparent 28%), linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    padding-top: 0 !important;
    overflow-x: clip; /* clip instead of hidden — doesn't break position:sticky */
}

body.premium-home a {
    text-decoration: none;
}

body.premium-home .topbar {
    background: linear-gradient(90deg, var(--navy2), var(--navy));
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    line-height: 1;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1031;
}

body.premium-home .topbar i {
    color: var(--gold);
    margin-right: 6px;
}

body.premium-home .pmh-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    height: 32px;
    overflow: hidden;
}

body.premium-home .pmh-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    padding: 0 12px;
}

body.premium-home .pmh-topbar-item i {
    color: var(--gold);
    font-size: 12px;
    line-height: 1;
}

body.premium-home .pmh-topbar-item a {
    color: inherit;
    text-decoration: none;
}

body.premium-home .pmh-topbar-item a:hover {
    color: var(--gold);
}

body.premium-home .glass-nav,
body.premium-home nav.glass-nav.navbar {
    background: rgba(255, 255, 255, .92) !important;
    background-color: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07) !important;
    padding: 8px 0;
    height: auto !important;
    min-height: unset !important;
}


.container {
    max-width: 1320px;
}

body.premium-home .glass-nav .container {
    display: flex;
    align-items: center;
}

/* Fixed nav — both topbar and navbar stay fixed at top */
body.premium-home .pmh-sticky-nav {
    position: fixed !important;
    top: 32px !important; /* Below topbar */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030;
}

body.premium-home .glass-nav .navbar-brand {
    color: var(--navy) !important;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.premium-home .glass-nav .navbar-nav .nav-link,
body.premium-home .glass-nav .navbar-nav .dropdown-toggle {
    color: var(--navy) !important;
}

body.premium-home .glass-nav .navbar-nav .nav-link:hover,
body.premium-home .glass-nav .navbar-nav .dropdown-toggle:hover {
    color: var(--gold) !important;
    transform: none !important;
}

body.premium-home .glass-nav .navbar-toggler {
    border: 1px solid rgba(7, 27, 58, .15);
    padding: 6px 10px;
}

body.premium-home .glass-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(217, 154, 37, .2);
}

body.premium-home .glass-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%287, 27, 58, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

body.premium-home .glass-nav .navbar-collapse {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

body.premium-home .glass-nav .navbar-nav {
    align-items: center;
}

body.premium-home .glass-nav .dropdown-item:hover {
    background: rgba(217, 154, 37, .1) !important;
    color: var(--navy) !important;
    transform: none !important;
}

body.premium-home .brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

body.premium-home .brand-copy {
    line-height: 0.7;
}

body.premium-home .brand-name {
    display: block;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--navy);
    white-space: nowrap;
}

body.premium-home .brand-copy small {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

body.premium-home .glass-nav .nav-link {
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    padding: 6px 10px !important;
}

body.premium-home .glass-nav .nav-link.active,
body.premium-home .glass-nav .nav-link:hover {
    color: var(--gold);
    background: rgba(217, 154, 37, .08);
}

body.premium-home .glass-nav .dropdown-menu {
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
    padding: 8px;
}

body.premium-home .glass-nav .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
}

body.premium-home .glass-nav .dropdown-item:hover {
    background: rgba(217, 154, 37, .1);
    color: var(--navy);
}

body.premium-home .btn-gold {
    color: #fff;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    box-shadow: 0 12px 25px rgba(217, 154, 37, .28);
    border-radius: 14px;
    font-weight: 800;
    border: 0;
    padding: 12px 22px;
}

body.premium-home .btn-gold:hover {
    color: #fff;
    transform: translateY(-1px);
}

body.premium-home .btn-navy {
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--navy2));
    box-shadow: 0 12px 25px rgba(7, 27, 58, .22);
    border-radius: 14px;
    font-weight: 800;
    border: 0;
    padding: 12px 22px;
}

body.premium-home .btn-navy:hover {
    color: #fff;
    transform: translateY(-1px);
}

body.premium-home .btn-whatsapp {
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #0d8c3a);
    box-shadow: 0 12px 25px rgba(22, 163, 74, .22);
    border-radius: 14px;
    font-weight: 800;
    border: 0;
    padding: 12px 22px;
}

body.premium-home .btn-whatsapp:hover {
    color: #fff;
    transform: translateY(-1px);
}

body.premium-home .hero-section {
    min-height: unset;
    position: relative;
    overflow: visible;
    background: none !important;
    background-image: none !important;
    margin-top: 112px !important; /* Space for fixed topbar + navbar */
    padding: 16px 0 12px !important;
}

.vertical-line {
    border-left: 5px solid #ccc; 
    height: 780px;              
    margin: 0 20px; 
}

@media (max-width: 991px) {
    .vertical-line {
        display: none;
    }
}   


body.premium-home .mesh-bg {
    position: absolute;
    height: 100%;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(217, 154, 37, .13), transparent 25%), radial-gradient(circle at 80% 10%, rgba(7, 27, 58, .1), transparent 25%), linear-gradient(100deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 44%, rgba(248, 250, 252, .75) 100%);
}

body.premium-home .hero-row {
    min-height: unset;
}

body.premium-home .hero-content {
    padding-right: 24px;
}

body.premium-home .trust-pill,
body.premium-home .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold);
    background: rgba(217, 154, 37, .1);
    border: 1px solid rgba(217, 154, 37, .18);
    border-radius: 999px;
    padding: 5px 12px;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: .6px;
}

body.premium-home .trust-pill {
    text-transform: none;
    font-size: 13px;
}

body.premium-home .eyebrow {
    text-transform: uppercase;
}

body.premium-home .hero-section h1 {
    font-size: 25px;
    line-height: 1.05;
    max-width: 900px;
    width: 100%;
    font-weight: 900;
    letter-spacing: 0px;
    color: var(--navy);
}

body.premium-home .hero-section h1 span {
    color: var(--gold);
}

body.premium-home .hero-subtitle {
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
    max-width: 620px;
    margin-top: 8px;
}

body.premium-home .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 28px;
}

body.premium-home .hero-tags span,
body.premium-home .hero-tags a {
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 13px;
    color: var(--navy);
}

body.premium-home .hero-tags i {
    color: var(--gold);
    margin-right: 6px;
}

body.premium-home .social-proof {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

body.premium-home .social-proof strong {
    display: block;
    font-size: 22px;
    color: var(--navy);
}

body.premium-home .social-proof small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

body.premium-home .avatar-stack {
    display: flex;
}

body.premium-home .avatar-stack span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: -10px;
    background: linear-gradient(145deg, #f8d9b0, #864d22);
    border: 3px solid #fff;
}

body.premium-home .avatar-stack span:first-child {
    margin-left: 0;
}

body.premium-home .hero-visual {
    position: relative;
    height: 330px;
    border-radius: 28px;
    overflow: visible;
}

body.premium-home .hero-visual img {
    width: 85%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    border-radius: 36px;
    position: relative;
    left: 10%;
    top: -15px;
    box-shadow: 0 25px 60px rgba(7, 27, 58, .2);
}

body.premium-home .visit-card {
    position: absolute;
    left:-10%;
    bottom: 10px;
    width: min(256px, 90%);
    height: 50px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 20px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .18);
    color: var(--navy);
}

body.premium-home .visit-card small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
}

body.premium-home .visit-card i {
    color: var(--gold);
    font-size: 28px;
}

body.premium-home .cred-card {
    position: absolute;
    right: 24px;
    bottom: -30px;
    background: linear-gradient(135deg, var(--navy), var(--navy2));
    color: #fff;
    border-radius: 22px;
    padding: 18px 22px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 25px 45px rgba(7, 27, 58, .28);
    /* Mobile: these are overridden in the @media block below */
}

body.premium-home .cred-card span {
    font-weight: 800;
    font-size: 13px;
}

body.premium-home .cred-card i {
    color: var(--gold);
    margin-right: 8px;
}

body.premium-home .hero-search-band {
    margin-top: -40px;
    padding-bottom: 48px;
    position: relative;
    z-index: 2;
}

body.premium-home .hero-search-panel {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 24px;
    padding: 20px 24px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, .12);
    margin-top: 0;
}

body.premium-home .hero-search-panel .form-control,
body.premium-home .hero-search-panel .form-select {
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 12px 14px;
    font-weight: 600;
}

body.premium-home .hero-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

body.premium-home .hero-category-nav a {
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 13px;
    color: var(--navy);
}

body.premium-home .hero-category-nav a:hover {
    background: rgba(217, 154, 37, .1);
    color: var(--gold);
}

body.premium-home .section-padding {
    padding: 0;
}

/* Services section — tight padding to stay within 780px viewport */
body.premium-home #services.section-padding {
    padding: 16px 0 20px;
}

body.premium-home .section-title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--navy);
}

body.premium-home .premium-card {
    height: 100%;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    transition: all .28s ease;
}

body.premium-home .premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 65px rgba(15, 23, 42, .13);
}

body.premium-home .icon-bubble {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #f3f6fb);
    color: var(--navy);
    font-size: 30px;
    box-shadow: inset 0 0 0 1px var(--line), 0 14px 25px rgba(15, 23, 42, .08);
    margin-bottom: 24px;
}

body.premium-home .service-card h5 {
    font-weight: 900;
    color: var(--navy);
}

body.premium-home .service-card p {
    color: var(--muted);
    line-height: 1.7;
    min-height: 84px;
}

body.premium-home .service-card a {
    color: var(--navy);
    font-weight: 900;
}

body.premium-home .service-card.featured {
    background: linear-gradient(145deg, #fff, #fff7e9);
    border-color: rgba(217, 154, 37, .25);
}

body.premium-home .dark-card {
    background: linear-gradient(145deg, var(--navy), var(--navy2));
    color: #fff;
}

body.premium-home .dark-card p,
body.premium-home .dark-card a {
    color: rgba(255, 255, 255, .78);
}

body.premium-home .dark-card .icon-bubble {
    background: rgba(255, 255, 255, .1);
    color: var(--gold);
}

body.premium-home .split-panel {
    display: grid;
    grid-template-columns: .95fr 1.4fr;
    gap: 24px;
}

body.premium-home .dark-panel,
body.premium-home .light-panel {
    border-radius: 36px;
    padding: 42px;
}

body.premium-home .dark-panel {
    background: radial-gradient(circle at top right, rgba(217, 154, 37, .22), transparent 32%), linear-gradient(145deg, var(--navy), var(--navy2));
    color: #fff;
    box-shadow: 0 25px 60px rgba(7, 27, 58, .22);
}

body.premium-home .dark-panel h2,
body.premium-home .cta-premium h2 {
    font-weight: 900;
    letter-spacing: -1px;
}

body.premium-home .dark-panel p {
    color: rgba(255, 255, 255, .75);
}

body.premium-home .dark-panel ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

body.premium-home .dark-panel li {
    margin: 12px 0;
    font-weight: 700;
}

body.premium-home .dark-panel li:before {
    content: '✓';
    color: var(--gold);
    margin-right: 10px;
}

body.premium-home .light-panel {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

body.premium-home .mini-feature {
    display: flex;
    gap: 16px;
}

body.premium-home .mini-feature i {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 23px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}

body.premium-home .mini-feature h6 {
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--navy);
}

body.premium-home .mini-feature p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

body.premium-home .stats-modern {
    padding: 36px 0;
}

body.premium-home .stats-grid {
    background: linear-gradient(135deg, var(--navy), var(--navy2));
    color: #fff;
    border-radius: 34px;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    box-shadow: 0 25px 60px rgba(7, 27, 58, .22);
}

body.premium-home .stats-grid div {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

body.premium-home .stats-grid div:last-child {
    border-right: 0;
}

body.premium-home .stats-grid i {
    color: var(--gold);
    font-size: 34px;
    display: block;
    margin-bottom: 8px;
}

body.premium-home .stats-grid strong {
    color: #fff;
    display: block;
    font-size: 32px;
    font-weight: 900;
}

body.premium-home .stats-grid span {
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
}

body.premium-home .cta-premium {
    background: radial-gradient(circle at 80% 20%, rgba(217, 154, 37, .22), transparent 28%), linear-gradient(135deg, var(--navy), var(--navy2));
    color: #fff;
    border-radius: 38px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    box-shadow: 0 30px 70px rgba(7, 27, 58, .25);
}

body.premium-home .cta-premium p {
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
}

body.premium-home .call-line {
    margin-top: 24px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .85);
}

body.premium-home .lead-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 28px;
}

body.premium-home .lead-card h5 {
    font-weight: 900;
}

body.premium-home .lead-card .form-control {
    border-radius: 14px;
    border: 0;
    padding: 14px 16px;
    margin-bottom: 14px;
}

body.premium-home .featured-property-card {
    overflow: hidden;
    padding: 0;
}

body.premium-home .featured-property-card .property-image-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

body.premium-home .featured-property-card .property-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.premium-home .featured-property-card .property-body {
    padding: 24px;
}

body.premium-home .featured-property-card h6 {
    font-weight: 900;
    color: var(--navy);
}

body.premium-home .featured-property-card .price-text {
    color: var(--gold);
    font-weight: 900;
    font-size: 18px;
}

body.premium-home .featured-view-more .btn {
    border-radius: 14px;
    font-weight: 800;
    padding: 12px 22px;
}

body.premium-home .floating-actions {
    position: fixed;
    right: 18px;
    top: 260px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .22);
}

body.premium-home .floating-actions a {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    text-align: center;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    border-bottom: 1px solid var(--line);
}

body.premium-home .floating-actions a.wa {
    background: var(--green);
    color: #fff;
}

body.premium-home .floating-actions i {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

body.premium-home .premium-footer footer.bg-dark {
    background: var(--navy2) !important;
    margin-top: 0;
}

body.premium-home .premium-footer .newsletter-section {
    background: linear-gradient(135deg, var(--navy), var(--navy2)) !important;
    border: 1px solid rgba(255, 255, 255, .12);
}

body.premium-home .cta-buttons-widget {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 99;
    flex-direction: column;
    gap: 8px;
}

body.premium-home .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: .85rem;
    border: 0;
    color: #fff;
    box-shadow: 0 12px 25px rgba(15, 23, 42, .18);
}

body.premium-home .cta-btn-contact {
    background: linear-gradient(135deg, var(--navy), var(--navy2));
}

body.premium-home .cta-btn-subscribe {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
}

body.premium-home .premium-footer footer.bg-dark {
    background: var(--navy2) !important;
    color: rgba(255, 255, 255, .78);
}

body.premium-home .premium-footer footer a {
    color: rgba(255, 255, 255, .78);
}

body.premium-home .premium-footer footer a:hover {
    color: var(--gold);
}

body.premium-home .premium-footer footer h5,
body.premium-home .premium-footer footer h6,
body.premium-home .premium-footer footer strong {
    color: #fff;
}

/* ── Services single-row horizontal tiles ── */
body.premium-home .services-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    align-items: stretch;
}

body.premium-home .services-row::-webkit-scrollbar {
    display: none;
}

body.premium-home .service-tile {
    flex: 1 0 0;
    min-width: 120px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 20px;
    padding: 22px 16px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
    transition: all .22s ease;
}

body.premium-home .service-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .13);
    border-color: rgba(217, 154, 37, .3);
    color: var(--navy);
}

body.premium-home .service-tile-featured {
    background: linear-gradient(145deg, #fff, #fff7e9);
    border-color: rgba(217, 154, 37, .25);
}

body.premium-home .service-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #fff, #f3f6fb);
    color: var(--navy);
    font-size: 20px;
    box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px rgba(15, 23, 42, .08);
    flex-shrink: 0;
}

body.premium-home .service-tile h6 {
    font-weight: 900;
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
    color: var(--navy);
}

body.premium-home .service-tile p {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

body.premium-home .service-tile-link {
    font-size: 11px;
    font-weight: 900;
    color: var(--navy);
    white-space: nowrap;
}

body.premium-home .service-tile:hover .service-tile-link {
    color: var(--gold);
}

@media (max-width: 991px) {
    body.premium-home .glass-nav .navbar-collapse {
        background: rgba(255, 255, 255, .98) !important;
        border: 1px solid var(--line) !important;
        border-radius: 20px !important;
        margin-top: 14px !important;
        padding: 14px !important;
        box-shadow: 0 18px 40px rgba(15, 23, 42, .12) !important;
    }

    body.premium-home .glass-nav .navbar-collapse .nav-link,
    body.premium-home .glass-nav .navbar-collapse .dropdown-toggle {
        color: var(--navy) !important;
        border-bottom: 1px solid var(--line);
        padding: 12px 10px !important;
    }

    body.premium-home .glass-nav .navbar-collapse .nav-link:hover {
        background: rgba(217, 154, 37, .08) !important;
        color: var(--gold) !important;
    }

    body.premium-home .glass-nav .navbar-collapse .dropdown-menu {
        background: #fff !important;
        border: 1px solid var(--line) !important;
        margin-left: 0 !important;
        box-shadow: none !important;
    }

    body.premium-home .glass-nav .navbar-collapse .dropdown-item {
        color: var(--navy) !important;
    }

    body.premium-home .hero-row {
        padding: 0;
        min-height: auto;
    }

    body.premium-home .hero-section {
        min-height: auto;
        padding: 16px 0 12px !important;
    }

    body.premium-home .hero-content {
        padding-right: 0;
    }

    body.premium-home .hero-search-band {
        margin-top: 0;
        padding-bottom: 32px;
    }

    body.premium-home .hero-visual {
        margin-top: 40px;
        height: 430px;
    }

    body.premium-home .visit-card {
        left: 18px;
        bottom: 20px;
    }

    body.premium-home .cred-card {
        position: static;
        margin-top: 18px;
    }

    body.premium-home .split-panel,
    body.premium-home .cta-premium {
        grid-template-columns: 1fr;
    }

    body.premium-home .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.premium-home .stats-grid div {
        border-right: 0;
    }

    body.premium-home .floating-actions {
        display: none !important;
    }

    body.premium-home .cta-buttons-widget {
        display: flex;
    }

    body.premium-home .services-row {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    body.premium-home .service-tile {
        min-width: 150px;
        flex: 0 0 150px;
    }
}

@media (max-width: 575px) {
    body.premium-home .hero-section h1 {
        letter-spacing: -1.5px;
    }

    body.premium-home .hero-tags span,
    body.premium-home .hero-tags a {
        width: 100%;
    }

    body.premium-home .hero-visual {
        height: 340px;
        border-radius: 24px;
    }

    body.premium-home .hero-visual img {
        border-radius: 24px;
    }

    body.premium-home .visit-card {
        width: calc(100% - 36px);
    }

    body.premium-home .dark-panel,
    body.premium-home .light-panel,
    body.premium-home .cta-premium {
        padding: 26px;
        border-radius: 26px;
    }

    body.premium-home .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   MOBILE RESPONSIVE FIXES — Home Page (premium-home)
   Target: screens ≤ 767px (phones) and 768–991px (tablets)
   Rule: Desktop layout is UNTOUCHED. Only @media blocks below.
   ============================================================ */

/* --- Tablet (768px – 991px) -------------------------------- */
@media (max-width: 991px) {
    /* Hero h1 — remove the fixed 900px width */
    body.premium-home .hero-section h1 {
        width: 100% !important;
        font-size: clamp(20px, 5vw, 32px);
        letter-spacing: -0.5px;
    }

    /* cred-card — remove absolute positioning, make it inline */
    body.premium-home .cred-card {
        position: static !important;
        width: 100%;
        margin-top: 16px;
        justify-content: flex-start;
        gap: 12px;
        padding: 14px 18px;
    }

    /* Hero visual — let it shrink naturally */
    body.premium-home .hero-visual {
        height: auto;
        min-height: 220px;
    }

    body.premium-home .hero-visual img {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        border-radius: 24px;
        object-fit: cover;
    }

    /* visit-card — keep it visible but full-width */
    body.premium-home .visit-card {
        position: static;
        width: 100%;
        margin-top: 12px;
        border-radius: 14px;
    }

    /* split-panel — stack vertically (already set, reinforce) */
    body.premium-home .split-panel {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.premium-home .dark-panel,
    body.premium-home .light-panel {
        padding: 28px 22px;
        border-radius: 24px;
    }

    /* mini-feature icons — slightly smaller */
    body.premium-home .mini-feature i {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 18px;
    }

    /* Featured property cards — full width on tablet */
    body.premium-home .featured-property-card .property-image-wrap {
        height: 200px;
    }
}

/* --- Mobile phones (≤ 575px) ------------------------------- */
@media (max-width: 575px) {

    /* ── Fixed Topbar & Navbar on mobile ── */
    body.premium-home .topbar {
        position: fixed !important;
        top: 0 !important;
        z-index: 1031 !important;
        font-size: 10px !important;
    }

    body.premium-home .pmh-topbar-inner {
        height: 28px !important;
        gap: 8px !important;
    }

    body.premium-home .pmh-topbar-item {
        font-size: 10px !important;
        padding: 0 6px !important;
    }

    body.premium-home .pmh-sticky-nav {
        position: fixed !important;
        top: 28px !important;
        z-index: 1030 !important;
    }

    body.premium-home .hero-section {
        margin-top: 100px !important; /* Topbar (28px) + Navbar (~72px) */
    }

    /* ── Navbar ── */
    body.premium-home .brand-logo {
        height: 44px;
    }

    body.premium-home .brand-name {
        font-size: 13px;
    }

    body.premium-home .brand-copy small {
        font-size: 8px;
    }

    body.premium-home .glass-nav {
        padding: 4px 0;
    }

    /* ── Hero ── */
    body.premium-home .hero-section {
        padding: 12px 0 8px !important;
        overflow: hidden;
    }

    body.premium-home .hero-section h1 {
        font-size: clamp(18px, 6vw, 24px) !important;
        line-height: 1.15;
        width: 100% !important;
    }

    body.premium-home .hero-subtitle {
        font-size: 13px;
    }

    body.premium-home .trust-pill {
        font-size: 11px;
        padding: 4px 10px;
    }

    body.premium-home .hero-tags {
        gap: 5px;
        margin-top: 12px;
    }

    body.premium-home .hero-tags a,
    body.premium-home .hero-tags span {
        font-size: 12px;
        padding: 7px 10px;
        width: auto !important;   /* override the 100% set at ≤575px breakpoint */
        flex: 1 1 auto;
        min-width: 120px;
    }

    body.premium-home .cred-card {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 14px;
        /* width: 380px; */
    }

    body.premium-home .cred-card span {
        font-size: 11px;
    }

    /* col-lg-6 hero columns stack — hide the visual on very small phones to save space */
    body.premium-home .col-lg-6 .hero-visual {
        height: auto !important;
        min-height: 180px;
    }

    body.premium-home .hero-visual img {
        height: 200px;
        object-fit: cover;
    }

    /* ── Services tiles ── */
    body.premium-home .services-row {
        gap: 8px;
    }

    body.premium-home .service-tile {
        min-width: 130px;
        flex: 0 0 130px;
        padding: 16px 10px 14px;
    }

    body.premium-home .service-tile-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    body.premium-home .service-tile h6 {
        font-size: 11px;
    }

    body.premium-home .service-tile p {
        display: none; /* hide description on tiny screens to save space */
    }

    body.premium-home .service-tile-link {
        font-size: 10px;
    }

    /* ── Split panel (Why Choose Us) ── */
    body.premium-home .dark-panel,
    body.premium-home .light-panel {
        padding: 20px 16px;
        border-radius: 20px;
    }

    body.premium-home .dark-panel h2 {
        font-size: 1.3rem;
    }

    body.premium-home .mini-feature {
        gap: 12px;
    }

    body.premium-home .mini-feature i {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        font-size: 16px;
        border-radius: 14px;
    }

    body.premium-home .mini-feature h6 {
        font-size: 13px;
    }

    body.premium-home .mini-feature p {
        font-size: 12px;
    }

    /* ── Featured property cards ── */
    body.premium-home .featured-property-card .property-image-wrap {
        height: 180px;
    }

    body.premium-home .featured-property-card .property-body {
        padding: 16px;
    }

    body.premium-home .featured-property-card h6 {
        font-size: 13px;
    }

    body.premium-home .featured-property-card .price-text {
        font-size: 15px;
    }

    /* ── View-more buttons — stack vertically ── */
    body.premium-home .featured-view-more {
        flex-direction: column;
        align-items: stretch;
    }

    body.premium-home .featured-view-more .btn {
        width: 100%;
        text-align: center;
    }

    /* ── CTA buttons widget — tuck into corner, smaller ── */
    body.premium-home .cta-buttons-widget {
        bottom: 12px !important;
        right: 10px;
        gap: 6px;
    }

    body.premium-home .cta-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 12px;
        min-width: 0;
    }

    /* ── Footer ── */
    body.premium-home .premium-footer .newsletter-section .row {
        flex-direction: column;
    }

    body.premium-home .premium-footer .newsletter-section .input-group {
        flex-direction: column;
        gap: 8px;
    }

    body.premium-home .premium-footer .newsletter-section .input-group .form-control,
    body.premium-home .premium-footer .newsletter-section .input-group .btn {
        border-radius: 8px !important;
        width: 100%;
    }
}
