:root {
    --si-navy: #0b1f2a;
    --si-navy-2: #123442;
    --si-blue: #15536a;
    --si-orange: #f3a312;
    --si-orange-dark: #d88600;
    --si-ink: #16232b;
    --si-muted: #667680;
    --si-paper: #f4f6f7;
    --si-white: #fff;
    --si-border: #dfe5e8;
    --si-shadow: 0 22px 55px rgba(11,31,42,.13);
    --si-radius: 1.25rem;
    --si-max: 1280px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
    color: var(--si-ink);
    background: #fff;
    line-height: 1.65
}

h1, h2, h3, h4, .display-font {
    font-family: "Manrope",Inter,sans-serif;
    letter-spacing: -.035em;
    font-weight: 750
}

a {
    text-decoration: none
}

.container-xl {
    max-width: var(--si-max)
}

.navbar {
    padding: 1rem 0;
    transition: .25s;
    background: rgba(7,24,33,.74);
    backdrop-filter: blur(12px)
}

.navbar-brand img {
    width: 260px;
    max-width: 46vw;
    height: auto
}

.navbar .nav-link {
    color: rgba(255,255,255,.82);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin: 0 .35rem
}

    .navbar .nav-link:hover {
        color: #fff
    }

.lang-switch {
    border-left: 1px solid rgba(255,255,255,.25);
    padding-left: 1rem;
    margin-left: .5rem
}

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    background: url('../images/hero.jpg') center 42%/cover no-repeat;
    padding-bottom: 94px;
}

    .hero:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(4,18,26,.94) 0%,rgba(4,18,26,.75) 48%,rgba(4,18,26,.22) 100%),linear-gradient(0deg,rgba(4,18,26,.54),transparent 52%)
    }

    .hero .content {
        position: relative;
        z-index: 3;
        width: 100%;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

.eyebrow {
    display: inline-flex;
    gap: .65rem;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 800;
    font-size: .76rem;
    color: var(--si-orange)
}

    .eyebrow:before {
        content: "";
        width: 2.2rem;
        height: 2px;
        background: currentColor
    }

.hero h1 {
    font-size: clamp(2.9rem, 4.8vw, 5rem);
    line-height: .96;
    max-width: 980px;
    margin: 1.4rem 0 1.6rem
}

.hero p {
    font-size: clamp(1.05rem,1.7vw,1.35rem);
    max-width: 720px;
    color: rgba(255,255,255,.82)
}

.btn-si {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 0 0 auto;
    padding: .9rem 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

.btn-orange {
    background: var(--si-orange);
    color: #111;
    border: 1px solid var(--si-orange)
}

    .btn-orange:hover {
        background: #ffb52b;
        color: #111
    }

.btn-outline-light:hover {
    color: var(--si-navy)
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,.18);
    background: rgba(4,18,26,.52);
    backdrop-filter: blur(8px);
}

.hero-stat {
    padding: 1.2rem 0
}

    .hero-stat strong {
        display: block;
        font-family: Manrope;
        font-size: 1.1rem
    }

    .hero-stat span {
        font-size: .74rem;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: rgba(255,255,255,.6)
    }

.section {
    padding: 7rem 0
}

.section-soft {
    background: var(--si-paper)
}

.section-dark {
    background: var(--si-navy);
    color: #fff
}

.section-title {
    font-size: clamp(2.35rem,4.5vw,4.5rem);
    line-height: 1.04;
    margin: .7rem 0 1.5rem
}

.section-lead {
    font-size: 1.15rem;
    color: var(--si-muted);
    max-width: 760px
}

.section-dark .section-lead {
    color: rgba(255,255,255,.65)
}

.pillar-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--si-border);
    border-radius: var(--si-radius);
    background: #fff;
    transition: .25s
}

    .pillar-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--si-shadow);
        border-color: transparent
    }

.pillar-number {
    font-family: Manrope;
    font-size: 4rem;
    line-height: 1;
    color: rgba(21,83,106,.12);
    font-weight: 800
}

.pillar-card h3 {
    font-size: 1.55rem;
    margin: .7rem 0
}

