:root {
    --color-bg: #08090b;
    --color-surface: #111315;
    --color-accent: #20a9d2;
    --color-accent-hover: #35b8df;
    --color-text: #f5f7f8;
    --color-text-muted: #9aa1a8;
    --color-border: #24282c;
    --header-height: 76px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 1100;
    padding: 0.65rem 1rem;
    color: var(--color-bg);
    background: var(--color-accent);
    border-radius: 0 0 0.35rem 0.35rem;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.site-header {
    min-height: var(--header-height);
    background: rgba(8, 9, 11, 0.96);
    border-top: 2px solid var(--color-accent);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
}

.site-header .navbar {
    min-height: calc(var(--header-height) - 2px);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-text);
    line-height: 1;
    text-decoration: none;
}

.brand-lockup:hover,
.brand-lockup:focus {
    color: var(--color-text);
}

.site-logo {
    display: block;
    width: 9.25rem;
    height: auto;
    object-fit: contain;
}

.site-logo-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.site-logo-wrap::after {
    position: absolute;
    inset: 0;
    background: #fff;
    clip-path: inset(0 25% 0 20%);
    content: "";
    pointer-events: none;
    -webkit-mask: url("../images/logo.png") center / 100% 100% no-repeat;
    mask: url("../images/logo.png") center / 100% 100% no-repeat;
}

.footer-logo {
    width: 8.4rem;
}

.brand-mark {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: var(--color-accent);
    border: 1px solid rgba(32, 169, 210, 0.42);
    border-radius: 50% 50% 50% 38%;
    transform: rotate(-8deg);
}

.brand-mark i {
    font-size: 1.25rem;
}

.brand-name {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.brand-name strong {
    font-size: 0.92rem;
    letter-spacing: 0.055em;
}

.brand-name small {
    color: var(--color-text-muted);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.32em;
}

.navbar-dark .navbar-nav .nav-link {
    padding-right: 0.72rem;
    padding-left: 0.72rem;
    color: #c7cbd0;
    font-size: 0.85rem;
    transition: color 160ms ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--color-accent);
}

.navbar-toggler {
    border-color: var(--color-border);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(32, 169, 210, 0.22);
}

.call-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    color: #041015;
    background: var(--color-accent);
    border-color: var(--color-accent);
    border-radius: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.call-button:hover,
