/* Products page — premium unique layout */

@keyframes productsHeroGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.82; transform: scale(1.05); }
}

@keyframes productsCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes productsShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Page shell */
body.page-products {
    background: #f4f7fb;
}

/* Hero */
.page-header-products.products-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 10vw, 96px) 0 clamp(88px, 11vw, 108px);
    background-image:
        linear-gradient(135deg, rgba(5, 32, 64, 0.94) 0%, rgba(12, 61, 122, 0.9) 48%, rgba(26, 86, 168, 0.86) 100%),
        url('../images/cat-submersible.jpg');
    background-size: cover;
    background-position: center;
}

.products-page-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.products-page-hero-glow {
    position: absolute;
    top: -18%;
    left: -6%;
    width: min(480px, 58vw);
    height: min(480px, 58vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 163, 224, 0.28) 0%, transparent 68%);
    animation: productsHeroGlow 8s ease-in-out infinite;
}

.products-page-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
}

.page-header-products::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 193, 7, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 14% 78%, rgba(255, 255, 255, 0.08) 0%, transparent 48%);
    pointer-events: none;
}

.products-page-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header-products .page-header-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8ec5ff;
}

.page-header-products h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #fff;
}

.page-header-products p {
    max-width: 680px;
    margin: 0 auto 22px;
    opacity: 0.92;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #fff;
}

.products-page-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.products-page-hero-chip {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.products-page-hero-chip--gold {
    color: #ffe082;
    border-color: rgba(255, 224, 130, 0.35);
    background: rgba(255, 193, 7, 0.14);
}

a.products-page-hero-chip--link {
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

a.products-page-hero-chip--link:hover,
a.products-page-hero-chip--link:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Trust strip float */
.products-page-trust-wrap {
    position: relative;
    z-index: 3;
    margin-top: -36px;
    padding: 0 clamp(12px, 3vw, 24px);
}

.products-page-trust-wrap .trust-strip-wrap {
    margin: 0;
    padding: 0;
}

.products-page-trust-wrap .container {
    max-width: 1080px;
}

.products-page-trust-wrap .trust-strip-marquee {
    border-radius: 20px 64px 20px 48px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 61, 122, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 16px 40px rgba(12, 61, 122, 0.12);
    padding: 14px 18px;
}

.products-page-trust-wrap .trust-strip-item {
    color: var(--brand-dark);
    font-weight: 700;
}

/* Catalog section */
.page-products .section-catalog.products-catalog-premium {
    background: transparent;
    border: none;
    padding-top: clamp(40px, 6vw, 64px);
    padding-bottom: clamp(24px, 4vw, 40px);
}

.products-catalog-header-shell {
    position: relative;
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(32px, 5vw, 48px);
}

.products-catalog-wave {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    color: rgba(12, 61, 122, 0.22);
}

.products-catalog-wave svg {
    width: min(220px, 60vw);
    height: 14px;
}

.page-products .catalog-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5ba3e0;
}

.page-products .catalog-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 400;
    color: var(--brand-darker);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.page-products .catalog-cert-badges {
    margin: 22px 0 16px;
}

.page-products .catalog-cert-badge {
    border-radius: 999px;
    background: linear-gradient(135deg, #fff 0%, #f4f8fc 100%);
    border: 1px solid rgba(12, 61, 122, 0.12);
    box-shadow: 0 6px 18px rgba(12, 61, 122, 0.07);
}

.page-products .catalog-series-grid {
    gap: clamp(18px, 2.5vw, 28px);
}

.page-products a.catalog-series-card {
    border-radius: 18px 58px 22px 42px;
    border: 1px solid rgba(12, 61, 122, 0.1);
    background: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 32px rgba(12, 61, 122, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.page-products a.catalog-series-card:nth-child(even) {
    border-radius: 58px 18px 42px 22px;
}

@media (hover: hover) {
    .page-products a.catalog-series-card:hover {
        transform: translateY(-10px) rotate(-0.4deg);
        border-color: rgba(12, 61, 122, 0.18);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.95) inset,
            0 22px 48px rgba(12, 61, 122, 0.14);
    }

    .page-products a.catalog-series-card:nth-child(even):hover {
        transform: translateY(-10px) rotate(0.4deg);
    }
}

.page-products .catalog-series-image {
    border-radius: 14px 48px 14px 28px;
    margin: 14px 14px 0;
    background: transparent;
}

.page-products a.catalog-series-card:nth-child(even) .catalog-series-image {
    border-radius: 48px 14px 28px 14px;
}

.page-products .catalog-series-hp-badge {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    box-shadow: 0 6px 16px rgba(12, 61, 122, 0.25);
}

.page-products .catalog-series-spec {
    border-radius: 12px 28px 12px 20px;
    background: linear-gradient(135deg, #f8fbfe 0%, #fff 100%);
    border: 1px solid rgba(12, 61, 122, 0.08);
}

.page-products .catalog-meta-grid {
    gap: clamp(16px, 2.5vw, 24px);
    margin-top: clamp(24px, 4vw, 40px);
}

.page-products .catalog-applications,
.page-products .catalog-general-specs {
    border-radius: 22px 72px 22px 48px;
    background: #fff;
    border: 1px solid rgba(12, 61, 122, 0.1);
    box-shadow: 0 12px 36px rgba(12, 61, 122, 0.07);
    padding: clamp(22px, 3vw, 28px);
}

.page-products .catalog-general-specs {
    border-radius: 72px 22px 48px 22px;
}

.page-products .catalog-applications h3,
.page-products .catalog-general-specs h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--brand-darker);
}

.page-products .catalog-app-tag {
    border-radius: 999px;
    background: linear-gradient(135deg, #eef6fb 0%, #fff 100%);
    border-color: rgba(12, 61, 122, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
    .page-products .catalog-app-tag:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(12, 61, 122, 0.1);
    }
}

/* Models section */
.page-products.products-models-premium.section {
    background: transparent;
}

.page-products .products-models-premium {
    position: relative;
    padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 8vw, 96px);
    background: transparent;
}

.products-models-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 6% 20%, rgba(26, 86, 168, 0.06), transparent 32%),
        radial-gradient(circle at 94% 80%, rgba(255, 193, 7, 0.05), transparent 28%);
}

