body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #f5f7fb;
    color: #111827;
}

* {
    box-sizing: border-box;
}

button,
input,
select,
textarea {
    font: inherit;
}

.app {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 280px;
    min-height: 100vh;
    padding: 24px 18px;
    color: #ffffff;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.035) 75%, rgba(255,255,255,0.035)),
        linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.035) 75%, rgba(255,255,255,0.035)),
        linear-gradient(to bottom, rgba(20,20,20,0.92), rgba(0,0,0,0.96));
    background-size: 18px 18px, 18px 18px, 100% 100%;
    background-position: 0 0, 9px 9px, 0 0;
    border-right: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.03);
}

.sidebar h2 {
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 24px 0;
}

.sidebar button {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s ease;
    font-weight: 600;
}

.sidebar button:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 26px;
    gap: 12px;
}

.sidebar-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.sidebar-brand-text h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.sidebar-brand-text p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.78);
}

.sidebar button {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: rgba(249,115,8,1.00);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar button:hover {
    background: rgba(255,140,0,0.14);
    border-color: rgba(255,140,0,0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.sidebar button:active {
    transform: translateY(0);
}

/* MAIN */
.main {
    flex: 1;
    padding: 28px;
    box-sizing: border-box;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 18px;
    gap: 20px;
}

.header input {
    flex: 1;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid #d6dce7;
    background: white;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.header input:focus {
    border-color: #111827;
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.header-actions button {
    padding: 11px 14px;
    border: none;
    border-radius: 12px;
    background: #111827;
color: rgb(249, 115, 8);
	cursor: pointer;
    font-weight: 600;
    transition: 0.2s ease;
}

.header-actions button:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* TABS */
.view-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #e8edf5;
    color: #111827;
    border: none;
    padding: 11px 15px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s ease;
}

.tab-btn:hover {
    transform: translateY(-1px);
}

.tab-btn.active {
    background: #111827;
    color: white;
}

/* CARDS */
.card {
    background: white;
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef2f7;
}

.card h3 {
    margin-top: 0;
}

.booking-card {
    margin-bottom: 16px;
}

.booking-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.booking-card-top h3 {
    margin: 0 0 6px 0;
    font-size: 22px;
}

.booking-card-top p {
    margin: 0;
    color: #6b7280;
}

.booking-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin-bottom: 16px;
}

.booking-meta p {
    margin: 0;
    color: #374151;
    line-height: 1.45;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-actions button {
    border: none;
    background: #111827;
color: rgb(249, 115, 8);
	padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.card-actions button:hover {
    opacity: 0.95;
}

.empty-state {
    text-align: center;
    padding: 34px 20px;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 0;
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge.booked {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge.inprogress {
    background: #fef3c7;
    color: #b45309;
}

.badge.completed {
    background: #dcfce7;
    color: #15803d;
}

.badge.cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

/* CALENDAR */
#calendarView {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.calendar-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 22px;
}

.calendar-header button {
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: #111827;
color: rgb(249, 115, 8);
	cursor: pointer;
    font-weight: 600;
}

.calendar-weekday {
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    background: #e9edf5;
    border-radius: 10px;
    color: #374151;
}

.day {
    background: white;
    padding: 12px;
    border-radius: 14px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #e8edf5;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.day strong {
    font-size: 15px;
}

.empty-day {
    background: transparent;
    box-shadow: none;
    border: none;
}

.blocked-day {
    background: #fff1f1;
    border: 1px solid #ffd7d7;
}

.booking-mini {
    background: #eef4ff;
    border: 1px solid #dbe7ff;
    border-radius: 10px;
    padding: 7px 8px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.3;
    transition: 0.2s ease;
}

.booking-mini:hover {
    background: #dbe7ff;
}

.day button {
    margin-top: auto;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.block-btn {
    background: #ef4444;
    color: white;
}

.unblock-btn {
    background: #16a34a;
    color: white;
}

/* BLOCKED DAYS MANAGER */
.manager-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

#blockedDaysManager input,
#blockedDaysManager button,
#blockedDaysManager select,
#blockedDaysManager textarea {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    box-sizing: border-box;
    border-radius: 10px;
}

#blockedDaysManager input,
#blockedDaysManager select,
#blockedDaysManager textarea {
    border: 1px solid #d6dce7;
    background: white;
}

#blockedDaysManager button {
    border: none;
    background: #111827;
color: rgb(249, 115, 8);
	cursor: pointer;
    font-weight: 600;
}

#blockedDaysManager label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #4b5563;
    font-weight: 600;
}

.blocked-day-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff5f5;
    border: 1px solid #ffd6d6;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    gap: 10px;
}

.blocked-day-row button {
    background: #16a34a;
    color: white;
    border: none;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    width: auto;
    margin-top: 0;
}

.blocked-day-info small {
    display: block;
    color: #6b7280;
    margin-top: 4px;
}

.weekday-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.weekday-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-top: 0;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.modal-content {
    background: white;
    border-radius: 18px;
    position: relative;
    z-index: 10000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.booking-modal-content {
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.booking-modal-header h2 {
    margin: 0 0 6px 0;
    font-size: 28px;
}

.booking-modal-header p {
    margin: 0;
    color: #6b7280;
}

.booking-modal-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.booking-modal-section h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
}

.booking-modal-section p {
    margin: 8px 0;
    line-height: 1.45;
}

.booking-modal-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-modal-form label {
    font-weight: 700;
    color: #374151;
    margin-top: 4px;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 11px 12px;
    margin-top: 4px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: white;
    outline: none;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    border-color: #111827;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.modal-actions button {
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: #111827;
color: rgb(249, 115, 8);
	font-weight: 600;
}

.modal-actions button:hover {
    opacity: 0.96;
}

.danger-btn {
    background: #dc2626 !important;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .booking-meta {
        grid-template-columns: 1fr;
    }

    #calendarView {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .app {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .manager-grid {
        grid-template-columns: 1fr;
    }

    #calendarView {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header {
        flex-direction: column;
    }

    .weekday-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-modal-header {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .main {
        padding: 18px;
    }

    .view-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    #calendarView {
        grid-template-columns: 1fr;
    }

    .weekday-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 12px;
    }

    .booking-modal-content {
        padding: 18px;
    }

    .calendar-header {
        flex-direction: column;
        gap: 10px;
    }
}

