/* ============================================================
   Midlands Coaches WHMCS — main website alignment layer
   Mirrors /assets/css/style.css without importing its global reset into WHMCS.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --mc-bg: #050d1a;
    --mc-bg-2: #091524;
    --mc-card: rgba(255,255,255,.032);
    --mc-card-hover: rgba(255,255,255,.052);
    --mc-border: rgba(255,255,255,.08);
    --mc-border-hover: rgba(74,222,128,.28);
    --mc-green: #4ade80;
    --mc-green-dark: #16a34a;
    --mc-green-mid: #22c55e;
    --mc-green-bg: rgba(74,222,128,.08);
    --mc-text: #f1f5f9;
    --mc-muted: rgba(238,242,255,.52);
    --mc-dim: rgba(238,242,255,.32);
    --mc-gold: #f59e0b;
    --mc-radius: 14px;
    --mc-shadow: 0 8px 40px rgba(0,0,0,.45);

    /* Remap both the custom layer and Twenty-One's own colour tokens. */
    --mc-ink: var(--mc-text);
    --mc-green-2: var(--mc-green-mid);
    --mc-mint: var(--mc-green-bg);
    --mc-lime: var(--mc-green);
    --mc-cream: var(--mc-bg);
    --mc-paper: var(--mc-card);
    --mc-white: var(--mc-text);
    --mc-line: var(--mc-border);
    --mc-soft: rgba(255,255,255,.055);
    --primary: var(--mc-green-dark);
    --primary-lifted: var(--mc-green-mid);
    --primary-accented: var(--mc-green);
    --text: var(--mc-text);
    --text-lifted: var(--mc-muted);
    --text-muted: var(--mc-dim);
    --border: var(--mc-border);
    --bg: var(--mc-bg);
    --bg-muted: var(--mc-bg-2);
    --bg-lifted: var(--mc-card);
    --bg-accented: rgba(255,255,255,.06);
}

html { background: var(--mc-bg) !important; color-scheme: dark; }
body.mc-whmcs {
    background: var(--mc-bg) !important;
    color: var(--mc-text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
body.mc-whmcs::before,
body.mc-whmcs::after {
    position: fixed;
    z-index: 0;
    display: block !important;
    border-radius: 50%;
    content: '';
    filter: blur(90px);
    pointer-events: none;
}
body.mc-whmcs::before {
    top: -260px;
    right: -130px;
    width: 700px;
    height: 700px;
    background: rgba(34,197,94,.065);
}
body.mc-whmcs::after {
    bottom: -240px;
    left: -100px;
    width: 520px;
    height: 520px;
    background: rgba(74,222,128,.035);
}
body.mc-whmcs > * { position: relative; z-index: 1; }
body.mc-whmcs a { color: var(--mc-green); }
body.mc-whmcs a:hover { color: #86efac; }
body.mc-whmcs h1,
body.mc-whmcs h2,
body.mc-whmcs h3,
body.mc-whmcs h4,
body.mc-whmcs h5,
body.mc-whmcs h6 {
    color: var(--mc-text) !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 800;
    letter-spacing: -.04em;
}
body.mc-whmcs p { color: var(--mc-muted); }
.mc-skip-link {
    position: fixed !important;
    top: -100px !important;
    left: 16px !important;
    z-index: 9999 !important;
    transform: none !important;
    transition: top .15s ease;
}
.mc-skip-link:focus,
.mc-skip-link:focus-visible {
    top: 12px !important;
    outline: 3px solid var(--mc-green);
    outline-offset: 3px;
}
.mc-eyebrow {
    color: var(--mc-green) !important;
    font-size: 11px;
    letter-spacing: .1em;
}

/* Buttons match the main site's pill-shaped green gradient. */
body.mc-whmcs .btn {
    border-radius: 999px !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 700 !important;
}
body.mc-whmcs .btn-primary,
body.mc-whmcs .btn-success,
body.mc-whmcs .btn-active-client {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--mc-green-dark), var(--mc-green-mid)) !important;
    color: #fff !important;
}
body.mc-whmcs .btn-primary:hover,
body.mc-whmcs .btn-success:hover {
    filter: brightness(1.1);
    box-shadow: 0 14px 36px rgba(22,163,74,.30);
    transform: translateY(-2px);
}
body.mc-whmcs .btn-default,
body.mc-whmcs .btn-secondary,
body.mc-whmcs .btn-outline-secondary,
body.mc-whmcs .btn-light {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.06) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs .btn-default:hover,
body.mc-whmcs .btn-secondary:hover,
body.mc-whmcs .btn-light:hover { background: rgba(255,255,255,.11) !important; }
body.mc-whmcs .btn-outline-primary {
    border-color: var(--mc-green) !important;
    background: transparent !important;
    color: var(--mc-green) !important;
}
body.mc-whmcs .btn-outline-primary:hover { background: var(--mc-green) !important; color: #050d1a !important; }

/* Header — same height, blur, logo and spacing as the main site. */
.mc-header {
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
    border-bottom: 1px solid var(--mc-border) !important;
    background: rgba(5,13,26,.97) !important;
    backdrop-filter: blur(14px);
}
.mc-header .mc-navbar {
    min-height: 64px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    backdrop-filter: none;
}
.mc-navbar > .container { min-height: 64px; }
.mc-brand { gap: 10px; color: var(--mc-text) !important; font-size: 15px; font-weight: 800; letter-spacing: -.035em; }
.mc-brand-mark {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--mc-green-dark), var(--mc-green-mid));
}
.mc-brand-mark::before,
.mc-brand-mark > span,
.mc-brand-mark > i { display: none !important; }
.mc-brand-mark svg { width: 20px; height: 20px; }
.mc-brand-type { display: inline !important; color: var(--mc-text); font-size: 15px; line-height: 1; }
.mc-brand-type b { margin-left: 0; color: var(--mc-green); }
.mc-brand-type strong,
.mc-brand-type small { display: inline; color: inherit; font: inherit; letter-spacing: inherit; }
.mc-primary-nav { gap: 4px; }
.mc-primary-nav .nav-link {
    padding: 10px 13px !important;
    color: var(--mc-muted) !important;
    font-size: 13.5px;
    font-weight: 500;
}
.mc-primary-nav .nav-link:hover,
.mc-primary-nav .nav-link.active { color: var(--mc-text) !important; }
.mc-primary-nav .nav-link.active::after { background: var(--mc-green); }
.mc-navbar .navbar-toggler {
    border-color: var(--mc-border);
    background: rgba(255,255,255,.04);
    color: var(--mc-text);
}
.mc-nav-actions { margin-left: 10px; }
.mc-cart-link,
.mc-account-button {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.06) !important;
    color: var(--mc-text) !important;
}
.mc-cart-link:hover,
.mc-account-button:hover { background: rgba(255,255,255,.11) !important; }
.mc-cart-link span { border-color: var(--mc-bg); background: var(--mc-green-dark); }
.mc-account-avatar { background: rgba(74,222,128,.11); color: var(--mc-green); }
.mc-account-menu .dropdown-menu {
    border-color: var(--mc-border);
    background: var(--mc-bg-2);
    box-shadow: 0 24px 64px rgba(0,0,0,.55);
}
.mc-account-menu .dropdown-item { color: var(--mc-muted) !important; }
.mc-account-menu .dropdown-item:hover { background: var(--mc-green-bg); color: var(--mc-green) !important; }
.mc-account-menu .dropdown-divider { border-color: var(--mc-border); }
.mc-alert-bar { border-color: rgba(74,222,128,.15); background: rgba(74,222,128,.07); }
.mc-alert-button { color: var(--mc-green); }
.mc-breadcrumb { border-color: var(--mc-border) !important; background: rgba(9,21,36,.75) !important; }
.mc-breadcrumb .breadcrumb-item,
.mc-breadcrumb .breadcrumb-item.active { color: var(--mc-dim) !important; }
.mc-breadcrumb a { color: var(--mc-muted) !important; }

