/* EVICK dock buffers page — page-specific styles only */
.db-page {
    --db-red: #e30613;
    --db-red-dark: #a80008;
    --db-black: #070707;
    --db-panel: #111;
    --db-border: rgba(255, 255, 255, .1);
    overflow: hidden;
    background: #080808;
    color: #fff;
}

.db-page *,
.db-lightbox * {
    box-sizing: border-box;
}

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

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

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

.db-page h1,
.db-page h2,
.db-page h3 {
    color: #fff;
}

.db-page h2 {
    margin: 0 0 1.35rem;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: .99;
    letter-spacing: -.045em;
}

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

.db-page p {
    color: rgba(255, 255, 255, .68);
}

.db-hero {
    position: relative;
    min-height: min(900px, 100svh);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    padding: 9rem 0 clamp(4rem, 9vw, 7.5rem);
    background: #050505;
    border-bottom: 4px solid var(--db-red);
}

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

.db-hero__media {
    z-index: -3;
    background: #050505;
}

.db-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 78% 50%;
    opacity: .86;
}

.db-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .88) 42%, rgba(0, 0, 0, .12) 80%),
        linear-gradient(0deg, rgba(0, 0, 0, .92), transparent 58%);
}

.db-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
    align-items: end;
    gap: clamp(3rem, 7vw, 7rem);
}

.db-hero__copy {
    max-width: 850px;
}

.db-hero h1 {
    max-width: 9ch;
    margin: 0 0 1.25rem;
    font-size: clamp(4rem, 9vw, 8.5rem);
    font-weight: 900;
    line-height: .82;
    letter-spacing: -.065em;
    text-transform: uppercase;
}

.db-hero__copy > p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.db-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.db-hero__facts {
    display: grid;
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
}

.db-hero__facts div {
    padding: 1.35rem 1.5rem;
    background: rgba(0, 0, 0, .62);
}

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

.db-hero__facts strong {
    margin-bottom: .3rem;
    font-size: 1.05rem;
}

.db-hero__facts span {
    color: rgba(255, 255, 255, .58);
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.db-split {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.db-split--reverse .db-feature-image {
    order: 1;
}

.db-split--reverse .db-copy {
    order: 2;
}

.db-copy {
    min-width: 0;
}

.db-lead {
    color: rgba(255, 255, 255, .9) !important;
    font-size: clamp(1.08rem, 1.5vw, 1.28rem) !important;
}

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

.db-checks span {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 52px;
    padding: .8rem 1rem;
    border: 1px solid var(--db-border);
    background: rgba(255, 255, 255, .025);
    font-size: .88rem;
    font-weight: 700;
}

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

.db-feature-image {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--db-border);
    background: #111;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .42);
}

.db-feature-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 5px 0 var(--db-red);
}

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

.db-feature-image figcaption {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: .85rem 1rem;
    background: rgba(0, 0, 0, .82);
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
    backdrop-filter: blur(10px);
}

.db-dark {
    position: relative;
    background:
        radial-gradient(circle at 90% 8%, rgba(227, 6, 19, .13), transparent 28%),
        #0d0d0d;
}

.db-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 52px 52px;
}

.db-dark > .container {
    position: relative;
}

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

.db-heading p {
    max-width: 720px;
    margin: 0;
}

.db-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.db-product {
    display: grid;
    grid-template-columns: minmax(190px, .72fr) minmax(0, 1.28fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--db-border);
    background: #121212;
    transition: transform .25s ease, border-color .25s ease;
}

.db-product:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 6, 19, .55);
}

.db-product--wide {
    grid-column: 1 / -1;
}

.db-product__image {
    min-height: 360px;
    overflow: hidden;
    background: #070707;
}

.db-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.db-product__image--light {
    background: #f0f0f0;
}

.db-product__image--contain img {
    object-fit: contain;
    padding: 1.25rem;
}

.db-product__body {
    padding: clamp(1.5rem, 3vw, 2.35rem);
}

.db-product__body > span {
    display: block;
    margin-bottom: .8rem;
    color: var(--db-red);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.db-product h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.db-product p {
    font-size: .93rem;
    line-height: 1.7;
}

.db-product ul {
    display: grid;
    gap: .55rem;
    margin: 1.3rem 0 0;
    padding: 0;
    list-style: none;
}

.db-product li {
    position: relative;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, .78);
    font-size: .84rem;
}

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

.db-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--db-border);
    background: var(--db-border);
}

.db-spec-grid article {
    min-height: 225px;
    padding: 2rem;
    background: #0d0d0d;
}

.db-spec-grid i {
    margin-bottom: 1.3rem;
    color: var(--db-red);
    font-size: 1.65rem;
}

.db-spec-grid h3 {
    margin: 0 0 .7rem;
    font-size: 1.1rem;
}

.db-spec-grid p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.65;
}

.db-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.35rem 1.5rem;
    border-left: 3px solid var(--db-red);
    background: rgba(255, 255, 255, .04);
}

