@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap");

main > .container {
    padding: 70px 15px 20px;
}

.rsa-page-container {
    padding-top: 130px !important;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* RSA landing page (based on PDF cover) */
.rsa-site {
    --rsa-cream: #f6f1e7;
    --rsa-cream-2: #fff8ee;
    --rsa-blue: #1d6d6a;
    --rsa-blue-strong: #165351;
    --rsa-navy: #12222a;
    --rsa-teal: #2aa385;
    --rsa-sage: #e6f2ea;
    --rsa-text: #132027;
    --rsa-muted: #4a5a62;
    --rsa-card: #ffffff;
    background:
        radial-gradient(circle at 15% 10%, rgba(255,255,255,0.75), transparent 42%),
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.55), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0) 35%),
        var(--rsa-cream);
    color: var(--rsa-text);
    min-height: 100vh;
    --rsa-font-ui: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --rsa-font-display: "Libre Baskerville", "Georgia", serif;
    font-family: var(--rsa-font-ui);
    overflow-x: clip;
    --rsa-side-space: clamp(12px, 3vw, 28px);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.rsa-site #top,
.rsa-site #services,
.rsa-site #about,
.rsa-site #maintenance,
.rsa-site #equipment,
.rsa-site #industries,
.rsa-site #process,
.rsa-site #compliance,
.rsa-site #service-area,
.rsa-site #testimonials,
.rsa-site #contact {
    scroll-margin-top: 128px;
}

.rsa-hero {
    background: var(--rsa-cream);
    min-height: calc(100vh - 108px);
    display: flex;
    flex-direction: column;
    padding-top: 108px;
}

.rsa-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(120deg, rgba(18, 34, 42, 0.96), rgba(13, 83, 79, 0.95));
    backdrop-filter: saturate(120%) blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0 !important;
}