.booking-mini-time {
    font-weight: 700;
    margin-bottom: 2px;
}

.booking-mini-reg {
    font-weight: 700;
    margin-bottom: 2px;
}

.booking-mini-service {
    opacity: 0.8;
    font-size: 11px;
}

.booking-mini.booked {
    background: #dbeafe;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.booking-mini.inprogress {
    background: #fef3c7;
    border-color: #fde68a;
    color: #b45309;
}

.booking-mini.completed {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #15803d;
}

.booking-mini.cancelled {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}


.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 18px 0;
    font-weight: 600;
}

#garageHoursManager input,
#garageHoursManager select,
#garageHoursManager button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    box-sizing: border-box;
    border-radius: 10px;
}

#garageHoursManager input,
#garageHoursManager select {
    border: 1px solid #d6dce7;
    background: white;
}

#garageHoursManager button {
    border: none;
    background: #111827;
color: rgb(249, 115, 8);
	cursor: pointer;
    font-weight: 600;
}

#garageHoursManager h4 {
    margin: 20px 0 12px 0;
}

@media (max-width: 1000px) {
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 12px 0 18px 0;
    font-weight: 600;
}

.toggle-row input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

.toggle-row span {
    display: inline-block;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 12px 0 18px 0;
    font-weight: 600;
}

.toggle-row input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

.toggle-row span {
    display: inline-block;
}

#garageHoursManager input,
#garageHoursManager select,
#garageHoursManager button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    box-sizing: border-box;
    border-radius: 10px;
}

