/* ============================================================
   Andrew Bach Codes — design system
   Brand colors sampled directly from ABachCodesLogo.webp:
     navy   #262362
     orange #F7941D
   ============================================================ */

:root {
    /* brand */
    --navy: #262362;
    --navy-deep: #1a1847;
    --navy-mid: #332f78;
    --navy-soft: #4a4699;
    --orange: #F7941D;
    --orange-deep: #d97706;
    --orange-soft: #fdeeda;

    /* neutrals */
    --bg: #f7f8fc;
    --surface: #ffffff;
    --surface-alt: #eeeef7;
    --ink: #1e1c3a;
    --muted: #5f5c85;

    --radius: 1rem;
    --radius-sm: 0.6rem;
    --shadow: 0 4px 24px rgba(38, 35, 98, 0.09);
    --shadow-lift: 0 12px 38px rgba(38, 35, 98, 0.16);
}

/* ---------- Base ---------- */

html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    letter-spacing: -0.015em;
}

a {
    color: var(--orange-deep);
}

.text-muted {
    color: var(--muted) !important;
}

/* Headings must invert on dark brand panels — otherwise navy-on-navy is unreadable */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.hero-nav h1,
.oh-hero h1,
.oh-hero h2,
.page-hero h1,
.page-hero h2,
.cta-band h1,
.cta-band h2,
.oh-cta-band h1,
.oh-cta-band h2 {
    color: #fff;
}

.fw-bold {
    font-weight: 700 !important;
}

/* ---------- Icons ---------- */

.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

.icon-sm { width: 1.1rem; height: 1.1rem; }
.icon-lg { width: 2.1rem; height: 2.1rem; }
.icon-xl { width: 3rem; height: 3rem; stroke-width: 1.5; }

/* ---------- Geometric brand accents (from original site) ---------- */

.geo {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-tri {
    width: 0;
    height: 0;
    border-style: solid;
}

/* Diagonal wedge in the top-left, echoing the original site's triangle motif */
.geo-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 420px;
    height: 100%;
    background: linear-gradient(115deg, var(--orange) 0%, var(--orange-deep) 60%, transparent 60.5%);
    clip-path: polygon(0 0, 46% 0, 0 100%);
    opacity: 0.5;
}

.geo-corner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    clip-path: polygon(14% 0, 26% 0, 0 62%);
    opacity: 0.55;
}

.geo-chevron {
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 320px;
    height: 320px;
    border: 3px solid var(--orange);
    transform: rotate(45deg);
    opacity: 0.28;
}

.geo-squares {
    position: absolute;
    inset: auto 0 0 auto;
    display: flex;
    gap: 14px;
    padding: 2.5rem;
    opacity: 0.2;
}

.geo-squares span {
    width: 26px;
    height: 26px;
    background: var(--orange);
}

/* ---------- Navbar ---------- */

.site-navbar {
    background: var(--surface);
    border-bottom: 1px solid rgba(38, 35, 98, 0.1);
    font-weight: 500;
}

.navbar-brand {
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

.navbar .nav-link {
    color: var(--navy) !important;
    border-radius: 0.5rem;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    font-weight: 600;
}

.navbar .nav-link:hover {
    background: var(--orange-soft);
    color: var(--orange-deep) !important;
}

.navbar .nav-link.active {
    color: var(--orange-deep) !important;
}

.dropdown-item:active,
.dropdown-item:hover {
    background: var(--orange-soft);
    color: var(--navy);
}

.btn-navbar-cta {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.4rem;
    box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-navbar-cta:hover,
.btn-navbar-cta:focus {
    background: var(--orange-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(247, 148, 29, 0.45);
}

/* ---------- Heroes ---------- */

.hero-nav,
.oh-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50rem 22rem at 85% -20%, rgba(247, 148, 29, 0.28), transparent 62%),
        linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
}

.hero-nav .container,
.oh-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge,
.oh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(247, 148, 29, 0.14);
    border: 1px solid rgba(247, 148, 29, 0.5);
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    text-transform: uppercase;
}