/* Generic WHMCS pages. */
.mc-main-body { background: transparent; }
.mc-whmcs .card,
.mc-whmcs .panel,
.mc-whmcs .well,
.mc-whmcs .invoice-container,
.mc-whmcs .invoice-content,
.mc-whmcs .table-container,
.mc-whmcs .pricing-table {
    border: 1px solid var(--mc-border) !important;
    border-radius: var(--mc-radius) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
    box-shadow: none;
    backdrop-filter: blur(12px);
}
.mc-whmcs .card:hover { border-color: rgba(255,255,255,.14) !important; }
.mc-whmcs .card-header,
.mc-whmcs .panel-heading,
.mc-whmcs .list-group-item.header {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.022) !important;
    color: var(--mc-text) !important;
}
.mc-whmcs .card-footer,
.mc-whmcs .panel-footer { border-color: var(--mc-border) !important; background: rgba(255,255,255,.018) !important; }
.mc-whmcs .list-group-item {
    border-color: var(--mc-border) !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
.mc-whmcs .list-group-item:hover { background: rgba(255,255,255,.04) !important; color: var(--mc-text) !important; }
.mc-whmcs .list-group-item.active { border-color: rgba(74,222,128,.25) !important; background: var(--mc-green-bg) !important; color: var(--mc-green) !important; }
.mc-whmcs .sidebar .card { box-shadow: none; }
.mc-whmcs .sidebar .card-header i { color: var(--mc-green); }
.mc-whmcs .form-control,
.mc-whmcs select.form-control,
.mc-whmcs textarea.form-control,
.mc-whmcs input[type="text"],
.mc-whmcs input[type="email"],
.mc-whmcs input[type="password"],
.mc-whmcs input[type="number"],
.mc-whmcs input[type="tel"] {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.045) !important;
    color: var(--mc-text) !important;
}
.mc-whmcs .form-control::placeholder { color: var(--mc-dim) !important; }
.mc-whmcs .form-control:focus {
    border-color: var(--mc-green) !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: 0 0 0 3px rgba(74,222,128,.12) !important;
}
.mc-whmcs select option { background: var(--mc-bg-2); color: var(--mc-text); }
.mc-whmcs .input-group-text { border-color: var(--mc-border) !important; background: rgba(255,255,255,.055) !important; color: var(--mc-green) !important; }
.mc-whmcs label { color: var(--mc-muted) !important; }
.mc-whmcs .table { color: var(--mc-text) !important; }
.mc-whmcs .table th { border-color: var(--mc-border) !important; color: var(--mc-dim) !important; }
.mc-whmcs .table td { border-color: var(--mc-border) !important; color: var(--mc-muted); }
.mc-whmcs .table strong,
.mc-whmcs .table td a { color: var(--mc-text); }
.mc-whmcs .table-hover tbody tr:hover { background: rgba(255,255,255,.025) !important; }

/* Keep the WHMCS invoice DataTable on the client area's dark surface. */
.mc-whmcs #tableInvoicesList_wrapper,
.mc-whmcs #tableInvoicesList_wrapper .row,
.mc-whmcs #tableInvoicesList,
.mc-whmcs #tableInvoicesList thead,
.mc-whmcs #tableInvoicesList tbody,
.mc-whmcs #tableInvoicesList tr,
.mc-whmcs #tableInvoicesList th,
.mc-whmcs #tableInvoicesList td {
    background-color: transparent !important;
}

.mc-whmcs #tableInvoicesList {
    width: 100% !important;
    margin: 0 !important;
    color: var(--mc-text) !important;
}

.mc-whmcs #tableInvoicesList thead th {
    padding: 14px 16px !important;
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.035) !important;
    color: var(--mc-dim) !important;
}

.mc-whmcs #tableInvoicesList tbody td {
    padding: 15px 16px !important;
    border-color: var(--mc-border) !important;
    color: var(--mc-muted) !important;
}

