/* EVICK steel doors page — page-specific styles only */
.sd-page {
    --sd-red: #e30613;
    --sd-red-dark: #a90009;
    --sd-ink: #080808;
    --sd-panel: #121212;
    --sd-line: rgba(255, 255, 255, .1);
    background: var(--sd-ink);
    color: #fff;
    overflow: hidden;
}

.sd-page .sd-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.sd-page .sd-dark {
    background:
        radial-gradient(circle at 90% 5%, rgba(227, 6, 19, .12), transparent 31rem),
        #101010;
}

.sd-page .sd-kicker {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.1rem;
    color: var(--sd-red);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.sd-page .sd-kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    background: currentColor;
}

.sd-page h1 span,
.sd-page h2 span {
    color: var(--sd-red);
}

.sd-page .sd-heading {
    max-width: 820px;
    margin-bottom: clamp(2.3rem, 5vw, 4rem);
}

.sd-page .sd-heading h2,
.sd-page .sd-copy h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 4.8vw, 4.5rem);
    line-height: 1;
}

.sd-page .sd-heading > p {
    max-width: 700px;
    margin: 0;
}

.sd-hero {
    position: relative;
    min-height: 830px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    border-bottom: 4px solid var(--sd-red);
}

.sd-hero__media,
.sd-hero__shade {
    position: absolute;
    inset: 0;
}

.sd-hero__media {
    z-index: -3;
}

.sd-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .8) 45%, rgba(0, 0, 0, .32) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .9), transparent 65%);
}

.sd-hero__inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: end;
    padding-top: 12rem;
    padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.sd-hero__content {
    max-width: 900px;
}

.sd-hero h1 {
    max-width: 900px;
    margin-bottom: 1.5rem;
    font-size: clamp(3.25rem, 7vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.sd-hero__content > p {
    max-width: 720px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.sd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.sd-hero__facts {
    display: grid;
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
}

.sd-hero__facts div {
    padding: 1.4rem 1.5rem;
    background: rgba(5, 5, 5, .72);
}

.sd-hero__facts strong,
.sd-hero__facts span {
    display: block;
}

.sd-hero__facts strong {
    margin-bottom: .3rem;
    font-size: 1.08rem;
}

.sd-hero__facts span {
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
}

.sd-split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 7rem);
}

.sd-split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}

.sd-copy .sd-lead {
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.sd-feature-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 18px;
    background: #171717;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}

.sd-feature-image::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 5px;
    background: var(--sd-red);
}

.sd-feature-image img {
    display: block;
    width: 100%;
    min-height: 540px;
    object-fit: cover;
}

.sd-feature-image--contain {
    background: #f3f3f3;
}

.sd-feature-image--contain img {
    object-fit: contain;
    padding: 2rem;
}

.sd-feature-image figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent);
    color: rgba(255, 255, 255, .76);
    font-size: .8rem;
}

.sd-types {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--sd-line);
    background: var(--sd-line);
}

.sd-type {
    min-width: 0;
    padding: 2.2rem 1.7rem;
    background: #0c0c0c;
    transition: background .25s ease, transform .25s ease;
}

.sd-type:hover {
    z-index: 1;
    background: #181818;
    transform: translateY(-4px);
}

.sd-type__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(227, 6, 19, .4);
    background: rgba(227, 6, 19, .1);
    color: var(--sd-red);
    font-size: 1.25rem;
}

.sd-type h3,
.sd-option h3 {
    margin-bottom: .8rem;
    font-size: 1.25rem;
}

.sd-type p,
.sd-option p {
    font-size: .92rem;
}

.sd-type ul {
    display: grid;
    gap: .6rem;
    margin-top: 1.2rem;
}

.sd-type li {
    position: relative;
    padding-left: 1.15rem;
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
}

.sd-type li::before {
    content: "";
    position: absolute;
    top: .65em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sd-red);
}

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

.sd-option {
    min-height: 235px;
    padding: 2rem;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: linear-gradient(145deg, #171717, #0d0d0d);
}

.sd-option > i {
    margin-bottom: 1.4rem;
    color: var(--sd-red);
    font-size: 1.55rem;
}

.sd-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 2rem;
}

.sd-checks span {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 54px;
    padding: .8rem 1rem;
    border: 1px solid var(--sd-line);
    background: rgba(255, 255, 255, .025);
    color: rgba(255, 255, 255, .8);
    font-size: .88rem;
}