.hero-lead,
.oh-lead {
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-section .btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
}

/* ---------- Light sections ---------- */

.alt-section,
.oh-section-alt {
    background: var(--surface-alt);
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(40rem 18rem at 88% -25%, rgba(247, 148, 29, 0.26), transparent 60%),
        linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.cta-band,
.oh-cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(38rem 15rem at 50% 135%, rgba(247, 148, 29, 0.3), transparent 62%),
        linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.cta-band .container,
.oh-cta-band .container {
    position: relative;
    z-index: 2;
}

/* ---------- Cards ---------- */

.card {
    border-radius: var(--radius);
}

.card-hover {
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card-hover:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-4px);
    border-color: rgba(247, 148, 29, 0.55) !important;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-soft);
    color: var(--orange-deep);
    margin-bottom: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.card-hover:hover .card-icon {
    background: var(--orange);
    color: #fff;
}

/* ---------- Featured project ---------- */

.featured-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(38, 35, 98, 0.08);
}

.featured-art {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(26rem 18rem at 30% 25%, rgba(247, 148, 29, 0.3), transparent 62%),
        linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-mid) 100%);
    min-height: 280px;
}

.featured-art .icon-xl {
    color: var(--orange);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
}

/* ---------- Badges / pills ---------- */

.badge-brand {
    background: var(--orange) !important;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.badge-live {
    background: rgba(247, 148, 29, 0.14) !important;
    color: var(--orange-deep);
    border: 1px solid rgba(247, 148, 29, 0.4);
    font-weight: 700;
}

.badge-soon {
    background: rgba(38, 35, 98, 0.08) !important;
    color: var(--muted);
    border: 1px solid rgba(38, 35, 98, 0.15);
    font-weight: 600;
}

/* ---------- Check lists ---------- */

.oh-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oh-checklist li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.6rem;
    color: var(--muted);
}

.oh-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 11px;
    height: 6px;
    border-left: 2.5px solid var(--orange);
    border-bottom: 2.5px solid var(--orange);
    transform: rotate(-45deg);
}

.oh-checklist-on-dark li {
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- Facts ---------- */

.fact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fact-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(38, 35, 98, 0.09);
    color: var(--muted);
    font-size: 0.95rem;
}

.fact-list li:last-child {
    border-bottom: none;
}

.fact-list li span {
    color: var(--navy);
    font-weight: 700;
}

/* ---------- Buttons ---------- */

.btn-primary {
    background: var(--navy);
    border: none;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--navy-deep);
}

.btn-brand {
    background: var(--orange);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 2rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--orange-deep);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(247, 148, 29, 0.4);
}

.btn-outline-brand {
    border: 2px solid var(--orange);
    color: var(--orange);
    font-weight: 700;
    border-radius: 2rem;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--orange);
    color: #fff;
}

.btn-outline-navy {
    border: 2px solid var(--navy);
    color: var(--navy);
    font-weight: 700;
    border-radius: 2rem;
}

.btn-outline-navy:hover,
.btn-outline-navy:focus {
    background: var(--navy);
    color: #fff;
}

/* ---------- OpenHockey section ---------- */

.oh-subnav {
    background: var(--navy-deep);
    border-bottom: 2px solid var(--orange);
    position: sticky;
    top: 0;
    z-index: 100;
}

.oh-tabs .nav-link {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    border-radius: 0;
    padding: 0.95rem 1.3rem;
    border-bottom: 3px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.oh-tabs .nav-link:hover {
    color: #fff;
    border-bottom-color: rgba(247, 148, 29, 0.45);
    background: transparent;
}

.oh-tabs .nav-link.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: transparent;
}

.oh-preview {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    border: 1px solid rgba(247, 148, 29, 0.3);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oh-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(38, 35, 98, 0.28);
}