.mc-whmcs #tableInvoicesList tbody td:first-child,
.mc-whmcs #tableInvoicesList tbody td:nth-child(4) {
    color: var(--mc-text) !important;
    font-weight: 700;
}

.mc-whmcs #tableInvoicesList tbody tr {
    cursor: pointer;
    transition: background-color .18s ease;
}

.mc-whmcs #tableInvoicesList tbody tr:hover td {
    background: rgba(74,222,128,.045) !important;
    color: var(--mc-text) !important;
}

.mc-whmcs #tableInvoicesList_wrapper .dataTables_length,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_filter,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_info,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_paginate {
    color: var(--mc-muted) !important;
}

.mc-whmcs #tableInvoicesList_wrapper .dataTables_filter input,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_length select {
    min-height: 42px;
    border: 1px solid var(--mc-border) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.045) !important;
    color: var(--mc-text) !important;
    box-shadow: none !important;
}

.mc-whmcs #tableInvoicesList_wrapper .dataTables_filter input {
    min-width: 238px;
    padding: 8px 12px !important;
}

.mc-whmcs #tableInvoicesList_wrapper .dataTables_length select {
    width: auto !important;
    margin: 0 6px;
}

.mc-whmcs #tableInvoicesList_wrapper .pagination .page-link,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_paginate .paginate_button {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.045) !important;
    color: var(--mc-muted) !important;
    box-shadow: none !important;
}

.mc-whmcs #tableInvoicesList_wrapper .pagination .page-link:hover,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: rgba(74,222,128,.25) !important;
    background: rgba(74,222,128,.08) !important;
    color: var(--mc-green) !important;
}

.mc-whmcs #tableInvoicesList_wrapper .pagination .page-item.active .page-link,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_paginate .paginate_button.current {
    border-color: rgba(74,222,128,.28) !important;
    background: var(--mc-green-bg) !important;
    color: var(--mc-green) !important;
}

.mc-whmcs #tableInvoicesList_wrapper .pagination .page-item.disabled .page-link,
.mc-whmcs #tableInvoicesList_wrapper .dataTables_paginate .paginate_button.disabled {
    background: rgba(255,255,255,.02) !important;
    color: var(--mc-dim) !important;
    opacity: .7;
}

