:root {
    --ink: #101c28;
    --ink-soft: #395064;
    --paper: #f5f7f8;
    --white: #fff;
    --accent: #e83f29;
    --accent-dark: #bd2f1c;
    --cyan: #1c9fbd;
    --line: #d9e0e4;
    --night: #0b1823;
    --radius: 4px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.55 Arial, Helvetica, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
h1, h2, h3, p {
    margin-top: 0;
}
h1, h2, h3 {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -.035em;
    line-height: 1.05;
}
h1 {
    font-size: clamp(2.5rem, 5vw, 5.15rem);
}
h2 {
    font-size: clamp(1.8rem, 3vw, 3.1rem);
}
h3 {
    font-size: 1.18rem;
}
.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}
.narrow {
    width: min(820px, 100%);
}
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-content {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 38px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.05;
    letter-spacing: .07em;
    min-width: 205px;
}
.brand img {
    width: 46px;
    max-height: 46px;
    object-fit: contain;
}
.brand strong {
    font-size: 14px;
}
.main-nav {
    display: flex;
    gap: 28px;
    font-weight: 700;
}
.main-nav a:hover, .text-link:hover {
    color: var(--accent);
}
.header-content>.button {
    margin-left: auto;
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--white);
    font: 700 14px/1 Arial, sans-serif;
    letter-spacing: .015em;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}
