@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #e8f7ff;
    --bg-strong: #d7eefc;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-soft: rgba(245, 252, 255, 0.92);
    --line: rgba(22, 78, 111, 0.1);
    --line-strong: rgba(22, 78, 111, 0.18);
    --text: #12324a;
    --text-soft: #5b7e98;
    --navy: #12324a;
    --navy-strong: #0b2235;
    --teal: #54bde8;
    --teal-soft: rgba(84, 189, 232, 0.16);
    --amber: #ffc96f;
    --amber-soft: rgba(255, 201, 111, 0.2);
    --coral: #ff9e85;
    --coral-soft: rgba(255, 158, 133, 0.18);
    --success: #198754;
    --danger: #dc3545;
    --warning: #fd7e14;
    --radius-xxl: 34px;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shadow-xl: 0 32px 90px rgba(10, 22, 38, 0.16);
    --shadow-lg: 0 24px 60px rgba(10, 22, 38, 0.13);
    --shadow-md: 0 16px 36px rgba(10, 22, 38, 0.1);
    --shadow-sm: 0 10px 20px rgba(10, 22, 38, 0.08);
    --transition-fast: 180ms ease;
    --transition-slow: 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 2000;
    transform: translateY(-140%);
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    padding: 0.65rem 1rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
    color: #fff;
}

.noscript-notice {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(190, 117, 17, 0.28);
    border-radius: 16px;
    background: #fff8e8;
    color: #704b0b;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: "Plus Jakarta Sans", "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 12%, rgba(84, 189, 232, 0.2), transparent 24%),
        radial-gradient(circle at 88% 8%, rgba(255, 201, 111, 0.16), transparent 22%),
        radial-gradient(circle at 80% 72%, rgba(140, 225, 214, 0.16), transparent 18%),
        linear-gradient(180deg, #f9fdff 0%, var(--bg) 46%, #eef8fd 100%);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 50, 74, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 50, 74, 0.032) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.25;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 92%);
}

body::after {
    content: "";
    position: fixed;
    left: -10vw;
    right: -10vw;
    top: -16vh;
    height: 40vh;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 182, 93, 0.18), transparent 24%),
        radial-gradient(circle at 72% 34%, rgba(84, 189, 232, 0.24), transparent 26%);
    filter: blur(80px);
    opacity: 0.65;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand strong,
.brand-serif {
    margin-top: 0;
    font-family: "Fraunces", Georgia, serif;
    letter-spacing: -0.04em;
    color: var(--navy);
}

p {
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

img,
svg,
iframe,
video {
    display: block;
    max-width: 100%;
}

.invoice-panel {
    padding: clamp(1.5rem, 2vw, 2.4rem);
}

.invoice-meta-card,
.invoice-total-card {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 255, 0.94));
    box-shadow: var(--shadow-sm);
}

.invoice-meta-card {
    min-width: min(100%, 320px);
    display: grid;
    gap: 0.55rem;
}

.invoice-total-card {
    display: grid;
    gap: 0.9rem;
}

.invoice-total-card > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.invoice-total-card > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

@media print {
    .announcement-bar,
    .site-header,
    .site-footer,
    .whatsapp-float,
    .btn,
    .admin-topbar,
    .admin-sidebar {
        display: none !important;
    }

    body {
        background: #fff;
    }

    body::before,
    body::after {
        display: none;
    }

    .site-main .container,
    .invoice-panel {
        width: 100%;
        max-width: none;
        padding: 0;
        box-shadow: none;
        border: 0;
    }
}

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

.announcement-bar {
    position: relative;
    padding: 0.9rem 0;
    background:
        linear-gradient(90deg, rgba(35, 124, 175, 0.96), rgba(71, 176, 228, 0.94)),
        linear-gradient(135deg, rgba(180, 236, 255, 0.18), rgba(255, 201, 111, 0.14));
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    font-size: 0.94rem;
}

.announcement-bar::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.55), transparent);
}

.announcement-copy {
    font-weight: 600;
}

.announcement-contact {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.announcement-meta {
    color: rgba(255, 255, 255, 0.88);
}

.announcement-whatsapp,
.footer-whatsapp-link,
.whatsapp-inline-link,
.whatsapp-float {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-whatsapp {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.16);
    border: 1px solid rgba(37, 211, 102, 0.34);
    color: #fff;
    font-weight: 700;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.announcement-whatsapp:hover {
    transform: translateY(-1px);
    background: rgba(37, 211, 102, 0.24);
    color: #fff;
}

.announcement-whatsapp img,
.footer-whatsapp-link img,
.whatsapp-inline-link img,
.whatsapp-float img {
    flex-shrink: 0;
}

.site-header {
    position: relative;
    z-index: 1050;
    padding: 0.8rem 0 0.55rem;
}

.site-header .navbar {
    position: relative;
    width: min(1680px, calc(100% - 44px));
    margin: 0 auto;
    padding: 0.82rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 247, 255, 0.78)),
        radial-gradient(circle at 8% 20%, rgba(84, 189, 232, 0.18), transparent 34%),
        radial-gradient(circle at 92% 0%, rgba(255, 201, 111, 0.2), transparent 28%);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.site-header .navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 44%),
        linear-gradient(135deg, transparent 56%, rgba(15, 118, 110, 0.08) 100%);
    pointer-events: none;
}

.site-header .navbar > .container {
    max-width: none;
    padding-inline: 0;
    gap: 0.9rem;
}

.navbar-brand,
.navbar-collapse {
    position: relative;
    z-index: 1051;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 395px;
    gap: 0.78rem;
    min-width: 0;
    max-width: 395px;
    color: var(--navy);
}

.brand-mark-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(221, 244, 255, 0.92));
    border: 1px solid rgba(18, 50, 74, 0.08);
    box-shadow: 0 16px 30px rgba(10, 22, 38, 0.11);
    flex-shrink: 0;
}

.navbar-brand img {
    border-radius: 16px;
    box-shadow: none;
}

.navbar-brand strong {
    display: block;
    max-width: 100%;
    overflow: visible;
    font-size: clamp(1.12rem, 1.42vw, 1.58rem);
    line-height: 1.05;
    text-overflow: clip;
    white-space: normal;
}

.brand-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.brand-kicker {
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.navbar-brand small {
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.38;
}

.brand-tagline {
    max-width: 40ch;
}

.navbar-collapse {
    min-width: 0;
}

.navbar-toggler {
    border: 1px solid rgba(12, 30, 51, 0.12);
    border-radius: 18px;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.72);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(15, 118, 110, 0.14);
}

.nav-palette {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.72rem;
    min-width: 0;
    width: 100%;
}

.nav-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.22rem;
    padding: 0.34rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(84, 189, 232, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 14px 30px rgba(10, 22, 38, 0.07);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.62rem 0.82rem !important;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.42rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.nav-link.active,
.nav-link:hover {
    color: #0b425d;
    background: linear-gradient(135deg, rgba(84, 189, 232, 0.16), rgba(255, 255, 255, 0.78));
    transform: translateY(-1px);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.dropdown-toggle::after {
    position: static;
    display: inline-block;
    width: 0.48em;
    height: 0.48em;
    margin-left: 0.5rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    background: transparent;
    transform: rotate(45deg) translateY(-1px);
}

.nav-link.dropdown-toggle.active::after,
.nav-link.dropdown-toggle:hover::after {
    transform: rotate(45deg) translateY(-1px);
}

.nav-palette .dropdown-menu {
    z-index: 1060;
    min-width: 14rem;
    padding: 0.6rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
}

.nav-palette .dropdown.is-open > .dropdown-menu,
.nav-palette .dropdown:focus-within > .dropdown-menu,
.nav-palette .dropdown-menu.show {
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .nav-palette .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.nav-palette .dropdown-item {
    border-radius: 16px;
    padding: 0.75rem 0.9rem;
    color: var(--navy);
    font-weight: 800;
}

.nav-palette .dropdown-item:hover,
.nav-palette .dropdown-item:focus {
    color: #0b425d;
    background: linear-gradient(135deg, rgba(84, 189, 232, 0.16), rgba(255, 255, 255, 0.88));
}

.nav-link-home {
    color: #fff;
    background: linear-gradient(135deg, #0e8dbd, #0b6f9d 52%, #0a4260);
    box-shadow: 0 13px 24px rgba(14, 141, 189, 0.22);
}

.nav-link-home::after {
    display: none;
}

.nav-link-home.active,
.nav-link-home:hover {
    color: #fff;
    background: linear-gradient(135deg, #0a6e98, #0b4b70);
}

.nav-utility {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.62rem;
}

.btn-nav-download {
    color: var(--navy);
    min-height: 46px;
    padding: 0.72rem 0.95rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(226, 247, 255, 0.86));
    border: 1px solid rgba(84, 189, 232, 0.24);
    box-shadow: 0 12px 24px rgba(10, 22, 38, 0.08);
    white-space: nowrap;
}

.btn-nav-download:hover,
.btn-nav-download:focus {
    color: var(--navy-strong);
    background: #fff;
    border-color: rgba(84, 189, 232, 0.34);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding: 0.88rem 1.35rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(10, 22, 38, 0.14);
}

.btn-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--teal), #16918a 48%, #0d5e58 100%);
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.26);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #0d665f, #137c76 48%, #0a4c48 100%);
}

.btn-lg {
    padding: 1rem 1.6rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.62rem 1rem;
    font-size: 0.86rem;
}

.btn-outline-dark,
.btn-outline-secondary,
.btn-outline-danger,
.btn-outline-light {
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-dark {
    border-color: rgba(12, 30, 51, 0.16);
    color: var(--navy);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    border-color: rgba(12, 30, 51, 0.24);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.88);
}

.btn-outline-secondary {
    border-color: rgba(12, 30, 51, 0.14);
    color: var(--text-soft);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    border-color: rgba(12, 30, 51, 0.18);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.88);
}

.btn-outline-danger {
    border-color: rgba(220, 53, 69, 0.18);
    color: #b02a37;
    background: rgba(255, 255, 255, 0.82);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    color: #b02a37;
    border-color: rgba(220, 53, 69, 0.26);
    background: rgba(255, 245, 246, 0.96);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-cart {
    color: #fff;
    min-height: 46px;
    padding: 0.72rem 0.98rem;
    background: linear-gradient(135deg, var(--navy), #12385d);
    box-shadow: 0 16px 28px rgba(7, 18, 31, 0.2);
    white-space: nowrap;
}

.btn-cart:hover,
.btn-cart:focus {
    color: #fff;
    background: linear-gradient(135deg, #091728, #0d2e4d);
}

.btn-cart .badge {
    color: var(--navy) !important;
}

.site-main {
    padding-bottom: 3rem;
}

.home-slider-section {
    margin-top: 1.05rem;
}

.home-store-slider {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-xl);
}

.home-store-slider .carousel-inner,
.home-store-slider .carousel-item {
    height: clamp(380px, 34vw, 560px);
}

.home-slide-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    height: 100%;
    min-height: 100%;
    background:
        radial-gradient(circle at 84% 24%, rgba(84, 189, 232, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 247, 255, 0.9));
}

.home-slide-media {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.home-slide-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 60%, rgba(232, 247, 255, 0.9)),
        linear-gradient(0deg, rgba(18, 50, 74, 0.3), transparent 42%);
    pointer-events: none;
}

.home-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.home-slide-copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 1rem;
    padding: clamp(2rem, 4vw, 4.2rem);
}

.home-slide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 0.82rem;
    border-radius: 999px;
    background: rgba(84, 189, 232, 0.14);
    border: 1px solid rgba(84, 189, 232, 0.2);
    color: #0b6f9d;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-slide-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--amber));
    box-shadow: 0 0 0 5px rgba(84, 189, 232, 0.12);
}

.home-slide-copy h2 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(2.2rem, 4.8vw, 4.45rem);
    line-height: 0.95;
}

.home-slide-copy p {
    max-width: 54ch;
    margin: 0;
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 1.75;
}

.home-store-slider .carousel-indicators {
    right: auto;
    bottom: 1.3rem;
    left: clamp(1.4rem, 3vw, 3rem);
    justify-content: flex-start;
    margin: 0;
}

.home-store-slider .carousel-indicators [data-bs-target] {
    width: 28px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    opacity: 1;
}

.home-store-slider .carousel-indicators .active {
    width: 52px;
    background: linear-gradient(90deg, var(--teal), var(--amber));
}

.home-store-slider .carousel-control-prev,
.home-store-slider .carousel-control-next {
    width: 58px;
    height: 58px;
    top: 50%;
    margin-inline: 1.2rem;
    border-radius: 50%;
    background: rgba(18, 50, 74, 0.62);
    backdrop-filter: blur(12px);
    opacity: 1;
    transform: translateY(-50%);
}

.home-store-slider .carousel-control-prev:hover,
.home-store-slider .carousel-control-next:hover {
    background: rgba(18, 50, 74, 0.82);
}

.hero-section,
.section-block {
    position: relative;
    overflow: hidden;
}

.hero-section {
    margin-top: 1.25rem;
    padding: clamp(1.6rem, 3.4vw, 3.35rem);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius-xxl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 241, 0.74)),
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.06));
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.16), transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 14%, transparent 28%),
        linear-gradient(0deg, transparent 0%, rgba(255, 255, 255, 0.12) 10%, transparent 22%);
    opacity: 0.5;
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.52rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 107, 53, 0.14));
    border: 1px solid rgba(245, 158, 11, 0.18);
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber), var(--coral));
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
}

.hero-section h1,
.section-heading h1,
.section-heading h2 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 0.98;
    margin-bottom: 1rem;
}

.section-heading h1,
.section-heading h2 {
    line-height: 1.02;
    font-size: clamp(2rem, 3.3vw, 3rem);
}

.hero-copy,
.section-heading p,
.project-card-body p,
.content-panel p,
.detail-sidebar p,
.payment-method-card p {
    color: var(--text-soft);
    line-height: 1.78;
}

.hero-copy {
    max-width: 58ch;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
    margin-top: 1.8rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.85rem;
}

.hero-stats div {
    position: relative;
    padding: 1.1rem 1rem 1.2rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 245, 0.74));
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.hero-stats div::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0.75rem;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
}

.hero-stats strong {
    display: block;
    margin-top: 0.6rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--navy);
}

.hero-stats span {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.45rem;
}

.hero-proof-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(12, 30, 51, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-proof-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--amber));
}

.hero-visual {
    position: relative;
    padding: 1rem;
    border-radius: 32px;
    background: linear-gradient(180deg, #d9f3ff, #a9def6);
    box-shadow: 0 30px 70px rgba(40, 125, 171, 0.18);
    overflow: hidden;
    animation: float-panel 10s ease-in-out infinite;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.04) 100%);
    pointer-events: none;
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-caption-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.mini-note-card {
    position: relative;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.mini-note-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--teal), var(--amber), var(--coral));
}

.mini-note-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    color: var(--navy);
}

.mini-note-card span {
    display: block;
    color: var(--text-soft);
    line-height: 1.66;
    font-size: 0.92rem;
}

.section-block {
    margin-top: 2rem;
    padding: clamp(1.35rem, 2.7vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius-xxl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 244, 0.72)),
        linear-gradient(135deg, rgba(15, 118, 110, 0.04), transparent 36%, rgba(245, 158, 11, 0.05) 100%);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.section-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.26), transparent 25%, transparent 75%, rgba(255, 255, 255, 0.16));
    pointer-events: none;
}

.section-block.compact-top {
    margin-top: 1.2rem;
}

.section-heading {
    position: relative;
    margin-bottom: 1.5rem;
}

.section-heading p {
    max-width: 72ch;
}

.hero-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: min(100%, 620px);
}

.hero-search .form-control {
    flex: 1 1 270px;
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(18, 50, 74, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-sm);
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.filter-chip-link::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--amber));
}

.filter-chip-link:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 50, 74, 0.16);
    box-shadow: var(--shadow-md);
}

.assurance-card {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 251, 255, 0.9));
    box-shadow: var(--shadow-sm);
}

.assurance-card strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 1.04rem;
    color: var(--navy);
}

.assurance-card p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.category-tile,
.feature-panel,
.payment-panel,
.content-panel,
.detail-sidebar,
.project-card,
.status-card,
.checkout-summary,
.checkout-form,
.filter-panel,
.empty-state,
.dashboard-stat,
.auth-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 244, 0.84));
    box-shadow: var(--shadow-md);
}

.category-tile {
    display: block;
    height: 100%;
    padding: 1.35rem;
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-slow),
        border-color var(--transition-fast);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(15, 118, 110, 0.06), transparent 50%, rgba(245, 158, 11, 0.08));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.category-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.2);
    box-shadow: var(--shadow-lg);
}

.category-tile:hover::before {
    opacity: 1;
}

.category-label {
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--navy);
}

.category-description {
    position: relative;
    display: block;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.68;
}

.project-card {
    padding: 1.25rem;
    height: 100%;
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-slow),
        border-color var(--transition-fast);
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--teal), var(--amber), var(--coral));
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.16);
    box-shadow: var(--shadow-xl);
}

.featured-card {
    padding: 1.5rem;
}

.featured-card::after {
    content: "";
    position: absolute;
    right: -56px;
    top: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.13), transparent 70%);
    pointer-events: none;
}

.project-card-media,
.project-video-card,
.detail-gallery,
.gallery-card,
.payment-method-card {
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.project-card-media {
    position: relative;
    min-height: 260px;
    background: linear-gradient(145deg, rgba(10, 22, 38, 0.1), rgba(255, 255, 255, 0.96));
}

.project-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(7, 18, 31, 0.16));
    pointer-events: none;
}

.project-card-media img,
.detail-hero-image,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-media img {
    min-height: 260px;
    transition: transform 700ms ease;
}

.project-card:hover .project-card-media img {
    transform: scale(1.04);
}

.project-card-body h3 {
    font-size: 1.7rem;
    line-height: 1.06;
    margin-bottom: 0.8rem;
}

.project-video-card {
    padding: 0.75rem;
    min-height: 260px;
    background: linear-gradient(180deg, rgba(10, 22, 38, 0.08), rgba(255, 255, 255, 0.94));
}

.project-video-frame {
    width: 100%;
    min-height: 240px;
    border: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, #132949, #0c1b30);
}

video.project-video-frame {
    object-fit: cover;
}

.video-placeholder {
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 1.2rem;
    color: rgba(255, 255, 255, 0.84);
    border-radius: 22px;
    background: linear-gradient(135deg, #173456, #0d2037);
    text-align: center;
}

.info-grid {
    display: grid;
    gap: 0.8rem;
}

.info-grid > div {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.large-grid {
    gap: 1rem;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(245, 158, 11, 0.16));
    color: var(--navy);
    font-weight: 800;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(15, 118, 110, 0.1);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.8));
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
}

.tech-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--amber));
}

.feature-panel,
.payment-panel,
.content-panel,
.detail-sidebar,
.checkout-summary,
.checkout-form,
.filter-panel,
.empty-state,
.status-card,
.dashboard-stat {
    padding: 1.5rem;
}

.catalogue-toolbar {
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-sm);
}

.catalogue-toolbar-rich {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:
        radial-gradient(circle at 8% 12%, rgba(87, 193, 234, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 247, 255, 0.82));
}

.catalogue-toolbar-actions,
.catalogue-page-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.catalogue-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(87, 193, 234, 0.28);
    border-radius: 999px;
    background: rgba(232, 247, 255, 0.9);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalogue-count-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--teal));
    box-shadow: 0 0 0 5px rgba(87, 193, 234, 0.18);
}

.catalogue-pagination {
    padding: 1.1rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.12), transparent 24%),
        rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.catalogue-page-status {
    margin-bottom: 0.9rem;
    color: var(--text-soft);
    font-weight: 700;
    text-align: center;
}

.catalogue-page-links {
    justify-content: center;
}

.catalogue-page-link {
    min-width: 2.7rem;
}

.subject-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.subject-shortcut-card {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 150px;
    padding: 1.25rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(87, 193, 234, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 247, 255, 0.82));
    box-shadow: var(--shadow-md);
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-slow),
        border-color var(--transition-fast);
}

.subject-shortcut-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--sky), var(--teal), var(--amber));
}

.subject-shortcut-card:hover {
    transform: translateY(-5px);
    border-color: rgba(87, 193, 234, 0.25);
    box-shadow: var(--shadow-xl);
}

.subject-shortcut-card span,
.subject-shortcut-card strong,
.subject-shortcut-card small {
    position: relative;
    display: block;
}

.subject-shortcut-card span {
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.subject-shortcut-card strong {
    margin: 0.35rem 0;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1;
}

.subject-shortcut-card small {
    color: var(--text-soft);
    font-weight: 700;
    line-height: 1.55;
}

.subject-shortcut-card.accent {
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 232, 0.86));
}

.subject-hero {
    background:
        radial-gradient(circle at 12% 14%, rgba(87, 193, 234, 0.22), transparent 28%),
        radial-gradient(circle at 92% 4%, rgba(15, 118, 110, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.78));
}

.subject-hero-cs {
    background:
        radial-gradient(circle at 12% 14%, rgba(245, 158, 11, 0.18), transparent 28%),
        radial-gradient(circle at 92% 4%, rgba(87, 193, 234, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 232, 0.82));
}

.subject-tool-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 1.2rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.subject-tool-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.technology-hero {
    background:
        radial-gradient(circle at 12% 14%, rgba(87, 193, 234, 0.2), transparent 28%),
        radial-gradient(circle at 92% 4%, rgba(15, 118, 110, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.78));
}

.technology-hero-java {
    border-color: rgba(87, 193, 234, 0.18);
}

.technology-hero-mysql {
    border-color: rgba(15, 118, 110, 0.18);
}

.technology-hero-python {
    border-color: rgba(87, 193, 234, 0.2);
    background:
        radial-gradient(circle at 12% 14%, rgba(87, 193, 234, 0.24), transparent 28%),
        radial-gradient(circle at 92% 4%, rgba(245, 158, 11, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.82));
}

.technology-hero-panel,
.technology-project-card,
.technology-filter-panel {
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 252, 255, 0.86));
    box-shadow: var(--shadow-md);
}

.technology-hero-panel {
    padding: 1.5rem;
}

.technology-hero-icon {
    display: inline-grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
    border-radius: 26px;
    background: linear-gradient(135deg, #57c1ea, #0f766e);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 34px rgba(14, 141, 189, 0.2);
}

.technology-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.technology-stat-grid div {
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.technology-stat-grid strong {
    display: block;
    color: var(--navy);
    font-size: 1.35rem;
    line-height: 1;
}

.technology-stat-grid span {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.technology-filter-panel {
    padding: 1.2rem;
}

.technology-project-card {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-slow),
        border-color var(--transition-fast);
}

.technology-project-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--sky), var(--teal), var(--amber));
}

.technology-project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(87, 193, 234, 0.25);
    box-shadow: var(--shadow-xl);
}

.technology-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.technology-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(87, 193, 234, 0.15);
    color: #0b425d;
    font-weight: 900;
}

.technology-project-card h3 {
    font-size: 1.35rem;
    line-height: 1.14;
}

.technology-meta-stack {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.technology-meta-stack > div {
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--text-soft);
}

.technology-meta-stack strong {
    color: var(--navy);
}

.feature-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li,
.footer-links li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.35rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.feature-list li::before,
.footer-links li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber), var(--coral));
}

.payment-method-card {
    height: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.78);
}

.payment-method-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.08rem;
}

.detail-gallery {
    padding: 0.95rem;
    background: linear-gradient(180deg, rgba(10, 22, 38, 0.92), rgba(18, 45, 76, 0.94));
    box-shadow: var(--shadow-xl);
}

.gallery-card,
.payment-method-card {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-card:hover,
.payment-method-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gallery-card {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.92);
}

.gallery-card small {
    display: block;
    margin-top: 0.75rem;
    color: var(--text-soft);
}

.detail-hero-image {
    min-height: 360px;
    border-radius: 24px;
}

.detail-sidebar {
    position: sticky;
    top: 108px;
    padding: 1.75rem;
}

.detail-sidebar h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.detail-sidebar .lead {
    color: var(--text-soft) !important;
    font-size: 1.05rem;
}

.cart-table-wrapper,
.table-responsive {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(12, 30, 51, 0.1);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    background-color: transparent;
}

.table thead th {
    padding: 1rem 1.1rem;
    border-bottom-color: rgba(12, 30, 51, 0.12);
    color: var(--text-soft);
    font-size: 0.81rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.table tbody td {
    padding: 1rem 1.1rem;
    border-bottom-color: rgba(12, 30, 51, 0.08);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(15, 118, 110, 0.035);
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.cart-project img,
.table-thumb {
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(10, 22, 38, 0.14);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1.3rem 1.5rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(10, 22, 38, 0.94), rgba(20, 51, 83, 0.92));
    color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
}

.cart-summary span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
}

.cart-summary-total {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
}

.checkout-summary-item,
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(12, 30, 51, 0.08);
}

.checkout-summary-item small {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-soft);
}

.checkout-summary-item:last-child {
    border-bottom: 1px solid rgba(12, 30, 51, 0.08);
}

.checkout-summary-total {
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 1.08rem;
}

.checkout-experience {
    overflow: visible;
}

.checkout-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
    gap: 1.4rem;
    margin-bottom: 1.6rem;
    align-items: start;
}

.checkout-hero-copy {
    padding: clamp(1.4rem, 2vw, 2rem);
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xxl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 251, 255, 0.9)),
        rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.checkout-hero-copy h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(2.35rem, 4.5vw, 4rem);
    line-height: 0.95;
}

.checkout-hero-copy p {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

.checkout-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.45rem;
}

.checkout-progress-step {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(18, 50, 74, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-soft);
}

.checkout-progress-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(18, 50, 74, 0.08);
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 800;
}

.checkout-progress-step strong {
    font-size: 0.92rem;
    color: var(--navy);
}

.checkout-progress-step.is-active {
    border-color: rgba(84, 189, 232, 0.3);
    background: linear-gradient(145deg, rgba(84, 189, 232, 0.14), rgba(255, 255, 255, 0.88));
    box-shadow: var(--shadow-sm);
}

.checkout-progress-step.is-active span,
.checkout-progress-step.is-complete span {
    background: linear-gradient(135deg, var(--teal), #2f88b8);
    color: #fff;
}

.checkout-progress-step.is-complete {
    border-color: rgba(25, 135, 84, 0.16);
}

.checkout-proof-grid {
    display: grid;
    gap: 1rem;
}

.checkout-proof-card {
    padding: 1.25rem 1.2rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 252, 255, 0.92)),
        rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
}

.checkout-proof-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
    color: var(--navy);
}

.checkout-proof-card span {
    display: block;
    color: var(--text-soft);
    line-height: 1.65;
}

.checkout-shell {
    align-items: start;
}

.checkout-flow-card {
    display: grid;
    gap: 1.3rem;
    overflow: visible;
}

.checkout-section {
    padding: 1.4rem;
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.55);
}

.checkout-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-section-header h2 {
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
}

.checkout-section-header p {
    max-width: 360px;
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.checkout-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(84, 189, 232, 0.18), rgba(255, 201, 111, 0.18));
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-inline-note {
    height: 100%;
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(18, 50, 74, 0.14);
    border-radius: 18px;
    background: rgba(250, 253, 255, 0.72);
}

.checkout-inline-note strong,
.checkout-inline-note span {
    display: block;
}

.checkout-inline-note strong {
    margin-bottom: 0.35rem;
    color: var(--navy);
}

.checkout-inline-note span {
    color: var(--text-soft);
    line-height: 1.7;
}

.checkout-bundle-panel {
    padding: 1.25rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 252, 255, 0.9));
    border: 1px solid rgba(12, 30, 51, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.checkout-bundle-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-bundle-topline strong,
.checkout-bundle-topline span {
    display: block;
}

.checkout-bundle-topline span {
    margin-top: 0.25rem;
    color: var(--text-soft);
}

.checkout-bundle-list {
    display: grid;
    gap: 0.75rem;
}

.checkout-bundle-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(12, 30, 51, 0.07);
    background: rgba(255, 255, 255, 0.82);
}

.checkout-bundle-item strong,
.checkout-bundle-item span {
    display: block;
}