@media (max-width: 767px) {
    .mc-whmcs #tableInvoicesList_wrapper .dataTables_filter {
        margin-top: 10px;
        text-align: left;
    }

    .mc-whmcs #tableInvoicesList_wrapper .dataTables_filter input {
        width: 100% !important;
        min-width: 0;
        margin: 6px 0 0 !important;
    }
}
.mc-whmcs .alert-success { border-color: rgba(74,222,128,.25); background: rgba(74,222,128,.10); color: var(--mc-green); }
.mc-whmcs .alert-info { border-color: rgba(59,130,246,.25); background: rgba(59,130,246,.10); color: #60a5fa; }
.mc-whmcs .alert-warning { border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.10); color: var(--mc-gold); }
.mc-whmcs .alert-danger { border-color: rgba(239,68,68,.25); background: rgba(239,68,68,.10); color: #f87171; }

/*
 * Standard-cart fallback.
 * WHMCS can retain an older order-form choice in the visitor's cart session.
 * These higher-specificity rules keep that cart readable until the dedicated
 * Midlands Coaches order form is selected again.
 */
body.mc-whmcs #order-standard_cart {
    color: var(--mc-text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items,
body.mc-whmcs #order-standard_cart .order-summary {
    border: 1px solid var(--mc-border) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
    box-shadow: var(--mc-shadow) !important;
    backdrop-filter: blur(12px);
}
body.mc-whmcs #order-standard_cart .view-cart-items-header,
body.mc-whmcs #order-standard_cart .order-summary h2 {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.04) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items .item,
body.mc-whmcs #order-standard_cart .view-cart-items .item:nth-child(even) {
    border-color: var(--mc-border) !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items .item-title,
body.mc-whmcs #order-standard_cart .view-cart-items .item-price > span:first-child {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-items .item-group,
body.mc-whmcs #order-standard_cart .view-cart-items .item small,
body.mc-whmcs #order-standard_cart .view-cart-items .item-price .cycle {
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .btn-remove-from-cart { color: var(--mc-dim) !important; }
body.mc-whmcs #order-standard_cart .btn-remove-from-cart:hover { color: #f87171 !important; }
body.mc-whmcs #order-standard_cart .empty-cart .btn {
    border: 1px solid rgba(255,255,255,.12) !important;
    background: var(--mc-bg-2) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .summary-container {
    border-color: var(--mc-border) !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .subtotal,
body.mc-whmcs #order-standard_cart .order-summary .bordered-totals,
body.mc-whmcs #order-standard_cart .order-summary .recurring-totals {
    border-color: var(--mc-border) !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .order-summary #subtotal,
body.mc-whmcs #order-standard_cart .order-summary .recurring-charges .cost {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .recurring-charges { color: var(--mc-muted) !important; }
body.mc-whmcs #order-standard_cart .order-summary .total-due-today {
    border: 1px solid rgba(74,222,128,.16) !important;
    border-radius: 12px;
    background: var(--mc-green-bg) !important;
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .total-due-today .amt,
body.mc-whmcs #order-standard_cart .order-summary .total-due-today span {
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .order-summary .btn-continue-shopping { color: var(--mc-green) !important; }
body.mc-whmcs #order-standard_cart .view-cart-tabs .tab-content {
    border: 1px solid var(--mc-border) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs { border-color: var(--mc-border) !important; }
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs a {
    border-color: transparent !important;
    background: transparent !important;
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
body.mc-whmcs #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"] {
    border-color: var(--mc-border) var(--mc-border) transparent !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .view-cart-promotion-code {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.035) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .form-control,
body.mc-whmcs #order-standard_cart input[type="text"],
body.mc-whmcs #order-standard_cart input[type="number"] {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.045) !important;
    color: var(--mc-text) !important;
}

/* Product-list and configuration fallback for standard_cart. */
body.mc-whmcs #order-standard_cart .products .product {
    overflow: hidden;
    border: 1px solid var(--mc-border) !important;
    border-radius: var(--mc-radius) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
}
body.mc-whmcs #order-standard_cart .products .product:hover {
    border-color: var(--mc-border-hover) !important;
    background: rgba(74,222,128,.04) !important;
    box-shadow: var(--mc-shadow) !important;
}
body.mc-whmcs #order-standard_cart .products .product header,
body.mc-whmcs #order-standard_cart .products .product div.product-desc,
body.mc-whmcs #order-standard_cart .products .product footer {
    border-color: var(--mc-border) !important;
    background: transparent !important;
}
body.mc-whmcs #order-standard_cart .products .product header,
body.mc-whmcs #order-standard_cart .products .product header span {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .products .product div.product-desc,
body.mc-whmcs #order-standard_cart .products .product div.product-desc p,
body.mc-whmcs #order-standard_cart .products .product div.product-desc li,
body.mc-whmcs #order-standard_cart .products .product span.feature-value,
body.mc-whmcs #order-standard_cart .products .product div.product-pricing {
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .products .product div.product-pricing span.price {
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .product-info,
body.mc-whmcs #order-standard_cart .field-container,
body.mc-whmcs #order-standard_cart .product-configurable-options {
    border-color: var(--mc-border) !important;
    background: var(--mc-card) !important;
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .product-info .product-title {
    color: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .product-info p,
body.mc-whmcs #order-standard_cart .product-configurable-options label {
    color: var(--mc-muted) !important;
}
body.mc-whmcs #order-standard_cart .sub-heading {
    border-color: var(--mc-border) !important;
}
body.mc-whmcs #order-standard_cart .sub-heading span {
    border: 1px solid var(--mc-border) !important;
    background: var(--mc-bg-2) !important;
    color: var(--mc-green) !important;
}
body.mc-whmcs #order-standard_cart .irs-line,
body.mc-whmcs #order-standard_cart .irs-bar-edge {
    border-color: var(--mc-border) !important;
    background: rgba(255,255,255,.10) !important;
}
body.mc-whmcs #order-standard_cart .irs-bar {
    border-color: var(--mc-green-dark) !important;
    background: var(--mc-green-dark) !important;
}
body.mc-whmcs #order-standard_cart .irs-slider {
    border-color: var(--mc-green) !important;
    background: var(--mc-text) !important;
}
body.mc-whmcs #order-standard_cart .irs-grid-text,
body.mc-whmcs #order-standard_cart .irs-min,
body.mc-whmcs #order-standard_cart .irs-max {
    color: var(--mc-muted) !important;
}
.mc-whmcs .status { background: rgba(255,255,255,.08); color: var(--mc-muted); }
.mc-whmcs .status-active,
.mc-whmcs .status-paid { background: rgba(74,222,128,.12); color: var(--mc-green); }
.mc-whmcs .status-pending,
.mc-whmcs .status-unpaid { background: rgba(245,158,11,.12); color: var(--mc-gold); }
.mc-whmcs .status-cancelled,
.mc-whmcs .status-terminated,
.mc-whmcs .status-overdue { background: rgba(239,68,68,.12); color: #f87171; }

/* Account dashboard — same hero glow and glass cards as the website. */
.mc-account-hero {
    position: relative;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--mc-border);
    background: transparent;
}
.mc-account-hero::before {
    position: absolute;
    top: -190px;
    right: -80px;
    width: 560px;
    height: 480px;
    border-radius: 50%;
    background: rgba(34,197,94,.08);
    content: '';
    filter: blur(80px);
    pointer-events: none;
}
.mc-account-hero::after { display: none; }
body.mc-whmcs .mc-account-hero h1 { color: var(--mc-text) !important; font-size: clamp(2.2rem,5.5vw,3.6rem); }
.mc-account-hero p:not(.mc-eyebrow) { color: var(--mc-muted); }
body.mc-whmcs .mc-account-hero .btn-primary {
    border-color: transparent !important;
    background: linear-gradient(135deg,var(--mc-green-dark),var(--mc-green-mid)) !important;
    color: #fff !important;
}
.mc-account-stats { gap: 16px; }
.mc-stat-card,
.mc-essential-card,
.mc-trip-card,
.mc-booking-panel,
.mc-product-group-card {
    border-color: var(--mc-border);
    background: var(--mc-card);
    color: var(--mc-text) !important;
    backdrop-filter: blur(12px);
}
.mc-stat-card:hover,
.mc-essential-card:hover,
.mc-trip-card:hover,
.mc-product-group-card:hover {
    border-color: var(--mc-border-hover);
    background: rgba(74,222,128,.04);
    box-shadow: var(--mc-shadow);
}
.mc-stat-primary {
    border-color: rgba(74,222,128,.22);
    background: var(--mc-green-bg);
}
.mc-stat-icon,
.mc-essential-card > span,
.mc-panel-heading > span,
.mc-empty-state > span,
.mc-product-group-card > span {
    border: 1px solid rgba(74,222,128,.16);
    background: rgba(74,222,128,.09);
    color: var(--mc-green);
}
.mc-stat-primary .mc-stat-icon { border-color: rgba(74,222,128,.22); background: rgba(74,222,128,.12); }
.mc-stat-card strong,
.mc-essential-card h3,
.mc-trip-copy h2,
.mc-detail-item strong { color: var(--mc-text); }
.mc-stat-card small,
.mc-essential-card p,
.mc-trip-summary small,
.mc-trip-summary strong { color: var(--mc-muted); }
.mc-travel-note {
    border: 1px solid rgba(74,222,128,.13);
    background: rgba(74,222,128,.05);
}
.mc-travel-note-icon { border: 1px solid rgba(74,222,128,.20); background: rgba(74,222,128,.10); color: var(--mc-green); }
.mc-travel-note p:last-child { color: var(--mc-muted); }
.mc-trip-filters { border-color: var(--mc-border); background: var(--mc-card); }
.mc-trip-filters button { color: var(--mc-muted); }
.mc-trip-filters button.active { background: var(--mc-green-bg); color: var(--mc-green); }
.mc-trip-date { border: 1px solid rgba(74,222,128,.16); background: rgba(74,222,128,.09); color: var(--mc-green); }
.mc-trip-open { color: var(--mc-green); }
.mc-empty-state { border-color: var(--mc-border); }