.button--small {
    min-height: 40px;
    padding: 0 16px;
}
.button--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}
.button--light:hover {
    background: #e8eef0;
    border-color: #e8eef0;
}
.button--outline {
    background: transparent;
    color: var(--accent);
}
.button--outline:hover {
    color: var(--white);
}
.hero {
    background: linear-gradient(110deg, #101c28 0%, #142b3a 66%, #126e85 155%);
    color: var(--white);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr .66fr;
    gap: 72px;
    padding: 98px 0 88px;
    position: relative;
}
.hero-grid:after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -260px;
    width: 550px;
    height: 550px;
    border: 64px solid rgba(232, 63, 41, .85);
    border-radius: 50%;
    opacity: .8;
}
.hero-copy, .hero-panel {
    position: relative;
    z-index: 1;
}
.eyebrow {
    margin-bottom: 16px;
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: .15em;
    font-weight: 700;
}
.hero h1 {
    margin-bottom: 25px;
    max-width: 820px;
}
.hero h1 span {
    color: #78d5e9;
}
.hero-text {
    max-width: 625px;
    color: #d2e0e6;
    font-size: 19px;
}
.search-form {
    margin-top: 34px;
    display: flex;
    max-width: 635px;
    gap: 8px;
}
.search-form input {
    flex: 1;
    min-width: 0;
}
input, textarea, select {
    border: 1px solid #bcc8ce;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: 16px/1.2 Arial, sans-serif;
    padding: 14px 15px;
    width: 100%;
    outline: none;
    transition: border .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(28, 159, 189, .16);
}
.search-hint {
    font-size: 14px;
    color: #b7cbd3;
}
.search-hint a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hero-panel {
    border-left: 1px solid rgba(255, 255, 255, .25);
    padding: 9px 0 9px 29px;
    align-self: center;
}
.hero-panel h2 {
    font-size: 20px;
    margin: 2px 0 7px;
    letter-spacing: -.02em;
}
.hero-panel p {
    color: #c0d0d6;
    font-size: 14px;
}
.panel-index {
    color: #79d4e7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}
.panel-rule {
    height: 1px;
    background: rgba(255, 255, 255, .25);
    margin: 24px 0;
}
.section {
    padding: 84px 0;
}
.section--brands {
    background: var(--white);
}
.section--catalog-preview {
    background: var(--paper);
}
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 33px;
}
.section-heading h2 {
    margin-bottom: 0;
}
.text-link {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
}
.text-link span {
    padding-left: 7px;
    font-size: 20px;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 11px;
}
.brand-card {
    min-height: 205px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
    border: 1px solid var(--line);
    background: #fbfcfc;
    transition: transform .2s, box-shadow .2s, border .2s;
}
.brand-card:hover {
    transform: translateY(-4px);
    border-color: #9bb9c4;
    box-shadow: 0 9px 28px rgba(14, 42, 56, .1);
}
.brand-card img {
    width: 130px;
    height: 51px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
}
.brand-card span {
    margin-top: auto;
    color: var(--ink-soft);
    font-size: 13px;
}
.brand-card b {
    color: var(--accent);
    font-size: 13px;
}
.brand-card i {
    font-style: normal;
    padding-left: 5px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.product-card {
    background: var(--white);
    padding: 17px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.product-card__image {
    height: 160px;
    background: #edf2f4;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 15px;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card__image span, .product-placeholder {
    color: #72909d;
    font-size: 33px;
    font-weight: 800;
    letter-spacing: -.1em;
}
.product-card__brand {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.product-card h2, .product-card h3 {
    font-size: 18px;
    line-height: 1.18;
    margin-bottom: 9px;
}
.product-card h2 a:hover, .product-card h3 a:hover {
    color: var(--accent);
}
.article {
    color: var(--ink-soft);
    font-size: 13px;
}
.product-card__bottom {
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}
.product-card__bottom strong {
    font-size: 14px;
}
.product-card__bottom a {
    color: var(--accent);
    font-weight: 700;
}
.empty-state {
    background: var(--white);
    border: 1px dashed #aabac1;
    padding: 36px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.empty-state h2, .empty-state h3 {
    margin-bottom: 7px;
}
.empty-state p {
    color: var(--ink-soft);
    margin-bottom: 0;
}
.empty-state .button {
    margin-left: auto;
    white-space: nowrap;
}
.empty-state__mark {
    color: var(--cyan);
    font-size: 37px;
    font-weight: 800;
}
.cta-section {
    background: var(--accent);
    color: var(--white);
    padding: 67px 0;
}
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-content h2 {
    max-width: 675px;
    margin-bottom: 13px;
}
.cta-content p:not(.eyebrow) {
    max-width: 700px;
    color: #ffded7;
}
.site-footer {
    background: var(--night);
    color: #d4dfe3;
    padding: 42px 0;
    font-size: 14px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 42px;
}
.footer-content strong {
    color: var(--white);
    font-size: 17px;
}
.footer-content p {
    margin: 7px 0 0;
    max-width: 400px;
}
.footer-note {
    max-width: 370px;
    color: #97adb7;
}
.page-hero {
    background: #e6eef1;
    border-bottom: 1px solid #cad8dd;
    padding: 68px 0;
}
.page-hero h1 {
    max-width: 890px;
    margin-bottom: 16px;
}
.page-hero p:not(.eyebrow) {
    color: var(--ink-soft);
    max-width: 750px;
    font-size: 18px;
}
.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: start;
}
.catalog-filters {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 20px;
}
.catalog-filters label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px;
}
.catalog-filters fieldset {
    margin: 23px 0;
    padding: 0;
    border: 0;
}
.catalog-filters legend {
    font-weight: 700;
    margin-bottom: 12px;
}
.catalog-filters fieldset label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.catalog-filters input[type=radio] {
    width: auto;
    accent-color: var(--accent);
}
.catalog-results__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--ink-soft);
}
.catalog-results__header a {
    color: var(--accent);
    font-weight: 700;
}
.breadcrumbs {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
    font-size: 13px;
    color: var(--ink-soft);
}
.breadcrumbs .container {
    display: flex;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
}
.breadcrumbs a:hover {
    color: var(--accent);
}
.product-detail {
    display: grid;
    grid-template-columns: .9fr 1fr .8fr;
    gap: 42px;
    align-items: start;
}
.product-detail__media {
    min-height: 400px;
    background: var(--white);
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    padding: 30px;
}
.product-detail__media img {
    max-height: 370px;
    object-fit: contain;
}
.product-detail__content h1 {
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    margin-bottom: 18px;
}
.product-price {
    font-size: 23px;
    font-weight: 700;
    margin: 30px 0 9px;
}
.availability {
    color: var(--ink-soft);
    font-size: 14px;
}
.product-detail__spec {
    background: #e6eef1;
    padding: 25px;
}
.product-detail__spec h2 {
    font-size: 22px;
    margin-bottom: 22px;
}
.product-detail__spec dl {
    margin: 0 0 22px;
}
.product-detail__spec dl div {
    padding: 10px 0;
    border-top: 1px solid #c1d0d6;
}
.product-detail__spec dt {
    color: var(--ink-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.product-detail__spec dd {
    margin: 3px 0 0;
    font-weight: 700;
}
.notice-section {
    background: #102a38;
    color: #dce7eb;
    padding: 21px 0;
}
.selection-layout {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 65px;
    align-items: start;
}
.selection-sidebar {
    border-left: 3px solid var(--cyan);
    padding-left: 24px;
}
.selection-sidebar span {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .09em;
}
.selection-sidebar h2 {
    font-size: 23px;
    margin: 4px 0 8px;
}
.selection-sidebar p {
    color: var(--ink-soft);
    margin-bottom: 28px;
}
.selection-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 31px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-grid label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
}
.form-grid__wide {
    grid-column: span 2;
}
textarea {
    min-height: 150px;
    resize: vertical;
}
.consent {
    display: flex;
    align-items: start;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 13px;
    margin: 23px 0;
    cursor: pointer;
}
.consent input {
    width: auto;
    margin-top: 3px;
    accent-color: var(--accent);
}
.form-note {
    color: var(--ink-soft);
    font-size: 12px;
    margin: 12px 0 0;
}
.form-status {
    display: none;
    padding: 13px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-status.is-error {
    display: block;
    color: #8d2517;
    background: #fde9e5;
    border-left: 3px solid var(--accent);
}
.form-status.is-success {
    display: block;
    color: #126127;
    background: #e4f5e7;
    border-left: 3px solid #27833d;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 960px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-panel {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .25);
        padding: 22px 0 0;
        display: grid;
        grid-template-columns: 50px 1fr;
        column-gap: 14px;
    }
    .hero-panel h2, .hero-panel p, .hero-panel .panel-rule {
        grid-column: 2;
    }
    .hero-panel .panel-rule {
        width: 100%;
    }
    .hero-panel .panel-index {
        grid-column: 1;
    }
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .catalog-filters form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px;
        align-items: end;
    }
    .catalog-filters fieldset {
        grid-column: 1 / -1;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 18px;
    }
    .catalog-filters legend {
        width: 100%;
    }
    .catalog-filters fieldset label {
        margin: 0;
    }
    .product-detail {
        grid-template-columns: 1fr 1fr;
    }
    .product-detail__spec {
        grid-column: 1 / -1;
    }
    .selection-layout {
        gap: 34px;
    }
    .selection-sidebar {
        font-size: 14px;
    }
}
@media (max-width: 650px) {
    .container {
        width: min(100% - 32px, 1180px);
    }
    .header-content {
        height: 66px;
        gap: 13px;
    }
    .brand {
        min-width: 0;
        font-size: 10px;
    }
    .brand img {
        width: 34px;
    }
    .brand strong {
        font-size: 12px;
    }
    .main-nav {
        display: none;
    }
    .header-content>.button {
        font-size: 12px;
        padding: 0 11px;
    }
    .hero-grid {
        padding: 65px 0;
    }
    .hero-text {
        font-size: 16px;
    }
    .search-form {
        flex-direction: column;
    }
    .search-form .button {
        width: 100%;
    }
    .section {
        padding: 56px 0;
    }
    .section-heading, .cta-content, .footer-content {
        align-items: start;
        flex-direction: column;
        gap: 18px;
    }
    .brand-grid {
        grid-template-columns: 1fr 1fr;
    }
    .brand-card {
        min-height: 165px;
        padding: 15px;
    }
    .brand-card:last-child {
        grid-column: span 2;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-card {
        padding: 12px;
    }
    .product-card__image {
        height: 115px;
    }
    .product-card h2, .product-card h3 {
        font-size: 15px;
    }
    .product-card__bottom {
        align-items: start;
        flex-direction: column;
    }
    .empty-state {
        padding: 23px;
        align-items: start;
        flex-direction: column;
        gap: 13px;
    }
    .empty-state .button {
        margin-left: 0;
    }
    .page-hero {
        padding: 48px 0;
    }
    .catalog-filters form {
        display: block;
    }
    .catalog-filters fieldset {
        display: block;
        margin: 22px 0;
    }
    .catalog-filters fieldset label {
        margin-bottom: 10px;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .product-detail__media {
        min-height: 280px;
    }
    .product-detail__spec {
        grid-column: auto;
    }
    .selection-layout {
        grid-template-columns: 1fr;
    }
    .selection-form {
        padding: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid__wide {
        grid-column: auto;
    }
    .cta-section {
        padding: 51px 0;
    }
}
