:root {
    --orisha-orange: #c45405;
    --orisha-orange-2: #e17818;
    --orisha-ink: #080706;
    --orisha-charcoal: #1f2327;
    --orisha-steel: #69727b;
    --orisha-line: #e5e0db;
    --orisha-soft: #f8f4ef;
    --orisha-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--orisha-charcoal);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--orisha-white);
}

.navbar {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(8, 7, 6, .08);
    backdrop-filter: blur(14px);
    min-height: 82px;
    padding-block: .85rem;
}

.navbar > .container {
    gap: .75rem;
}

.brand-mark {
    height: 45px;
    object-fit: contain;
}

.navbar-brand span {
    color: var(--orisha-ink);
    font-size: .94rem;
    letter-spacing: .08em;
}

.nav-link {
    color: var(--orisha-charcoal);
    font-weight: 600;
    border-radius: 6px;
    padding: .62rem .9rem;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--orisha-orange);
    background: rgba(196, 84, 5, .08);
    text-decoration: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
    color: var(--orisha-orange);
}

.navbar-toggler {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 40px;
    margin-inline-start: auto;
    padding: 0;
    border: 1px solid rgba(196, 84, 5, .26);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(196, 84, 5, .1), rgba(196, 84, 5, .04)),
        var(--orisha-white);
    box-shadow: 0 8px 22px rgba(8, 7, 6, .08);
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.navbar-toggler:hover {
    border-color: rgba(196, 84, 5, .48);
    background:
        linear-gradient(180deg, rgba(225, 120, 24, .16), rgba(196, 84, 5, .08)),
        var(--orisha-white);
}

.navbar-toggler-line {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--orisha-orange);
    transition: transform .2s ease, opacity .2s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(196, 84, 5, .18);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.btn-orisha {
    --bs-btn-bg: var(--orisha-orange);
    --bs-btn-border-color: var(--orisha-orange);
    --bs-btn-hover-bg: #a94604;
    --bs-btn-hover-border-color: #a94604;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    font-weight: 700;
}

.btn-outline-orisha {
    --bs-btn-color: var(--orisha-ink);
    --bs-btn-border-color: rgba(8, 7, 6, .24);
    --bs-btn-hover-bg: var(--orisha-ink);
    --bs-btn-hover-border-color: var(--orisha-ink);
    --bs-btn-hover-color: #fff;
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 92vh;
    padding: 9rem 0 4.5rem;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(8, 7, 6, .96) 0%, rgba(8, 7, 6, .88) 35%, rgba(8, 7, 6, .58) 62%, rgba(8, 7, 6, .28) 100%),
        linear-gradient(180deg, rgba(196, 84, 5, .26), rgba(8, 7, 6, .34)),
        url('/assets/img/hero-engineering-services.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(196, 84, 5, .2), transparent 58%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 36px);
    pointer-events: none;
}

.hero-watermark {
    position: absolute;
    right: -9vw;
    top: 12vh;
    width: min(56vw, 780px);
    opacity: .14;
    filter: grayscale(100%);
}

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

.eyebrow {
    color: #ffbd7b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 860px;
    font-size: clamp(2.4rem, 5vw, 5.25rem);
    font-weight: 800;
    line-height: 1;
}