#garageHoursManager input,
#garageHoursManager select {
    border: 1px solid #d6dce7;
    background: white;
}

#garageHoursManager button {
    border: none;
    background: #111827;
color: rgb(249, 115, 8);
	cursor: pointer;
    font-weight: 600;
}

#garageHoursManager h4 {
    margin: 20px 0 12px 0;
}

.disabled-field {
    opacity: 0.45;
    pointer-events: none;
}

.non-working-day {
    opacity: 0.7;
}

.non-working-day .booking-mini {
    opacity: 0.9;
}

@media (max-width: 1000px) {
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

.day-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.day-schedule-row {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.day-schedule-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.day-schedule-row input[type="time"] {
    margin-top: 0 !important;
}

@media (max-width: 1000px) {
    .day-schedule-row {
        grid-template-columns: 1fr;
    }
}

.day-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.day-schedule-row {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.day-schedule-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.day-schedule-row input[type="time"] {
    margin-top: 0 !important;
}

.disabled-field {
    opacity: 0.45;
}

.non-working-day {
    opacity: 0.7;
}

.non-working-day .booking-mini {
    opacity: 0.9;
}

.selected-day {
    outline: 2px solid #111827;
    outline-offset: -2px;
}

.calendar-availability-wrapper {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.availability-panel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.availability-panel.empty {
    color: #6b7280;
}

.availability-panel h4 {
    margin: 0 0 10px 0;
}

.availability-status {
    color: #b91c1c;
    font-weight: 600;
    margin-bottom: 12px;
}

.availability-section {
    margin-top: 12px;
}

.slot-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.slot-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #dbeafe;
    font-size: 12px;
    font-weight: 600;
}

.slot-chip.booked {
    background: #fee2e2;
    border-color: #fecaca;
}

.slot-chip-button {
    border: 1px solid #dbeafe;
    background: #eef2ff;
    cursor: pointer;
    font: inherit;
}

.slot-chip-button:hover {
    background: #dbeafe;
}

.slot-chip-button:active {
    transform: translateY(1px);
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    min-width: 260px;
    max-width: 420px;
    background: #111827;
    color: white;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10001;
    font-size: 14px;
    line-height: 1.4;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #15803d;
}

.toast.error {
    background: #b91c1c;
}

.toast.info {
    background: #111827;
}

.slot-chip-button {
    border: 1px solid #dbeafe;
    background: #eef2ff;
    cursor: pointer;
    font: inherit;
}

.slot-chip-button:hover {
    background: #dbeafe;
}

.slot-chip-button:active {
    transform: translateY(1px);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.services-header p {
    margin: 6px 0 0;
    color: #666;
}

.service-row {
    display: grid;
    grid-template-columns: 2fr 120px 120px 220px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e6e6e6;
}

.service-row:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 600;
    font-size: 15px;
}

.service-capacity {
    font-weight: 500;
}

.service-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.service-status-badge.active {
    background: #e7f8ee;
    color: #157347;
}

.service-status-badge.inactive {
    background: #f1f1f1;
    color: #666;
}

.service-empty-state {
    padding: 18px 0;
    color: #666;
}

.service-modal-content {
    max-width: 560px;
}

.service-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-modal-form label {
    font-weight: 600;
    margin-top: 4px;
}

.service-modal-form input[type="text"],
.service-modal-form input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    font-size: 14px;
}

.service-toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.modal-subtext {
    margin: 6px 0 0;
    color: #666;
}

.danger-btn-outline {
    background: #fff;
    color: #b42318;
    border: 1px solid #f1b5ae;
}

.danger-btn-outline:hover {
    background: #fff5f4;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    gap: 10px;
}

.sidebar-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.sidebar-brand-text h2 {
    margin: 0;
    font-size: 22px;
}

.sidebar-brand-text p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #d6d6d6;
    line-height: 1.4;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

#adminArea .card label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 600;
}

#adminArea .card input,
#adminArea .card textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

#adminArea .card textarea {
    resize: vertical;
}