.rsa-navbar .navbar-collapse {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.rsa-navbar .navbar-collapse.show,
.rsa-navbar .navbar-collapse.collapsing {
    position: relative;
    z-index: 1035;
}

.rsa-nav-shell {
    min-height: 108px;
    padding-left: var(--rsa-side-space);
    padding-right: var(--rsa-side-space);
}

.rsa-menu .nav-link {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.4rem 0.65rem;
    font-size: 0.92rem;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rsa-menu {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.rsa-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.rsa-menu .nav-link:hover,
.rsa-menu .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.rsa-menu .nav-link:hover::after,
.rsa-menu .nav-link:focus::after {
    transform: scaleX(1);
}

.rsa-brand {
    display: flex;
    align-items: center;
    gap: 0;
    color: inherit;
    text-decoration: none;
    margin-bottom: 0;
}

.rsa-brand:hover,
.rsa-brand:focus {
    color: inherit;
}

.rsa-logo-circle {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffe58f, #d4b200 42%, #6ea658 43%, #4f7f3d 66%, #67431f 100%);
    border: 3px solid #6c5f2d;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.rsa-logo-img {
    display: block;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
}

.rsa-logo-circle-lg {
    width: 98px;
    height: 98px;
    border-width: 3px;
    font-size: 0.62rem;
}

.rsa-logo-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: #ffffff;
    font-family: var(--rsa-font-ui);
    font-weight: 800;
    line-height: 1.1;
}

.rsa-toggler {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
}

.rsa-toggler .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.rsa-menu {
    gap: 0.35rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 0.4rem 0.6rem;
    box-shadow: 0 10px 22px rgba(5, 18, 28, 0.28);
    white-space: nowrap;
    overflow-x: auto;
}

.rsa-menu .nav-link {
    font-family: var(--rsa-font-ui);
    font-size: clamp(0.82rem, 0.9vw, 0.95rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    padding: 0.5rem 0.8rem;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 1px solid transparent;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

@media (min-width: 992px) {
    .rsa-navbar .navbar-collapse {
        background: transparent;
        border: 0;
        padding: 0;
    }

    .rsa-menu {
        margin-left: auto;
    }
}

.rsa-menu .nav-link:hover,
.rsa-menu .nav-link:focus {
    color: #08333e;
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 14px rgba(5, 48, 52, 0.12);
    transform: translateY(-1px);
}

.rsa-menu .nav-link.active,
.rsa-menu .show > .nav-link {
    background: #ffffff;
    color: #072f39;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 14px rgba(5, 48, 52, 0.14);
}

.rsa-banner {
    position: relative;
    z-index: 1;
    background: linear-gradient(120deg, var(--rsa-teal), var(--rsa-blue-strong));
    padding: 0.55rem 0.8rem 0.6rem;
    min-height: 62px;
    display: grid;
    place-items: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.rsa-banner-reg {
    margin: 0;
    text-align: center;
    font-family: var(--rsa-font-ui);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
}

.rsa-banner-reg span {
    display: block;
    margin-top: 0.12rem;
}

.rsa-hero-visual {
    position: relative;
    min-height: calc(100vh - 108px - 62px);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rsa-hero-visual-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: saturate(0.95) contrast(1.02);
}

.rsa-hero-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05)),
        linear-gradient(90deg, rgba(5, 12, 20, 0.45), rgba(5, 12, 20, 0.2) 40%, rgba(5, 12, 20, 0.28));
}

.rsa-hero-visual-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    min-height: 100%;
    padding-top: 0;
    padding-bottom: clamp(2.5rem, 7vh, 6rem);
}

@media (max-width: 991px) {
    .rsa-banner {
        padding: 0.7rem 0.6rem 0.75rem;
    }

    .rsa-banner-reg {
        font-size: 0.85rem;
        line-height: 1.25;
        white-space: normal;
    }

    .rsa-navbar {
        z-index: 1020;
    }
}

.rsa-hero-card {
    margin-top: 300px;
    margin-bottom: 0;
    max-width: 760px;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(12, 24, 34, 0.2);
    animation: rsa-fade-up 0.9s ease both;
}

.rsa-hero-card h1 {
    margin: 0 0 0.75rem;
    font-family: var(--rsa-font-display);
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    line-height: 1.05;
    font-weight: 700;
    color: #12222a;
    text-transform: none;
    letter-spacing: -0.015em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

.rsa-hero-card h1 span {
    display: block;
}

.rsa-hero-card h2 {
    margin: 0 0 0.75rem;
    font-family: var(--rsa-font-ui);
    font-size: clamp(1.05rem, 1.8vw, 1.7rem);
    line-height: 1.25;
    font-weight: 600;
    color: #172133;
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}

.rsa-hero-card p {
    margin: 0 auto 1rem;
    /*max-width: 42ch;*/
    font-family: var(--rsa-font-ui);
    font-size: clamp(0.98rem, 1.05vw, 1.1rem);
    line-height: 1.5;
    color: #1f2a36;
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.rsa-hero-cta {
    background: linear-gradient(120deg, #ffd48a, #f9b975);
    color: #3a2410;
    border-color: rgba(58, 36, 16, 0.1);
    box-shadow: 0 12px 24px rgba(221, 160, 85, 0.28);
}

.rsa-hero-cta:hover,
.rsa-hero-cta:focus {
    color: #2f1e0d;
    background: #ffc86f;
    opacity: 1;
}

.rsa-wrap {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--rsa-side-space);
    padding-right: var(--rsa-side-space);
}

.rsa-panel {
    padding: 0;
    margin-top: 0;
}

.rsa-panel + .rsa-panel {
    margin-top: 0;
}

.rsa-section-slab {
    position: relative;
    z-index: 0;
    border-radius: 18px;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    margin-top: 0;
    margin-bottom: 0;
}

.rsa-slab-cream {
    background: transparent;
}

.rsa-slab-blue {
    background: transparent;
    color: #fff;
}

.rsa-section-slab::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
}

.rsa-slab-cream::before {
    background: linear-gradient(180deg, #f5f2ea, #eee7d9);
}

.rsa-slab-blue::before {
    background: linear-gradient(160deg, #1e6d6a, #144744);
}

.rsa-slab-blue .rsa-display-title,
.rsa-slab-blue .rsa-display-sub,
.rsa-slab-blue .rsa-subtitle,
.rsa-slab-blue .rsa-asterisk {
    color: #fff;
}

.rsa-slab-blue .rsa-block-copy p,
.rsa-slab-blue .rsa-text-column p,
.rsa-slab-blue .rsa-white-copy p,
.rsa-slab-blue .rsa-white-copy li {
    color: rgba(255, 255, 255, 0.97);
}

.rsa-slab-blue .rsa-contact-line,
.rsa-slab-blue .rsa-contact-line a {
    color: #fff;
}

.rsa-slab-blue .rsa-split-card {
    background: rgba(255, 255, 255, 0.92);
    color: var(--rsa-text);
}

.rsa-slab-blue .rsa-split-card .rsa-display-title,
.rsa-slab-blue .rsa-split-card .rsa-display-sub,
.rsa-slab-blue .rsa-split-card .rsa-subtitle,
.rsa-slab-blue .rsa-split-card p,
.rsa-slab-blue .rsa-split-card li {
    color: var(--rsa-text);
}

.rsa-slab-cream .rsa-white-copy p,
.rsa-slab-cream .rsa-white-copy li {
    color: #1a1a1a;
}

.rsa-section-slab-joined {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.rsa-section-slab-gallery {
    margin-top: 0;
}

.rsa-section-slab-gallery::before {
    background: linear-gradient(180deg, #f5f2ea, #eee7d9);
}

.rsa-panel-cream {
    background: #f4f1ea;
}

.rsa-panel-blue {
    background: #1c5d5a;
}

.rsa-block {
    height: 100%;
}

.rsa-block-copy {
    padding: clamp(1.2rem, 3vw, 2.25rem) 0;
}

.rsa-asterisk {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #171717;
}

.rsa-display-title {
    margin: 0 0 1rem;
    font-family: var(--rsa-font-display);
    font-size: clamp(1.7rem, 3.3vw, 3rem);
    line-height: 1.1;
    text-transform: none;
    letter-spacing: -0.01em;
    color: #0b1b2b;
}

.rsa-display-title-white {
    color: #fff;
}

.rsa-annual-title {
    white-space: normal;
    font-size: clamp(1.75rem, 3.6vw, 3.2rem);
    line-height: 1.06;
}

.rsa-display-sub {
    margin: 0;
    font-family: var(--rsa-font-display);
    font-size: clamp(1.05rem, 2.2vw, 1.85rem);
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -0.01em;
    color: #000;
}

.rsa-subtitle {
    margin: 1.15rem 0 0.65rem;
    font-family: var(--rsa-font-ui);
    font-weight: 700;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.25;
    text-transform: none;
    color: #0b1b2b;
}

.rsa-block-copy p,
.rsa-text-column p {
    font-family: var(--rsa-font-ui);
    font-size: clamp(1rem, 1.08vw, 1.12rem);
    line-height: 1.68;
    color: #1f2a36;
    margin: 0 0 0.85rem;
}

.rsa-contact-form .form-control {
    font-family: var(--rsa-font-ui);
    font-size: 1rem;
    line-height: 1.4;
    border-radius: 12px;
    border: 1px solid rgba(17, 32, 39, 0.2);
}

.rsa-contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: clamp(1.2rem, 3vw, 2rem);
    box-shadow: 0 18px 40px rgba(11, 27, 43, 0.18);
}

.rsa-contact-form .form-label {
    font-weight: 600;
    color: #1a2c33;
}

.rsa-contact-form .form-control,
.rsa-contact-form textarea {
    background: #f8fafb;
    border-color: rgba(17, 32, 39, 0.15);
}

.rsa-contact-subtitle {
    font-size: 0.95rem;
    color: #5a6a72;
    margin: 0 0 0.25rem;
}

.rsa-contact-form .form-control:focus,
.rsa-contact-form textarea:focus {
    border-color: rgba(25, 98, 96, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(25, 98, 96, 0.12);
}

.rsa-contact-submit {
    width: 100%;
    text-align: center;
    background: linear-gradient(120deg, #ff8a1f, #f35a27) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(243, 90, 39, 0.35);
}

.rsa-contact-submit:hover,
.rsa-contact-submit:focus {
    background: linear-gradient(120deg, #ff9a38, #ff6b34) !important;
    color: #fff !important;
    opacity: 1;
}

.rsa-contact-aside-title {
    font-weight: 700;
    color: #eaf4f2;
    font-size: clamp(1.2rem, 1.5vw, 1.55rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
    letter-spacing: 0.01em;
}

.rsa-contact-info-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 26px rgba(11, 27, 43, 0.14);
    margin-bottom: 0.9rem;
}

.rsa-contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(30, 120, 104, 0.12);
    display: grid;
    place-items: center;
    color: #1c6b66;
}

.rsa-contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.rsa-contact-info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5a62;
}

.rsa-contact-info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2c33;
}

.rsa-contact-info-note {
    font-size: 0.85rem;
    color: #6a7a82;
}

.rsa-contact-map {
    overflow: hidden;
    border-radius: 16px;
    min-height: 250px;
    background: #dbe5ec;
}

.rsa-contact-map iframe {
    width: 100%;
    min-height: 250px;
    height: 100%;
    border: 0;
    display: block;
}

.rsa-contact-form label {
    font-weight: 600;
}

.rsa-form-alert {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.9rem 1rem;
    border-radius: 12px;
}

.rsa-panel-compact .rsa-section-slab {
    padding: clamp(1.2rem, 2vw, 1.6rem);
}

.rsa-split-card {
    background: rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    padding: clamp(1rem, 2vw, 1.6rem);
    box-shadow: 0 10px 25px rgba(11, 27, 43, 0.08);
}

.rsa-split-card h3 {
    margin-top: 0;
}

.rsa-photo-tall {
    height: 100%;
}

.rsa-photo-tall img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border: 0;
    border-radius: 14px;
    display: block;
    max-width: 100%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    margin-top: 0.65rem;
}

.rsa-photo-initial img {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

.rsa-sealing-row {
    padding: clamp(1rem, 2.5vw, 2rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.rsa-text-column {
    padding: 0.2rem 0.2rem 0;
    max-width: 100%;
}

.rsa-photo-frame {
    width: 100%;
    max-width: 100%;
    display: block;
    border: 0;
    border-radius: 14px;
    object-fit: cover;
    background: #ddd;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    margin-top: 0.65rem;
}

.rsa-panel .row + .row {
    margin-top: 0.75rem;
}

.rsa-sealing-row { margin-top: 0 !important; }

.rsa-photo-short {
    aspect-ratio: 1 / 1.05;
}

.rsa-photo-wide {
    aspect-ratio: 16 / 9;
}

.rsa-photo-stack {
    aspect-ratio: 4 / 3;
    margin-top: 0.35rem;
}

.rsa-photo-doc {
    aspect-ratio: 16 / 10;
}

.rsa-photo-square {
    aspect-ratio: 1 / 1;
}

.rsa-photo-tallish {
    aspect-ratio: 3 / 4;
}

.rsa-white-copy {
    color: #fff;
    padding: clamp(1rem, 2.2vw, 1.8rem) 0;
    max-width: 100%;
}

.rsa-white-copy p,
.rsa-white-copy li {
    color: rgba(255, 255, 255, 0.96);
    font-family: var(--rsa-font-ui);
    font-size: clamp(1rem, 1vw, 1.08rem);
    line-height: 1.58;
}

.rsa-white-copy ol,
.rsa-white-copy ul {
    padding-left: 1.25rem;
    margin: 0 0 0.75rem;
}

.rsa-white-copy li {
    margin-bottom: 0.35rem;
}

.rsa-doc-title {
    max-width: 6.8ch;
    margin-bottom: 1.1rem;
    font-size: clamp(1.8rem, 3.9vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.rsa-equip-head {
    margin-bottom: 0.4rem;
}

.rsa-blue-gallery {
    background: transparent;
    padding: 0 0 clamp(1.4rem, 2.8vw, 2.4rem);
}

.rsa-panel-blue .rsa-wrap {
    padding-bottom: 1.15rem;
}

.rsa-contact-panel {
    padding: clamp(1.2rem, 3vw, 2.25rem) 0 clamp(1.5rem, 3vw, 2.75rem);
}

.rsa-contact-shell {
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: start !important;
}

.rsa-contact-head {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(17, 44, 58, 0.12);
}

.rsa-contact-head .rsa-display-title {
    margin-bottom: 0.25rem;
    color: #0d2230;
    text-shadow: none;
    font-size: clamp(2.2rem, 4.2vw, 3.65rem);
    line-height: 1.02;
}

.rsa-contact-head p {
    margin: 0;
    color: #2c4452;
    font-size: clamp(1.08rem, 1.2vw, 1.22rem);
}

.rsa-contact-card,
.rsa-contact-side {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 12px 28px rgba(8, 33, 52, 0.14);
}

.rsa-contact-card {
    height: 100%;
}

.rsa-contact-card-unified .rsa-contact-side {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.rsa-contact-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
}

.rsa-contact-shell .rsa-display-title,
.rsa-contact-shell .rsa-display-sub {
    color: #111;
}

.rsa-contact-shell .rsa-contact-line,
.rsa-contact-shell .rsa-contact-line a {
    color: #111;
}

.rsa-contact-shell .rsa-contact-line a {
    color: #3668ff;
}

.rsa-contact-title {
    max-width: 7ch;
    margin-bottom: 0.75rem;
}

.rsa-contact-lines {
    margin-bottom: 1rem;
}

.rsa-contact-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--rsa-font-ui);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    margin: 0 0 0.5rem;
}

.rsa-contact-line a {
    color: #3d69ff;
    font-weight: 700;
    word-break: break-word;
}

.rsa-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    justify-content: center;
    align-items: center;
    line-height: 1;
    border-radius: 999px;
    background: rgba(13, 135, 213, 0.1);
    color: #0d5b90;
    flex: 0 0 2rem;
}

.rsa-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

.rsa-map-placeholder {
    aspect-ratio: 16 / 9;
    max-width: 560px;
}

.rsa-map-embed {
    padding: 0;
    overflow: hidden;
    background: #e7edf5;
}

.rsa-map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    display: block;
}

.rsa-follow-card {
    max-width: 420px;
    font-family: var(--rsa-font-ui);
}

.rsa-social-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.rsa-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.7rem;
    border-radius: 12px;
    background: #eef5fb;
    color: #16324a;
    text-decoration: none;
    font-family: var(--rsa-font-ui);
    font-weight: 600;
    border: 1px solid rgba(13, 135, 213, 0.12);
    transition: background-color .15s ease, transform .15s ease;
}

.rsa-social-btn:hover,
.rsa-social-btn:focus {
    background: #e3f0fb;
    color: #10283b;
    transform: translateY(-1px);
}

.rsa-social-btn svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
    flex: 0 0 auto;
}

.rsa-x-handle {
    margin: 0 0 0.6rem;
    font-family: var(--rsa-font-ui);
}

.rsa-x-handle a {
    color: #3668ff;
    font-weight: 700;
}

.rsa-follow-card p,
.rsa-follow-card a {
    font-size: 1.1rem;
}

.rsa-contact-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin: 1rem 0 1rem;
}

.rsa-contact-card-unified .rsa-contact-divider {
    margin: 0.85rem 0 0.85rem;
}

.rsa-section {
    background: transparent;
    padding: 4rem min(6vw, 4rem);
}

.rsa-section-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    align-items: center;
}

.rsa-content h2,
.rsa-section-head h2,
.rsa-contact h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    margin: 0 0 0.85rem;
    line-height: 1.1;
}

