:root {
    --charcoal: #0d1117;
    --charcoal-2: #101820;
    --charcoal-3: #16212a;
    --blue: #0b63d8;
    --blue-dark: #084ebd;
    --blue-soft: rgba(11, 99, 216, 0.16);
    --steel: #7d8ca6;
    --white: #f8fafc;
    --cloud: #0f172a;
    --cloud-2: #161f2d;
    --ink: #e5eaf2;
    --muted: #9aa8ba;
    --line: rgba(138, 156, 180, 0.28);
    --glass: rgba(8, 16, 30, 0.72);
    --accent: #d92b2b;
    --danger: #d92b2b;
    --shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.14);
    --radius: 10px;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cloud);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

select option {
    background-color: var(--cloud);
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

h1 {
    max-width: 980px;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 3rem;
    line-height: 1;
}

h2 {
    margin-bottom: 18px;
    font-size: 2.2rem;
    line-height: 1.08;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.22;
}

p {
    color: var(--muted);
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.44);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 1000;
    transform: translateY(-140%);
    padding: 10px 14px;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 180ms ease;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    color: var(--white);
    background: rgba(17, 24, 39, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.nav-shell,
.section-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.nav-shell {
    height: 100%;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 900;
}

.brand__mark {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 38px;
    flex: 0 0 auto;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), #410e10);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    line-height: 1;
}

.brand__name {
    color: var(--white);
    white-space: nowrap;
}

.site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 16px 18px 24px;
    background: rgba(17, 24, 39, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
}

.site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.site-nav a {
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.96rem;
    font-weight: 800;
    transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--white);
}

.nav-cta {
    display: none;
    justify-self: end;
    padding: 10px 16px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    font-weight: 900;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-1px);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-cta ~ image {
    filter: brightness(50%);
    margin-right: 8px; /* Adds space between the icon and text */
    width: 20px; /* Adjust size to fit your needs */
}

.footer-cta:hover ~ image {
    filter: brightness(100%);
}

.nav-toggle {
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
}

.nav-toggle {
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.section {
    padding: 76px 0;
}

.section--cool {
    background: var(--cloud-2);
}

.section--dark {
    color: var(--white);
    background:
        radial-gradient(circle at 18% 0%, rgba(11, 99, 216, 0.22), transparent 28%),
        linear-gradient(135deg, var(--charcoal), var(--charcoal-2));
}

.section--dark p,
.section--dark .section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading p {
    margin-bottom: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.section--dark .eyebrow,
.contact-band .eyebrow {
    color: rgba(11, 99, 216, 0.82);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--charcoal);
}

.hero__image,
.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    z-index: 0;
    object-fit: cover;
}

.hero__overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.78) 55%, rgba(17, 24, 39, 0.38) 100%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.92));
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 92px 0 52px;
}

.hero__subtitle {
    max-width: 760px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.hero__actions,
.contact-actions,
.cta-actions,
.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 900;
    line-height: 1;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.button--primary {
    color: var(--white);
    background: var(--blue);
}

.button--primary:hover {
    background: var(--blue-dark);
}

.button--secondary {
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--line);
}

.button--secondary:hover {
    background: #101820;
}

.button--ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
}

.button--danger {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.button--danger:hover {
    background: #b62222;
}

.button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.52);
}

.button--emergency {
    color: var(--white);
    background: var(--charcoal);
    border-color: rgba(255, 255, 255, 0.24);
}

.button--emergency:hover {
    background: #020617;
    border-color: rgba(255, 255, 255, 0.44);
}

.hero-metrics {
    width: min(900px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    margin-top: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.hero-metrics div {
    padding: 18px;
    background: rgba(17, 24, 39, 0.64);
}

.hero-metrics strong {
    display: block;
    color: var(--white);
    font-size: 1.55rem;
    line-height: 1;
}

.hero-metrics span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    font-weight: 800;
}

.split-layout {
    display: grid;
    gap: 34px;
}

.split-layout--media {
    align-items: center;
}

.section-copy p {
    font-size: 1rem;
}

.text-link,
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 900;
}

.text-link::after,
.card-link::after {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    clip-path: polygon(35% 20%, 78% 50%, 35% 80%, 35% 60%, 0 60%, 0 40%, 35% 40%);
    transition: transform 180ms ease;
}