.oh-preview-rink {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 3.5rem 2rem;
    background:
        radial-gradient(24rem 16rem at 50% 0%, rgba(247, 148, 29, 0.28), transparent 65%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 40px),
        linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.oh-preview-rink .icon-xl {
    color: var(--orange);
}

.oh-milestone {
    background: var(--surface);
    border: 1px solid rgba(38, 35, 98, 0.09);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    height: 100%;
    border-top: 4px solid var(--navy);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.oh-milestone:hover {
    transform: translateY(-3px);
    border-top-color: var(--orange);
}

.oh-milestone-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.8rem;
    border-radius: 2rem;
}

.oh-milestone-tag.now {
    background: var(--orange);
    color: #fff;
}

.oh-milestone-tag.next {
    background: var(--navy);
    color: #fff;
}

.oh-milestone-tag.later {
    background: rgba(38, 35, 98, 0.1);
    color: var(--muted);
}

.oh-step {
    background: var(--surface);
    border: 1px solid rgba(38, 35, 98, 0.09);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.oh-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--navy);
    color: var(--orange);
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.oh-note {
    background: var(--orange-soft);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.1rem 1.4rem;
    color: var(--muted);
}

/* ---------- Devlog ---------- */

.oh-timeline {
    position: relative;
    max-width: 46rem;
    margin: 0 auto;
    padding-left: 1.6rem;
}

.oh-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(var(--orange), var(--navy));
}

.oh-log-entry {
    position: relative;
    padding: 0 0 2.5rem 1.6rem;
}

.oh-log-entry::before {
    content: "";
    position: absolute;
    left: -1.6rem;
    top: 0.35rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--navy);
}

.oh-log-date {
    display: inline-block;
    background: var(--navy);
    color: var(--orange);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.85rem;
    border-radius: 2rem;
    margin-bottom: 0.55rem;
}

.oh-log-tag {
    display: inline-block;
    background: var(--surface);
    border: 1px solid rgba(38, 35, 98, 0.14);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.18rem 0.65rem;
    border-radius: 2rem;
    margin-right: 0.35rem;
}

/* ---------- Contact ---------- */

.form-control,
.form-select {
    border-color: rgba(38, 35, 98, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.2);
}

.form-check-input:checked {
    background-color: var(--orange);
    border-color: var(--orange);
}

.form-check-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.2);
}

/* ---------- Dashboard ---------- */

/* The admin nav sits on the dark brand panel, so it needs to opt out of the
   light-site .navbar .nav-link colour (which is !important). */
.dashboard-nav {
    background: var(--navy-deep);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.dashboard-nav .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 600;
    border-radius: 0.5rem;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
}

.dashboard-nav .nav-link:hover,
.dashboard-nav .nav-link:focus {
    background: rgba(247, 148, 29, 0.16);
    color: #fff !important;
}

.dashboard-content {
    padding: 1.5rem;
}

@media (min-width: 992px) {
    .dashboard-content {
        padding: 1.5rem 2rem;
    }
}

/* Sidebar */

.dashboard-sidebar {
    background: var(--surface);
    border: 1px solid rgba(38, 35, 98, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.85rem;
    position: sticky;
    top: 5rem;
}

@media (max-width: 767.98px) {
    .dashboard-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }
}

.dashboard-sidebar .sidebar-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    padding: 0.55rem 0.85rem 0.5rem;
}

.dashboard-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--navy);
    font-weight: 600;
    border-radius: 0.6rem;
    padding: 0.55rem 0.85rem;
    margin-bottom: 0.15rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.dashboard-sidebar .nav-link .icon {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--muted);
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link:focus {
    background: var(--orange-soft);
    color: var(--orange-deep);
}

.dashboard-sidebar .nav-link:hover .icon,
.dashboard-sidebar .nav-link:focus .icon {
    color: var(--orange-deep);
}

.dashboard-sidebar .nav-link.active {
    background: var(--navy);
    color: #fff;
}

.dashboard-sidebar .nav-link.active .icon {
    color: var(--orange);
}

/* Open-ticket count shown next to the Tickets sidebar entry */

.dashboard-sidebar .sidebar-badge {
    margin-left: auto;
    min-width: 1.4rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--orange-soft);
    color: var(--orange-deep);
    border: 1px solid rgba(247, 148, 29, 0.4);
}

