:root {
    --brand-bg: #0e1118;
    --brand-surface: #161b26;
    --brand-muted: #8b939e;
    --brand-line: rgba(255, 255, 255, 0.08);
    --brand-accent: #d4a20b;
    --brand-accent-soft: rgba(212, 162, 11, 0.15);
    --brand-teal: #0d9488;
    --text-dark: #0f1419;
    --text-muted: #5c6670;
    --bg-soft: #f0ebe3;
    --bg-soft-2: #e8e2d8;

    --bs-primary: #d4a20b;
    --bs-primary-rgb: 212, 162, 11;
    --bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
    --bs-heading-font-family: Lexend, "IBM Plex Sans", system-ui, sans-serif;
    --bs-body-color: var(--text-dark);
    --bs-link-color: #9a7310;
    --bs-link-hover-color: #7a5c0d;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.display-5,
.display-6 {
    font-family: var(--bs-heading-font-family);
    letter-spacing: -0.02em;
}

.site-body {
    color: var(--text-dark);
    background-color: var(--bg-soft);
}

.site-navbar {
    background: linear-gradient(180deg, var(--brand-bg) 0%, #121722 100%);
    border-bottom: 1px solid var(--brand-line);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-navbar::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-teal) 100%);
}

.site-navbar .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78) !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.site-navbar .nav-link.active {
    color: var(--brand-accent) !important;
    background: var(--brand-accent-soft);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-muted);
    border-left: 1px solid var(--brand-line);
    padding-left: 0.85rem;
    line-height: 1.3;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.brand-fallback,
.logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-bg);
    background: linear-gradient(135deg, var(--brand-accent) 0%, #fde68a 100%);
}

.brand-abbreviation {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-accent);
}

.btn-accent {
    --bs-btn-color: var(--brand-bg);
    --bs-btn-bg: var(--brand-accent);
    --bs-btn-border-color: var(--brand-accent);
    --bs-btn-hover-bg: #e8b81c;
    --bs-btn-hover-border-color: #e8b81c;
    --bs-btn-hover-color: var(--brand-bg);
    font-weight: 600;
}

.text-accent,
.text-accent-emphasis {
    color: var(--brand-accent) !important;
}

.section-surface {
    background: var(--brand-surface);
    color: rgba(255, 255, 255, 0.92);
}

.section-surface .text-muted,
.section-surface.text-muted {
    color: rgba(255, 255, 255, 0.62) !important;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: linear-gradient(145deg, #0b0e14 0%, #161b26 52%, #1a2433 100%);
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--brand-line);
}

@media (min-width: 992px) {
    .hero-section.py-lg-7 {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -15%;
    width: 55%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(212, 162, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-accent);
}

.hero-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 2px;
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    position: relative;
}

.hero-brand-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.hero-abbreviation {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-accent);
}

.hero-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(8px);
}

.hero-card .h5,
.hero-card h2.h5 {
    color: #fff;
}

.hero-card .text-secondary {
    color: rgba(255, 255, 255, 0.65) !important;
}

.hero-section .btn-primary {
    --bs-btn-bg: var(--brand-accent);
    --bs-btn-border-color: var(--brand-accent);
    --bs-btn-color: var(--brand-bg);
    font-weight: 600;
}

.hero-section .btn-outline-primary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.35);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.5);
    --bs-btn-hover-color: #fff;
}

.section-header-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9a7310;
}

.bg-section-warm {
    background-color: var(--bg-soft) !important;
}

.bg-section-paper {
    background-color: #faf8f5 !important;
}

.capability-card {
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 20, 25, 0.08);
    background: #fff;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.capability-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15, 20, 25, 0.08);
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--brand-bg);
    background: linear-gradient(135deg, var(--brand-accent) 0%, #fde68a 100%);
    margin-bottom: 1rem;
}

.product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 20, 25, 0.06) !important;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.25rem 2.5rem rgba(15, 20, 25, 0.12) !important;
}

.product-image {
    position: relative;
    height: 168px;
    padding: 1.1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.product-image--photo {
    padding: 0;
}

.product-image-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image .badge {
    position: relative;
    z-index: 1;
}

.product-image-icon {
    font-size: 2.75rem;
    color: rgba(255, 255, 255, 0.92);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.product-slideshow {
    border: 1px solid rgba(15, 20, 25, 0.08);
    background: #0e1118;
}

.product-slideshow__frame {
    background: #0e1118;
}

.product-slideshow__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-slideshow__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: clamp(1rem, 3vw, 2.25rem);
    background:
        linear-gradient(180deg, rgba(14, 17, 24, 0.02) 0%, rgba(14, 17, 24, 0.18) 42%, rgba(14, 17, 24, 0.58) 100%),
        linear-gradient(90deg, rgba(14, 17, 24, 0.42) 0%, rgba(14, 17, 24, 0.08) 55%, transparent 100%);
}

.product-slideshow__caption {
    width: min(100%, 40rem);
    padding: clamp(1.1rem, 2.4vw, 1.65rem) clamp(1.15rem, 2.6vw, 1.85rem);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, rgba(14, 17, 24, 0.82) 0%, rgba(22, 27, 38, 0.72) 100%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
}

.product-slideshow__category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 162, 11, 0.35);
    background: rgba(212, 162, 11, 0.14);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f6d77b;
}

