:root {
    --color-navy: #062c5d;
    --color-deep: #041d40;
    --color-blue: #0a7fbd;
    --color-cyan: #17c9ed;
    --color-sky: #eaf8ff;
    --color-text: #12345a;
    --color-muted: #5f7590;
    --color-border: #d9edf7;
    --shadow-soft: 0 14px 36px rgba(8, 60, 105, 0.1);
    --radius: 12px;
    --header-height: 86px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    font-family: 'Inter', sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    margin: 0;
    color: var(--color-text);
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(35px, 4vw, 57px);
}

h2 {
    font-size: clamp(29px, 3vw, 39px);
}

h3 {
    font-size: 21px;
}

p {
    font-size: 15px;
    line-height: 1.7;
}

button {
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
p,
figure,
blockquote,
address {
    margin: 0;
}

address {
    font-style: normal;
}

.container {
    width: min(100% - 40px, 1200px);
    margin: 0 auto;
}

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--color-navy);
    color: #fff;
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid var(--color-cyan);
    outline-offset: 3px;
}

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button .icon {
    width: 16px;
    height: 16px;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--color-cyan), #0fa6dc);
    color: #04224a;
    box-shadow: 0 12px 26px rgba(23, 201, 237, 0.28);
}

.button-outline {
    border-color: rgba(114, 229, 255, 0.6);
    background: rgba(4, 28, 62, 0.4);
    color: #fff;
}

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

.text-link .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.text-link:hover .icon {
    transform: translateX(3px);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(10, 127, 189, 0.12);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-height);
}

.brand img,
.footer-brand img {
    width: auto;
    height: 66px;
    max-width: 280px;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex: 1 1 auto;
    color: #173d66;
    font-size: 15px;
    font-weight: 600;
}

.primary-nav > a:not(.button) {
    position: relative;
    padding: 28px 0;
}

.primary-nav > a:not(.button)::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--color-cyan);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.primary-nav > a.active,
.primary-nav > a:not(.button):hover {
    color: var(--color-blue);
}

.primary-nav > a.active::after,
.primary-nav > a:not(.button):hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-cta,
.nav-toggle {
    display: none;
}

.header-cta {
    min-height: 44px;
    padding: 0 20px;
    font-size: 14px;
}

/* Hero */

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 30%, rgba(23, 201, 237, 0.35), transparent 30%),
        linear-gradient(120deg, #041c40 0%, #06417a 50%, #0b8fc8 100%);
    color: #fff;
}

.hero-section::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 23, 52, 0.85) 0%, rgba(4, 23, 52, 0.45) 45%, rgba(4, 23, 52, 0) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px);
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 40px;
    min-height: 520px;
    padding: 56px 0;
}

.eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 20px;
    color: #72e5ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow span + span::before {
    margin-right: 14px;
    color: rgba(255, 255, 255, 0.45);
    content: "/";
}

.hero-copy h1 {
    max-width: 580px;
    letter-spacing: -0.03em;
}

.hero-copy h1 span,
.section-heading h2 span,
.about-copy h2 span,
.stats-intro h2 span,
.mission-card span {
    color: var(--color-cyan);
}

.hero-lead {
    max-width: 500px;
    margin: 22px 0 32px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-visual img {
    width: 100%;
    border-radius: 24px;
    filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.28));
}

