.products-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 220px;
	padding: 32px max(5%, calc((100% - 1240px) / 2));
	background: linear-gradient(100deg, rgba(7, 18, 27, 0.96) 0%, rgba(0, 69, 125, 0.8) 54%, rgba(0, 96, 157, 0.28) 100%);
	color: var(--color-white);
	box-shadow: 0 12px 32px rgba(0, 59, 115, 0.16);
}

.products-header-copy {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 36px);
	max-width: 900px;
}

.catalog-header-logo {
	display: block;
	max-height: 150px;
	border-right: 1px solid rgba(126, 222, 255, 0.65);	
}

.catalog-header-text {
	min-width: 0;
}

.products-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 6px 14px;
	border: 1px solid rgba(89, 220, 255, 0.8);
	border-radius: 999px;
	background: rgba(0, 77, 143, 0.78);
	color: #c9f6ff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.products-header h1 {
	margin: 0 0 10px;
	color: var(--color-white);
	font-size: clamp(2.1rem, 4vw, 3.25rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.035em;
}

.products-header h1 span {
	color: #45d8f2;
}

.products-header p {
	max-width: 560px;
	margin: 0;
	color: #e4f5ff;
	font-size: 1rem;
	line-height: 1.45;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border: 1px solid #65dcff;
	border-radius: 999px;
	background-color: rgba(0, 91, 160, 0.58);
	color: #fff;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.back-link:hover {
	transform: translateY(-1px);
	background-color: #dff3ff;
	color: #003b73;
	box-shadow: 0 4px 10px rgba(0, 59, 115, 0.26);
}
.catalog-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	border: 1px solid #65dcff;
	padding: 11px 18px;  
	border-radius: 999px;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.84rem;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.catalog-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, 0.95), transparent 58%),
        linear-gradient(180deg, #eaf2fa 0%, #f4f8fc 100%);
    color: #122b4d;
}

.catalog-main {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 64px;
}


.catalog-main h1 {
    margin: 0 0 26px;
    color: #123a67;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    text-align: center;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.catalog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(177, 211, 238, 0.8);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(27, 84, 137, 0.13);
    color: inherit;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
    border-color: #9bcaf0;
    box-shadow: 0 18px 34px rgba(27, 84, 137, 0.2);
}

.catalog-card:focus-visible {
    outline: 3px solid #168de1;
    outline-offset: 4px;
}

.catalog-card-media {
    position: relative;
    display: block;
    height: clamp(155px, 19vw, 220px);
    overflow: hidden;
    background: #dceaf6;
}

.catalog-card-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 28, 53, 0.22), transparent 58%);
    content: "";
    pointer-events: none;
}

.catalog-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-position: center;
    transition: transform 0.35s ease;
}

.catalog-card:hover .catalog-card-media img {
    transform: scale(1.045);
}

.catalog-card-badge {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(35, 65, 91, 0.62);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.catalog-card-badge i {
    font-size: 0.85rem;
}

.catalog-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    min-height: 142px;
    margin-top: -1px;
    padding: 16px 17px 18px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(145deg, #fff 0%, #fbfdff 100%);
}

.catalog-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.catalog-card-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dceaff;
    border-radius: 11px;
    background: linear-gradient(145deg, #f0f6ff, #e3efff);
    color: #0756ae;
    font-size: 1rem;
}

.catalog-card-content strong {
    flex: 1;
    min-width: 0;
    color: #142b50;
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.25;
}

.catalog-card-arrow {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d8e8ff;
    border-radius: 50%;
    background: #f3f8ff;
    color: #0756ae;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.catalog-card:hover .catalog-card-arrow {
    transform: translateX(3px);
    background: #e7f1ff;
}

.catalog-card-description {
    color: #5c708c;
    font-size: 0.88rem;
    line-height: 1.4;
}

.catalog-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    align-self: flex-start;
    min-height: 38px;
    margin-top: auto;
    padding: 8px 17px 8px 20px;
    border-radius: 999px;
    background: linear-gradient(110deg, #0757b5, #063c89);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 7px 16px rgba(7, 77, 163, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover .catalog-card-button {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(7, 77, 163, 0.3);
}

@media (max-width: 800px) {
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-height: 250px;
        padding: 30px 7%;
    }

    .products-header-copy {
        gap: 20px;
    }

    .catalog-header-logo {
        width: 135px;
        max-height: 110px;
        padding-right: 18px;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .catalog-card-media {
        height: 190px;
    }
}

@media (max-width: 540px) {
    .products-header {
        min-height: 0;
        gap: 18px;
        padding: 30px 6% 26px;
    }

    .products-header h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .products-header p {
        font-size: 0.94rem;
    }

    .products-header-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .catalog-header-logo {
        width: 135px;
        max-height: 90px;
        padding: 0 0 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(126, 222, 255, 0.65);
    }

    .catalog-main {
        width: min(100% - 32px, 440px);
        padding-top: 24px;
    }

    .catalog-main h1 {
        margin-bottom: 20px;
        text-align: left;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalog-card-media {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-card,
    .catalog-card-media img,
    .catalog-card-arrow,
    .catalog-card-button,
    .catalog-back-link {
        transition: none;
    }
}