.admin-help-text {
    margin: 0 0 12px;
    color: #666;
    line-height: 1.5;
}

.garage-logo-preview-wrap {
    margin: 12px 0 16px;
    padding: 16px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    background: #fafafa;
    text-align: center;
}

.garage-logo-preview {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.garage-logo-empty-state {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* QUOTES */
.quotes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.quotes-header p {
    margin: 6px 0 0;
    color: #666;
}

.quotes-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
    align-items: start;
}

.quote-builder-panel,
.quote-list-panel {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.quote-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.quote-form-grid label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.quote-form-grid input,
.quote-form-grid select,
.quote-form-grid textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6dce7;
    border-radius: 10px;
    background: white;
}

.quote-full-width {
    grid-column: 1 / -1;
}

.quote-line-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 24px 0 14px;
}

.quote-line-items-header h4,
.quote-list-panel h4 {
    margin: 0;
}

.quote-line-items-header button {
    border: none;
    background: #111827;
    color: rgb(249, 115, 8);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.quote-line-item-row {
    display: grid;
    grid-template-columns: 2.1fr 0.8fr 1fr 0.9fr auto;
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    margin-bottom: 12px;
}

.quote-line-item-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
}

.quote-line-item-row input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6dce7;
    border-radius: 10px;
}

.quote-line-total {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #d6dce7;
    border-radius: 10px;
    background: #f9fafb;
    font-weight: 700;
}

.quote-line-remove-wrap {
    display: flex;
    align-items: end;
}

.quote-totals {
    margin-top: 20px;
    margin-left: auto;
    max-width: 320px;
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}

.quote-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.quote-total-row.grand-total {
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    font-size: 17px;
}

.quote-list-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.quote-list-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.quote-number {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.quote-customer {
    font-weight: 600;
    margin-bottom: 4px;
}

.quote-meta-line {
    color: #666;
    font-size: 14px;
    line-height: 1.45;
}

.quote-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quote-actions button {
    border: none;
    background: #111827;
    color: rgb(249, 115, 8);
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.quote-status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.status-draft {
    background: #e5e7eb;	
    color: #111827;
}

.status-sent {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-approved {
    background: #dcfce7;
    color: #15803d;
}

.status-rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.status-invoiced {
    background: #ede9fe;
    color: #6d28d9;
}

@media (max-width: 1100px) {
    .quotes-layout {
        grid-template-columns: 1fr;
    }

    .quote-form-grid {
        grid-template-columns: 1fr;
    }

    .quote-line-item-row {
        grid-template-columns: 1fr;
    }
}

.quote-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 24px 0 14px;
}

.quote-section-header h4 {
    margin: 0;
}

.quote-section-header button {
    border: none;
    background: #111827;
    color: rgb(249, 115, 8);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

#invoicesManager .quote-builder-panel,
#invoicesManager .quote-list-panel {
    background: #f9fafb;
}

#invoicesManager .quote-list-item {
    background: white;
}	

.invoice-mode-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

#invoiceExistingFields,
#invoiceManualFields {
    margin-bottom: 8px;
}

.invoice-mode-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

#invoiceExistingFields,
#invoiceManualFields,
#quoteExistingFields,
#quoteManualFields {
    margin-bottom: 8px;
}

.crm-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    align-items: start;
}

.crm-list-panel,
.crm-detail-panel {
    min-height: 520px;
}

.crm-search-row {
    margin-bottom: 14px;
}

.crm-search-row input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d6dce7;
    border-radius: 10px;
    background: white;
}