.text-link:hover::after,
.card-link:hover::after {
    transform: translateX(3px);
}

.industrial-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: var(--shadow-soft);
}

.panel-stat {
    min-height: 132px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(11, 99, 216, 0.08), transparent), var(--blue);
}

.panel-stat span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.panel-stat strong {
    display: block;
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.2;
}

.service-grid,
.stats-grid,
.reference-grid,
.value-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card,
.reference-card,
.value-card,
.detail-card,
.service-aside,
.product-card,
.catalog-card,
.product-info,
.milestone-panel {
    background: #131a26;
    border: 1px solid rgba(138, 156, 180, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.service-card,
.reference-card,
.value-card {
    min-height: 220px;
    padding: 24px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.reference-card:hover,
.value-card:hover,
.product-card:hover,
.catalog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: var(--shadow);
}

.service-card p,
.reference-card p,
.value-card p,
.product-card p,
.catalog-card p {
    color: var(--muted);
}

.service-card .card-link {
    margin-top: 14px;
}

.icon-box {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--blue);
    background: var(--blue-soft);
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-radius: var(--radius);
}

.icon-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.products-preview {
    overflow: hidden;
    background: #131a26;
}

.carousel-shell {
    width: min(1240px, calc(100% - 20px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
}

.product-carousel {
    display: grid;
    grid-auto-columns: minmax(280px, 360px);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 4px 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.carousel-control {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.carousel-control svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-card {
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card img,
.catalog-card img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    background: var(--charcoal);
}

.product-card div,
.catalog-card div {
    padding: 20px;
    color: var(--white);
}

.product-card span,
.catalog-card span,
.reference-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.animated-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    background: #131a26;
    border: 1px solid rgba(138, 156, 180, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.animated-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: var(--shadow);
}

.animated-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.5));
    opacity: 0;
    transition: opacity 220ms ease;
}

.animated-card:hover::before {
    opacity: 1;
}

.animated-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.animated-card .info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 90%);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 220ms ease;
    padding: 22px;
}

.animated-card:hover .info {
    transform: translateY(0);
}

.animated-card .info h1 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    line-height: 1.2;
}

.animated-card .info .row1,
.animated-card .info .row2 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.animated-card .info p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    flex: 1 1 calc(50% - 12px);
}

.animated-card .info .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.animated-card .info .btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.related-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--charcoal);
}

.related-link {
    display: grid;
    gap: 12px;
    padding: 16px;
    color: inherit;
}

.related-link span {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.related-link h4 {
    margin: 0;
    font-size: 1rem;
}

.related-link p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.product-cta {
    margin-top: 18px;
}

.stats-grid {
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.14);
}

.stat-card {
    min-height: 132px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.stat-card strong {
    display: block;
    color: var(--white);
    font-size: 1.7rem;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.map-card {
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    background: var(--charcoal);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: grayscale(0.25) contrast(1.05);
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.area-list span {
    padding: 10px 13px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.contact-band,
.contact-page-section {
    color: var(--white);
    background:
        linear-gradient(rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.9)),
        url("https://unsplash.com/photos/u6HSiTBH6fU/download?force=true&w=1600") center/cover;
}

.contact-page-section {
    background:
        radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.22), transparent 28%),
        var(--charcoal);
}

.contact-grid {
    display: grid;
    gap: 30px;
    align-items: start;
}

.contact-callout p,
.contact-details p {
    color: rgba(255, 255, 255, 0.74);
}

.contact-methods {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.contact-methods a {
    display: inline-flex;
    width: fit-content;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 900;
}

.response-panel {
    width: min(440px, 100%);
    margin-top: 26px;
    padding: 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
}

.response-panel span,
.response-panel small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.response-panel strong {
    display: block;
    margin: 4px 0;
    font-size: 1.45rem;
    line-height: 1.1;
}

.response-panel--form {
    width: 100%;
    margin: 0;
    background: var(--charcoal);
}

.service-form {
    display: grid;
    gap: 14px;
    padding: 22px;
    color: var(--ink);
    background: rgb(15 20 27);    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-form label {
    display: grid;
    gap: 6px;
    color: #006dff;
    font-size: 0.88rem;
    font-weight: 900;
}

.service-form input,
.service-form select,
.service-form textarea,
.service-form ul {
    width: 100%;
    min-height: 46px;
    padding: 12px;
    color: var(--ink);
    background: #2f528042;
    border: 1px solid #d9e0ea;
    border-radius: var(--radius);
}

.service-form ul {
    margin: 0;
}

.service-form textarea {
    resize: vertical;
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--blue);
    font-weight: 900;
}

.form-status a {
    text-decoration: underline;
}

.page-hero {
    position: relative;
    padding: 84px 0 72px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68)),
        url("https://unsplash.com/photos/jQl7c6xtKpU/download?force=true&w=1800") center/cover;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.6), transparent);
}