/* Trip details. */
.mc-booking-hero {
    position: relative;
    border: 1px solid var(--mc-border);
    background: var(--mc-card);
    box-shadow: var(--mc-shadow);
}
.mc-booking-hero::before {
    position: absolute;
    top: -140px;
    right: 10%;
    width: 430px;
    height: 340px;
    border-radius: 50%;
    background: rgba(34,197,94,.09);
    content: '';
    filter: blur(70px);
}
.mc-booking-hero > * { position: relative; z-index: 1; }
.mc-booking-hero-copy .mc-booking-ref { color: var(--mc-dim); }
body.mc-whmcs .mc-booking-hero-copy h1 { color: var(--mc-text) !important; }
.mc-booking-hero-copy > p:last-child { color: var(--mc-muted); }
.mc-booking-hero .status { background: rgba(74,222,128,.12); color: var(--mc-green); }
.mc-ticket-stub {
    border: 1px solid rgba(74,222,128,.22);
    background: rgba(74,222,128,.08);
    color: var(--mc-green);
}
.mc-ticket-stub::after { border-color: rgba(74,222,128,.20); }
.mc-booking-panel { border-color: var(--mc-border); }
.mc-detail-grid { border-color: var(--mc-border); }
.mc-detail-item { border-color: var(--mc-border); }
.mc-detail-item small,
.mc-panel-note,
.mc-booking-panel > p { color: var(--mc-muted); }
.mc-detail-pending strong { color: var(--mc-gold); }
.mc-payment-summary > div { border-color: var(--mc-border); }
.mc-payment-summary > div span { color: var(--mc-muted); }
.mc-paid-badge { border: 1px solid rgba(74,222,128,.18); background: var(--mc-green-bg); color: var(--mc-green); }
.mc-help-card { border: 1px solid rgba(74,222,128,.13); background: rgba(74,222,128,.05); }
.mc-help-card > span { border: 1px solid rgba(74,222,128,.18); background: rgba(74,222,128,.10); color: var(--mc-green); }
.mc-help-card p { color: var(--mc-muted); }

/* Login and account entry. */
.mc-auth-layout { border-bottom: 1px solid var(--mc-border); background: transparent; }
.mc-auth-story { position: relative; overflow: hidden; background: transparent; }
.mc-auth-story::before {
    position: absolute;
    top: -180px;
    left: -120px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: rgba(34,197,94,.08);
    content: '';
    filter: blur(90px);
}
.mc-auth-story > * { position: relative; z-index: 1; }
body.mc-whmcs .mc-auth-story h1 { color: var(--mc-text) !important; font-size: clamp(2.2rem,5.5vw,3.6rem); }
.mc-auth-story > p:not(.mc-eyebrow),
.mc-auth-story li { color: var(--mc-muted); }
.mc-auth-card {
    border-color: var(--mc-border);
    background: var(--mc-card);
    box-shadow: var(--mc-shadow);
    backdrop-filter: blur(14px);
}
.mc-auth-card h2 { color: var(--mc-text) !important; }
.mc-auth-intro,
.mc-auth-footer,
.mc-remember { color: var(--mc-muted) !important; }

/* WHMCS storefront landing. */
.mc-home-hero { border-bottom: 1px solid var(--mc-border); background: transparent; }
.mc-home-copy h1 { color: var(--mc-text) !important; }
.mc-home-copy > p:not(.mc-eyebrow),
.mc-home-trust { color: var(--mc-muted); }
.mc-route-card {
    border: 1px solid var(--mc-border);
    background: var(--mc-card);
    box-shadow: var(--mc-shadow);
}
.mc-route-card-top,
.mc-route-line i { color: var(--mc-green); }
.mc-route-line span { background: var(--mc-border); }
.mc-booking-steps ol { border-color: var(--mc-border); }
.mc-booking-steps li { border-color: var(--mc-border); background: var(--mc-card); }
.mc-booking-steps li > span { color: var(--mc-green); }
.mc-booking-steps p,
.mc-product-group-card p { color: var(--mc-muted); }
.mc-home-account { border: 1px solid rgba(74,222,128,.13); background: rgba(74,222,128,.05); }
body.mc-whmcs .mc-home-account h2 { color: var(--mc-text) !important; }
.mc-home-account p:last-child { color: var(--mc-muted); }

