:root {
    --ink: #1A202C;
    --slate: #4A5568;
    --line: #CBD5E0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

img {
    filter: saturate(0.78) contrast(1.05);
}

.section-label {
    color: var(--slate);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.industrial-panel {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 0.25rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.industrial-panel:hover {
    box-shadow: 0 10px 30px rgba(26, 32, 44, 0.08);
}

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

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

.spec-table dt,
.spec-table dd {
    border-top: 1px solid var(--line);
    padding: 0.9rem 0;
}

.business-details-section {
    background:
        linear-gradient(90deg, rgba(26, 32, 44, 0.04) 0 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.business-details-intro {
    border-left: 4px solid var(--ink);
    padding-left: 1.5rem;
}

.business-details-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(26, 32, 44, 0.08);
}

.business-details-list {
    display: grid;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
}

.business-details-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.58fr);
    gap: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.business-details-row:last-child {
    border-bottom: 0;
}

.business-details-label {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.business-details-value {
    color: var(--slate);
    font-size: 0.92rem;
    line-height: 1.65;
}

.why-us-section {
    background:
        linear-gradient(180deg, #eef3f8 0%, #e9eff5 100%);
}

.why-us-intro {
    position: sticky;
    top: 8rem;
    align-self: start;
}

.why-us-stats {
    box-shadow: 0 18px 45px rgba(26, 32, 44, 0.06);
}

.why-us-card {
    min-height: 138px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 1.35rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.why-us-card:hover {
    border-color: var(--ink);
    box-shadow: 0 18px 38px rgba(26, 32, 44, 0.08);
    transform: translateY(-2px);
}

.why-us-number {
    display: grid;
    height: 2.75rem;
    width: 2.75rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--line);
    background: #f8fafc;
    color: var(--slate);
    font-size: 0.78rem;
    font-weight: 900;
}

.why-us-card:hover .why-us-number {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.quality-hero {
    background:
        linear-gradient(135deg, rgba(26, 32, 44, 0.95), rgba(26, 32, 44, 0.86)),
        #1A202C;
}

.quality-hero-media {
    min-height: 360px;
    border: 1px solid rgba(203, 213, 224, 0.35);
    overflow: hidden;
}

.quality-process-card {
    min-height: 210px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 2rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.quality-process-card:hover {
    border-color: var(--ink);
    box-shadow: 0 18px 38px rgba(26, 32, 44, 0.08);
    transform: translateY(-2px);
}

.quality-infra-section {
    background:
        linear-gradient(90deg, rgba(26, 32, 44, 0.04) 0 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
}

.quality-infra-list {
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 22px 55px rgba(26, 32, 44, 0.07);
}

.quality-infra-item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.35rem;
}

.quality-infra-item:last-child {
    border-bottom: 0;
}

.quality-infra-index {
    display: grid;
    height: 2.75rem;
    width: 2.75rem;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

.contact-hero {
    background:
        linear-gradient(90deg, rgba(26, 32, 44, 0.04) 0 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
}

.contact-card,
.contact-form-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 22px 55px rgba(26, 32, 44, 0.07);
}

.contact-info-list {
    display: grid;
    gap: 0;
    padding: 0 1.5rem;
}

.contact-info-row {
    display: grid;
    gap: 0.45rem;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.15rem 0;
}

.contact-info-row:last-child {
    border-bottom: 0;
}

.contact-info-label {
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-info-value {
    color: var(--slate);
    font-size: 0.93rem;
    line-height: 1.7;
}

.contact-map {
    margin: 0 1.5rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #f8fafc;
}

.contact-form-card {
    padding: 1.75rem;
}

.contact-field {
    display: grid;
    gap: 0.55rem;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 800;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #f8fafc;
    padding: 0.9rem 1rem;
    color: var(--ink);
    font-weight: 400;
    outline: none;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--ink);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 32, 44, 0.08);
}

.contact-submit {
    width: fit-content;
    background: var(--ink);
    padding: 1rem 1.5rem;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 160ms ease, transform 160ms ease;
}

.contact-submit:hover {
    background: #2d3748;
    transform: translateY(-1px);
}

.home-stats-section {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.home-stats {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.home-stat {
    border-bottom: 1px solid var(--line);
    padding: 1.5rem;
}

.home-stat:last-child {
    border-bottom: 0;
}

.home-search {
    background: #fff;
    box-shadow: 0 14px 34px rgba(26, 32, 44, 0.06);
}

.home-category-card,
.home-product-card,
.home-execution-card {
    display: block;
    border: 1px solid var(--line);
    background: #fff;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-category-card:hover,
.home-product-card:hover,
.home-execution-card:hover {
    border-color: var(--ink);
    box-shadow: 0 18px 38px rgba(26, 32, 44, 0.08);
    transform: translateY(-2px);
}

.home-category-card {
    display: flex;
    flex-direction: column;
    min-height: 32rem;
    overflow: hidden;
}

.home-category-card .p-5 {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.home-category-media {
    position: relative;
    height: 17rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}

.home-category-media img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    transform: translate(-50%, -50%);
    filter: none;
}

.home-category-cta {
    margin-top: auto !important;
    padding-top: 1.25rem;
}

.home-execution-section {
    background:
        linear-gradient(90deg, rgba(26, 32, 44, 0.04) 0 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
}

.home-execution-intro {
    border-left: 4px solid var(--ink);
    padding-left: 1.5rem;
}

.home-execution-card {
    min-height: 168px;
    padding: 1.5rem;
}

.home-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 34rem;
    overflow: hidden;
}

.home-product-media {
    position: relative;
    height: 18rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}

.home-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.home-product-media img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: calc(100% - 2.5rem);
    max-height: calc(100% - 2.5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    transform: translate(-50%, -50%);
    filter: none;
}

.home-product-cta {
    align-self: flex-start;
    margin-top: auto !important;
}

.hero-image {
    min-height: 420px;
}

.banner-carousel {
    height: 78vh;
    min-height: 620px;
    max-height: 840px;
}

.banner-carousel .carousel-track,
.banner-carousel .carousel-slide {
    height: 100%;
}

.banner-carousel .carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 12, 22, 0.62) 0%, rgba(5, 12, 22, 0.22) 44%, rgba(5, 12, 22, 0.46) 100%),
        linear-gradient(180deg, rgba(5, 12, 22, 0.28) 0%, rgba(5, 12, 22, 0) 42%, rgba(5, 12, 22, 0.34) 100%);
}

.hero-banner-image {
    display: block;
    position: relative;
    z-index: 0;
    object-fit: cover;
    object-position: center;
}

.banner-copy {
    align-items: center;
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
    gap: 2rem;
    width: 100%;
    max-width: none;
    padding-right: clamp(1.25rem, 4.2vw, 5.5rem);
    padding-left: clamp(1.25rem, 4.2vw, 5.5rem);
    color: #fff;
    isolation: isolate;
}

.banner-copy-left {
    position: relative;
    justify-self: start;
    max-width: 12ch;
    border-left: 5px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(90deg, rgba(5, 12, 22, 0.76), rgba(5, 12, 22, 0.16));
    padding: 1.15rem 1.35rem 1.3rem;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.35vw, 5rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.72), 0 8px 28px rgba(0, 0, 0, 0.58);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.banner-copy-left::before {
    content: "Since 1962";
    display: block;
    margin-bottom: 0.7rem;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    line-height: 1;
    text-transform: uppercase;
}

.banner-copy-left--plain {
    max-width: 14ch;
}

.banner-copy-left--plain::before {
    display: none;
}

.banner-copy-right {
    align-self: start;
    justify-self: end;
    max-width: 18rem;
    margin-top: clamp(2rem, 7vh, 4.25rem);
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(5, 12, 22, 0.68);
    padding: 1rem 1.15rem;
    color: #ffffff;
    font-size: clamp(1.05rem, 1.45vw, 1.65rem);
    font-weight: 900;
    line-height: 1.12;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.72), 0 8px 24px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(10px);
}

.banner-carousel > .pointer-events-none {
    z-index: 20;
}

@media (min-width: 768px) and (max-width: 1180px) {
    .banner-copy {
        grid-template-columns: minmax(0, 0.62fr) minmax(13rem, 0.38fr);
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .banner-copy-left {
        font-size: clamp(2.8rem, 5.8vw, 4.1rem);
    }

    .banner-copy-right {
        max-width: 15rem;
        font-size: clamp(0.98rem, 1.8vw, 1.25rem);
    }
}

@media (max-width: 767px) {
    .hero-image {
        min-height: 300px;
    }

    .banner-carousel {
        height: 72vh;
        min-height: 500px;
        max-height: 680px;
    }

    .hero-banner-image {
        background: var(--ink);
        object-fit: cover;
        object-position: center center;
    }

    .banner-copy {
        align-content: space-between;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-right: 1rem;
        padding-left: 1rem;
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }

    .banner-copy-left {
        max-width: 12ch;
        padding: 0.9rem 1rem 1rem;
        font-size: 2.05rem;
    }

    .banner-copy-right {
        justify-self: end;
        max-width: 13rem;
        margin-top: 0;
        padding: 0.85rem 0.95rem;
        font-size: 0.95rem;
    }

    .banner-carousel > .pointer-events-none {
        bottom: 1rem;
    }

    .banner-carousel > .pointer-events-none > div {
        align-items: flex-end;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .banner-carousel .carousel-dots {
        gap: 0.55rem;
    }

    .banner-carousel .carousel-dot {
        height: 0.7rem;
        width: 0.7rem;
    }

    .banner-carousel .carousel-prev,
    .banner-carousel .carousel-next {
        padding: 0.78rem 0.95rem;
        font-size: 0.76rem;
    }

    .business-details-intro {
        border-left-width: 3px;
        padding-left: 1rem;
    }

    .business-details-list {
        padding: 0.5rem 1rem 1rem;
    }

    .business-details-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 0.9rem 0;
    }

    .why-us-intro {
        position: static;
    }

    .why-us-card {
        min-height: auto;
    }

    .quality-hero-media,
    .quality-process-card {
        min-height: auto;
    }

    .quality-infra-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-form-card {
        padding: 1.25rem;
    }

    .contact-map {
        margin: 0 1rem;
    }

    .contact-submit {
        width: 100%;
    }

    body > a.fixed[href="contact.php#inquiry"] {
        right: 1rem;
        bottom: 1rem;
        padding: 0.85rem 1rem;
        font-size: 0.78rem;
    }

    .home-stats {
        border-right: 0;
        border-left: 0;
    }

    .home-execution-intro {
        border-left-width: 3px;
        padding-left: 1rem;
    }

    .home-execution-card {
        min-height: auto;
    }

    .home-category-card {
        min-height: 28rem;
    }

    .home-category-media {
        height: 13rem;
    }

    .home-product-media {
        height: 11rem;
    }
}

@media (min-width: 768px) {
    .home-stat {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .home-stat:last-child {
        border-right: 0;
    }
}
