﻿:root {
    --primary: #ff173f;
    --secondary: #2d3540;
    --light: #f5f6f8;
    --dark: #101116;
    --ink: #23252b;
    --muted: #6f7480;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: #ffffff;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.topbar,
.footer {
    background: #0b0c10;
}

.btn {
    transition: .3s;
    font-weight: 700;
}

.btn.btn-primary {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.btn.btn-primary:hover {
    background: #c90d2d;
    border-color: #c90d2d;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar {
    min-height: 112px;
}

.brand-logo {
    width: 260px;
    height: 92px;
    object-fit: contain;
    object-position: left center;
}

.brand-name {
    color: var(--dark);
    font-family: "Roboto Slab", serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #575c66;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}


.navbar .navbar-nav .nav-wms {
    color: #fff;
    background: var(--primary);
    border-radius: 4px;
    padding: 10px 18px;
}

.navbar .navbar-nav .nav-wms:hover {
    color: #fff;
    background: #c90d2d;
}

.language-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 18px;
    padding: 4px;
    border: 1px solid #e2e5ea;
    border-radius: 4px;
    background: #fff;
}

.language-tab {
    min-width: 42px;
    min-height: 34px;
    border: 0;
    border-radius: 3px;
    color: #575c66;
    background: transparent;
    font-weight: 800;
    line-height: 1;
    transition: .2s;
}

.language-tab:hover,
.language-tab.active {
    color: #fff;
    background: var(--primary);
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .navbar-brand,
html[dir="rtl"] .contact-line,
html[dir="rtl"] .capability {
    direction: rtl;
}

html[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .me-2,
html[dir="rtl"] .me-3,
html[dir="rtl"] .me-4 {
    margin-right: 0 !important;
    margin-left: .5rem !important;
}

html[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
}

html[dir="rtl"] .me-4 {
    margin-left: 1.5rem !important;
}

html[dir="rtl"] .image-frame img,
html[dir="rtl"] .brand-logo,
html[dir="rtl"] .footer-logo {
    object-position: right center;
}
.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--dark);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 8, 11, .94) 0%, rgba(8, 8, 11, .78) 45%, rgba(8, 8, 11, .34) 100%),
        linear-gradient(0deg, rgba(255, 23, 63, .28), rgba(255, 23, 63, 0) 48%);
}

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

.min-vh-85 {
    min-height: 720px;
}

.section-kicker {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #15161c;
    box-shadow: 0 22px 60px rgba(16, 17, 22, .16);
}

.image-frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: var(--primary);
}

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

.fact-box,
.metric {
    height: 100%;
    padding: 24px;
    background: var(--light);
    border-left: 4px solid var(--primary);
}

.fact-box i {
    display: block;
    color: var(--primary);
    font-size: 34px;
    margin-bottom: 16px;
}

.fact-box strong,
.metric strong {
    display: block;
    color: var(--dark);
    font-family: "Roboto Slab", serif;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.fact-box span,
.metric span,
.capability p {
    color: var(--muted);
}

.product-band {
    background:
        linear-gradient(135deg, rgba(16, 17, 22, .98), rgba(45, 53, 64, .96)),
        radial-gradient(circle at top right, rgba(255, 23, 63, .32), transparent 34%);
}

.product-card {
    height: 100%;
    min-height: 270px;
    padding: 32px 28px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    color: #fff;
}

.product-card i {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 24px;
}

.product-card h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.product-card p {
    color: rgba(255, 255, 255, .72);
    margin-bottom: 0;
}

.capability {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.capability i {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    font-size: 22px;
}

.metric {
    text-align: center;
    border-left: 0;
    border-bottom: 4px solid var(--primary);
}

.metric strong {
    color: var(--primary);
    font-size: 2rem;
}

.facade-section {
    background: linear-gradient(180deg, #fff, #f7f8fa);
}

.facade-frame img {
    height: 520px;
    object-position: center;
}

.contact-line-dark {
    color: var(--ink);
}

.contact-line-dark span {
    color: var(--muted);
}

.contact-band {
    background:
        linear-gradient(90deg, rgba(10, 11, 15, .98), rgba(26, 29, 36, .92)),
        url("../img/priorita-hero.png") center/cover;
}

.contact-line {
    display: flex;
    gap: 16px;
    align-items: center;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 18px;
}

.contact-line i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
}

.contact-panel {
    height: 100%;
    padding: 34px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.contact-panel .form-control {
    min-height: 54px;
    border-color: #dde1e7;
    border-radius: 4px;
}

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


.form-status {
    min-height: 24px;
    color: var(--muted);
    font-weight: 600;
}

.form-status.success {
    color: #198754;
}

.form-status.error {
    color: var(--primary);
}
.footer {
    color: #a5abb6;
}

.footer-logo {
    width: 230px;
    max-width: 100%;
    height: 70px;
    object-fit: contain;
    object-position: left center;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer .copyright a {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 88px;
    }

    .brand-logo {
        width: 190px;
        height: 68px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .navbar .navbar-nav {
        margin-top: 18px;
        margin-bottom: 15px;
    }

    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding-left: 16px;
    }

    .language-tabs {
        margin-left: 16px;
        margin-top: 10px;
        width: max-content;
    }

    .hero-section,
    .min-vh-85 {
        min-height: 620px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(8, 8, 11, .92), rgba(8, 8, 11, .72));
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2.45rem;
    }

    .display-6 {
        font-size: 1.85rem;
    }

    .hero-section,
    .min-vh-85 {
        min-height: 660px;
    }

    .image-frame img {
        height: 300px;
    }

    .facade-frame img {
        height: 340px;
    }

    .contact-panel {
        padding: 24px;
    }

    .brand-logo {
        width: 158px;
    }
}




