:root {
    --ink: #1d2733;
    --steel: #214f74;
    --orange: #e56b1f;
    --gold: #f3b317;
    --sand: #fff8ef;
    --mist: #eef3f7;
    --line: rgba(29, 39, 51, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(243, 179, 23, 0.16), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #fff6ea 44%, #f5f8fb 100%);
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.section-eyebrow {
    font-family: "Montserrat", sans-serif;
}

.top-strip {
    background: linear-gradient(90deg, #142332 0%, #214f74 52%, #e56b1f 100%);
    color: #fff;
    font-size: 0.98rem;
}

.top-strip a {
    color: #fff;
    text-decoration: none;
}

.top-strip .item {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.35rem;
}

.top-strip i {
    color: var(--gold);
    margin-right: 0.45rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 250, 244, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.navbar-brand img {
    width: 167px;
    height: auto;
    display: block;
}

.navbar-nav .nav-link {
    color: var(--ink);
    font-weight: 700;
    padding: 0.6rem 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--orange);
}

.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hero-carousel-section {
    position: relative;
    --hero-carousel-height: 72vh;
}

.hero-carousel-section .carousel-item {
    position: relative;
    height: var(--hero-carousel-height);
    min-height: var(--hero-carousel-height);
}

.carousel-media,
.carousel-shade {
    position: absolute;
    inset: 0;
}

.carousel-media {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.carousel-shade {
    background:
        linear-gradient(90deg, rgba(20, 35, 50, 0.86) 0%, rgba(20, 35, 50, 0.58) 42%, rgba(20, 35, 50, 0.24) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.32));
}

.hero-carousel-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: var(--hero-carousel-height);
}

.carousel-copy {
    max-width: 700px;
    color: #fff;
    padding: 4.8rem 0;
}

.section-eyebrow.carousel-eyebrow {
    background: rgba(255, 255, 255, 0.96);
    color: var(--steel);
    box-shadow: 0 12px 28px rgba(20, 35, 50, 0.18);
}

.carousel-copy h2 {
    margin-top: 1rem;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.carousel-copy p {
    max-width: 640px;
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    margin-top: 1rem;
    margin-bottom: 0;
}

.hero-carousel-section .carousel-indicators {
    margin-bottom: 1.5rem;
}

.hero-carousel-section .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    margin: 0 0.35rem;
    background-color: rgba(255, 255, 255, 0.45);
}

.hero-carousel-section .carousel-indicators .active {
    background-color: var(--gold);
}

.hero-carousel-section .carousel-control-prev,
.hero-carousel-section .carousel-control-next {
    width: 8%;
    opacity: 0.95;
}

.hero-carousel-section .carousel-control-prev-icon,
.hero-carousel-section .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    background-size: 52% 52%;
}

.hero,
.section-block {
    padding: 5rem 0;
}

#contact.section-block {
    padding-bottom: 1rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(243, 179, 23, 0.18);
    color: var(--steel);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(229, 107, 31, 0.12);
}

.hero h1 {
    margin-top: 1.2rem;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.lead-text,
.section-heading p,
.card-copy,
.faq-item p,
.contact-panel p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(29, 39, 51, 0.8);
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.65rem;
}

.hero-point,
.panel-card,
.mini-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(29, 39, 51, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(19, 35, 50, 0.07);
}

.hero-point {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
}

.hero-point i,
.mini-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    font-size: 1.2rem;
}

.btn-brand,
.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.btn-brand {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    box-shadow: 0 16px 34px rgba(229, 107, 31, 0.24);
}

.btn-outline-brand {
    color: var(--steel);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(33, 79, 116, 0.15);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-card {
    position: relative;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 30px 70px rgba(20, 35, 50, 0.12);
}

.hero-card img,
.brochure-image,
.card-image {
    width: 100%;
    display: block;
    border-radius: 22px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(33, 79, 116, 0.08), rgba(229, 107, 31, 0.08));
}

.hero-card img {
    object-position: center top;
}

.equipment-image,
.mrl-machine-image {
    object-fit: contain;
    padding: 0.8rem;
    background: #fff;
}

.maintenance-photos {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    height: 100%;
    min-height: 430px;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(29, 39, 51, 0.08);
    box-shadow: 0 30px 70px rgba(20, 35, 50, 0.12);
}

.maintenance-photos img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(33, 79, 116, 0.08), rgba(229, 107, 31, 0.08));
}

.maintenance-photo-main {
    grid-row: span 2;
    object-position: center;
}