/* Modals and footer. */
.mc-whmcs .modal-content { border-color: var(--mc-border) !important; background: var(--mc-bg-2) !important; color: var(--mc-text); }
.mc-whmcs .modal-header,
.mc-whmcs .modal-footer { border-color: var(--mc-border) !important; }
.mc-whmcs .close { color: var(--mc-text); text-shadow: none; }
.mc-footer {
    border-top: 1px solid var(--mc-border) !important;
    background: rgba(0,0,0,.35) !important;
    color: var(--mc-dim);
}
.mc-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; border-bottom: 1px solid var(--mc-border); }
.mc-brand-light .mc-brand-mark { background: linear-gradient(135deg,var(--mc-green-dark),var(--mc-green-mid)); }
.mc-footer-intro p { color: var(--mc-dim); }
.mc-footer-links strong { color: var(--mc-text); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.mc-footer-links a { color: var(--mc-dim) !important; font-size: 13.5px; }
.mc-footer-links a:hover { color: var(--mc-text) !important; }
.mc-footer-bottom { border-color: var(--mc-border); color: var(--mc-dim); }

@media (max-width: 991px) {
    .mc-header .navbar-collapse { border-color: var(--mc-border); background: var(--mc-bg-2); }
    .mc-primary-nav .nav-link { border-bottom: 1px solid var(--mc-border); }
    .mc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .mc-brand-type { font-size: 14px; }
    .mc-account-hero { padding-top: 54px; }
    .mc-footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Root-level public website homepage
   WHMCS is the website, storefront and customer account.
   ============================================================ */
.mc-template-homepage .mc-main-body { padding-bottom: 0; }
.mc-template-homepage .primary-content { width: 100%; max-width: none; padding: 0; }
.mc-public-section { padding: 82px 0; scroll-margin-top: 78px; }
.mc-public-section + .mc-public-section { border-top: 1px solid var(--mc-border); }
.mc-public-section .mc-section-heading > p {
    max-width: 510px;
    margin: 0;
    color: var(--mc-muted);
    font-size: .94rem;
}

.mc-public-hero {
    position: relative;
    min-height: 650px;
    margin-bottom: 0;
    isolation: isolate;
}
.mc-public-hero::before {
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -80px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: rgba(34,197,94,.09);
    content: '';
    filter: blur(90px);
}
.mc-public-hero .mc-home-copy h1 {
    max-width: 760px;
    font-size: clamp(3.35rem, 7vw, 6.3rem);
    letter-spacing: -.065em;
}
.mc-public-hero .mc-home-copy > p:not(.mc-eyebrow) { max-width: 660px; font-size: 1.05rem; }
.mc-public-hero .mc-home-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 30px 0 24px; }
.mc-public-hero .mc-home-trust { display: flex; flex-wrap: wrap; gap: 11px 21px; font-size: .76rem; font-weight: 700; }
.mc-public-hero .mc-home-trust i { margin-right: 6px; color: var(--mc-green); }
.mc-public-hero .mc-route-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    transform: rotate(1.5deg);
}
.mc-route-card-message { margin-top: 78px; }
.mc-route-card-message small { display: block; margin-bottom: 8px; color: var(--mc-green); font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.mc-route-card-message strong { display: block; color: var(--mc-text); font-size: clamp(1.7rem,3vw,2.45rem); line-height: 1.08; letter-spacing: -.05em; }
.mc-route-labels { color: var(--mc-muted); }
.mc-route-labels strong { color: var(--mc-text); }

.mc-public-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin: 0 0 4px;
    border: 1px solid var(--mc-border);
    border-radius: 18px;
    background: var(--mc-card);
    overflow: hidden;
}
.mc-public-stats > div { padding: 25px; text-align: center; }
.mc-public-stats > div + div { border-left: 1px solid var(--mc-border); }
.mc-public-stats strong { display: block; color: var(--mc-green); font-size: clamp(1.55rem,3vw,2.2rem); line-height: 1; letter-spacing: -.05em; }
.mc-public-stats span { display: block; margin-top: 8px; color: var(--mc-dim); font-size: .72rem; font-weight: 700; }

.mc-path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mc-path-card {
    position: relative;
    display: flex;
    min-height: 330px;
    padding: 28px;
    flex-direction: column;
    border: 1px solid var(--mc-border);
    border-radius: 18px;
    background: var(--mc-card);
    color: var(--mc-text) !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.mc-path-card:hover { border-color: var(--mc-border-hover); background: rgba(74,222,128,.045); transform: translateY(-4px); }
.mc-path-card.mc-path-primary { border-color: rgba(74,222,128,.25); background: linear-gradient(145deg,rgba(74,222,128,.10),rgba(255,255,255,.02)); }
.mc-path-number { position: absolute; top: 27px; right: 27px; color: var(--mc-dim); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.mc-path-card > i { display: grid; width: 48px; height: 48px; margin-bottom: 48px; place-items: center; border: 1px solid rgba(74,222,128,.18); border-radius: 13px; background: var(--mc-green-bg); color: var(--mc-green); font-size: 1rem; }
.mc-path-card h3 { margin: 0 0 10px; font-size: 1.28rem; }
.mc-path-card p { margin: 0 0 24px; color: var(--mc-muted); font-size: .84rem; }
.mc-path-card strong { margin-top: auto; color: var(--mc-green); font-size: .78rem; }

.mc-private-hire-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 65px; align-items: start; }
.mc-private-hire-intro { position: sticky; top: 98px; }
.mc-private-hire-intro h2 { margin-bottom: 18px; font-size: clamp(2.15rem,4vw,3.3rem); }
.mc-private-hire-intro > p:not(.mc-eyebrow):not(.mc-contact-callout) { font-size: .98rem; }
.mc-private-hire-intro ul { margin: 28px 0 0; padding: 0; list-style: none; }
.mc-private-hire-intro li { margin: 12px 0; color: var(--mc-muted); font-size: .86rem; }
.mc-private-hire-intro li i { width: 22px; color: var(--mc-green); }
.mc-contact-callout { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--mc-border); color: var(--mc-muted); font-size: .88rem; }
.mc-contact-callout a { color: var(--mc-text) !important; font-weight: 800; }
.mc-quote-form { padding: 30px; border: 1px solid var(--mc-border); border-radius: 20px; background: var(--mc-card); box-shadow: var(--mc-shadow); backdrop-filter: blur(14px); }
.mc-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.mc-form-heading span { color: var(--mc-text); font-size: 1rem; font-weight: 800; }
.mc-form-heading strong { color: var(--mc-green); font-size: .68rem; }
.mc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.mc-form-grid label { display: block; margin: 0; }
.mc-form-grid label > span { display: block; margin-bottom: 7px; color: var(--mc-muted); font-size: .72rem; font-weight: 700; }
.mc-form-grid input,
.mc-form-grid textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--mc-border);
    border-radius: 11px;
    outline: 0;
    background: rgba(255,255,255,.045);
    color: var(--mc-text);
    font: inherit;
    font-size: .86rem;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.mc-form-grid textarea { min-height: 110px; resize: vertical; }
