/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FINAL INNER PAGE POLISH OVERRIDES */
.page-content .inner-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-bottom: 1px solid var(--brand-line);
    padding: 34px 0;
}

.page-content .inner-hero-layout {
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.82fr);
    gap: 44px;
}

.page-content .inner-hero h1 {
    font-size: 32px;
    line-height: 1.18;
    max-width: 620px;
    margin-bottom: 12px;
}

.page-content .inner-hero p {
    max-width: 620px;
}

.page-content .inner-hero-media {
    justify-self: end;
    width: 100%;
    max-width: 520px;
}

.page-content .inner-hero-media img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(29,29,27,0.08);
    padding: 0;
}

/* Product/service listing and detail refinements */
.page-bar-compact-title span {
    margin-bottom: 0;
}

.product-card h2 a,
.service-work-body h2 a {
    color: inherit;
    text-decoration: none;
}

.product-card h2 a:hover,
.service-work-body h2 a:hover {
    color: var(--brand-blue);
}

.product-card img {
    aspect-ratio: 4 / 3;
    background: #fff;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 18px;
    width: 100%;
}

.page-content .product-hero-media img,
.products-page .inner-hero-media img {
    object-fit: contain;
    padding: 18px;
}

.product-gallery {
    position: relative;
}

.product-gallery-stage {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(29,29,27,0.08);
    overflow: hidden;
    position: relative;
}

.product-gallery-slide {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: #fff;
    border: 0;
    cursor: zoom-in;
    display: none;
    justify-content: center;
    padding: 18px;
    width: 100%;
}

.product-gallery-slide.active {
    display: flex;
}

.page-content .product-gallery-slide img,
.product-gallery-slide img {
    aspect-ratio: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    max-height: 390px;
    max-width: 100%;
    object-fit: contain;
    padding: 0;
    width: 100%;
}

.product-gallery-arrow {
    align-items: center;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(29,29,27,0.12);
    color: var(--brand-blue);
    display: flex;
    font-size: 30px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    z-index: 2;
}

.product-gallery-arrow.prev {
    left: 12px;
}

.product-gallery-arrow.next {
    right: 12px;
}

.product-gallery-dots {
    bottom: 12px;
    display: flex;
    gap: 7px;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 2;
}

.product-gallery-dots button {
    background: rgba(10,37,64,0.22);
    border: 0;
    border-radius: 999px;
    height: 8px;
    padding: 0;
    width: 8px;
}

.product-gallery-dots button.active {
    background: var(--brand-blue);
    width: 22px;
}

.product-lightbox {
    align-items: center;
    background: rgba(11,24,42,0.88);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 34px;
    position: fixed;
    z-index: 9999;
}

.product-lightbox.active {
    display: flex;
}

.product-lightbox img {
    background: #fff;
    border-radius: 10px;
    max-height: 92vh;
    max-width: 92vw;
    object-fit: contain;
    padding: 16px;
}

.product-lightbox-close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: var(--brand-black);
    display: flex;
    font-size: 28px;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: fixed;
    right: 22px;
    top: 22px;
    width: 44px;
    z-index: 10000;
}

.products-page .inner-hero-media img {
    object-fit: contain;
    padding: 18px;
}

.product-category-tabs {
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(29,29,27,0.045);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding: 8px;
}

.subcategory-tabs {
    background: rgba(255,255,255,0.72);
    box-shadow: none;
    margin-top: 10px;
}

.product-category-tabs a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #525b68;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.product-category-tabs a:hover {
    background: #f6f8fb;
    border-color: rgba(48,85,163,0.12);
    color: var(--brand-blue);
}

.product-category-tabs a.active {
    background: #eef4ff;
    border-color: rgba(48,85,163,0.14);
    box-shadow: inset 0 0 0 1px rgba(48,85,163,0.04);
    color: var(--brand-blue);
}

.subcategory-tabs a {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 12px;
}

.product-card {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(29,29,27,0.055);
}

.product-card img {
    background: #fff;
    height: 170px;
    object-fit: contain;
    padding: 16px;
}

.product-card-body {
    border-top: 1px solid var(--brand-line);
    padding: 18px;
}

.product-card h2 {
    font-size: 17px;
    min-height: 44px;
}

.product-card p {
    font-size: 14px;
    line-height: 1.55;
    min-height: 66px;
}

/* STAFF DIRECTORY */
.staff-hero-card,
.staff-card {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(29,29,27,0.055);
}

.staff-hero-card {
    padding: 24px;
}