.products-models-header {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(28px, 4vw, 40px);
    padding-top: 0;
    border-top: none;
}

.products-models-wave {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: rgba(12, 61, 122, 0.2);
}

.products-models-wave svg {
    width: min(200px, 55vw);
    height: 12px;
}

.products-models-header .section-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5ba3e0;
    background: none;
    border: none;
    padding: 0;
}

.products-models-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--brand-darker);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.products-models-header p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.98rem;
}

.page-products .product-category-filters {
    border-radius: 22px 68px 22px 44px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 61, 122, 0.1);
    box-shadow: 0 12px 32px rgba(12, 61, 122, 0.08);
    padding: 16px 18px;
    margin-bottom: 24px;
}

.page-products .product-category-filter.is-active {
    background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 55%, #3d8fd4 100%);
    box-shadow: 0 8px 20px rgba(12, 61, 122, 0.28);
}

.products-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 24px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff 0%, #f0f6fc 100%);
    border: 1px solid rgba(12, 61, 122, 0.12);
    box-shadow: 0 8px 22px rgba(12, 61, 122, 0.08);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.products-count-pill-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(12, 61, 122, 0.25);
}

.product-grid-header {
    text-align: center;
}

.page-products .product-card-all {
    border-radius: 16px 52px 20px 36px;
    border: 1px solid rgba(12, 61, 122, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 30px rgba(12, 61, 122, 0.08);
}

.page-products .product-card-all:nth-child(even) {
    border-radius: 52px 16px 36px 20px;
}

.page-products .product-card-image {
    border-radius: 12px 44px 12px 24px;
    margin: 12px 12px 0;
    height: 240px;
}

.page-products .product-card-all:nth-child(even) .product-card-image {
    border-radius: 44px 12px 24px 12px;
}

.page-products .product-card-hp {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    box-shadow: 0 6px 16px rgba(12, 61, 122, 0.25);
}

.page-products .product-specs-compact .spec-item {
    border-radius: 10px 22px 10px 16px;
    background: linear-gradient(135deg, #f8fbfe 0%, #fff 100%);
    border: 1px solid rgba(12, 61, 122, 0.08);
}

.page-products .product-view-link {
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(12, 61, 122, 0.06) 0%, rgba(91, 163, 224, 0.1) 100%);
    border: 1px solid rgba(12, 61, 122, 0.1);
    padding: 10px 16px;
    font-weight: 700;
}

/* CTA band */
.products-cta-band {
    position: relative;
    margin-top: clamp(40px, 6vw, 56px);
    padding: clamp(32px, 5vw, 44px);
    border-radius: 28px 96px 28px 64px;
    overflow: hidden;
    background: linear-gradient(135deg, #071e3d 0%, #0c3d7a 42%, #1a56a8 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 48px rgba(7, 30, 61, 0.28);
    text-align: center;
}

.products-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 193, 7, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 88% 30%, rgba(91, 163, 224, 0.18) 0%, transparent 40%);
    pointer-events: none;
}

.products-cta-band-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.products-cta-band-text {
    max-width: 520px;
}

.products-cta-band-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 6px;
}

.products-cta-band-text span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.6;
}

.products-cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.products-cta-band .btn-primary {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #0c3d7a;
    border: none;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(255, 193, 7, 0.35);
}

.products-cta-band .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

@media (hover: hover) {
    .products-cta-band .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }
}

.products-page-cta-section {
    padding: 0 0 clamp(64px, 8vw, 96px);
    background: transparent;
}

.products-page-cta-section .products-cta-band {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .products-page-trust-wrap {
        margin-top: -24px;
    }

    .products-page-trust-wrap .trust-strip-marquee {
        border-radius: 16px 40px 16px 32px;
    }

    .page-products .catalog-meta-grid {
        grid-template-columns: 1fr;
    }

    .page-products .catalog-applications,
    .page-products .catalog-general-specs {
        border-radius: 18px 48px 18px 32px;
    }

    .page-products .catalog-general-specs {
        border-radius: 48px 18px 32px 18px;
    }

    .products-cta-band {
        border-radius: 20px 56px 20px 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-page-hero-glow {
        animation: none;
    }
}