.crm-customer-row {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crm-customer-row:hover {
    border-color: #111827;
    transform: translateY(-1px);
}

.crm-customer-row.active {
    border-color: #111827;
    background: #f9fafb;
}

.crm-customer-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.crm-customer-meta {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.4;
}

.crm-customer-submeta {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.crm-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.crm-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.crm-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.crm-vehicle-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eceff3;
}

.crm-vehicle-row:last-child {
    border-bottom: none;
}

.crm-vehicle-reg {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 4px;
}

.crm-vehicle-meta {
    color: #374151;
    margin-bottom: 4px;
}

.crm-vehicle-submeta {
    font-size: 13px;
    color: #6b7280;
}

.crm-vehicle-actions button {
    border: none;
    background: #111827;
    color: rgb(249, 115, 8);
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .crm-layout {
        grid-template-columns: 1fr;
    }

    .crm-info-grid {
        grid-template-columns: 1fr;
    }

    .crm-detail-header {
        flex-direction: column;
    }
}

.crm-history-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.crm-history-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eceff3;
}

.crm-history-row:last-child {
    border-bottom: none;
}

.crm-history-main {
    min-width: 0;
}

.crm-history-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.crm-history-meta {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.crm-history-side {
    flex: 0 0 auto;
}

@media (max-width: 1200px) {
    .crm-history-grid {
        grid-template-columns: 1fr;
    }
}

.crm-vehicle-history-wrap {
    margin-top: 18px;
}

.crm-vehicle-row.active {
    border-color: #111827;
    background: #f9fafb;
}

.crm-vehicle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crm-vehicle-row:hover {
    border-color: #111827;
    background: #f9fafb;
    transform: translateY(-1px);
}

.crm-vehicle-row.active {
    border-color: #111827;
    background: #f3f4f6;
    box-shadow: inset 0 0 0 1px #111827;
}

.crm-vehicle-reg {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.crm-vehicle-meta {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 3px;
}

.crm-vehicle-submeta {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.crm-vehicle-hint {
    font-size: 12px;
    color: #f97316;
    font-weight: 700;
    margin-top: 6px;
}

.crm-vehicle-actions {
    flex: 0 0 auto;
}

.crm-vehicle-actions button {
    white-space: nowrap;
}

.crm-vehicle-history-wrap {
    margin-top: 18px;
    padding-top: 6px;
}

.crm-detail-actions button,
.quotes-header button {
    border: 2px solid #111827; /* 👈 NEW black outline */
    background: rgb(249, 115, 8);
    color: #111827;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.crm-detail-actions button:hover,
.quotes-header button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* 👈 subtle lift */
}

.crm-prefill-banner {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #111827;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.crm-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.crm-history-actions button {
    border: 1px solid #111827;
    background: #fff;
    color: #111827;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.crm-history-actions button:hover {
    background: #f3f4f6;
}

/* HEALTH CHECKS */
.hc-list-row {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hc-list-row:hover {
    border-color: #111827;
    transform: translateY(-1px);
    background: #f9fafb;
}

.hc-list-row.active {
    border-color: #111827;
    background: #f3f4f6;
    box-shadow: inset 0 0 0 1px #111827;
}

.hc-list-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.hc-list-reg {
    font-size: 15px;
    font-weight: 800;
}

.hc-list-meta {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

.hc-list-submeta {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.hc-list-status,
.hc-overall-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.hc-badge-green {
    background: #dcfce7;
    color: #15803d;
}

.hc-badge-amber {
    background: #fef3c7;
    color: #b45309;
}

.hc-badge-red {
    background: #fee2e2;
    color: #b91c1c;
}

.hc-badge-neutral {
    background: #e5e7eb;
    color: #111827;
}

.hc-header-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hc-header-card h2 {
    margin: 0 0 6px 0;
    font-size: 28px;
}

.hc-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hc-header-actions button {
    border: 2px solid #111827;
    background: rgb(249, 115, 8);
    color: #111827;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.hc-header-actions button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.hc-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.hc-summary-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.hc-summary-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6b7280;
}

.hc-summary-card span {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.hc-info-card {
    margin-bottom: 18px;
}

.hc-section-card {
    margin-bottom: 18px;
}

.hc-section-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-item-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid #eceff3;
    border-radius: 12px;
    background: #ffffff;
}

.hc-item-main {
    min-width: 0;
}

.hc-item-label {
    font-weight: 700;
    margin-bottom: 8px;
}

.hc-item-note-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6dce7;
    border-radius: 10px;
    background: white;
}

.hc-status-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hc-status-btn {
    border: 1px solid #d1d5db;
    background: white;
    color: #111827;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    min-width: 82px;
    transition: all 0.2s ease;
}

.hc-status-btn:hover {
    transform: translateY(-1px);
}

.hc-status-btn.hc-green.selected {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.hc-status-btn.hc-amber.selected {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #92400e;
}

.hc-status-btn.hc-red.selected {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.hc-table-wrap {
    overflow-x: auto;
}

.hc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}

.hc-table th,
.hc-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eceff3;
    vertical-align: middle;
}

.hc-table th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    background: #f9fafb;
}

.hc-table td input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d6dce7;
    border-radius: 10px;
    background: white;
}

.hc-recommended-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hc-recommended-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #eceff3;
    border-radius: 12px;
    background: #fff;
}

.crm-history-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1400px) {
    .crm-history-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .hc-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .hc-header-card {
        flex-direction: column;
    }

    .hc-header-actions {
        justify-content: flex-start;
    }

    .hc-item-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hc-summary-grid,
    .crm-history-grid-four {
        grid-template-columns: 1fr;
    }
}
.hc-summary-card.hc-summary-green {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.hc-summary-card.hc-summary-amber {
    background: #fffbeb;
    border-color: #fde68a;
}

.hc-summary-card.hc-summary-red {
    background: #fef2f2;
    border-color: #fecaca;
}

#healthCheckDetail .card-actions button {
    border: 2px solid #111827;
    background: rgb(249, 115, 8);
    color: #111827;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

#healthCheckDetail .card-actions button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* =========================
   LANDING PAGE / INDEX PAGE
========================= */

html {
    scroll-behavior: smooth;
}

.landing-page {
    background: #f5f7fb;
    color: #111827;
}

.landing-page .card,
.marketing-card,
.difference-card,
.pricing-card,
.enquiry-card,
.workflow-card,
.trust-card,
.faq-item,
.cta-card,
.screenshot-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
    color: rgba(255,255,255,0.84);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.site-nav a:hover,
.footer-links a:hover {
    color: rgb(249, 115, 8);
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.site-btn-primary {
    border: 2px solid #111827;
    background: rgb(249, 115, 8);
    color: #111827;
}

.site-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

.site-btn-secondary {
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: white;
}

.site-btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.035) 75%, rgba(255,255,255,0.035)),
        linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.035) 75%, rgba(255,255,255,0.035)),
        linear-gradient(to bottom, rgba(20,20,20,0.94), rgba(0,0,0,0.98));
    background-size: 18px 18px, 18px 18px, 100% 100%;
    background-position: 0 0, 9px 9px, 0 0;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(249,115,8,0.18), transparent 26%),
        radial-gradient(circle at bottom left, rgba(249,115,8,0.12), transparent 24%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 72px 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.hero-text h1 {
    margin: 0 0 18px;
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 760px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.84);
    max-width: 720px;
    margin: 0 0 24px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(249,115,8,0.14);
    border: 1px solid rgba(249,115,8,0.28);
    color: rgb(249, 115, 8);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.eyebrow-dark {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
}

.hero-rollout-note {
    display: inline-block;
    margin: 0 0 22px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(249,115,8,0.28);
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-points span {
    display: inline-flex;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    display: grid;
    gap: 18px;
}

.hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}

.hero-card img {
    width: 100%;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    background: #1f2937;
}

.hero-card-large img {
    min-height: 300px;
}

.hero-card-small {
    max-width: 320px;
    margin-left: auto;
}

.hero-card-label {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.74);
    font-size: 13px;
    font-weight: 700;
}