.checkout-bundle-item span {
    margin-top: 0.24rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.checkout-tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.checkout-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.checkout-method-card {
    position: relative;
    display: grid;
    gap: 0.5rem;
    min-height: 100%;
    padding: 1.1rem 1.1rem 1rem;
    border: 1px solid rgba(18, 50, 74, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.checkout-method-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.checkout-method-card:focus-within {
    border-color: rgba(84, 189, 232, 0.42);
    box-shadow: 0 0 0 4px rgba(84, 189, 232, 0.14);
}

.checkout-method-card.is-selected {
    border-color: rgba(84, 189, 232, 0.42);
    background: linear-gradient(150deg, rgba(84, 189, 232, 0.16), rgba(255, 255, 255, 0.95));
    box-shadow: var(--shadow-md);
}

.checkout-method-card.is-disabled {
    opacity: 0.66;
    cursor: not-allowed;
}

.checkout-method-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: inherit;
}

.checkout-method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.checkout-method-kicker {
    display: inline-flex;
    padding: 0.36rem 0.68rem;
    border-radius: 999px;
    background: rgba(18, 50, 74, 0.08);
    color: var(--navy);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-method-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-method-state.is-live {
    background: rgba(25, 135, 84, 0.12);
    color: #117547;
}

.checkout-method-state.is-pending {
    background: rgba(253, 126, 20, 0.14);
    color: #b45405;
}

.checkout-method-state.is-manual {
    background: rgba(18, 50, 74, 0.1);
    color: var(--navy);
}

.checkout-method-card strong {
    font-size: 1.08rem;
    color: var(--navy);
}

.checkout-method-card p,
.checkout-method-card small {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.68;
}

.checkout-reference-panel {
    background: linear-gradient(145deg, rgba(255, 251, 246, 0.94), rgba(255, 255, 255, 0.82));
}

.checkout-proof-upload {
    padding-top: 1rem;
    border-top: 1px dashed rgba(25, 94, 126, 0.18);
}

.checkout-proof-upload .form-control {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.82);
}

.checkout-submit-panel {
    background: linear-gradient(150deg, rgba(18, 50, 74, 0.96), rgba(30, 78, 116, 0.94));
    color: rgba(255, 255, 255, 0.88);
}

.checkout-submit-panel h2,
.checkout-submit-panel .checkout-step-badge,
.checkout-submit-panel .form-label {
    color: #fff;
}

.checkout-submit-panel .checkout-step-badge {
    background: rgba(255, 255, 255, 0.12);
}

.checkout-submit-panel .checkout-section-header p,
.checkout-submit-panel .form-text,
.checkout-submit-note,
.checkout-contact-strip span {
    color: rgba(255, 255, 255, 0.72);
}

.checkout-submit-panel .form-control {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.checkout-submit-panel .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.checkout-submit-panel .form-control:focus {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.checkout-submit-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-submit-actions .btn-outline-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.checkout-submit-actions .btn-outline-dark:hover {
    color: var(--navy);
    background: #fff;
    border-color: #fff;
}

.checkout-submit-note {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    line-height: 1.75;
}

.checkout-contact-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.checkout-contact-strip a {
    color: #fff;
    font-weight: 700;
}

.checkout-aside-stack {
    display: grid;
    gap: 1rem;
}

.checkout-sticky {
    position: sticky;
    top: 108px;
}

.checkout-summary-card {
    overflow: visible;
}

.checkout-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-summary-header h2 {
    margin-bottom: 0;
    font-size: 1.55rem;
}

.checkout-order-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(84, 189, 232, 0.18), rgba(255, 201, 111, 0.2));
    color: var(--navy);
    font-weight: 800;
}

.checkout-summary-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.checkout-summary-stat {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(18, 50, 74, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.checkout-summary-stat strong,
.checkout-summary-stat span {
    display: block;
}

.checkout-summary-stat strong {
    margin-bottom: 0.24rem;
    color: var(--navy);
    font-size: 1rem;
}

.checkout-summary-stat span {
    color: var(--text-soft);
    line-height: 1.5;
}

.checkout-summary-focus {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid rgba(12, 30, 51, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 255, 0.86));
}

.checkout-summary-focus-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.checkout-summary-focus strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 1.15rem;
}

.checkout-summary-focus p {
    margin-top: 0.6rem;
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.72;
}

.checkout-payment-panel {
    display: none;
}

.checkout-payment-panel.is-active {
    display: block;
}

.checkout-payment-panel p {
    line-height: 1.75;
}

.checkout-support-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(239, 250, 255, 0.92));
}

.checkout-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkout-support-meta {
    display: grid;
    gap: 0.3rem;
    margin-top: 1rem;
    color: var(--text-soft);
}

.qr-image {
    width: min(100%, 260px);
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.status-card {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(1.7rem, 3vw, 2.3rem);
}

.success-card {
    border-color: rgba(25, 135, 84, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 246, 0.92)),
        rgba(25, 135, 84, 0.05);
}

.failed-card {
    border-color: rgba(220, 53, 69, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 245, 0.94)),
        rgba(220, 53, 69, 0.05);
}

.empty-state {
    padding: 3rem 1.6rem;
    text-align: center;
}

.empty-state h2 {
    margin-bottom: 0.75rem;
}

.timeline-list {
    display: grid;
    gap: 1rem;
}

.timeline-list div {
    position: relative;
    padding: 1rem 1.1rem 1rem 1.25rem;
    border: 1px solid rgba(12, 30, 51, 0.09);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.timeline-list div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--teal), var(--amber), var(--coral));
}

.faq-stack {
    display: grid;
    gap: 1rem;
}

.faq-card,
.support-step-card,
.account-action-card {
    position: relative;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.faq-card {
    padding: 1.1rem 1.15rem;
}

.faq-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.1rem;
}

.faq-card p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.72;
}

.support-checklist {
    display: grid;
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.support-checklist li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-soft);
    line-height: 1.72;
}

.support-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--amber));
    box-shadow: 0 0 0 5px rgba(84, 189, 232, 0.12);
}

.compact-checklist {
    gap: 0.72rem;
}

.account-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.account-action-card {
    display: block;
    height: 100%;
    padding: 1.15rem 1.1rem;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.account-action-card:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 50, 74, 0.18);
    box-shadow: var(--shadow-md);
}

.account-action-card strong,
.support-step-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--navy);
}

.account-action-card span,
.support-step-card span {
    display: block;
    color: var(--text-soft);
    line-height: 1.68;
    font-size: 0.94rem;
}

.support-steps {
    display: grid;
    gap: 1rem;
}

.support-step-card {
    padding: 1rem 1.05rem;
}

.whatsapp-inline-link {
    margin-left: 0.4rem;
    font-weight: 700;
    color: var(--teal);
}

.whatsapp-inline-link:hover {
    color: #0b8f58;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #169c4b);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(22, 156, 75, 0.28);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 24px 42px rgba(22, 156, 75, 0.34);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 94px;
    z-index: 79;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    pointer-events: none;
    background: linear-gradient(135deg, #123d5b, #1a789d);
    box-shadow: 0 16px 30px rgba(10, 47, 72, 0.22);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    transform: translateY(-3px) scale(1.04);
    background: linear-gradient(135deg, #0d324d, #1086b6);
    box-shadow: 0 22px 36px rgba(10, 47, 72, 0.28);
    color: #fff;
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(255, 201, 111, 0.92);
    outline-offset: 3px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    padding: 3rem 0 1.8rem;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(155deg, #0b3756 0%, #13597f 42%, #52bae7 100%);
    box-shadow: 0 -18px 50px rgba(18, 83, 122, 0.18);
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    left: -100px;
    top: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 72%);
}

.site-footer::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.22), transparent 72%);
}

.site-footer h5,
.site-footer h6 {
    color: #fff;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255, 255, 255, 0.76);
}

.footer-brand-block {
    margin-bottom: 1.2rem;
}

.footer-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer-links li a {
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links li a:hover {
    color: #fff;
}

.footer-whatsapp-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

.footer-whatsapp-link:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.94rem;
}

.auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(108, 204, 242, 0.28), transparent 24%),
        radial-gradient(circle at bottom right, rgba(255, 201, 111, 0.18), transparent 28%),
        linear-gradient(180deg, #eefbff 0%, #dceffd 100%);
}

.auth-card {
    width: min(100%, 500px);
    padding: 2rem;
}

.auth-footer {
    margin-top: 1.3rem;
    text-align: center;
    color: var(--text-soft);
}

.admin-body {
    background:
        radial-gradient(circle at top left, rgba(84, 189, 232, 0.18), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 201, 111, 0.16), transparent 22%),
        linear-gradient(180deg, #effaff 0%, #dbefff 100%);
}

.admin-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    color: rgba(18, 50, 74, 0.92);
    background:
        linear-gradient(180deg, rgba(246, 252, 255, 0.94) 0%, rgba(220, 241, 252, 0.98) 52%, rgba(174, 223, 245, 0.98) 100%);
    border-right: 1px solid rgba(84, 189, 232, 0.18);
    box-shadow: 22px 0 48px rgba(84, 189, 232, 0.08);
}

.admin-sidebar::before {
    content: "";
    position: absolute;
    right: -90px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 204, 242, 0.3), transparent 72%);
}

.admin-sidebar::after {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 201, 111, 0.24), transparent 72%);
}

.admin-brand,
.admin-nav {
    position: relative;
    z-index: 1;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(84, 189, 232, 0.18);
}

.admin-brand strong {
    color: var(--navy);
}

.admin-brand small {
    display: block;
    color: rgba(18, 50, 74, 0.62);
}

.admin-brand img {
    padding: 0.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 28px rgba(84, 189, 232, 0.16);
}

.admin-nav .nav-link {
    margin-bottom: 0.45rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    color: rgba(18, 50, 74, 0.84);
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(84, 189, 232, 0.08);
    transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.admin-nav .nav-link::after {
    display: none;
}

.admin-nav .nav-link.active,
.admin-nav .nav-link:hover {
    color: var(--navy);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(230, 247, 255, 0.96));
    box-shadow: 0 16px 26px rgba(84, 189, 232, 0.14);
    transform: translateX(4px);
}

.admin-sidebar-card {
    position: relative;
    z-index: 1;
    margin-top: 1.75rem;
    padding: 1.15rem;
    border: 1px solid rgba(84, 189, 232, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 20px 34px rgba(84, 189, 232, 0.12);
}

.admin-sidebar-kicker,
.admin-topbar-kicker,
.admin-hero-kicker,
.admin-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-sidebar-kicker {
    color: rgba(18, 50, 74, 0.56);
}

.admin-sidebar-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--navy);
    font-size: 1.06rem;
}

.admin-sidebar-card p {
    margin-bottom: 1rem;
    color: rgba(18, 50, 74, 0.72);
    line-height: 1.65;
    font-size: 0.92rem;
}

.admin-sidebar-card .btn-light {
    color: var(--navy);
    background: #fff;
    border-color: rgba(84, 189, 232, 0.18);
}

.admin-sidebar-card .btn-outline-light {
    border-color: rgba(84, 189, 232, 0.28);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.46);
}

.admin-sidebar-card .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
}

.admin-content {
    padding: 1.6rem;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
}

.admin-topbar-copy {
    max-width: 760px;
}

.admin-topbar-copy p {
    max-width: 80ch;
}

.admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 1.2rem;
    align-items: stretch;
    padding: clamp(1.35rem, 2.4vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius-xxl);
    background:
        linear-gradient(135deg, rgba(26, 78, 116, 0.94), rgba(95, 193, 236, 0.9)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 201, 111, 0.18), transparent 30%);
    color: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.admin-hero h2,
.admin-hero h3,
.admin-hero .price-tag,
.admin-hero strong {
    color: #fff;
}

.admin-hero-copy p {
    max-width: 68ch;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.72;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.admin-hero-side {
    display: grid;
    gap: 0.9rem;
    align-content: center;
}

.admin-hero .mini-note-card {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.admin-hero .mini-note-card strong {
    color: #fff;
}

.admin-hero .mini-note-card span {
    color: rgba(255, 255, 255, 0.72);
}

.admin-summary-grid,
.admin-action-grid,
.admin-metric-grid {
    display: grid;
    gap: 1rem;
}

.admin-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.admin-action-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 180px;
    padding: 1.2rem;
    border: 1px solid rgba(12, 30, 51, 0.1);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 244, 0.84));
    box-shadow: var(--shadow-md);
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.admin-action-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: var(--shadow-lg);
}

.admin-action-tile strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.12rem;
}

.admin-action-tile p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.68;
}

.dashboard-command-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.24), transparent 22%),
        radial-gradient(circle at 88% 18%, rgba(255, 201, 111, 0.2), transparent 26%),
        linear-gradient(135deg, #0e3a56 0%, #126d96 44%, #5fc1ec 100%);
}

.dashboard-score-panel {
    display: grid;
    align-content: center;
    gap: 1rem;
}

.dashboard-score-orb {
    width: min(100%, 260px);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.42), transparent 25%),
        conic-gradient(from 180deg, rgba(255, 201, 111, 0.98), rgba(84, 189, 232, 0.98), rgba(255, 255, 255, 0.7), rgba(255, 201, 111, 0.98));
    box-shadow:
        inset 0 0 0 14px rgba(255, 255, 255, 0.18),
        0 24px 42px rgba(7, 18, 31, 0.18);
}

.dashboard-score-orb span,
.dashboard-score-orb strong {
    display: block;
    color: #08304a;
}

.dashboard-score-orb span {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-score-orb strong {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 0.92;
}

.dashboard-score-list {
    display: grid;
    gap: 0.55rem;
}

.dashboard-score-list span {
    display: flex;
    justify-content: center;
    padding: 0.58rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-kpi-card {
    position: relative;
    min-height: 170px;
    display: grid;
    align-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(84, 189, 232, 0.14);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.86)),
        radial-gradient(circle at 85% 18%, rgba(84, 189, 232, 0.16), transparent 36%);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.dashboard-kpi-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: rgba(84, 189, 232, 0.15);
}

.dashboard-kpi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(84, 189, 232, 0.28);
    box-shadow: var(--shadow-lg);
}

.dashboard-kpi-card.is-hot {
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 232, 0.9)),
        radial-gradient(circle at 85% 18%, rgba(255, 158, 133, 0.18), transparent 36%);
    border-color: rgba(255, 158, 133, 0.22);
}

.dashboard-kpi-card.is-money {
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(239, 255, 247, 0.92)),
        radial-gradient(circle at 85% 18%, rgba(25, 135, 84, 0.14), transparent 36%);
    border-color: rgba(25, 135, 84, 0.18);
}

.dashboard-kpi-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-kpi-card strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--navy);
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 0.95;
}

.dashboard-kpi-card small {
    position: relative;
    z-index: 1;
    color: var(--text-soft);
    line-height: 1.55;
}

.dashboard-priority-stack,
.dashboard-progress-stack,
.dashboard-order-stack,
.dashboard-health-list {
    display: grid;
    gap: 0.9rem;
}

.dashboard-priority-card,
.dashboard-order-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.dashboard-priority-card:hover,
.dashboard-order-card:hover {
    transform: translateY(-2px);
    border-color: rgba(84, 189, 232, 0.2);
    box-shadow: var(--shadow-md);
}

.dashboard-priority-card strong,
.dashboard-order-card strong {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--navy);
}

.dashboard-priority-card span,
.dashboard-order-card span,
.dashboard-order-card small {
    display: block;
    color: var(--text-soft);
    line-height: 1.55;
}

.dashboard-priority-card em {
    flex-shrink: 0;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(84, 189, 232, 0.12);
    color: var(--navy);
    font-style: normal;
    font-weight: 900;
    font-size: 0.8rem;
}

.dashboard-priority-card.is-danger {
    border-color: rgba(220, 53, 69, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 244, 0.9));
}

.dashboard-priority-card.is-warning {
    border-color: rgba(253, 126, 20, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 236, 0.9));
}

.dashboard-priority-card.is-success {
    border-color: rgba(25, 135, 84, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 255, 247, 0.9));
}

.dashboard-priority-card.is-info {
    border-color: rgba(84, 189, 232, 0.2);
}

.dashboard-progress-row {
    display: grid;
    gap: 0.52rem;
}

.dashboard-progress-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--navy);
    font-weight: 800;
}

.dashboard-progress-row span {
    color: var(--text-soft);
}

.dashboard-progress-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(18, 50, 74, 0.08);
}

.dashboard-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal), #16918a, var(--amber));
}

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

.dashboard-health-score {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy), #126d96);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.dashboard-health-score strong {
    display: block;
    color: #fff;
    font-family: "Fraunces", Georgia, serif;
    font-size: 2.7rem;
    line-height: 1;
}

.dashboard-health-score span {
    color: rgba(255, 255, 255, 0.76);
}

.dashboard-order-card > div:last-child {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.dashboard-project-item {
    align-items: center;
}

.dashboard-activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.admin-section-header p {
    margin-bottom: 0;
}

.admin-toolbar-card {
    padding: 1.2rem;
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
}

.admin-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-filter-grid .filter-wide {
    grid-column: span 2;
}

.admin-chip-row,
.admin-meta-stack,
.admin-badge-stack,
.admin-checkbox-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-inline-stack {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.admin-surface-note,
.admin-helper-text {
    color: var(--text-soft);
    line-height: 1.68;
}

.admin-list-stack {
    display: grid;
    gap: 0.95rem;
}

.admin-list-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(12, 30, 51, 0.08);
}

.admin-list-item:first-child {
    padding-top: 0;
}

.admin-list-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-list-item p,
.admin-list-item small {
    color: var(--text-soft);
}

.admin-form-layout {
    display: grid;
    gap: 1.25rem;
}

.admin-form-section + .admin-form-section {
    margin-top: 1rem;
}

.admin-form-section h2,
.admin-form-section h3 {
    margin-bottom: 0.35rem;
}

.admin-form-section .content-panel + .content-panel {
    margin-top: 1.25rem;
}

.admin-guidance-list {
    display: grid;
    gap: 0.8rem;
}

.admin-guidance-list .mini-note-card {
    min-height: 100%;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 30, 51, 0.12);
    background: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
}

.admin-data-table .table td > strong,
.admin-data-table .table td strong {
    color: var(--navy);
}

.admin-table-note {
    display: block;
    margin-top: 0.28rem;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.58;
}

.admin-order-actions,
.admin-order-actions form,
.admin-payment-actions {
    display: grid;
    gap: 0.65rem;
}

.admin-project-queue {
    display: grid;
    gap: 1rem;
}

.admin-project-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 2.1fr) minmax(250px, 1.15fr) minmax(220px, 0.95fr);
    gap: 1rem;
    align-items: stretch;
    padding: 1.1rem;
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-sm);
}

.admin-project-order {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.admin-project-main {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    min-width: 0;
}

.admin-project-media {
    width: 96px;
}

.admin-project-media .table-thumb {
    width: 96px;
    height: 96px;
}

.admin-project-copy {
    min-width: 0;
}

.admin-project-copy h3 {
    margin-bottom: 0.35rem;
    font-size: 1.45rem;
    line-height: 1.28;
    word-break: break-word;
}

.admin-project-slug {
    margin-bottom: 0.65rem;
    color: var(--text-soft);
    font-size: 0.92rem;
    word-break: break-word;
}

.admin-project-description {
    margin-bottom: 0.8rem;
    color: var(--text);
    line-height: 1.65;
}

.admin-project-meta {
    display: grid;
    gap: 0.85rem;
}

.admin-project-meta .mini-note-card {
    height: 100%;
}

.admin-project-side {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.admin-project-side-block {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
}

.admin-project-price {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.4rem;
    color: var(--navy);
}

.admin-project-updated {
    margin: 0;
    color: var(--text);
    line-height: 1.55;
}

.admin-project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.admin-project-actions form {
    margin: 0;
}

.admin-form-grid {
    display: grid;
    gap: 1rem;
}

.slider-admin-item {
    align-items: center;
}

.slider-admin-thumb {
    width: 150px;
    height: 92px;
    flex: 0 0 150px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(84, 189, 232, 0.18);
    box-shadow: var(--shadow-sm);
}

.slider-admin-copy {
    min-width: 0;
    flex: 1 1 260px;
}

.slider-admin-copy p,
.slider-admin-copy small {
    color: var(--text-soft);
}

.admin-asset-preview-link {
    font-weight: 700;
    color: var(--teal);
}

.dashboard-stat small {
    display: block;
    margin-top: 0.7rem;
    color: var(--text-soft);
    line-height: 1.56;
}

.dashboard-stat {
    height: 100%;
}

.dashboard-stat span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-soft);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.dashboard-stat strong {
    font-size: 2.15rem;
    color: var(--navy);
}

.admin-preview-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 18px;
}

.admin-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-preview-grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
}

.payment-update-form textarea {
    min-height: 88px;
    resize: vertical;
}

.form-label {
    margin-bottom: 0.45rem;
    color: var(--navy);
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 54px;
    border-radius: 18px;
    border-color: rgba(12, 30, 51, 0.14);
    background: rgba(255, 255, 255, 0.88);
    padding: 0.85rem 1rem;
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

textarea.form-control {
    min-height: auto;
}

.form-control-sm,
.form-select-sm {
    min-height: 42px;
    padding: 0.58rem 0.8rem;
    border-radius: 14px;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 118, 110, 0.34);
    box-shadow:
        0 0 0 0.2rem rgba(15, 118, 110, 0.14),
        0 12px 24px rgba(15, 118, 110, 0.08);
    background: #fff;
}

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

.badge {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.badge.text-bg-light {
    border: 1px solid rgba(12, 30, 51, 0.12);
    background: rgba(255, 255, 255, 0.78) !important;
    color: var(--navy) !important;
}

.badge.text-bg-primary {
    background: linear-gradient(135deg, var(--teal), #178c85) !important;
}

.badge.text-bg-dark {
    background: linear-gradient(135deg, var(--navy), #12385d) !important;
}

.site-main .alert,
.admin-content .alert {
    border: 1px solid rgba(12, 30, 51, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.list-group-item {
    background: transparent;
    border-color: rgba(12, 30, 51, 0.08);
}

.reveal-ready {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    transition:
        opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes float-panel {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal-ready {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1199px) {
    .site-header .navbar {
        width: min(100% - 32px, 1240px);
    }

    .navbar-brand {
        flex-basis: 345px;
        max-width: 345px;
    }

    .brand-tagline {
        display: none;
    }

    .nav-link {
        padding: 0.58rem 0.68rem !important;
        font-size: 0.86rem;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .detail-sidebar {
        position: static;
    }

    .admin-hero,
    .admin-summary-grid,
    .admin-action-grid,
    .admin-filter-grid,
    .dashboard-kpi-grid,
    .dashboard-activity-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-command-hero {
        grid-template-columns: 1fr;
    }

    .admin-project-row {
        grid-template-columns: 140px minmax(0, 1.8fr) minmax(0, 1fr);
    }

    .admin-project-side {
        grid-column: 2 / span 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .site-header .navbar {
        border-radius: 28px;
        padding: 0.95rem;
    }

    .navbar-brand {
        max-width: 100%;
    }

    #mainMenu {
        padding-top: 1rem;
    }

    .nav-palette {
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
    }

    .nav-menu {
        justify-content: stretch;
        border-radius: 24px;
    }

    .nav-palette .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.45rem;
        text-align: center;
    }

    .nav-menu .nav-item,
    .nav-link {
        width: 100%;
    }

    .nav-link {
        justify-content: center;
    }

    .nav-utility {
        display: grid;
        gap: 0.75rem;
    }

    .nav-utility .btn {
        width: 100%;
    }

    .hero-section h1,
    .section-heading h1,
    .section-heading h2,
    .detail-sidebar h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .home-slide-card {
        grid-template-columns: 1fr;
    }

    .home-store-slider .carousel-inner,
    .home-store-slider .carousel-item {
        height: auto;
    }

    .home-slide-media {
        height: 260px;
        min-height: 260px;
    }

    .home-slide-media::after {
        background: linear-gradient(0deg, rgba(232, 247, 255, 0.94), transparent 54%);
    }

    .home-slide-copy h2 {
        max-width: 13ch;
        font-size: clamp(2rem, 8vw, 3.3rem);
    }

    .hero-stats,
    .hero-caption-grid {
        grid-template-columns: 1fr;
    }

    .account-quick-actions {
        grid-template-columns: 1fr;
    }

    .footer-bottom,
    .cart-summary,
    .catalogue-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar,
    .admin-list-item,
    .dashboard-priority-card,
    .dashboard-order-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-order-card > div:last-child {
        justify-items: start;
    }

    .admin-topbar-actions {
        justify-content: flex-start;
    }

    .admin-hero,
    .admin-summary-grid,
    .admin-action-grid,
    .admin-metric-grid,
    .admin-filter-grid,
    .subject-shortcut-grid,
    .subject-tool-panel,
    .dashboard-kpi-grid,
    .dashboard-action-grid,
    .dashboard-activity-grid {
        grid-template-columns: 1fr;
    }

    .subject-tool-actions {
        justify-content: flex-start;
    }

    .admin-filter-grid .filter-wide {
        grid-column: auto;
    }

    .admin-project-row,
    .admin-project-main,
    .admin-project-side {
        grid-template-columns: 1fr;
    }

    .admin-project-side {
        grid-column: auto;
    }

    .admin-project-media {
        width: 100%;
        max-width: 96px;
    }

    .technology-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-order-actions form .btn,
    .admin-project-actions .btn,
    .admin-project-actions form .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .announcement-contact {
        width: 100%;
        justify-content: center;
    }

    .announcement-whatsapp,
    .whatsapp-float {
        width: auto;
    }

    .section-block,
    .hero-section,
    .home-store-slider,
    .project-card,
    .content-panel,
    .detail-sidebar,
    .status-card,
    .filter-panel,
    .checkout-form,
    .checkout-summary,
    .auth-card {
        padding: 1.25rem;
    }

    .home-store-slider {
        padding: 0;
        border-radius: 26px;
    }

    .home-slide-card {
        min-height: auto;
    }

    .home-slide-media {
        height: 215px;
        min-height: 215px;
    }

    .home-slide-copy {
        padding: 1.35rem;
    }

    .home-slide-copy .btn {
        width: 100%;
    }

    .home-store-slider .carousel-control-prev,
    .home-store-slider .carousel-control-next {
        width: 44px;
        height: 44px;
        margin-inline: 0.55rem;
    }

    .hero-actions,
    .hero-proof-list {
        gap: 0.7rem;
    }

    .filter-chip-row {
        gap: 0.6rem;
    }

    .filter-chip-link {
        width: 100%;
        justify-content: center;
    }

    .hero-proof-list span,
    .btn {
        width: 100%;
    }

    .brand-mark-shell {
        width: 60px;
        height: 60px;
        border-radius: 18px;
    }

    .navbar-brand strong {
        font-size: 1.35rem;
    }

    .brand-tagline {
        max-width: none;
    }

    .project-video-frame,
    .video-placeholder {
        min-height: 220px;
    }

    .detail-hero-image {
        min-height: 280px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        padding: 0.72rem 0.92rem;
    }

    .checkout-hero {
        grid-template-columns: 1fr;
    }

    .checkout-progress,
    .checkout-method-grid,
    .checkout-summary-stat-row {
        grid-template-columns: 1fr;
    }

    .checkout-section-header,
    .checkout-bundle-topline,
    .checkout-summary-header {
        flex-direction: column;
    }

    .checkout-submit-actions,
    .checkout-support-actions {
        width: 100%;
    }

    .checkout-submit-actions .btn,
    .checkout-support-actions .btn {
        width: 100%;
    }
}

.apk-download-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(84, 189, 232, 0.22);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 247, 255, 0.96));
    box-shadow: var(--shadow-sm);
}

.apk-download-badge {
    min-width: 62px;
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(18, 50, 74, 0.96), rgba(84, 189, 232, 0.9));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.apk-download-copy {
    display: grid;
    gap: 0.35rem;
}

.apk-download-copy strong {
    font-size: 1.04rem;
    color: var(--navy);
}

.apk-download-copy span,
.app-download-warning {
    color: var(--text-soft);
}

.app-download-warning {
    font-weight: 600;
}

.custom-request-form .form-label {
    font-weight: 700;
}

.custom-request-payment-panel {
    padding: 1.3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(18, 50, 74, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 255, 0.96));
    box-shadow: var(--shadow-sm);
}

.advance-preview-card {
    min-width: 220px;
    padding: 1rem 1.15rem;
    display: grid;
    gap: 0.45rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(84, 189, 232, 0.24);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.advance-preview-card strong {
    color: var(--navy);
}

.advance-preview-card span {
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--teal);
}

.custom-request-admin-grid {
    display: grid;
    gap: 1.25rem;
}

.custom-request-admin-card .info-grid.large-grid {
    margin-top: 1rem;
}

.custom-request-admin-actions {
    width: min(100%, 360px);
    flex: 0 0 min(100%, 360px);
}

.custom-request-admin-actions form {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 255, 0.96));
    box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
    .apk-download-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .apk-download-card .btn {
        width: 100%;
    }

    .custom-request-admin-actions {
        width: 100%;
        flex-basis: 100%;
    }
}

/* Header anti-overlap hardening for long site names and crowded menus. */
.site-header .navbar > .container {
    align-items: center;
    flex-wrap: nowrap;
}

.navbar-brand,
.brand-copy {
    overflow: hidden;
}

.navbar-brand strong,
.brand-kicker,
.brand-tagline {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-brand strong,
.brand-tagline {
    white-space: nowrap;
}

.navbar-collapse {
    flex: 1 1 auto;
}

.nav-palette {
    flex-wrap: nowrap;
}

.nav-menu {
    flex: 1 1 auto;
    min-width: 0;
    row-gap: 0.28rem;
}

.nav-utility {
    margin-left: 0.2rem;
}

@media (min-width: 1600px) {
    .navbar-brand {
        flex-basis: clamp(300px, 24vw, 420px);
        max-width: clamp(300px, 24vw, 420px);
    }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .site-header .navbar > .container {
        flex-wrap: wrap;
    }

    .navbar-brand {
        flex: 1 1 calc(100% - 86px);
        max-width: calc(100% - 86px);
    }

    .brand-tagline {
        display: none;
    }

    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    #mainMenu {
        padding-top: 0.72rem;
    }

    .nav-palette {
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu {
        justify-content: flex-start;
        border-radius: 24px;
    }

    .nav-link {
        min-height: 40px;
        padding: 0.54rem 0.66rem !important;
        font-size: 0.84rem;
    }

    .nav-utility {
        margin-left: auto;
    }

    .btn-nav-download,
    .btn-cart {
        min-height: 42px;
        padding: 0.6rem 0.78rem;
        font-size: 0.86rem;
    }
}

@media (max-width: 1199.98px) {
    .site-header .navbar > .container {
        flex-wrap: wrap;
    }

    .navbar-brand {
        flex: 1 1 calc(100% - 76px);
        max-width: calc(100% - 76px);
    }

    .brand-tagline {
        display: none;
    }

    .navbar-toggler {
        margin-left: auto;
    }
}

@media (max-width: 575.98px) {
    .site-header .navbar {
        width: min(100% - 18px, 1240px);
        padding: 0.72rem;
        border-radius: 24px;
    }

    .brand-mark-shell {
        width: 52px;
        height: 52px;
        border-radius: 18px;
    }

    .navbar-brand {
        gap: 0.58rem;
    }

    .brand-kicker {
        display: none;
    }

    .navbar-brand strong {
        font-size: 1.08rem;
    }
}

/* Recruitment examination portal */
.recruitment-hero,
.recruitment-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(1.2rem, 4vw, 3.25rem);
    align-items: center;
    overflow: hidden;
    padding: clamp(1.35rem, 4vw, 3.4rem);
    border: 1px solid rgba(27, 103, 144, 0.18);
    border-radius: var(--radius-xxl);
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 199, 93, 0.28), transparent 22rem),
        radial-gradient(circle at 8% 88%, rgba(78, 200, 230, 0.2), transparent 24rem),
        linear-gradient(135deg, #fbfeff, #e5f6fc 58%, #f7fcff);
    box-shadow: var(--shadow-lg);
}