.rsa-content p,
.rsa-card p,
.rsa-contact p {
    font-family: var(--rsa-font-ui);
    font-weight: 400;
    color: var(--rsa-muted);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.rsa-eyebrow {
    margin: 0 0 0.65rem;
    color: #0c5d93;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-family: var(--rsa-font-ui);
    font-weight: 700;
}

.rsa-btn {
    display: inline-block;
    background: #e7f3fb;
    color: #0b1b2b;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(11, 27, 43, 0.12);
    font-family: var(--rsa-font-ui);
    font-weight: 700;
    transition: transform .15s ease, opacity .15s ease;
}

.rsa-btn:hover,
.rsa-btn:focus {
    color: #000;
    opacity: 0.9;
    transform: translateY(-1px);
}

.rsa-btn-secondary {
    background: #0b1b2b;
    color: #fff;
}

.rsa-btn-secondary:hover,
.rsa-btn-secondary:focus {
    color: #fff;
}

.rsa-muted {
    color: var(--rsa-muted);
}

.rsa-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 36px rgba(31, 37, 45, 0.08);
}

.rsa-section-head {
    margin-bottom: 1.5rem;
}

.rsa-section-lead {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--rsa-muted);
    margin: 0;
    max-width: 70ch;
}

.rsa-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.rsa-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    padding: 0.95rem;
    box-shadow: 0 10px 26px rgba(31, 37, 45, 0.05);
}