.hero-badge {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #193147, #214f74);
    color: #fff;
    box-shadow: 0 18px 40px rgba(25, 49, 71, 0.25);
}

.section-heading {
    margin-bottom: 2.3rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    margin-top: 1rem;
    font-weight: 800;
}

.panel-card {
    height: 100%;
    overflow: hidden;
}

.panel-body {
    padding: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(33, 79, 116, 0.08);
    color: var(--steel);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(229, 107, 31, 0.14);
}

.mini-card {
    padding: 1.35rem;
    height: 100%;
}

.mini-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.soft-panel {
    background: linear-gradient(180deg, rgba(33, 79, 116, 0.92), rgba(20, 35, 50, 0.95));
    color: #fff;
}

.soft-panel .section-heading p,
.soft-panel .card-copy,
.soft-panel .detail-list li {
    color: rgba(255, 255, 255, 0.84);
}

.soft-panel .section-heading h2,
.soft-panel .panel-body h3 {
    color: #fff;
}

.soft-panel .section-eyebrow {
    color: #fff;
}

.soft-panel .panel-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.soft-panel .tag {
    background: rgba(243, 179, 23, 0.18);
    color: #fff;
}

.faq-card,
.contact-panel {
    height: 100%;
    padding: 1.7rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(29, 39, 51, 0.08);
    box-shadow: 0 20px 55px rgba(20, 35, 50, 0.08);
}

.faq-item {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.faq-item h4 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-right: 0.95rem;
    margin-bottom: 0.9rem;
    text-decoration: none;
    font-weight: 700;
    color: var(--steel);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.contact-tile {
    padding: 1rem;
    border-radius: 20px;
    background: var(--sand);
    border: 1px solid rgba(229, 107, 31, 0.12);
}

.contact-tile span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(29, 39, 51, 0.56);
    margin-bottom: 0.35rem;
}

.plan-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.plan-chip {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(243, 179, 23, 0.14);
    font-weight: 700;
}

.works-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(238, 243, 247, 0.76));
}

.works-section .section-heading {
    max-width: 820px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.work-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(29, 39, 51, 0.08);
    box-shadow: 0 18px 45px rgba(20, 35, 50, 0.09);
    text-decoration: none;
    isolation: isolate;
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 35, 50, 0) 42%, rgba(20, 35, 50, 0.76) 100%);
    pointer-events: none;
}

.work-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.work-card:hover img,
.work-card:focus img {
    transform: scale(1.045);
}

.work-card:nth-child(8) img,
.work-card:nth-child(9) img {
    object-position: center top;
}

.work-label {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.58rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--steel);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 12px 26px rgba(20, 35, 50, 0.16);
}

.work-label i {
    color: var(--orange);
    font-size: 1rem;
}

.footer {
    position: relative;
    margin-top: 1rem;
    padding: 0.95rem 0 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(90deg, #142332 0%, #214f74 52%, #e56b1f 100%);
    color: #fff;
    box-shadow: 0 -12px 30px rgba(20, 35, 50, 0.12);
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    text-align: center;
}

.footer p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .hero-carousel-section {
        --hero-carousel-height: 62vh;
    }

    .hero-carousel-section .carousel-item,
    .hero-carousel-section .container {
        min-height: var(--hero-carousel-height);
    }

    .carousel-copy {
        max-width: 560px;
        padding: 4rem 0;
    }

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

    .maintenance-photos {
        min-height: 360px;
    }

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

@media (max-width: 767.98px) {
    .hero-carousel-section {
        --hero-carousel-height: 34rem;
    }

    .hero-carousel-section .carousel-item,
    .hero-carousel-section .container {
        min-height: var(--hero-carousel-height);
    }

    .carousel-copy {
        padding: 3.2rem 0 4.4rem;
    }

    .carousel-copy h2 {
        font-size: 2.2rem;
    }

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

    .hero-carousel-section .carousel-control-prev,
    .hero-carousel-section .carousel-control-next {
        display: none;
    }

    .hero,
    .section-block {
        padding: 4rem 0;
    }

    .maintenance-photos {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 22px;
    }

    .maintenance-photos img {
        aspect-ratio: 16 / 9;
        height: auto;
        border-radius: 16px;
    }

    .maintenance-photo-main {
        grid-row: auto;
    }

    #contact.section-block {
        padding-bottom: 0.5rem;
    }

    .works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .work-card {
        border-radius: 18px;
    }

    .work-label {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.65rem;
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

    .footer p {
        font-size: 0.88rem;
    }
}

@media (max-width: 575.98px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}