.page-hero h1 {
    font-size: 2.7rem;
}

.contact {
    gap: 5px;
}

img[src*="phone-call.webp"] {
  filter: brightness(0) invert(1);
  width: 15px;
  height: auto;
  gap: 5px;
}


.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.page-hero--products {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.72)),
        url("https://unsplash.com/photos/H9iqfHWSUXA/download?force=true&w=1800") center/cover;
}

.page-hero--about {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.68)),
        url("https://unsplash.com/photos/5p8SUWuCZ2U/download?force=true&w=1800") center/cover;
}

.page-hero--contact {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.7)),
        url("https://unsplash.com/photos/u6HSiTBH6fU/download?force=true&w=1800") center/cover;
}

.breadcrumb {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.breadcrumb a {
    color: var(--white);
    font-weight: 900;
}

.service-detail {
    background: var(--cloud-2);
}

.service-detail-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

.service-panel {
    min-width: 0;
}

.service-panel__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.detail-card {
    padding: 22px;
    box-shadow: none;
}

.detail-card ul,
.service-aside ul,
.service-section-card ul,
.feature-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.detail-card li,
.service-aside li,
.service-section-card li,
.feature-list li {
    margin: 7px 0;
}

.service-aside {
    padding: 24px;
}

.service-aside .button {
    width: 100%;
    margin-top: 14px;
}

.service-section-grid {
    display: grid;
    gap: 18px;
}

.service-section-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    background: #020617;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.service-section-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.service-section-card div {
    padding: 24px;
}

.service-section-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-weight: 900;
}

.service-section-card .card-link {
    margin-top: 16px;
}

.cta-split {
    display: grid;
    gap: 24px;
    align-items: center;
}

.cta-split h2,
.emergency-strip h2 {
    color: var(--white);
}

.cta-split p,
.emergency-strip p {
    max-width: 720px;
}

.media-panel {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--charcoal);
    box-shadow: var(--shadow);
}

.media-panel img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.media-panel__badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: min(280px, calc(100% - 36px));
    padding: 18px;
    color: var(--white);
    background: rgba(17, 24, 39, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
}

.media-panel__badge strong,
.media-panel__badge span {
    display: block;
}

.media-panel__badge strong {
    font-size: 1.35rem;
    line-height: 1;
}