.rsa-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.rsa-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
    line-height: 1.2;
}

.rsa-contact {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rsa-contact-box {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 10px 24px rgba(31, 37, 45, 0.05);
}

.rsa-contact-box p {
    margin-bottom: 0.6rem;
}

@media (max-width: 991px) {
    .rsa-site #top,
    .rsa-site #services,
    .rsa-site #about,
    .rsa-site #maintenance,
    .rsa-site #equipment,
    .rsa-site #contact {
        scroll-margin-top: 108px;
    }

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

    .rsa-cards {
        grid-template-columns: 1fr;
    }

    .rsa-nav-shell {
        min-height: auto;
        align-items: center !important;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0.25rem;
        padding-bottom: 0.6rem;
    }

    #rsaMainNav {
        width: 100%;
        flex-basis: 100%;
        background: transparent;
        border-radius: 0;
        padding: 0;
    }

    .rsa-hero {
        padding-top: 112px;
    }

    .rsa-page-container {
        padding-top: 105px !important;
    }

    .rsa-brand {
        margin-bottom: 0;
    }

    .rsa-logo-circle-lg {
        width: 78px;
        height: 78px;
        font-size: 0.7rem;
        border-width: 3px;
    }

    .rsa-logo-vertical {
        font-size: 0.72rem;
        display: none;
    }

    .rsa-menu {
        gap: 0;
        align-items: stretch;
        padding: 0.35rem 0.75rem;
        margin-top: 0.5rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        width: 100%;
        max-width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: none;
    }

    .rsa-menu .nav-link {
        font-size: 0.95rem;
        padding: 0.75rem 0.5rem;
        border-radius: 10px;
        text-align: center;
    }

    .rsa-banner {
        min-height: 72px;
        padding: 0.6rem 0.65rem 0.65rem;
    }

    .rsa-banner-reg {
        font-size: 0.82rem;
        line-height: 1.2;
        letter-spacing: 0.01em;
        white-space: normal;
    }

    .rsa-hero-visual {
        min-height: calc(100vh - 112px - 102px);
        align-items: center;
    }

    .rsa-hero-card {
        padding: 0.95rem 0.75rem;
        border-radius: 14px;
    }

    .rsa-hero-card h2 {
        font-size: clamp(1.2rem, 6vw, 1.75rem);
    }

    .rsa-hero-card h1 {
        font-size: clamp(1.2rem, 6.2vw, 1.9rem);
        line-height: 1.06;
    }

    .rsa-hero-card p {
        font-size: 0.95rem;
    }

    .rsa-wrap {
        --bs-gutter-x: 0.9rem;
        padding-left: var(--rsa-side-space);
        padding-right: var(--rsa-side-space);
    }

    .rsa-block-copy,
    .rsa-sealing-row,
    .rsa-white-copy,
    .rsa-contact-panel {
        padding-left: 0;
        padding-right: 0;
    }

    .rsa-panel + .rsa-panel {
        margin-top: 0;
    }

    .rsa-section-slab {
        border-radius: 12px;
        padding: 0.85rem;
        margin-top: 0;
    }

    .rsa-slab-blue {
        border-radius: 0;
    }

    .rsa-panel-blue .rsa-wrap,
    .rsa-panel-cream .rsa-wrap {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .rsa-panel-blue .rsa-wrap {
        padding-bottom: 1.15rem;
    }

    .rsa-panel-blue .row {
        --bs-gutter-x: 0.9rem;
        --bs-gutter-y: 1rem;
    }

    .rsa-panel .row {
        --bs-gutter-y: 0.95rem;
    }

    /* In mobile, show process items as bullet points instead of numbered list */
    #process .rsa-white-copy {
        list-style-type: disc;
        padding-left: 1.15rem;
        margin-left: 0;
    }

    .rsa-sealing-row .col-6 {
        width: 100%;
        flex: 0 0 100%;
    }

    .rsa-nav-shell.container,
    .rsa-wrap.container {
        max-width: 100%;
    }

    .rsa-photo-tall,
    .rsa-photo-frame {
        margin-bottom: 0.15rem;
    }

    .rsa-photo-frame,
    .rsa-photo-tall img {
        margin-top: 0.85rem;
    }

    .rsa-block-copy,
    .rsa-text-column,
    .rsa-white-copy {
        overflow-wrap: anywhere;
    }

    .rsa-photo-tall img {
        min-height: 220px;
        max-height: 260px;
    }

    .rsa-photo-initial img {
        aspect-ratio: 16 / 10;
        max-height: 250px;
    }

    .rsa-display-title {
        line-height: 0.98;
        margin-bottom: 0.9rem;
        font-size: clamp(1.7rem, 8.5vw, 2.4rem);
    }

    .rsa-display-sub {
        font-size: clamp(1.05rem, 6vw, 1.5rem);
    }

    .rsa-annual-title {
        white-space: normal;
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 0.98;
    }

    .rsa-white-copy {
        padding: 0.4rem 0;
    }

    .rsa-white-copy p,
    .rsa-white-copy li {
        font-size: 1rem;
        line-height: 1.58;
    }

    .rsa-white-copy ol,
    .rsa-white-copy ul {
        padding-left: 1rem;
        margin: 0 0 0.9rem;
    }

    .rsa-white-copy li {
        margin-bottom: 0.5rem;
    }

    .rsa-text-column p,
    .rsa-block-copy p {
        font-size: 1rem;
        line-height: 1.58;
        margin-bottom: 0.7rem;
    }

    .rsa-photo-short {
        aspect-ratio: 16 / 10;
        max-height: 220px;
    }

    .rsa-photo-wide {
        aspect-ratio: 16 / 10;
        max-height: 240px;
    }

    .rsa-photo-stack {
        aspect-ratio: 16 / 10;
        max-height: 200px;
    }

    .rsa-photo-doc {
        aspect-ratio: 16 / 10;
        max-height: 230px;
    }

    .rsa-photo-square {
        aspect-ratio: 16 / 11;
        max-height: 190px;
    }

    .rsa-photo-tallish {
        aspect-ratio: 16 / 11;
        max-height: 210px;
    }

    .rsa-map-placeholder {
        aspect-ratio: 16 / 10;
        max-height: 220px;
    }

    .rsa-map-embed iframe {
        min-height: 220px;
    }

    .rsa-sealing-row {
        padding-top: 1.15rem;
        padding-bottom: 1.25rem;
        margin-top: 0 !important;
    }

    .rsa-sealing-row.rsa-section-slab {
        padding-top: 0.95rem;
        padding-bottom: 1rem;
    }

    .rsa-photo-frame,
    .rsa-photo-tall img {
        border-radius: 12px;
    }

    .rsa-photo-stack {
        margin-top: 0.2rem;
    }

    .rsa-contact-box {
        margin-top: 0.75rem;
    }

    .rsa-contact-card,
    .rsa-contact-side {
        padding: 0.95rem;
        border-radius: 14px;
    }

    .rsa-social-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .rsa-contact-panel .text-lg-end {
        text-align: left !important;
    }

    .rsa-follow-card {
        max-width: none;
    }

    .rsa-blue-gallery {
        padding-top: 1rem;
        padding-bottom: 1.15rem;
    }

    .rsa-doc-title {
        max-width: none;
        font-size: clamp(1.6rem, 8vw, 2.25rem);
        line-height: 0.96;
        margin-bottom: 0.8rem;
    }
}