.mini-link {
    color: var(--si-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem
}

.tech-panel {
    border-radius: 1.6rem;
    overflow: hidden;
    position: relative;
    min-height: 560px;
    background: #0b1f2a;
    color: #fff;
    box-shadow: var(--si-shadow)
}

    .tech-panel img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .43
    }

    .tech-panel:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg,rgba(4,18,26,.98),rgba(4,18,26,.15) 78%)
    }

.tech-copy {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.3rem
}

    .tech-copy h3 {
        font-size: 2.4rem
    }

.tag {
    display: inline-block;
    padding: .35rem .65rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .11em;
    margin: .2rem .15rem .2rem 0
}

.image-frame {
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: var(--si-shadow);
    min-height: 520px
}

    .image-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.api-card {
    background: #fff;
    border-radius: var(--si-radius);
    padding: 2.2rem;
    color: var(--si-ink);
    box-shadow: var(--si-shadow)
}

    .api-card img {
        width: 130px;
        height: 170px;
        object-fit: cover;
        border-radius: .6rem
    }

.quote-line {
    border-left: 4px solid var(--si-orange);
    padding-left: 1.3rem;
    font-family: Manrope;
    font-size: 1.35rem
}

.rig-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1rem
}

    .rig-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 1.2rem
    }

    .rig-grid .main {
        grid-row: span 2;
        min-height: 590px
    }

    .rig-grid .side {
        min-height: 285px
    }

.spec {
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--si-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem
}

    .spec strong {
        font-family: Manrope
    }

    .spec span {
        color: var(--si-muted);
        text-align: right
    }

.cta {
    border-radius: 1.7rem;
    padding: clamp(2rem,5vw,5rem);
    background: linear-gradient(125deg,var(--si-blue),var(--si-navy));
    color: #fff;
    position: relative;
    overflow: hidden
}

    .cta:after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        border: 70px solid rgba(243,163,18,.13);
        border-radius: 50%;
        right: -100px;
        top: -160px
    }

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

footer {
    background: #071820;
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem
}

    footer img {
        width: 250px;
        max-width: 100%;
        height: auto;
    }

    footer h5 {
        color: #fff;
        font-size: .82rem;
        letter-spacing: .1em;
        text-transform: uppercase
    }

    footer a {
        color: rgba(255,255,255,.68)
    }

        footer a:hover {
            color: #fff
        }

.hero-asset-card {
    position: relative;
    z-index: 3;
    background: rgba(7, 24, 33, .82);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 70px rgba(0,0,0,.35);
    margin-left: 3rem;
}

.asset-label {
    display: inline-block;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(243,163,18,.15);
    color: var(--si-orange);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 1rem;
}

.hero-asset-card h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-asset-card p {
    max-width: none;
    color: rgba(255,255,255,.82);
    margin-bottom: 1.5rem;
}

.asset-link {
    color: var(--si-orange);
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

    .asset-link:hover {
        color: #ffd16a;
    }

.tech-panel {
    transition: .35s ease;
    cursor: pointer;
}

    .tech-panel:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 70px rgba(0,0,0,.22);
    }

    .tech-panel img {
        transition: .5s ease;
    }

    .tech-panel:hover img {
        transform: scale(1.03);
    }


