:root {
    --brand-blue: #006eb8;
    --brand-blue-dark: #07385f;
    --brand-red: #ed1e24;
    --brand-red-dark: #ba171c;
    --ink: #172434;
    --muted: #617181;
    --line: #dce7ef;
    --surface: #f5f9fc;
    --surface-strong: #e8f4f6;
    --white: #ffffff;
    --shadow: 0 20px 54px rgba(7, 56, 95, 0.14);
    --shadow-soft: 0 12px 30px rgba(7, 56, 95, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

img,
video {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    padding: 10px 14px;
    color: var(--white);
    background: var(--brand-blue-dark);
    transform: translateY(-140%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(10, 34, 57, 0.08);
}

.topbar {
    color: var(--white);
    background: linear-gradient(90deg, var(--brand-red), var(--brand-red-dark));
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
}

.topbar__link:hover,
.topbar__link:focus {
    color: var(--white);
    opacity: 0.86;
}

.brand img {
    width: 245px;
    height: auto;
}

.navbar {
    min-height: 82px;
}

.navbar .nav-link {
    color: #25364a;
    font-size: 15px;
    font-weight: 800;
    border-radius: 6px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--brand-red);
    background: rgba(237, 30, 36, 0.08);
}

.dropdown-menu {
    --bs-dropdown-border-color: var(--line);
    --bs-dropdown-border-radius: 8px;
    --bs-dropdown-padding-y: 8px;
    min-width: 280px;
}

.dropdown-item {
    min-height: 40px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--brand-red);
    background: rgba(237, 30, 36, 0.08);
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--white);
    background: var(--brand-blue);
}

.icon-btn:hover,
.icon-btn:focus {
    color: var(--white);
    background: var(--brand-red);
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.btn-brand-primary {
    color: var(--white);
    border-color: var(--brand-red);
    background: var(--brand-red);
}

.btn-brand-primary:hover,
.btn-brand-primary:focus {
    color: var(--white);
    border-color: var(--brand-red-dark);
    background: var(--brand-red-dark);
}

.btn-brand-light {
    color: var(--brand-blue-dark);
    border-color: var(--white);
    background: var(--white);
}

.btn-brand-light:hover,
.btn-brand-light:focus {
    color: var(--brand-red);
    border-color: var(--white);
    background: var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--brand-blue-dark);
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--surface);
}

.section-dark {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(7, 56, 95, 0.96), rgba(0, 110, 184, 0.9)),
        url("../images/hero/hero-banner.jpg") center / cover;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading h2,
.section-title {
    margin: 0;
    color: var(--brand-blue-dark);
    font-size: 40px;
    line-height: 1.16;
    letter-spacing: 0;
    font-weight: 900;
}

.section-dark .section-heading h2,
.section-dark .section-heading p,
.section-dark .section-title {
    color: var(--white);
}

.section-heading p,
.lead-copy {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.card {
    border-color: var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.card-title,
.service-card h3,
.product-card h3,
.project-card h3 {
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.hero-home {
    position: relative;
    min-height: 680px;
    color: var(--white);
    overflow: hidden;
    background: var(--brand-blue-dark) var(--hero-bg, url("../images/hero/hero-banner.jpg")) center / cover no-repeat;
}

.hero-home .carousel,
.hero-home .carousel-inner,
.hero-home .carousel-item {
    position: absolute;
    inset: 0;
}

.hero-home .carousel {
    z-index: 0;
}

.hero-home .carousel-item {
    background-size: cover;
    background-position: center;
}

.hero-home__overlay,
.page-hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 24, 44, 0.92) 0%, rgba(5, 24, 44, 0.72) 48%, rgba(5, 24, 44, 0.28) 100%),
        linear-gradient(180deg, rgba(0, 110, 184, 0.16), rgba(237, 30, 36, 0.14));
}