.recruitment-hero h1,
.recruitment-dashboard-hero h1 {
    max-width: 17ch;
    margin: 0.45rem 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.03;
}

.recruitment-hero p,
.recruitment-dashboard-hero p { max-width: 700px; color: #547386; line-height: 1.75; }

.recruitment-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.recruitment-hero-grid span {
    display: grid;
    gap: 0.45rem;
    min-height: 116px;
    padding: 1.1rem;
    border: 1px solid rgba(15, 79, 111, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    color: #385f75;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.recruitment-hero-grid b { color: #1e91c4; font-size: 1.35rem; }

.recruitment-notice-grid,
.recruitment-application-grid,
.recruitment-allocation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.recruitment-notice-card,
.recruitment-application-card,
.recruitment-allocation-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid rgba(20, 76, 106, 0.12);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.recruitment-notice-card:hover,
.recruitment-application-card:hover,
.recruitment-allocation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.recruitment-notice-card h2,
.recruitment-application-card h3,
.recruitment-allocation-card h3 { margin: 0.5rem 0; font-size: 1.35rem; }
.recruitment-notice-card > .btn { margin-top: auto; align-self: flex-start; }
.recruitment-notice-code { color: #39718e; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }

.recruitment-notice-card dl,
.recruitment-allocation-card dl { display: grid; gap: 0.58rem; margin: 1rem 0; }
.recruitment-notice-card dl div,
.recruitment-allocation-card dl div { display: grid; grid-template-columns: minmax(82px, 0.5fr) 1fr; gap: 0.75rem; }
.recruitment-notice-card dt,
.recruitment-allocation-card dt { color: #658396; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.recruitment-notice-card dd,
.recruitment-allocation-card dd { margin: 0; color: #244b62; font-weight: 700; }

.recruitment-status-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(22, 84, 116, 0.13);
    border-radius: 22px;
    background: rgba(22, 84, 116, 0.12);
    box-shadow: var(--shadow-sm);
}
.recruitment-status-strip div { display: grid; gap: 0.25rem; padding: 1rem 1.15rem; background: rgba(255, 255, 255, 0.88); }
.recruitment-status-strip strong { color: var(--navy); font-size: 1.35rem; }
.recruitment-status-strip span { color: #668497; font-size: 0.78rem; font-weight: 750; }
.recruitment-card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; color: #547386; font-size: 0.78rem; font-weight: 750; }
.recruitment-card-meta span { padding: 0.38rem 0.55rem; border-radius: 999px; background: #edf8fc; }
.recruitment-payment-mini { padding-top: 1rem; border-top: 1px solid rgba(18, 50, 74, 0.1); }

.recruitment-integrity-note { border-color: rgba(22, 113, 150, 0.2); background: linear-gradient(135deg, #f9feff, #e6f8fb); }
.recruitment-application-form { max-width: 1100px; margin: 0 auto; }
.recruitment-admit-card { max-width: 1060px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid rgba(16, 67, 98, 0.16); border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); }.recruitment-admit-card > header { display: flex; justify-content: space-between; gap: 1.25rem; padding-bottom: 1.25rem; border-bottom: 2px solid #dceff6; }.recruitment-admit-card h1 { margin: 0.45rem 0; font-size: clamp(1.5rem, 3.6vw, 2.7rem); }.recruitment-admit-card header p { max-width: 720px; margin-bottom: 0; color: #58788b; }.recruitment-admit-card-code { display: grid; align-content: start; min-width: 170px; padding: 1rem; border-radius: 18px; background: #e9f8fd; text-align: center; }.recruitment-admit-card-code strong { color: #123e5a; font-size: 1.2rem; }.recruitment-admit-card-code span { color: #5f8195; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }.recruitment-admit-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr) 180px; gap: 1.5rem; align-items: start; padding: 1.5rem 0; }.recruitment-candidate-photo { display: grid; place-items: center; min-height: 180px; overflow: hidden; border: 1px solid #cce7f2; border-radius: 16px; background: #f1fafc; color: #66869a; font-size: 0.8rem; text-align: center; }.recruitment-candidate-photo img { width: 100%; height: 180px; object-fit: cover; }.recruitment-admit-grid dl { display: grid; gap: 0.65rem; margin: 0; }.recruitment-admit-grid dl div, .recruitment-verification-list div { display: grid; grid-template-columns: minmax(130px, 0.4fr) 1fr; gap: 0.8rem; }.recruitment-admit-grid dt, .recruitment-verification-list dt { color: #658497; font-size: 0.72rem; font-weight: 850; text-transform: uppercase; }.recruitment-admit-grid dd, .recruitment-verification-list dd { margin: 0; color: #244c63; font-weight: 700; }.recruitment-qr-card { display: grid; gap: 0.65rem; padding: 0.65rem; border: 1px solid #cce7f2; border-radius: 16px; background: #f8fdff; }.recruitment-qr-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }.recruitment-qr-card small { color: #66869a; font-size: 0.68rem; line-height: 1.4; }.recruitment-admit-instructions { padding: 1.25rem; border-radius: 18px; background: #f6fbfd; }.recruitment-admit-instructions h2 { font-size: 1.05rem; }.recruitment-admit-instructions ol { margin-bottom: 0; color: #4d7084; line-height: 1.7; }.recruitment-verification-list { display: grid; gap: 0.72rem; margin: 1.5rem 0 0; }.recruitment-scorecard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-top: 1.5rem; border-radius: 18px; background: #cbe7f2; }.recruitment-scorecard div { display: grid; gap: 0.35rem; padding: 1.2rem; background: #f8fdff; }.recruitment-scorecard strong { color: #123e5a; font-size: 1.35rem; }.recruitment-scorecard span { color: #66869a; font-size: 0.75rem; font-weight: 800; }

.recruitment-test-shell { width: min(1460px, calc(100% - 2rem)); max-width: none; margin: 0 auto; }
.recruitment-test-topbar { position: sticky; top: 0.5rem; z-index: 30; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(13, 56, 84, 0.15); border-radius: 22px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-md); backdrop-filter: blur(14px); }
.recruitment-test-topbar h1 { margin: 0.25rem 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.recruitment-test-topbar p { margin: 0; color: #5c7a8d; font-size: 0.85rem; }
.recruitment-test-status { display: grid; min-width: 152px; justify-items: end; gap: 0.3rem; }
.recruitment-test-status span { color: #28714f; font-size: 0.76rem; font-weight: 850; }
.recruitment-test-status span.is-saving { color: #a56c0b; }.recruitment-test-status span.is-failed { color: #a34728; }
.recruitment-test-status strong { padding: 0.48rem 0.7rem; border-radius: 12px; background: #103a57; color: #fff; font-variant-numeric: tabular-nums; }
.recruitment-test-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 1rem; align-items: start; }
.recruitment-palette-panel { position: sticky; top: 7rem; padding: 1.15rem; border: 1px solid rgba(13, 56, 84, 0.12); border-radius: 22px; background: rgba(255, 255, 255, 0.88); box-shadow: var(--shadow-sm); }
.recruitment-palette-panel h2 { margin: 0; font-size: 1.1rem; }
.recruitment-palette { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.recruitment-palette-button { min-height: 39px; border: 1px solid transparent; border-radius: 11px; background: #e9eff3; color: #38596d; font-size: 0.78rem; font-weight: 850; }
.recruitment-palette-button.is-current { border-color: #133f5d; background: #133f5d; color: #fff; }.recruitment-palette-button.is-answered { background: #d6f2e3; color: #16633d; }.recruitment-palette-button.is-review { background: #f8ddae; color: #774b00; }.recruitment-palette-button.is-unanswered { background: #fde1dc; color: #9a3d2c; }.recruitment-palette-button.is-not-visited { background: #e9eff3; color: #526f80; }
.recruitment-palette-legend { display: grid; gap: 0.38rem; margin-top: 1rem; color: #617e90; font-size: 0.73rem; font-weight: 750; }.recruitment-palette-legend span::before { display: inline-block; width: 9px; height: 9px; margin-right: 0.45rem; border-radius: 50%; content: ""; }.recruitment-palette-legend .is-current::before { background: #133f5d; }.recruitment-palette-legend .is-answered::before { background: #46b878; }.recruitment-palette-legend .is-review::before { background: #e9aa37; }.recruitment-palette-legend .is-unanswered::before { background: #e27b64; }.recruitment-palette-legend .is-not-visited::before { background: #a5b6c1; }
.recruitment-question-panel { min-height: 560px; padding: clamp(1.15rem, 3vw, 2.5rem); border: 1px solid rgba(13, 56, 84, 0.12); border-radius: 25px; background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-md); }
.recruitment-question-count { color: #4e778e; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }.recruitment-question-panel h2 { max-width: 880px; margin: 1.2rem 0 1.5rem; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.45; letter-spacing: -0.02em; }
.recruitment-options { display: grid; gap: 0.72rem; }.recruitment-option { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.95rem 1rem; border: 1px solid rgba(16, 67, 98, 0.13); border-radius: 16px; cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast); }.recruitment-option:hover { border-color: rgba(42, 150, 197, 0.55); background: #f1fbff; }.recruitment-option input { margin-top: 0.2rem; accent-color: #168bc1; }.recruitment-option span { color: #24485e; font-weight: 650; line-height: 1.5; }.recruitment-numeric-label { display: grid; gap: 0.5rem; max-width: 460px; color: #365f75; font-weight: 800; }
.recruitment-question-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: space-between; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(16, 67, 98, 0.1); }.recruitment-submit-summary { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 14px; background: #f0f9fc; color: #315e76; font-weight: 750; }

@media (max-width: 991.98px) {
    .recruitment-hero, .recruitment-dashboard-hero, .recruitment-test-layout { grid-template-columns: 1fr; }
    .recruitment-notice-grid, .recruitment-application-grid, .recruitment-allocation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recruitment-palette-panel { position: static; }.recruitment-palette { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .recruitment-notice-grid, .recruitment-application-grid, .recruitment-allocation-grid, .recruitment-status-strip { grid-template-columns: 1fr; }
    .recruitment-admit-card > header { flex-direction: column; }.recruitment-admit-grid { grid-template-columns: 1fr; }.recruitment-candidate-photo { width: 150px; }.recruitment-qr-card { max-width: 190px; }.recruitment-scorecard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .recruitment-test-shell { width: min(100% - 1rem, 1460px); padding-left: 0; padding-right: 0; }.recruitment-test-topbar { position: static; flex-direction: column; }.recruitment-test-status { justify-items: start; }.recruitment-palette { grid-template-columns: repeat(6, minmax(0, 1fr)); }.recruitment-question-actions { align-items: stretch; flex-direction: column; }.recruitment-question-actions .btn { width: 100%; }
}

/* Elite commerce header final pass: compact, non-overlapping, review-ready navigation. */
.announcement-bar {
    padding: 0.65rem 0;
    background:
        radial-gradient(circle at 6% 50%, rgba(255, 255, 255, 0.2), transparent 24%),
        linear-gradient(90deg, #0f78a6 0%, #49bde9 56%, #76d6f5 100%);
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: min(1540px, calc(100% - 32px));
}

.announcement-left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    min-width: 0;
}

.announcement-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}

.announcement-copy {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}

.announcement-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.announcement-contact {
    flex-shrink: 0;
    padding: 0.36rem 0.48rem 0.36rem 0.82rem;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.announcement-whatsapp {
    min-height: 34px;
    padding: 0.35rem 0.76rem;
    background: rgba(37, 211, 102, 0.86);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 20px rgba(8, 80, 52, 0.18);
}

.site-header {
    padding: 0.72rem 0 0.45rem;
}

.site-header .navbar {
    width: min(1540px, calc(100% - 32px));
    padding: 0.72rem;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 249, 255, 0.9)),
        radial-gradient(circle at 3% 12%, rgba(84, 189, 232, 0.18), transparent 28%),
        radial-gradient(circle at 96% 0%, rgba(255, 201, 111, 0.17), transparent 28%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 48px rgba(10, 22, 38, 0.12);
}

.site-header .navbar > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.8rem;
    max-width: none;
}

.navbar-brand {
    flex: 0 1 370px;
    max-width: 370px;
    gap: 0.68rem;
}

.brand-mark-shell {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(216, 244, 255, 0.94)),
        radial-gradient(circle at 72% 24%, rgba(255, 201, 111, 0.24), transparent 34%);
}

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

.brand-copy {
    min-width: 0;
    gap: 0.1rem;
}

.brand-kicker {
    color: #0f78a6;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
}

.navbar-brand strong {
    max-width: 100%;
    color: #102f48;
    font-size: clamp(1.08rem, 1.26vw, 1.38rem);
    line-height: 1.02;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-tagline {
    max-width: 34ch;
    overflow: hidden;
    color: #5c7d96;
    font-size: 0.74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 46px;
    color: #11324a;
    font-weight: 900;
}

.navbar-toggler-label {
    font-size: 0.82rem;
}

.navbar-collapse {
    flex: 1 1 auto;
    min-width: 0;
}

.nav-palette {
    justify-content: flex-end;
    gap: 0.58rem;
}

.nav-menu {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 0.16rem;
    min-width: 0;
    padding: 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(84, 189, 232, 0.2);
}

.nav-link {
    min-height: 40px;
    padding: 0.5rem 0.68rem !important;
    color: #55758d;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0;
}

.nav-link.active,
.nav-link:hover {
    color: #0d344d;
    background: linear-gradient(135deg, rgba(84, 189, 232, 0.2), rgba(255, 255, 255, 0.86));
}

.nav-link-home {
    padding-inline: 0.84rem !important;
    color: #0c4664;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(202, 242, 255, 0.96)),
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.92), transparent 44%);
    border: 1px solid rgba(84, 189, 232, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 22px rgba(45, 170, 220, 0.16);
}

.nav-link-home::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 0.46rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #57c8ef, #ffc967);
    box-shadow: 0 0 0 4px rgba(87, 200, 239, 0.13);
}

.nav-link-home.active,
.nav-link-home:hover {
    color: #073c58;
    background:
        linear-gradient(135deg, #dff7ff, #ffffff 48%, #fff5df),
        radial-gradient(circle at 85% 0%, rgba(255, 201, 103, 0.24), transparent 34%);
    border-color: rgba(84, 189, 232, 0.46);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 14px 30px rgba(45, 170, 220, 0.22);
}

.nav-palette .dropdown-menu {
    min-width: 15.5rem;
    padding: 0.62rem;
    border-radius: 22px;
    border: 1px solid rgba(18, 50, 74, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
}

.nav-palette .dropdown-item {
    display: flex;
    align-items: center;
    min-height: 42px;
    border-radius: 15px;
    font-size: 0.88rem;
    font-weight: 850;
}

.nav-utility {
    gap: 0.48rem;
    margin-left: 0;
}

.btn-nav-download,
.btn-cart {
    min-height: 42px;
    padding: 0.58rem 0.86rem;
    font-size: 0.84rem;
}

.btn-nav-download {
    color: #0d4a63;
    background: linear-gradient(135deg, #ffffff, #e6f8ff);
    border-color: rgba(84, 189, 232, 0.28);
}

.btn-cart {
    background: linear-gradient(135deg, #102f48, #0d74a4);
}

.homepage-visual-showcase {
    margin-top: 1.25rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(229, 248, 255, 0.9)),
        radial-gradient(circle at 14% 0%, rgba(84, 189, 232, 0.14), transparent 34%),
        radial-gradient(circle at 92% 14%, rgba(255, 201, 111, 0.16), transparent 30%);
}

.homepage-visual-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.visual-showcase-card {
    position: relative;
    grid-column: span 4;
    min-height: 220px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 249, 255, 0.9));
    box-shadow: 0 18px 38px rgba(10, 22, 38, 0.1);
}

.visual-showcase-feature {
    grid-column: span 6;
    min-height: 270px;
}

.visual-showcase-wide {
    grid-column: span 6;
}

.visual-showcase-strip {
    grid-column: span 8;
    min-height: 150px;
}

.visual-showcase-tile {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 150px;
    padding: 1.2rem;
}

.visual-showcase-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 500ms ease;
}

.visual-showcase-tile img {
    width: min(100%, 190px);
    height: auto;
    min-height: 0;
    object-fit: contain;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
}

.visual-showcase-card:hover img {
    transform: scale(1.045);
}

.visual-showcase-copy {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(16, 47, 72, 0.88), rgba(13, 116, 164, 0.72)),
        rgba(16, 47, 72, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.visual-showcase-copy strong {
    color: #fff;
    font-size: 0.96rem;
}

.visual-showcase-copy span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    line-height: 1.45;
}

.visual-showcase-tile .visual-showcase-copy,
.visual-showcase-strip .visual-showcase-copy {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(222, 246, 255, 0.9)),
        rgba(255, 255, 255, 0.9);
    color: var(--navy);
}

.visual-showcase-tile .visual-showcase-copy strong,
.visual-showcase-strip .visual-showcase-copy strong {
    color: var(--navy);
}

.visual-showcase-tile .visual-showcase-copy span,
.visual-showcase-strip .visual-showcase-copy span {
    color: var(--text-soft);
}

@media (max-width: 1199.98px) {
    .visual-showcase-card,
    .visual-showcase-wide,
    .visual-showcase-feature {
        grid-column: span 6;
    }

    .visual-showcase-strip {
        grid-column: span 12;
    }
}

@media (max-width: 767.98px) {
    .homepage-visual-grid {
        grid-template-columns: 1fr;
    }

    .visual-showcase-card,
    .visual-showcase-wide,
    .visual-showcase-feature,
    .visual-showcase-strip,
    .visual-showcase-tile {
        grid-column: auto;
        min-height: 210px;
    }

    .visual-showcase-strip,
    .visual-showcase-tile {
        min-height: 170px;
    }

    .visual-showcase-copy {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .navbar > .container {
        flex-wrap: wrap;
    }

    .navbar-brand {
        flex: 1 1 calc(100% - 86px);
        max-width: calc(100% - 86px);
    }

    .brand-tagline {
        display: block;
        max-width: 60ch;
    }

    .navbar-collapse {
        flex-basis: 100%;
    }

    #mainMenu {
        padding-top: 0.68rem;
    }

    .nav-palette {
        justify-content: space-between;
    }

    .nav-menu {
        flex-wrap: wrap;
        border-radius: 24px;
    }
}

@media (max-width: 1199.98px) {
    .announcement-bar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.64rem;
    }

    .announcement-left,
    .announcement-contact {
        justify-content: center;
    }

    .site-header .navbar > .container {
        flex-wrap: wrap;
    }

    .navbar-brand {
        flex: 1 1 calc(100% - 88px);
        max-width: calc(100% - 88px);
    }

    .brand-tagline {
        display: none;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    #mainMenu {
        padding-top: 0.85rem;
    }

    .nav-palette {
        flex-direction: column;
        align-items: stretch;
        gap: 0.78rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: stretch;
        border-radius: 24px;
        padding: 0.44rem;
    }

    .nav-menu .nav-item {
        flex: 1 1 180px;
    }

    .nav-link {
        justify-content: center;
        width: 100%;
        min-height: 44px;
    }

    .nav-palette .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.42rem;
        text-align: center;
    }

    .nav-utility {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.62rem;
    }

    .nav-utility .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .announcement-bar .container,
    .site-header .navbar {
        width: min(100% - 18px, 1540px);
    }

    .announcement-left {
        display: grid;
        justify-items: center;
    }

    .announcement-pill {
        display: none;
    }

    .announcement-contact {
        border-radius: 22px;
        text-align: center;
    }

    .site-header .navbar {
        border-radius: 24px;
        padding: 0.66rem;
    }

    .brand-mark-shell {
        width: 50px;
        height: 50px;
        border-radius: 17px;
    }

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

    .navbar-brand {
        flex-basis: calc(100% - 80px);
        max-width: calc(100% - 80px);
    }

    .brand-kicker {
        display: none;
    }

    .navbar-brand strong {
        font-size: 1rem;
    }

    .navbar-toggler-label {
        display: none;
    }

    .nav-menu .nav-item {
        flex-basis: 100%;
    }

    .nav-utility {
        grid-template-columns: 1fr;
    }
}

.btn-nav-finder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(215, 244, 255, 0.94));
    border-color: rgba(84, 189, 232, 0.35);
    color: var(--navy);
}

.project-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.js-project-save.is-active,
.js-project-compare.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.compare-tray,
.pwa-install-card {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    z-index: 1080;
    width: min(420px, calc(100vw - 2rem));
    border: 1px solid rgba(84, 189, 232, 0.28);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 249, 255, 0.94)),
        radial-gradient(circle at 8% 12%, rgba(84, 189, 232, 0.18), transparent 34%);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.compare-tray {
    bottom: 1rem;
    padding: 1rem;
}

.compare-tray-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.compare-tray-header strong,
.pwa-install-copy strong {
    display: block;
    color: var(--navy);
    font-weight: 800;
}

.compare-tray-header span,
.pwa-install-copy span,
.compare-tray-item small {
    display: block;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.compare-tray-close {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: rgba(18, 50, 74, 0.08);
    color: var(--navy);
    font-weight: 800;
}

.compare-tray-list {
    display: grid;
    gap: 0.55rem;
}

.compare-tray-item {
    display: block;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(18, 50, 74, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.compare-tray-item span {
    display: block;
    color: var(--navy);
    font-weight: 800;
}

.pwa-install-card {
    bottom: 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
}

.pwa-install-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--teal), #8ee7ff);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(84, 189, 232, 0.28);
}

.pwa-install-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.offline-shell h1,
.smart-finder-hero h1 {
    max-width: 760px;
}

.offline-card,
.finder-panel {
    border: 1px solid rgba(84, 189, 232, 0.2);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 249, 255, 0.84)),
        radial-gradient(circle at top right, rgba(255, 201, 111, 0.14), transparent 40%);
    box-shadow: var(--shadow-md);
}

.offline-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.finder-project-card {
    height: 100%;
}

.saved-projects-note {
    border: 1px solid rgba(84, 189, 232, 0.22);
    border-radius: var(--radius-xl);
    padding: clamp(1.2rem, 3vw, 2rem);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(230, 247, 255, 0.88)),
        radial-gradient(circle at 10% 10%, rgba(84, 189, 232, 0.18), transparent 38%);
    box-shadow: var(--shadow-md);
}

.saved-projects-note strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-size: 1.15rem;
}

.local-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.local-project-panel {
    min-height: 340px;
}

.local-project-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.local-project-panel-head h3 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.local-project-list {
    display: grid;
    gap: 0.85rem;
}

.local-project-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 0.85rem;
    align-items: stretch;
    border: 1px solid rgba(18, 50, 74, 0.09);
    border-radius: 20px;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.78);
}

.local-project-card img {
    width: 86px;
    height: 100%;
    min-height: 88px;
    object-fit: cover;
    border-radius: 16px;
    background: var(--surface-soft);
}

.local-project-card-copy {
    min-width: 0;
}

.local-project-card-copy strong,
.local-project-card-copy span,
.local-project-card-copy small {
    display: block;
}

.local-project-card-copy strong {
    color: var(--navy);
    font-weight: 900;
    line-height: 1.25;
}

.local-project-card-copy span,
.local-project-card-copy small {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.local-project-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.local-project-price {
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    background: var(--amber-soft);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 900;
}

.local-project-empty {
    display: grid;
    gap: 0.25rem;
    place-items: center;
    min-height: 180px;
    border: 1px dashed rgba(84, 189, 232, 0.35);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.56);
    color: var(--text-soft);
    text-align: center;
    padding: 1rem;
}

.local-project-empty strong {
    color: var(--navy);
}

.go-live-record-list {
    display: grid;
    gap: 1rem;
}

.go-live-record-list > div {
    border: 1px solid rgba(18, 50, 74, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
}

.go-live-record-list strong,
.go-live-record-list code {
    display: block;
}

.go-live-record-list strong {
    margin-bottom: 0.45rem;
    color: var(--navy);
}

.go-live-record-list code {
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text);
}

@media (max-width: 767.98px) {
    .compare-tray,
    .pwa-install-card {
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .compare-tray,
    .pwa-install-card {
        bottom: 0.75rem;
    }
}

@media (max-width: 1199.98px) {
    .local-project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .local-project-card {
        grid-template-columns: 1fr;
    }

    .local-project-card img {
        width: 100%;
        height: 150px;
    }
}

/* Premium homepage polish: top-fold marketplace experience. */
.premium-hero-section {
    isolation: isolate;
    margin-top: 1.05rem;
    padding: clamp(1.25rem, 2.8vw, 2.8rem);
    color: #102f48;
    background:
        radial-gradient(circle at 78% 12%, rgba(87, 193, 234, 0.24), transparent 28%),
        radial-gradient(circle at 5% 90%, rgba(255, 201, 111, 0.2), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 248, 255, 0.9) 52%, rgba(255, 249, 235, 0.78));
    border-color: rgba(255, 255, 255, 0.8);
}

.premium-hero-section::before {
    width: min(560px, 42vw);
    height: min(560px, 42vw);
    top: -18%;
    right: -8%;
    background:
        radial-gradient(circle, rgba(87, 193, 234, 0.22), transparent 62%),
        conic-gradient(from 120deg, rgba(255, 255, 255, 0.62), rgba(255, 201, 111, 0.2), rgba(87, 193, 234, 0.26), rgba(255, 255, 255, 0.62));
    filter: blur(2px);
    opacity: 0.95;
}

.premium-hero-section::after {
    z-index: -1;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.22), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.18)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.54), transparent 48%);
    opacity: 1;
}

.premium-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(1.4rem, 3vw, 3rem);
    align-items: center;
}

.premium-hero-copy {
    min-width: 0;
}

.hero-trust-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.hero-trust-rail span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.78rem;
    border: 1px solid rgba(87, 193, 234, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #0d6687;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(18, 50, 74, 0.06);
}