.metric-card {
    position: absolute;
    left: 6%;
    top: 10%;
    display: grid;
    gap: 2px;
    width: 170px;
    padding: 16px 18px;
    border: 1px solid rgba(133, 235, 255, 0.55);
    border-radius: 14px;
    background: rgba(3, 41, 82, 0.72);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.metric-card strong {
    margin-bottom: 8px;
    font-size: 27px;
    line-height: 1.1;
}

.metric-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.metric-status {
    color: #6ff0c4;
    font-size: 14px;
    font-weight: 700;
}

/* Highlights strip */

.highlights {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #dff5ff 0%, #f8fdff 18%, #f8fdff 82%, #dff5ff 100%);
    box-shadow: 0 12px 28px rgba(8, 60, 105, 0.08);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.highlights-grid li + li {
    border-left: 1px solid var(--color-border);
}

.highlights-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 92px;
    padding: 0 16px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.35;
    transition: background-color 0.2s ease;
}

.highlights-grid a:hover {
    background: rgba(23, 201, 237, 0.08);
}

.highlights-grid .icon {
    width: 40px;
    height: 40px;
    color: var(--color-blue);
}

.highlights-grid strong {
    display: block;
    color: var(--color-navy);
    font-size: 16px;
}

/* Section shared */

.section {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 40px;
    text-align: center;
}

.section-heading h2,
.about-copy h2 {
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.section-heading p {
    margin-top: 10px;
    color: var(--color-muted);
}

.section-heading-left {
    text-align: left;
}

.section-heading-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

/* Solutions */

.solutions-section {
    background:
        radial-gradient(circle at top center, rgba(23, 201, 237, 0.12), transparent 30%),
        linear-gradient(180deg, #fff 0%, #f5fbff 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 20px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
    border-color: rgba(23, 201, 237, 0.6);
    box-shadow: 0 20px 44px rgba(8, 60, 105, 0.16);
    transform: translateY(-4px);
}

.solution-icon {
    width: 42px;
    height: 42px;
    color: var(--color-blue);
}

.solution-card h3 {
    color: var(--color-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.solution-card h3 a::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    content: "";
}

.solution-card p {
    flex: 1 1 auto;
    color: var(--color-muted);
    font-size: 14px;
}

.card-arrow {
    align-self: flex-end;
    color: var(--color-blue);
    transition: transform 0.2s ease;
}

.solution-card:hover .card-arrow {
    transform: translateX(4px);
}

/* About */

.about-section {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 56px;
}

.about-subtitle {
    margin: 6px 0 18px;
    color: var(--color-navy);
    font-size: 18px;
    font-weight: 700;
}

.about-copy > p:not(.about-subtitle) {
    color: var(--color-muted);
}

.feature-list {
    display: grid;
    gap: 16px;
    margin: 28px 0 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.4;
}

.feature-list strong {
    display: block;
    color: var(--color-navy);
    font-size: 16px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: var(--color-sky);
    color: var(--color-blue);
}

.about-media {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 18px;
    background: var(--color-deep);
    box-shadow: 0 24px 60px rgba(4, 29, 64, 0.25);
}

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

.mission-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
    background: linear-gradient(160deg, #06336a 0%, var(--color-deep) 100%);
    color: #fff;
    font-size: clamp(19px, 1.8vw, 23px);
    font-weight: 700;
    line-height: 1.4;
}

.mission-label {
    margin-bottom: 14px;
    color: var(--color-cyan);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Stats */

.stats-section {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(23, 201, 237, 0.22), transparent 35%),
        linear-gradient(120deg, #041c40 0%, #06386d 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
    align-items: center;
    gap: 40px;
}

.stats-intro h2 {
    letter-spacing: -0.02em;
}

.stats-intro p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.stats-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    text-align: center;
}

.stat-item + .stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
    color: var(--color-cyan);
}

.stat-item strong {
    font-size: 33px;
    font-weight: 800;
    line-height: 1.1;
}

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

/* Slider */

.slider {
    --gap: 20px;
    --per-view: 3;
    position: relative;
}

.slider-projects {
    --per-view: 4;
}

.slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    gap: var(--gap);
    padding: 6px 2px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-track > li {
    display: flex;
    scroll-snap-align: start;
}

.slider-arrow {
    position: absolute;
    top: 42%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #fff;
    color: var(--color-navy);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.slider-arrow:hover:not(:disabled) {
    background: var(--color-cyan);
    color: #04224a;
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.slider-prev {
    left: -64px;
}

.slider-next {
    right: -64px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.slider-dots[hidden] {
    display: none;
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #c4d9e8;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.slider-dot[aria-current="true"] {
    width: 24px;
    background: var(--color-cyan);
}

/* Projects */

.projects-section {
    background: linear-gradient(180deg, #f5fbff 0%, #fff 100%);
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    box-shadow: 0 20px 44px rgba(8, 60, 105, 0.16);
    transform: translateY(-4px);
}

.project-card img {
    width: 100%;
    aspect-ratio: 400 / 260;
    object-fit: cover;
}

.project-body {
    padding: 18px 20px 20px;
}

.project-body h3 {
    color: var(--color-navy);
    font-size: 17px;
    font-weight: 700;
}

.project-body h3 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.project-tags {
    margin: 6px 0 10px;
    color: var(--color-blue);
    font-size: 13px;
    font-weight: 600;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-muted);
    font-size: 14px;
}

.project-location .icon {
    width: 15px;
    height: 15px;
    color: var(--color-blue);
}

/* Testimonials */

.testimonials-section {
    background: #f5fbff;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 30px 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.testimonial-card blockquote {
    position: relative;
    padding-left: 34px;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.65;
}

.testimonial-card blockquote::before {
    position: absolute;
    left: 0;
    top: -14px;
    color: var(--color-cyan);
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 55px;
    line-height: 1;
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.4;
}

.testimonial-card figcaption strong {
    display: block;
    color: var(--color-navy);
    font-size: 15px;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

/* CTA */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 54px 0;
    background:
        linear-gradient(90deg, rgba(4, 29, 64, 0.96) 0%, rgba(6, 56, 109, 0.85) 60%, rgba(10, 127, 189, 0.7) 100%),
        url("../img/smart-building-automation-hero.svg") right center / cover no-repeat;
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-inner h2 {
    letter-spacing: -0.02em;
}

.cta-inner p {
    max-width: 520px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */

.site-footer {
    padding: 60px 0 0;
    background: var(--color-deep);
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 40px;
}

.footer-about p {
    max-width: 280px;
    margin: 18px 0 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    border-color: var(--color-cyan);
    background: var(--color-cyan);
    color: #04224a;
}

.social-links .icon {
    width: 16px;
    height: 16px;
}

.site-footer h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.site-footer nav li + li {
    margin-top: 10px;
}

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

.footer-contact {
    display: grid;
    gap: 16px;
}

.footer-contact p {
    display: flex;
    gap: 12px;
}

.footer-contact .icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--color-cyan);
}

.footer-contact strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.footer-bottom ul {
    display: flex;
    gap: 24px;
}

/* Responsive */

@media (max-width: 1340px) {
    .slider-prev {
        left: -14px;
    }

    .slider-next {
        right: -14px;
    }
}

@media (max-width: 1180px) {
    .primary-nav {
        gap: 22px;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats-intro p {
        max-width: 520px;
        margin-inline: auto;
    }

    .slider-projects {
        --per-view: 3;
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: min(100% - 32px, 1200px);
    }

    .brand img {
        height: 54px;
        max-width: 220px;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: var(--color-sky);
        cursor: pointer;
    }

    .nav-toggle-bar {
        width: 22px;
        height: 2px;
        margin: 0 auto;
        border-radius: 99px;
        background: var(--color-navy);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header.is-open .nav-toggle-bar:nth-of-type(2) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-open .nav-toggle-bar:nth-of-type(3) {
        opacity: 0;
    }

    .site-header.is-open .nav-toggle-bar:nth-of-type(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .primary-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(var(--header-height) + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--color-border);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .site-header.is-open .primary-nav {
        display: flex;
    }

    .primary-nav > a:not(.button) {
        padding: 12px;
        border-radius: 10px;
    }

    .primary-nav > a:not(.button)::after {
        display: none;
    }

    .primary-nav > a.active {
        background: var(--color-sky);
    }

    .nav-cta {
        display: inline-flex;
        margin-top: 8px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 56px 0 48px;
    }

    .hero-visual {
        max-width: 640px;
        width: 100%;
        margin: 0 auto;
    }

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

    .highlights-grid li:nth-child(3) {
        border-left: 0;
    }

    .highlights-grid li:nth-child(n + 3) {
        border-top: 1px solid var(--color-border);
    }

    .highlights-grid a {
        justify-content: flex-start;
        padding: 0 20px;
    }

    .section {
        padding: 64px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-list {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .stat-item:nth-child(3) {
        border-left: 0;
    }

    .slider,
    .slider-projects {
        --per-view: 2;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 640px) {
    .hero-lead {
        font-size: 17px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .metric-card {
        position: static;
        width: 100%;
        margin-top: 14px;
    }

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

    .highlights-grid li + li {
        border-left: 0;
        border-top: 1px solid var(--color-border);
    }

    .highlights-grid a {
        min-height: 72px;
    }

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

    .section-heading-split {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-media {
        grid-template-columns: 1fr;
    }

    .about-media img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .mission-card {
        padding: 28px 24px;
    }

    .stat-item + .stat-item {
        border-left: 0;
    }

    .slider,
    .slider-projects {
        --per-view: 1.1;
    }

    .slider-arrow {
        display: none;
    }

    .cta-inner .button {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 481px) and (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Inner pages */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 85% 20%, rgba(23, 201, 237, 0.3), transparent 35%),
        linear-gradient(120deg, #041c40 0%, #06417a 55%, #0b8fc8 100%);
    color: #fff;
}

.page-hero::before {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px);
    content: "";
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    max-width: 820px;
    letter-spacing: -0.03em;
}

.page-hero h1 span {
    color: var(--color-cyan);
}

.page-hero-lead {
    max-width: 640px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb li + li::before {
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.4);
    content: "/";
}

.breadcrumb a:hover {
    color: var(--color-cyan);
}

.breadcrumb [aria-current="page"] {
    color: #fff;
}

.section-tinted {
    background: #f5fbff;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cards-grid-3 .solution-card {
    padding: 30px 26px 24px;
}

.cards-grid-3 .solution-card h3 {
    font-size: 19px;
}

.cards-grid-3 .solution-card p {
    font-size: 15px;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.strengths-grid li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.4;
}

.strengths-grid strong {
    display: block;
    color: var(--color-navy);
    font-size: 16px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mv-card,
.benefit-card {
    padding: 28px 26px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.mv-card h3,
.benefit-card h3 {
    margin: 16px 0 8px;
    color: var(--color-navy);
    font-size: 19px;
}

.mv-card p,
.benefit-card p {
    color: var(--color-muted);
}

.prose p + p {
    margin-top: 14px;
}

.prose p {
    color: var(--color-muted);
    font-size: 16px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 48px;
}

.content-main {
    display: grid;
    gap: 40px;
}

.content-image {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #eef2f7;
}

.content-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.content-title {
    margin-bottom: 16px;
    color: var(--color-navy);
    font-size: 27px;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text);
    font-size: 15px;
}

.check-list .icon {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--color-sky);
    color: var(--color-blue);
    stroke-width: 2.4;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card {
    padding: 24px 22px;
}

.benefit-card h3 {
    font-size: 17px;
}

.benefit-card p {
    font-size: 14px;
}

.content-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 22px;
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.sidebar-card h2,
.sidebar-cta h2 {
    margin-bottom: 16px;
    font-size: 19px;
}

.sidebar-card h2 {
    color: var(--color-navy);
}

.sidebar-links {
    display: grid;
    gap: 4px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-links .icon {
    color: var(--color-blue);
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: var(--color-sky);
    color: var(--color-blue);
}

.sidebar-cta {
    padding: 28px 24px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 90% 10%, rgba(23, 201, 237, 0.3), transparent 45%),
        linear-gradient(150deg, #06386d 0%, var(--color-deep) 100%);
    color: #fff;
}

.sidebar-cta p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-cta .button {
    width: 100%;
}

.sidebar-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: #fff;
    font-weight: 600;
}

.sidebar-phone .icon {
    width: 16px;
    height: 16px;
    color: var(--color-cyan);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.projects-grid > li {
    display: flex;
}

.project-hero-image {
    width: 100%;
    aspect-ratio: 400 / 260;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.empty-state {
    padding: 48px 24px;
    border: 1px dashed var(--color-border, #dbe3ee);
    border-radius: 16px;
    color: var(--color-muted);
    text-align: center;
}

.project-facts {
    display: grid;
    gap: 14px;
    margin: 0;
}

.project-facts div {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

.project-facts div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.project-facts dt {
    color: var(--color-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-facts dd {
    margin: 2px 0 0;
    color: var(--color-navy);
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 48px;
}

.contact-intro {
    margin-bottom: 24px;
    color: var(--color-muted);
}

.info-cards {
    display: grid;
    gap: 14px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.info-card div {
    display: grid;
    gap: 2px;
    font-size: 15px;
}

.info-card strong {
    color: var(--color-navy);
}

.info-card a:hover {
    color: var(--color-blue);
}

.form-card {
    padding: 34px 32px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--color-navy);
    font-size: 14px;
    font-weight: 600;
}

.form-field label span {
    color: #d14343;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfe3f0;
    border-radius: 10px;
    background: #fbfdff;
    color: var(--color-text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-cyan);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(23, 201, 237, 0.18);
}

.form-field [aria-invalid="true"] {
    border-color: #d14343;
}

.form-note {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(6, 44, 93, 0.06);
    color: var(--color-muted);
    font-size: 14px;
}

.form-note strong {
    color: var(--color-navy);
}

.quotation-section .content-title {
    margin-bottom: 12px;
}

.quotation-section .contact-info > p {
    margin-bottom: 28px;
    max-width: 38ch;
    color: var(--color-muted);
}

.form-error {
    margin-top: 6px;
    color: #c53030;
    font-size: 13px;
}

.alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
}

.alert-success {
    background: #e7f8ef;
    color: #146c43;
}

.alert-error {
    background: #fdecec;
    color: #b42318;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.enquiry-form .button {
    cursor: pointer;
}

.steps-list {
    display: grid;
    gap: 18px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps-list li {
    position: relative;
    padding-left: 56px;
    color: var(--color-muted);
    font-size: 15px;
    counter-increment: step;
}

.steps-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    color: #fff;
    content: counter(step);
    font-weight: 700;
}

.steps-list strong {
    display: block;
    color: var(--color-navy);
    font-size: 16px;
}

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

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

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: var(--color-muted);
}

.legal-content h2 {
    margin: 36px 0 12px;
    color: var(--color-navy);
    font-size: 23px;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
}

.legal-content ul {
    padding-left: 22px;
    list-style: disc;
}

.legal-content li + li {
    margin-top: 6px;
}

.legal-content a {
    color: var(--color-blue);
    text-decoration: underline;
}

.legal-updated {
    color: var(--color-muted);
    font-size: 14px;
}

.error-page {
    text-align: center;
}

.error-page .container {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 40px 0;
}

.error-code {
    color: var(--color-cyan);
    font-size: 97px;
    font-weight: 800;
    line-height: 1;
}

.error-page h1 {
    color: var(--color-navy);
}

.error-page p:not(.error-code) {
    color: var(--color-muted);
}

.button-light {
    border-color: var(--color-border);
    background: #fff;
    color: var(--color-navy);
}

@media (max-width: 1180px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 36px;
    }
}

@media (max-width: 991px) {
    .cards-grid-3,
    .mv-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }

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

@media (max-width: 640px) {
    .page-hero {
        padding: 40px 0 48px;
    }

    .page-hero-lead {
        font-size: 16px;
    }

    .cards-grid-3,
    .mv-grid,
    .projects-grid,
    .strengths-grid,
    .contact-info .strengths-grid,
    .check-list,
    .benefits-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 26px 20px;
    }

    .enquiry-form .button {
        width: 100%;
    }

    .map-section iframe {
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