.hero .lead {
    max-width: 670px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.page-hero {
    position: relative;
    min-height: 430px;
    padding: 9rem 0 4.5rem;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(8, 7, 6, .94) 0%, rgba(8, 7, 6, .76) 48%, rgba(8, 7, 6, .32) 100%),
        url('/assets/img/company-activity-overview.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(196, 84, 5, .2), transparent 58%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 34px);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
}

.page-hero .lead {
    max-width: 720px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.product-page-hero {
    background:
        linear-gradient(100deg, rgba(8, 7, 6, .94) 0%, rgba(8, 7, 6, .78) 48%, rgba(8, 7, 6, .34) 100%),
        url('/assets/img/product-hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.services-page-hero {
    background:
        linear-gradient(100deg, rgba(8, 7, 6, .94) 0%, rgba(8, 7, 6, .78) 48%, rgba(8, 7, 6, .34) 100%),
        url('/assets/img/services-hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.partner-page-hero {
    background:
        linear-gradient(100deg, rgba(8, 7, 6, .94) 0%, rgba(8, 7, 6, .78) 48%, rgba(8, 7, 6, .34) 100%),
        url('/assets/img/partner-hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-page-hero {
    background:
        linear-gradient(100deg, rgba(8, 7, 6, .94) 0%, rgba(8, 7, 6, .78) 48%, rgba(8, 7, 6, .34) 100%),
        url('/assets/img/contact-hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.metric {
    border-left: 3px solid var(--orisha-orange-2);
    padding-left: 1rem;
}

.metric strong {
    display: block;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1;
}

.metric span {
    color: rgba(255, 255, 255, .68);
    font-size: .92rem;
}

.section-pad {
    padding: 5.5rem 0;
}

.section-title {
    color: var(--orisha-ink);
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
}

.overview-photo {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 520px;
    border: 1px solid var(--orisha-line);
    box-shadow: 0 24px 70px rgba(8, 7, 6, .12);
}

.overview-photo img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.overview-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8, 7, 6, .56));
    pointer-events: none;
}

.overview-badge {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    border-left: 4px solid var(--orisha-orange-2);
    color: #fff;
    background: rgba(8, 7, 6, .68);
    backdrop-filter: blur(12px);
    border-radius: 8px;
}

.overview-copy p {
    color: var(--orisha-steel);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-intro {
    color: var(--orisha-steel);
    font-size: 1.08rem;
    line-height: 1.85;
}

.overview-stat {
    border-top: 1px solid var(--orisha-line);
    padding-top: 1.25rem;
}

.overview-stat strong {
    color: var(--orisha-orange);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1;
}

.value-card {
    height: 100%;
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(8, 7, 6, .05);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 84, 5, .32);
    box-shadow: 0 22px 54px rgba(8, 7, 6, .09);
}

.value-number {
    color: rgba(196, 84, 5, .22);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.value-card h3 {
    color: var(--orisha-ink);
}

.vision-card {
    height: 100%;
    border: 1px solid var(--orisha-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(8, 7, 6, .06);
}

.icon-box {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--orisha-orange);
}

.soft-band {
    background: var(--orisha-soft);
}

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

.customer-item {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    min-height: 104px;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    color: var(--orisha-ink);
    background: #fff;
    box-shadow: 0 14px 36px rgba(8, 7, 6, .045);
    text-align: center;
}

.customer-item img {
    width: 100%;
    max-width: 104px;
    height: 52px;
    object-fit: contain;
}

.customer-item span {
    color: var(--orisha-steel);
    font-size: .86rem;
    font-weight: 800;
}

.customer-total {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border-left: 4px solid var(--orisha-orange);
    border-radius: 8px;
    background: var(--orisha-soft);
}

.customer-total strong {
    color: var(--orisha-orange);
    font-size: 2rem;
    line-height: 1;
}

.customer-total span {
    color: var(--orisha-charcoal);
    font-size: .9rem;
    font-weight: 800;
}

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

.partner-category-card {
    min-height: 100%;
    padding: 1.1rem;
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(248, 244, 239, .88), rgba(255, 255, 255, .96)),
        #fff;
    box-shadow: 0 14px 36px rgba(8, 7, 6, .05);
}

.partner-category-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding-bottom: .85rem;
    margin-bottom: .85rem;
    border-bottom: 1px solid rgba(8, 7, 6, .08);
}

.partner-category-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--orisha-orange);
    box-shadow: 0 10px 22px rgba(196, 84, 5, .18);
}

.partner-category-head h3 {
    margin: 0;
    color: var(--orisha-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.partner-category-head p {
    margin: .18rem 0 0;
    color: var(--orisha-steel);
    font-size: .78rem;
    font-weight: 700;
}

.partner-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.partner-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .38rem .62rem;
    border: 1px solid rgba(196, 84, 5, .14);
    border-radius: 6px;
    color: var(--orisha-charcoal);
    background: rgba(255, 255, 255, .86);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.15;
}

.product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(8, 7, 6, .055);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 84, 5, .32);
    box-shadow: 0 22px 54px rgba(8, 7, 6, .09);
}

.product-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--orisha-soft);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-body h3 {
    color: var(--orisha-ink);
}

.product-card-body p {
    line-height: 1.75;
}

.service-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(8, 7, 6, .055);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 84, 5, .32);
    box-shadow: 0 22px 54px rgba(8, 7, 6, .09);
}

.service-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--orisha-soft);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.04);
}

.service-card-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--orisha-orange);
    box-shadow: 0 12px 30px rgba(8, 7, 6, .22);
    z-index: 1;
}

.service-card-body h3 {
    color: var(--orisha-ink);
}

.service-card-body p {
    line-height: 1.75;
}

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

.contact-section {
    padding-block: 4rem;
}

.contact-section .section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.contact-office-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(8, 7, 6, .07);
}

.contact-office-photo {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--orisha-soft);
}

.contact-office-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-office-body {
    padding: 1rem;
}

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

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(8, 7, 6, .045);
}