.hero-home__content {
    position: relative;
    z-index: 3;
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

.hero-home-simple .hero-home__content {
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-home-simple .row {
    width: 100%;
}

.hero-home h1,
.page-hero h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 900;
}

.hero-home__kicker {
    color: var(--white);
}

.hero-home__kicker::before {
    background: var(--white);
}

.hero-home-simple .hero-home__overlay {
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 110, 184, 0.12), rgba(5, 24, 44, 0) 44%),
        linear-gradient(180deg, rgba(5, 24, 44, 0.34) 0%, rgba(5, 24, 44, 0.46) 56%, rgba(5, 24, 44, 0.62) 100%),
        linear-gradient(90deg, rgba(237, 30, 36, 0.10), rgba(0, 110, 184, 0.16));
}

.hero-home-simple h1 {
    max-width: 760px;
}

.hero-home__tagline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 0;
    color: var(--white);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero-home__tagline::before {
    content: "";
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: var(--white);
}

.hero-metrics {
    width: min(100%, 1020px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.hero-metric {
    height: 100%;
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics .col:last-child .hero-metric {
    border-right: 0;
}

.hero-metric i {
    color: var(--white);
    font-size: 24px;
}

.hero-metric strong,
.hero-metric span {
    display: block;
}

.hero-metric strong {
    color: var(--white);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}

.hero-metric span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 800;
}

.hero-fact {
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
}

.hero-fact strong {
    display: block;
    font-size: 24px;
    line-height: 1.2;
}

.hero-fact p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.mini-stat {
    height: 100%;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.mini-stat strong {
    display: block;
    color: var(--brand-red);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.mini-stat span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 800;
}

.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: end;
    padding: 92px 0 72px;
    color: var(--white);
    background: var(--brand-blue-dark) var(--hero-image) center / cover;
    overflow: hidden;
}

.page-hero::before {
    background:
        linear-gradient(90deg, rgba(5, 24, 44, 0.74) 0%, rgba(5, 24, 44, 0.52) 54%, rgba(5, 24, 44, 0.20) 100%),
        linear-gradient(180deg, rgba(0, 110, 184, 0.10), rgba(237, 30, 36, 0.10));
}

.page-hero > .container {
    z-index: 2;
}

.page-hero h1 {
    font-size: 48px;
}

.page-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.media-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--surface);
}

.media-card img,
.media-card video {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.floating-note {
    position: absolute;
    right: 22px;
    bottom: 22px;
    max-width: 330px;
    padding: 18px;
    border-left: 4px solid var(--brand-red);
    color: var(--white);
    background: rgba(7, 56, 95, 0.94);
}

.floating-note strong,
.floating-note span {
    display: block;
}

.floating-note span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.service-card {
    height: 100%;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 116px;
    height: 4px;
    background: var(--brand-red);
}

.icon-ring {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 110, 184, 0.18);
    border-radius: 50%;
    color: var(--brand-blue);
    background: var(--surface-strong);
    font-size: 24px;
}

.icon-ring-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.14);
}