.media-panel__badge span {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.team-grid {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.team-grid div {
    padding: 18px;
    background: var(--blue-dark);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.team-grid span {
    display: block;
    color: var(--charcoal);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.team-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
}

.milestone-panel {
    padding: 24px;
}

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

.timeline li {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.timeline span {
    color: var(--blue);
    font-weight: 900;
}

.timeline p {
    margin: 0;
}

.catalog-toolbar {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.search-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--cloud);
    border: 1px solid #d9e0ea;
    border-radius: var(--radius);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tabs button {
    min-height: 42px;
    padding: 10px 13px;
    color: var(--ink);
    background: var(--cloud);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 900;
}

.filter-tabs button.is-active,
.filter-tabs button:hover {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.catalog-card {
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-card .card-link {
    margin-top: 10px;
}

.empty-state {
    padding: 24px;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 900;
}

.product-detail-section {
    background: var(--cloud-2);
}

.product-detail-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 12px;
}

.product-gallery > img {
    width: 100%;
    aspect-ratio: 1.16;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--charcoal);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-strip button {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius);
}

.gallery-strip button.is-active,
.gallery-strip button:hover {
    border-color: var(--blue);
}

.gallery-strip img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
}

.product-info {
    padding: 24px;
}

.product-info h2 {
    font-size: 2rem;
}

.spec-table {
    display: grid;
    gap: 1px;
    margin: 24px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px;
    background: var(--blue);
}

.spec-row span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.spec-row strong {
    color: var(--ink);
}

.detail-list {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.detail-list div {
    padding: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
}

.detail-list span {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-list a {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 900;
}

.detail-list p {
    margin: 0;
}

.map-card--contact {
    margin-top: 18px;
}

.site-footer {
    padding: 54px 0;
    color: rgba(255, 255, 255, 0.72);
    background: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.brand--footer {
    margin-bottom: 14px;
}

.site-footer h3 {
    color: var(--white);
    font-size: 0.95rem;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
    display: flex;
    margin: 9px 0;
    color: rgba(255, 255, 255, 0.78);
    transition: color 180ms ease;
    gap: 10px;
}

.site-footer a:hover {
    color: var(--white);
}

.disclaimer {
    font-size: 0.84rem;
}

.floating-emergency {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 90;
    padding: 14px 17px;
    color: var(--white);
    text-align: center;
    background: var(--danger);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    box-shadow: 0 16px 42px rgba(220, 38, 38, 0.32);
    font-size: 0.92rem;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(220, 38, 38, 0.42);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 620px) {
    h1 {
        font-size: 3.8rem;
    }

    h2 {
        font-size: 2.7rem;
    }

    .hero-metrics,
    .stats-grid,
    .value-grid,
    .catalog-grid,
    .reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .spec-row {
        grid-template-columns: 160px 1fr;
    }

    .floating-emergency {
        left: auto;
        right: 18px;
        width: auto;
    }
}

@media (min-width: 900px) {
    :root {
        --header-height: 76px;
    }

    h1 {
        font-size: 4.8rem;
    }

    h2 {
        font-size: 3.15rem;
    }

    .nav-shell {
        grid-template-columns: auto 1fr auto;
        gap: 28px;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        justify-self: center;
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0;
        background: transparent;
        border-bottom: 0;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 10px 12px;
        border-bottom: 0;
        border-radius: var(--radius);
    }

    .site-nav a:hover,
    .site-nav a[aria-current="page"] {
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-cta {
        display: inline-flex;
    }

    .hero {
        min-height: 760px;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .split-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
        gap: 56px;
    }

    .split-layout--media {
        grid-template-columns: minmax(380px, 1fr) minmax(0, 0.95fr);
    }

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

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

    .contact-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
        gap: 46px;
    }

    .service-detail-grid {
        grid-template-columns: minmax(0, 1fr) 350px;
    }

    .service-aside {
        position: sticky;
        top: calc(var(--header-height) + 18px);
    }

    .service-section-card {
        grid-template-columns: 0.84fr 1.16fr;
        min-height: 340px;
    }

    .service-section-card:nth-child(even) {
        grid-template-columns: 1.16fr 0.84fr;
    }

    .service-section-card:nth-child(even) img {
        order: 2;
    }

    .service-section-card img {
        height: 100%;
        min-height: 340px;
    }

    .cta-split {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .catalog-toolbar {
        grid-template-columns: minmax(300px, 0.9fr) 1fr;
        align-items: center;
    }

    .filter-tabs {
        justify-content: flex-end;
    }

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

    .product-detail-grid {
        grid-template-columns: minmax(360px, 0.9fr) minmax(0, 0.75fr);
    }

    .product-info {
        position: sticky;
        top: calc(var(--header-height) + 18px);
    }

    .footer-grid {
        grid-template-columns: 1.35fr repeat(3, 1fr);
    }
}

@media (max-width: 619px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        min-height: 680px;
    }

    .hero__content {
        padding: 70px 0 36px;
    }

    .hero__actions,
    .cta-actions,
    .product-detail-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .carousel-shell {
        grid-template-columns: 1fr;
    }

    .carousel-control {
        display: none;
    }

    .page-hero h1 {
        font-size: 2.45rem;
    }

    .timeline li {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 900px) {
    /* Keeps the search input and filter button neatly proportioned on desktop screens */
    .catalog-actions {
        max-width: 600px;
        margin-left: 0;
    }
}

.catalog-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.search-wrapper {
    flex: 1;
}

/* Styled text input to match your dark layout panels */
.search-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    background: #131a26; /* Matches your .service-card background */
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--white);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(11, 99, 216, 0.24);
}

/* Custom premium industrial look trigger button */
.filter-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    background: #131a26;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 900;
    transition: background 180ms ease, border-color 180ms ease;
}

.filter-trigger-btn:hover {
    background: var(--charcoal-2);
    border-color: var(--blue);
}

/* Fullscreen dimmed background layer */
.filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 200; /* Forces it to sit cleanly above navigation menus */
    background: var(--glass);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Drops down smoothly from the top edge */
    padding: 24px 16px;
    overflow-y: auto;
}

/* Forces browsers to respect the hidden attribute properly */
.filter-overlay[hidden] {
    display: none !important;
}

/* The card dropdown menu container */
.filter-card {
    width: min(840px, 100%);
    background: #131a26; 
    border: 1px solid rgba(138, 156, 180, 0.24);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    animation: slideDown 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animation to push the card from top downwards */
@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.filter-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.filter-card__header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.25rem;
}

.close-filter-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.75rem;
    padding: 4px;
    line-height: 1;
    transition: color 180ms ease;
}

.close-filter-btn:hover {
    color: var(--white);
}

/* Inner space setup for selection content */
.filter-card__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group__title {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(138, 156, 180, 0.12);
}

/* Custom interactive checkboxes labels alignment */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 180ms ease;
}

.checkbox-label:hover {
    color: var(--white);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    cursor: pointer;
}

/* Min and Max input boxes placement */
.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-inputs span {
    color: var(--muted);
    font-size: 0.85rem;
}

.range-inputs input[type="number"] {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    background: var(--cloud);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.9rem;
}

.range-inputs input[type="number"]:focus {
    outline: none;
    border-color: var(--blue);
}

.filter-card__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--line);
    background: rgba(8, 16, 30, 0.2);
}