.call-button:focus {
    color: #041015;
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.site-footer {
    padding: 2.2rem 0;
    background: #050607;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    justify-self: start;
}

.footer-contact {
    display: flex;
    gap: 2rem;
}

.footer-contact a {
    color: #c5c9cd;
    font-size: 0.78rem;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: var(--color-accent);
}

.footer-copyright {
    justify-self: end;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

@media (max-width: 991.98px) {
    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-brand,
    .footer-copyright {
        justify-self: center;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .site-header .container {
        max-width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .site-header .brand-lockup {
        gap: 0.4rem;
    }

    .site-header .site-logo {
        width: 7.75rem;
    }

    .site-header .brand-mark {
        width: 1.9rem;
        height: 1.9rem;
    }

    .site-header .brand-name strong {
        font-size: 0.76rem;
    }

    .site-header .brand-name small {
        font-size: 0.42rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding-right: 0.42rem;
        padding-left: 0.42rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .site-header .call-button {
        gap: 0.35rem;
        padding: 0.52rem 0.65rem;
        font-size: 0.67rem;
    }
}

@media (max-width: 767.98px) {
    .site-header .navbar-collapse {
        padding: 1rem 0 1.25rem;
        border-top: 1px solid var(--color-border);
    }

    .navbar-dark .navbar-nav .nav-link {
        width: 100%;
        padding: 0.65rem 0;
    }

    .call-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    :root {
        --header-height: 68px;
    }

    .site-header .site-logo {
        width: 8.5rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Home page */
.grid-background {
    background-color: var(--color-bg);
    background-image:
        linear-gradient(rgba(32, 169, 210, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 169, 210, 0.045) 1px, transparent 1px);
    background-size: 32px 32px;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 5.2rem 0 4.8rem;
    border-bottom: 1px solid var(--color-border);
}

.home-hero::after {
    position: absolute;
    top: -12rem;
    right: 8%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(32, 169, 210, 0.08), transparent 68%);
    content: "";
    pointer-events: none;
}

.section-kicker {
    margin-bottom: 0.85rem;
    color: var(--color-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 43rem;
    margin-bottom: 1.3rem;
    font-size: clamp(2.5rem, 4.3vw, 4.25rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.home-hero h1 span {
    color: var(--color-accent);
}

.hero-copy {
    max-width: 41rem;
    margin-bottom: 1.65rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0.65rem 1.05rem;
    border-radius: 0.3rem;
    font-size: 0.81rem;
    font-weight: 700;
}

.action-button.btn-primary {
    color: #041015;
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.action-button.btn-primary:hover,
.action-button.btn-primary:focus {
    color: #041015;
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.action-button.btn-outline-light {
    color: #dce0e3;
    border-color: #34393e;
}

.action-button.btn-outline-light:hover,
.action-button.btn-outline-light:focus {
    color: var(--color-accent);
    background: #121619;
    border-color: var(--color-accent);
}

.text-link {
    display: inline-flex;
    gap: 0.35rem;
    margin-top: 1.25rem;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.text-link span {
    transition: transform 160ms ease;
}

.text-link:hover,
.text-link:focus {
    color: var(--color-accent-hover);
}

.text-link:hover span,
.text-link:focus span {
    transform: translateX(0.2rem);
}

.process-panel {
    position: relative;
    z-index: 1;
    padding: 1.45rem;
    background: rgba(14, 16, 18, 0.94);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

.process-diagram + .process-diagram {
    margin-top: 1.9rem;
}

.process-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.process-heading small {
    color: #5e676e;
    font-size: 0.52rem;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-node {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    width: 2.65rem;
    height: 3.25rem;
    place-items: center;
    color: #9ca5aa;
    background: #10171a;
    border: 1px solid rgba(32, 169, 210, 0.65);
    font-size: 0.48rem;
    text-transform: uppercase;
}

.process-node span {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
}

.tank-node {
    height: 2.9rem;
    border-top: 0;
    border-radius: 0 0 0.2rem 0.2rem;
}

.tank-node::before {
    position: absolute;
    top: 0.35rem;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(32, 169, 210, 0.12);
    content: "";
}

.vessel-node,
.filter-node {
    width: 1.7rem;
    border-radius: 0.85rem;
}

.vessel-node::after,
.filter-node::after {
    position: absolute;
    top: 48%;
    right: 0.22rem;
    left: 0.22rem;
    border-top: 1px dashed rgba(32, 169, 210, 0.65);
    content: "";
}

.skid-node,
.mbbr-node {
    width: 3.4rem;
    background:
        linear-gradient(135deg, transparent 42%, rgba(32, 169, 210, 0.14) 43% 57%, transparent 58%),
        #10171a;
    border-radius: 0.15rem;
}

.uv-node,
.screen-node {
    width: 1.1rem;
    height: 2.45rem;
    background: repeating-linear-gradient(90deg, #10171a 0 2px, rgba(32, 169, 210, 0.28) 2px 3px);
}

.clarifier-node {
    width: 2.8rem;
    height: 2.3rem;
    border-radius: 0.15rem 0.15rem 50% 50%;
}

.clarifier-node::after {
    position: absolute;
    top: 45%;
    left: 50%;
    height: 55%;
    border-left: 1px solid rgba(32, 169, 210, 0.6);
    content: "";
}

.flow-line {
    position: relative;
    flex: 1 1 auto;
    min-width: 0.6rem;
    margin: 0 0.18rem;
    border-top: 1px solid #35788b;
}

.flow-line::after {
    position: absolute;
    top: -0.18rem;
    right: -0.05rem;
    width: 0.3rem;
    height: 0.3rem;
    border-top: 1px solid #4d99ae;
    border-right: 1px solid #4d99ae;
    content: "";
    transform: rotate(45deg);
}

.process-caption {
    margin: 2rem 0 0;
    color: #596168;
    font-size: 0.61rem;
    letter-spacing: 0.08em;
}

.trust-strip {
    background: #0b0d0f;
    border-bottom: 1px solid var(--color-border);
}

.trust-item {
    display: flex;
    min-height: 5.5rem;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.4rem;
    color: #c0c5c9;
    border-right: 1px solid var(--color-border);
    font-size: 0.72rem;
    line-height: 1.5;
}

.trust-item:first-child {
    border-left: 1px solid var(--color-border);
}

.trust-item i {
    flex: 0 0 auto;
    color: var(--color-accent);
    font-size: 1rem;
}

.content-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.section-intro {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.section-intro h2,
.contact-cta h2 {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: clamp(2rem, 3.3vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.section-intro > p:last-child {
    max-width: 38rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.info-card,
.step-card {
    height: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.42rem;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.info-card:hover,
.step-card:hover {
    background: #13171a;
    border-color: rgba(32, 169, 210, 0.52);
    transform: translateY(-0.2rem);
}

.service-card {
    display: flex;
    min-height: 8.25rem;
    gap: 0.85rem;
    padding: 1.25rem;
}

.service-card > i {
    flex: 0 0 auto;
    color: var(--color-accent);
    font-size: 1.15rem;
}

.service-card h3,
.step-card h3,
.why-grid h3 {
    margin: 0 0 0.45rem;
    color: #eef1f3;
    font-size: 0.88rem;
    font-weight: 700;
}

.service-card p,
.step-card p,
.why-grid p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

.section-link {
    margin-top: 1.7rem;
}

.work-section {
    background: #0e1012;
}

.compact-intro {
    margin-bottom: 2.8rem;
}

.step-card {
    min-height: 10.5rem;
    padding: 1.2rem 1.25rem;
    border-top: 2px solid var(--color-accent);
    border-radius: 0 0 0.35rem 0.35rem;
}

.step-card > span {
    display: block;
    margin-bottom: 1.05rem;
    color: var(--color-accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.why-section {
    background: var(--color-bg);
}

.why-grid article {
    position: relative;
    padding-left: 1rem;
}

.why-grid article::before {
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 0.48rem;
    border-top: 2px solid var(--color-accent);
    content: "";
}

.contact-cta {
    padding: 3.25rem 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.contact-cta h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.7rem, 2.6vw, 2.45rem);
}

.contact-cta p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1180px;
    }
}

@media (max-width: 1199.98px) {
    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--color-border);
    }

    .trust-item:nth-child(3) {
        border-left: 1px solid var(--color-border);
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 4rem 0;
    }

    .process-panel {
        max-width: 42rem;
    }

    .content-section {
        padding: 4.75rem 0;
    }
}

@media (max-width: 767.98px) {
    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        padding: 3.4rem 0;
    }

    .home-hero h1 {
        font-size: 2.45rem;
    }

    .hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .process-panel {
        margin-right: -0.2rem;
        margin-left: -0.2rem;
        padding: 1rem 0.7rem 1.2rem;
    }

    .process-heading {
        font-size: 0.55rem;
    }

    .process-node {
        width: 1.9rem;
        height: 2.65rem;
        font-size: 0.4rem;
    }

    .vessel-node,
    .filter-node {
        width: 1.15rem;
    }

    .skid-node,
    .mbbr-node {
        width: 2.5rem;
    }

    .uv-node,
    .screen-node {
        width: 0.75rem;
        height: 2rem;
    }

    .clarifier-node {
        width: 2rem;
        height: 1.8rem;
    }

    .flow-line {
        min-width: 0.25rem;
        margin: 0 0.08rem;
    }

    .process-caption {
        margin-top: 1.8rem;
    }

    .trust-item,
    .trust-item:first-child,
    .trust-item:nth-child(3) {
        min-height: 4.6rem;
        border-right: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        border-left: 1px solid var(--color-border);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .content-section {
        padding: 4rem 0;
    }

    .section-intro h2 br {
        display: none;
    }
}

/* About page */
.page-hero {
    padding: 4.7rem 0 4.4rem;
    border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
    max-width: 49rem;
    margin: 0 0 1.2rem;
    font-size: clamp(2.45rem, 4.2vw, 4rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.page-hero h1 span {
    color: var(--color-accent);
}

.page-hero > .container > p:last-child {
    max-width: 39rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.who-section {
    background: var(--color-bg);
}

.who-copy {
    max-width: 35rem;
    margin-bottom: 1.5rem;
}

.who-copy > p {
    margin-bottom: 1.15rem;
}

.who-copy > p:last-child {
    margin-bottom: 0;
}

.aim-statement {
    max-width: 35rem;
    margin: 0;
    padding: 1.15rem 1.35rem;
    color: #d9dde0;
    background: var(--color-surface);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 0.35rem 0.35rem 0;
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.65;
}

.profile-list {
    display: grid;
    gap: 1rem;
    padding-top: 0.3rem;
}

.profile-card {
    display: flex;
    min-height: 10rem;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(17, 19, 21, 0.72);
    border: 1px solid var(--color-border);
    border-radius: 0.45rem;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.profile-card:hover {
    background: var(--color-surface);
    border-color: rgba(32, 169, 210, 0.48);
    transform: translateY(-0.15rem);
}

.profile-initials {
    display: grid;
    flex: 0 0 3.45rem;
    width: 3.45rem;
    height: 3.45rem;
    place-items: center;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.profile-card h3 {
    margin: 0 0 0.35rem;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 700;
}

.profile-card .profile-role {
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.profile-card p:last-child {
    max-width: 26rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    line-height: 1.65;
}

.about-why-section {
    background: var(--color-surface);
}

.about-work-section {
    background: var(--color-bg);
}

@media (max-width: 991.98px) {
    .page-hero {
        padding: 4rem 0;
    }

    .profile-list {
        max-width: 44rem;
        padding-top: 0;
    }
}

@media (max-width: 575.98px) {
    .page-hero {
        padding: 3.5rem 0;
    }

    .page-hero h1 {
        font-size: 2.45rem;
    }

    .page-hero h1 br {
        display: none;
    }

    .profile-card {
        min-height: 0;
        padding: 1.2rem;
    }

    .profile-initials {
        flex-basis: 2.8rem;
        width: 2.8rem;
        height: 2.8rem;
        font-size: 0.72rem;
    }
}

/* Services page */
.services-hero h1 {
    max-width: 58rem;
}

.service-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    overflow-x: auto;
    background: rgba(11, 13, 15, 0.97);
    border-bottom: 1px solid var(--color-border);
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
    backdrop-filter: blur(12px);
}

.service-nav-links {
    display: flex;
    min-width: max-content;
    align-items: center;
}

.service-nav a {
    position: relative;
    padding: 1.15rem 1.35rem;
    color: var(--color-text-muted);
    font-size: 0.73rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.service-nav a:first-child {
    padding-left: 0;
}

.service-nav a:hover,
.service-nav a:focus {
    color: var(--color-accent);
}

.service-detail-section {
    padding: 6rem 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    scroll-margin-top: calc(var(--header-height) + 3.5rem);
}

.alternate-section {
    background: var(--color-surface);
}

.service-section-intro {
    max-width: 47rem;
}

.service-section-intro h2,
.compliance-panel h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.detailed-service-card {
    display: grid;
    height: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.72fr);
    gap: 1.6rem 2rem;
    padding: 1.65rem;
    background: #0d0f11;
    border: 1px solid var(--color-border);
    border-radius: 0.45rem;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.alternate-section .detailed-service-card {
    background: #0a0b0d;
}

.detailed-service-card:hover {
    background: #111518;
    border-color: rgba(32, 169, 210, 0.48);
    transform: translateY(-0.2rem);
}

.service-card-heading {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 1rem;
}

.service-card-heading > i {
    display: grid;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    place-items: center;
    color: var(--color-accent);
    background: rgba(32, 169, 210, 0.06);
    border: 1px solid rgba(32, 169, 210, 0.3);
    border-radius: 0.35rem;
    font-size: 1.25rem;
}

.service-card-heading span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-accent);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.service-card-heading h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 700;
}

.detailed-service-card > p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.79rem;
    line-height: 1.7;
}

.key-systems {
    padding-left: 1.35rem;
    border-left: 1px solid var(--color-border);
}

.key-systems h4 {
    margin: 0 0 0.65rem;
    color: #dfe3e6;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.key-systems ul {
    display: grid;
    gap: 0.42rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.key-systems li {
    position: relative;
    padding-left: 0.8rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    line-height: 1.45;
}

.key-systems li::before {
    position: absolute;
    top: 0.48rem;
    left: 0;
    width: 0.28rem;
    height: 0.28rem;
    background: var(--color-accent);
    content: "";
}

.large-service-card {
    min-height: 18rem;
}

.chemical-card,
.feature-card {
    height: 100%;
    padding: 1.35rem;
    background: #0e1012;
    border: 1px solid var(--color-border);
    border-radius: 0.4rem;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.chemical-card:hover,
.feature-card:hover {
    background: #121619;
    border-color: rgba(32, 169, 210, 0.46);
    transform: translateY(-0.18rem);
}

.chemical-card > i,
.feature-card > i {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-size: 1.25rem;
}

.chemical-card h3,
.feature-card h3 {
    margin: 0 0 0.55rem;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 700;
}

.chemical-card p,
.feature-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.74rem;
    line-height: 1.6;
}

.feature-card {
    position: relative;
    min-height: 12.5rem;
    padding-top: 1.55rem;
    border-top: 2px solid var(--color-accent);
    border-radius: 0 0 0.4rem 0.4rem;
}

.feature-card > span {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: #4d565c;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.compliance-section {
    padding: 5rem 0;
    background: #0e1012;
    border-bottom: 1px solid var(--color-border);
}

.compliance-panel {
    padding: 2rem;
    background: #090b0c;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
}

.compliance-panel .section-intro {
    max-width: 50rem;
    margin-bottom: 2rem;
}

.compliance-card {
    display: flex;
    height: 100%;
    gap: 0.85rem;
    padding: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.3rem;
}

.compliance-card span {
    flex: 0 0 auto;
    color: var(--color-accent);
    font-size: 0.6rem;
    font-weight: 700;
}

.compliance-card p {
    margin: 0;
    color: #c2c7ca;
    font-size: 0.74rem;
    line-height: 1.55;
}

.compliance-note {
    display: flex;
    gap: 0.55rem;
    margin: 1.25rem 0 0;
    color: #70787f;
    font-size: 0.68rem;
    line-height: 1.55;
}

.compliance-note i {
    flex: 0 0 auto;
    color: var(--color-accent);
}

@media (max-width: 991.98px) {
    .service-detail-section {
        padding: 4.75rem 0;
    }
}

@media (max-width: 767.98px) {
    .service-nav {
        top: 68px;
    }

    .service-nav a {
        padding: 1rem;
    }

    .service-nav a:first-child {
        padding-left: 0.75rem;
    }

    .detailed-service-card {
        grid-template-columns: 1fr;
    }

    .service-card-heading {
        grid-column: auto;
    }

    .key-systems {
        padding-top: 1rem;
        padding-left: 0;
        border-top: 1px solid var(--color-border);
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .services-hero h1 br {
        display: none;
    }

    .service-detail-section {
        padding: 4rem 0;
    }

    .detailed-service-card {
        padding: 1.25rem;
    }

    .large-service-card {
        min-height: 0;
    }

    .compliance-section {
        padding: 4rem 0;
    }

    .compliance-panel {
        padding: 1.35rem;
    }
}

/* Industries page */
.industries-hero h1 {
    max-width: 50rem;
}

.industries-grid-section {
    padding: 5.5rem 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.industry-card {
    display: flex;
    min-height: 12.25rem;
    height: 100%;
    flex-direction: column;
    padding: 1.35rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.42rem;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.industry-card:hover {
    background: #141719;
    border-color: rgba(32, 169, 210, 0.48);
    transform: translateY(-0.2rem);
}

.industry-card h2 {
    position: relative;
    margin: 0 0 0.75rem;
    padding-left: 1rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.industry-card h2::before {
    position: absolute;
    top: 0.47rem;
    left: 0;
    width: 0.38rem;
    height: 0.38rem;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0.22rem rgba(32, 169, 210, 0.08);
    content: "";
}

.industry-card > p {
    margin: 0 0 1.15rem;
    color: var(--color-text-muted);
    font-size: 0.77rem;
    line-height: 1.65;
}

.system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: auto;
}

.system-tags span {
    padding: 0.24rem 0.42rem;
    color: #c4c9cc;
    background: #090b0c;
    border: 1px solid #252a2e;
    border-radius: 0.16rem;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.industry-compliance-section {
    padding: 5rem 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.industry-compliance-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.35fr);
    gap: 3rem;
    padding: 2.1rem;
    background: #090b0c;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
}

.compliance-summary {
    padding-right: 2rem;
    border-right: 1px solid var(--color-border);
}

.compliance-summary h2 {
    margin: 0 0 1.1rem;
    color: var(--color-text);
    font-size: clamp(1.65rem, 2.6vw, 2.3rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.compliance-summary > p:last-child {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    line-height: 1.65;
}

.compliance-points {
    display: grid;
    align-content: center;
    gap: 1rem;
}

.compliance-points article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
}

.compliance-points article > span {
    width: 0.38rem;
    height: 0.38rem;
    margin-top: 0.5rem;
    background: var(--color-accent);
}

.compliance-points p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.74rem;
    line-height: 1.6;
}

.compliance-points strong {
    color: #e4e7e9;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .industries-grid-section {
        padding: 4.75rem 0;
    }

    .industry-compliance-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .compliance-summary {
        padding-right: 0;
        padding-bottom: 2rem;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }
}

@media (max-width: 575.98px) {
    .industries-hero h1 br {
        display: none;
    }

    .industries-grid-section,
    .industry-compliance-section {
        padding: 4rem 0;
    }

    .industry-card {
        min-height: 0;
    }

    .industry-compliance-panel {
        padding: 1.35rem;
    }
}

/* Chemicals & AMC page */
.chemicals-hero h1 {
    max-width: 52rem;
}

.chemicals-section {
    padding: 6rem 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.chemicals-intro {
    max-width: 34rem;
    margin-bottom: 0;
}

.chemical-table-wrap {
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.48rem;
}

.chemical-supply-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.chemical-supply-table th,
.chemical-supply-table td {
    overflow-wrap: anywhere;
}

.chemical-supply-table thead th {
    padding: 1rem 1.1rem;
    color: #737c82;
    background: #0e1012;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-align: left;
    text-transform: uppercase;
}

.chemical-supply-table thead th:first-child,
.chemical-supply-table tbody th {
    width: 31%;
}

.chemical-supply-table tbody th,
.chemical-supply-table tbody td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
    text-align: left;
}

.chemical-supply-table tbody tr:last-child th,
.chemical-supply-table tbody tr:last-child td {
    border-bottom: 0;
}

.chemical-supply-table tbody th {
    color: #e1e5e7;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.45;
}

.chemical-supply-table tbody td {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    line-height: 1.6;
}

.chemical-supply-table tbody tr {
    transition: background 160ms ease;
}

.chemical-supply-table tbody tr:hover {
    background: rgba(32, 169, 210, 0.035);
}

.maintenance-section {
    padding: 6rem 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.maintenance-intro {
    max-width: 48rem;
}

.maintenance-card {
    height: 100%;
    min-height: 23rem;
    padding: 1.55rem;
    background: #0d0f11;
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-accent);
    border-radius: 0 0 0.42rem 0.42rem;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.maintenance-card:hover {
    background: #111518;
    border-color: rgba(32, 169, 210, 0.52);
    transform: translateY(-0.2rem);
}

.maintenance-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.maintenance-card h3 {
    max-width: 18rem;
    margin: 0 0 0.65rem;
    color: var(--color-text);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}

.maintenance-card > p {
    margin: 0 0 1.2rem;
    color: var(--color-text-muted);
    font-size: 0.76rem;
    line-height: 1.6;
}

.maintenance-card ul {
    display: grid;
    gap: 0.58rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.maintenance-card li {
    position: relative;
    padding-left: 0.9rem;
    color: #a8afb4;
    font-size: 0.72rem;
    line-height: 1.55;
}

.maintenance-card li::before {
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 0.3rem;
    height: 0.3rem;
    background: var(--color-accent);
    content: "";
}

.chemicals-cta {
    padding: 4rem 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.chemicals-cta h2 {
    max-width: 47rem;
    margin: 0 0 0.55rem;
    color: var(--color-text);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.chemicals-cta > .container > p {
    margin: 0 0 1.4rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

@media (max-width: 991.98px) {
    .chemicals-section,
    .maintenance-section {
        padding: 4.75rem 0;
    }

    .chemicals-intro {
        margin-bottom: 0.5rem;
    }

    .maintenance-card {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .chemicals-hero h1 br,
    .chemicals-intro h2 br,
    .maintenance-intro h2 br {
        display: none;
    }

    .chemicals-section,
    .maintenance-section,
    .chemicals-cta {
        padding: 4rem 0;
    }

    .chemical-supply-table thead th,
    .chemical-supply-table tbody th,
    .chemical-supply-table tbody td {
        padding: 0.85rem 0.75rem;
    }

    .chemical-supply-table thead th:first-child,
    .chemical-supply-table tbody th {
        width: 34%;
    }

    .chemical-supply-table tbody th {
        font-size: 0.69rem;
    }

    .chemical-supply-table tbody td {
        font-size: 0.67rem;
    }

    .maintenance-card {
        padding: 1.3rem;
    }
}

/* Contact page */
.contact-hero h1 {
    max-width: 50rem;
}

.contact-section {
    padding: 5.5rem 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.office-details {
    max-width: 35rem;
}

.contact-list {
    margin: 1.4rem 0 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 1.05rem 0;
    border-top: 1px solid var(--color-border);
}

.contact-row:last-child {
    border-bottom: 1px solid var(--color-border);
}

.contact-row dt {
    margin: 0;
    color: #737c82;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-row dd {
    margin: 0;
    color: #e0e4e6;
    font-size: 0.86rem;
    line-height: 1.6;
}

.contact-row a {
    color: #e0e4e6;
    text-decoration: none;
    transition: color 160ms ease;
}

.contact-row a:hover,
.contact-row a:focus {
    color: var(--color-accent);
}

.map-link {
    display: inline-flex;
    gap: 0.45rem;
    margin-top: 1.5rem;
    color: var(--color-accent);
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
}

.map-link span {
    transition: transform 160ms ease;
}

.map-link:hover,
.map-link:focus {
    color: var(--color-accent-hover);
}

.map-link:hover span,
.map-link:focus span {
    transform: translateX(0.2rem);
}

.enquiry-tips {
    margin-top: 2.2rem;
}

.enquiry-tips h2 {
    margin: 0 0 1rem;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 700;
}

.enquiry-tips ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.enquiry-tips li {
    position: relative;
    padding-left: 1rem;
    color: #b2b8bc;
    font-size: 0.78rem;
    line-height: 1.5;
}

.enquiry-tips li::before {
    position: absolute;
    top: 0.48rem;
    left: 0;
    width: 0.34rem;
    height: 0.34rem;
    background: var(--color-accent);
    content: "";
}

.enquiry-card {
    padding: 1.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0.55rem;
}

.enquiry-card > h2 {
    margin: 0 0 0.35rem;
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 700;
}

.enquiry-card > p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.enquiry-card form {
    margin-top: 1.35rem;
}

.enquiry-card .form-label {
    margin-bottom: 0.45rem;
    color: #e0e4e6;
    font-size: 0.72rem;
    font-weight: 700;
}

.enquiry-card .form-control,
.enquiry-card .form-select {
    min-height: 3rem;
    color: var(--color-text);
    background-color: #0c0e10;
    border: 1px solid var(--color-border);
    border-radius: 0.35rem;
    font-size: 0.8rem;
}

.enquiry-card .form-control::placeholder {
    color: #5f676d;
    opacity: 1;
}

.enquiry-card .form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239aa1a8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.enquiry-card .form-select option {
    color: var(--color-text);
    background: #0c0e10;
}

.enquiry-card textarea.form-control {
    min-height: 7.2rem;
    resize: vertical;
}

.enquiry-card .form-control:focus,
.enquiry-card .form-select:focus {
    color: var(--color-text);
    background-color: #0c0e10;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(32, 169, 210, 0.12);
}

.enquiry-card .was-validated .form-control:invalid {
    border-color: #dc5b65;
    background-image: none;
}

.enquiry-card .was-validated .form-control:valid {
    border-color: #2d7350;
    background-image: none;
}

.invalid-feedback {
    color: #e78088;
    font-size: 0.67rem;
}

.whatsapp-submit {
    display: inline-flex;
    width: 100%;
    min-height: 3.1rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #03150b;
    background: #20c967;
    border-color: #20c967;
    border-radius: 0.34rem;
    font-size: 0.82rem;
    font-weight: 750;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.whatsapp-submit:hover,
.whatsapp-submit:focus {
    color: #03150b;
    background: #36d97a;
    border-color: #36d97a;
    transform: translateY(-0.1rem);
}

.enquiry-card .email-alternative {
    margin-top: 1rem;
    color: #767f85;
    font-size: 0.7rem;
}

.email-alternative a {
    color: #d6dade;
    font-weight: 600;
    text-decoration: none;
}

.email-alternative a:hover,
.email-alternative a:focus {
    color: var(--color-accent);
}

@media (max-width: 991.98px) {
    .contact-section {
        padding: 4.75rem 0;
    }

    .office-details,
    .enquiry-card {
        max-width: 44rem;
    }
}

@media (max-width: 575.98px) {
    .contact-section {
        padding: 4rem 0;
    }

    .contact-row {
        grid-template-columns: 6.25rem minmax(0, 1fr);
    }

    .enquiry-card {
        padding: 1.25rem;
    }
}