/* Prevent Bootstrap margin utility classes from creating visible gaps inside the landing layout */
.rsa-site .rsa-section-slab.mt-1,
.rsa-site .rsa-section-slab.mt-2,
.rsa-site .rsa-section-slab.mt-4,
.rsa-site .rsa-section-slab.mt-lg-5,
.rsa-site .rsa-blue-gallery.mt-4 {
    margin-top: 0 !important;
}
.rsa-service-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 27, 43, 0.08);
    border-radius: 18px;
    padding: 1.4rem 1.25rem;
    box-shadow: 0 16px 30px rgba(12, 24, 34, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rsa-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(28, 167, 165, 0.18), transparent 55%);
    opacity: 0;
    transition: opacity .2s ease;
}

.rsa-service-card:hover,
.rsa-service-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(12, 24, 34, 0.14);
    border-color: rgba(28, 167, 165, 0.35);
}

.rsa-service-card:hover::before,
.rsa-service-card:focus-within::before {
    opacity: 1;
}

.rsa-service-card .rsa-subtitle {
    margin-top: 0;
}

.rsa-service-card p {
    margin-bottom: 0;
}

.rsa-panel-cream a {
    color: #0b4f7c;
    text-decoration: none;
    font-weight: 600;
}

.rsa-panel-cream a:hover,
.rsa-panel-cream a:focus {
    text-decoration: underline;
}

@keyframes rsa-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