.sd-checks i {
    color: var(--sd-red);
}

.sd-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.sd-process article {
    min-height: 230px;
    padding: 1.7rem;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #111;
}

.sd-process strong {
    display: block;
    margin-bottom: 1.2rem;
    color: var(--sd-red);
    font-size: 1.8rem;
}

.sd-process h3 {
    margin-bottom: .65rem;
    font-size: 1.08rem;
}

.sd-process p {
    margin: 0;
    font-size: .86rem;
}

.sd-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    border-left: 3px solid var(--sd-red);
    background: rgba(255, 255, 255, .045);
}

.sd-notice > i {
    margin-top: .25rem;
    color: var(--sd-red);
}

.sd-notice p {
    margin: 0;
    font-size: .9rem;
}

.sd-gallery-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(227, 6, 19, .11), transparent 28rem),
        #111;
}

.sd-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 310px;
    gap: 1rem;
}

.sd-gallery__item {
    position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #191919;
    color: #fff;
    cursor: zoom-in;
}

.sd-gallery__item--wide {
    grid-column: span 2;
}

.sd-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
}

.sd-gallery__item:not(.sd-gallery__item--wide) img {
    object-fit: contain;
    padding: 1.2rem;
    background: #f2f2f2;
}

.sd-gallery__item span {
    position: absolute;
    right: .8rem;
    bottom: .8rem;
    left: .8rem;
    padding: .7rem .85rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(0, 0, 0, .72);
    font-size: .78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.sd-gallery__item:hover img,
.sd-gallery__item:focus-visible img {
    transform: scale(1.04);
    filter: brightness(.78);
}

.sd-faq__list {
    max-width: 1000px;
    display: grid;
    gap: .75rem;
}

.sd-faq details {
    border: 1px solid var(--sd-line);
    border-radius: 12px;
    background: #111;
}

.sd-faq summary {
    position: relative;
    padding: 1.25rem 3.5rem 1.25rem 1.3rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.sd-faq summary::-webkit-details-marker {
    display: none;
}

.sd-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1.3rem;
    transform: translateY(-50%);
    color: var(--sd-red);
    font-size: 1.5rem;
}

.sd-faq details[open] summary::after {
    content: "−";
}

.sd-faq details p {
    margin: 0;
    padding: 0 1.3rem 1.3rem;
    font-size: .94rem;
}

.sd-cta {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background:
        linear-gradient(120deg, rgba(109, 0, 7, .96), rgba(227, 6, 19, .9)),
        url("../img/products/steel-door-installation-closed.png") center / cover;
}

.sd-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sd-cta h2 {
    margin-bottom: .75rem;
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.sd-cta p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
}

.sd-cta .sd-kicker {
    color: #fff;
}

.sd-lightbox[hidden] {
    display: none;
}

.sd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(10px);
}

.sd-lightbox img {
    display: block;
    max-width: min(1500px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}

.sd-lightbox__close {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: var(--sd-red);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
}

body.sd-lightbox-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .sd-hero__inner {
        grid-template-columns: 1fr;
    }

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

    .sd-types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .sd-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .sd-hero {
        min-height: 760px;
    }

    .sd-hero__shade {
        background: linear-gradient(0deg, rgba(0, 0, 0, .95) 15%, rgba(0, 0, 0, .48) 100%);
    }

    .sd-hero__inner {
        padding-top: 8.5rem;
        padding-bottom: 3rem;
    }

    .sd-hero h1 {
        font-size: clamp(2.65rem, 12vw, 4.4rem);
    }

    .sd-hero__facts {
        grid-template-columns: 1fr;
    }

    .sd-split,
    .sd-split--reverse {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .sd-feature-image img {
        min-height: 360px;
    }

    .sd-types,
    .sd-options,
    .sd-process {
        grid-template-columns: 1fr;
    }

    .sd-process article,
    .sd-option {
        min-height: 0;
    }

    .sd-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 250px;
    }

    .sd-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .sd-page .sd-section {
        padding: 3.8rem 0;
    }

    .sd-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .sd-actions .btn {
        width: 100%;
    }

    .sd-checks,
    .sd-gallery {
        grid-template-columns: 1fr;
    }

    .sd-gallery {
        grid-auto-rows: 260px;
    }

    .sd-gallery__item--wide {
        grid-column: auto;
    }

    .sd-feature-image img {
        min-height: 290px;
    }

    .sd-feature-image--contain img {
        padding: 1rem;
    }
}