.dashboard-sidebar .nav-link.active .sidebar-badge {
    background: var(--orange);
    color: var(--navy);
}

/* Page + section headers */

.dash-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(38, 35, 98, 0.1);
}

.dash-page-header h1 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0;
}

.dash-subtitle {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.dash-section-header h4 {
    margin: 0;
    font-weight: 800;
}

/* Panels (generic white card) */

.dash-panel {
    background: var(--surface);
    border: 1px solid rgba(38, 35, 98, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.dash-panel-title {
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Forms */

.dash-form-card {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 46rem;
}

.dash-form-card .form-label {
    font-weight: 600;
}

/* Tables */

.dash-table-wrap {
    background: var(--surface);
    border: 1px solid rgba(38, 35, 98, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.dash-table-wrap .table {
    margin: 0;
}

.dash-table-wrap .table > :not(caption) > * > * {
    padding: 0.75rem 1.1rem;
}

.dash-table-wrap .table thead th {
    background: var(--surface-alt);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 0;
    white-space: nowrap;
}

.dash-table-wrap .table tbody tr:not(.table-danger):hover > * {
    background: rgba(247, 148, 29, 0.06);
}

/* Stat cards */

.stat-card {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card .card-body {
    padding: 1.1rem 1.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0.75rem;
    background: var(--orange-soft);
    color: var(--orange-deep);
}

/* Status badges — colour picked by data-status, so pages stay markup-light */

.badge-status {
    display: inline-block;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.28rem 0.7rem;
    background: rgba(38, 35, 98, 0.08);
    color: var(--muted);
    white-space: nowrap;
}

.badge-status[data-status="Active"],
.badge-status[data-status="Released"],
.badge-status[data-status="paid"],
.badge-status[data-status="Completed"] {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.badge-status[data-status="Lead"],
.badge-status[data-status="Idea"],
.badge-status[data-status="InProgress"] {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.badge-status[data-status="Beta"],
.badge-status[data-status="due"] {
    background: rgba(247, 148, 29, 0.14);
    color: var(--orange-deep);
}

.badge-status[data-status="OnHold"] {
    background: rgba(255, 193, 7, 0.18);
    color: #a47800;
}

.badge-status[data-status="overdue"] {
    background: rgba(220, 53, 69, 0.12);
    color: var(--bs-danger, #dc3545);
}

.badge-status[data-status="Cancelled"] {
    background: rgba(220, 53, 69, 0.1);
    color: var(--bs-danger, #dc3545);
}

/* Ticket statuses */
.badge-status[data-status="Open"] {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.badge-status[data-status="Resolved"] {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.badge-status[data-status="Closed"],
.badge-status[data-status="Archived"] {
    background: rgba(38, 35, 98, 0.08);
    color: var(--muted);
}

/* ---------- Client portal tiles ---------- */

.portal-tile {
    display: block;
    border: 1px solid rgba(38, 35, 98, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--navy);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.portal-tile:hover,
.portal-tile:focus {
    transform: translateY(-3px);
    border-color: var(--orange);
    box-shadow: 0 10px 24px rgba(38, 35, 98, 0.12);
    color: var(--navy);
}

.portal-tile .tile-client {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--orange-deep);
}

.portal-tile .tile-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.portal-tile .tile-meta {
    font-size: 0.82rem;
    color: var(--muted);
    border-top: 1px solid rgba(38, 35, 98, 0.08);
    padding-top: 0.75rem;
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--navy-deep);
    flex-shrink: 0;
}

.footer-brand img {
    height: 34px;
    width: auto;
    background: #fff;
    padding: 4px 8px;
    border-radius: 0.4rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.93rem;
    max-width: 21rem;
}

.footer-heading {
    color: var(--orange);
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.88rem;
}

/* ---------- Small screens ---------- */

@media (max-width: 576px) {
    .hero-section {
        min-height: 320px;
    }

    .btn-navbar-cta {
        display: none !important;
    }

    .geo-corner {
        width: 200px;
        height: 200px;
    }
}