.mc-form-grid input::placeholder,
.mc-form-grid textarea::placeholder { color: var(--mc-dim); }
.mc-form-grid input:focus,
.mc-form-grid textarea:focus { border-color: var(--mc-green); background: rgba(255,255,255,.055); box-shadow: 0 0 0 3px rgba(74,222,128,.12); }
.mc-form-grid input[type="date"] { color-scheme: dark; }
.mc-form-wide { grid-column: 1 / -1; }
.mc-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mc-quote-form > button { margin-top: 5px; }
.mc-quote-form > small { display: block; margin-top: 12px; color: var(--mc-dim); font-size: .68rem; }
.mc-quote-status { min-height: 22px; margin: 16px 0 10px; font-size: .78rem; }
.mc-quote-status.is-success,
.mc-quote-status.is-error { padding: 11px 13px; border-radius: 10px; }
.mc-quote-status.is-success { border: 1px solid rgba(74,222,128,.22); background: rgba(74,222,128,.09); color: var(--mc-green); }
.mc-quote-status.is-error { border: 1px solid rgba(239,68,68,.24); background: rgba(239,68,68,.09); color: #f87171; }

.mc-service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mc-service-card { display: block; min-height: 280px; padding: 27px; border: 1px solid var(--mc-border); border-radius: 16px; background: var(--mc-card); color: var(--mc-text) !important; text-decoration: none !important; transition: transform .18s ease,border-color .18s ease,background .18s ease; }
.mc-service-card:hover { border-color: var(--mc-border-hover); background: rgba(74,222,128,.04); transform: translateY(-3px); }
.mc-service-card > i { display: grid; width: 46px; height: 46px; margin-bottom: 42px; place-items: center; border: 1px solid rgba(74,222,128,.17); border-radius: 12px; background: var(--mc-green-bg); color: var(--mc-green); }
.mc-service-card h3 { margin: 0 0 9px; font-size: 1.1rem; }
.mc-service-card p { min-height: 64px; margin: 0 0 20px; color: var(--mc-muted); font-size: .81rem; }
.mc-service-card strong { color: var(--mc-green); font-size: .74rem; }

.mc-why-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.mc-why-copy h2 { margin: 0 0 18px; font-size: clamp(2.2rem,4vw,3.45rem); }
.mc-why-copy > p:not(.mc-eyebrow) { margin-bottom: 27px; font-size: .96rem; }
.mc-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc-benefit-grid > div { min-height: 210px; padding: 24px; border: 1px solid var(--mc-border); border-radius: 15px; background: var(--mc-card); }
.mc-benefit-grid i { margin-bottom: 34px; color: var(--mc-green); font-size: 1.1rem; }
.mc-benefit-grid h3 { margin-bottom: 8px; font-size: .98rem; }
.mc-benefit-grid p { margin: 0; color: var(--mc-muted); font-size: .78rem; }

.mc-review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mc-review-grid blockquote { min-height: 250px; margin: 0; padding: 27px; border: 1px solid var(--mc-border); border-radius: 16px; background: var(--mc-card); }
.mc-review-grid blockquote > div { margin-bottom: 30px; color: var(--mc-gold); font-size: .75rem; letter-spacing: .12em; }
.mc-review-grid blockquote p { color: var(--mc-muted); font-size: .87rem; font-style: italic; }
.mc-review-grid blockquote footer { margin-top: 24px; color: var(--mc-text); font-size: .76rem; font-weight: 800; }

.mc-locations-section { border: 1px solid rgba(74,222,128,.13) !important; border-radius: 20px; background: rgba(74,222,128,.045); padding-right: 38px; padding-left: 38px; }
.mc-location-list { display: flex; flex-wrap: wrap; gap: 10px; }
.mc-location-list span,
.mc-location-list a { padding: 9px 15px; border: 1px solid var(--mc-border); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--mc-muted) !important; font-size: .75rem; font-weight: 700; text-decoration: none !important; }
.mc-location-list a:hover { border-color: var(--mc-border-hover); color: var(--mc-green) !important; }

.mc-faq-list { max-width: 900px; margin: 0 auto; }
.mc-faq-list details { border-bottom: 1px solid var(--mc-border); }
.mc-faq-list details:first-child { border-top: 1px solid var(--mc-border); }
.mc-faq-list summary { position: relative; padding: 21px 42px 21px 0; color: var(--mc-text); cursor: pointer; font-size: .93rem; font-weight: 800; list-style: none; }
.mc-faq-list summary::-webkit-details-marker { display: none; }
.mc-faq-list summary::after { position: absolute; top: 18px; right: 5px; color: var(--mc-green); content: '+'; font-size: 1.35rem; font-weight: 400; }
.mc-faq-list details[open] summary::after { content: '−'; }
.mc-faq-list details p { max-width: 760px; padding: 0 0 21px; color: var(--mc-muted); font-size: .85rem; }

.mc-footer-links span { display: block; margin-top: 8px; color: var(--mc-dim); font-size: 12.5px; }

@media (max-width: 1100px) {
    .mc-public-hero { gap: 38px; }
    .mc-public-hero .mc-home-copy h1 { font-size: clamp(3rem,6vw,4.7rem); }
    .mc-private-hire-section,
    .mc-why-section { gap: 42px; }
}

@media (max-width: 991px) {
    .mc-public-hero { grid-template-columns: 1fr; padding-top: 62px; }
    .mc-public-hero .mc-route-card { width: min(650px,100%); min-height: 370px; transform: none; }
    .mc-path-grid,
    .mc-service-grid,
    .mc-review-grid { grid-template-columns: 1fr 1fr; }
    .mc-private-hire-section,
    .mc-why-section { grid-template-columns: 1fr; }
    .mc-private-hire-intro { position: static; }
}