/* Informative notification row for active selections */
.results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--blue-soft);
    border: 1px solid rgba(11, 99, 216, 0.24);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.results-info[hidden] {
    display: none !important;
}

.results-count {
    margin: 0;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: var(--blue);
    font-weight: 900;
    font-size: 0.9rem;
    padding: 0;
    text-decoration: underline;
}

.clear-filters-btn:hover {
    color: var(--white);
}

/* Tweaking empty state to look premium instead of white layout boxes */
.empty-state {
    background: #131a26 !important;
    border: 1px solid var(--line) !important;
    color: var(--muted) !important;
    text-align: center;
}

/* Tablet and desktop wide view structure alignment */
@media (min-width: 768px) {
    .filter-card__body {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

.catalog-grid {
    align-items: stretch;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.catalog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.18));
    opacity: 0;
    transition: opacity 180ms ease;
}

.catalog-card:hover::after {
    opacity: 1;
}

.catalog-card__image {
    display: block;
    background: var(--charcoal);
}

.catalog-card__image img,
.catalog-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
}

.catalog-card .catalog-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.catalog-card h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

.catalog-card h3 a {
    color: var(--white);
}

.catalog-card__code {
    margin: 0;
    font-weight: 900;
}

.catalog-card__specs {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 6px 10px;
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.catalog-card__specs dt {
    font-weight: 900;
    color: var(--white);
}

.catalog-card__specs dd {
    margin: 0;
    min-width: 0;
}

.catalog-card__price {
    margin: auto 0 0;
    color: var(--white) !important;
    font-size: 1.05rem;
    font-weight: 900;
}

.catalog-card .catalog-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
}

.catalog-card__actions .button {
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    position: relative;
    z-index: 1;
}

.filter-select {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    color: var(--white);
    background: var(--cloud);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--blue);
}

@media (min-width: 640px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 1060px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-nav {
    display: flex;
    gap: 24px;
}

.footer-legal-nav a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-nav a:hover {
    color: #fff;
}

@media (max-width: 600px) {
    .footer-bottom__content {
        flex-direction: column;
        text-align: center;
    }
}

button:disabled {
    background-color: #4b5563;
    cursor: not-allowed;
    opacity: 0.5;
}