.section-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 72px 24px;
}

.alt-section {
    padding-top: 20px;
}

.section-heading {
    max-width: 880px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-heading p {
    margin: 0 auto;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
}

.section-heading-light h2,
.section-heading-light p {
    color: white;
}

.section-heading-light p {
    color: rgba(255,255,255,0.80);
}

.feature-grid {
    display: grid;
    gap: 20px;
}

.feature-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-card {
    padding: 24px;
}

.marketing-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.marketing-card p {
    margin: 0;
    line-height: 1.7;
    color: #4b5563;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.split-text h2 {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.split-text p {
    margin: 0 0 24px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 16px;
}

.bullet-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mini-feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
    color: #111827;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.screenshot-card {
    padding: 18px;
}

.screenshot-caption {
    margin: 12px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.app-showcase {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 100%;
    max-width: 320px;
    background: #111827;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 24px 50px rgba(17,24,39,0.18);
}

.phone-mockup img {
    width: 100%;
    display: block;
    border-radius: 26px;
    background: #dbe2ea;
}

.dark-band {
    max-width: none;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%, rgba(255,255,255,0.03)),
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%, rgba(255,255,255,0.03)),
        linear-gradient(to bottom, rgba(20,20,20,0.94), rgba(0,0,0,0.98));
    background-size: 18px 18px, 18px 18px, 100% 100%;
    background-position: 0 0, 9px 9px, 0 0;
}

