/* BASE */
html { font-size: 15px; position: relative; min-height: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body.hb-body {
    margin: 0; background: #f4f1ec; color: #2b2b2b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
}

/* TOPBAR */
.hb-topbar {
    background: #1c2b3a; border-bottom: 3px solid #c8a96e;
    position: sticky; top: 0; z-index: 1030; height: 56px;
    display: flex; align-items: center;
}
.hb-topbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 1.5rem; }
.hb-brand { font-size: 1.15rem; font-weight: 700; color: #f5ead8; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }
.hb-brand:hover { color: #c8a96e; }
.hb-topbar-right .navbar-nav { flex-direction: row; gap: 0.25rem; align-items: center; }
.hb-topbar-right .nav-link, .hb-topbar-right .btn-link { color: #c8d6e0 !important; font-size: 0.88rem; padding: 0.25rem 0.6rem; }
.hb-topbar-right .nav-link:hover, .hb-topbar-right .btn-link:hover { color: #f5ead8 !important; }

/* SHELL / SIDEBAR */
.hb-shell { display: flex; min-height: calc(100vh - 56px); }
.hb-shell--full { display: block; }
.hb-sidebar { width: 210px; flex-shrink: 0; background: #243447; padding: 1.25rem 0.75rem; border-right: 1px solid #1a2737; }
.hb-nav { display: flex; flex-direction: column; gap: 2px; }
.hb-nav-link { display: block; padding: 0.55rem 0.85rem; color: #aec1cf; text-decoration: none; font-size: 0.9rem; border-radius: 4px; border-left: 3px solid transparent; transition: background 0.15s, color 0.15s; }
.hb-nav-link:hover { background: rgba(255,255,255,0.07); color: #f5ead8; }
.hb-nav-link.active { background: rgba(200,169,110,0.15); border-left-color: #c8a96e; color: #f5ead8; font-weight: 600; }
.hb-nav-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 0.75rem 0.5rem; }
.hb-nav-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6b8799; padding: 0 0.85rem 0.35rem; font-weight: 600; }

/* CONTENT AREA */
.hb-content { flex: 1; min-width: 0; background: #f4f1ec; }
.hb-content--landing { background: #fff; }
.hb-content-inner { padding: 1.75rem 2rem; max-width: 100%; }

/* PAGE HEADER */
.hb-page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 2px solid #d9d3c7; }
.hb-page-title { margin: 0; font-size: 1.5rem; font-weight: 700; color: #1c2b3a; letter-spacing: -0.01em; }
.hb-page-subtitle { color: #7a7163; font-size: 0.9rem; margin-top: 0.2rem; }
.hb-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* MODULE SECTIONS */
.hb-module-section { margin-bottom: 2.5rem; }
.hb-module-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #d9d3c7; }
.hb-module-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #1c2b3a; background: #e8e3db; padding: 0.25em 0.7em; border-radius: 3px; }
.hb-module-label--pms { color: #4a3520; background: #f5e8d0; }

/* RESTAURANT PANELS */
.hb-restaurant-panel { background: #fff; border: 1px solid #d9d3c7; border-top: 3px solid #1c2b3a; border-radius: 3px; margin-bottom: 1.25rem; }
.hb-restaurant-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.25rem; border-bottom: 1px solid #ede8e1; flex-wrap: wrap; gap: 0.5rem; }
.hb-restaurant-name { font-size: 1.05rem; font-weight: 700; color: #1c2b3a; margin: 0; }
.hb-restaurant-meta { font-size: 0.82rem; color: #7a7163; margin-top: 0.1rem; }
.hb-restaurant-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* LOCATION TABLE */
.hb-location-table { width: 100%; border-collapse: collapse; }
.hb-location-table thead th { background: #f7f4ef; color: #5a5348; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.5rem 1rem; border-bottom: 1px solid #ede8e1; white-space: nowrap; }
.hb-location-table tbody td { padding: 0.7rem 1rem; border-bottom: 1px solid #f0ece6; font-size: 0.9rem; vertical-align: middle; color: #2b2b2b; }
.hb-location-table tbody tr:last-child td { border-bottom: none; }
.hb-location-table tbody tr:hover td { background: #faf8f5; }
.hb-location-name { font-weight: 600; color: #1c2b3a; }
.hb-location-city { color: #7a7163; font-size: 0.82rem; }
.hb-empty-panel { padding: 1.25rem; color: #9a9185; font-size: 0.9rem; }

/* ONBOARDING GRID */
.hb-onboarding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 820px; margin-top: 1rem; }
.hb-onboard-card { background: #fff; border: 1px solid #d9d3c7; border-top: 3px solid #1c2b3a; border-radius: 3px; padding: 1.75rem; }
.hb-onboard-card--pms { border-top-color: #c8a96e; opacity: 0.75; }
.hb-onboard-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.hb-onboard-card h3 { font-size: 1.1rem; font-weight: 700; color: #1c2b3a; margin-bottom: 0.5rem; }
.hb-onboard-card p { font-size: 0.9rem; color: #7a7163; margin-bottom: 1rem; }

/* BADGES */
.hb-badge-active { display: inline-block; padding: 0.2em 0.55em; font-size: 0.75rem; font-weight: 600; border-radius: 3px; background: #d4edda; color: #1e5735; }
.hb-badge-inactive { display: inline-block; padding: 0.2em 0.55em; font-size: 0.75rem; font-weight: 600; border-radius: 3px; background: #f0ece6; color: #7a7163; }

/* GENERAL CARDS */
.hb-card { background: #fff; border: 1px solid #d9d3c7; border-radius: 3px; padding: 1.25rem; }
.hb-muted { color: #7a7163; }

/* DATA TABLES */
.table { background: #fff; }
.table thead th { background: #f7f4ef; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #5a5348; border-bottom: 2px solid #d9d3c7 !important; white-space: nowrap; }
.table td, .table th { vertical-align: middle; padding: 0.6rem 0.85rem; }
.table-striped tbody tr:nth-of-type(odd) td { background: #faf8f5; }
.table-bordered { border-color: #d9d3c7 !important; }
.table-bordered td, .table-bordered th { border-color: #e8e3db !important; }

/* BUTTONS */
.btn { border-radius: 3px; font-size: 0.875rem; font-weight: 500; padding: 0.35rem 0.85rem; }
.btn-primary { background-color: #1c2b3a; border-color: #1c2b3a; color: #fff; }
.btn-primary:hover { background-color: #253749; border-color: #253749; color: #fff; }
.btn-outline-primary { color: #1c2b3a; border-color: #1c2b3a; }
.btn-outline-primary:hover { background-color: #1c2b3a; border-color: #1c2b3a; color: #fff; }
.btn-sm { font-size: 0.8rem; padding: 0.25rem 0.65rem; }
.btn-info { background-color: #3d7ea6; border-color: #3d7ea6; color: #fff; }
.btn-info:hover { background-color: #326787; border-color: #326787; color: #fff; }
.btn-warning { background-color: #b07d2c; border-color: #b07d2c; color: #fff; }
.btn-warning:hover { background-color: #8f6422; border-color: #8f6422; color: #fff; }
.btn-secondary { background-color: #6c7a87; border-color: #6c7a87; color: #fff; }
.btn-success { background-color: #3a7d5a; border-color: #3a7d5a; color: #fff; }
.btn:focus, .btn:active:focus, .form-control:focus, .form-select:focus { box-shadow: 0 0 0 0.15rem rgba(28,43,58,0.25); }

/* FORMS */
.form-control, .form-select { border-radius: 3px; border-color: #c8c0b5; font-size: 0.9rem; }
.form-control:focus, .form-select:focus { border-color: #1c2b3a; }
.form-label { font-weight: 500; font-size: 0.88rem; color: #3a3530; }
.alert { border-radius: 3px; font-size: 0.9rem; }

/* LANDING — HERO */
.lp-hero { background: #1c2b3a; padding: 5rem 2rem 4.5rem; text-align: center; border-bottom: 3px solid #c8a96e; }
.lp-hero-inner { max-width: 700px; margin: 0 auto; }
.lp-hero-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #c8a96e; border: 1px solid #c8a96e; padding: 0.3em 0.9em; border-radius: 3px; margin-bottom: 1.5rem; }
.lp-hero-title { font-size: 2.6rem; font-weight: 800; color: #f5ead8; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.02em; }
.lp-hero-sub { font-size: 1.05rem; color: #a8bfcc; max-width: 580px; margin: 0 auto 2rem; line-height: 1.65; }
.lp-hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.lp-btn-primary { background: #c8a96e; border: 2px solid #c8a96e; color: #1c2b3a; font-weight: 700; padding: 0.6rem 1.6rem; font-size: 0.95rem; border-radius: 3px; text-decoration: none; display: inline-block; }
.lp-btn-primary:hover { background: #b5924f; border-color: #b5924f; color: #1c2b3a; }
.lp-btn-outline { background: transparent; border: 2px solid #c8d6e0; color: #c8d6e0; font-weight: 600; padding: 0.6rem 1.6rem; font-size: 0.95rem; border-radius: 3px; text-decoration: none; display: inline-block; }
.lp-btn-outline:hover { border-color: #f5ead8; color: #f5ead8; }

/* LANDING — MODULE PANELS */
.lp-modules { display: grid; grid-template-columns: 1fr 2px 1fr; max-width: 1100px; margin: 0 auto; }
.lp-module { padding: 3.5rem 3rem; }
.lp-module--pms { background: #faf8f5; }
.lp-divider-v { background: #d9d3c7; width: 1px; margin: 2rem 0; }
.lp-module-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #1c2b3a; background: #e2ddd7; padding: 0.25em 0.75em; border-radius: 3px; margin-bottom: 1rem; }
.lp-module-tag--pms { color: #5a3e1b; background: #f5e6cc; }
.lp-module-title { font-size: 1.55rem; font-weight: 800; color: #1c2b3a; margin-bottom: 0.85rem; line-height: 1.25; }
.lp-module-desc { font-size: 0.95rem; color: #5a5348; line-height: 1.7; margin-bottom: 2rem; }

/* LANDING — FEATURE LIST */
.lp-feature-list { display: flex; flex-direction: column; gap: 1.25rem; }
.lp-feature { display: flex; gap: 0.85rem; align-items: flex-start; }
.lp-feature-icon { color: #1c2b3a; font-size: 0.5rem; margin-top: 0.6rem; flex-shrink: 0; line-height: 1; }
.lp-feature-icon--pms { color: #c8a96e; }
.lp-feature strong { display: block; font-size: 0.92rem; font-weight: 700; color: #1c2b3a; margin-bottom: 0.2rem; }
.lp-feature p { font-size: 0.87rem; color: #6b5f54; margin: 0; line-height: 1.55; }

/* LANDING — MISC */
.lp-coming-soon { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #8f6422; background: #fdecc8; border: 1px solid #e6c87a; padding: 0.3em 0.75em; border-radius: 3px; margin-top: 1.5rem; }
.lp-footer-cta { text-align: center; padding: 3rem 2rem; background: #f4f1ec; border-top: 1px solid #d9d3c7; }
.lp-footer-cta p { font-size: 1.1rem; font-weight: 600; color: #1c2b3a; margin-bottom: 1rem; }

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .hb-shell { flex-direction: column; }
    .hb-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #1a2737; padding: 0.75rem; }
    .hb-nav { flex-direction: row; flex-wrap: wrap; }
    .hb-nav-divider, .hb-nav-label { display: none; }
    .hb-content-inner { padding: 1.25rem; }
    .hb-onboarding-grid { grid-template-columns: 1fr; }
    .lp-hero-title { font-size: 1.9rem; }
    .lp-modules { grid-template-columns: 1fr; }
    .lp-divider-v { display: none; }
    .lp-module { padding: 2.5rem 1.5rem; }
}

/* FILTER BAR (location/scope switcher) */
.hb-filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.hb-filter-group { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.hb-filter-label { font-size: 0.8rem; font-weight: 600; color: #7a7163; text-transform: uppercase; letter-spacing: 0.05em; margin-right: 0.25rem; }
.hb-filter-chip {
    display: inline-block; padding: 0.3em 0.85em; font-size: 0.82rem; font-weight: 500;
    border: 1px solid #c8c0b5; border-radius: 3px; color: #5a5348;
    text-decoration: none; background: #fff; transition: background 0.12s, color 0.12s;
}
.hb-filter-chip:hover { background: #f4f1ec; color: #2b2b2b; }
.hb-filter-chip.active { background: #1c2b3a; border-color: #1c2b3a; color: #fff; font-weight: 600; }

/* RESERVATION STATUS BADGES */
.hb-badge-pending    { display:inline-block; padding:.2em .55em; font-size:.75rem; font-weight:600; border-radius:3px; background:#fff3cd; color:#856404; }
.hb-badge-confirmed  { display:inline-block; padding:.2em .55em; font-size:.75rem; font-weight:600; border-radius:3px; background:#d4edda; color:#1e5735; }
.hb-badge-seated     { display:inline-block; padding:.2em .55em; font-size:.75rem; font-weight:600; border-radius:3px; background:#cce5ff; color:#004085; }
.hb-badge-completed  { display:inline-block; padding:.2em .55em; font-size:.75rem; font-weight:600; border-radius:3px; background:#e8e3db; color:#5a5348; }
.hb-badge-cancelled  { display:inline-block; padding:.2em .55em; font-size:.75rem; font-weight:600; border-radius:3px; background:#f8d7da; color:#721c24; }
.hb-badge-noshow     { display:inline-block; padding:.2em .55em; font-size:.75rem; font-weight:600; border-radius:3px; background:#f0ece6; color:#7a7163; }

/* PROPERTY CARDS */
.hb-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.hb-property-card {
    background: #fff;
    border: 1px solid #d9d3c7;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.hb-property-card:hover {
    box-shadow: 0 6px 24px rgba(28,43,58,0.13);
    transform: translateY(-2px);
}
.hb-property-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #e8e3db;
    flex-shrink: 0;
}
.hb-property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.hb-property-card:hover .hb-property-card-img img {
    transform: scale(1.04);
}
.hb-property-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9185;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #ede8e1 0%, #ddd7ce 100%);
}
.hb-prop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.25em 0.65em;
    border-radius: 3px;
    line-height: 1;
}
.hb-prop-badge--live     { background: #d4edda; color: #1e5735; }
.hb-prop-badge--draft    { background: #fff3cd; color: #856404; }
.hb-prop-badge--inactive { background: #f8d7da; color: #721c24; }
.hb-property-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hb-property-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1c2b3a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hb-property-card-meta {
    font-size: 0.82rem;
    color: #7a7163;
}
.hb-property-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.1rem;
}
.hb-property-card-stats span {
    font-size: 0.78rem;
    background: #f4f1ec;
    border: 1px solid #e2ddd7;
    border-radius: 3px;
    padding: 0.15em 0.55em;
    color: #4a4540;
    font-weight: 500;
}
.hb-property-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0ece6;
}

/* BOOKING CALENDAR */
.hb-bookings-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.75rem;
    align-items: start;
    width: 100%;
}
.hb-bookings-table-wrap { min-width: 0; }
/* Fixed-layout table so columns never overflow */
.hb-bookings-table-wrap .table { table-layout: fixed; width: 100%; }
.hb-bookings-table-wrap .table th,
.hb-bookings-table-wrap .table td {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hb-bookings-table-wrap .table th:nth-child(1),
.hb-bookings-table-wrap .table td:nth-child(1) { width: 100px; } /* Code */
.hb-bookings-table-wrap .table th:nth-child(2),
.hb-bookings-table-wrap .table td:nth-child(2) { width: auto;   } /* Property — fills remaining */
.hb-bookings-table-wrap .table th:nth-child(3),
.hb-bookings-table-wrap .table td:nth-child(3) { width: 130px; } /* Guest */
.hb-bookings-table-wrap .table th:nth-child(4),
.hb-bookings-table-wrap .table td:nth-child(4) { width: 100px; } /* Check-in */
.hb-bookings-table-wrap .table th:nth-child(5),
.hb-bookings-table-wrap .table td:nth-child(5) { width: 100px; } /* Check-out */
.hb-bookings-table-wrap .table th:nth-child(6),
.hb-bookings-table-wrap .table td:nth-child(6) { width: 52px;  } /* Nights */
.hb-bookings-table-wrap .table th:nth-child(7),
.hb-bookings-table-wrap .table td:nth-child(7) { width: 52px;  } /* Guests */
.hb-bookings-table-wrap .table th:nth-child(8),
.hb-bookings-table-wrap .table td:nth-child(8) { width: 110px; } /* Total */
.hb-bookings-table-wrap .table th:nth-child(9),
.hb-bookings-table-wrap .table td:nth-child(9) { width: 90px;  } /* Source */
.hb-bookings-table-wrap .table th:nth-child(10),
.hb-bookings-table-wrap .table td:nth-child(10){ width: 92px;  } /* Status */
.hb-bookings-table-wrap .table th:nth-child(11),
.hb-bookings-table-wrap .table td:nth-child(11){ width: 60px;  } /* Actions */

.hb-booking-calendar-wrap {
    background: #fff;
    border: 1px solid #d9d3c7;
    border-radius: 8px;
    padding: 1.25rem 1.25rem 1rem;
    position: sticky;
    top: 72px;
}
.hb-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.hb-cal-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1c2b3a;
}
.hb-cal-nav {
    background: none;
    border: 1px solid #d9d3c7;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5a5348;
    font-size: 0.9rem;
    transition: background 0.12s;
}
.hb-cal-nav:hover { background: #f4f1ec; }
.hb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.hb-cal-dow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9a9185;
    text-align: center;
    padding: 0.3rem 0;
}
.hb-cal-day {
    font-size: 0.85rem;
    text-align: center;
    padding: 0.45rem 0;
    border-radius: 4px;
    cursor: default;
    position: relative;
    color: #2b2b2b;
    line-height: 1;
}
.hb-cal-day--empty { }
.hb-cal-day--today {
    font-weight: 700;
    color: #1c2b3a;
    outline: 2px solid #1c2b3a;
    outline-offset: -2px;
}
.hb-cal-day--booked {
    background: #1c2b3a;
    color: #fff !important;
    font-weight: 600;
    border-radius: 0;
}
.hb-cal-day--checkin  { border-radius: 4px 0 0 4px; }
.hb-cal-day--checkout { border-radius: 0 4px 4px 0; }
.hb-cal-day--booked.hb-cal-day--checkin.hb-cal-day--checkout { border-radius: 4px; }
.hb-cal-legend {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f0ece6;
    flex-wrap: wrap;
}
.hb-cal-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #7a7163;
}
.hb-cal-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #1c2b3a;
    flex-shrink: 0;
}
@media (max-width: 1100px) {
    .hb-bookings-layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 900px) {
    .hb-bookings-layout { grid-template-columns: 1fr; }
    .hb-booking-calendar-wrap { position: static; }
    .hb-bookings-table-wrap { overflow-x: auto; }
}

/* PRICING SECTION */
.lp-pricing { background: #f4f1ec; padding: 4rem 2rem; border-top: 1px solid #d9d3c7; }
.lp-pricing-inner { max-width: 1060px; margin: 0 auto; }
.lp-pricing-header { text-align: center; margin-bottom: 2.5rem; }
.lp-pricing-title { font-size: 1.75rem; font-weight: 800; color: #1c2b3a; margin-bottom: .5rem; }
.lp-pricing-sub { color: #7a7163; font-size: .95rem; max-width: 500px; margin: 0 auto 1.75rem; }

/* Toggle */
.lp-billing-toggle {
    display: inline-flex; align-items: center; gap: .75rem;
    background: #fff; border: 1px solid #d9d3c7; border-radius: 50px;
    padding: .35rem .35rem .35rem 1rem; font-size: .88rem; color: #5a5348;
}
.lp-billing-toggle label { cursor: pointer; font-weight: 500; }
.lp-toggle-switch {
    position: relative; display: inline-block; width: 44px; height: 24px;
}
.lp-toggle-switch input { opacity: 0; width: 0; height: 0; }
.lp-toggle-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: #d9d3c7; border-radius: 50px; transition: background .2s;
}
.lp-toggle-slider:before {
    content: ""; position: absolute;
    width: 18px; height: 18px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.lp-toggle-switch input:checked + .lp-toggle-slider { background: #1c2b3a; }
.lp-toggle-switch input:checked + .lp-toggle-slider:before { transform: translateX(20px); }
.lp-billing-save {
    background: #c8a96e; color: #1c2b3a; font-size: .72rem; font-weight: 700;
    padding: .2em .65em; border-radius: 50px; letter-spacing: .03em;
}

/* Cards grid */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.lp-pricing-card {
    background: #fff;
    border: 1px solid #d9d3c7;
    border-radius: 8px;
    padding: 2rem 1.75rem;
    position: relative;
    transition: box-shadow .2s;
}
.lp-pricing-card:hover { box-shadow: 0 8px 30px rgba(28,43,58,.1); }
.lp-pricing-card--featured {
    border-color: #1c2b3a;
    border-width: 2px;
    box-shadow: 0 8px 30px rgba(28,43,58,.12);
}
.lp-pricing-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: #1c2b3a; color: #c8a96e; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    padding: .3em 1em; border-radius: 50px; white-space: nowrap;
}
.lp-pricing-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #7a7163; margin-bottom: .5rem; }
.lp-pricing-tag--bundle { color: #c8a96e; }
.lp-pricing-name { font-size: 1.2rem; font-weight: 800; color: #1c2b3a; margin-bottom: 1rem; }
.lp-price-wrap { margin-bottom: 1.5rem; }
.lp-price {
    font-size: 2.6rem; font-weight: 800; color: #1c2b3a;
    letter-spacing: -.02em; line-height: 1;
}
.lp-price sup { font-size: 1.1rem; font-weight: 700; vertical-align: super; }
.lp-price-period { font-size: .85rem; color: #9a9185; margin-top: .3rem; }
.lp-price-annual-note {
    font-size: .78rem; color: #c8a96e; font-weight: 600; margin-top: .25rem;
    min-height: 1.2em;
}
.lp-pricing-divider { border: none; border-top: 1px solid #f0ece6; margin: 1.25rem 0; }
.lp-pricing-features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .65rem; }
.lp-pricing-features li { font-size: .88rem; color: #4a4540; display: flex; gap: .6rem; align-items: flex-start; }
.lp-pricing-features li::before { content: "✓"; color: #3a7d5a; font-weight: 700; flex-shrink: 0; margin-top: .05rem; }
.lp-pricing-cta { display: block; text-align: center; padding: .6rem 1rem;
    border-radius: 4px; font-weight: 600; font-size: .9rem; text-decoration: none;
    background: #1c2b3a; color: #fff; transition: background .15s; }
.lp-pricing-cta:hover { background: #253749; color: #fff; }
.lp-pricing-cta--outline {
    background: transparent; border: 2px solid #1c2b3a; color: #1c2b3a;
}
.lp-pricing-cta--outline:hover { background: #1c2b3a; color: #fff; }

/* Free website banner */
.lp-website-offer {
    margin-top: 2.5rem;
    background: #1c2b3a;
    border-radius: 8px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.lp-website-offer-icon { font-size: 2rem; flex-shrink: 0; }
.lp-website-offer-text { flex: 1; min-width: 220px; }
.lp-website-offer-text strong {
    display: block; font-size: 1rem; font-weight: 700;
    color: #f5ead8; margin-bottom: .3rem;
}
.lp-website-offer-text p { margin: 0; font-size: .875rem; color: #a8bfcc; line-height: 1.6; }
.lp-website-offer-cta {
    background: #c8a96e; color: #1c2b3a; font-weight: 700; font-size: .875rem;
    padding: .55rem 1.35rem; border-radius: 4px; text-decoration: none;
    white-space: nowrap; flex-shrink: 0; transition: background .15s;
}
.lp-website-offer-cta:hover { background: #b5924f; color: #1c2b3a; }

@media (max-width: 820px) {
    .lp-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* FOOTER */
.hb-footer { background: #1c2b3a; color: #a8bfcc; border-top: 3px solid #c8a96e; }
.hb-footer-inner {
    max-width: 1100px; margin: 0 auto;
    padding: 3.5rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.hb-footer-logo {
    font-size: 1.15rem; font-weight: 800; color: #f5ead8;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem;
}
.hb-footer-tagline { font-size: .85rem; color: #7a99ae; line-height: 1.65; margin: 0 0 1.25rem; max-width: 240px; }
.hb-footer-social { display: flex; gap: .5rem; }
.hb-footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 4px;
    border: 1px solid #2e4459; color: #a8bfcc;
    font-size: .75rem; font-weight: 700; text-decoration: none;
    transition: border-color .15s, color .15s;
}
.hb-footer-social a:hover { border-color: #c8a96e; color: #c8a96e; }
.hb-footer-col { display: flex; flex-direction: column; gap: .5rem; }
.hb-footer-col-title {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: #f5ead8; margin-bottom: .35rem;
}
.hb-footer-col a {
    font-size: .86rem; color: #7a99ae; text-decoration: none;
    transition: color .15s;
}
.hb-footer-col a:hover { color: #f5ead8; }
.hb-footer-bottom {
    border-top: 1px solid #243f57;
    padding: 1.25rem 2rem;
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: .75rem;
    font-size: .8rem; color: #4d6d82;
}
.hb-footer-bottom-links { display: flex; gap: 1.25rem; }
.hb-footer-bottom-links a { color: #4d6d82; text-decoration: none; }
.hb-footer-bottom-links a:hover { color: #a8bfcc; }

@media (max-width: 820px) {
    .hb-footer-inner { grid-template-columns: 1fr 1fr; }
    .hb-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
    .hb-footer-inner { grid-template-columns: 1fr; }
}

/* SUPER ADMIN */
.hb-admin-badge {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: #1c2b3a; background: #c8a96e; padding: 0.2em 0.65em; border-radius: 3px;
    margin-left: 0.75rem;
}
.hb-sidebar--admin { background: #1a1a2e; border-right-color: #c8a96e; }
.hb-sidebar--admin .hb-nav-link { color: #b0aec8; }
.hb-sidebar--admin .hb-nav-link:hover { background: rgba(200,169,110,0.1); color: #f5ead8; }
.hb-sidebar--admin .hb-nav-link.active { background: rgba(200,169,110,0.2); border-left-color: #c8a96e; color: #f5ead8; }
.hb-sidebar--admin .hb-nav-label { color: #c8a96e; }
.hb-sidebar--admin .hb-nav-divider { background: rgba(200,169,110,0.2); }

/* LANGUAGE SWITCHER */
.lp-lang-switcher {
    display: flex; justify-content: flex-end;
    padding: .75rem 2rem .25rem;
    margin: 0 auto;
    background: #1c2b3a;
}
.lp-lang-dropdown { position: relative; display: inline-block; }

.lp-lang-trigger {
    display: inline-flex; align-items: center; gap: .4rem;
    background: transparent; border: 1px solid rgba(200,169,110,.4); border-radius: 6px;
    color: #a8bfcc; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
    padding: .28rem .65rem; cursor: pointer; transition: all .15s;
    white-space: nowrap;
}
.lp-lang-trigger:hover,
.lp-lang-dropdown--open .lp-lang-trigger {
    border-color: #c8a96e; color: #c8a96e; background: rgba(200,169,110,.08);
}
.lp-lang-flag { font-size: 1rem; line-height: 1; width: 1.2em; height: 1em; display: inline-block; vertical-align: middle; }
.lp-lang-code { font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.lp-lang-caret {
    width: 10px; height: 6px; flex-shrink: 0; transition: transform .18s;
}
.lp-lang-dropdown--open .lp-lang-caret { transform: rotate(180deg); }

.lp-lang-menu {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 999;
    background: #1c2b3a; border: 1px solid rgba(200,169,110,.25); border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.35); min-width: 170px; overflow: hidden;
    padding: 4px 0;
}
.lp-lang-menu form { display: block; margin: 0; padding: 0; }
.lp-lang-option {
    display: flex; align-items: center; gap: .55rem; width: 100%;
    background: none; border: none; padding: .45rem .85rem;
    cursor: pointer; text-align: left; transition: background .12s; color: #c9dce6;
}
.lp-lang-option:hover { background: rgba(200,169,110,.1); }
.lp-lang-option--active { background: rgba(200,169,110,.15); color: #c8a96e; }
.lp-lang-option-name { font-size: .82rem; font-weight: 500; flex: 1; }
.lp-lang-option-code { font-size: .68rem; font-weight: 700; color: rgba(168,191,204,.5); letter-spacing: .06em; }

/* LOGIN PAGE */
.hb-login-wrap {
    min-height: calc(100vh - 56px);
    display: flex; align-items: center; justify-content: center;
    padding: 2rem 1rem;
    background: #faf8f5;
}
.hb-login-card {
    width: 100%; max-width: 420px;
    background: #fff;
    border: 1px solid #e8e0d6;
    border-radius: 12px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 4px 24px rgba(60,45,20,.07);
}
.hb-login-brand {
    text-align: center;
    margin-bottom: 2rem;
}
.hb-login-logo {
    display: inline-block;
    font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em;
    color: #1c2b3a;
    font-family: 'Georgia', serif;
}
.hb-login-tagline {
    font-size: .78rem; color: #9e9589; margin: .25rem 0 0;
    letter-spacing: .04em; text-transform: uppercase;
}
.hb-login-error {
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: 6px; color: #b91c1c;
    font-size: .85rem; padding: .65rem .9rem;
    margin-bottom: 1.25rem;
}
.hb-login-error:empty { display: none; }
.hb-login-field {
    display: flex; flex-direction: column; gap: .35rem;
    margin-bottom: 1.1rem;
}
.hb-login-field label {
    font-size: .82rem; font-weight: 600; color: #4a4035;
    letter-spacing: .02em;
}
.hb-login-input {
    width: 100%; padding: .65rem .85rem;
    border: 1px solid #d9cfc4; border-radius: 7px;
    font-size: .95rem; color: #1c2b3a;
    background: #fdfcfb;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    box-sizing: border-box;
}
.hb-login-input:focus {
    border-color: #c8a96e;
    box-shadow: 0 0 0 3px rgba(200,169,110,.15);
    background: #fff;
}
.hb-login-field-error {
    font-size: .78rem; color: #b91c1c;
}
.hb-login-remember {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.4rem; gap: .5rem;
}
.hb-login-remember label {
    display: flex; align-items: center; gap: .45rem;
    font-size: .84rem; color: #6b6158; cursor: pointer;
}
.hb-login-checkbox {
    width: 15px; height: 15px; cursor: pointer;
    accent-color: #c8a96e;
}
.hb-login-forgot {
    font-size: .82rem; color: #c8a96e; text-decoration: none; white-space: nowrap;
}
.hb-login-forgot:hover { text-decoration: underline; }
.hb-login-btn {
    width: 100%; padding: .75rem;
    background: #c8a96e; color: #fff;
    border: none; border-radius: 7px;
    font-size: .97rem; font-weight: 700; letter-spacing: .02em;
    cursor: pointer; transition: background .15s, transform .1s;
}
.hb-login-btn:hover { background: #b8966a; }
.hb-login-btn:active { transform: scale(.99); }
.hb-login-back {
    text-align: center; margin-top: 1.4rem;
}
.hb-login-back a {
    font-size: .82rem; color: #9e9589; text-decoration: none;
}
.hb-login-back a:hover { color: #c8a96e; }

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE  (max 600px unless noted)
   ═══════════════════════════════════════════════ */

/* Topbar */
@media (max-width: 480px) {
    .hb-topbar-inner { padding: 0 .85rem; }
    .hb-topbar-right .nav-link,
    .hb-topbar-right .btn-link { font-size: .8rem; padding: .2rem .4rem; }
}

/* Language switcher */
@media (max-width: 600px) {
    .lp-lang-switcher {
        padding: .5rem 1rem .1rem;
        justify-content: center;
        gap: .3rem;
    }
}

/* Hero */
@media (max-width: 991.98px) {
    .lp-hero { padding: 3.5rem 1.5rem 3rem; }
}
@media (max-width: 600px) {
    .lp-hero { padding: 2.75rem 1.1rem 2.5rem; }
    .lp-hero-title { font-size: 1.55rem; letter-spacing: -.01em; }
    .lp-hero-sub { font-size: .92rem; }
    .lp-hero-cta { flex-direction: column; align-items: stretch; gap: .5rem; }
    .lp-btn-primary,
    .lp-btn-outline { text-align: center; }
    .lp-hero-badge { font-size: .68rem; }
}

/* Module panels */
@media (max-width: 600px) {
    .lp-module { padding: 2rem 1.1rem; }
    .lp-module-title { font-size: 1.25rem; }
    .lp-module-desc { font-size: .9rem; }
    .lp-feature strong { font-size: .88rem; }
    .lp-feature p { font-size: .84rem; }
}

/* Pricing section */
@media (max-width: 820px) {
    .lp-pricing { padding: 3rem 1.25rem; }
    .lp-pricing-grid {
        max-width: 100%;          /* was 420px — too narrow on phones */
        grid-template-columns: 1fr;
    }
    .lp-pricing-title { font-size: 1.45rem; }
    .lp-pricing-sub { font-size: .9rem; }
}
@media (max-width: 600px) {
    .lp-pricing { padding: 2.25rem .85rem; }
    .lp-pricing-card { padding: 1.65rem 1.1rem; }
    .lp-pricing-card--featured { margin-top: .75rem; }
}

/* Website offer banner */
@media (max-width: 700px) {
    .lp-website-offer {
        flex-direction: column;
        align-items: flex-start;
        gap: .85rem;
        padding: 1.5rem 1.25rem;
    }
    .lp-website-offer-cta {
        width: 100%;
        text-align: center;
        display: block;
    }
}
@media (max-width: 480px) {
    .lp-website-offer { align-items: center; text-align: center; }
    .lp-website-offer-text { min-width: 0; }
}

/* Footer CTA */
@media (max-width: 600px) {
    .lp-footer-cta { padding: 2.25rem 1.1rem; }
    .lp-footer-cta p { font-size: 1rem; }
}

/* Login card */
@media (max-width: 480px) {
    .hb-login-wrap { padding: 1.25rem .75rem; align-items: flex-start; padding-top: 1.5rem; }
    .hb-login-card { padding: 1.85rem 1.25rem; border-radius: 8px; }
    .hb-login-logo { font-size: 1.4rem; }
    .hb-login-tagline { font-size: .72rem; }
}

/* Trial / contact form */
@media (max-width: 600px) {
    .hb-trial-form-wrap { padding: 0 !important; margin: 1.5rem auto !important; }
    .hb-trial-card { padding: 1.35rem 1rem !important; }
}