.premium-hero-section h1 {
    max-width: 12ch;
    color: #143750;
    font-size: clamp(2.7rem, 5.6vw, 5.6rem);
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.premium-hero-section .hero-copy {
    max-width: 62ch;
    color: #43657d;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.hero-actions-premium .btn {
    min-height: 52px;
    border-radius: 999px;
    font-weight: 900;
}

.hero-actions-premium .btn-primary {
    background: linear-gradient(135deg, #0d74a4, #10a6b4 52%, #0f766e);
    box-shadow: 0 18px 34px rgba(13, 116, 164, 0.26);
}

.premium-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-hero-stats div {
    border-color: rgba(87, 193, 234, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 249, 255, 0.82)),
        radial-gradient(circle at top right, rgba(255, 201, 111, 0.18), transparent 45%);
}

.premium-hero-stats strong {
    color: #0d5d82;
}

.premium-proof-list span {
    border-color: rgba(87, 193, 234, 0.18);
    color: #12324a;
    background: rgba(255, 255, 255, 0.78);
}

.premium-hero-media {
    position: relative;
    display: grid;
    gap: 1rem;
    min-width: 0;
    padding: clamp(0.45rem, 1vw, 1rem);
}

.premium-visual-frame {
    min-height: 390px;
    padding: clamp(0.8rem, 1.6vw, 1.25rem);
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
        linear-gradient(135deg, #dff8ff, #9fddf5 54%, #c8eefb);
    box-shadow:
        0 32px 74px rgba(13, 116, 164, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.premium-visual-frame img {
    height: 100%;
    min-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(18, 50, 74, 0.12));
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    width: min(230px, 48%);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 42px rgba(18, 50, 74, 0.14);
    backdrop-filter: blur(16px);
}

.hero-floating-card strong,
.hero-floating-card span {
    display: block;
}

.hero-floating-card strong {
    color: #12324a;
    font-weight: 950;
}

.hero-floating-card span {
    margin-top: 0.28rem;
    color: #59768c;
    font-size: 0.82rem;
    line-height: 1.45;
}

.hero-floating-card-top {
    top: 3%;
    right: 0;
}

.hero-floating-card-bottom {
    left: 0;
    bottom: 28%;
}

.premium-finder-card {
    position: relative;
    z-index: 4;
    margin-inline: clamp(0rem, 3vw, 2.5rem) 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(87, 193, 234, 0.2);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 250, 255, 0.92)),
        radial-gradient(circle at 96% 0%, rgba(255, 201, 111, 0.18), transparent 34%);
    box-shadow: 0 22px 48px rgba(18, 50, 74, 0.12);
}

.finder-kicker {
    color: #0d74a4;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.premium-finder-card h2 {
    margin: 0.35rem 0 0.95rem;
    color: #12324a;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.finder-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.finder-card-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(87, 193, 234, 0.16);
    border-radius: 16px;
    color: #12324a;
    background: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.finder-card-grid a::after {
    content: ">";
    color: #0d74a4;
}

.finder-card-grid a:hover,
.finder-card-grid a:focus {
    background: #fff;
    box-shadow: 0 12px 24px rgba(13, 116, 164, 0.12);
    transform: translateY(-2px);
}

.premium-readiness-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.premium-readiness-strip article {
    position: relative;
    min-height: 100%;
    padding: 1.1rem;
    border: 1px solid rgba(87, 193, 234, 0.18);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 250, 255, 0.76)),
        radial-gradient(circle at 100% 0%, rgba(255, 201, 111, 0.14), transparent 38%);
    box-shadow: 0 16px 34px rgba(18, 50, 74, 0.08);
}

.premium-readiness-strip article span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 0.85rem;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0d74a4, #10a6b4);
    font-size: 0.82rem;
    font-weight: 950;
    box-shadow: 0 12px 22px rgba(13, 116, 164, 0.2);
}

.premium-readiness-strip article strong {
    display: block;
    color: #12324a;
    font-size: 1rem;
    font-weight: 950;
}

.premium-readiness-strip article p {
    margin: 0.45rem 0 0;
    color: #5d788c;
    font-size: 0.9rem;
    line-height: 1.62;
}

.premium-slider-section {
    margin-top: 1.45rem;
}

@media (max-width: 1199.98px) {
    .premium-hero-grid {
        grid-template-columns: 1fr;
    }

    .premium-hero-section h1 {
        max-width: 14ch;
    }

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

@media (max-width: 767.98px) {
    .premium-hero-section {
        padding: 1rem;
        border-radius: 28px;
    }

    .premium-hero-section h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 12vw, 3.6rem);
        line-height: 0.98;
    }

    .hero-actions-premium .btn {
        width: 100%;
    }

    .premium-hero-stats,
    .premium-readiness-strip,
    .finder-card-grid {
        grid-template-columns: 1fr;
    }

    .premium-hero-media {
        padding: 0;
    }

    .premium-visual-frame {
        min-height: 270px;
        border-radius: 26px;
    }

    .premium-visual-frame img {
        min-height: 240px;
    }

    .hero-floating-card {
        position: relative;
        inset: auto;
        width: 100%;
    }

    .premium-finder-card {
        margin-inline: 0;
    }
}

/* Store confidence system: package badges, testimonials, and checkout help. */
.project-quality-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.32rem 0.62rem;
    border: 1px solid rgba(21, 64, 91, 0.12);
    border-radius: 999px;
    color: #244c65;
    background: #f4f9fc;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: 0.015em;
    box-shadow: 0 5px 14px rgba(18, 50, 74, 0.045);
}

.quality-badge::before {
    width: 7px;
    height: 7px;
    margin-right: 0.42rem;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: 0.72;
}

.quality-badge-success {
    color: #0f6a4c;
    border-color: rgba(20, 151, 103, 0.2);
    background: #eafaf3;
}

.quality-badge-info,
.quality-badge-primary {
    color: #09698f;
    border-color: rgba(30, 155, 205, 0.2);
    background: #eaf8ff;
}

.quality-badge-warning {
    color: #8b5a08;
    border-color: rgba(226, 159, 44, 0.22);
    background: #fff8e9;
}

.quality-badge-secure {
    color: #204d74;
    border-color: rgba(32, 77, 116, 0.18);
    background: linear-gradient(135deg, #eef7ff, #f5fbff);
}

.project-quality-badges-large .quality-badge {
    min-height: 32px;
    padding: 0.4rem 0.72rem;
    font-size: 0.76rem;
}

.testimonial-section {
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2.7rem);
    border: 1px solid rgba(87, 193, 234, 0.16);
    border-radius: 34px;
    background:
        radial-gradient(circle at 100% 0%, rgba(87, 193, 234, 0.2), transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(255, 201, 111, 0.16), transparent 26%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(235, 249, 255, 0.88));
    box-shadow: 0 24px 60px rgba(17, 55, 78, 0.09);
}

.testimonial-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(13, 116, 164, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: #315a73;
    box-shadow: 0 12px 30px rgba(17, 55, 78, 0.07);
}

.testimonial-rating span {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.testimonial-rating strong {
    color: #0b729f;
    font-size: 1.15rem;
}

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

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: clamp(1.15rem, 2vw, 1.55rem);
    border: 1px solid rgba(18, 76, 106, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 38px rgba(16, 54, 78, 0.07);
}

.testimonial-stars {
    margin-bottom: 1rem;
    color: #e99620;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
}

.testimonial-card blockquote {
    flex: 1;
    margin: 0 0 1.15rem;
    color: #163a51;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.6;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    color: #12364f;
}

.testimonial-card span {
    margin-top: 0.2rem;
    color: #648197;
    font-size: 0.82rem;
}

.checkout-faq-section {
    padding-top: 0;
}

.checkout-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.checkout-faq-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.9rem;
    min-height: 160px;
    padding: 1.2rem;
    border: 1px solid rgba(24, 89, 122, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(87, 193, 234, 0.13), transparent 34%),
        #ffffff;
    box-shadow: 0 16px 36px rgba(18, 52, 74, 0.07);
}

.checkout-faq-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #0c7fab, #12a7b3);
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(12, 127, 171, 0.2);
}

.checkout-faq-card h3 {
    margin: 0 0 0.45rem;
    color: #153a52;
    font-size: 1rem;
}

.checkout-faq-card p {
    margin: 0;
    color: #5f7a8e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.checkout-assurance-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(87, 193, 234, 0.16);
    border-radius: 18px;
    color: #2f5b74;
    background: #eefaff;
    font-size: 0.82rem;
    font-weight: 800;
}

.checkout-assurance-bar span::before {
    margin-right: 0.38rem;
    color: #11976a;
    content: "\2713";
}

.checkout-assurance-bar a {
    margin-left: auto;
    color: #0a6f99;
    font-weight: 900;
}

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

    .testimonial-card {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .checkout-faq-grid {
        grid-template-columns: 1fr;
    }

    .checkout-assurance-bar a {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .testimonial-section {
        padding: 1rem;
        border-radius: 24px;
    }

    .testimonial-rating {
        width: 100%;
        justify-content: space-between;
    }

    .checkout-faq-card {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 1rem;
    }

    .checkout-faq-mark {
        width: 36px;
        height: 36px;
    }
}

/* Physics notes publication page and homepage callout. */
.physics-notes-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3.2rem);
    border: 1px solid rgba(84, 189, 232, 0.25);
    border-radius: var(--radius-xxl);
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 201, 111, 0.32), transparent 22%),
        radial-gradient(circle at 8% 100%, rgba(84, 189, 232, 0.3), transparent 30%),
        linear-gradient(135deg, #fafdff, #e8f8ff 58%, #effbff);
    box-shadow: var(--shadow-lg);
}

.physics-notes-hero::after {
    position: absolute;
    right: -5rem;
    bottom: -7rem;
    width: 21rem;
    height: 21rem;
    border: 34px solid rgba(18, 50, 74, 0.055);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.physics-notes-hero-copy,
.physics-notes-hero-file {
    position: relative;
    z-index: 1;
}

.physics-notes-hero h1 {
    max-width: 760px;
    margin: 0.45rem 0 1rem;
    color: var(--navy);
    font-size: clamp(2.15rem, 4vw, 4rem);
    line-height: 1.04;
}

.physics-notes-hero-copy > p {
    max-width: 720px;
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 1.75;
}

.physics-notes-hero-stats,
.physics-notes-home-meta,
.physics-notes-key {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.physics-notes-hero-stats {
    margin-top: 1.3rem;
}

.physics-notes-hero-stats span,
.physics-notes-home-meta span,
.physics-notes-key span {
    padding: 0.48rem 0.7rem;
    border: 1px solid rgba(18, 50, 74, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #46677f;
    font-size: 0.78rem;
    font-weight: 700;
}

.physics-notes-hero-stats strong {
    color: var(--navy);
}

.physics-notes-hero-file {
    display: grid;
    align-content: center;
    gap: 0.7rem;
    min-height: 260px;
    padding: 1.5rem;
    border: 1px solid rgba(18, 50, 74, 0.1);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(18, 50, 74, 0.98), rgba(25, 101, 137, 0.94));
    color: rgba(255, 255, 255, 0.83);
    box-shadow: 0 22px 44px rgba(12, 51, 77, 0.18);
}

.physics-file-kicker {
    color: #9fe7ff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.physics-notes-hero-file strong {
    color: #fff;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.75rem;
}

.physics-notes-hero-file span:not(.physics-file-kicker) {
    font-size: 0.88rem;
}

.physics-file-note {
    margin-top: 0.6rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbeeff;
    font-weight: 700;
}

.physics-unit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.physics-unit-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(18, 50, 74, 0.1);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(84, 189, 232, 0.14), transparent 38%),
        rgba(255, 255, 255, 0.88);
    box-shadow: 0 13px 30px rgba(17, 55, 78, 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.physics-unit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(84, 189, 232, 0.38);
    box-shadow: var(--shadow-md);
}

.physics-unit-number,
.physics-notes-home-seal {
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    background: linear-gradient(135deg, #12324a, #1c7fa8);
    box-shadow: 0 12px 24px rgba(19, 89, 124, 0.2);
}

.physics-unit-number {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 1.1rem;
}

.physics-unit-copy {
    min-width: 0;
}

.physics-unit-copy > span {
    display: block;
    margin-bottom: 0.2rem;
    color: #5b879f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.physics-unit-copy h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.02rem;
    line-height: 1.35;
}

.physics-unit-copy p {
    margin: 0.35rem 0 0;
    color: var(--text-soft);
    font-size: 0.78rem;
}

.physics-unit-card .btn {
    white-space: nowrap;
}

.physics-unit-card.is-unavailable {
    opacity: 0.65;
}

.physics-unavailable {
    color: #9c6516;
    font-size: 0.78rem;
    font-weight: 800;
}

.physics-notes-guidance {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.3rem, 3vw, 2rem);
    border: 1px solid rgba(255, 185, 75, 0.28);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #fffaf1, #fffdf8);
    box-shadow: var(--shadow-sm);
}

.physics-notes-guidance h2 {
    max-width: 650px;
    margin: 0.4rem 0 0;
    color: var(--navy);
    font-size: clamp(1.4rem, 2.3vw, 2.1rem);
}

.physics-notes-guidance-list {
    display: grid;
    gap: 0.65rem;
}

.physics-notes-guidance-list span {
    position: relative;
    padding-left: 1.6rem;
    color: #5f6870;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.5;
}

.physics-notes-guidance-list span::before {
    position: absolute;
    top: 0.1rem;
    left: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #e8a335;
    color: #fff;
    content: "\2713";
    font-size: 0.68rem;
    line-height: 1rem;
    text-align: center;
}

.physics-notes-home-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: clamp(1.2rem, 2.5vw, 1.75rem);
    border: 1px solid rgba(84, 189, 232, 0.22);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 7% 14%, rgba(255, 201, 111, 0.25), transparent 18%),
        linear-gradient(135deg, #ffffff, #ecf9ff);
    box-shadow: var(--shadow-md);
}

.physics-notes-home-seal {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    font-size: 1.55rem;
}

.physics-notes-home-copy h2 {
    margin: 0.4rem 0 0.55rem;
    color: var(--navy);
    font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.physics-notes-home-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.physics-notes-home-meta {
    margin-top: 0.9rem;
}

.physics-notes-home-actions {
    display: grid;
    gap: 0.6rem;
    min-width: 210px;
}

.physics-notes-home-actions .btn {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .physics-notes-hero,
    .physics-notes-guidance,
    .physics-notes-home-card {
        grid-template-columns: 1fr;
    }

    .physics-notes-home-actions {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .physics-unit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .physics-notes-hero {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .physics-unit-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .physics-unit-card .btn,
    .physics-unavailable {
        grid-column: 1 / -1;
        width: 100%;
    }

    .physics-notes-home-actions {
        grid-template-columns: 1fr;
    }
}

/* Success Times Exams Centre */
.exams-hero,
.exam-setup-shell,
.exam-library-hero,
.exam-updates-hero,
.exam-dashboard-hero,
.exam-result-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(31, 87, 129, 0.16);
    border-radius: var(--radius-xxl);
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 197, 92, 0.24), transparent 25%),
        radial-gradient(circle at 8% 94%, rgba(96, 208, 232, 0.18), transparent 30%),
        linear-gradient(130deg, #fbfeff, #e6f6fb 58%, #f8fdff);
    box-shadow: var(--shadow-lg);
}

.exams-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
    gap: clamp(1.3rem, 4vw, 3.6rem);
    align-items: center;
    padding: clamp(1.35rem, 4vw, 3.6rem);
}

.exams-hero::after,
.exam-setup-shell::after,
.exam-result-hero::after {
    position: absolute;
    right: -7rem;
    bottom: -8rem;
    width: 25rem;
    height: 25rem;
    border: 40px solid rgba(16, 74, 110, 0.045);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.exams-hero-copy,
.exams-hero-media,
.exam-setup-copy,
.exam-setup-form,
.exam-result-hero > * {
    position: relative;
    z-index: 1;
}

.exams-hero h1,
.exam-setup-copy h1,
.exam-library-hero h1,
.exam-updates-hero h1,
.exam-dashboard-hero h1,
.exam-result-hero h1 {
    margin: 0.45rem 0 1rem;
    color: var(--navy);
    font-size: clamp(2.1rem, 4.5vw, 4.4rem);
    line-height: 1.03;
}

.exams-hero-copy > p,
.exam-setup-copy p,
.exam-library-hero p,
.exam-updates-hero p,
.exam-dashboard-hero p {
    max-width: 700px;
    color: #5e7a8e;
    font-size: 1.03rem;
    line-height: 1.75;
}

.exams-hero-actions,
.exams-home-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.45rem;
}

.exam-content-upgrade {
    border-color: rgba(36, 145, 176, 0.22);
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 197, 92, 0.22), transparent 22rem),
        linear-gradient(135deg, #f9feff, #e7f8fb);
}

.exam-content-upgrade h2 {
    max-width: 760px;
    color: var(--navy);
}

.exam-content-upgrade p {
    max-width: 850px;
    color: #547386;
    line-height: 1.75;
}

.exam-current-affairs-callout {
    border-color: rgba(41, 117, 72, 0.22);
    background:
        radial-gradient(circle at 90% 10%, rgba(135, 210, 154, 0.2), transparent 22rem),
        linear-gradient(135deg, #fbfffc, #eaf8ef);
}

.exam-source-link {
    display: inline-flex;
    margin-top: 0.65rem;
    color: #136a49;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.exam-source-link:hover { color: #0a4c33; text-decoration: underline; }

.exams-stat-rail,
.exam-setup-points,
.exams-home-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.exams-stat-rail {
    margin-top: 1.25rem;
}

.exams-stat-rail span,
.exam-setup-points span,
.exams-home-card-meta span {
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(17, 65, 96, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #537287;
    font-size: 0.78rem;
    font-weight: 750;
}

.exams-stat-rail strong {
    color: var(--navy);
}

.exams-hero-media {
    min-height: 340px;
}

.exams-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: 27px;
    object-fit: cover;
    box-shadow: 0 26px 46px rgba(16, 52, 75, 0.18);
}

.exams-floating-score {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.3rem;
    max-width: 250px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    background: rgba(9, 47, 73, 0.88);
    box-shadow: 0 16px 30px rgba(11, 49, 73, 0.25);
    color: #d8f4ff;
    backdrop-filter: blur(12px);
}

.exams-floating-score span {
    color: #a5e9ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exams-floating-score strong {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.4;
}

.exam-track-group {
    margin-top: 1.4rem;
}

.exam-track-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
    padding: 0 0.1rem;
}

.exam-track-group-heading span {
    color: #38667f;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.exam-track-group-heading small {
    color: #7191a3;
    font-weight: 700;
}

.exam-track-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.exam-track-card {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    padding: 1.1rem;
    border: 1px solid rgba(16, 65, 96, 0.1);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(102, 213, 235, 0.14), transparent 38%),
        rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 32px rgba(14, 55, 78, 0.065);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.exam-track-card:hover {
    transform: translateY(-4px);
    border-color: rgba(19, 140, 184, 0.35);
    box-shadow: var(--shadow-md);
}

.exam-track-code,
.exam-value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0.28rem 0.52rem;
    border-radius: 9px;
    background: #e6f6fb;
    color: #21719b;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.exam-track-card h3 {
    max-width: 280px;
    margin: 0.75rem 0 0.4rem;
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.35;
}

.exam-track-card p {
    margin: 0;
    color: #69869a;
    font-size: 0.82rem;
}

.exam-track-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.1rem;
}

.exam-track-meta span {
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    background: #f3fafc;
    color: #5b7a8e;
    font-size: 0.7rem;
    font-weight: 700;
}

