/* EVICK dock shelters page.
   All rules are scoped to .ds-page so shared navigation and footer styles remain untouched. */

.ds-page {
    --ds-red: #dc0000;
    --ds-red-dark: #a80000;
    --ds-black: #050505;
    --ds-panel: #111;
    --ds-panel-soft: #171717;
    --ds-line: rgba(255, 255, 255, .1);
    --ds-muted: rgba(255, 255, 255, .68);
    overflow: hidden;
    background: var(--ds-black);
    color: #fff;
}

.ds-page *,
.ds-page *::before,
.ds-page *::after {
    box-sizing: border-box;
}

.ds-page img {
    display: block;
    max-width: 100%;
}

.ds-page h1,
.ds-page h2,
.ds-page h3,
.ds-page p {
    margin-top: 0;
}

.ds-page h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.045em;
}

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

.ds-page p {
    color: var(--ds-muted);
    font-size: 1rem;
    line-height: 1.75;
}

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

.ds-section--dark {
    background:
        radial-gradient(circle at 90% 5%, rgba(220, 0, 0, .1), transparent 30%),
        linear-gradient(180deg, #111, #090909);
}

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

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

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

.ds-heading p {
    max-width: 700px;
    margin-bottom: 0;
}

.ds-lead {
    color: rgba(255, 255, 255, .9) !important;
    font-size: clamp(1.08rem, 1.6vw, 1.3rem) !important;
    line-height: 1.65 !important;
}

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

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

.ds-hero__media {
    z-index: -2;
}

.ds-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.ds-hero__shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .68) 48%, rgba(0, 0, 0, .2) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .9), transparent 65%);
}

.ds-hero__inner {
    width: 100%;
    padding-top: 11rem;
    padding-bottom: 8.5rem;
}

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

.ds-hero h1 {
    max-width: 13ch;
    margin-bottom: 1.5rem;
    font-size: clamp(3.5rem, 8vw, 7.4rem);
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.ds-hero__copy > p {
    max-width: 690px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.ds-actions,
.ds-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ds-hero__facts {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    background: rgba(5, 5, 5, .88);
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
}

.ds-hero__facts span {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .62);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ds-hero__facts strong {
    margin-bottom: .3rem;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
}

.ds-intro {
    background:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
        #080808;
    background-size: 52px 52px;
}

.ds-intro__grid,
.ds-maintenance {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.ds-copy p:last-child {
    margin-bottom: 0;
}

.ds-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 600px;
    margin-bottom: 2rem;
    border: 1px solid var(--ds-line);
    background: var(--ds-panel);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .32);
}

.ds-product:last-child {
    margin-bottom: 0;
}

.ds-product--reverse .ds-product__image {
    order: 2;
}

.ds-product__image {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #202020;
}

.ds-product__image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(220, 0, 0, .12), transparent 45%);
}

.ds-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.ds-product:hover .ds-product__image img {
    transform: scale(1.025);
}

.ds-product__image--render {
    padding: clamp(2rem, 5vw, 5rem);
    background: #e9e9e9;
}

.ds-product__image--render img {
    object-fit: contain;
}

.ds-product__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
}

.ds-product__number {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    color: rgba(255, 255, 255, .08);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
}