@media(max-width:991.98px) {
    .navbar-collapse {
        background: rgba(7, 24, 33, 0.97);
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 0.8rem;
    }

    /* =======================================================
       HERO — TABLET E MOBILE
    ======================================================= */

    .hero {
        display: block;
        min-height: auto;
        padding-bottom: 0;
        background-position: center center;
    }

        .hero .content {
            width: 100%;
            padding-top: 8rem;
            padding-bottom: 3rem;
        }

            .hero .content > .row {
                row-gap: 2.5rem;
            }

        .hero h1 {
            max-width: 680px;
            font-size: clamp(3rem, 9vw, 5.2rem);
            line-height: 0.98;
        }

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

    .hero-asset-card {
        width: 100%;
        max-width: 620px;
        margin-top: 0;
        margin-left: 0;
    }

    .hero-stats {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 0;
        background: rgba(4, 18, 26, 0.88);
    }

    .hero-stat {
        padding: 1.25rem 0.75rem;
    }

    .section {
        padding: 5rem 0;
    }

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

        .rig-grid .main {
            grid-row: auto;
            min-height: 430px;
        }

    .lang-switch {
        border: 0;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 575.98px) {

    .hero .content {
        padding-top: 6.5rem;
        padding-bottom: 2rem;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
        line-height: 0.97;
        margin-top: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-asset-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

        .hero-asset-card h3 {
            font-size: 1.75rem;
        }

        .hero-asset-card p {
            font-size: 1rem;
        }

    .hero-stats .row {
        margin: 0;
    }

    .hero-stat {
        padding: 1rem 0.6rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

        .hero-stat strong {
            font-size: 1rem;
        }

        .hero-stat span {
            font-size: 0.65rem;
            line-height: 1.5;
        }

    .btn-si {
        width: 100%;
        text-align: center;
    }

    .tech-panel {
        min-height: 505px;
    }

    .tech-copy {
        padding: 1.55rem;
    }

        .tech-copy h3 {
            max-width: 100%;
            font-size: clamp(1.85rem, 10vw, 2.25rem);
            line-height: 1.05;
            overflow-wrap: anywhere;
        }

        .tech-copy p {
            font-size: 0.95rem;
            line-height: 1.55;
        }

    .tag {
        max-width: 100%;
        font-size: 0.62rem;
        overflow-wrap: anywhere;
    }

    .api-card {
        padding: 1.4rem;
        overflow: hidden;
    }

        .api-card > .d-flex {
            align-items: flex-start !important;
            flex-direction: column;
            gap: 1.25rem !important;
        }

        .api-card > .d-flex > div {
            width: 100%;
            min-width: 0;
        }

        .api-card img {
            width: 112px;
            height: 146px;
            max-width: 100%;
        }

        .api-card h3,
        .api-card p,
        .quote-line {
            max-width: 100%;
            overflow-wrap: anywhere;
        }

    footer {
        padding: 2.5rem 0 1.5rem;
    }

        footer .row {
            row-gap: 1.8rem;
        }

        footer img {
            width: 190px;
            max-width: 80%;
            margin-bottom: 1rem;
        }

        footer p {
            max-width: 320px;
            margin-bottom: 0;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        footer h5 {
            margin-bottom: 0.7rem;
            font-size: 0.75rem;
        }

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

        footer li {
            margin-bottom: 0.3rem;
        }

        footer a {
            font-size: 0.95rem;
        }

        footer .footer-bottom {
            margin-top: 1.8rem;
            padding-top: 1.2rem;
            font-size: 0.85rem;
            line-height: 1.6;
        }

            footer .footer-bottom p {
                margin-bottom: 0.35rem;
            }

        footer .col-lg-4,
        footer .col-md-6,
        footer .col-sm-6 {
            width: 100%;
        }

        footer .footer-description {
            display: none;
        }

}


/* Technical cookie notice */
.cookie-notice {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1080;
    max-width: 760px;
    margin-left: auto;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.35rem;
    background: rgba(12, 18, 28, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    backdrop-filter: blur(14px);
}

.cookie-notice__content {
    flex: 1;
}

.cookie-notice__title {
    display: block;
    margin-bottom: 0.3rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.cookie-notice__description {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    line-height: 1.6;
}

.cookie-notice__button {
    flex: 0 0 auto;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 0.65rem;
    background: #ffffff;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cookie-notice__button:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.cookie-notice__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .cookie-notice {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
    }

    .cookie-notice__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
        padding: 1.1rem;
    }

    .cookie-notice__button {
        width: 100%;
    }
}

/* ============================================================
   ERROR PAGES
   ============================================================ */

.error-page {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 11rem 0 7rem;
    background: var(--si-paper);
}

.error-page__content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.error-page__code {
    display: inline-block;
    margin-bottom: 1rem;
    font-family: Manrope, sans-serif;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--si-accent);
}

.error-page h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    line-height: 1;
}

.error-page p {
    max-width: 650px;
    margin: 0 auto 2rem;
    font-size: 1.15rem;
    color: var(--si-muted);
}


/* Accessibility and performance helpers */
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    color: #071d26;
    background: #ffffff;
    border-radius: 0.35rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.2);
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