.service-row {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.service-row__media img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.service-row__body {
    padding: 36px;
}

.service-row__body h3 {
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.service-row__body p {
    color: var(--muted);
}

.trust-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.trust-accordion .accordion-button {
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.logo-showcase {
    position: relative;
    overflow: hidden;
    padding: 24px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.logo-showcase::before,
.logo-showcase::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 72px;
    pointer-events: none;
}

.logo-showcase::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-showcase::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: logoSlide 38s linear infinite;
}

.logo-showcase:hover .logo-track {
    animation-play-state: paused;
}

.logo-track figure,
.client-wall figure {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 96px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.logo-track img,
.client-wall img {
    max-height: 58px;
    object-fit: contain;
}

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

.client-wall figure {
    min-width: 0;
    width: 100%;
}

.value-card {
    height: 100%;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
}

.value-card h3,
.value-card p {
    color: var(--white);
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
}

.work-step {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.work-step img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.work-step__content {
    padding: 36px;
}

.step-number {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--brand-red);
    font-weight: 900;
}

.product-card {
    overflow: hidden;
    border-color: rgba(0, 110, 184, 0.12);
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: 0 10px 30px rgba(7, 56, 95, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 110, 184, 0.22);
}

.product-card__media {
    position: relative;
    display: block;
    height: 270px;
    overflow: hidden;
}

.product-card__media img,
.project-card__media img,
.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.product-card:hover .product-card__media img,
.project-card:hover .project-card__media img,
.blog-card:hover .blog-card__media img {
    transform: scale(1.04);
}

.product-card__badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 8px;
    color: var(--white);
    background: rgba(5, 24, 44, 0.76);
    box-shadow: 0 12px 24px rgba(5, 24, 44, 0.2);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 900;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.product-card__body h3 {
    margin: 0;
}

.product-card__body p {
    margin: 0;
    color: var(--muted);
}

.product-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.product-card__chips span {
    padding: 7px 10px;
    border: 1px solid rgba(0, 110, 184, 0.12);
    border-radius: 999px;
    color: var(--brand-blue-dark);
    background: rgba(0, 110, 184, 0.07);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

.product-card__footer {
    padding: 0 24px 24px;
}

.product-detail-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-browse-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f5f9fc 45%, #ffffff 100%),
        linear-gradient(90deg, rgba(237, 30, 36, 0.035), rgba(0, 110, 184, 0.05));
}

.product-range-panel {
    padding: 34px;
    border: 1px solid rgba(0, 110, 184, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 246, 0.82)),
        url("../images/hero/hero-showcase.png") right center / auto 100% no-repeat;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.product-category-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-stat-tile {
    min-height: 116px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(0, 110, 184, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(7, 56, 95, 0.07);
}

.product-stat-tile span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-stat-tile strong {
    color: var(--brand-blue-dark);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.product-stat-tile-featured {
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
}

.product-stat-tile-featured span,
.product-stat-tile-featured strong {
    color: var(--white);
}

.product-guide-card {
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(0, 110, 184, 0.12);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(7, 56, 95, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 110, 184, 0.22);
    box-shadow: var(--shadow-soft);
}

.product-guide-card h3 {
    margin: 18px 0 8px;
    font-size: 20px;
    font-weight: 900;
}

.product-guide-card p {
    margin: 0;
    color: var(--muted);
}

.product-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.product-filter-row .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 900;
}

.product-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.product-toolbar p {
    color: var(--muted);
    font-weight: 800;
}

.product-search {
    position: relative;
    width: min(100%, 380px);
}

.product-search i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: var(--brand-blue);
    transform: translateY(-50%);
}

.product-search .form-control {
    min-height: 48px;
    padding-left: 44px;
    border-color: rgba(0, 110, 184, 0.18);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(7, 56, 95, 0.06);
    font-weight: 800;
}

.product-search .form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(0, 110, 184, 0.12);
}

.product-empty-state {
    text-align: center;
}

[data-product-category].is-hidden {
    display: none !important;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 12px;
    color: var(--muted);
}

.check-list i {
    margin-top: 5px;
    color: var(--brand-red);
}

.quote-form {
    padding: 26px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.jotform-embed {
    padding: 12px;
    overflow: hidden;
}

.jotform-embed iframe {
    display: block;
    width: 100%;
    border-radius: 6px;
    background: var(--white);
}

.quote-form h3 {
    margin: 0 0 18px;
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.form-feedback {
    margin: 0;
    padding: 12px 14px;
    border-left: 4px solid var(--brand-red);
    border-radius: 6px;
    color: var(--brand-blue-dark);
    background: var(--surface);
    font-weight: 800;
}

.form-control {
    min-height: 48px;
    border-color: var(--line);
    border-radius: 6px;
}

.form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 110, 184, 0.12);
}

.project-card {
    overflow: hidden;
}

.project-card__media {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--surface);
}

.project-card__media img {
    object-fit: contain;
}

.gallery-card {
    display: block;
    overflow: hidden;
    height: 310px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

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

.video-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #111;
}

.blog-card {
    overflow: hidden;
}

.blog-card__media {
    display: block;
    height: 230px;
    overflow: hidden;
}

.blog-card h3 a,
.product-card h3 a,
.result-item h2 a,
.read-more {
    color: var(--brand-blue-dark);
}

.blog-card h3 a:hover,
.product-card h3 a:hover,
.result-item h2 a:hover,
.read-more:hover {
    color: var(--brand-red);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-weight: 900;
}

.article-hero-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.article-content {
    color: var(--muted);
    font-size: 17px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 34px 0 12px;
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content a {
    color: var(--brand-red);
    font-weight: 800;
}

.sticky-sidebar {
    position: sticky;
    top: 130px;
}

.related-posts,
.empty-state,
.result-item {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.related-posts h3 {
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.related-link {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    color: var(--brand-blue-dark);
    border-top: 1px solid var(--line);
    font-weight: 800;
}

.related-link:hover,
.related-link:focus {
    color: var(--brand-red);
}

.related-link img {
    width: 76px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
}

.empty-state {
    max-width: 680px;
    margin: 0 auto;
}

.empty-state p,
.result-item p {
    margin-bottom: 0;
    color: var(--muted);
}

.results-list {
    display: grid;
    gap: 18px;
}

.contact-card {
    height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.contact-card i {
    color: var(--brand-red);
    font-size: 25px;
}

.contact-card h2 {
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.contact-card a {
    color: var(--brand-blue-dark);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.contact-card a:hover,
.contact-card a:focus {
    color: var(--brand-red);
}

.timeline {
    position: relative;
    display: grid;
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 70px;
    width: 3px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 22px;
    align-items: start;
}

.timeline-year {
    position: relative;
    z-index: 1;
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--white);
    background: var(--brand-red);
    font-size: 20px;
    font-weight: 900;
}

.timeline-content {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.timeline-content h3 {
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.timeline-content p {
    margin: 0;
    color: var(--muted);
}

.studio-tabs {
    gap: 12px;
}

.studio-tabs .nav-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--brand-blue-dark);
    font-weight: 900;
}

.studio-tabs .nav-link.active {
    border-color: var(--brand-red);
    background: var(--brand-red);
}

.search-form {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.cta-band {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(237, 30, 36, 0.92), rgba(0, 110, 184, 0.92)),
        url("../images/hero/hero-upvc-windows.jpg") center / cover;
}

.cta-band h2 {
    margin: 0;
    color: var(--white);
    font-size: 38px;
    line-height: 1.15;
    font-weight: 900;
}

.cta-band p {
    max-width: 760px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.map-frame {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.site-footer {
    color: var(--white);
    background: #0a1724;
}

.footer-cta {
    padding: 38px 0;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-dark));
}

.footer-cta h2 {
    margin: 0;
    color: var(--white);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.18;
}

.footer-cta .d-flex {
    flex-wrap: wrap;
}

.footer-cta .btn-brand-light {
    min-width: 310px;
}

.footer-cta .btn-footer-mail {
    min-width: 292px;
}

.footer-main {
    padding: 34px 0;
}

.footer-brand img {
    width: 220px;
    padding: 8px;
    border-radius: 6px;
    background: var(--white);
}

.footer-brand p,
.footer-social p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-social {
    text-align: right;
}

.footer-social ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social ul a,
.back-to-top {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.footer-social ul a:hover,
.footer-social ul a:focus,
.back-to-top:hover,
.back-to-top:focus {
    color: var(--white);
    background: var(--brand-red);
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;
    background: var(--brand-red);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@keyframes logoSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

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

@media (min-width: 1200px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .product-range-panel {
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 246, 0.88)),
            url("../images/hero/hero-showcase.png") right bottom / 420px auto no-repeat;
    }

    .product-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .product-search {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .brand img {
        width: 210px;
    }

    .navbar-collapse {
        padding: 18px 0;
    }

    .navbar .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-home h1 {
        font-size: 46px;
    }

    .client-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .brand img {
        width: 174px;
    }

    .hero-home,
    .hero-home__content {
        min-height: 610px;
    }

    .hero-home__content {
        padding: 70px 0;
    }

    .hero-home-simple .hero-home__content {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .hero-home h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .hero-home__tagline {
        font-size: 18px;
    }

    .section {
        padding: 64px 0;
    }

    .section-heading h2,
    .section-title {
        font-size: 30px;
    }

    .product-range-panel,
    .product-guide-card,
    .product-card__body {
        padding: 22px;
    }

    .product-card__footer {
        padding: 0 22px 22px;
    }

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

    .product-card__media {
        height: 238px;
    }

    .hero-metric {
        min-height: 106px;
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .hero-metrics .col:nth-child(2n) .hero-metric {
        border-right: 0;
    }

    .hero-metrics .col:nth-last-child(-n + 2) .hero-metric {
        border-bottom: 0;
    }

    .service-card,
    .value-card,
    .service-row__body,
    .work-step__content,
    .quote-form,
    .contact-card {
        padding: 22px;
    }

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

    .timeline::before {
        left: 24px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 52px;
    }

    .timeline-year {
        width: max-content;
        min-width: 96px;
    }

    .cta-band h2 {
        font-size: 30px;
    }

    .footer-social {
        text-align: left;
    }

    .footer-social ul {
        justify-content: flex-start;
    }

    .footer-cta .btn-brand-light,
    .footer-cta .btn-footer-mail {
        width: 100%;
        min-width: 0;
    }
}

/* Modern interaction and WOW refinements */
::selection {
    color: var(--white);
    background: var(--brand-red);
}

body {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.wow {
    visibility: hidden;
}

.animate__animated {
    visibility: visible;
}

.site-header {
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(7, 56, 95, 0.16);
    backdrop-filter: blur(12px);
}

.site-header.is-scrolled .navbar {
    min-height: 72px;
}

.topbar {
    background: linear-gradient(90deg, #af171b 0%, var(--brand-red) 48%, #0b6faf 100%);
}

.navbar {
    transition: min-height 180ms ease;
}

.navbar .nav-link {
    padding: 10px 12px;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    transform: translateY(-1px);
}

.navbar-toggler {
    min-width: 50px;
    min-height: 46px;
    border-color: var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.dropdown-menu {
    padding: 10px;
    box-shadow: 0 18px 40px rgba(7, 56, 95, 0.14) !important;
}

.icon-btn,
.btn {
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.icon-btn:hover,
.icon-btn:focus,
.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(7, 56, 95, 0.16);
}

.icon-btn-whatsapp {
    background: #1f9d61;
}

.icon-btn-whatsapp:hover,
.icon-btn-whatsapp:focus {
    background: #167b4b;
}

.section {
    position: relative;
}

.section-soft {
    background:
        linear-gradient(180deg, rgba(245, 249, 252, 0.96), rgba(236, 246, 249, 0.9)),
        linear-gradient(90deg, rgba(237, 30, 36, 0.035), rgba(0, 110, 184, 0.045));
}

.section-heading h2,
.section-title {
    text-wrap: balance;
}

.hero-home::after,
.page-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.hero-home .carousel-item {
    transform: scale(1.04);
}

.hero-home .carousel-item.active {
    animation: heroDrift 7s ease-out both;
}

.hero-home h1 {
    max-width: 780px;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.hero-home .lead {
    max-width: 740px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-trust-row span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 900;
}

.hero-showcase-card {
    position: relative;
    overflow: hidden;
    max-width: 520px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

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

.hero-showcase-card__body {
    padding: 24px;
}

.hero-showcase-card__body > span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-showcase-card__body h2 {
    margin: 10px 0 0;
    color: var(--white);
    font-size: 26px;
    line-height: 1.18;
    font-weight: 900;
    text-wrap: balance;
}

.hero-showcase-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.showcase-stat {
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.showcase-stat:last-child {
    border-right: 0;
}

.showcase-stat strong,
.showcase-stat span {
    display: block;
}

.showcase-stat strong {
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.showcase-stat span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 800;
}

.read-more-light {
    color: var(--white);
}

.read-more-light:hover,
.read-more-light:focus {
    color: var(--white);
}

.hero-fact {
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-fact::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

.hero-fact:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.2);
}

.media-card,
.service-card,
.product-card,
.project-card,
.blog-card,
.quote-form,
.contact-card,
.value-card,
.work-step,
.result-item,
.related-posts,
.empty-state {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.media-card:hover,
.service-card:hover,
.project-card:hover,
.blog-card:hover,
.contact-card:hover,
.work-step:hover,
.result-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 110, 184, 0.22);
    box-shadow: var(--shadow);
}

.media-card img {
    transition: transform 260ms ease, filter 260ms ease;
}

.media-card:hover img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.03);
}

.card,
.quote-form,
.contact-card,
.timeline-content,
.related-posts,
.empty-state,
.result-item {
    background: rgba(255, 255, 255, 0.94);
}

.service-card {
    background:
        linear-gradient(180deg, #ffffff, #fbfdff);
}

.service-card::before,
.product-card::before,
.blog-card::before,
.project-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
    opacity: 0;
    transition: opacity 180ms ease;
}

.service-card:hover::before,
.product-card:hover::before,
.blog-card:hover::before,
.project-card:hover::before,
.contact-card:hover::before {
    opacity: 1;
}

.product-card,
.blog-card,
.project-card,
.contact-card {
    position: relative;
}

.badge.text-bg-light {
    color: var(--brand-blue-dark) !important;
    border: 1px solid rgba(0, 110, 184, 0.12);
    background: var(--surface-strong) !important;
}

.read-more i,
.btn i,
.icon-btn i {
    transition: transform 160ms ease;
}

.read-more:hover i,
.btn:hover i,
.icon-btn:hover i {
    transform: translateX(2px);
}

.quote-form {
    border: 1px solid rgba(0, 110, 184, 0.14);
}

.form-control {
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-control:hover {
    background: #fbfdff;
}

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 78px;
    z-index: 101;
    display: grid;
    gap: 10px;
}

.floating-contact a {
    min-width: 128px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(7, 56, 95, 0.94);
    box-shadow: 0 14px 28px rgba(7, 56, 95, 0.2);
    font-size: 14px;
    font-weight: 900;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.floating-contact a:first-child {
    background: #1f9d61;
}

.floating-contact a:hover,
.floating-contact a:focus {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(7, 56, 95, 0.26);
}

.floating-contact a:first-child:hover,
.floating-contact a:first-child:focus {
    background: #167b4b;
}

.floating-contact a:last-child:hover,
.floating-contact a:last-child:focus {
    background: var(--brand-red);
}

@keyframes heroDrift {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wow {
        visibility: visible !important;
    }
}

@media (max-width: 767px) {
    .hero-home h1,
    .page-hero h1 {
        text-wrap: balance;
    }

    .hero-showcase-card {
        margin-right: auto;
    }

    .hero-showcase-card img {
        height: 220px;
    }

    .hero-showcase-card__stats {
        grid-template-columns: 1fr;
    }

    .showcase-stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .showcase-stat:last-child {
        border-bottom: 0;
    }

    .floating-contact {
        right: 72px;
        bottom: 14px;
        left: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-contact a {
        min-width: 0;
        min-height: 42px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}