.dark-band .section-heading {
    max-width: 900px;
}

.steps-grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px 72px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 22px;
    color: white;
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.step-card p {
    margin: 0;
    color: rgba(255,255,255,0.80);
    line-height: 1.65;
}

.step-number {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(249, 115, 8);
    color: #111827;
    font-weight: 800;
}

.stats-strip {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.stats-strip-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stat-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
    color: #111827;
}

.stat-box span {
    color: #6b7280;
    line-height: 1.5;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.difference-card {
    padding: 24px;
}

.difference-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.difference-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.workflow-card {
    padding: 24px;
    border-radius: 18px;
}

.workflow-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.workflow-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.workflow-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.trust-card {
    padding: 24px;
    border-radius: 18px;
    text-align: left;
}

.trust-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: rgb(249, 115, 8);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.trust-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.trust-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.app-callout-band {
    background: #0a0a0a;
    color: white;
    border-radius: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 48px 32px;
}

.app-callout-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.app-callout-text h2 {
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 16px;
}

.app-callout-text p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.app-callout-highlight {
    font-weight: 800;
    color: #f97316;
}

.app-callout-actions {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.app-callout-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-icon-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    min-width: 110px;
}

.app-icon-card span {
    display: block;
    margin-top: 8px;
    font-weight: 700;
}

.app-icon-card.highlight {
    border: 2px solid #f97316;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    border: 2px solid rgb(249, 115, 8);
    box-shadow: 0 14px 34px rgba(249, 115, 8, 0.12);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: rgb(249, 115, 8);
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 999px;
    border: 2px solid #111827;
}

.pricing-tier {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    color: #111827;
}

.pricing-price span {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
}

.pricing-summary {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 18px;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
}

.pricing-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    color: #374151;
    font-weight: 500;
}

.pricing-btn {
    margin-top: auto;
    width: 100%;
}

.setup-note {
    margin-top: 18px;
    text-align: center;
}

.setup-note p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

.availability-note {
    max-width: 860px;
    margin: 0 auto 34px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    text-align: center;
    font-weight: 700;
    line-height: 1.6;
}

.faq-section {
    padding-top: 24px;
}

.faq-accordion {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.35;
    color: #111827;
}

.faq-question:hover {
    background: #fffaf5;
}

.faq-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.faq-answer {
    display: none;
    padding: 0 24px 22px;
}

.faq-answer p {
    margin: 0;
    color: #4b5563;
    line-height: 1.75;
    font-size: 16px;
}