.product-slideshow__title {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.product-slideshow__copy {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-slideshow__copy::before {
    content: "";
    display: block;
    width: 3.25rem;
    height: 3px;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-teal) 100%);
}

.product-slideshow__text {
    margin: 0;
    max-width: 58ch;
    font-size: clamp(1rem, 1.45vw, 1.08rem);
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.88);
    text-wrap: pretty;
}

.product-slideshow__indicators {
    margin-bottom: 0.85rem;
}

.product-slideshow__indicators [data-bs-target] {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    border: 0;
    background-color: rgba(255, 255, 255, 0.45);
}

.product-slideshow__indicators .active {
    background-color: var(--brand-accent);
}

.product-slideshow__control {
    width: 8%;
}

.product-slideshow__control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(14, 17, 24, 0.55);
    color: #fff;
    font-size: 1.35rem;
    backdrop-filter: blur(6px);
}

@media (max-width: 767.98px) {
    .product-slideshow__overlay {
        padding: 0.85rem;
        background: linear-gradient(180deg, rgba(14, 17, 24, 0.08) 35%, rgba(14, 17, 24, 0.72) 100%);
    }

    .product-slideshow__caption {
        width: 100%;
        padding: 1rem 1.05rem 1.1rem;
        border-radius: 0.85rem;
    }

    .product-slideshow__title {
        font-size: 1.35rem;
    }

    .product-slideshow__copy {
        padding-top: 0.85rem;
    }

    .product-slideshow__text {
        font-size: 0.98rem;
        line-height: 1.72;
    }
}

.partner-pill {
    background: #fff;
    border: 1px solid rgba(15, 20, 25, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-card-wrap {
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 20, 25, 0.08);
    background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}

.stat-card-wrap .counter {
    font-family: var(--bs-heading-font-family);
}

.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #0f1419 0%, #16202e 42%, var(--brand-teal) 160%);
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(212, 162, 11, 0.18), transparent 45%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.page-header {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
    background: linear-gradient(135deg, #0f131a 0%, #1c2431 100%);
    border-bottom: 3px solid var(--brand-accent);
    color: rgba(255, 255, 255, 0.95);
}

.page-header.bg-light {
    background: linear-gradient(135deg, #0f131a 0%, #1c2431 100%) !important;
}

.page-header .text-primary {
    color: var(--brand-accent) !important;
}

.page-header .text-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
}

.page-header h1.display-6 {
    color: #fff;
}

.timeline {
    position: relative;
    padding-left: 1.2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0.35rem;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-teal) 100%);
    opacity: 0.55;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.06rem;
    top: 0.85rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--brand-bg);
    background: var(--brand-accent);
    box-shadow: 0 0 0 2px rgba(212, 162, 11, 0.35);
}

.timeline-year {
    font-size: 0.82rem;
    font-weight: 800;
    font-family: var(--bs-heading-font-family);
    letter-spacing: 0.04em;
    color: var(--brand-accent);
    margin-bottom: 0.35rem;
}

.timeline-content {
    border: 1px solid rgba(15, 20, 25, 0.06) !important;
}

.map-placeholder {
    min-height: 220px;
    border: 1px dashed rgba(15, 20, 25, 0.2);
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.testimonial-card {
    border-radius: 0.85rem;
    border-left: 4px solid var(--brand-accent);
}

.site-footer {
    background: var(--brand-bg);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0 !important;
    border-top: 3px solid var(--brand-accent);
}

.footer-title,
.footer-heading {
    color: #fff;
}

.footer-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
}

.footer-muted {
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0;
}

.footer-rule {
    border-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 1;
}

.site-footer .footer-link {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.site-footer .footer-link:hover {
    color: var(--brand-accent);
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: none;
    z-index: 1050;
    background: var(--brand-accent);
    border: none;
    color: var(--brand-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.back-to-top:hover {
    background: #e8b81c;
    color: var(--brand-bg);
}

[data-aos] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-aos].aos-show {
    opacity: 1;
    transform: translateY(0);
}

.card.rounded-4 {
    border-radius: 0.85rem !important;
}

.shadow-sm {
    box-shadow: 0 4px 20px rgba(15, 20, 25, 0.06) !important;
}

.certificates-band {
    border-color: rgba(15, 20, 25, 0.06) !important;
}

.certificate-card {
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 20, 25, 0.08);
    background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
    box-shadow: 0 4px 22px rgba(15, 20, 25, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.certificate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 162, 11, 0.45);
    box-shadow: 0 14px 40px rgba(15, 20, 25, 0.1);
}

.certificate-card-inner {
    padding: 1.35rem 1.35rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.certificate-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--brand-bg);
    background: linear-gradient(135deg, var(--brand-accent) 0%, #fde68a 100%);
    border: 1px solid rgba(212, 162, 11, 0.35);
}

.certificate-title {
    font-family: var(--bs-heading-font-family);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.certificate-scope {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.certificate-issuer {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.certificate-issuer .text-muted {
    font-weight: 500;
}

.certificate-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    color: var(--brand-bg);
    background: var(--brand-accent-soft);
    border: 1px solid rgba(212, 162, 11, 0.35);
}

.certificate-ref {
    font-family: ui-monospace, monospace;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 0.85rem;
    }

    .site-navbar .btn-accent {
        width: 100%;
    }

    .brand-tagline {
        display: none !important;
    }
}
