:root {
    color-scheme: light;
    --text: #14233c;
    --muted: #465b78;
    --blue: #175dc4;
    --blue-dark: #124a9d;
    --line: #d5e0f0;
    --paper: #f3f7fc;
    --white: #fff;
    font-family: "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--text); background: var(--paper); }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #176acb; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.17; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.045em; margin-bottom: 1rem; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.025em; margin-bottom: .6rem; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 4.8rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .85rem 1.5rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; max-width: 100%; }
.brand img { width: min(14rem, 65vw); height: auto; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 650; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a[aria-current] { color: var(--blue-dark); text-decoration: underline; }
.hero { background: linear-gradient(115deg, #0d254c, #124580); color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 2.5rem 5rem; padding-block: clamp(2.7rem, 7vw, 5.75rem); padding-inline: clamp(1rem, 3vw, 2rem); }
.hero h1 { font-size: clamp(1.125rem, 2.5vw, 1.875rem); letter-spacing: -.025em; }
.eyebrow { color: var(--blue-dark); font-size: .82rem; font-weight: 720; letter-spacing: .055em; margin-bottom: .7rem; }
.hero .eyebrow { color: #a9d0ff; }
.hero-copy { color: #dce9fb; max-width: 53ch; font-size: 1.12rem; margin-bottom: 1.4rem; }
.hero-services { border: 1px solid #456b9d; background: #1a3d6f; border-radius: .9rem; padding: 1.5rem; }
.hero-services h2 { font-size: 1.3rem; }
.hero-services ul { color: #e4efff; padding-left: 1.2rem; margin: 0 0 1rem; }
.hero-services li { padding-block: .17rem; }
.hero-services a { color: #c5e0ff; font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button { min-height: 2.75rem; display: inline-flex; justify-content: center; align-items: center; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .45rem; background: var(--blue-dark); color: var(--white); font: inherit; font-weight: 680; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue); color: var(--white); }
.hero .button { background: #c2ddff; color: #102d5b; }
.hero .button:hover { background: #e0eeff; }
.hero .secondary { background: transparent; border-color: #8cadd7; color: #fff; }
.hero .secondary:hover { background: #244a7c; color: #fff; }
.content { padding-block: clamp(2.3rem, 5vw, 4rem); min-height: 55vh; }
.catalog-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.catalog-header p { color: var(--muted); margin-bottom: 0; overflow-wrap: anywhere; }
.search label { display: block; font-size: .88rem; font-weight: 670; margin-bottom: .3rem; }
.search > div { display: flex; gap: .45rem; }
.search input { width: clamp(8rem, 23vw, 17rem); min-height: 2.75rem; padding: .5rem .75rem; border: 1px solid #8096b3; border-radius: .45rem; font: inherit; color: var(--text); background: var(--white); }
.category-label { margin: 1.25rem 0 .45rem; color: var(--muted); font-size: .9rem; letter-spacing: 0; }
.categories { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 0 1.2rem; }
.categories a { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--white); color: var(--text); text-decoration: none; font-weight: 600; font-size: .87rem; }
.categories a:hover { background: #e4efff; border-color: #9ab8e2; color: var(--blue-dark); }
.categories a[aria-current] { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); color: var(--text); border-radius: .65rem; text-decoration: none; min-width: 0; overflow: hidden; }
.product-card:hover, .product-card:focus-within { border-color: #7e9fce; }
.product-link { display: block; flex: 1; color: var(--text); text-decoration: none; }
.product-link:hover h3 { color: var(--blue-dark); text-decoration: underline; }
.product-card :focus-visible { outline-offset: -3px; }
.card-call { display: block; padding: .68rem .9rem; border-top: 1px solid var(--line); background: #edf4ff; font-size: .85rem; font-weight: 700; }
.card-call:hover { background: #dceaff; }
.product-image { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: clamp(7rem, 12vw, 8.5rem); padding: .65rem; background: var(--white); }
.product-image img { width: 100%; height: 100%; object-fit: scale-down; }
.image-placeholder { color: var(--muted); font-size: .85rem; text-align: center; }
.card-copy { padding: .9rem; border-top: 1px solid var(--line); }
.card-copy span { color: var(--muted); font-size: .8rem; }
.card-copy h3 { font-size: 1rem; margin: .35rem 0 0; overflow-wrap: anywhere; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.pagination a { font-weight: 650; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .65rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .9rem; }
.breadcrumbs li { display: flex; align-items: baseline; gap: .65rem; min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs a { font-weight: 650; }
.breadcrumbs span { color: var(--muted); }
.empty { padding: 1.15rem; border: 1px solid var(--line); background: var(--white); border-radius: .5rem; }
.product-detail, .info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3.5rem); }
.product-detail { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
.detail-image { width: 100%; max-width: 20rem; height: auto; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: .65rem; }
.gallery { display: flex; gap: .6rem; flex-wrap: wrap; padding-top: .65rem; }
.gallery a { display: grid; place-items: center; height: 4.3rem; width: 4.3rem; padding: .3rem; background: var(--white); border: 1px solid var(--line); border-radius: .4rem; }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.product-copy h1 { font-size: clamp(1.65rem, 4vw, 2.75rem); }
.product-description { margin-top: 2rem; padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: .65rem; background: var(--white); }
.description { overflow-wrap: anywhere; }
.description :is(h2, h3, h4) { font-size: 1.15rem; margin-block: 1.1rem .5rem; }
.description :is(p, ul, ol) { margin-block: 0 .85rem; }
.description pre { white-space: pre-wrap; }
.description-table { max-width: 100%; overflow-x: auto; margin-block: .9rem; }
.description-table table { width: 100%; min-width: 26rem; border-collapse: collapse; font-size: .94rem; }
.description-table table table { min-width: 0; }
.description-table caption { text-align: left; font-weight: 700; padding-bottom: .4rem; }
.description-table :is(th, td) { border: 1px solid var(--line); padding: .5rem .7rem; text-align: start; vertical-align: top; }
.description-table th { background: #e4efff; color: var(--blue-dark); }
.description-table tr:nth-child(even) > td { background: var(--paper); }
.description-table :is(th, td) > :last-child { margin-bottom: 0; }
.contact { align-self: start; padding: 1.5rem; border: 1px solid var(--line); background: var(--white); border-radius: .65rem; overflow-wrap: anywhere; }
.contact address { font-style: normal; margin-bottom: .9rem; }
.map-link { display: inline-block; margin-bottom: 1rem; font-weight: 650; }
.contact p:last-child { margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner div { display: grid; }
.footer-inner span { color: var(--muted); font-size: .88rem; }

@media (max-width: 52rem) {
    .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
    .hero-services { max-width: 34rem; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
    .product-detail, .info { grid-template-columns: minmax(0, 1fr); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .catalog-header { align-items: start; }
    .search { width: 100%; }
    .search input { width: 100%; min-width: 0; }
}