.exam-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.exam-value-card {
    padding: 1.4rem;
    border: 1px solid rgba(16, 65, 96, 0.1);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.exam-value-number {
    background: linear-gradient(135deg, #153b59, #2c9ac7);
    color: #fff;
}

.exam-value-card h3 {
    margin: 0.8rem 0 0.55rem;
    color: var(--navy);
    font-size: 1.2rem;
}

.exam-value-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.exam-updates-preview {
    padding: 1.35rem;
    border: 1px solid rgba(27, 99, 142, 0.16);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #0f405f, #1d789c);
    color: #e8f9ff;
    box-shadow: var(--shadow-md);
}

.exam-updates-preview .eyebrow,
.exam-updates-preview h2 {
    color: #fff;
}

.exam-updates-preview > div > a {
    color: #b6edff;
    font-size: 0.84rem;
    font-weight: 800;
}

.exam-update-preview-list {
    display: grid;
    gap: 0.65rem;
}

.exam-update-preview-list a {
    display: grid;
    gap: 0.26rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.exam-update-preview-list span,
.exam-update-preview-list small {
    color: #bbebfb;
    font-size: 0.68rem;
    font-weight: 750;
}

.exam-update-preview-list strong {
    font-size: 0.88rem;
    line-height: 1.35;
}

.exam-setup-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    gap: clamp(1.3rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.35rem, 4vw, 3.2rem);
}

.exam-setup-form {
    padding: 1.25rem;
    border: 1px solid rgba(19, 77, 109, 0.1);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(13, 56, 79, 0.1);
}

.exam-test-page {
    max-width: 1320px;
}

.exam-test-topbar {
    position: sticky;
    top: 0.65rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(16, 65, 96, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(17, 53, 74, 0.11);
    backdrop-filter: blur(12px);
}

.exam-test-topbar div:first-child {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.exam-test-topbar span {
    color: #5d879f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exam-test-topbar strong {
    overflow: hidden;
    color: var(--navy);
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exam-autosave-control {
    display: grid;
    justify-items: end;
    gap: 0.35rem;
    min-width: 190px;
}

.exam-autosave-control > span {
    max-width: 210px;
    overflow: hidden;
    color: #53778b;
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0;
    text-align: right;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.exam-autosave-control .btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.7rem;
}

.exam-timer {
    min-width: 88px;
    padding: 0.5rem 0.65rem;
    border-radius: 12px;
    background: #e8f7fc;
    color: #12658f;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    text-align: center;
}

.exam-timer.is-urgent {
    background: #fff1e9;
    color: #bd5322;
}

.exam-test-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 272px;
    gap: 1rem;
    align-items: start;
}

.exam-question-card {
    display: none;
    padding: clamp(1.2rem, 3vw, 2.2rem);
    border: 1px solid rgba(17, 65, 96, 0.12);
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.exam-question-card.is-active {
    display: block;
    animation: exam-question-in 240ms ease-out;
}

@keyframes exam-question-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.exam-question-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: #5d879f;
    font-size: 0.75rem;
    font-weight: 800;
}

.exam-question-card h1 {
    max-width: 900px;
    margin: 0 0 1.5rem;
    color: var(--navy);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    line-height: 1.55;
}

.exam-options {
    display: grid;
    gap: 0.7rem;
}

.exam-option {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(17, 65, 96, 0.12);
    border-radius: 15px;
    background: #fbfeff;
    color: #24475f;
    cursor: pointer;
    font-size: 0.93rem;
    font-weight: 600;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.exam-option:hover,
.exam-option:has(input:checked) {
    border-color: rgba(25, 142, 190, 0.55);
    background: #ebf9ff;
    transform: translateX(2px);
}

.exam-option input { accent-color: #187da7; }

.exam-option-letter {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: #dceff7;
    color: #176c93;
    font-size: 0.72rem;
    font-weight: 900;
}

.exam-question-actions,
.exam-navigation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-top: 1.3rem;
}

.exam-review-toggle {
    color: #5b7587;
    font-size: 0.82rem;
    font-weight: 750;
}

.exam-review-toggle input { margin-right: 0.4rem; accent-color: #d9872e; }

.exam-palette-panel {
    position: sticky;
    top: 5.3rem;
    padding: 1.1rem;
    border: 1px solid rgba(17, 65, 96, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
}

.exam-palette-panel strong { color: var(--navy); }
.exam-palette-panel p { margin: 0.35rem 0 1rem; color: #638196; font-size: 0.76rem; line-height: 1.5; }

.exam-question-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.45rem;
}

.exam-question-palette button {
    height: 34px;
    border: 1px solid #d3e3ea;
    border-radius: 9px;
    background: #fff;
    color: #496b7e;
    font-size: 0.75rem;
    font-weight: 850;
}

.exam-question-palette button.is-current { border-color: #187da7; box-shadow: inset 0 0 0 1px #187da7; }
.exam-question-palette button.is-answered { background: #e7f9ed; border-color: #95d7ad; color: #16804b; }
.exam-question-palette button.is-review { background: #fff4db; border-color: #efc66e; color: #a66500; }

.exam-palette-key { display: grid; gap: 0.4rem; margin-top: 1rem; color: #698397; font-size: 0.72rem; }
.exam-palette-key span::before { display: inline-block; width: 10px; height: 10px; margin-right: 0.4rem; border-radius: 3px; content: ""; }
.exam-palette-key .answered::before { background: #72c895; }.exam-palette-key .review::before { background: #efc66e; }.exam-palette-key .unanswered::before { border: 1px solid #c3d5dd; background: #fff; }

.exam-result-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.3rem, 3vw, 2.5rem);
}

.exam-result-hero h1 { font-size: clamp(1.8rem, 3vw, 3rem); }
.exam-result-hero p { margin: 0; color: #638195; font-size: 0.86rem; }

.exam-result-score {
    display: grid;
    min-width: 190px;
    gap: 0.15rem;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #103d5b, #187fa8);
    color: #c6efff;
    text-align: center;
    box-shadow: 0 17px 32px rgba(15, 75, 107, 0.2);
}

.exam-result-score strong { color: #fff; font-size: 2rem; }.exam-result-score small { font-weight: 800; }
.exam-print-hint { margin: -0.45rem 0 1rem; color: #668497; font-size: 0.77rem; }.exam-print-hint strong { color: #275f7d; }

.exam-result-stats,
.exam-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.exam-result-stats > div,
.exam-dashboard-kpis > div {
    display: grid;
    gap: 0.15rem;
    padding: 1rem;
    border: 1px solid rgba(18, 68, 97, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.exam-result-stats strong,
.exam-dashboard-kpis strong { color: var(--navy); font-size: 1.35rem; }
.exam-result-stats span,
.exam-dashboard-kpis span { color: #638195; font-size: 0.74rem; font-weight: 750; }

.exam-review-list { display: grid; gap: 1rem; }

.exam-review-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(18, 68, 97, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.87);
    box-shadow: var(--shadow-sm);
}

.exam-review-status {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    padding: 1rem;
    background: #edf5f8;
    color: #557486;
    text-align: center;
}

.exam-review-status span { font-size: 1.15rem; font-weight: 900; }.exam-review-status strong { font-size: 0.7rem; text-transform: uppercase; }
.exam-review-card.is-correct .exam-review-status { background: #e8f8ee; color: #137243; }.exam-review-card.is-incorrect .exam-review-status { background: #fff0ec; color: #ba4d24; }.exam-review-card.is-skipped .exam-review-status { background: #fff7e7; color: #a36a10; }

.exam-review-content { min-width: 0; padding: 1.1rem; }.exam-review-content h3 { margin: 0 0 1rem; color: var(--navy); font-size: 1.05rem; line-height: 1.55; }
.exam-review-options { display: grid; gap: 0.4rem; }.exam-review-options > div { padding: 0.6rem 0.7rem; border-radius: 11px; background: #f7fbfd; color: #577588; font-size: 0.84rem; }.exam-review-options > div > span { display: inline-grid; width: 21px; height: 21px; margin-right: 0.45rem; place-items: center; border-radius: 7px; background: #dcedf5; color: #2b6e8d; font-size: 0.68rem; font-weight: 900; }.exam-review-options .is-correct { background: #e8f8ee; color: #1b7145; font-weight: 750; }.exam-review-options .is-selected-wrong { background: #fff0ec; color: #ad4b27; font-weight: 750; }.exam-review-options small { margin-left: 0.4rem; font-size: 0.7rem; }

.exam-explanation { margin-top: 0.9rem; padding: 0.85rem; border-left: 3px solid #4cb4da; border-radius: 0 12px 12px 0; background: #effaff; }.exam-explanation strong { color: #176e97; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; }.exam-explanation p { margin: 0.45rem 0; color: #41677e; font-size: 0.86rem; line-height: 1.6; }.exam-explanation small { color: #668598; font-size: 0.72rem; }

.exam-dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.35rem, 3vw, 2.5rem); }.exam-dashboard-hero h1 { max-width: 780px; font-size: clamp(1.8rem, 3vw, 3rem); }
.exam-account-link { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.9rem 1rem; border: 1px solid rgba(32, 136, 178, 0.18); border-radius: 15px; background: #eef9fd; color: #55788c; }.exam-account-link strong { flex: 0 0 auto; color: #1a6e95; font-size: 0.78rem; }.exam-account-link span { font-size: 0.78rem; line-height: 1.5; }.exam-account-link a { color: #176f98; font-weight: 850; }
.exam-attempt-history { display: grid; gap: 0.65rem; }.exam-attempt-history a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem; border: 1px solid rgba(20, 73, 102, 0.1); border-radius: 15px; background: #fbfeff; }.exam-attempt-history a:hover { border-color: rgba(20, 139, 184, 0.38); }.exam-attempt-history a div { display: grid; gap: 0.2rem; }.exam-attempt-history a div:last-child { text-align: right; }.exam-attempt-history strong { color: var(--navy); font-size: 0.88rem; }.exam-attempt-history span { color: #6b8798; font-size: 0.72rem; }
.exam-empty-state { display: grid; gap: 0.4rem; margin-top: 1.5rem; padding: 1rem; border-radius: 15px; background: #f0f9fc; color: #628094; }.exam-empty-state strong { color: var(--navy); }.exam-empty-state span { font-size: 0.85rem; }
.exam-bookmark-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }.exam-bookmark-grid article { display: grid; gap: 0.75rem; padding: 1rem; border: 1px solid rgba(20, 73, 102, 0.1); border-radius: 18px; background: rgba(255,255,255,.85); box-shadow: var(--shadow-sm); }.exam-bookmark-grid span { color: #4f839c; font-size: .7rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }.exam-bookmark-grid h3 { margin: 0; color: var(--navy); font-size: .92rem; line-height: 1.5; }.exam-bookmark-grid a { color: #187da7; font-size: .82rem; font-weight: 800; }
.exam-insight-list { display: grid; gap: .65rem; }.exam-insight-list > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem .95rem; border: 1px solid rgba(20,73,102,.1); border-radius: 15px; background: #fbfeff; }.exam-insight-list > div > div { display: grid; gap: .18rem; min-width: 0; }.exam-insight-list strong { color: var(--navy); font-size: .9rem; }.exam-insight-list span { color: #6c8797; font-size: .72rem; }.exam-insight-list b { flex: 0 0 auto; color: #b15a24; font-size: 1rem; }.exam-next-plan { display: grid; align-content: start; gap: .65rem; padding: clamp(1.3rem,3vw,2rem); border-radius: 23px; background: radial-gradient(circle at 90% 10%, rgba(123,222,240,.35), transparent 27%), linear-gradient(145deg,#0f415e,#196f92); box-shadow: var(--shadow-md); color: #e5f8ff; }.exam-next-plan .eyebrow { color: #bdeeff; }.exam-next-plan h2 { margin: 0; color: #fff; font-size: clamp(1.2rem,2vw,1.55rem); line-height: 1.35; }.exam-next-plan p { margin: 0; color: #c4eaf7; font-size: .86rem; line-height: 1.65; }.exam-next-plan .btn-light { color: #155370; font-weight: 850; }

.exam-library-hero { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.35rem, 3vw, 2.5rem); }.exam-library-hero h1, .exam-updates-hero h1 { max-width: 850px; font-size: clamp(1.9rem, 3.5vw, 3.4rem); }
.exam-library-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid rgba(18,68,97,.1); border-radius: 16px; background: rgba(255,255,255,.8); }.exam-library-filter label { color: var(--navy); font-size: .82rem; font-weight: 850; }.exam-library-filter select { min-width: 230px; padding: .55rem .65rem; border: 1px solid #c7dce6; border-radius: 10px; background: #fff; color: var(--navy); }
.exam-paper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }.exam-paper-card { display: flex; flex-direction: column; min-height: 240px; padding: 1.2rem; border: 1px solid rgba(18,68,97,.1); border-radius: 22px; background: radial-gradient(circle at 100% 0%, rgba(98,209,233,.13), transparent 38%), rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }.exam-paper-card > span { color: #197a9f; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.exam-paper-card h2 { margin: .75rem 0 .5rem; color: var(--navy); font-size: 1.15rem; line-height: 1.4; }.exam-paper-card p { margin: 0; color: #617e91; font-size: .84rem; }.exam-paper-card small { margin-top: .55rem; color: #7591a0; font-size: .73rem; }.exam-paper-card .mt-4 { margin-top: auto !important; }

.exam-updates-hero { padding: clamp(1.4rem, 4vw, 3.2rem); }.exam-updates-list { display: grid; gap: 1rem; }.exam-updates-list article { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem; border: 1px solid rgba(18,68,97,.1); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); }.exam-update-type { color: #277d9f; font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }.exam-updates-list h2 { margin: .45rem 0; color: var(--navy); font-size: 1.15rem; }.exam-updates-list p { margin: 0 0 .65rem; color: #607e91; font-size: .86rem; line-height: 1.55; }.exam-updates-list small { color: #7190a0; font-size: .74rem; font-weight: 700; }

.exams-home-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: clamp(1.25rem, 3vw, 1.8rem); border: 1px solid rgba(19,112,152,.22); border-radius: var(--radius-xl); background: radial-gradient(circle at 5% 8%, rgba(255,199,102,.22), transparent 18%), linear-gradient(135deg, #fff, #eaf8fc); box-shadow: var(--shadow-md); }.exams-home-card h2 { margin: .35rem 0 .6rem; color: var(--navy); font-size: clamp(1.25rem, 2.1vw, 1.9rem); }.exams-home-card p { max-width: 760px; margin: 0; color: var(--text-soft); line-height: 1.65; }.exams-home-card-meta { margin-top: .9rem; }.exams-home-card-actions { display: grid; min-width: 220px; margin-top: 0; }.exams-home-card-actions .btn { white-space: nowrap; }

.exam-admin-question-list,
.exam-admin-update-list,
.exam-admin-report-list { display: grid; gap: .75rem; }.exam-admin-question-list article, .exam-admin-update-list article, .exam-admin-report-list article { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid rgba(18,68,97,.1); border-radius: 17px; background: #fbfeff; }.exam-admin-question-copy { min-width: 0; }.exam-admin-question-copy > div { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }.exam-admin-question-copy > div > span:first-child { color: #568096; font-size: .72rem; font-weight: 750; }.exam-admin-question-copy h3 { margin: .45rem 0; color: var(--navy); font-size: .94rem; line-height: 1.45; }.exam-admin-question-copy p, .exam-admin-update-list p { margin: 0; color: #6b8696; font-size: .74rem; }.exam-admin-question-actions { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: .45rem; min-width: 170px; }.exam-admin-update-list h3 { margin: .35rem 0; color: var(--navy); font-size: .96rem; }.exam-report-form { flex: 0 0 285px; padding: .9rem; border: 1px solid rgba(20,117,154,.15); border-radius: 14px; background: #fff; }.exam-report-form .form-label { margin-bottom: .32rem; color: #507487; font-size: .72rem; font-weight: 850; }.exam-report-form textarea { min-height: 76px; resize: vertical; }.status-pill { display: inline-flex; padding: .26rem .48rem; border-radius: 999px; background: #e9f5fb; color: #21799d; font-size: .66rem; font-weight: 850; text-transform: uppercase; }.status-published, .status-resolved { background: #e8f8ee; color: #167b47; }.status-pending_review, .status-draft, .status-reviewed { background: #fff4dc; color: #9b6508; }.status-rejected { background: #fff0ec; color: #b84d26; }.status-hidden, .status-archived { background: #eef1f3; color: #5e7180; }

@media (max-width: 1199.98px) {
    .exam-track-grid, .exam-paper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .exams-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
}

@media (max-width: 991.98px) {
    .exams-hero, .exam-setup-shell, .exam-test-layout { grid-template-columns: 1fr; }
    .exams-hero-media { min-height: 260px; }.exams-hero-media img { min-height: 260px; }
    .exam-palette-panel { position: static; }.exam-question-palette { grid-template-columns: repeat(10, 1fr); }
    .exam-dashboard-hero, .exam-library-hero, .exam-result-hero, .exams-home-card { align-items: flex-start; flex-direction: column; }
    .exams-home-card { grid-template-columns: 1fr; }.exams-home-card-actions { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .exam-track-grid, .exam-paper-grid, .exam-bookmark-grid, .exam-value-grid { grid-template-columns: 1fr; }
    .exam-result-stats, .exam-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .exam-review-card { grid-template-columns: 1fr; }.exam-review-status { grid-template-columns: auto 1fr; align-items: center; text-align: left; }.exam-review-status span { grid-row: span 2; }
    .exam-updates-list article, .exam-admin-question-list article, .exam-admin-update-list article, .exam-admin-report-list article { align-items: flex-start; flex-direction: column; }.exam-admin-question-actions { min-width: 0; justify-content: flex-start; }.exam-report-form { width: 100%; flex-basis: auto; }
}

@media (max-width: 575.98px) {
    .exams-hero, .exam-setup-shell, .exam-library-hero, .exam-updates-hero, .exam-dashboard-hero, .exam-result-hero { border-radius: 24px; }
    .exam-test-topbar { top: .25rem; align-items: flex-start; flex-wrap: wrap; }.exam-test-topbar .btn { width: 100%; }.exam-timer { margin-left: auto; }.exam-autosave-control { width: 100%; justify-items: stretch; }.exam-autosave-control > span { max-width: none; text-align: left; }.exam-autosave-control .btn { width: 100%; }
    .exam-question-palette { grid-template-columns: repeat(5, 1fr); }.exam-question-actions, .exam-navigation-actions { align-items: stretch; flex-direction: column; }.exam-question-actions .btn, .exam-navigation-actions .btn { width: 100%; }
    .exam-account-link { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
    .exams-home-card-actions { grid-template-columns: 1fr; }.exam-library-filter select { width: 100%; min-width: 0; }
}

/* Premium Exam Centre artwork: layered visuals without hiding content at smaller widths. */
.exams-hero-media {
    isolation: isolate;
    padding-bottom: 2.4rem;
}

.exams-hero-artwork {
    position: relative;
    height: 100%;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 30px;
    background: linear-gradient(145deg, #eaf9ff, #a7dff4);
    box-shadow: 0 28px 64px rgba(16, 52, 75, 0.2);
}

.exams-hero-artwork::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 45, 72, 0.24), transparent 52%),
        linear-gradient(180deg, transparent 58%, rgba(8, 45, 72, 0.12));
}

.exams-hero-artwork img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: 64% center;
    transform: scale(1.015);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.exams-hero-media:hover .exams-hero-artwork img {
    transform: scale(1.055);
}

.exam-art-spark {
    position: absolute;
    z-index: 2;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 203, 110, 0.84);
    box-shadow: 0 0 0 12px rgba(255, 203, 110, 0.16), 0 10px 28px rgba(8, 45, 72, 0.18);
    animation: exam-art-drift 5s ease-in-out infinite;
}

.exam-art-spark-one {
    top: 12%;
    right: 13%;
    width: 12px;
    height: 12px;
}

.exam-art-spark-two {
    top: 28%;
    right: 5%;
    width: 8px;
    height: 8px;
    background: #65d3ac;
    box-shadow: 0 0 0 9px rgba(101, 211, 172, 0.16), 0 10px 28px rgba(8, 45, 72, 0.16);
    animation-delay: -2.2s;
}

.exam-visual-legend {
    position: absolute;
    z-index: 3;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.62rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 32px rgba(16, 52, 75, 0.16);
    backdrop-filter: blur(12px);
}

.exam-visual-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #315c76;
    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.exam-legend-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.exam-legend-dot-blue { background: #299fd3; }
.exam-legend-dot-amber { background: #efac3d; }
.exam-legend-dot-green { background: #26a56e; }

@keyframes exam-art-drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@media (max-width: 991.98px) {
    .exams-hero-media,
    .exams-hero-artwork,
    .exams-hero-artwork img {
        min-height: 290px;
    }
}

@media (max-width: 575.98px) {
    .exams-hero-media {
        padding-bottom: 2.8rem;
    }

    .exams-hero-artwork,
    .exams-hero-artwork img {
        min-height: 244px;
        border-radius: 22px;
    }

    .exams-hero-artwork img {
        object-position: 67% center;
    }

    .exams-floating-score {
        right: 0.75rem;
        bottom: 3.55rem;
        max-width: 196px;
        padding: 0.72rem 0.82rem;
    }

    .exam-visual-legend {
        left: 0.55rem;
        right: 0.55rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-radius: 14px;
        scrollbar-width: none;
    }

    .exam-visual-legend::-webkit-scrollbar { display: none; }

    .exam-art-spark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .exams-hero-artwork img,
    .exam-art-spark {
        animation: none;
        transition: none;
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 16px;
        bottom: 82px;
        width: 44px;
        height: 44px;
    }

    .noscript-notice {
        padding: 0.75rem 0.85rem;
        border-radius: 14px;
        font-size: 0.9rem;
    }
}

/* Recruitment CBT identity, response-sheet, and print refinements. */
.recruitment-test-photo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    overflow: hidden;
    border: 2px solid rgba(17, 109, 152, .2);
    border-radius: 18px;
    background: #eaf8ff;
    color: #176d98;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 800;
}

.recruitment-test-photo img { width: 100%; height: 100%; object-fit: cover; }
.recruitment-response-list { display: grid; gap: 1rem; }
.recruitment-response-list > article { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.2rem; border: 1px solid rgba(18, 67, 93, .12); border-radius: 18px; background: #fbfdff; }

@media print {
    .no-print,
    .whatsapp-float { display: none !important; }
    .recruitment-admit-card { border: 0 !important; box-shadow: none !important; }
}

@media (max-width: 720px) {
    .recruitment-test-photo { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; }
    .recruitment-response-list > article { display: block; }
}

/* Homepage v3: focused catalogue storefront with a light sky-blue academic identity. */
.home-v3-hero,
.home-v3-section,
.home-v3-final,
.home-v3-slider-section {
    scroll-margin-top: 7rem;
}

.home-v3-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(400px, 1.07fr);
    gap: clamp(2rem, 5vw, 5.6rem);
    align-items: center;
    min-height: 610px;
    margin-top: 1rem;
    padding: clamp(1.6rem, 5vw, 5.3rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 34px;
    background:
        radial-gradient(circle at 96% 9%, rgba(255, 205, 111, 0.48), transparent 20%),
        radial-gradient(circle at 45% 105%, rgba(100, 211, 240, 0.42), transparent 28%),
        linear-gradient(135deg, #fefefe 0%, #eefaff 49%, #dbf5ff 100%);
    box-shadow: 0 34px 90px rgba(18, 83, 112, 0.18);
}

.home-v3-hero::before,
.home-v3-hero::after {
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    border-radius: 46% 54% 43% 57%;
    content: "";
    pointer-events: none;
}

.home-v3-hero::before {
    top: -145px;
    left: 38%;
    border: 1px solid rgba(34, 160, 204, 0.14);
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(28deg);
}

.home-v3-hero::after {
    right: -114px;
    bottom: -168px;
    border: 38px solid rgba(87, 193, 234, 0.16);
    background: transparent;
    transform: rotate(-20deg);
}

.home-v3-hero-copy,
.home-v3-hero-visual,
.home-v3-section,
.home-v3-final,
.home-v3-slider-section,
.home-v3-metric-strip {
    min-width: 0;
}

.home-v3-kicker,
.home-v3-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    color: #137da7;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.125em;
    text-transform: uppercase;
}

.home-v3-kicker {
    min-height: 34px;
    padding: 0.48rem 0.76rem;
    border: 1px solid rgba(34, 160, 204, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 25px rgba(20, 101, 134, 0.08);
}

.home-v3-kicker span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f4ad47;
    box-shadow: 0 0 0 5px rgba(244, 173, 71, 0.16);
}

.home-v3-heading-icon {
    display: inline-grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #1094bf, #0f6e94);
    box-shadow: 0 7px 14px rgba(11, 111, 148, 0.2);
}

.home-v3-heading-icon svg,
.home-v3-project-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.home-v3-hero h1 {
    max-width: 10.7ch;
    margin: 1rem 0 1.35rem;
    color: #113b56;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.4vw, 5.9rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.91;
    text-wrap: balance;
}

.home-v3-hero-copy > p {
    max-width: 60ch;
    margin: 0;
    color: #4f7289;
    font-size: clamp(1rem, 1.28vw, 1.14rem);
    line-height: 1.8;
}

.home-v3-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    max-width: 660px;
    margin-top: 2rem;
    padding: 0.45rem;
    border: 1px solid rgba(37, 151, 194, 0.2);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 36px rgba(25, 103, 137, 0.12);
}

.home-v3-search input {
    min-width: 0;
    min-height: 54px;
    padding: 0.75rem 1rem;
    border: 0;
    outline: 0;
    color: #173d55;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 700;
}

.home-v3-search input::placeholder { color: #7894a5; opacity: 1; }

.home-v3-search:focus-within {
    border-color: rgba(15, 126, 168, 0.52);
    box-shadow: 0 0 0 5px rgba(91, 199, 234, 0.15), 0 20px 38px rgba(25, 103, 137, 0.14);
}

.home-v3-search button,
.home-v3-primary-action,
.home-v3-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.78rem 1.14rem;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-v3-search button,
.home-v3-primary-action {
    color: #fff;
    background: linear-gradient(135deg, #0b618a, #0d9bc2 55%, #19866f);
    box-shadow: 0 12px 22px rgba(15, 123, 169, 0.24);
}

.home-v3-search button:hover,
.home-v3-search button:focus,
.home-v3-primary-action:hover,
.home-v3-primary-action:focus {
    color: #fff;
    background: linear-gradient(135deg, #084f73, #087caa 55%, #12735e);
    box-shadow: 0 16px 30px rgba(15, 123, 169, 0.3);
    transform: translateY(-2px);
}

.home-v3-secondary-action {
    color: #174861;
    border-color: rgba(25, 129, 169, 0.2);
    background: rgba(255, 255, 255, 0.74);
}

.home-v3-secondary-action:hover,
.home-v3-secondary-action:focus {
    color: #123c55;
    border-color: rgba(25, 129, 169, 0.4);
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 104, 141, 0.12);
    transform: translateY(-2px);
}

.home-v3-exams-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 52px;
    padding: 0.78rem 1.05rem;
    border: 1px solid rgba(180, 116, 23, 0.2);
    border-radius: 14px;
    color: #8e5810;
    background: linear-gradient(135deg, #fff8e7, #fff0c8);
    box-shadow: 0 12px 22px rgba(181, 116, 23, 0.1);
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-v3-exams-action:hover,
.home-v3-exams-action:focus {
    color: #714303;
    background: #fff1cb;
    box-shadow: 0 16px 28px rgba(181, 116, 23, 0.16);
    transform: translateY(-2px);
}

.home-v3-exams-icon,
.home-v3-resource-launch {
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
}

.home-v3-exams-icon {
    width: 26px;
    height: 26px;
    margin-left: -0.32rem;
    color: #fff;
    background: linear-gradient(135deg, #d88a22, #b55a2b);
    box-shadow: 0 5px 12px rgba(165, 93, 25, 0.24);
}

.home-v3-exams-icon svg,
.home-v3-resource-launch svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
}

.home-v3-resource-launch {
    width: 19px;
    height: 19px;
    margin-left: 0.18rem;
    color: #8d5d11;
    background: rgba(255, 255, 255, 0.72);
    vertical-align: -0.24rem;
}

.home-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.home-v3-quick-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem;
    margin-top: 1.15rem;
}

.home-v3-quick-filters > span {
    margin-right: 0.18rem;
    color: #648397;
    font-size: 0.73rem;
    font-weight: 850;
}

.home-v3-quick-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0.28rem 0.56rem;
    border: 1px solid rgba(18, 130, 170, 0.16);
    border-radius: 999px;
    color: #176d8d;
    background: rgba(255, 255, 255, 0.65);
    font-size: 0.69rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-v3-quick-filters a:hover,
.home-v3-quick-filters a:focus {
    color: #fff;
    background: #0d779e;
    transform: translateY(-1px);
}

.home-v3-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.1rem;
    margin-top: 1.4rem;
}

.home-v3-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #426b80;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-v3-reassurance span::before {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #31ad7a;
    box-shadow: 0 0 0 4px rgba(49, 173, 122, 0.12);
    content: "";
}

.home-v3-hero-visual {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 500px;
    padding: 1.1rem 1.1rem 2rem;
}

.home-v3-dashboard-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: clamp(0.8rem, 1.5vw, 1.1rem);
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 29px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(213, 243, 253, 0.9));
    box-shadow: 0 34px 70px rgba(17, 88, 120, 0.22), inset 0 1px 0 #fff;
    transform: rotate(1.5deg);
}

.home-v3-dashboard-frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.35), transparent 26%, transparent 72%, rgba(255, 255, 255, 0.22));
    content: "";
    pointer-events: none;
}

.home-v3-dashboard-frame img {
    display: block;
    width: 100%;
    min-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 17px 25px rgba(19, 76, 103, 0.13));
}

.home-v3-orbit {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(49, 167, 210, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.home-v3-orbit-one { top: -18px; right: -15px; width: 270px; height: 270px; }
.home-v3-orbit-two { bottom: 10px; left: -16px; width: 215px; height: 215px; border-width: 26px; border-color: rgba(255, 193, 93, 0.18); }

.home-v3-floating {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: min(254px, 48%);
    padding: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.91);
    box-shadow: 0 18px 38px rgba(14, 74, 102, 0.17);
    backdrop-filter: blur(13px);
}

.home-v3-floating-top { top: 1.7rem; right: -0.45rem; }
.home-v3-floating-bottom { bottom: 0.05rem; left: -0.35rem; }

.home-v3-floating-icon {
    display: grid;
    flex: 0 0 33px;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #168fc0, #0f658b);
    font-size: 0.68rem;
    font-weight: 950;
}

.home-v3-floating-icon.is-amber { background: linear-gradient(135deg, #e79b35, #c45e34); }
.home-v3-floating strong,
.home-v3-floating small { display: block; }
.home-v3-floating strong { color: #153c53; font-size: 0.8rem; font-weight: 950; }
.home-v3-floating small { margin-top: 0.18rem; color: #628195; font-size: 0.68rem; line-height: 1.4; }

.home-v3-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 1rem 0 2.3rem;
    overflow: hidden;
    border: 1px solid rgba(27, 119, 153, 0.12);
    border-radius: 22px;
    background: rgba(39, 137, 174, 0.12);
    box-shadow: 0 18px 42px rgba(18, 83, 112, 0.08);
}

.home-v3-metric-strip article {
    display: grid;
    align-content: center;
    min-height: 108px;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 250, 255, 0.88));
}

.home-v3-metric-strip strong {
    color: #0a6e99;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.home-v3-metric-strip span { margin-top: 0.28rem; color: #617f91; font-size: 0.77rem; font-weight: 750; line-height: 1.38; }

.home-v3-section,
.home-v3-final,
.home-v3-slider-section {
    margin-top: 2.25rem;
}

.home-v3-section {
    padding: clamp(1.4rem, 3.2vw, 2.55rem);
    border: 1px solid rgba(19, 96, 129, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.77);
    box-shadow: 0 20px 55px rgba(16, 69, 93, 0.08);
}

.home-v3-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.55rem;
}

.home-v3-section-head h2,
.home-v3-delivery h2,
.home-v3-final h2 {
    max-width: 19ch;
    margin: 0.48rem 0 0;
    color: #153c53;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-wrap: balance;
}

.home-v3-section-head p { max-width: 65ch; margin: 0.75rem 0 0; color: #618094; font-size: 0.95rem; line-height: 1.7; }
.home-v3-section-head > a,
.home-v3-text-link { flex: 0 0 auto; color: #0c769f; font-size: 0.86rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.home-v3-section-head > a:hover,
.home-v3-section-head > a:focus,
.home-v3-text-link:hover,
.home-v3-text-link:focus { color: #075876; text-decoration: underline; text-underline-offset: 0.25rem; }

.home-v3-collection-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-v3-collection-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 225px;
    padding: 1.05rem;
    overflow: hidden;
    border: 1px solid rgba(25, 116, 153, 0.14);
    border-radius: 20px;
    color: #143a51;
    background: #f3fbfe;
    box-shadow: 0 9px 20px rgba(18, 83, 112, 0.06);
    text-decoration: none;
    transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.home-v3-collection-card::after {
    position: absolute;
    top: -42px;
    right: -48px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.44);
    content: "";
}

.home-v3-collection-card:hover,
.home-v3-collection-card:focus { color: #12384e; border-color: rgba(16, 128, 169, 0.35); box-shadow: 0 18px 32px rgba(15, 87, 119, 0.14); transform: translateY(-4px); }
.home-v3-collection-card.is-primary { background: linear-gradient(155deg, #d8f5ff, #effcff); }
.home-v3-collection-card.is-deep { color: #e8f9ff; border-color: #0b7199; background: linear-gradient(145deg, #0e658c, #104f73); }
.home-v3-collection-card.is-deep:hover,
.home-v3-collection-card.is-deep:focus { color: #fff; border-color: #0c81af; }
.home-v3-collection-card.is-mint { background: linear-gradient(155deg, #e2f8ee, #f3fffb); }
.home-v3-collection-card.is-sun { background: linear-gradient(155deg, #fff1d4, #fffaf0); }
.home-v3-collection-card.is-lilac { background: linear-gradient(155deg, #eef0ff, #fbfbff); }
.home-v3-collection-card.is-outline { border-style: dashed; background: linear-gradient(155deg, #fff, #eff9fc); }

.home-v3-card-symbol {
    position: relative;
    z-index: 1;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 14px;
    color: #0d6a91;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 9px 18px rgba(18, 91, 121, 0.1);
    font-size: 0.78rem;
    font-weight: 950;
}

.home-v3-collection-card.is-deep .home-v3-card-symbol { color: #0d668b; }
.home-v3-collection-card strong { position: relative; z-index: 1; margin-top: auto; font-size: 0.97rem; font-weight: 950; line-height: 1.25; }
.home-v3-collection-card small { position: relative; z-index: 1; min-height: 3.1em; margin-top: 0.52rem; color: #56778a; font-size: 0.72rem; font-weight: 700; line-height: 1.48; }
.home-v3-collection-card.is-deep small { color: #bde6f5; }
.home-v3-collection-card b { position: relative; z-index: 1; margin-top: 0.82rem; color: #0c7199; font-size: 0.74rem; font-weight: 950; }
.home-v3-collection-card.is-deep b { color: #fff0be; }

.home-v3-slider-section { overflow: hidden; border-radius: 30px; box-shadow: 0 22px 58px rgba(16, 73, 99, 0.12); }
.home-v3-slider { overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.82); border-radius: 30px; background: #effaff; }
.home-v3-slide-card { display: grid; grid-template-columns: minmax(280px, 0.94fr) minmax(0, 1.06fr); min-height: 330px; background: linear-gradient(135deg, #fefefe, #e9f8fd); }
.home-v3-slide-image { min-height: 330px; overflow: hidden; background: #d9f1fa; }
.home-v3-slide-image img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: center; }
.home-v3-slide-copy { display: grid; align-content: center; justify-items: start; padding: clamp(1.7rem, 4vw, 4.1rem); background: radial-gradient(circle at 92% 6%, rgba(255, 202, 111, 0.24), transparent 24%), linear-gradient(135deg, #fff, #effaff); }
.home-v3-slide-copy > span { color: #1680a8; font-size: 0.73rem; font-weight: 950; letter-spacing: 0.12em; text-transform: uppercase; }
.home-v3-slide-copy h2 { max-width: 14ch; margin: 0.8rem 0 0; color: #143c54; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.75rem); letter-spacing: -0.045em; line-height: 0.98; }
.home-v3-slide-copy p { max-width: 55ch; margin: 1rem 0 0; color: #5f7c8e; line-height: 1.68; }
.home-v3-slide-copy a { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.35rem; padding: 0.67rem 0.88rem; border-radius: 12px; color: #fff; background: #0d769f; font-size: 0.85rem; font-weight: 900; text-decoration: none; }
.home-v3-slide-copy a:hover,
.home-v3-slide-copy a:focus { color: #fff; background: #095e80; }
.home-v3-slider .carousel-indicators { right: auto; bottom: 0.8rem; left: clamp(1rem, 3vw, 2rem); justify-content: flex-start; margin: 0; }
.home-v3-slider .carousel-indicators [data-bs-target] { width: 25px; height: 6px; border: 0; border-radius: 999px; background: rgba(19, 71, 95, 0.26); opacity: 1; }
.home-v3-slider .carousel-indicators .active { width: 46px; background: #0d82ac; }
.home-v3-slider .carousel-control-prev,
.home-v3-slider .carousel-control-next { top: auto; bottom: 1.25rem; width: 38px; height: 38px; border-radius: 50%; background: #0d668a; opacity: 1; }
.home-v3-slider .carousel-control-prev { right: 3.6rem; left: auto; }
.home-v3-slider .carousel-control-next { right: 1rem; }

.home-v3-featured { background: radial-gradient(circle at 97% 2%, rgba(255, 200, 103, 0.18), transparent 21%), linear-gradient(145deg, #fff, #f3fbfe); }
.home-v3-project-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; }
.home-v3-project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgba(19, 101, 134, 0.12); border-radius: 19px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 25px rgba(13, 73, 98, 0.07); transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease; }
.home-v3-project-card:hover { border-color: rgba(12, 130, 171, 0.32); box-shadow: 0 19px 35px rgba(13, 73, 98, 0.13); transform: translateY(-4px); }
.home-v3-project-image { position: relative; display: block; aspect-ratio: 1.33 / 0.88; overflow: hidden; background: #e6f7fc; }
.home-v3-project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.home-v3-project-card:hover .home-v3-project-image img { transform: scale(1.05); }
.home-v3-project-image::after { position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(transparent, rgba(11, 57, 77, 0.4)); content: ""; pointer-events: none; }
.home-v3-project-image span { position: absolute; z-index: 1; right: 0.65rem; bottom: 0.6rem; padding: 0.29rem 0.48rem; border-radius: 999px; color: #fff; background: rgba(13, 68, 92, 0.8); font-size: 0.65rem; font-weight: 850; }
.home-v3-project-image .home-v3-project-icon { top: 0.62rem; right: 0.62rem; bottom: auto; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 11px; color: #0d698e; background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 18px rgba(7, 50, 70, 0.16); }
.home-v3-project-image .home-v3-project-icon svg { width: 17px; height: 17px; }
.home-v3-project-content { display: flex; flex: 1; flex-direction: column; padding: 0.95rem; }
.home-v3-project-meta { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.home-v3-project-meta span { padding: 0.23rem 0.4rem; border-radius: 999px; color: #4e758a; background: #edf8fc; font-size: 0.6rem; font-weight: 850; line-height: 1.2; }
.home-v3-project-meta span:nth-child(2) { color: #0a738f; background: #ddf6f7; }
.home-v3-project-meta span:nth-child(3) { max-width: 100%; overflow: hidden; color: #876226; background: #fff3d9; text-overflow: ellipsis; white-space: nowrap; }
.home-v3-project-card h3 { margin: 0.75rem 0 0; color: #153c53; font-size: 1rem; font-weight: 950; letter-spacing: -0.02em; line-height: 1.28; }
.home-v3-project-card h3 a { color: inherit; text-decoration: none; }
.home-v3-project-card h3 a:hover,
.home-v3-project-card h3 a:focus { color: #08769d; }
.home-v3-project-card p { display: -webkit-box; min-height: 4.25em; margin: 0.52rem 0 0; overflow: hidden; color: #688497; font-size: 0.73rem; line-height: 1.46; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-v3-stack { display: grid; gap: 0.25rem; margin-top: 0.75rem; padding-top: 0.7rem; border-top: 1px solid rgba(18, 96, 126, 0.09); }
.home-v3-stack span { overflow: hidden; color: #497188; font-size: 0.64rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.home-v3-stack span:first-child::before { margin-right: 0.35rem; color: #0c81a9; content: "Stack"; font-weight: 950; }
.home-v3-stack span:last-child::before { margin-right: 0.35rem; color: #b0751f; content: "DB"; font-weight: 950; }
.home-v3-project-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; margin-top: auto; padding-top: 0.85rem; }
.home-v3-project-footer > strong { color: #075e81; font-size: 1rem; font-weight: 950; letter-spacing: -0.025em; }
.home-v3-project-footer > div { display: flex; align-items: center; gap: 0.35rem; }
.home-v3-demo-link { color: #14789c; font-size: 0.68rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.home-v3-demo-link:hover,
.home-v3-demo-link:focus { color: #095976; text-decoration: underline; }
.home-v3-project-footer form { margin: 0; }
.home-v3-project-footer button { min-height: 32px; padding: 0.35rem 0.54rem; border: 0; border-radius: 9px; color: #fff; background: #0c7ea7; font-size: 0.67rem; font-weight: 900; white-space: nowrap; }
.home-v3-project-footer button:hover,
.home-v3-project-footer button:focus { background: #075e7f; }
.home-v3-empty-state { display: grid; gap: 0.6rem; padding: 2rem; border: 1px dashed rgba(17, 117, 153, 0.3); border-radius: 20px; color: #54778b; background: #f7fdff; text-align: center; }
.home-v3-empty-state strong { color: #173f56; }.home-v3-empty-state a { color: #08759d; font-weight: 900; }

.home-v3-delivery { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(400px, 1.15fr); gap: clamp(1.8rem, 5vw, 5rem); align-items: center; overflow: hidden; background: radial-gradient(circle at 5% 14%, rgba(120, 218, 239, 0.32), transparent 25%), linear-gradient(130deg, #0d5575, #0d7898 52%, #08756d); box-shadow: 0 24px 58px rgba(8, 76, 102, 0.22); }
.home-v3-delivery::before { position: absolute; right: -68px; bottom: -90px; width: 290px; height: 290px; border: 34px solid rgba(255, 255, 255, 0.1); border-radius: 50%; content: ""; }
.home-v3-delivery .home-v3-eyebrow { color: #bceffc; }.home-v3-delivery h2 { max-width: 13ch; color: #fff; }.home-v3-delivery p { max-width: 49ch; margin: 1rem 0 1.35rem; color: #c8eff8; line-height: 1.75; }.home-v3-delivery .home-v3-primary-action { background: #fff; color: #075b7d; box-shadow: 0 14px 24px rgba(2, 38, 55, 0.18); }.home-v3-delivery .home-v3-primary-action:hover,
.home-v3-delivery .home-v3-primary-action:focus { color: #064c6b; background: #eefaff; }
.home-v3-steps { position: relative; z-index: 1; display: grid; gap: 0.72rem; margin: 0; padding: 0; list-style: none; }
.home-v3-steps li { display: flex; align-items: center; gap: 0.85rem; padding: 0.82rem 0.92rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 17px; background: rgba(255, 255, 255, 0.11); backdrop-filter: blur(7px); }
.home-v3-steps li > span { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 12px; color: #0b6689; background: #e4f8fe; font-size: 0.68rem; font-weight: 950; }.home-v3-steps strong,
.home-v3-steps small { display: block; }.home-v3-steps strong { color: #fff; font-size: 0.86rem; font-weight: 950; }.home-v3-steps small { margin-top: 0.18rem; color: #c1eaf5; font-size: 0.73rem; line-height: 1.45; }

.home-v3-latest { background: linear-gradient(145deg, #fff, #f4fbfd); }.home-v3-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }.home-v3-latest-card { display: grid; grid-template-columns: 105px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 0.85rem; min-height: 118px; padding: 0.7rem; border: 1px solid rgba(20, 107, 140, 0.12); border-radius: 17px; color: #173f56; background: #fff; box-shadow: 0 9px 21px rgba(18, 81, 106, 0.06); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }.home-v3-latest-card:hover,
.home-v3-latest-card:focus { color: #123b52; box-shadow: 0 16px 30px rgba(18, 81, 106, 0.12); transform: translateY(-3px); }.home-v3-latest-card img { grid-row: span 3; width: 105px; height: 100%; min-height: 98px; border-radius: 12px; object-fit: cover; background: #e8f8fd; }.home-v3-latest-card > span { align-self: start; color: #0e83aa; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }.home-v3-latest-card > strong { display: -webkit-box; margin: 0.26rem 0; overflow: hidden; font-size: 0.9rem; line-height: 1.34; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.home-v3-latest-card > small { align-self: end; color: #55778a; font-size: 0.75rem; font-weight: 800; }.home-v3-latest-card b { margin-left: 0.28rem; color: #0b7298; font-size: 0.68rem; }

.home-v3-gallery { background: radial-gradient(circle at 93% 4%, rgba(255, 208, 127, 0.2), transparent 24%), linear-gradient(145deg, #faffff, #edfafe); }.home-v3-gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.8rem; }.home-v3-gallery-card { position: relative; grid-column: span 3; min-height: 190px; overflow: hidden; border-radius: 19px; background: #dceff5; }.home-v3-gallery-card.is-featured { grid-column: span 6; min-height: 250px; }.home-v3-gallery-card img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform 550ms ease; }.home-v3-gallery-card::after { position: absolute; inset: 36% 0 0; background: linear-gradient(transparent, rgba(9, 52, 73, 0.78)); content: ""; }.home-v3-gallery-card:hover img { transform: scale(1.05); }.home-v3-gallery-card div { position: absolute; z-index: 1; right: 0.82rem; bottom: 0.75rem; left: 0.82rem; color: #fff; }.home-v3-gallery-card strong,
.home-v3-gallery-card span { display: block; }.home-v3-gallery-card strong { font-size: 0.9rem; font-weight: 950; }.home-v3-gallery-card span { margin-top: 0.22rem; color: rgba(255, 255, 255, 0.84); font-size: 0.68rem; line-height: 1.4; }

.home-v3-resources { background: linear-gradient(145deg, #fff, #f5fcff); }.home-v3-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }.home-v3-resource-card { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 1.25rem; overflow: hidden; border: 1px solid rgba(19, 104, 137, 0.13); border-radius: 21px; background: #f2fbfe; }.home-v3-resource-card::after { position: absolute; top: -58px; right: -48px; width: 156px; height: 156px; border-radius: 50%; background: rgba(255, 255, 255, 0.47); content: ""; }.home-v3-resource-card.is-notes { background: linear-gradient(145deg, #e6f7ff, #f7fcff); }.home-v3-resource-card.is-exams { background: linear-gradient(145deg, #fff0d4, #fffaf0); }.home-v3-resource-card.is-app { background: linear-gradient(145deg, #e8f8ed, #f7fffb); }.home-v3-resource-card > span { position: relative; z-index: 1; color: #0b7b9f; font-size: 0.68rem; font-weight: 950; letter-spacing: 0.1em; text-transform: uppercase; }.home-v3-resource-card.is-exams > span { color: #ad6b13; }.home-v3-resource-card.is-app > span { color: #187c4a; }.home-v3-resource-card h3 { position: relative; z-index: 1; max-width: 10ch; margin: 0.6rem 0; color: #153e55; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; line-height: 1; }.home-v3-resource-card p { position: relative; z-index: 1; max-width: 31ch; margin: 0; color: #5b7d91; font-size: 0.84rem; line-height: 1.64; }.home-v3-resource-card small { position: relative; z-index: 1; margin-top: auto; color: #527184; font-size: 0.7rem; font-weight: 800; }.home-v3-resource-card a { position: relative; z-index: 1; align-self: flex-start; margin-top: 0.7rem; color: #08769d; font-size: 0.78rem; font-weight: 950; text-decoration: none; }.home-v3-resource-card a:hover,
.home-v3-resource-card a:focus { color: #065772; text-decoration: underline; text-underline-offset: 0.24rem; }

.home-v3-final { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 4vw, 5rem); padding: clamp(1.5rem, 4vw, 3.4rem); overflow: hidden; border: 1px solid rgba(19, 115, 150, 0.17); border-radius: 30px; background: radial-gradient(circle at 93% 5%, rgba(255, 206, 117, 0.32), transparent 19%), radial-gradient(circle at 0% 100%, rgba(102, 214, 241, 0.36), transparent 29%), linear-gradient(135deg, #fff, #eaf9ff); box-shadow: 0 22px 52px rgba(17, 83, 111, 0.12); }.home-v3-final h2 { max-width: 18ch; }.home-v3-final p { max-width: 70ch; margin: 0.85rem 0 0; color: #5d7d91; line-height: 1.7; }.home-v3-final-actions { display: grid; flex: 0 0 min(100%, 300px); gap: 0.62rem; }.home-v3-final-actions .home-v3-primary-action,
.home-v3-final-actions .home-v3-secondary-action { width: 100%; }.home-v3-final-actions .home-v3-text-link { justify-self: center; margin-top: 0.1rem; }

/* Give the dense desktop menu more room before it changes to its compact layout. */
@media (min-width: 1400px) {
    .navbar-brand { flex-basis: 300px; max-width: 300px; }
    .brand-tagline { max-width: 25ch; }
    .nav-menu { gap: 0; }
    .nav-link { padding-inline: 0.52rem !important; font-size: 0.78rem; }
    .nav-link-home { padding-inline: 0.66rem !important; }
    .nav-utility { gap: 0.34rem; }
    .btn-nav-download,
    .btn-cart { padding-inline: 0.66rem; font-size: 0.78rem; }
}

@media (max-width: 1399.98px) {
    .home-v3-project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .home-v3-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199.98px) {
    .home-v3-hero { grid-template-columns: 1fr; min-height: 0; }
    .home-v3-hero h1 { max-width: 13ch; }
    .home-v3-hero-visual { max-width: 740px; min-height: 425px; margin: 0 auto; }
    .home-v3-delivery { grid-template-columns: 1fr; }
    .home-v3-delivery h2 { max-width: 17ch; }
    .home-v3-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-v3-latest-grid { grid-template-columns: 1fr; }
    .home-v3-latest-card { min-height: 130px; }
}

@media (max-width: 991.98px) {
    .home-v3-metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-v3-resource-grid { grid-template-columns: 1fr; }
    .home-v3-resource-card { min-height: 210px; }
    .home-v3-resource-card h3 { max-width: none; }
    .home-v3-gallery-card { grid-column: span 6; }.home-v3-gallery-card.is-featured { grid-column: span 12; }
    .home-v3-final { align-items: flex-start; flex-direction: column; }.home-v3-final-actions { width: 100%; max-width: 390px; }
}

@media (max-width: 767.98px) {
    .home-v3-hero { gap: 1.4rem; margin-top: 0.55rem; padding: 1.2rem; border-radius: 25px; }
    .home-v3-hero::before { top: -180px; left: auto; right: -110px; }.home-v3-hero::after { display: none; }
    .home-v3-hero h1 { max-width: 100%; font-size: clamp(2.55rem, 13vw, 4rem); line-height: 0.93; }
    .home-v3-kicker { font-size: 0.63rem; letter-spacing: 0.09em; }
    .home-v3-search { grid-template-columns: 1fr; padding: 0.38rem; border-radius: 16px; }.home-v3-search input { min-height: 48px; font-size: 0.87rem; }.home-v3-search button { min-height: 48px; }
    .home-v3-actions { display: grid; grid-template-columns: 1fr; }.home-v3-actions a { width: 100%; }
    .home-v3-quick-filters { gap: 0.38rem; }.home-v3-quick-filters > span { flex-basis: 100%; margin-bottom: 0.08rem; }
    .home-v3-hero-visual { min-height: 330px; padding: 0.45rem 0.45rem 1.8rem; }.home-v3-dashboard-frame { border-radius: 22px; transform: rotate(0.8deg); }.home-v3-dashboard-frame img { min-height: 255px; }.home-v3-floating { width: min(244px, 76%); padding: 0.68rem; }.home-v3-floating-top { top: 0.15rem; right: -0.15rem; }.home-v3-floating-bottom { bottom: 0; left: -0.1rem; }.home-v3-orbit { display: none; }
    .home-v3-metric-strip { margin: 0.8rem 0 1.55rem; border-radius: 18px; }.home-v3-metric-strip article { min-height: 92px; padding: 0.85rem; }
    .home-v3-section,
    .home-v3-final { margin-top: 1.4rem; padding: 1.1rem; border-radius: 23px; }.home-v3-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 1.2rem; }.home-v3-section-head h2,
    .home-v3-delivery h2,
    .home-v3-final h2 { max-width: 100%; font-size: clamp(1.75rem, 9vw, 2.5rem); }.home-v3-section-head > a { white-space: normal; }
    .home-v3-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }.home-v3-collection-card { min-height: 198px; padding: 0.82rem; border-radius: 17px; }.home-v3-collection-card small { min-height: 0; font-size: 0.66rem; }.home-v3-card-symbol { width: 38px; height: 38px; border-radius: 12px; }
    .home-v3-slider-section,
    .home-v3-slider { border-radius: 23px; }.home-v3-slide-card { grid-template-columns: 1fr; }.home-v3-slide-image,
    .home-v3-slide-image img { min-height: 205px; height: 205px; }.home-v3-slide-copy { padding: 1.25rem 1.15rem 3.3rem; }.home-v3-slide-copy h2 { max-width: 100%; font-size: clamp(1.8rem, 9vw, 2.7rem); }.home-v3-slide-copy p { font-size: 0.88rem; }.home-v3-slider .carousel-control-prev,
    .home-v3-slider .carousel-control-next { bottom: 0.8rem; }
    .home-v3-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.62rem; }.home-v3-project-card { border-radius: 16px; }.home-v3-project-content { padding: 0.7rem; }.home-v3-project-meta { gap: 0.22rem; }.home-v3-project-meta span { font-size: 0.54rem; }.home-v3-project-card h3 { margin-top: 0.55rem; font-size: 0.85rem; }.home-v3-project-card p { display: -webkit-box; min-height: 2.92em; font-size: 0.67rem; -webkit-line-clamp: 2; }.home-v3-stack { margin-top: 0.6rem; padding-top: 0.5rem; }.home-v3-stack span { font-size: 0.56rem; }.home-v3-project-footer { align-items: flex-start; flex-direction: column; gap: 0.42rem; padding-top: 0.62rem; }.home-v3-project-footer > strong { font-size: 0.88rem; }.home-v3-project-footer > div { width: 100%; justify-content: space-between; }.home-v3-project-footer button { min-height: 30px; font-size: 0.62rem; }.home-v3-demo-link { font-size: 0.61rem; }
    .home-v3-delivery { gap: 1.5rem; }.home-v3-delivery p { font-size: 0.9rem; }.home-v3-steps li { padding: 0.7rem; }.home-v3-steps small { font-size: 0.67rem; }
    .home-v3-latest-card { grid-template-columns: 88px minmax(0, 1fr); min-height: 106px; }.home-v3-latest-card img { width: 88px; min-height: 90px; }.home-v3-gallery-grid { grid-template-columns: 1fr; }.home-v3-gallery-card,
    .home-v3-gallery-card.is-featured { grid-column: auto; min-height: 200px; }.home-v3-gallery-card.is-featured { min-height: 230px; }
    .home-v3-final-actions { max-width: none; }
}

@media (max-width: 420px) {
    .home-v3-metric-strip { grid-template-columns: 1fr; }.home-v3-metric-strip article { min-height: 74px; }.home-v3-collection-grid,
    .home-v3-project-grid { grid-template-columns: 1fr; }.home-v3-project-card p { display: -webkit-box; }.home-v3-project-footer { align-items: center; flex-direction: row; }.home-v3-project-footer > div { width: auto; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    .home-v3-collection-card,
    .home-v3-project-card,
    .home-v3-project-image img,
    .home-v3-gallery-card img,
    .home-v3-search button,
    .home-v3-primary-action,
    .home-v3-secondary-action,
    .home-v3-latest-card { transition: none; }
}

/* Secure delivery page: help students move from download to a usable project bundle. */
.order-download-guidance {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(410px, 1.2fr);
    gap: clamp(1.4rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(18, 116, 151, 0.18);
    border-radius: 25px;
    background:
        radial-gradient(circle at 96% 6%, rgba(255, 205, 109, 0.2), transparent 22%),
        linear-gradient(135deg, #f9feff, #e8f8fd);
}

.order-download-guidance-copy h2 {
    max-width: 14ch;
    margin: 0.45rem 0 0;
    color: #143c53;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.8vw, 2.35rem);
    letter-spacing: -0.04em;
    line-height: 1.03;
}

.order-download-guidance-copy p {
    max-width: 45ch;
    margin: 0.85rem 0 0;
    color: #5d7d90;
    line-height: 1.68;
}

.order-download-guidance-steps {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-download-guidance-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.78rem;
    border: 1px solid rgba(14, 108, 145, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.84);
}

.order-download-guidance-steps > li > span {
    display: grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #0d80a8, #0d6489);
    font-size: 0.75rem;
    font-weight: 950;
}

.order-download-guidance-steps strong,
.order-download-guidance-steps small { display: block; }
.order-download-guidance-steps strong { color: #183f55; font-size: 0.85rem; font-weight: 950; }
.order-download-guidance-steps small { margin-top: 0.16rem; color: #658396; font-size: 0.74rem; line-height: 1.48; }

@media (max-width: 991.98px) {
    .order-download-guidance { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .order-download-guidance { padding: 1rem; border-radius: 20px; }
    .order-download-guidance-copy h2 { max-width: none; }
    .order-download-guidance-copy .btn { width: 100%; }
    .order-download-guidance-steps li { padding: 0.65rem; }
}

/* Premium shared shell: a compact, readable header and conversion-focused footer. */
.premium-topline {
    position: relative;
    z-index: 1031;
    color: #eafaff;
    background: linear-gradient(102deg, #12618a 0%, #177da8 50%, #43b7df 100%);
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.18);
}

.premium-topline .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(calc(100% - 36px), 1680px);
    max-width: none;
    min-height: 46px;
    padding: 0.45rem 0;
}

.premium-topline .announcement-left,
.premium-topline .announcement-contact {
    display: flex;
    align-items: center;
    gap: 0.68rem;
}

.premium-topline .announcement-copy {
    color: #f8fdff;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.01em;
}

.premium-topline .announcement-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd476;
    box-shadow: 0 0 0 5px rgba(255, 212, 118, 0.18);
}

.premium-topline .announcement-pill {
    padding: 0.25rem 0.52rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #e8f9ff;
    background: rgba(0, 66, 100, 0.18);
    font-size: 0.66rem;
    font-weight: 850;
}

.premium-topline-contact,
.premium-topline .announcement-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-height: 30px;
    padding: 0.26rem 0.56rem;
    border: 1px solid rgba(255, 255, 255, 0.21);
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.premium-topline .announcement-whatsapp {
    border-color: rgba(218, 255, 232, 0.45);
    background: rgba(18, 176, 103, 0.34);
}

.premium-topline-contact:hover,
.premium-topline-contact:focus,
.premium-topline .announcement-whatsapp:hover,
.premium-topline .announcement-whatsapp:focus {
    color: #fff;
    background: rgba(3, 59, 88, 0.28);
    transform: translateY(-1px);
}

.premium-site-header {
    z-index: 1030;
    padding: 0.9rem 0 0.56rem;
    background:
        radial-gradient(circle at 88% -70%, rgba(136, 221, 246, 0.34), transparent 36%),
        linear-gradient(180deg, rgba(246, 253, 255, 0.98), rgba(238, 249, 252, 0.93));
    box-shadow: 0 12px 28px rgba(15, 78, 104, 0.07);
}

.premium-navbar {
    width: min(calc(100% - 36px), 1680px);
    min-height: 78px;
    margin: 0 auto;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(21, 116, 153, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.91);
    box-shadow: 0 16px 32px rgba(11, 76, 103, 0.1);
    backdrop-filter: blur(14px);
}

.premium-navbar > .container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 0;
}

.premium-brand {
    display: inline-flex;
    flex: 0 1 300px;
    align-items: center;
    min-width: 0;
    gap: 0.68rem;
    margin: 0;
    color: #123c54;
    text-decoration: none;
}

.premium-brand:hover,
.premium-brand:focus { color: #0b6287; }

.premium-brand .brand-mark-shell {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(20, 128, 168, 0.19);
    border-radius: 17px;
    background: linear-gradient(145deg, #e9f9ff, #cff0fb);
    box-shadow: 0 8px 18px rgba(17, 128, 166, 0.13);
}

.premium-brand .brand-mark-shell img { width: 52px; height: 52px; object-fit: contain; }
.premium-brand .brand-copy { display: grid; min-width: 0; gap: 0.03rem; }
.premium-brand .brand-kicker { color: #1580a8; font-size: 0.58rem; font-weight: 950; letter-spacing: 0.13em; text-transform: uppercase; }
.premium-brand strong { overflow: hidden; color: #123a52; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 1.55vw, 1.45rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; text-overflow: ellipsis; white-space: nowrap; }
.premium-brand .brand-tagline { overflow: hidden; color: #69879a; font-size: 0.62rem; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }

.premium-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(12, 108, 146, 0.22);
    border-radius: 13px;
    color: #0c6185;
    background: #f1fbfe;
    box-shadow: none;
}

.premium-menu-toggle:focus { box-shadow: 0 0 0 0.22rem rgba(21, 151, 195, 0.18); }
.premium-menu-toggle .navbar-toggler-icon { width: 19px; height: 14px; background-image: linear-gradient(#0d668b, #0d668b), linear-gradient(#0d668b, #0d668b), linear-gradient(#0d668b, #0d668b); background-position: 0 0, 0 6px, 0 12px; background-repeat: no-repeat; background-size: 100% 2px; }
.premium-menu-toggle .navbar-toggler-label { font-size: 0.7rem; font-weight: 950; text-transform: uppercase; }

.premium-nav-palette {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 0.52rem;
    min-width: 0;
}

.premium-nav-menu { flex-wrap: nowrap; gap: 0.04rem; }
.premium-nav-menu .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.48rem 0.5rem !important;
    border-radius: 12px;
    color: #4c7189;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.premium-nav-menu .nav-link:hover,
.premium-nav-menu .nav-link:focus { color: #0b6e96; background: #eaf8fd; }
.premium-nav-menu .nav-link.active,
.premium-nav-menu .nav-link[aria-current="page"] { color: #fff; background: linear-gradient(135deg, #0a5d80, #0c769d); box-shadow: 0 7px 15px rgba(10, 91, 124, 0.2); }
.premium-nav-menu .dropdown-toggle::after { margin-left: 0.38rem; border-width: 0.28em 0.28em 0; }
.premium-nav-menu .nav-item-secondary { display: none; }

.premium-nav-menu .dropdown-menu {
    min-width: 225px;
    padding: 0.42rem;
    border: 1px solid rgba(16, 106, 142, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(12, 70, 95, 0.16);
}

.premium-nav-menu .dropdown-item {
    padding: 0.58rem 0.65rem;
    border-radius: 10px;
    color: #416b83;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: normal;
}

.premium-nav-menu .dropdown-item:hover,
.premium-nav-menu .dropdown-item:focus { color: #075d80; background: #eaf8fc; }
.premium-nav-menu .dropdown-divider { margin: 0.35rem; border-top-color: rgba(18, 113, 148, 0.13); }

.premium-nav-utility {
    flex: 0 0 auto;
    gap: 0.35rem;
    margin: 0;
}

.premium-nav-utility > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

.nav-support-link { padding: 0.48rem 0.62rem; color: #147b5b; background: #e9faf0; }
.nav-support-link:hover,
.nav-support-link:focus { color: #075e40; background: #d9f5e6; }
.nav-catalogue-cta { gap: 0.32rem; padding: 0.48rem 0.64rem; color: #0b6c92; background: #eefaff; }
.nav-catalogue-cta:hover,
.nav-catalogue-cta:focus { color: #075371; background: #dff5fc; }
.premium-cart { gap: 0.35rem; padding: 0.42rem 0.64rem; border: 0; color: #fff; background: linear-gradient(135deg, #123f59, #0d6b91); box-shadow: 0 7px 15px rgba(8, 74, 103, 0.16); }
.premium-cart:hover,
.premium-cart:focus { color: #fff; background: linear-gradient(135deg, #0d5878, #0a789e); }
.premium-cart .badge { min-width: 20px; color: #0b668b; font-size: 0.62rem; }

.premium-site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(2.6rem, 6vw, 5rem) 0 1.4rem;
    color: #c6e4ef;
    background: radial-gradient(circle at 6% 18%, rgba(71, 186, 221, 0.2), transparent 20%), radial-gradient(circle at 95% 84%, rgba(30, 178, 151, 0.15), transparent 25%), #082e45;
}

.premium-site-footer::before { position: absolute; top: -190px; right: -170px; width: 480px; height: 480px; border: 72px solid rgba(107, 207, 239, 0.08); border-radius: 50%; content: ""; pointer-events: none; }
.premium-site-footer .container { position: relative; z-index: 1; width: min(calc(100% - 36px), 1480px); max-width: none; }

.premium-footer-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.2rem, 4vw, 4rem);
    margin-bottom: clamp(2.25rem, 5vw, 4rem);
    padding: clamp(1.35rem, 3vw, 2.15rem);
    border: 1px solid rgba(183, 234, 249, 0.62);
    border-radius: 25px;
    color: #143e55;
    background: linear-gradient(130deg, #f5fdff, #d9f5fd 64%, #e2fbf3);
    box-shadow: 0 20px 42px rgba(0, 21, 34, 0.17);
}

.premium-footer-eyebrow { color: #0d789d; font-size: 0.67rem; font-weight: 950; letter-spacing: 0.14em; text-transform: uppercase; }
.premium-footer-callout h2 { max-width: 20ch; margin: 0.45rem 0 0; color: #123d55; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.65rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.02; }
.premium-footer-callout p { max-width: 59ch; margin: 0.7rem 0 0; color: #58778a; font-size: 0.88rem; line-height: 1.65; }
.premium-footer-callout-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 0.55rem; }
.premium-footer-primary,
.premium-footer-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0.64rem 0.86rem; border-radius: 13px; font-size: 0.76rem; font-weight: 950; text-align: center; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.premium-footer-primary { gap: 0.4rem; color: #fff; background: #0b6e96; box-shadow: 0 9px 18px rgba(7, 86, 119, 0.2); }
.premium-footer-primary:hover,
.premium-footer-primary:focus { color: #fff; background: #075a7b; transform: translateY(-1px); }
.premium-footer-secondary { border: 1px solid rgba(12, 108, 146, 0.25); color: #0a668c; background: rgba(255, 255, 255, 0.75); }
.premium-footer-secondary:hover,
.premium-footer-secondary:focus { color: #075573; background: #fff; transform: translateY(-1px); }

.premium-footer-grid { display: grid; grid-template-columns: minmax(240px, 1.55fr) repeat(2, minmax(145px, 0.85fr)) minmax(190px, 1fr); gap: clamp(1.6rem, 4vw, 4.3rem); }
.premium-footer-logo { display: inline-flex; align-items: center; gap: 0.62rem; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.035em; text-decoration: none; }
.premium-footer-logo:hover,
.premium-footer-logo:focus { color: #aeeafe; }
.premium-footer-logo-mark { display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border-radius: 14px; background: linear-gradient(145deg, #d5f6ff, #96e1f5); }
.premium-footer-logo-mark img { width: 42px; height: 42px; object-fit: contain; }
.premium-footer-brand > p { max-width: 36ch; margin: 0.88rem 0 1rem; color: #aacbd8; font-size: 0.79rem; line-height: 1.64; }
.premium-footer-contact { display: flex; width: fit-content; max-width: 100%; gap: 0.42rem; margin-top: 0.36rem; overflow-wrap: anywhere; color: #d9f1f8; font-size: 0.74rem; font-weight: 800; text-decoration: none; }
.premium-footer-contact span { min-width: 35px; color: #69c9e8; font-size: 0.62rem; font-weight: 950; letter-spacing: 0.06em; text-transform: uppercase; }
.premium-footer-contact:hover,
.premium-footer-contact:focus { color: #fff; }
.premium-footer-whatsapp { display: inline-flex; align-items: center; gap: 0.38rem; margin-top: 0.9rem; padding: 0.44rem 0.65rem; border: 1px solid rgba(115, 222, 169, 0.3); border-radius: 11px; color: #d7ffe9; background: rgba(17, 154, 92, 0.2); font-size: 0.69rem; font-weight: 950; text-decoration: none; }
.premium-footer-whatsapp:hover,
.premium-footer-whatsapp:focus { color: #fff; background: rgba(17, 154, 92, 0.36); }
.premium-footer-column h3 { margin: 0.36rem 0 0.92rem; color: #fff; font-size: 0.77rem; font-weight: 950; letter-spacing: 0.075em; text-transform: uppercase; }
.premium-footer-column ul { display: grid; gap: 0.53rem; margin: 0; padding: 0; list-style: none; }
.premium-footer-column a { color: #afd1df; font-size: 0.76rem; font-weight: 750; text-decoration: none; transition: color 160ms ease; }
.premium-footer-column a:hover,
.premium-footer-column a:focus { color: #fff; text-decoration: underline; text-decoration-color: #59c9e9; text-underline-offset: 0.24rem; }
.premium-footer-service { padding: 1rem; border: 1px solid rgba(133, 210, 235, 0.15); border-radius: 18px; background: rgba(255, 255, 255, 0.045); }
.premium-footer-service h3 { margin-top: 0; }.premium-footer-service p { margin: 0; color: #abceda; font-size: 0.76rem; line-height: 1.62; }.premium-footer-service-link { display: inline-flex; gap: 0.35rem; margin-top: 0.8rem; color: #9ee8fd !important; font-weight: 950 !important; }.premium-footer-trust { display: flex; flex-wrap: wrap; gap: 0.32rem; margin-top: 0.86rem; }.premium-footer-trust span { padding: 0.25rem 0.42rem; border: 1px solid rgba(121, 215, 244, 0.23); border-radius: 999px; color: #d7f5ff; background: rgba(38, 150, 187, 0.13); font-size: 0.58rem; font-weight: 950; letter-spacing: 0.05em; }

.premium-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2.2rem, 5vw, 4rem); padding-top: 1.15rem; border-top: 1px solid rgba(174, 225, 240, 0.16); color: #8fb8c8; font-size: 0.67rem; font-weight: 700; }
.premium-footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 0.85rem; }.premium-footer-bottom a { color: #b9dae5; text-decoration: none; }.premium-footer-bottom a:hover,
.premium-footer-bottom a:focus { color: #fff; text-decoration: underline; text-underline-offset: 0.2rem; }

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .premium-brand { flex-basis: 263px; }
    .premium-brand strong { font-size: 1.08rem; }
    .premium-brand .brand-tagline { display: none; }
    .premium-nav-menu .nav-link { padding-inline: 0.42rem !important; font-size: 0.69rem; }
    .premium-nav-utility > a { padding-inline: 0.5rem; font-size: 0.65rem; }
}

@media (max-width: 1199.98px) {
    .premium-site-header { padding: 0.62rem 0 0.45rem; }
    .premium-navbar { min-height: 68px; border-radius: 20px; }
    .premium-brand { flex: 1 1 auto; max-width: calc(100% - 96px); }
    .premium-brand strong { overflow: visible; line-height: 1.12; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
    .premium-brand .brand-tagline { max-width: 52ch; }
    .premium-navbar .navbar-collapse { flex-basis: 100%; width: 100%; }
    .premium-nav-palette { display: block; margin-top: 0.72rem; padding: 0.55rem; border: 1px solid rgba(14, 111, 147, 0.11); border-radius: 17px; background: #f5fcff; }
    .premium-nav-menu { align-items: stretch !important; gap: 0.08rem; }
    .premium-nav-menu .nav-link { justify-content: space-between; min-height: 43px; padding-inline: 0.7rem !important; }
    .premium-nav-menu .dropdown-menu { position: static; margin: 0.15rem 0 0.35rem; border: 0; border-radius: 12px; box-shadow: none; }
    .premium-nav-utility { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin-top: 0.5rem; padding-top: 0.55rem; border-top: 1px solid rgba(13, 108, 145, 0.12); }
    .premium-nav-utility > a { width: 100%; min-width: 0; padding-inline: 0.35rem; }
}

@media (max-width: 991.98px) {
    .premium-footer-grid { grid-template-columns: minmax(250px, 1.25fr) repeat(2, minmax(150px, 0.85fr)); }
    .premium-footer-service { grid-column: span 3; }
}

@media (max-width: 767.98px) {
    .premium-topline .container { width: min(calc(100% - 24px), 1680px); min-height: 39px; }
    .premium-topline .announcement-copy { font-size: 0.67rem; }
    .premium-topline .announcement-pill,
    .premium-topline-contact { display: none; }
    .premium-topline .announcement-contact { margin-left: auto; }
    .premium-topline .announcement-whatsapp { min-height: 27px; padding: 0.18rem 0.42rem; font-size: 0.62rem; }
    .premium-navbar { width: min(calc(100% - 24px), 1680px); padding: 0.4rem 0.5rem; }
    .premium-brand .brand-mark-shell { flex-basis: 46px; width: 46px; height: 46px; border-radius: 14px; }
    .premium-brand .brand-mark-shell img { width: 46px; height: 46px; }
    .premium-brand strong { font-size: 1rem; }
    .premium-brand .brand-kicker,
    .premium-brand .brand-tagline { display: none; }
    .premium-menu-toggle { min-height: 41px; padding-inline: 0.58rem; }
    .premium-nav-utility { grid-template-columns: 1fr 1.2fr 0.8fr; }
    .premium-footer-callout { align-items: flex-start; flex-direction: column; border-radius: 20px; }
    .premium-footer-callout-actions { width: 100%; }.premium-footer-primary,
    .premium-footer-secondary { flex: 1 1 180px; }
    .premium-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem 1rem; }
    .premium-footer-brand,
    .premium-footer-service { grid-column: 1 / -1; }
    .premium-footer-bottom { align-items: flex-start; flex-direction: column; }.premium-footer-bottom nav { justify-content: flex-start; }
}

@media (max-width: 440px) {
    .premium-topline .announcement-dot { display: none; }
    .premium-topline .announcement-copy { max-width: 23ch; }
    .premium-topline .announcement-whatsapp span { display: none; }
    .premium-brand { gap: 0.48rem; }.premium-brand strong { font-size: 0.91rem; }
    .premium-menu-toggle .navbar-toggler-label { display: none; }
    .premium-nav-utility { grid-template-columns: 1fr 1fr; }.premium-cart { grid-column: span 2; }
    .premium-footer-grid { grid-template-columns: 1fr; }.premium-footer-brand,
    .premium-footer-service { grid-column: auto; }.premium-footer-column { padding-top: 0.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-topline-contact,
    .premium-topline .announcement-whatsapp,
    .premium-nav-menu .nav-link,
    .premium-footer-primary,
    .premium-footer-secondary { transition: none; }
}

/* Academic technology artwork behind the premium menu bar. */
.premium-navbar {
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 46%, rgba(240, 251, 255, 0.9) 100%),
        #f4fcff;
}

.premium-navbar::before {
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: url("../images/nav-education-pattern.svg") center / cover no-repeat;
    opacity: 0.72;
    pointer-events: none;
}

.premium-navbar::after {
    position: absolute;
    z-index: 0;
    top: -34px;
    right: 20%;
    width: 210px;
    height: 110px;
    border: 18px solid rgba(56, 182, 220, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: rotate(-9deg);
}

.premium-navbar > .container {
    position: relative;
    z-index: 1;
}

.premium-brand .brand-mark-shell {
    border-color: rgba(25, 148, 190, 0.26);
    background: linear-gradient(145deg, rgba(239, 251, 255, 0.96), rgba(185, 235, 250, 0.9));
    box-shadow: 0 10px 22px rgba(13, 119, 158, 0.17), inset 0 1px rgba(255, 255, 255, 0.9);
}

@media (max-width: 1199.98px) {
    .premium-navbar::before { background-position: 24% center; opacity: 0.5; }
    .premium-navbar::after { right: 8%; }
}

@media (max-width: 575.98px) {
    .premium-navbar::before { background-position: left center; opacity: 0.34; }
    .premium-navbar::after { display: none; }
}

/* Header readability safeguard: the site title and navigation must never compete
   for the same horizontal space, even at browser zoom or on compact laptops. */
@media (min-width: 1200px) {
    .premium-navbar {
        padding: 0.62rem 0.78rem;
    }

    .premium-navbar > .container {
        gap: 0.82rem;
    }

    .premium-brand {
        flex: 0 0 245px;
    }

    .premium-brand strong {
        overflow: visible;
        font-size: 1.08rem;
        line-height: 1.12;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .premium-brand .brand-tagline {
        white-space: normal;
    }

    .premium-navbar .navbar-collapse {
        min-width: 0;
    }

    .premium-nav-palette {
        flex-wrap: wrap;
        row-gap: 0.4rem;
    }

    .premium-nav-menu {
        justify-content: flex-end;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .premium-brand {
        flex-basis: 220px;
    }

    .premium-brand .brand-tagline,
    .premium-nav-utility .nav-support-link,
    .premium-nav-utility .nav-catalogue-cta {
        display: none;
    }

    .premium-nav-menu .nav-link {
        padding-inline: 0.38rem !important;
        font-size: 0.67rem;
    }
}

@media (max-width: 767.98px) {
    .premium-brand strong {
        overflow: visible;
        line-height: 1.12;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Keep homepage sections fully painted. Some mobile browsers can leave text blank
   when content-visibility defers large sections that contain images and sliders. */
.home-v3-section,
.home-v3-slider-section,
.home-v3-final,
.premium-site-footer {
    content-visibility: visible;
    contain-intrinsic-size: auto;
}

/* Homepage catalogue console: a content-led hero visual rather than stock artwork. */
.home-v4-hero-visual {
    display: grid;
    place-items: center;
    min-height: 500px;
    padding: 1.3rem;
}

.home-v4-hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 5% auto auto;
    width: 12rem;
    height: 12rem;
    border: 1px solid rgba(44, 174, 211, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 0 1.8rem rgba(255, 255, 255, 0.26), 0 0 0 4.7rem rgba(87, 197, 225, 0.09);
    pointer-events: none;
}

.home-v4-console {
    position: relative;
    z-index: 2;
    width: min(100%, 34rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at 94% 0%, rgba(78, 209, 234, 0.22), transparent 25%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(232, 248, 252, 0.93));
    box-shadow: 0 2rem 4.5rem rgba(9, 75, 103, 0.2), 0 0.4rem 0.9rem rgba(9, 75, 103, 0.08);
    backdrop-filter: blur(15px);
    animation: home-v4-console-rise 800ms cubic-bezier(.2, .8, .2, 1) both;
}

.home-v4-console::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(14, 127, 165, 0.12);
    border-radius: inherit;
    pointer-events: none;
}

.home-v4-console-topbar,
.home-v4-console-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
}

.home-v4-console-topbar {
    border-bottom: 1px solid rgba(16, 89, 118, 0.1);
    color: #20495f;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-v4-console-brand,
.home-v4-live,
.home-v4-console-footer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.home-v4-console-spark {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 0.24rem;
    background: linear-gradient(135deg, #f2a43b, #e36834);
    box-shadow: 0 0 0 0.28rem rgba(242, 164, 59, 0.16);
    transform: rotate(14deg);
}

.home-v4-live {
    color: #087658;
    letter-spacing: 0.03em;
}

.home-v4-live i {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #18b777;
    box-shadow: 0 0 0 0.25rem rgba(24, 183, 119, 0.13);
    animation: home-v4-live-pulse 2s ease-in-out infinite;
}

.home-v4-console-intro {
    padding: 1.35rem 1.15rem 0.95rem;
}

.home-v4-console-intro > span {
    display: block;
    color: #1682a8;
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.home-v4-console-intro strong,
.home-v4-console-intro small {
    display: block;
}

.home-v4-console-intro strong {
    max-width: 19ch;
    margin-top: 0.45rem;
    color: #113b53;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.08;
}

.home-v4-console-intro small {
    max-width: 46ch;
    margin-top: 0.65rem;
    color: #668293;
    font-size: 0.77rem;
    font-weight: 650;
    line-height: 1.55;
}

.home-v4-console-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0 1.15rem 1rem;
}

.home-v4-console-pills span {
    padding: 0.38rem 0.55rem;
    border: 1px solid rgba(14, 117, 153, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #527083;
    font-size: 0.66rem;
    font-weight: 750;
}

.home-v4-console-pills b { color: #0c7198; font-weight: 950; }

.home-v4-console-list {
    display: grid;
    gap: 0.5rem;
    padding: 0.85rem;
    border-top: 1px solid rgba(14, 89, 118, 0.1);
    border-bottom: 1px solid rgba(14, 89, 118, 0.1);
    background: rgba(225, 246, 251, 0.44);
}

.home-v4-console-project {
    display: grid;
    grid-template-columns: 1.6rem 2.65rem minmax(0, 1fr) 1.1rem;
    align-items: center;
    gap: 0.62rem;
    padding: 0.48rem;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    color: #173f55;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-v4-console-project:hover,
.home-v4-console-project:focus-visible {
    border-color: rgba(16, 127, 166, 0.19);
    background: rgba(255, 255, 255, 0.88);
    color: #0b5575;
    transform: translateX(0.28rem);
}

.home-v4-console-index {
    color: #84a3b2;
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.05em;
}

.home-v4-console-project img {
    width: 2.65rem;
    height: 2.15rem;
    border-radius: 0.56rem;
    object-fit: cover;
    box-shadow: 0 0.32rem 0.7rem rgba(23, 85, 109, 0.13);
}

.home-v4-console-project-copy { min-width: 0; }
.home-v4-console-project-copy b,
.home-v4-console-project-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-v4-console-project-copy b { color: inherit; font-size: 0.74rem; font-weight: 900; }
.home-v4-console-project-copy small { margin-top: 0.16rem; color: #698695; font-size: 0.63rem; font-weight: 700; }
.home-v4-console-arrow { color: #0d7fa7; font-size: 1rem; font-weight: 900; }

.home-v4-console-empty {
    display: grid;
    gap: 0.28rem;
    padding: 0.8rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.7);
    color: #17465c;
    font-size: 0.76rem;
}

.home-v4-console-empty span { color: #6a8797; }

.home-v4-console-footer {
    justify-content: flex-start;
    padding-block: 0.7rem;
    color: #577687;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.home-v4-console-footer span + span::before {
    content: "";
    display: inline-block;
    width: 0.27rem;
    height: 0.27rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: #d5903b;
    vertical-align: middle;
}

.home-v4-floating-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: min(15.4rem, 50%);
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1rem 2rem rgba(20, 83, 108, 0.14);
    backdrop-filter: blur(12px);
    animation: home-v4-note-in 700ms 250ms cubic-bezier(.2, .8, .2, 1) both;
}

.home-v4-floating-note > span {
    display: grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.68rem;
    background: linear-gradient(135deg, #137fa8, #0c587d);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 950;
}

.home-v4-floating-note strong,
.home-v4-floating-note small { display: block; }
.home-v4-floating-note strong { color: #123d54; font-size: 0.69rem; font-weight: 950; }
.home-v4-floating-note small { margin-top: 0.13rem; color: #6c8999; font-size: 0.61rem; font-weight: 650; line-height: 1.4; }
.home-v4-floating-note-top { top: 1rem; right: -0.9rem; }
.home-v4-floating-note-bottom { bottom: 0.75rem; left: -1rem; }
.home-v4-floating-note-bottom > span { background: linear-gradient(135deg, #e49938, #bf5c37); }

@keyframes home-v4-console-rise {
    from { opacity: 0; transform: translateY(1.2rem) scale(0.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes home-v4-note-in {
    from { opacity: 0; transform: translateY(0.8rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes home-v4-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0.25rem rgba(24, 183, 119, 0.13); }
    50% { box-shadow: 0 0 0 0.43rem rgba(24, 183, 119, 0.04); }
}

@media (max-width: 991.98px) {
    .home-v4-hero-visual { min-height: 430px; }
    .home-v4-floating-note-top { right: 0; }
    .home-v4-floating-note-bottom { left: 0; }
}

@media (max-width: 575.98px) {
    .home-v4-hero-visual { min-height: auto; padding: 0.35rem 0 1.2rem; }
    .home-v4-hero-visual::before,
    .home-v4-floating-note { display: none; }
    .home-v4-console { width: 100%; border-radius: 1.25rem; }
    .home-v4-console-intro { padding: 1.15rem 0.95rem 0.8rem; }
    .home-v4-console-pills { padding-inline: 0.95rem; }
    .home-v4-console-project { grid-template-columns: 1.3rem 2.35rem minmax(0, 1fr) 0.8rem; gap: 0.45rem; }
    .home-v4-console-project img { width: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-v4-console,
    .home-v4-floating-note,
    .home-v4-live i { animation: none; }
    .home-v4-console-project { transition: none; }
}

/* Project details retain a calm orientation cue without competing with the product content. */
.project-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0.25rem 0 1.1rem;
    color: #668293;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-detail-breadcrumb a {
    color: #1a7da5;
    text-decoration: none;
}

.project-detail-breadcrumb a:hover,
.project-detail-breadcrumb a:focus-visible {
    color: #0c5778;
    text-decoration: underline;
}

.project-detail-breadcrumb strong {
    max-width: min(35rem, 74vw);
    overflow: hidden;
    color: #264c60;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Homepage v5: a distinct project-studio identity for the primary storefront. */
.home-v5-signal-bar {
    display: grid;
    grid-template-columns: minmax(16rem, 1.45fr) minmax(11rem, 0.75fr) minmax(11rem, 0.75fr);
    gap: 0.7rem;
    align-items: stretch;
    margin: 1.2rem 0 0;
    padding: 0.75rem;
    border: 1px solid rgba(12, 87, 120, 0.12);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 1rem 2.3rem rgba(20, 90, 119, 0.09);
}

.home-v5-signal-bar > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.72rem 0.85rem;
    border-radius: 0.92rem;
    color: #406579;
    font-size: 0.76rem;
    font-weight: 760;
    line-height: 1.45;
}

.home-v5-signal-bar > div:first-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.08rem 0.65rem;
    background: linear-gradient(135deg, #eaf9fc, #f7fdff);
}

.home-v5-signal-bar strong {
    color: #123d54;
    font-size: 0.73rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-v5-signal-bar small {
    grid-column: 2;
    color: #668798;
    font-size: 0.7rem;
    font-weight: 650;
}

.home-v5-signal-orbit {
    display: grid;
    grid-row: span 2;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 0.4rem solid rgba(33, 170, 209, 0.16);
    border-radius: 50%;
    background: radial-gradient(circle at 36% 35%, #8de2f2 0 18%, #167ca3 20% 43%, #0d4564 45% 100%);
    box-shadow: inset 0 0 0 0.16rem #fff, 0 0.38rem 0.8rem rgba(15, 105, 141, 0.18);
}

.home-v5-signal-number {
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.6rem;
    background: #153f58;
    color: #fff;
    font-size: 0.63rem;
    font-weight: 950;
    letter-spacing: 0.03em;
}

.home-v5-hero {
    min-height: 650px;
    border-color: rgba(118, 226, 245, 0.23);
    background:
        radial-gradient(circle at 11% 9%, rgba(116, 222, 241, 0.22), transparent 22%),
        radial-gradient(circle at 96% 94%, rgba(89, 207, 167, 0.16), transparent 29%),
        linear-gradient(128deg, #062f49 0%, #084c68 48%, #0b6d86 100%);
    box-shadow: 0 2.4rem 5.8rem rgba(5, 52, 78, 0.27);
}

.home-v5-hero::before {
    top: -9rem;
    left: 37%;
    width: 24rem;
    height: 24rem;
    border-color: rgba(177, 242, 250, 0.14);
    background: radial-gradient(circle at 38% 39%, rgba(208, 251, 255, 0.12), rgba(208, 251, 255, 0));
    transform: rotate(23deg);
}

.home-v5-hero::after {
    right: -7rem;
    bottom: -9rem;
    border-color: rgba(132, 237, 239, 0.13);
}

.home-v5-hero-copy { position: relative; z-index: 2; }

.home-v5-hero .home-v3-kicker {
    border-color: rgba(191, 246, 252, 0.19);
    background: rgba(1, 38, 59, 0.34);
    color: #a6edf6;
    box-shadow: none;
}

.home-v5-hero .home-v3-kicker span {
    background: #f9c25b;
    box-shadow: 0 0 0 5px rgba(249, 194, 91, 0.16);
}

.home-v5-hero h1 {
    max-width: 11ch;
    color: #f9fdff;
    text-shadow: 0 0.25rem 1rem rgba(1, 31, 48, 0.19);
}

.home-v5-hero-copy > p { color: #c1e6ef; }

.home-v5-hero .home-v3-search {
    padding: 0.36rem;
    border: 1px solid rgba(209, 248, 252, 0.2);
    border-radius: 1rem;
    background: rgba(0, 35, 53, 0.25);
    box-shadow: 0 1.15rem 2.4rem rgba(1, 34, 52, 0.16);
}

.home-v5-hero .home-v3-search input {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.97);
}

.home-v5-hero .home-v3-search button {
    background: linear-gradient(135deg, #f6bd51, #ef9550);
    color: #173849;
    box-shadow: 0 0.6rem 1.2rem rgba(10, 51, 67, 0.22);
}

.home-v5-hero .home-v3-primary-action {
    border-color: transparent;
    background: #fff;
    color: #0d5271;
    box-shadow: 0 0.85rem 1.6rem rgba(1, 35, 52, 0.2);
}

.home-v5-hero .home-v3-secondary-action {
    border-color: rgba(214, 250, 255, 0.46);
    color: #ecfcff;
    background: rgba(5, 57, 81, 0.2);
}

.home-v5-hero .home-v3-exams-action {
    border-color: rgba(214, 250, 255, 0.2);
    color: #b9eff7;
}

.home-v5-hero .home-v3-quick-filters,
.home-v5-hero .home-v3-reassurance { color: #a8dbe6; }

.home-v5-hero .home-v3-quick-filters a,
.home-v5-hero .home-v3-reassurance span {
    border-color: rgba(199, 245, 249, 0.16);
    background: rgba(7, 60, 82, 0.26);
    color: #e2faff;
}

.home-v5-hero .home-v3-quick-filters a:hover,
.home-v5-hero .home-v3-quick-filters a:focus-visible {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

.home-v5-hero .home-v4-hero-visual::before {
    border-color: rgba(183, 244, 250, 0.23);
    box-shadow: 0 0 0 1.8rem rgba(72, 189, 213, 0.1), 0 0 0 4.7rem rgba(128, 234, 236, 0.05);
}

.home-v5-hero .home-v4-console {
    border-color: rgba(231, 253, 255, 0.84);
    background:
        radial-gradient(circle at 95% 0%, rgba(90, 218, 231, 0.29), transparent 26%),
        linear-gradient(155deg, #ffffff 0%, #ecfbfd 100%);
    box-shadow: 0 2.1rem 4.8rem rgba(0, 24, 39, 0.35), 0 0.4rem 0.9rem rgba(5, 71, 95, 0.1);
}

.home-v5-hero .home-v4-floating-note {
    border-color: rgba(220, 252, 255, 0.92);
    box-shadow: 0 1.15rem 2.35rem rgba(0, 25, 39, 0.27);
}

.home-v5-metric-strip {
    position: relative;
    z-index: 2;
    margin-top: -1.35rem;
    border: 1px solid rgba(157, 230, 243, 0.18);
    background: linear-gradient(135deg, #103c55, #0c6178);
    box-shadow: 0 1.45rem 2.8rem rgba(5, 61, 82, 0.18);
}

.home-v5-metric-strip article + article { border-color: rgba(213, 250, 255, 0.14); }
.home-v5-metric-strip strong { color: #fff; }
.home-v5-metric-strip span { color: #bbe7ef; }

@media (max-width: 991.98px) {
    .home-v5-signal-bar { grid-template-columns: 1fr 1fr; }
    .home-v5-signal-bar > div:first-child { grid-column: 1 / -1; }
    .home-v5-hero { min-height: 0; }
    .home-v5-metric-strip { margin-top: 1rem; }
}

@media (max-width: 575.98px) {
    .home-v5-signal-bar { grid-template-columns: 1fr; padding: 0.45rem; border-radius: 1.1rem; }
    .home-v5-signal-bar > div:first-child { grid-column: auto; }
    .home-v5-signal-bar > div:not(:first-child) { padding-block: 0.5rem; }
    .home-v5-hero { background: linear-gradient(145deg, #07334d, #08637b); }
    .home-v5-hero h1 { max-width: 12ch; }
    .home-v5-hero .home-v3-search { padding: 0.28rem; }
    .home-v5-metric-strip { margin-top: 0.7rem; }
}

/* Homepage-only finishing layer: confident navigation, editorial sections, and tactile cards. */
body.home-page-v5 {
    background:
        radial-gradient(circle at 94% 14%, rgba(117, 220, 240, 0.14), transparent 21rem),
        linear-gradient(180deg, #f6fcfe 0%, #edf8fc 48%, #f9fdff 100%);
}

.home-page-v5 .premium-topline {
    border-bottom-color: rgba(177, 235, 246, 0.24);
    background: linear-gradient(100deg, #062e49, #095b75 58%, #0a817f);
}

.home-page-v5 .premium-site-header {
    border-bottom: 1px solid rgba(13, 90, 118, 0.09);
    box-shadow: 0 0.7rem 1.7rem rgba(6, 57, 79, 0.07);
}

.home-page-v5 .premium-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}

.home-page-v5 .nav-link-home.active {
    color: #fff;
    background: linear-gradient(135deg, #0d6386, #087b88);
    box-shadow: 0 0.55rem 1rem rgba(11, 101, 134, 0.19);
}

.home-page-v5 .nav-catalogue-cta {
    background: linear-gradient(135deg, #f2b34d, #e37d3e);
    color: #153b50;
    box-shadow: 0 0.6rem 1.15rem rgba(210, 127, 46, 0.18);
}

.home-page-v5 .premium-cart {
    background: linear-gradient(135deg, #0a5574, #087b82);
    box-shadow: 0 0.6rem 1.2rem rgba(5, 90, 111, 0.2);
}

.home-v5-manifesto {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.home-v5-manifesto span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 31px;
    padding: 0.34rem 0.55rem 0.34rem 0.38rem;
    border: 1px solid rgba(204, 249, 253, 0.16);
    border-radius: 0.68rem;
    color: #d3f4f8;
    background: rgba(1, 40, 60, 0.22);
    font-size: 0.68rem;
    font-weight: 720;
}

.home-v5-manifesto b {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border-radius: 0.46rem;
    color: #173a4d;
    background: linear-gradient(135deg, #b9eff6, #6bd2df);
    font-size: 0.53rem;
    font-weight: 950;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.home-v5-catalogue-status {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(13, 114, 145, 0.16);
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #edfafd, #f9feff);
    box-shadow: 0 0.8rem 1.8rem rgba(18, 104, 133, 0.08);
}

.home-v5-status-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #1386aa, #0e607f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
}

.home-v5-catalogue-status strong,
.home-v5-catalogue-status p { display: block; }
.home-v5-catalogue-status strong { color: #15485f; font-size: 0.88rem; font-weight: 950; }
.home-v5-catalogue-status p { margin: 0.16rem 0 0; color: #628092; font-size: 0.75rem; line-height: 1.5; }

.home-v5-status-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-left: auto;
}

.home-v5-status-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.36rem 0.6rem;
    border: 1px solid rgba(11, 112, 147, 0.16);
    border-radius: 0.58rem;
    color: #0b6e93;
    background: #fff;
    font-size: 0.67rem;
    font-weight: 900;
    text-decoration: none;
}

.home-v5-status-actions a:hover,
.home-v5-status-actions a:focus-visible { color: #fff; background: #0c779c; }

.home-page-v5 .home-v3-collections {
    border-color: rgba(7, 90, 119, 0.16);
    background:
        radial-gradient(circle at 97% 5%, rgba(124, 222, 239, 0.19), transparent 20rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(238, 250, 253, 0.88));
    box-shadow: 0 1.6rem 3.7rem rgba(10, 78, 104, 0.1);
}

.home-page-v5 .home-v3-collections .home-v3-section-head {
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(7, 91, 120, 0.1);
}

.home-page-v5 .home-v3-collection-grid { gap: 0.9rem; }

.home-page-v5 .home-v3-collection-card {
    min-height: 238px;
    border-radius: 1.3rem;
    box-shadow: 0 0.85rem 1.7rem rgba(13, 83, 109, 0.08);
}

.home-page-v5 .home-v3-collection-card::before {
    position: absolute;
    inset: auto 1.05rem 0.92rem auto;
    z-index: 1;
    color: rgba(13, 104, 140, 0.2);
    content: "↗";
    font-size: 1.2rem;
    font-weight: 950;
    transition: transform 180ms ease, color 180ms ease;
}

.home-page-v5 .home-v3-collection-card:hover::before,
.home-page-v5 .home-v3-collection-card:focus-visible::before {
    color: #0d799f;
    transform: translate(0.16rem, -0.16rem);
}

.home-page-v5 .home-v3-collection-card.is-deep::before { color: rgba(255, 255, 255, 0.54); }
.home-page-v5 .home-v3-collection-card.is-deep:hover::before,
.home-page-v5 .home-v3-collection-card.is-deep:focus-visible::before { color: #fff3bf; }

.home-page-v5 .home-v3-featured {
    border-color: rgba(7, 91, 120, 0.15);
    background:
        radial-gradient(circle at 96% 2%, rgba(247, 187, 81, 0.2), transparent 19rem),
        radial-gradient(circle at 3% 100%, rgba(103, 219, 238, 0.15), transparent 22rem),
        #fff;
}

.home-page-v5 .home-v3-project-card {
    border-radius: 1.15rem;
    box-shadow: 0 0.85rem 1.8rem rgba(10, 73, 99, 0.08);
}

.home-page-v5 .home-v3-project-card:hover {
    transform: translateY(-0.42rem);
    box-shadow: 0 1.35rem 2.4rem rgba(7, 77, 102, 0.16);
}

.home-page-v5 .home-v3-project-image { aspect-ratio: 1.42 / 0.93; }
.home-page-v5 .home-v3-project-footer button { background: linear-gradient(135deg, #0a7196, #0a867d); }
.home-page-v5 .home-v3-project-footer button:hover,
.home-page-v5 .home-v3-project-footer button:focus { background: linear-gradient(135deg, #075875, #08695f); }

.home-page-v5 .home-v3-latest {
    border-color: rgba(17, 102, 132, 0.14);
    background: linear-gradient(145deg, rgba(248, 253, 255, 0.96), rgba(231, 248, 252, 0.82));
}

.home-page-v5 .home-v3-gallery {
    border-color: rgba(14, 88, 119, 0.13);
    background: linear-gradient(145deg, #f9fdff, #f0faff);
}

.home-page-v5 .home-v3-resources {
    border-color: rgba(12, 103, 127, 0.15);
    background: linear-gradient(145deg, #fff, #f2fbfd);
}

.home-page-v5 .home-v3-final {
    border-color: rgba(103, 218, 233, 0.23);
    background:
        radial-gradient(circle at 96% 7%, rgba(135, 229, 239, 0.22), transparent 20rem),
        linear-gradient(135deg, #07364f, #086a7b);
    box-shadow: 0 1.8rem 3.8rem rgba(5, 68, 91, 0.22);
}

.home-page-v5 .home-v3-final .home-v3-eyebrow,
.home-page-v5 .home-v3-final p { color: #b8eaf2; }
.home-page-v5 .home-v3-final h2 { color: #fff; }

.home-page-v5 .home-v3-final .home-v3-primary-action {
    color: #174b60;
    background: #fff;
    box-shadow: 0 0.9rem 1.7rem rgba(2, 41, 58, 0.22);
}

.home-page-v5 .home-v3-final .home-v3-secondary-action {
    border-color: rgba(217, 249, 252, 0.45);
    color: #effcff;
    background: rgba(0, 37, 55, 0.16);
}

.home-page-v5 .home-v3-final .home-v3-text-link { color: #c8f3f8; }

@media (max-width: 991.98px) {
    .home-page-v5 .home-v3-collection-card { min-height: 208px; }
}

@media (max-width: 575.98px) {
    .home-v5-manifesto { gap: 0.35rem; }
    .home-v5-manifesto span { font-size: 0.63rem; }
    .home-v5-catalogue-status { align-items: flex-start; flex-wrap: wrap; }
    .home-v5-status-actions { width: 100%; justify-content: flex-start; margin-left: 2.85rem; }
    .home-page-v5 .home-v3-collection-card { min-height: 188px; }
}

/* Homepage studio refresh: a bright academic workspace with a dark project console. */
body.home-page-v6 {
    background:
        radial-gradient(circle at 6% 22%, rgba(98, 211, 239, 0.16), transparent 20rem),
        radial-gradient(circle at 96% 41%, rgba(252, 193, 94, 0.14), transparent 21rem),
        linear-gradient(180deg, #f8fdff 0%, #eef9fd 47%, #f8fcfd 100%);
}

.home-page-v6 .premium-topline {
    background: linear-gradient(100deg, #062d48 0%, #075b78 56%, #0b8d91 100%);
}

.home-page-v6 .premium-navbar {
    border-color: rgba(18, 116, 153, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1rem 2.5rem rgba(13, 81, 108, 0.11);
}

.home-page-v6 .home-v5-signal-bar {
    position: relative;
    overflow: hidden;
    border-color: rgba(12, 112, 147, 0.15);
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(230, 248, 253, 0.92));
}

.home-page-v6 .home-v5-signal-bar::after {
    position: absolute;
    right: 1.25rem;
    bottom: -2.9rem;
    width: 8.5rem;
    height: 8.5rem;
    border: 1.3rem solid rgba(44, 182, 213, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-page-v6 .home-v5-hero {
    isolation: isolate;
    min-height: 670px;
    border-color: rgba(31, 151, 190, 0.2);
    background:
        radial-gradient(circle at 9% 12%, rgba(100, 220, 239, 0.32), transparent 22rem),
        radial-gradient(circle at 48% 112%, rgba(255, 197, 95, 0.22), transparent 25rem),
        linear-gradient(123deg, #ffffff 0%, #eafbff 53%, #d9f5f8 100%);
    box-shadow: 0 2.2rem 5rem rgba(10, 84, 111, 0.16);
}

.home-page-v6 .home-v5-hero::before {
    z-index: -1;
    top: -8rem;
    left: 43%;
    width: 27rem;
    height: 27rem;
    border-color: rgba(13, 123, 161, 0.12);
    background: radial-gradient(circle at 38% 39%, rgba(113, 222, 239, 0.19), rgba(113, 222, 239, 0));
}

.home-page-v6 .home-v5-hero::after {
    z-index: -1;
    right: -6.5rem;
    bottom: -8rem;
    border-color: rgba(242, 154, 66, 0.15);
}

.home-page-v6 .home-v5-hero h1 {
    max-width: 10.8ch;
    color: #103b53;
    text-shadow: none;
}

.home-page-v6 .home-v5-hero-copy > p {
    max-width: 57ch;
    color: #547588;
    font-size: clamp(0.98rem, 1.15vw, 1.12rem);
}

.home-page-v6 .home-v5-hero .home-v3-kicker {
    border-color: rgba(9, 122, 159, 0.16);
    color: #0b728f;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0.45rem 1.1rem rgba(24, 129, 161, 0.08);
}

.home-page-v6 .home-v5-hero .home-v3-kicker span {
    background: #ec9a39;
    box-shadow: 0 0 0 0.32rem rgba(236, 154, 57, 0.15);
}

/* Animated academic ribbon behind the session label, kept deliberately subtle. */
.home-page-v6 .home-v6-session-ribbon {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(10, 122, 157, 0.21);
    color: #075d7c;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.96), rgba(220, 248, 251, 0.9));
    box-shadow: 0 0.7rem 1.55rem rgba(20, 126, 155, 0.12), inset 0 1px rgba(255, 255, 255, 0.9);
}

.home-page-v6 .home-v6-session-ribbon::before,
.home-page-v6 .home-v6-session-ribbon::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-page-v6 .home-v6-session-ribbon::before {
    top: -1.5rem;
    right: 0.65rem;
    width: 3.15rem;
    height: 3.15rem;
    border: 0.62rem solid rgba(29, 177, 204, 0.18);
    box-shadow: -1.65rem 0.8rem 0 -0.5rem rgba(240, 160, 60, 0.25);
    animation: home-v6-ribbon-orbit 7.5s ease-in-out infinite;
}

.home-page-v6 .home-v6-session-ribbon::after {
    top: 0.3rem;
    left: 2rem;
    width: 4.9rem;
    height: 0.34rem;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(14, 148, 161, 0.2), rgba(241, 168, 68, 0.34), transparent);
    filter: blur(0.1rem);
    animation: home-v6-ribbon-sweep 5.6s ease-in-out infinite;
}

.home-page-v6 .home-v6-session-ribbon > span,
.home-page-v6 .home-v6-session-ribbon > b {
    position: relative;
    z-index: 1;
}

.home-page-v6 .home-v6-session-ribbon > b {
    color: #075d7c;
    font: inherit;
    font-weight: 950;
}

@keyframes home-v6-ribbon-orbit {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-0.55rem, 0.22rem, 0) rotate(18deg); }
}

@keyframes home-v6-ribbon-sweep {
    0%, 100% { transform: translateX(-1.3rem) scaleX(0.72); opacity: 0.38; }
    50% { transform: translateX(2.1rem) scaleX(1.08); opacity: 0.95; }
}

.home-page-v6 .home-v5-manifesto span {
    border-color: rgba(13, 125, 161, 0.13);
    color: #385f72;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 0.5rem 1.1rem rgba(22, 112, 145, 0.06);
}

.home-page-v6 .home-v5-manifesto b {
    color: #fff;
    background: linear-gradient(135deg, #0e769b, #12938f);
}

.home-page-v6 .home-v5-hero .home-v3-search {
    border-color: rgba(13, 119, 154, 0.14);
    background: rgba(255, 255, 255, 0.83);
    box-shadow: 0 1rem 2rem rgba(16, 111, 142, 0.11);
}

.home-page-v6 .home-v5-hero .home-v3-search input {
    background: #fafdff;
    color: #173f54;
}

.home-page-v6 .home-v5-hero .home-v3-search button {
    background: linear-gradient(135deg, #0c6f96, #0a9188);
    color: #fff;
    box-shadow: 0 0.6rem 1.25rem rgba(11, 110, 142, 0.2);
}

.home-page-v6 .home-v5-hero .home-v3-primary-action {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #0b668d, #0c8d84);
    box-shadow: 0 0.8rem 1.55rem rgba(7, 101, 130, 0.19);
}

.home-page-v6 .home-v5-hero .home-v3-secondary-action {
    border-color: rgba(9, 113, 149, 0.21);
    color: #0b668a;
    background: rgba(255, 255, 255, 0.66);
}

.home-page-v6 .home-v5-hero .home-v3-exams-action {
    border-color: rgba(9, 112, 147, 0.15);
    color: #176e8b;
}

.home-page-v6 .home-v5-hero .home-v3-quick-filters,
.home-page-v6 .home-v5-hero .home-v3-reassurance { color: #5d8495; }

.home-page-v6 .home-v5-hero .home-v3-quick-filters a,
.home-page-v6 .home-v5-hero .home-v3-reassurance span {
    border-color: rgba(14, 122, 156, 0.14);
    color: #1c647f;
    background: rgba(255, 255, 255, 0.64);
}

.home-page-v6 .home-v4-hero-visual::before {
    border-color: rgba(15, 126, 162, 0.16);
    box-shadow: 0 0 0 1.8rem rgba(88, 202, 222, 0.1), 0 0 0 4.6rem rgba(129, 226, 237, 0.08);
}

.home-page-v6 .home-v4-console {
    position: relative;
    overflow: hidden;
    border-color: rgba(155, 233, 245, 0.28);
    background:
        radial-gradient(circle at 98% 0%, rgba(99, 222, 232, 0.24), transparent 24%),
        linear-gradient(145deg, #07344f 0%, #0b5a71 58%, #0d767b 100%);
    box-shadow: 0 2.2rem 4.8rem rgba(7, 66, 91, 0.28), 0 0.5rem 1rem rgba(2, 66, 91, 0.12);
}

.home-page-v6 .home-v4-console::after {
    position: absolute;
    top: -4rem;
    right: -3rem;
    width: 12rem;
    height: 12rem;
    border: 1.2rem solid rgba(152, 240, 246, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-page-v6 .home-v4-console-topbar { border-bottom-color: rgba(184, 239, 246, 0.15); }
.home-page-v6 .home-v4-console-brand { color: #e8fbff; }
.home-page-v6 .home-v4-console-intro { border-bottom-color: rgba(184, 239, 246, 0.11); }
.home-page-v6 .home-v4-console-intro > span { color: #8fe1ee; }
.home-page-v6 .home-v4-console-intro strong { color: #fff; }
.home-page-v6 .home-v4-console-intro small { color: #b7e1e9; }
.home-page-v6 .home-v4-console-pills span { border-color: rgba(176, 238, 244, 0.16); color: #c6eff5; background: rgba(0, 31, 47, 0.2); }
.home-page-v6 .home-v4-console-pills b { color: #fff; }

.home-page-v6 .home-v4-console-project {
    border-color: rgba(178, 238, 245, 0.12);
    background: rgba(2, 35, 51, 0.18);
}

.home-page-v6 .home-v4-console-project:hover,
.home-page-v6 .home-v4-console-project:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.home-page-v6 .home-v4-console-index { color: #8fddea; }
.home-page-v6 .home-v4-console-project-copy b { color: #f7feff; }
.home-page-v6 .home-v4-console-project-copy small { color: #b2dfe7; }
.home-page-v6 .home-v4-console-arrow { color: #8fe5e7; }
.home-page-v6 .home-v4-console-footer { border-top-color: rgba(184, 239, 246, 0.13); color: #a9dce4; }

.home-page-v6 .home-v4-floating-note {
    border-color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.94);
}

.home-page-v6 .home-v5-metric-strip {
    border-color: rgba(188, 239, 247, 0.5);
    background: linear-gradient(135deg, #0b4e6c, #087b7e);
}

.home-v6-pathway {
    display: grid;
    grid-template-columns: minmax(16rem, 0.76fr) minmax(0, 1.44fr);
    gap: clamp(1rem, 3.8vw, 4rem);
    align-items: center;
    margin-top: clamp(1.5rem, 3.7vw, 3.5rem);
    padding: clamp(1.4rem, 3.4vw, 3.25rem);
    border: 1px solid rgba(10, 101, 133, 0.14);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at 7% 85%, rgba(251, 188, 81, 0.18), transparent 17rem),
        radial-gradient(circle at 100% 0%, rgba(97, 219, 235, 0.19), transparent 21rem),
        rgba(255, 255, 255, 0.88);
    box-shadow: 0 1.3rem 3rem rgba(8, 84, 111, 0.1);
}

.home-v6-pathway-intro { position: relative; }
.home-v6-pathway-intro h2 { max-width: 13ch; margin: 0.42rem 0 0; color: #123e56; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3.2vw, 3.1rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.98; }
.home-v6-pathway-intro p { max-width: 40ch; margin: 0.95rem 0 1.15rem; color: #678391; font-size: 0.88rem; line-height: 1.7; }
.home-v6-pathway-intro > a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 42px; padding: 0.56rem 0.75rem; border-radius: 0.75rem; color: #fff; background: linear-gradient(135deg, #0a678e, #0b9089); box-shadow: 0 0.65rem 1.25rem rgba(8, 103, 135, 0.16); font-size: 0.72rem; font-weight: 950; text-decoration: none; }
.home-v6-pathway-intro > a:hover,
.home-v6-pathway-intro > a:focus-visible { color: #fff; transform: translateY(-1px); }

.home-v6-pathway-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-v6-pathway-steps li {
    position: relative;
    min-height: 205px;
    padding: 1rem 0.9rem 0.9rem;
    border: 1px solid rgba(9, 108, 142, 0.12);
    border-radius: 1.15rem;
    background: linear-gradient(158deg, #fff, #edf9fc);
    box-shadow: 0 0.7rem 1.55rem rgba(12, 93, 121, 0.07);
}

.home-v6-pathway-steps li:nth-child(2) { transform: translateY(-0.7rem); background: linear-gradient(158deg, #0c5a77, #0a7d80); box-shadow: 0 1.1rem 2rem rgba(6, 80, 104, 0.18); }
.home-v6-pathway-steps li:nth-child(2) strong,
.home-v6-pathway-steps li:nth-child(2) small { color: #effdff; }
.home-v6-pathway-steps li:nth-child(2) .home-v6-step-number { color: #b9f5f2; background: rgba(0, 36, 53, 0.24); }

.home-v6-step-number { display: inline-flex; align-items: center; justify-content: center; min-width: 2.05rem; min-height: 1.42rem; border-radius: 999px; color: #0d6b8e; background: #ddf5fa; font-size: 0.61rem; font-weight: 950; letter-spacing: 0.08em; }
.home-v6-step-icon { display: grid; width: 3.4rem; height: 3.4rem; margin: 1rem 0 0.95rem; place-items: center; border-radius: 1rem; background: linear-gradient(145deg, #d9f5fa, #a8e0ec); box-shadow: inset 0 1px rgba(255, 255, 255, 0.82); }
.home-v6-pathway-steps li:nth-child(2) .home-v6-step-icon { background: linear-gradient(145deg, #f5bd59, #e68c3f); }
.home-v6-step-icon::before,
.home-v6-step-icon::after { display: block; content: ""; }
.home-v6-step-icon-book::before { width: 1.42rem; height: 1.7rem; border: 0.15rem solid #0b627f; border-radius: 0.22rem 0.48rem 0.48rem 0.22rem; box-shadow: -0.28rem 0 0 -0.13rem #0b627f; }
.home-v6-step-icon-code::before { width: 1.65rem; height: 1.05rem; border: 0.15rem solid #fff; border-width: 0.15rem 0; transform: skewX(-28deg); }
.home-v6-step-icon-code::after { width: 0.16rem; height: 1.5rem; margin-top: -1.28rem; background: #fff; transform: rotate(26deg); }
.home-v6-step-icon-lock::before { width: 1.42rem; height: 1.12rem; margin-top: 0.5rem; border-radius: 0.26rem; background: #0a6280; box-shadow: 0 -0.64rem 0 -0.17rem #0a6280; }
.home-v6-pathway-steps strong { display: block; color: #17485f; font-size: 0.83rem; font-weight: 950; line-height: 1.25; }
.home-v6-pathway-steps small { display: block; margin-top: 0.48rem; color: #688794; font-size: 0.7rem; font-weight: 650; line-height: 1.55; }

.home-page-v6 .home-v3-collections,
.home-page-v6 .home-v3-featured,
.home-page-v6 .home-v3-latest,
.home-page-v6 .home-v3-gallery,
.home-page-v6 .home-v3-resources { border-radius: 1.7rem; }

.home-page-v6 .home-v3-project-card {
    border: 1px solid rgba(14, 107, 137, 0.12);
    background: linear-gradient(180deg, #fff, #f6fcfe);
}

/* Use a CSS escape so the collection arrow renders correctly in every UTF-8 setup. */
.home-page-v5 .home-v3-collection-card::before { content: "\2197"; }

.home-page-v6 .home-v3-project-image::after { background: linear-gradient(180deg, transparent 40%, rgba(3, 48, 69, 0.58)); }
.home-page-v6 .home-v3-project-content { padding: 1rem; }
.home-page-v6 .home-v3-project-meta span { border-color: rgba(7, 112, 147, 0.13); background: #edf9fc; }

@keyframes home-v6-surface-drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -0.55rem, 0); }
}

.home-page-v6 .home-v4-floating-note { animation: home-v6-surface-drift 5.4s ease-in-out infinite; }
.home-page-v6 .home-v4-floating-note-bottom { animation-delay: -2.1s; }

@media (max-width: 991.98px) {
    .home-page-v6 .home-v5-hero { min-height: 0; }
    .home-v6-pathway { grid-template-columns: 1fr; }
    .home-v6-pathway-intro h2 { max-width: 18ch; }
    .home-v6-pathway-steps { max-width: 760px; }
}

@media (max-width: 640px) {
    .home-page-v6 .home-v5-hero { background: linear-gradient(155deg, #fff, #e2f8fb); }
    .home-page-v6 .home-v5-hero h1 { max-width: 11.6ch; }
    .home-v6-pathway { margin-top: 1.15rem; padding: 1.1rem; border-radius: 1.3rem; }
    .home-v6-pathway-intro h2 { font-size: clamp(1.8rem, 10vw, 2.45rem); }
    .home-v6-pathway-steps { grid-template-columns: 1fr; gap: 0.55rem; }
    .home-v6-pathway-steps li,
    .home-v6-pathway-steps li:nth-child(2) { min-height: 0; transform: none; }
    .home-v6-step-icon { float: left; width: 3rem; height: 3rem; margin: 0 0.72rem 0.15rem 0; }
    .home-v6-pathway-steps li { padding: 0.92rem; }
    .home-v6-pathway-steps small { clear: both; padding-top: 0.45rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page-v6 .home-v4-floating-note { animation: none; }
    .home-page-v6 .home-v6-session-ribbon::before,
    .home-page-v6 .home-v6-session-ribbon::after { animation: none; }
    .home-v6-pathway-intro > a { transition: none; }
}

/* Real artwork and clear package metrics replace the previous abstract dashboard. */
.home-page-v7 .home-v7-hero-visual {
    display: block;
    min-height: 0;
    padding: 0.45rem;
}

.home-page-v7 .home-v7-hero-visual::before,
.home-page-v7 .home-v4-console,
.home-page-v7 .home-v4-floating-note { display: none; }

.home-v7-artwork {
    position: relative;
    min-height: 530px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 1.9rem;
    background: #eaf8fd;
    box-shadow: 0 2rem 4rem rgba(9, 74, 101, 0.2), inset 0 1px rgba(255, 255, 255, 0.92);
}

.home-v7-artwork::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(246, 253, 255, 0.83) 0%, rgba(246, 253, 255, 0.42) 39%, rgba(246, 253, 255, 0.03) 70%),
        linear-gradient(0deg, rgba(4, 49, 69, 0.25), transparent 42%);
    content: "";
    pointer-events: none;
}

.home-v7-artwork img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
    object-position: 66% center;
    transform: scale(1.012);
}

.home-v7-artwork figcaption {
    position: absolute;
    z-index: 1;
    bottom: 1.15rem;
    left: 1.15rem;
    width: min(18rem, calc(100% - 2.3rem));
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 1rem;
    background: rgba(4, 63, 88, 0.82);
    box-shadow: 0 0.8rem 1.6rem rgba(5, 59, 79, 0.18);
    backdrop-filter: blur(12px);
}

.home-v7-artwork figcaption span,
.home-v7-artwork figcaption strong,
.home-v7-artwork figcaption small { display: block; }
.home-v7-artwork figcaption span { color: #a8eff2; font-size: 0.61rem; font-weight: 950; letter-spacing: 0.12em; text-transform: uppercase; }
.home-v7-artwork figcaption strong { margin-top: 0.3rem; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.home-v7-artwork figcaption small { margin-top: 0.45rem; color: #d0eff4; font-size: 0.67rem; font-weight: 650; line-height: 1.5; }

/* Keeps the hero polished if a deployment misses the optional artwork file. */
.home-v7-artwork.is-image-missing {
    isolation: isolate;
    background:
        radial-gradient(circle at 77% 23%, rgba(110, 230, 236, 0.95) 0 0.36rem, transparent 0.42rem),
        radial-gradient(circle at 77% 23%, rgba(110, 230, 236, 0.22) 0 6.5rem, transparent 6.7rem),
        linear-gradient(136deg, #eafaff 0%, #b9e9f4 44%, #257ca5 100%);
}

.home-v7-artwork.is-image-missing::before {
    position: absolute;
    z-index: -1;
    top: 13%;
    right: 9%;
    width: min(62%, 28rem);
    aspect-ratio: 1.24;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 1.8rem;
    background:
        linear-gradient(125deg, transparent 0 19%, rgba(255, 255, 255, 0.62) 19.4% 20.2%, transparent 20.6% 48%, rgba(255, 255, 255, 0.52) 48.4% 49.2%, transparent 49.6%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(211, 246, 250, 0.38));
    box-shadow: 0 1.6rem 3rem rgba(3, 57, 84, 0.24);
    content: "";
    transform: rotate(-5deg);
}

.home-v7-artwork.is-image-missing::after {
    background:
        linear-gradient(90deg, rgba(246, 253, 255, 0.2), transparent 49%),
        linear-gradient(0deg, rgba(4, 49, 69, 0.32), transparent 55%);
}

.home-page-v7 .home-v7-metric-strip {
    gap: 0.55rem;
    padding: 0.55rem;
    border-color: rgba(190, 241, 246, 0.3);
    border-radius: 1.45rem;
    background:
        radial-gradient(circle at 96% 0%, rgba(94, 214, 220, 0.22), transparent 16rem),
        linear-gradient(128deg, #063c58, #0a7778);
}

.home-page-v7 .home-v7-metric-strip article {
    display: grid;
    align-content: center;
    min-height: 118px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(208, 248, 249, 0.11);
    border-radius: 1rem;
    background: rgba(0, 35, 53, 0.18);
    box-shadow: none;
}

.home-page-v7 .home-v7-metric-strip article + article { border-left: 1px solid rgba(208, 248, 249, 0.11); }
.home-page-v7 .home-v7-metric-strip .home-v7-metric-primary { background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(111, 224, 228, 0.11)); }
.home-v7-metric-kicker { order: -1; margin-bottom: 0.24rem; color: #9ce5ea !important; font-size: 0.58rem !important; font-weight: 950 !important; letter-spacing: 0.11em; text-transform: uppercase; }
.home-page-v7 .home-v7-metric-strip strong { color: #fff; font-size: clamp(1.45rem, 2vw, 2rem); letter-spacing: -0.06em; line-height: 1; }
.home-page-v7 .home-v7-metric-strip > article > span:last-child { margin-top: 0.43rem; color: #d1eef1; font-size: 0.7rem; font-weight: 720; line-height: 1.35; }

@media (max-width: 991.98px) {
    .home-v7-artwork,
    .home-v7-artwork img { min-height: 440px; }
    .home-page-v7 .home-v7-metric-strip article { min-height: 108px; }
}

@media (max-width: 575.98px) {
    .home-page-v7 .home-v7-hero-visual { padding: 0.15rem 0 0.65rem; }
    .home-v7-artwork,
    .home-v7-artwork img { min-height: 330px; }
    .home-v7-artwork { border-radius: 1.25rem; }
    .home-v7-artwork img { object-position: 69% center; }
    .home-v7-artwork figcaption { bottom: 0.75rem; left: 0.75rem; width: min(17.5rem, calc(100% - 1.5rem)); padding: 0.76rem 0.82rem; border-radius: 0.82rem; }
    .home-v7-artwork figcaption strong { font-size: 1.02rem; }
    .home-page-v7 .home-v7-metric-strip { grid-template-columns: 1fr 1fr; margin-top: 0.3rem; }
    .home-page-v7 .home-v7-metric-strip article { min-height: 106px; padding: 0.8rem; }
    .home-page-v7 .home-v7-metric-strip strong { font-size: 1.42rem; }
}

@media (max-width: 390px) {
    .home-page-v7 .home-v7-metric-strip { grid-template-columns: 1fr; }
    .home-page-v7 .home-v7-metric-strip article { min-height: 92px; }
}

/* Clearly separated ad inventory for approved public content pages only. */
.site-ad-slot {
    max-width: 1120px;
    margin: clamp(1.7rem, 4vw, 3.4rem) auto;
    padding: 0.72rem clamp(0.72rem, 2vw, 1.25rem) 0.9rem;
    border: 1px solid rgba(30, 84, 80, 0.11);
    border-radius: 1.15rem;
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.88), rgba(240, 246, 241, 0.82));
    box-shadow: 0 1rem 2.4rem rgba(28, 76, 71, 0.06);
}

.site-ad-slot-label {
    display: block;
    margin: 0 0 0.55rem;
    color: #78837d;
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.site-ad-slot .adsbygoogle {
    min-height: 90px;
    overflow: hidden;
}

.site-ad-slot--catalogue-break { margin: 2.1rem 0 1.25rem; }
.site-ad-slot--detail-break { margin-top: 0.2rem; }

@supports selector(.site-ad-slot:has(ins[data-ad-status="unfilled"])) {
    .site-ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }
}

@media (max-width: 575.98px) {
    .site-ad-slot { margin: 1.35rem auto; border-radius: 0.9rem; }
    .site-ad-slot .adsbygoogle { min-height: 70px; }
}