.faq-item.active .faq-question {
    background: #fffaf5;
}

.faq-item.active .faq-answer {
    display: block;
}

.contact-section {
    padding-top: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.contact-copy h2 {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.15;
}

.contact-copy p {
    margin: 0 0 20px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 16px;
}

.contact-rollout-note {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-weight: 700;
    line-height: 1.6;
}

.contact-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-point-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
    color: #111827;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.enquiry-card {
    padding: 24px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enquiry-form label {
    font-weight: 700;
    margin-top: 4px;
    color: #111827;
}

.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 12px 13px;
    border-radius: 12px;
    border: 1px solid #d6dce7;
    background: #ffffff;
    outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: #111827;
}

.enquiry-submit {
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.optional-text {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.95em;
}

.enquiry-status {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.enquiry-status.success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.enquiry-status.error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.enquiry-submit[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.cta-section {
    padding-top: 20px;
}

.cta-card {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.cta-card h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.cta-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
}

.cta-actions {
    flex: 0 0 auto;
}

.site-footer {
    background: #111827;
    color: white;
    margin-top: 20px;
}

.site-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 26px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.site-footer p {
    margin: 0;
    color: rgba(255,255,255,0.70);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* =========================
   MOCK DASHBOARD UI
========================= */

.mock-dashboard {
    background: linear-gradient(180deg, #1f2937, #111827);
    border-radius: 16px;
    padding: 16px;
    min-height: 320px;
}

.mock-dashboard-top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.mock-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(249, 115, 8, 0.14);
    border: 1px solid rgba(249, 115, 8, 0.35);
    color: #fdba74;
    font-size: 12px;
    font-weight: 700;
}

.mock-dashboard-main {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr;
    gap: 14px;
}

.mock-side-stack {
    display: grid;
    gap: 14px;
}

.mock-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px;
}

.mock-panel-large {
    min-height: 220px;
}

.mock-panel-title {
    color: rgba(255,255,255,0.92);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}

.mock-row,
.mock-stat-line,
.mock-button-line {
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    margin-bottom: 10px;
}

.mock-row.short,
.mock-stat-line.short {
    width: 48%;
}

.mock-row.medium,
.mock-stat-line.medium {
    width: 72%;
}

.mock-calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.mock-calendar-grid span {
    display: block;
    height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
}

.dashboard-showcase {
    min-height: 340px;
}

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

@media (max-width: 1200px) {
    .hero-content,
    .split-section,
    .feature-grid.three-col,
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        width: 100%;
    }

    .hero-content,
    .split-section,
    .feature-grid.three-col,
    .steps-grid,
    .bullet-card-grid,
    .workflow-grid,
    .trust-grid,
    .stats-strip-inner,
    .difference-grid,
    .pricing-grid,
    .contact-grid,
    .contact-points,
    .mock-dashboard-main,
    .app-callout-inner {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .section-heading h2,
    .split-text h2,
    .contact-copy h2 {
        font-size: 32px;
    }

    .cta-card,
    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card-small {
        max-width: none;
        margin-left: 0;
    }

    .app-callout-inner {
        text-align: center;
    }

    .app-callout-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 48px 18px;
    }

    .section-wrap {
        padding: 48px 18px;
    }

    .steps-grid {
        padding: 0 18px 48px;
    }

    .site-header-inner,
    .site-footer-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .section-heading h2,
    .split-text h2,
    .cta-card h2,
    .app-callout-text h2 {
        font-size: 28px;
    }

    .site-nav {
        gap: 14px;
    }

    .faq-question {
        padding: 18px 18px;
        font-size: 18px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }
}

.screenshot-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
    min-height: 320px;
    object-fit: cover;
    background: #dbe2ea;
}

.hero-card-large img {
    width: 100%;
    display: block;
    border-radius: 14px;
    min-height: 300px;
    object-fit: cover;
    background: #1f2937;
}