@media (max-width: 767px) {
    .mc-public-section { padding: 62px 0; }
    .mc-public-stats { grid-template-columns: 1fr 1fr; }
    .mc-public-stats > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--mc-border); }
    .mc-public-stats > div:nth-child(4) { border-top: 1px solid var(--mc-border); }
    .mc-path-grid,
    .mc-service-grid,
    .mc-review-grid { grid-template-columns: 1fr; }
    .mc-path-card { min-height: 290px; }
    .mc-service-card { min-height: 245px; }
    .mc-service-card p { min-height: 0; }
    .mc-form-grid,
    .mc-benefit-grid { grid-template-columns: 1fr; }
    .mc-form-wide { grid-column: auto; }
    .mc-public-section .mc-section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 575px) {
    .mc-public-hero .mc-home-copy h1 { font-size: 3.2rem; }
    .mc-public-hero .mc-home-actions .btn { width: 100%; justify-content: center; }
    .mc-public-hero .mc-route-card { min-height: 345px; padding: 23px; }
    .mc-route-card-message { margin-top: 60px; }
    .mc-public-stats > div { padding: 21px 12px; }
    .mc-quote-form { padding: 23px; }
    .mc-form-heading { align-items: flex-start; flex-direction: column; }
    .mc-locations-section { padding-right: 22px; padding-left: 22px; border-radius: 15px; }
    .mc-home-account { padding: 30px; }
}

/* ============================================================
   Search-friendly public service and location pages
   ============================================================ */
.mc-template-midlands-page .mc-main-body { padding-top: 0; }
.mc-template-midlands-page .primary-content { width: 100%; }
.mc-seo-page { padding-bottom: 70px; }
.mc-seo-hero {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(270px,.55fr);
    gap: 54px;
    align-items: center;
    min-height: 490px;
    padding: 72px 0 76px;
}
.mc-seo-hero-copy h1 {
    max-width: 850px;
    margin: 0 0 22px;
    font-size: clamp(3rem,6.5vw,5.75rem);
    line-height: .98;
}
.mc-seo-hero-copy > p:not(.mc-eyebrow) {
    max-width: 760px;
    margin: 0 0 30px;
    color: var(--mc-muted);
    font-size: 1.02rem;
    line-height: 1.78;
}
.mc-seo-hero-panel {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--mc-border);
    border-radius: 18px;
    background: var(--mc-border);
    box-shadow: var(--mc-shadow);
}
.mc-seo-hero-panel span {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 21px 22px;
    background: #0a1524;
    color: var(--mc-text);
    font-size: .82rem;
    font-weight: 750;
}
.mc-seo-hero-panel i { width: 20px; color: var(--mc-green); text-align: center; }
.mc-seo-section { padding: 70px 0; border-top: 1px solid var(--mc-border); }
.mc-seo-content-section {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr);
    gap: 74px;
    align-items: center;
}
.mc-seo-section-copy h2 { max-width: 760px; margin: 0 0 18px; font-size: clamp(2rem,4vw,3.2rem); }
.mc-seo-section-copy > p:not(.mc-eyebrow) { max-width: 780px; margin: 0; font-size: .95rem; line-height: 1.8; }
.mc-seo-check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.mc-seo-check-list li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 15px 17px;
    border: 1px solid var(--mc-border);
    border-radius: 12px;
    background: var(--mc-card);
    color: var(--mc-muted);
    font-size: .82rem;
    line-height: 1.5;
}
.mc-seo-check-list i { margin-top: 3px; color: var(--mc-green); }
.mc-seo-card-grid .mc-service-card,
.mc-seo-related-grid .mc-service-card { min-height: 255px; }
.mc-seo-card-grid .mc-service-card > i,
.mc-seo-related-grid .mc-service-card > i { margin-bottom: 32px; }
.mc-seo-related-grid { grid-template-columns: repeat(3,1fr); }
.mc-seo-cta {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    margin-top: 54px;
    padding: 42px;
    border: 1px solid rgba(74,222,128,.22);
    border-radius: 20px;
    background: linear-gradient(135deg,rgba(22,163,74,.28),rgba(74,222,128,.08));
}
.mc-seo-cta h2 { margin: 0 0 10px; font-size: clamp(1.8rem,3vw,2.7rem); }
.mc-seo-cta p:not(.mc-eyebrow) { max-width: 640px; margin: 0; }
.mc-seo-cta .mc-home-actions { flex: 0 0 auto; margin: 0; }
.mc-seo-not-found { min-height: 500px; padding: 100px 0; text-align: center; }
.mc-seo-not-found h1 { margin-bottom: 18px; font-size: clamp(2.6rem,6vw,5rem); }
.mc-seo-not-found p:not(.mc-eyebrow) { margin-bottom: 28px; }
.mc-seo-not-found .mc-home-actions { justify-content: center; }

@media (max-width: 991px) {
    .mc-seo-hero { grid-template-columns: 1fr; gap: 34px; min-height: 0; }
    .mc-seo-hero-panel { grid-template-columns: 1fr 1fr; }
    .mc-seo-content-section { grid-template-columns: 1fr; gap: 34px; }
    .mc-seo-related-grid { grid-template-columns: 1fr 1fr; }
    .mc-seo-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
    .mc-seo-hero { padding: 54px 0 58px; }
    .mc-seo-hero-copy h1 { font-size: clamp(2.8rem,13vw,4.3rem); }
    .mc-seo-section { padding: 54px 0; }
    .mc-seo-related-grid { grid-template-columns: 1fr; }
    .mc-seo-cta { padding: 28px; }
    .mc-seo-cta .mc-home-actions { width: 100%; }
}

@media (max-width: 575px) {
    .mc-seo-hero-panel { grid-template-columns: 1fr; }
    .mc-seo-hero .mc-home-actions .btn,
    .mc-seo-cta .mc-home-actions .btn { width: 100%; justify-content: center; }
}