.ds-product__label {
    margin-bottom: .8rem;
    color: var(--ds-red);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ds-product h3 {
    max-width: 560px;
    margin-bottom: 1.2rem;
    font-size: clamp(1.9rem, 3.5vw, 3.3rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.ds-product__content > p {
    max-width: 650px;
}

.ds-checks {
    display: grid;
    gap: .65rem;
    margin: .4rem 0 0;
    padding: 0;
    list-style: none;
}

.ds-checks li {
    position: relative;
    padding-left: 1.65rem;
    color: rgba(255, 255, 255, .78);
    font-size: .92rem;
    line-height: 1.55;
}

.ds-checks li::before {
    content: "\f00c";
    position: absolute;
    top: .2rem;
    left: 0;
    color: var(--ds-red);
    font-family: "Font Awesome 6 Free";
    font-size: .75rem;
    font-weight: 900;
}

.ds-compare {
    background: #0c0c0c;
}

.ds-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ds-line);
    border-radius: 14px;
    background: #111;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.ds-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.ds-table th,
.ds-table td {
    padding: 1.15rem 1.25rem;
    border-right: 1px solid var(--ds-line);
    border-bottom: 1px solid var(--ds-line);
    color: rgba(255, 255, 255, .68);
    text-align: left;
    vertical-align: top;
    font-size: .9rem;
    line-height: 1.55;
}

.ds-table thead th {
    background: var(--ds-red);
    color: #fff;
    font-size: .73rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ds-table tbody th {
    width: 190px;
    color: #fff;
}

.ds-table tr:last-child th,
.ds-table tr:last-child td {
    border-bottom: 0;
}

.ds-table th:last-child,
.ds-table td:last-child {
    border-right: 0;
}

.ds-note {
    margin: 1rem 0 0;
    font-size: .82rem !important;
}

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

.ds-card {
    min-height: 245px;
    padding: 2rem;
    background: #101010;
    transition: background .25s ease, transform .25s ease;
}

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

.ds-card i {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(220, 0, 0, .35);
    background: rgba(220, 0, 0, .08);
    color: var(--ds-red);
    font-size: 1.25rem;
}

.ds-card h3 {
    margin-bottom: .75rem;
    font-size: 1.2rem;
}

.ds-card p {
    margin-bottom: 0;
    font-size: .9rem;
    line-height: 1.65;
}

.ds-system {
    background:
        radial-gradient(circle at 10% 90%, rgba(220, 0, 0, .12), transparent 32%),
        #080808;
}

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

.ds-system__copy p {
    max-width: 700px;
}

.ds-text-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ds-text-link i {
    color: var(--ds-red);
    transition: transform .2s ease;
}

.ds-text-link:hover i {
    transform: translateX(5px);
}

.ds-system__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border: 1px solid var(--ds-line);
    background: var(--ds-line);
}

.ds-system__list div {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .8rem;
    padding: 1.5rem;
    background: #121212;
}

.ds-system__list i {
    color: var(--ds-red);
    font-size: 1.35rem;
}

.ds-system__list span {
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
    font-weight: 700;
}

.ds-maintenance .ds-inline-actions {
    margin-top: 2rem;
}

.ds-faq {
    background: #080808;
}

.ds-faq__list {
    max-width: 1050px;
    display: grid;
    gap: .75rem;
}

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

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

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

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

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

.ds-faq details p {
    max-width: 900px;
    margin: 0;
    padding: 0 1.3rem 1.3rem;
    font-size: .94rem;
}

.ds-cta {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background:
        linear-gradient(115deg, rgba(112, 0, 0, .96), rgba(220, 0, 0, .88)),
        url("../img/products/dock-shelter-retractable.png") center 45% / cover no-repeat;
}

.ds-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

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

.ds-cta h2 {
    max-width: 800px;
    margin-bottom: 1rem;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
}

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

.ds-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.ds-cta__contact {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    color: #fff;
    font-weight: 700;
}

.ds-cta__contact i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
}

.ds-cta__contact span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.ds-cta__contact small {
    margin-bottom: .2rem;
    color: rgba(255, 255, 255, .7);
    font-size: .66rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 1050px) {
    .ds-product {
        min-height: 0;
    }

    .ds-product__image {
        min-height: 500px;
    }

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

    .ds-system__grid,
    .ds-cta__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .ds-hero {
        min-height: 720px;
    }

    .ds-hero__inner {
        padding-top: 9rem;
        padding-bottom: 12rem;
    }

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

    .ds-intro__grid,
    .ds-maintenance,
    .ds-product {
        grid-template-columns: 1fr;
    }

    .ds-product--reverse .ds-product__image {
        order: 0;
    }

    .ds-product__image {
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .ds-section {
        padding: 4rem 0;
    }

    .ds-hero {
        min-height: 690px;
    }

    .ds-hero__media img {
        object-position: 55% center;
    }

    .ds-hero__shade {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, .94) 10%, rgba(0, 0, 0, .48) 78%),
            linear-gradient(90deg, rgba(0, 0, 0, .62), transparent);
    }

    .ds-hero__inner {
        padding-top: 8rem;
        padding-bottom: 13rem;
    }

    .ds-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .ds-actions,
    .ds-inline-actions {
        flex-direction: column;
    }

    .ds-actions .btn,
    .ds-inline-actions .btn,
    .ds-cta__actions .btn {
        width: 100%;
    }

    .ds-hero__facts span {
        min-height: 82px;
        padding: .8rem .65rem;
        font-size: .56rem;
        text-align: center;
    }

    .ds-hero__facts strong {
        font-size: 1.3rem;
    }

    .ds-product__image {
        min-height: 330px;
    }

    .ds-product__image--render {
        padding: 1.5rem;
    }

    .ds-product__content {
        padding: 2rem 1.35rem;
    }

    .ds-product__number {
        top: 1rem;
        right: 1rem;
        font-size: 4rem;
    }

    .ds-cards,
    .ds-system__list {
        grid-template-columns: 1fr;
    }

    .ds-card {
        min-height: 0;
    }

    .ds-system__list div {
        min-height: 110px;
    }

    .ds-cta__actions {
        align-items: stretch;
    }

    .ds-cta__contact {
        justify-content: center;
    }
}