.staff-hero-card span {
    color: var(--brand-blue);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.staff-hero-card strong {
    color: var(--brand-black);
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

.staff-directory {
    display: grid;
    gap: 28px;
    margin: 34px auto 44px;
}

.staff-department {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(29,29,27,0.04);
    padding: 22px;
}

.staff-department-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--brand-line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.staff-department-head h2 {
    color: var(--brand-black);
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.staff-department-head p {
    color: var(--brand-muted);
    max-width: 680px;
}

.staff-department-head > span {
    background: rgba(48,85,163,0.09);
    border-radius: 999px;
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 12px;
    white-space: nowrap;
}

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

.staff-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 16px;
}

.staff-avatar {
    align-items: center;
    background: #f5f8fb;
    border: 1px solid var(--brand-line);
    border-radius: 50%;
    display: flex;
    height: 64px;
    justify-content: center;
    overflow: hidden;
    width: 64px;
}

.staff-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.staff-avatar span {
    color: var(--brand-blue);
    font-size: 24px;
    font-weight: 700;
}

.staff-info h3 {
    color: var(--brand-black);
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 4px;
}

.staff-info strong {
    color: var(--brand-blue);
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.staff-info p {
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
}

.staff-contact {
    display: grid;
    gap: 4px;
}

.staff-contact a {
    color: var(--brand-black);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.empty-staff-note {
    background: #f7f9fc;
    border: 1px dashed var(--brand-line);
    border-radius: 8px;
    color: var(--brand-muted);
    padding: 14px;
}

@media (max-width: 992px) {
    .page-content .inner-hero-layout {
        grid-template-columns: 1fr;
    }

    .page-content .inner-hero-media {
        justify-self: stretch;
        max-width: none;
    }

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

@media (max-width: 768px) {
    .page-content .inner-hero h1 {
        font-size: 27px;
    }

    .page-content .inner-hero-media img {
        height: 220px;
        padding: 14px;
    }

    .staff-department-head {
        flex-direction: column;
    }

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

/* SERVICES WORKS */
.service-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px auto 44px;
}

.service-work-card,
.service-tech-card {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(29,29,27,0.055);
    overflow: hidden;
}

.service-work-card img {
    height: 190px;
    object-fit: cover;
    width: 100%;
}

.service-work-body {
    padding: 18px;
}

.service-work-body span,
.service-tech-card > span {
    color: var(--brand-blue);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-work-body h2 {
    color: var(--brand-black);
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.service-work-body p {
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
}

.service-work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.service-work-meta strong {
    background: #f6f8fb;
    border-radius: 999px;
    color: var(--brand-black);
    font-size: 12px;
    padding: 6px 10px;
}

.service-detail-layout {
    align-items: start;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 22px;
    margin: 30px auto 44px;
}

.service-tech-card {
    padding: 22px;
    position: sticky;
    top: 110px;
}

.service-tech-card div {
    border-bottom: 1px solid var(--brand-line);
    padding: 12px 0;
}

.service-tech-card div:last-child {
    border-bottom: 0;
}

.service-tech-card strong {
    color: var(--brand-black);
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.service-tech-card p {
    color: var(--brand-muted);
    font-size: 14px;
    line-height: 1.55;
}

.service-gallery {
    margin-top: 28px;
}

.service-gallery h2 {
    margin-bottom: 16px;
}

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

.service-gallery-grid figure {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    overflow: hidden;
}

.service-gallery-grid img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.service-gallery-grid figcaption {
    color: var(--brand-muted);
    font-size: 13px;
    padding: 10px 12px;
}

@media (max-width: 992px) {
    .service-work-grid,
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-tech-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .service-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* FINAL MINIMAL NAV */
.header .container.nav {
    justify-content: space-between;
}

nav.nav {
    flex: 1;
    justify-content: flex-end;
}

nav.nav ul {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 22px;
    padding: 0;
}

nav.nav ul li a {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--brand-black);
    padding: 18px 0;
}

nav.nav ul li a::after {
    display: none;
}

nav.nav ul li a:hover,
.dropdown-parent:hover > a {
    background: transparent;
    box-shadow: none;
    color: var(--brand-blue);
}

@media (max-width: 768px) {
    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        box-shadow: 0 14px 34px rgba(29,29,27,0.12);
        gap: 0;
        padding: 8px;
    }
}

/* FINAL HEADER ELEVATION */
.header {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(29,29,27,0.08);
    box-shadow: 0 10px 28px rgba(29,29,27,0.045);
    padding: 15px 0;
}

.header .container.nav {
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.logo img {
    height: 54px;
    width: auto;
}

nav.nav {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

nav.nav ul {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

nav.nav ul li a {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--brand-black);
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    padding: 24px 0;
    position: relative;
}

nav.nav ul li a::after {
    background: var(--brand-blue);
    bottom: 14px;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    width: 100%;
}

nav.nav ul li a:hover,
.dropdown-parent:hover > a {
    background: transparent;
    box-shadow: none;
    color: var(--brand-blue);
}

nav.nav ul li a:hover::after,
.dropdown-parent:hover > a::after {
    transform: scaleX(1);
}

.header-btn {
    border-radius: 7px;
    font-size: 14px;
    padding: 13px 18px;
    white-space: nowrap;
}

.mega-menu {
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 22px 48px rgba(29,29,27,0.13);
    gap: 18px;
    left: 50%;
    min-width: 250px;
    padding: 14px;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(6px);
}

.mega-menu::before {
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    right: 0;
    top: -12px;
}

.dropdown-parent:hover .mega-menu {
    gap: 18px;
    transform: translateX(-50%) translateY(0);
}

.menu-column {
    min-width: 220px;
}

.menu-column h4 {
    border-bottom: 1px solid var(--brand-line);
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.1px;
    margin-bottom: 7px;
    padding: 0 2px 8px;
    text-transform: uppercase;
}

.menu-column a {
    border-radius: 7px;
    color: var(--brand-black);
    display: block;
    font-size: 13px;
    font-weight: 650;
    padding: 10px 11px;
}

.menu-column a::after {
    display: none;
}

.menu-column a:hover {
    background: rgba(48,85,163,0.08);
    box-shadow: none;
    color: var(--brand-blue);
}

@media (max-width: 1100px) {
    .header {
        padding: 12px 0;
    }

    .logo img {
        height: 48px;
    }

    nav.nav ul {
        gap: 17px;
    }

    nav.nav ul li a {
        font-size: 13px;
    }

    .header-btn {
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header .container.nav {
        gap: 12px;
    }

    .logo img {
        height: 42px;
    }

    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        box-shadow: 0 14px 34px rgba(29,29,27,0.12);
        gap: 0;
        padding: 8px;
        top: 64px;
    }

    nav.nav ul li a {
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.2;
        padding: 13px 14px;
    }

    nav.nav ul li a::after {
        display: none;
    }

    .mega-menu,
    .dropdown-parent:hover .mega-menu {
        border: 0;
        box-shadow: none;
        min-width: 0;
        padding: 4px 10px 10px;
        transform: none;
    }

    .menu-column {
        min-width: 0;
    }
}

/* Final launch mobile hardening */
@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: auto;
        max-width: calc(100% - 28px);
    }

    .header .container.nav {
        align-items: center;
        display: flex;
        min-height: 48px;
        position: relative;
    }

    .logo img {
        height: 40px;
        max-width: 160px;
    }

    .menu-toggle {
        align-items: center;
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 10px;
        display: flex;
        height: 42px;
        justify-content: center;
        line-height: 1;
        width: 44px;
    }

    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        box-shadow: 0 16px 34px rgba(29,29,27,0.14);
        display: none !important;
        flex-direction: column;
        gap: 0;
        left: 0;
        max-height: calc(100vh - 86px);
        overflow-y: auto;
        padding: 8px;
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        width: auto;
        z-index: 3000;
    }

    nav.nav ul.active {
        display: flex !important;
    }

    nav.nav ul li a {
        border-radius: 8px;
        display: block;
        font-size: 14px;
        line-height: 1.25;
        padding: 13px 14px;
        text-align: center;
        white-space: normal;
    }

    nav.nav ul li a::after {
        display: none;
    }

    .mega-menu,
    .dropdown-parent:hover .mega-menu {
        border: 0;
        box-shadow: none;
        display: none;
        min-width: 0;
        padding: 4px 8px 10px;
        position: static;
        transform: none;
        width: 100%;
    }

    .dropdown-parent.active .mega-menu {
        display: grid;
    }

    .menu-column {
        min-width: 0;
    }

    .hero-content,
    .page-content .inner-hero-layout,
    .inner-hero-layout,
    .compact-hero .container,
    .content-grid,
    .feature-grid,
    .contact-hero .inner-hero-layout,
    .contact-layout,
    .training-grid,
    .training-detail-layout,
    .product-grid,
    .product-detail-layout,
    .service-work-grid,
    .service-detail-layout,
    .academy-layout,
    .footer-grid,
    .brand-grid,
    .grid {
        grid-template-columns: 1fr !important;
    }

    .hero-content {
        gap: 24px;
        padding: 34px 0 28px;
        text-align: center;
    }

    .hero-text h1,
    .page-content .inner-hero h1,
    .inner-hero h1 {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.14;
    }

    .hero-text p,
    .page-content .inner-hero p,
    .inner-hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-proof,
    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 240px;
    }

    .hero-image,
    .page-content .inner-hero-media {
        justify-content: center;
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }

    .hero-image img,
    .page-content .inner-hero-media img {
        aspect-ratio: 16 / 10;
        height: auto;
        max-width: 100%;
        width: 100%;
    }

    .page-bar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        min-height: auto;
        padding: 18px 0;
    }

    .page-bar h1 {
        font-size: 22px;
    }

    .breadcrumb {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .product-category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-category-tabs a {
        flex: 0 0 auto;
    }

    .brand-card,
    .card,
    .content-panel,
    .product-doc-card,
    .contact-form,
    .address-card,
    .contact-quick-card {
        max-width: 100%;
    }

    .brands .brand-product {
        aspect-ratio: 16 / 9;
        height: auto;
        object-fit: cover;
        padding: 0;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .quote-modal,
    .welcome-popup {
        padding: 14px;
    }

    .quote-modal-panel,
    .welcome-popup-panel {
        max-height: calc(100vh - 28px);
        overflow-y: auto;
        padding: 22px;
        width: min(100%, 420px);
    }

    .welcome-popup-media iframe,
    .welcome-popup-media img {
        aspect-ratio: 16 / 9;
        height: auto;
        width: 100%;
    }
}

/* Final contact and news polish */
.contact-page .inner-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.contact-page .contact-hero .inner-hero-layout {
    align-items: stretch;
    gap: 34px;
}

.contact-page .contact-quick-card {
    align-content: center;
    background:
        linear-gradient(135deg, rgba(48,85,163,0.08), rgba(44,157,214,0.05)),
        #fff;
    border-radius: 12px;
    display: grid;
    gap: 10px;
}

.contact-page .contact-quick-card span {
    margin-bottom: 0;
}

.contact-page .contact-quick-card strong {
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 12px;
    word-break: break-word;
}

.contact-page .contact-quick-card .btn-primary {
    justify-self: start;
    margin-top: 6px;
}

.contact-page .contact-layout {
    gap: 32px;
}

.contact-page .address-grid {
    gap: 16px;
}

.contact-page .address-card,
.contact-page .contact-form,
.contact-page .map-frame {
    border-radius: 12px;
}

.contact-page .address-card {
    display: grid;
    gap: 8px;
    padding: 22px;
}

.contact-page .address-card span,
.contact-page .address-card h3,
.contact-page .address-card p {
    margin-bottom: 0;
}

.contact-page .address-card a {
    align-self: end;
    margin-top: 8px;
}

.contact-page .contact-form {
    background: #fff;
    gap: 14px;
    position: sticky;
    top: 106px;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
    background: #f8fafc;
    min-height: 44px;
}

.contact-page .contact-form textarea {
    min-height: 130px;
}

.contact-page .contact-form button {
    width: 100%;
}

.contact-page .map-head {
    align-items: center;
}

.contact-page .map-frame iframe {
    height: 380px;
}

.news-head {
    gap: 18px;
}

.news-head-actions {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.news-head .text-link,
.news-card,
.news-card:visited,
.news-card p {
    color: var(--brand-black);
    text-decoration: none;
}

.news-head .text-link {
    color: var(--brand-blue);
    white-space: nowrap;
}

.news-card:hover p {
    color: var(--brand-blue);
}

.news-nav {
    align-items: center;
    display: flex;
    gap: 8px;
}

.news-nav span {
    align-items: center;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    color: var(--brand-blue);
    display: flex;
    height: 36px;
    justify-content: center;
    margin-left: 0;
    width: 36px;
}

@media (max-width: 768px) {
    .contact-page .contact-quick-card,
    .contact-page .contact-form {
        position: static;
    }

    .contact-page .contact-quick-card strong {
        font-size: 21px;
    }

    .contact-page .address-grid,
    .contact-page .map-head {
        grid-template-columns: 1fr;
    }

    .contact-page .map-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .contact-page .map-frame iframe {
        height: 320px;
    }

    .news-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-head-actions {
        justify-content: space-between;
        margin-left: 0;
        width: 100%;
    }
}

/* Launch mobile hardening */
@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: auto;
        max-width: calc(100% - 28px);
    }

    .header .container.nav {
        align-items: center;
        display: flex;
        min-height: 48px;
        position: relative;
    }

    .logo img {
        height: 40px;
        max-width: 160px;
    }

    .menu-toggle {
        align-items: center;
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 10px;
        display: flex;
        height: 42px;
        justify-content: center;
        line-height: 1;
        width: 44px;
    }

    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        box-shadow: 0 16px 34px rgba(29,29,27,0.14);
        display: none !important;
        flex-direction: column;
        gap: 0;
        left: 0;
        max-height: calc(100vh - 86px);
        overflow-y: auto;
        padding: 8px;
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        width: auto;
        z-index: 3000;
    }

    nav.nav ul.active {
        display: flex !important;
    }

    nav.nav ul li a {
        border-radius: 8px;
        display: block;
        font-size: 14px;
        line-height: 1.25;
        padding: 13px 14px;
        text-align: center;
        white-space: normal;
    }

    nav.nav ul li a::after {
        display: none;
    }

    .mega-menu,
    .dropdown-parent:hover .mega-menu {
        border: 0;
        box-shadow: none;
        display: none;
        min-width: 0;
        padding: 4px 8px 10px;
        position: static;
        transform: none;
        width: 100%;
    }

    .dropdown-parent.active .mega-menu {
        display: grid;
    }

    .menu-column {
        min-width: 0;
    }

    .hero-content,
    .page-content .inner-hero-layout,
    .inner-hero-layout,
    .compact-hero .container,
    .content-grid,
    .feature-grid,
    .contact-hero .inner-hero-layout,
    .contact-layout,
    .training-grid,
    .training-detail-layout,
    .product-grid,
    .product-detail-layout,
    .service-work-grid,
    .service-detail-layout,
    .academy-layout,
    .footer-grid,
    .brand-grid,
    .grid {
        grid-template-columns: 1fr !important;
    }

    .hero-content {
        gap: 24px;
        padding: 34px 0 28px;
        text-align: center;
    }

    .hero-text h1,
    .page-content .inner-hero h1,
    .inner-hero h1 {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.14;
    }

    .hero-text p,
    .page-content .inner-hero p,
    .inner-hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-proof,
    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 240px;
    }

    .hero-image,
    .page-content .inner-hero-media {
        justify-content: center;
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }

    .hero-image img,
    .page-content .inner-hero-media img {
        aspect-ratio: 16 / 10;
        height: auto;
        max-width: 100%;
        width: 100%;
    }

    .page-bar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        min-height: auto;
        padding: 18px 0;
    }

    .page-bar h1 {
        font-size: 22px;
    }

    .breadcrumb {
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .product-category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-category-tabs a {
        flex: 0 0 auto;
    }

    .brand-card,
    .card,
    .content-panel,
    .product-doc-card,
    .contact-form,
    .address-card,
    .contact-quick-card {
        max-width: 100%;
    }

    .brands .brand-product {
        aspect-ratio: 16 / 9;
        height: auto;
        object-fit: cover;
        padding: 0;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .quote-modal,
    .welcome-popup {
        padding: 14px;
    }

    .quote-modal-panel,
    .welcome-popup-panel {
        max-height: calc(100vh - 28px);
        overflow-y: auto;
        padding: 22px;
        width: min(100%, 420px);
    }

    .welcome-popup-media iframe,
    .welcome-popup-media img {
        aspect-ratio: 16 / 9;
        height: auto;
        width: 100%;
    }
}

/* Absolute final home brand product image reset */
.brands .brand-product {
    aspect-ratio: 16 / 9;
    background: transparent;
    border: 0;
    border-radius: 8px;
    display: block;
    height: auto;
    margin: 18px 0;
    object-fit: cover;
    object-position: center;
    padding: 0;
    width: 100%;
}

/* Final product gallery image fit fix */
.page-content .product-hero-media .product-gallery-stage {
    aspect-ratio: 16 / 9;
    background: #fff;
}

.page-content .product-hero-media .product-gallery-slide {
    align-items: center;
    height: 100%;
    justify-content: center;
    min-height: 0;
    padding: 18px;
}

.page-content .product-hero-media .product-gallery-slide img {
    aspect-ratio: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .page-content .product-hero-media .product-gallery-stage {
        aspect-ratio: 16 / 10;
    }
}

/* Final home brand product image reset */
.brands .brand-product {
    aspect-ratio: 16 / 9;
    background: transparent;
    border: 0;
    border-radius: 8px;
    display: block;
    height: auto;
    margin: 18px 0;
    object-fit: cover;
    object-position: center;
    padding: 0;
    width: 100%;
}

/* Product gallery image fit fix */
.page-content .product-hero-media .product-gallery-stage {
    aspect-ratio: 16 / 9;
    background: #fff;
}

.page-content .product-hero-media .product-gallery-slide {
    align-items: center;
    height: 100%;
    justify-content: center;
    min-height: 0;
    padding: 18px;
}

.page-content .product-hero-media .product-gallery-slide img {
    aspect-ratio: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .page-content .product-hero-media .product-gallery-stage {
        aspect-ratio: 16 / 10;
    }
}

/* Final product/service detail polish */
.page-bar-compact-title span {
    margin-bottom: 0;
}

.product-card h2 a,
.service-work-body h2 a {
    color: inherit;
    text-decoration: none;
}

.product-card h2 a:hover,
.service-work-body h2 a:hover {
    color: var(--brand-blue);
}

.product-card img {
    aspect-ratio: 4 / 3;
    background: #fff;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 18px;
    width: 100%;
}

.page-content .product-hero-media img,
.products-page .inner-hero-media img {
    object-fit: contain;
    padding: 18px;
}

/* FINAL PRODUCT AND SERVICE FILTER TABS */
.product-category-tabs {
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(29,29,27,0.045);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding: 8px;
}

.subcategory-tabs {
    background: rgba(255,255,255,0.72);
    box-shadow: none;
    margin-top: 10px;
}

.product-category-tabs a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #525b68;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.product-category-tabs a:hover {
    background: #f6f8fb;
    border-color: rgba(48,85,163,0.12);
    color: var(--brand-blue);
}

.product-category-tabs a.active {
    background: #eef4ff;
    border-color: rgba(48,85,163,0.14);
    box-shadow: inset 0 0 0 1px rgba(48,85,163,0.04);
    color: var(--brand-blue);
}

.subcategory-tabs a {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .product-category-tabs {
        flex-wrap: nowrap;
        margin-left: auto;
        margin-right: auto;
        overflow-x: auto;
        padding: 7px;
        scrollbar-width: none;
    }

    .product-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-category-tabs a {
        flex: 0 0 auto;
    }
}

/* PRODUCT AND SERVICE FILTER TABS */
.product-category-tabs {
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(29,29,27,0.045);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding: 8px;
}

.subcategory-tabs {
    background: rgba(255,255,255,0.72);
    box-shadow: none;
    margin-top: 10px;
}

.product-category-tabs a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #525b68;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.product-category-tabs a:hover {
    background: #f6f8fb;
    border-color: rgba(48,85,163,0.12);
    color: var(--brand-blue);
}

.product-category-tabs a.active {
    background: #eef4ff;
    border-color: rgba(48,85,163,0.14);
    box-shadow: inset 0 0 0 1px rgba(48,85,163,0.04);
    color: var(--brand-blue);
}

.subcategory-tabs a {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .product-category-tabs {
        flex-wrap: nowrap;
        margin-left: auto;
        margin-right: auto;
        overflow-x: auto;
        padding: 7px;
        scrollbar-width: none;
    }

    .product-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-category-tabs a {
        flex: 0 0 auto;
    }
}

/* HEADER PRESENCE REFINEMENT */
.header {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(29,29,27,0.08);
    box-shadow: 0 10px 28px rgba(29,29,27,0.045);
    padding: 15px 0;
}

.header .container.nav {
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.logo img {
    height: 54px;
    width: auto;
}

nav.nav {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

nav.nav ul {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

nav.nav ul li a {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--brand-black);
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    padding: 24px 0;
    position: relative;
}

nav.nav ul li a::after {
    background: var(--brand-blue);
    bottom: 14px;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    width: 100%;
}

nav.nav ul li a:hover,
.dropdown-parent:hover > a {
    background: transparent;
    box-shadow: none;
    color: var(--brand-blue);
}

nav.nav ul li a:hover::after,
.dropdown-parent:hover > a::after {
    transform: scaleX(1);
}

.header-btn {
    border-radius: 7px;
    font-size: 14px;
    padding: 13px 18px;
    white-space: nowrap;
}

.mega-menu {
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 22px 48px rgba(29,29,27,0.13);
    gap: 18px;
    left: 50%;
    min-width: 250px;
    padding: 14px;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(6px);
}

.mega-menu::before {
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    right: 0;
    top: -12px;
}

.dropdown-parent:hover .mega-menu {
    gap: 18px;
    transform: translateX(-50%) translateY(0);
}

.menu-column {
    min-width: 220px;
}

.menu-column h4 {
    border-bottom: 1px solid var(--brand-line);
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.1px;
    margin-bottom: 7px;
    padding: 0 2px 8px;
    text-transform: uppercase;
}

.menu-column a {
    border-radius: 7px;
    color: var(--brand-black);
    display: block;
    font-size: 13px;
    font-weight: 650;
    padding: 10px 11px;
}

.menu-column a::after {
    display: none;
}

.menu-column a:hover {
    background: rgba(48,85,163,0.08);
    box-shadow: none;
    color: var(--brand-blue);
}

@media (max-width: 1100px) {
    .header {
        padding: 12px 0;
    }

    .logo img {
        height: 48px;
    }

    nav.nav ul {
        gap: 17px;
    }

    nav.nav ul li a {
        font-size: 13px;
    }

    .header-btn {
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header .container.nav {
        gap: 12px;
    }

    .logo img {
        height: 42px;
    }

    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        box-shadow: 0 14px 34px rgba(29,29,27,0.12);
        gap: 0;
        padding: 8px;
        top: 64px;
    }

    nav.nav ul li a {
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.2;
        padding: 13px 14px;
    }

    nav.nav ul li a::after {
        display: none;
    }

    .mega-menu,
    .dropdown-parent:hover .mega-menu {
        border: 0;
        box-shadow: none;
        min-width: 0;
        padding: 4px 10px 10px;
        transform: none;
    }

    .menu-column {
        min-width: 0;
    }
}

img[src$="placeholder-product.svg"],
img[src$="placeholder-service.svg"],
img[src$="placeholder-news.svg"] {
    box-sizing: border-box;
    object-fit: contain !important;
    padding: 14px;
    background: #fff;
}

/* QUOTE REQUEST MODAL */
.quote-modal {
    align-items: center;
    background: rgba(29,29,27,0.64);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 4000;
}

.quote-modal.active {
    display: flex;
}

.quote-modal-panel {
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(29,29,27,0.24);
    max-height: calc(100vh - 44px);
    max-width: 560px;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    width: min(100%, 560px);
}

.quote-modal-close {
    align-items: center;
    background: #f3f6fa;
    border: 1px solid var(--brand-line);
    border-radius: 50%;
    color: var(--brand-black);
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 38px;
}

.quote-modal-panel h2 {
    color: var(--brand-black);
    font-size: 28px;
    line-height: 1.2;
    margin: 8px 44px 10px 0;
}

.quote-modal-panel p {
    color: var(--brand-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.quote-form {
    display: grid;
    gap: 14px;
}

.quote-form label {
    color: var(--brand-black);
    display: grid;
    font-size: 14px;
    font-weight: 650;
    gap: 7px;
}

.quote-form input,
.quote-form textarea {
    border: 1px solid var(--brand-line);
    border-radius: 7px;
    color: var(--brand-black);
    font: inherit;
    padding: 12px 13px;
    width: 100%;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form-result,
.form-notice {
    border-radius: 7px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    padding: 11px 13px;
}

.quote-form-result:empty {
    display: none;
}

.quote-form-result.success,
.form-notice.success {
    background: #edf8f1;
    color: #1e7043;
}

.quote-form-result.error,
.form-notice.error {
    background: #fff0f0;
    color: #a32121;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* WELCOME POPUP */
.welcome-popup {
    align-items: center;
    background: rgba(29,29,27,0.64);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 4100;
}

.welcome-popup.active {
    display: flex;
}

.welcome-popup-panel {
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(29,29,27,0.24);
    max-height: calc(100vh - 44px);
    max-width: 720px;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    width: min(100%, 720px);
}

.welcome-popup-close {
    align-items: center;
    background: #f3f6fa;
    border: 1px solid var(--brand-line);
    border-radius: 50%;
    color: var(--brand-black);
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 38px;
    z-index: 1;
}

.welcome-popup-media {
    border-radius: 8px;
    margin: 0 0 20px;
    overflow: hidden;
}

.welcome-popup-media img {
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}

.welcome-popup-media.video {
    aspect-ratio: 16 / 9;
}

.welcome-popup-media iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.welcome-popup-panel h2 {
    color: var(--brand-black);
    font-size: 28px;
    line-height: 1.2;
    margin: 0 48px 12px 0;
}

.welcome-popup-text {
    color: var(--brand-muted);
    font-size: 16px;
    line-height: 1.7;
}

.welcome-popup-button {
    margin-top: 20px;
}

@media (max-width: 640px) {
    .quote-modal-panel {
        padding: 24px;
    }

    .quote-modal-panel h2 {
        font-size: 23px;
    }

    .welcome-popup-panel {
        padding: 22px;
    }

    .welcome-popup-panel h2 {
        font-size: 23px;
    }
}

/* HOME SLIDER REFINEMENT */
.hero-slider {
    background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
    border-bottom: 1px solid var(--brand-line);
}

.slide {
    background: transparent;
    padding: 46px 0;
}

.hero-content {
    min-height: 420px;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.12;
    max-width: 620px;
}

.hero-text p {
    max-width: 560px;
}

.hero-image img {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    height: 360px;
    object-fit: contain;
    padding: 18px;
}

.hero-buttons {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .hero-content {
        min-height: auto;
    }

    .hero-image {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 34px 0;
    }

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

    .hero-image img {
        height: 260px;
    }
}

/* NAVIGATION ALTERNATIVE - CLEAN CORPORATE */
.header {
    background: #fff;
    border-bottom: 1px solid rgba(29,29,27,0.08);
    box-shadow: 0 6px 18px rgba(29,29,27,0.035);
    padding: 12px 0;
}

.logo img {
    height: 60px;
}

nav.nav ul {
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 22px;
    padding: 0;
}

nav.nav ul li a {
    background: transparent;
    border-radius: 0;
    color: var(--brand-black);
    font-size: 14px;
    font-weight: 600;
    padding: 18px 0;
    position: relative;
}

nav.nav ul li a::after {
    background: var(--brand-blue);
    bottom: 10px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
    width: 100%;
}

nav.nav ul li a:hover,
.dropdown-parent:hover > a {
    background: transparent;
    box-shadow: none;
    color: var(--brand-blue);
}

nav.nav ul li a:hover::after,
.dropdown-parent:hover > a::after {
    transform: scaleX(1);
}

.header-btn {
    border-radius: 6px;
    font-size: 14px;
    padding: 11px 18px;
}

.mega-menu {
    left: 0;
    min-width: 480px;
    top: calc(100% + 4px);
    transform: none;
}

.menu-column a::after {
    display: none;
}

@media (max-width: 1100px) {
    nav.nav ul {
        gap: 16px;
    }

    nav.nav ul li a {
        font-size: 13px;
    }

    .logo img {
        height: 42px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        gap: 0;
        padding: 8px;
        top: 66px;
    }

    nav.nav ul li a {
        border-radius: 8px;
        padding: 13px 14px;
    }

    nav.nav ul li a::after {
        display: none;
    }
}

/* AS-SU BRAND SYSTEM */
:root {
    --brand-blue: #3055A3;
    --brand-light-blue: #0698D6;
    --brand-green: #3EAD55;
    --brand-black: #1D1D1B;
    --brand-ink: #1D1D1B;
    --brand-muted: #5F6670;
    --brand-soft: #F5F8FB;
    --brand-line: rgba(29,29,27,0.09);
    --brand-shadow: 0 10px 26px rgba(29,29,27,0.07);
    --brand-font: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --brand-display: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: "Segoe UI", sans-serif;
    color: #1a1a1a;
    background: #f7f9fc;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* CONTAINER */
.container {
    width: 1200px;
    max-width: 95%;
    margin: auto;
}

/* HEADER */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* NAV */
.header > .nav,
.header .container.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo img {
    height: 45px;
    width: auto;
}

/* MENU */
nav.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

nav.nav ul li {
    position: relative;
}

nav.nav ul li a {
    display: block;
    padding: 18px 8px;
    color: #0a2540;
    font-weight: 500;
    transition: 0.3s;
}

nav.nav ul li a:hover {
    color: #0077cc;
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 500px;
    background: #fff;
    display: none;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 999;
}

.dropdown-parent:hover .mega-menu {
    display: flex;
    gap: 40px;
}

.menu-column {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.menu-column h4 {
    margin-bottom: 10px;
    color: #0077cc;
}

.menu-column a {
    padding: 6px 0;
    font-size: 14px;
    color: #333;
}

.menu-column a:hover {
    color: #0077cc;
}

/* BUTTONS */
.btn-primary {
    background: #0077cc;
    color: #fff;
    padding: 11px 22px;
    border-radius: 8px;
    display: inline-block;
    transition: 0.3s;
    font-weight: 500;
}

.btn-primary:hover {
    background: #005fa3;
}

.btn-secondary {
    border: 1px solid #0077cc;
    color: #0077cc;
    padding: 11px 22px;
    border-radius: 8px;
    display: inline-block;
    transition: 0.3s;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #0077cc;
    color: #fff;
}

/* HERO */
.hero {
    padding: 40px 0;
    background: linear-gradient(to right, #f0f4f8, #ffffff);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0a2540;
}

.hero-text p {
    max-width: 560px;
    margin-bottom: 25px;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.hero-features {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-features div {
    background: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: #0a2540;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 620px;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.14);
}
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    padding: 40px 0;
    background: linear-gradient(to right, #f0f4f8, #ffffff);
}

.slide.active {
    display: block;
}

/* SECTION COMMON */
.section-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0077cc;
    margin-bottom: 10px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-head h2,
.services h2,
.academy-section h2 {
    font-size: 32px;
    line-height: 1.25;
    color: #0a2540;
}

.text-link {
    color: #0077cc;
    font-weight: 600;
}

/* PAGE BAR */
.page-bar {
    background: #fff;
    border-top: 1px solid rgba(10,37,64,0.06);
    border-bottom: 1px solid rgba(10,37,64,0.08);
    box-shadow: 0 8px 24px rgba(10,37,64,0.04);
}

.page-bar-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.page-bar span {
    display: block;
    color: #0077cc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.page-bar h1 {
    color: #0a2540;
    font-size: 26px;
    line-height: 1.2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7a8a;
    font-size: 14px;
    white-space: nowrap;
}

.breadcrumb a {
    color: #0077cc;
    font-weight: 600;
}

.breadcrumb strong {
    color: #0a2540;
    font-weight: 600;
}

/* PAGE CONTENT */
.page-content {
    padding: 0 0 20px;
}

.page-content h1 {
    font-size: 44px;
    line-height: 1.2;
    color: #0a2540;
    margin-bottom: 16px;
}

.page-content p {
    max-width: 760px;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

.inner-hero {
    padding: 58px 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(238,245,251,0.94)),
        radial-gradient(circle at 90% 10%, rgba(0,119,204,0.14), transparent 30%);
}

.inner-hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.inner-hero p {
    max-width: 680px;
}

.compact-hero .container {
    max-width: 980px;
}

.inner-hero-media {
    position: relative;
}

.inner-hero-media img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(10,37,64,0.15);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 34px auto;
}

.stat-box {
    background: #fff;
    border: 1px solid rgba(10,37,64,0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 26px rgba(10,37,64,0.06);
}

.stat-box strong {
    display: block;
    color: #0077cc;
    font-size: 34px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box span {
    color: #0a2540;
    font-weight: 600;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
    margin: 34px auto 44px;
}

.content-panel,
.feature-card,
.statement-box,
.application-band {
    background: #fff;
    border: 1px solid rgba(10,37,64,0.08);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(10,37,64,0.06);
}

.content-panel {
    padding: 34px;
}

.content-panel h2,
.statement-box h2,
.application-band h2 {
    color: #0a2540;
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.content-panel h3 {
    color: #0a2540;
    font-size: 22px;
    margin-bottom: 16px;
}

.content-panel p + p {
    margin-top: 14px;
}

.accent-panel {
    background: #f8fbfe;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 13px;
    color: #0a2540;
    line-height: 1.55;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0077cc;
    box-shadow: 0 0 0 5px rgba(0,119,204,0.12);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 38px auto;
}

.feature-card {
    padding: 30px;
}

.feature-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eaf5ff;
    color: #0077cc;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #0a2540;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
}

.statement-box {
    padding: 36px;
    margin: 0 auto 46px;
}

.application-band {
    padding: 34px;
    margin: 0 auto 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.application-band p {
    max-width: 720px;
}

/* CONTACT */
.contact-hero .inner-hero-layout {
    grid-template-columns: 1fr 380px;
}

.contact-quick-card,
.address-card,
.contact-form,
.map-frame {
    background: #fff;
    border: 1px solid rgba(10,37,64,0.08);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(10,37,64,0.07);
}

.contact-quick-card {
    padding: 30px;
}

.contact-quick-card span {
    color: #6b7a8a;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-quick-card strong {
    color: #0a2540;
    display: block;
    font-size: 22px;
    margin-bottom: 18px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    margin: 42px auto;
    align-items: start;
}

.contact-info h2,
.contact-form h2,
.map-head h2 {
    color: #0a2540;
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 20px;
}

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

.address-card {
    padding: 26px;
}

.address-card span {
    color: #0077cc;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.address-card h3 {
    color: #0a2540;
    margin-bottom: 12px;
}

.address-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

.address-card a {
    color: #0077cc;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
}

.contact-form label {
    color: #0a2540;
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid rgba(10,37,64,0.12);
    border-radius: 10px;
    color: #0a2540;
    font: inherit;
    padding: 12px 14px;
    resize: vertical;
    width: 100%;
}

.contact-form button {
    border: 0;
    cursor: pointer;
    justify-self: start;
}

.map-section {
    margin: 0 auto 46px;
}

.map-head {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.map-frame {
    overflow: hidden;
}

.map-frame iframe {
    display: block;
    height: 420px;
    width: 100%;
}

/* ACADEMY PLATFORM */
.academy-member-card,
.training-card,
.training-info-card,
.site-form,
.account-training-card {
    background: #fff;
    border: 1px solid rgba(10,37,64,0.08);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(10,37,64,0.07);
}

.academy-member-card {
    padding: 30px;
}

.academy-member-card span {
    color: #0077cc;
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.academy-member-card strong {
    color: #0a2540;
    display: block;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.member-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 42px auto;
}

.training-card {
    overflow: hidden;
}

.training-card img {
    height: 210px;
    object-fit: cover;
    width: 100%;
}

.training-card-body {
    padding: 24px;
}

.training-meta,
.quota-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.training-meta {
    color: #0077cc;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.training-card h2 {
    color: #0a2540;
    font-size: 22px;
    line-height: 1.28;
    margin-bottom: 12px;
}

.training-card p {
    color: #555;
    line-height: 1.65;
    margin-bottom: 18px;
}

.quota-row {
    background: #f3f8fc;
    border-radius: 12px;
    color: #0a2540;
    font-size: 14px;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.quota-row strong {
    color: #0077cc;
}

.training-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    margin: 42px auto;
    align-items: start;
}

.training-sidebar {
    position: sticky;
    top: 110px;
}

.training-info-card {
    display: grid;
    gap: 10px;
    padding: 26px;
}

.training-info-card span {
    color: #6b7a8a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.training-info-card strong {
    color: #0a2540;
    line-height: 1.4;
    margin-bottom: 10px;
}

.training-info-card small {
    color: #0077cc;
    display: block;
    font-weight: 700;
    margin-top: -8px;
}

.training-info-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.training-info-card form,
.training-info-card button,
.training-info-card a {
    width: 100%;
}

.disabled-button {
    opacity: 0.55;
}

.site-alert {
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.site-alert.success {
    background: #ecf9f1;
    color: #197045;
}

.site-alert.error {
    background: #fff0f0;
    color: #a32121;
}

.training-video-box {
    background: #f3f8fc;
    border: 1px solid rgba(0,119,204,0.12);
    border-radius: 16px;
    margin-top: 28px;
    padding: 24px;
}

.training-video-box p {
    margin-bottom: 16px;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 54px 16px;
}

.site-form {
    display: grid;
    gap: 16px;
    max-width: 520px;
    padding: 34px;
    width: 100%;
}

.site-form h1 {
    font-size: 32px;
    margin-bottom: 0;
}

.site-form p {
    margin-bottom: 8px;
}

.site-form label {
    color: #0a2540;
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.site-form input {
    border: 1px solid rgba(10,37,64,0.14);
    border-radius: 10px;
    color: #0a2540;
    font: inherit;
    padding: 12px 14px;
}

.site-form button {
    border: 0;
    cursor: pointer;
}

.account-head {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 42px auto 24px;
}

.account-head h1 {
    font-size: 36px;
}

.account-training-list {
    display: grid;
    gap: 18px;
    margin-bottom: 44px;
}

.account-training-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
}

.account-training-card img {
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    width: 100%;
}

.account-training-card div {
    padding: 24px;
}

.account-training-card span {
    color: #0077cc;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.account-training-card h2 {
    color: #0a2540;
    margin-bottom: 10px;
}

.account-training-card p {
    margin-bottom: 14px;
}

/* PRODUCTS */
.product-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px auto 10px;
}

.product-category-tabs a {
    background: #fff;
    border: 1px solid rgba(10,37,64,0.1);
    border-radius: 999px;
    color: #0a2540;
    font-weight: 700;
    padding: 10px 16px;
}

.product-category-tabs a.active {
    background: #0077cc;
    border-color: #0077cc;
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 28px auto 44px;
}

.product-card,
.product-doc-card {
    background: #fff;
    border: 1px solid rgba(10,37,64,0.08);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(10,37,64,0.07);
}

.product-card {
    overflow: hidden;
}

.product-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.product-card-body {
    padding: 24px;
}

.product-card span,
.product-doc-card span {
    color: #0077cc;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-card h2 {
    color: #0a2540;
    font-size: 22px;
    line-height: 1.28;
    margin-bottom: 12px;
}

.product-card p {
    color: #555;
    line-height: 1.65;
    margin-bottom: 18px;
}

.product-detail-layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 340px;
    margin: 42px auto;
}

.product-sidebar {
    position: sticky;
    top: 110px;
}

.product-doc-card {
    padding: 26px;
}

.product-doc-card h3 {
    color: #0a2540;
    margin-bottom: 14px;
}

.product-doc-card p {
    color: #555;
    line-height: 1.6;
}

.product-doc-card a {
    background: #f3f8fc;
    border-radius: 12px;
    color: #0a2540;
    display: block;
    font-weight: 700;
    margin-top: 10px;
    padding: 12px 14px;
}

.product-video-box {
    background: #f3f8fc;
    border: 1px solid rgba(0,119,204,0.12);
    border-radius: 16px;
    margin-top: 28px;
    padding: 24px;
}

.product-video-box p {
    margin-bottom: 16px;
}

/* BRANDS */
.brands {
    margin: 40px auto;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 25px;
}

.brand-card {
    background: #fff;
    padding: 26px;
    border-radius: 18px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.brand-logo {
    height: 25px;
    width: auto;
    margin-bottom: 16px;
}

.brand-logo-wrap {
    align-items: center;
    display: flex;
    height: 42px;
    margin-bottom: 14px;
}

.brand-logo-wrap .brand-logo {
    display: block;
    height: auto;
    margin: 0;
    max-height: 34px;
    object-fit: contain;
    object-position: left center;
    width: auto;
}

.brand-logo-sutest {
    max-width: 142px;
}

.brand-logo-clooph {
    max-width: 136px;
}

.brand-logo-puredrop {
    max-width: 190px;
}

.brand-card h3 {
    color: #0a2540;
    margin-bottom: 10px;
}

.brand-card p {
    color: #555;
    line-height: 1.6;
}

.brand-product {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    margin: 18px 0;
}

.outline-link {
    color: #0077cc;
    font-weight: 600;
}

/* SERVICES */
.services {
    margin: 40px auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card h4 {
    color: #0a2540;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 14px;
}

.service-card a {
    color: #0077cc;
    font-weight: 600;
}

/* ACADEMY */
.academy-section {
    background: #eef5fb;
    padding: 40px 0;
}

.academy-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.academy-intro p {
    color: #555;
    line-height: 1.7;
    margin: 20px 0;
}

.academy-intro ul {
    margin: 20px 0 28px 20px;
}

.academy-intro ul li {
    margin-bottom: 10px;
    color: #0a2540;
}

.academy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.academy-card {
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.academy-card:hover {
    transform: translateY(-5px);
}

.academy-card span {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.academy-card h4 {
    color: #0a2540;
    margin-bottom: 10px;
}

.academy-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.academy-card a {
    color: #0077cc;
    font-weight: 600;
}

/* CTA STRIP */
.cta-strip {
    margin: 40px auto;
    padding: 36px;
    background: linear-gradient(to right, #0a2540, #0077cc);
    color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta-strip h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.cta-strip p {
    opacity: 0.9;
}

.cta-strip .btn-primary {
    background: #fff;
    color: #0077cc;
}

.cta-strip .btn-primary:hover {
    background: #eaf5ff;
}

/* NEWS SECTION */
.news-section {
    padding: 40px 0;
    background: #f5f7fa;
}

.news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.news-head h2 {
    font-size: 28px;
    color: #0a2540;
}

.news-nav span {
    font-size: 28px;
    cursor: pointer;
    margin-left: 10px;
}

/* SLIDER */
.news-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.news-card {
    min-width: calc((100% - 80px) / 5);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-card p {
    padding: 15px;
    font-size: 14px;
}

.news-list-grid {
    display: grid;
    gap: 18px;
    margin: 34px auto;
}

.news-list-card {
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: var(--brand-shadow);
    display: grid;
    gap: 22px;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
}

.news-list-card img {
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    width: 100%;
}

.news-list-card div {
    padding: 24px 24px 24px 0;
}

.news-list-card span,
.news-date {
    color: var(--brand-blue);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.news-list-card h2 {
    color: var(--brand-black);
    font-size: 24px;
    margin-bottom: 10px;
}

.news-list-card p {
    color: var(--brand-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

/* MOBILE */
@media (max-width: 768px) {
    .news-card {
        min-width: 80%;
    }

    .news-list-card {
        grid-template-columns: 1fr;
    }

    .news-list-card div {
        padding: 0 20px 22px;
    }
}

/* FINAL TYPE BALANCE */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
}

.hero-text h1,
.inner-hero h1 {
    max-width: 760px;
}

.page-content p,
.hero-text p,
.inner-hero p {
    font-weight: 400;
}

.brand-card h3,
.card h4,
.academy-card h4,
.feature-card h3,
.product-card h2,
.training-card h2,
.account-training-card h2,
.address-card h3,
.product-doc-card h3 {
    font-weight: 650;
}

/* POLISHED INNER PAGES */
.page-content .inner-hero {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-bottom: 1px solid var(--brand-line);
    padding: 34px 0;
}

.page-content .inner-hero-layout {
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.82fr);
    gap: 44px;
}

.page-content .inner-hero h1 {
    font-size: 32px;
    line-height: 1.18;
    max-width: 620px;
    margin-bottom: 12px;
}

.page-content .inner-hero p {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.7;
}

.page-content .inner-hero-media {
    justify-self: end;
    width: 100%;
    max-width: 520px;
}

.page-content .inner-hero-media img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(29,29,27,0.08);
    padding: 0;
}

.product-hero-media img,
.products-page .inner-hero-media img {
    object-fit: contain;
    padding: 18px;
}

.products-page .inner-hero {
    padding-bottom: 28px;
}

.product-category-tabs {
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(29,29,27,0.045);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding: 8px;
}

.subcategory-tabs {
    background: rgba(255,255,255,0.72);
    box-shadow: none;
    margin-top: 10px;
}

.product-category-tabs a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #525b68;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.product-category-tabs a:hover {
    background: #f6f8fb;
    border-color: rgba(48,85,163,0.12);
    color: var(--brand-blue);
}

.product-category-tabs a.active {
    background: #eef4ff;
    border-color: rgba(48,85,163,0.14);
    box-shadow: inset 0 0 0 1px rgba(48,85,163,0.04);
    color: var(--brand-blue);
}

.subcategory-tabs a {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 12px;
}

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

.product-card {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(29,29,27,0.055);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 14px 30px rgba(29,29,27,0.08);
    transform: translateY(-2px);
}

.product-card img {
    background: #fff;
    height: 170px;
    object-fit: contain;
    padding: 16px;
}

.product-card-body {
    border-top: 1px solid var(--brand-line);
    padding: 18px;
}

.product-card h2 {
    font-size: 17px;
    min-height: 44px;
}

.product-card p {
    font-size: 14px;
    line-height: 1.55;
    min-height: 66px;
}

.content-panel,
.product-doc-card,
.training-info-card,
.contact-form,
.address-card {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(29,29,27,0.055);
}

.product-detail-layout,
.training-detail-layout,
.content-grid {
    margin-top: 30px;
}

.product-doc-card a {
    border: 1px solid var(--brand-line);
    border-radius: 6px;
}

@media (max-width: 992px) {
    .page-content .inner-hero-layout {
        grid-template-columns: 1fr;
    }

    .page-content .inner-hero-media {
        justify-self: stretch;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .page-content .inner-hero {
        padding: 28px 0;
    }

    .page-content .inner-hero h1 {
        font-size: 27px;
    }

    .page-content .inner-hero-media img {
        height: 220px;
        padding: 14px;
    }

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

    .product-card h2,
    .product-card p {
        min-height: 0;
    }
}

/* FOOTER */
/* FOOTER */
.footer {
    background: #071f3a;
    color: #fff;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
    gap: 35px;
    align-items: flex-start;
}

.footer-brand img {
    height: 46px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-col p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #0077cc;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 18px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.72);
    margin-bottom: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.65);
    margin-left: 18px;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: left;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #0a2540;
}

/* TABLET */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .brand-grid,
    .grid {
        grid-template-columns: 1fr;
    }

    .academy-layout {
        grid-template-columns: 1fr;
    }

    .inner-hero-layout,
    .content-grid,
    .feature-grid,
    .contact-hero .inner-hero-layout,
    .contact-layout,
    .training-grid,
    .training-detail-layout,
    .product-grid,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .training-sidebar,
    .product-sidebar {
        position: static;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* MOBILE */
@media (max-width: 768px) {

    
    .hero-image img {
        height: 260px;
        max-width: 100%;
    }

    .header .container.nav {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    nav.nav ul {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        display: none;
        padding: 16px 0;
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
        border-radius: 0 0 16px 16px;
        z-index: 999;
        gap: 0;
    }

    nav.nav ul.active {
        display: flex;
    }

    nav.nav ul li a {
        padding: 15px 22px;
        text-align: left;
    }

    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 10px 25px 15px;
        display: none;
        flex-direction: column;
    }

    .dropdown-parent:hover .mega-menu {
        display: none;
    }

    .dropdown-parent.active .mega-menu {
        display: flex;
    }

    .dropdown-parent.active > a {
        color: #0077cc;
    }

    .header > .nav > .btn-primary,
    .header .container.nav > .btn-primary {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

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

    .page-content h1 {
        font-size: 32px;
    }

    .page-bar-inner {
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-bar h1 {
        font-size: 22px;
    }

    .breadcrumb {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .inner-hero {
        padding: 42px 0;
    }

    .inner-hero-media img {
        height: 240px;
        border-radius: 14px;
    }

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

    .content-panel,
    .feature-card,
    .statement-box,
    .application-band {
        padding: 24px;
        border-radius: 14px;
    }

    .application-band {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .map-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-frame iframe {
        height: 320px;
    }

    .account-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-training-card {
        grid-template-columns: 1fr;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .academy-cards {
        grid-template-columns: 1fr;
    }

    .cta-strip {
        flex-direction: column;
        text-align: center;
    }
}

/* AS-SU CORPORATE REFINEMENT */
body {
    background: #f6f8fb;
    color: var(--brand-ink);
    font-family: var(--brand-font);
    font-size: 15px;
    line-height: 1.6;
}

.container {
    width: 1140px;
    max-width: calc(100% - 40px);
}

.header {
    padding: 10px 0;
    box-shadow: 0 2px 14px rgba(29,29,27,0.045);
}

.logo img {
    height: 38px;
}

nav.nav ul {
    gap: 16px;
}

nav.nav ul li a {
    color: var(--brand-black);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 6px;
}

nav.nav ul li a:hover,
.menu-column a:hover,
.outline-link,
.text-link,
.breadcrumb a,
.address-card a,
.product-doc-card span,
.product-card span,
.academy-member-card span,
.training-meta,
.account-training-card span,
.section-kicker {
    color: var(--brand-blue);
}

.mega-menu {
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    box-shadow: var(--brand-shadow);
    padding: 20px;
}

.menu-column h4 {
    color: var(--brand-blue);
    font-size: 14px;
}

.btn-primary,
.contact-form button,
.site-form button,
button,
.primary-link,
.small-button {
    background: var(--brand-blue);
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 18px;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: #24468a;
}

.btn-secondary {
    border-color: var(--brand-blue);
    border-radius: 6px;
    color: var(--brand-blue);
    padding: 10px 18px;
}

.slide {
    padding: 34px 0;
    background: linear-gradient(135deg, #f6f8fb, #fff);
}

.hero-content,
.inner-hero-layout {
    gap: 38px;
}

.hero-text h1,
.inner-hero h1 {
    color: var(--brand-black);
    font-family: var(--brand-display);
    font-size: 36px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.18;
    margin-bottom: 16px;
}

.hero-text p,
.inner-hero p,
.page-content p,
.brand-card p,
.service-card p,
.academy-card p,
.product-card p,
.training-card p,
.content-panel p,
.contact-quick-card,
.address-card p {
    color: var(--brand-muted);
    font-size: 15px;
    line-height: 1.65;
}

.hero-image img,
.inner-hero-media img {
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(29,29,27,0.11);
}

.hero-image img {
    height: 360px;
}

.section-kicker,
.page-bar span,
.training-info-card span,
.contact-quick-card span,
.address-card span,
.admin-topbar span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.section-head h2,
.services h2,
.academy-section h2,
.content-panel h2,
.statement-box h2,
.application-band h2,
.contact-info h2,
.contact-form h2,
.map-head h2,
.account-head h1,
.page-content h1 {
    color: var(--brand-black);
    font-family: var(--brand-display);
    font-size: 27px;
    font-weight: 650;
    line-height: 1.22;
}

.page-bar {
    border-color: var(--brand-line);
    box-shadow: 0 6px 18px rgba(29,29,27,0.035);
}

.page-bar-inner {
    min-height: 76px;
}

.page-bar h1 {
    color: var(--brand-black);
    font-family: var(--brand-display);
    font-size: 22px;
    font-weight: 650;
}

.breadcrumb {
    color: var(--brand-muted);
    font-size: 13px;
}

.inner-hero {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(245,248,251,0.96)),
        radial-gradient(circle at 92% 8%, rgba(6,152,214,0.11), transparent 28%);
    padding: 46px 0;
}

.brands,
.services {
    margin: 34px auto;
}

.brand-card,
.card,
.academy-card,
.content-panel,
.feature-card,
.statement-box,
.application-band,
.contact-quick-card,
.address-card,
.contact-form,
.map-frame,
.academy-member-card,
.training-card,
.training-info-card,
.site-form,
.account-training-card,
.product-card,
.product-doc-card,
.stat-box,
.news-card {
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: var(--brand-shadow);
}

.brand-card,
.content-panel,
.feature-card,
.statement-box,
.application-band,
.contact-quick-card,
.address-card,
.contact-form,
.academy-member-card,
.training-info-card,
.site-form,
.product-doc-card {
    padding: 24px;
}

.brand-card:hover,
.card:hover {
    box-shadow: 0 14px 30px rgba(29,29,27,0.09);
    transform: translateY(-3px);
}

.brand-product,
.card img,
.training-card img,
.product-card img {
    border-radius: 8px;
}

.card img,
.product-card img,
.training-card img {
    height: 190px;
}

.brand-product {
    aspect-ratio: 16 / 9;
    background: transparent;
    height: auto;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.brand-card h3,
.card h4,
.academy-card h4,
.feature-card h3,
.product-card h2,
.training-card h2,
.account-training-card h2,
.address-card h3,
.product-doc-card h3 {
    color: var(--brand-black);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.28;
}

.academy-section {
    background: #eef5fb;
    padding: 34px 0;
}

.cta-strip {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-light-blue));
    border-radius: 10px;
    margin: 34px auto;
    padding: 28px 32px;
}

.cta-strip h3 {
    font-family: var(--brand-display);
    font-size: 24px;
    font-weight: 650;
}

.footer {
    background: var(--brand-black);
}

.footer-social a:hover {
    background: var(--brand-blue);
}

.footer-brand img {
    height: 40px;
}

.stats-row,
.content-grid,
.feature-grid,
.contact-layout,
.training-grid,
.product-grid,
.product-detail-layout,
.training-detail-layout {
    gap: 20px;
}

.stat-box strong,
.metric-card strong {
    color: var(--brand-blue);
}

.product-category-tabs {
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(29,29,27,0.045);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding: 8px;
}

.subcategory-tabs {
    background: rgba(255,255,255,0.72);
    box-shadow: none;
    margin-top: 10px;
}

.product-category-tabs a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #525b68;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.product-category-tabs a:hover {
    background: #f6f8fb;
    border-color: rgba(48,85,163,0.12);
    color: var(--brand-blue);
}

.product-category-tabs a.active {
    background: #eef4ff;
    border-color: rgba(48,85,163,0.14);
    box-shadow: inset 0 0 0 1px rgba(48,85,163,0.04);
    color: var(--brand-blue);
}

.subcategory-tabs a {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 12px;
}

.feature-card span,
.check-list li::before {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.feature-card span {
    color: #fff;
}

input,
textarea,
select,
.contact-form input,
.contact-form textarea,
.site-form input {
    border-color: var(--brand-line);
    border-radius: 6px;
    color: var(--brand-black);
    font-family: var(--brand-font);
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        max-width: calc(100% - 28px);
    }

    .hero-text h1,
    .inner-hero h1 {
        font-size: 30px;
    }

    .section-head h2,
    .services h2,
    .academy-section h2,
    .content-panel h2,
    .statement-box h2,
    .application-band h2,
    .contact-info h2,
    .contact-form h2,
    .map-head h2,
    .account-head h1,
    .page-content h1 {
        font-size: 24px;
    }

    .page-bar h1 {
        font-size: 20px;
    }

    .product-category-tabs {
        flex-wrap: nowrap;
        margin-left: auto;
        margin-right: auto;
        overflow-x: auto;
        padding: 7px;
        scrollbar-width: none;
    }

    .product-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-category-tabs a {
        flex: 0 0 auto;
    }

    .hero-image img,
    .inner-hero-media img {
        height: 230px;
    }
}

/* FINAL INNER PAGE POLISH OVERRIDES */
.page-content .inner-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-bottom: 1px solid var(--brand-line);
    padding: 38px 0;
}

.page-content .inner-hero-layout {
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.82fr);
    gap: 44px;
}

.page-content .inner-hero h1 {
    font-size: 32px;
    line-height: 1.18;
    max-width: 620px;
    margin-bottom: 12px;
}

.page-content .inner-hero p {
    max-width: 620px;
}

.page-content .inner-hero-media {
    justify-self: end;
    width: 100%;
    max-width: 520px;
}

.page-content .inner-hero-media img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background: #fff;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(29,29,27,0.08);
    padding: 0;
}

.product-category-tabs {
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(29,29,27,0.045);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding: 8px;
}

.subcategory-tabs {
    background: rgba(255,255,255,0.72);
    box-shadow: none;
    margin-top: 10px;
}

.product-category-tabs a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #525b68;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.product-category-tabs a:hover {
    background: #f6f8fb;
    border-color: rgba(48,85,163,0.12);
    color: var(--brand-blue);
}

.product-category-tabs a.active {
    background: #eef4ff;
    border-color: rgba(48,85,163,0.14);
    box-shadow: inset 0 0 0 1px rgba(48,85,163,0.04);
    color: var(--brand-blue);
}

.subcategory-tabs a {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 12px;
}

.product-card {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(29,29,27,0.055);
}

.product-card img {
    background: #fff;
    height: 170px;
    object-fit: contain;
    padding: 16px;
}

.product-card-body {
    border-top: 1px solid var(--brand-line);
    padding: 18px;
}

.product-card h2 {
    font-size: 17px;
    min-height: 44px;
}

.product-card p {
    font-size: 14px;
    line-height: 1.55;
    min-height: 66px;
}

@media (max-width: 992px) {
    .page-content .inner-hero-layout {
        grid-template-columns: 1fr;
    }

    .page-content .inner-hero-media {
        justify-self: stretch;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .page-content .inner-hero h1 {
        font-size: 27px;
    }

    .product-category-tabs {
        flex-wrap: nowrap;
        margin-left: auto;
        margin-right: auto;
        overflow-x: auto;
        padding: 7px;
        scrollbar-width: none;
    }

    .product-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-category-tabs a {
        flex: 0 0 auto;
    }

    .page-content .inner-hero-media img {
        aspect-ratio: 16 / 10;
        height: auto;
        padding: 0;
    }
}

/* FINAL HOME HERO */
.hero-slider {
    background:
        linear-gradient(90deg, #f7f9fc 0%, #ffffff 58%, #f3f7fb 100%);
    border-bottom: 1px solid var(--brand-line);
    overflow: hidden;
    position: relative;
}

.hero-slider::before {
    background: linear-gradient(180deg, rgba(48,85,163,0.08), rgba(6,152,214,0.02));
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 38%;
}

.slide {
    background: transparent;
    display: none;
    padding: 54px 0;
    position: relative;
}

.slide.active {
    display: block;
}

.hero-content {
    align-items: center;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
    min-height: 480px;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 560px;
}

.hero-text h1 {
    color: var(--brand-black);
    font-family: var(--brand-display);
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
    margin-bottom: 18px;
}

.hero-text p {
    color: var(--brand-muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 22px;
    max-width: 520px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.hero-proof span {
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 999px;
    color: #4d5968;
    font-size: 12px;
    font-weight: 750;
    padding: 8px 11px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    aspect-ratio: 16 / 10;
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 28px 70px rgba(29,29,27,0.14);
    height: auto;
    max-width: 680px;
    object-fit: cover;
    object-position: center;
    padding: 0;
    width: 100%;
}

@media (max-width: 1100px) {
    .hero-content {
        gap: 34px;
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 820px) {
    .slide {
        padding: 36px 0;
    }

    .hero-slider::before {
        width: 100%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text {
        max-width: none;
    }

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

    .hero-image {
        justify-content: stretch;
    }

    .hero-image img {
        max-width: none;
    }
}

/* POLISHED SITE NAVIGATION */
.header {
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(29,29,27,0.08);
    box-shadow: 0 8px 24px rgba(29,29,27,0.04);
    padding: 8px 0;
}

.header .container.nav {
    gap: 18px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 36px;
}

nav.nav {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
}

nav.nav ul {
    background: #f7f9fc;
    border: 1px solid rgba(29,29,27,0.07);
    border-radius: 999px;
    gap: 4px;
    padding: 4px;
}

nav.nav ul li a {
    border-radius: 999px;
    color: var(--brand-black);
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    padding: 11px 13px;
}

nav.nav ul li a:hover,
.dropdown-parent:hover > a {
    background: #fff;
    color: var(--brand-blue);
    box-shadow: 0 4px 14px rgba(29,29,27,0.07);
}

.header-btn {
    border-radius: 999px;
    font-size: 13px;
    padding: 11px 16px;
    white-space: nowrap;
}

.mega-menu {
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(29,29,27,0.12);
    left: 50%;
    min-width: 460px;
    padding: 18px;
    top: calc(100% + 12px);
    transform: translateX(-50%);
}

.mega-menu::before {
    content: "";
    height: 14px;
    left: 0;
    position: absolute;
    right: 0;
    top: -14px;
}

.dropdown-parent:hover .mega-menu {
    gap: 22px;
}

.menu-column {
    min-width: 190px;
}

.menu-column h4 {
    border-bottom: 1px solid var(--brand-line);
    color: var(--brand-blue);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.menu-column a {
    border-radius: 6px;
    color: var(--brand-black);
    font-size: 13px;
    padding: 9px 10px;
}

.menu-column a:hover {
    background: rgba(48,85,163,0.08);
    box-shadow: none;
    color: var(--brand-blue);
}

.menu-toggle {
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    font-size: 22px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    width: 42px;
}

@media (max-width: 1100px) {
    nav.nav ul li a {
        font-size: 12px;
        padding: 10px 10px;
    }

    .header-btn {
        padding: 10px 13px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 9px 0;
    }

    .header .container.nav {
        gap: 12px;
    }

    .logo img {
        height: 34px;
    }

    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        left: 0;
        padding: 8px;
        top: 58px;
    }

    nav.nav ul li a {
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.2;
        padding: 13px 14px;
    }

    .mega-menu {
        border: 0;
        box-shadow: none;
        min-width: 0;
        padding: 4px 10px 10px;
        transform: none;
    }

    .menu-column h4 {
        margin-top: 6px;
    }

    .menu-column a {
        padding: 10px 12px;
    }
}

/* FINAL MINIMAL NAV - LAST OVERRIDE */
.header .container.nav {
    justify-content: space-between;
}

nav.nav {
    flex: 1;
    justify-content: flex-end;
}

nav.nav ul {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 22px;
    padding: 0;
}

nav.nav ul li a {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--brand-black);
    padding: 18px 0;
}

nav.nav ul li a::after {
    display: none;
}

nav.nav ul li a:hover,
.dropdown-parent:hover > a {
    background: transparent;
    box-shadow: none;
    color: var(--brand-blue);
}

@media (max-width: 768px) {
    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        box-shadow: 0 14px 34px rgba(29,29,27,0.12);
        gap: 0;
        padding: 8px;
    }
}

/* TRUE FINAL HEADER ELEVATION */
.maintenance-admin-notice {
    background: #fff7e8;
    border-bottom: 1px solid rgba(152,99,0,0.18);
    color: #5c4300;
    font-size: 14px;
    position: relative;
    z-index: 5000;
}

.maintenance-admin-notice .container {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    min-height: 42px;
    text-align: center;
}

.maintenance-admin-notice strong {
    color: #986300;
}

.maintenance-admin-notice a {
    color: #3055A3;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .maintenance-admin-notice .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding-bottom: 10px;
        padding-top: 10px;
        text-align: left;
    }
}

.header {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(29,29,27,0.08);
    box-shadow: 0 10px 28px rgba(29,29,27,0.045);
    padding: 15px 0;
}

.header .container.nav {
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.logo img {
    height: 54px;
    width: auto;
}

nav.nav {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

nav.nav ul {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

nav.nav ul li a {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--brand-black);
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    padding: 24px 0;
    position: relative;
}

nav.nav ul li a::after {
    background: var(--brand-blue);
    bottom: 14px;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    width: 100%;
}

nav.nav ul li a:hover,
.dropdown-parent:hover > a {
    background: transparent;
    box-shadow: none;
    color: var(--brand-blue);
}

nav.nav ul li a:hover::after,
.dropdown-parent:hover > a::after {
    transform: scaleX(1);
}

.header-btn {
    border-radius: 7px;
    font-size: 14px;
    padding: 13px 18px;
    white-space: nowrap;
}

.mega-menu {
    background: #fff;
    border: 1px solid rgba(29,29,27,0.08);
    border-radius: 10px;
    box-shadow: 0 22px 48px rgba(29,29,27,0.13);
    gap: 18px;
    left: 50%;
    min-width: 250px;
    padding: 14px;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(6px);
}

.mega-menu::before {
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    right: 0;
    top: -12px;
}

.dropdown-parent:hover .mega-menu {
    gap: 18px;
    transform: translateX(-50%) translateY(0);
}

.menu-column {
    min-width: 220px;
}

.menu-column h4 {
    border-bottom: 1px solid var(--brand-line);
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.1px;
    margin-bottom: 7px;
    padding: 0 2px 8px;
    text-transform: uppercase;
}

.menu-column a {
    border-radius: 7px;
    color: var(--brand-black);
    display: block;
    font-size: 13px;
    font-weight: 650;
    padding: 10px 11px;
}

.menu-column a::after {
    display: none;
}

.menu-column a:hover {
    background: rgba(48,85,163,0.08);
    box-shadow: none;
    color: var(--brand-blue);
}

@media (max-width: 1100px) {
    .header {
        padding: 12px 0;
    }

    .logo img {
        height: 48px;
    }

    nav.nav ul {
        gap: 17px;
    }

    nav.nav ul li a {
        font-size: 13px;
    }

    .header-btn {
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header .container.nav {
        gap: 12px;
    }

    .logo img {
        height: 42px;
    }

    nav.nav {
        flex: 0;
    }

    nav.nav ul {
        background: #fff;
        border: 1px solid var(--brand-line);
        border-radius: 12px;
        box-shadow: 0 14px 34px rgba(29,29,27,0.12);
        gap: 0;
        padding: 8px;
        top: 64px;
    }

    nav.nav ul li a {
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.2;
        padding: 13px 14px;
    }

    nav.nav ul li a::after {
        display: none;
    }

    .mega-menu,
    .dropdown-parent:hover .mega-menu {
        border: 0;
        box-shadow: none;
        min-width: 0;
        padding: 4px 10px 10px;
        transform: none;
    }

    .menu-column {
        min-width: 0;
    }
}