.db-note i {
    margin-top: .25rem;
    color: var(--db-red);
}

.db-note p {
    margin: 0;
    font-size: .9rem;
}

.db-maintenance {
    background:
        linear-gradient(115deg, rgba(118, 0, 7, .48), transparent 48%),
        #080808;
}

.db-warning-list {
    display: grid;
    gap: .75rem;
    margin: 1.6rem 0;
    padding: 0;
    list-style: none;
}

.db-warning-list li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .95rem 1rem;
    border: 1px solid var(--db-border);
    background: rgba(255, 255, 255, .025);
    color: rgba(255, 255, 255, .72);
    font-size: .88rem;
}

.db-warning-list i {
    margin-top: .18rem;
    color: var(--db-red);
}

.db-warning-list strong {
    color: #fff;
}

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

.db-system-grid a {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem;
    border: 1px solid var(--db-border);
    background:
        linear-gradient(145deg, rgba(227, 6, 19, .1), transparent 55%),
        #111;
    transition: transform .25s ease, border-color .25s ease;
}

.db-system-grid a:hover {
    transform: translateY(-4px);
    border-color: var(--db-red);
}

.db-system-grid i {
    margin-bottom: auto;
    color: var(--db-red);
    font-size: 1.65rem;
}

.db-system-grid strong,
.db-system-grid span {
    display: block;
}

.db-system-grid strong {
    margin-bottom: .4rem;
    font-size: 1rem;
}

.db-system-grid span {
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
    line-height: 1.5;
}

.db-gallery-section {
    background: #0a0a0a;
}

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

.db-gallery button {
    position: relative;
    min-height: 260px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--db-border);
    background: #151515;
    cursor: zoom-in;
}

.db-gallery button::after {
    content: "\f00e";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--db-red);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.db-gallery button:hover::after,
.db-gallery button:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.db-gallery img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform .45s ease;
}

.db-gallery button:hover img {
    transform: scale(1.045);
}

.db-faq {
    background: #0d0d0d;
}

.db-faq__list {
    max-width: 1000px;
    display: grid;
    gap: .8rem;
}

.db-faq details {
    border: 1px solid var(--db-border);
    background: #121212;
}

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

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

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

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

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

.db-cta {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background:
        radial-gradient(circle at 85% 25%, rgba(255, 255, 255, .16), transparent 28%),
        linear-gradient(120deg, #810006, var(--db-red));
}

.db-cta .db-eyebrow {
    color: #fff;
}

.db-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 7rem);
}

.db-cta h2 {
    max-width: 760px;
    color: #fff;
}

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

.db-cta__actions {
    display: grid;
    gap: 1rem;
}

.db-cta__phone {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.db-cta__phone i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
}

.db-cta__phone span,
.db-cta__phone small {
    display: block;
}

.db-cta__phone small {
    margin-bottom: .15rem;
    color: rgba(255, 255, 255, .68);
    font-size: .63rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.db-cta__email {
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
}

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

.db-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(8px);
}

.db-lightbox img {
    display: block;
    max-width: min(1400px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .6);
}

.db-lightbox__close {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    right: 1rem;
    z-index: 1;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--db-red, #e30613);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

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

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

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

    .db-hero__media img {
        object-position: 78% 30%;
        opacity: .62;
    }

    .db-products {
        grid-template-columns: 1fr;
    }

    .db-product--wide {
        grid-column: auto;
    }

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

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

@media (max-width: 760px) {
    .db-page .db-section {
        padding: 4rem 0;
    }

    .db-hero {
        min-height: 760px;
        padding-top: 7rem;
    }

    .db-hero__media img {
        object-position: 70% 12%;
        opacity: .42;
    }

    .db-hero__shade {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, .98) 18%, rgba(0, 0, 0, .7) 72%, rgba(0, 0, 0, .35)),
            linear-gradient(90deg, rgba(0, 0, 0, .75), transparent);
    }

    .db-hero h1 {
        font-size: clamp(3.2rem, 17vw, 5.4rem);
    }

    .db-hero__actions {
        display: grid;
    }

    .db-hero__actions .btn {
        width: 100%;
    }

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

    .db-split--reverse .db-feature-image,
    .db-split--reverse .db-copy {
        order: initial;
    }

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

    .db-checks,
    .db-spec-grid,
    .db-system-grid,
    .db-gallery {
        grid-template-columns: 1fr;
    }

    .db-product {
        grid-template-columns: 1fr;
    }

    .db-product__image {
        min-height: 300px;
    }

    .db-spec-grid article {
        min-height: auto;
    }

    .db-gallery button,
    .db-gallery img {
        min-height: 230px;
    }

    .db-cta__actions .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .db-checks {
        grid-template-columns: 1fr;
    }

    .db-hero__facts div {
        padding: 1rem 1.1rem;
    }

    .db-product__body,
    .db-spec-grid article {
        padding: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .db-page *,
    .db-page *::before,
    .db-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