.contact-office-card .contact-info-item,
.contact-detail-strip .contact-info-item {
    padding: 1rem;
    box-shadow: none;
}

.contact-info-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--orisha-orange);
}

.contact-info-item a {
    color: var(--orisha-charcoal);
    font-weight: 700;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--orisha-orange);
}

.contact-info-item p {
    color: var(--orisha-steel);
    line-height: 1.7;
}

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

.contact-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 1px solid rgba(8, 7, 6, .1);
    border-radius: 8px;
    color: var(--orisha-ink);
    background: var(--orisha-soft);
    font-weight: 800;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.contact-action:hover {
    border-color: rgba(196, 84, 5, .32);
    color: var(--orisha-orange);
    background: rgba(196, 84, 5, .08);
}

.contact-map-section {
    padding-top: 1rem;
    background: var(--orisha-soft);
}

.contact-map-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 0;
}

.contact-map-header p:not(.eyebrow) {
    max-width: 780px;
    color: var(--orisha-steel);
    line-height: 1.7;
}

.contact-map {
    width: 100%;
    height: min(58vh, 520px);
    min-height: 360px;
    border-block: 1px solid rgba(8, 7, 6, .08);
    background: var(--orisha-soft);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form {
    border: 1px solid rgba(8, 7, 6, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(8, 7, 6, .07);
}

.contact-form .form-label {
    color: var(--orisha-ink);
    font-weight: 800;
}

.contact-form .form-control {
    min-height: 48px;
    border-color: rgba(8, 7, 6, .14);
    border-radius: 8px;
}

.contact-form textarea.form-control {
    min-height: 132px;
}

.contact-form .form-control:focus {
    border-color: rgba(196, 84, 5, .58);
    box-shadow: 0 0 0 .2rem rgba(196, 84, 5, .12);
}

.recaptcha-placeholder {
    display: inline-flex;
    min-height: 74px;
    align-items: center;
    padding: 1rem;
    border: 1px dashed rgba(8, 7, 6, .2);
    border-radius: 8px;
    color: var(--orisha-steel);
    background: var(--orisha-soft);
    font-weight: 700;
}


.cta-band {
    color: #fff;
    background:
        linear-gradient(120deg, rgba(196, 84, 5, .94), rgba(8, 7, 6, .94)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 1px, transparent 1px 30px);
}

footer {
    color: rgba(255, 255, 255, .72);
    background: var(--orisha-ink);
}

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

footer a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .navbar > .container {
        padding-inline: 1rem;
    }

    .navbar-toggler {
        margin-inline-end: .35rem;
    }

    .navbar {
        min-height: 76px;
        padding-block: .7rem;
    }

    .navbar-collapse {
        border-top: 1px solid rgba(8, 7, 6, .08);
        margin-top: .75rem;
        padding-top: .75rem;
    }

    .nav-link {
        padding: .78rem .9rem;
    }

    .hero {
        min-height: auto;
        padding-top: 10rem;
    }

    .page-hero {
        min-height: 360px;
        padding-top: 10rem;
    }

    .hero-watermark {
        width: 105vw;
        right: -35vw;
        top: 18vh;
    }

    .overview-photo,
    .overview-photo img {
        min-height: 360px;
    }

    .contact-section {
        padding-block: 3.25rem;
    }

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

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

@media (max-width: 575.98px) {
    .navbar > .container {
        padding-inline: .95rem;
    }

    .navbar-toggler {
        margin-inline-end: .75rem;
    }

    .navbar-brand {
        max-width: calc(100% - 58px);
        min-width: 0;
    }

    .navbar-brand h4 {
        font-size: 1.12rem;
    }

    .navbar-brand h6 {
        font-size: .68rem;
        line-height: 1.25;
    }

    .hero,
    .page-hero {
        padding-top: 10.75rem;
    }

    .contact-detail-strip,
    .contact-action-grid {
        grid-template-columns: 1fr;
    }

    .contact-office-photo {
        aspect-ratio: 4 / 3;
    }

    .contact-map-header {
        display: block;
        padding: 1.5rem 0;
    }

    .contact-map-header .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .contact-map {
        height: 420px;
        min-height: 420px;
    }

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

    .partner-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll reveal animations */
[data-reveal] {
    opacity: 0;
    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal="up"] {
    transform: translate3d(0, 26px, 0);
}

[data-reveal="left"] {
    transform: translate3d(26px, 0, 0);
}

[data-reveal="right"] {
    transform: translate3d(-26px, 0, 0);
}

[data-reveal="zoom"] {
    transform: scale(.94);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
