:root {
  color-scheme: light;
  --blue: #0059a9;
  --blue-dark: #1e4b71;
  --blue-light: #f1f5fa;
  --ink: #243340;
  --muted: #526373;
  --line: #dbe4ed;
  font-family: Tahoma, Geneva, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; line-height: 1.5; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #2082da; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.section { padding-block: 60px; }

.masthead {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 100px;
}
.brand { display: grid; justify-items: start; gap: 4px; }
.brand img, .footer-layout img { height: auto; }
.brand span, .header-contact span { color: var(--muted); font-size: 12px; }
.header-contact { margin-left: auto; display: grid; justify-items: end; gap: 3px; }
.header-contact a { font-size: 22px; font-weight: 700; color: var(--ink); }
.header-contact a:hover { color: var(--blue); }
.navigation { background: var(--blue); color: #fff; }
.navigation-inner { display: flex; }
.navigation a { padding: 13px 25px; font-size: 14px; font-weight: 700; }
.navigation a:hover, .navigation .nav-primary { background: #004988; }
.navigation a:focus-visible, .button:focus-visible { outline-offset: -4px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.button:hover { background: #004988; border-color: #004988; }
.button-light { background: #fff; color: var(--blue); border-color: #fff; }
.button-light:hover { background: #eaf4ff; border-color: #eaf4ff; }
.button-inverse { background: rgba(12, 42, 66, .28); color: #fff; border-color: rgba(255, 255, 255, .62); }
.button-inverse:hover { background: #18466a; border-color: #fff; }

.hero {
  color: #fff;
  background: linear-gradient(90deg, #112e47 0%, rgba(16, 45, 71, .97) 20%, rgba(16, 45, 71, .84) 36%, rgba(16, 45, 71, .2) 65%, rgba(16, 45, 71, .08) 100%),
              url('assets/site/bord-3.jpg') 60% 56% / cover no-repeat #163c5b;
}
.hero-content { min-height: 418px; padding-block: 57px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { color: var(--blue); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.hero .eyebrow, .contact-band .eyebrow { color: #c7e5ff; }
h1 { font-size: clamp(38px, 4.25vw, 60px); line-height: 1.06; letter-spacing: -.035em; margin-top: 14px; }
.hero-description { max-width: 460px; font-size: 17px; color: #eff7ff; margin-top: 20px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 27px; }

.notice { background: #eef5fc; color: #264c6b; border-bottom: 1px solid #dce8f4; }
.notice-inner { display: flex; gap: 11px; align-items: center; padding-block: 12px; font-size: 13px; }
.notice-icon { flex: 0 0 18px; height: 18px; text-align: center; border: 1px solid #6593bd; border-radius: 50%; font-size: 11px; font-weight: 700; }

h2 { font-size: clamp(28px, 3.25vw, 40px); line-height: 1.13; letter-spacing: -.025em; margin-top: 8px; }
.section-heading { display: flex; gap: 24px; justify-content: space-between; align-items: end; }
.section-heading > p { color: var(--muted); font-size: 14px; max-width: 300px; }
.catalog-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-block: 24px 18px; }
.catalog-tabs button { min-height: 48px; padding: 8px; border: 1px solid var(--line); background: var(--blue-light); color: var(--blue-dark); font-size: 15px; font-weight: 700; line-height: 1.2; }
.catalog-tabs button:hover { border-color: var(--blue); }
.catalog-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.catalog-panel-action { display: flex; justify-content: center; margin-top: 21px; }
.catalog-all { min-width: 205px; }
.product-grid, .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-grid:where(:has(> .product:nth-child(2):last-child)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); }
.product-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #f5f8fb; padding: 8px; }
.product-visual img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.gallery-controls { position: absolute; inset: auto 8px 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gallery-controls button, .gallery-controls span { background: #fff; border: 1px solid var(--line); color: var(--blue-dark); text-align: center; }
.gallery-controls button { width: 38px; height: 38px; font-size: 25px; line-height: 1; padding: 0; }
.gallery-controls button:hover { background: var(--blue-light); }
.gallery-controls span { padding: 3px 7px; font-size: 11px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
h3 { font-size: 19px; line-height: 1.25; }
.product-body > p, .service > p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.product-body .dimensions { padding-bottom: 15px; font-weight: 700; color: var(--blue-dark); }
.product-action { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); }
.product-action > span { font-size: 13px; font-weight: 700; }
.catalog-note { margin-top: 13px; font-size: 12px; color: var(--muted); }

.services { background: var(--blue-light); }
.service-grid { margin-top: 23px; }
.service { display: flex; flex-direction: column; align-items: flex-start; padding: 21px; background: #fff; border: 1px solid var(--line); }
.service-visual { display: grid; place-items: center; width: 46px; height: 46px; background: #e7f2fc; color: var(--blue); margin-bottom: 15px; }
.service-visual svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.service > p { padding-bottom: 15px; }
.text-button { padding: 0; margin-top: auto; color: var(--blue); border: 0; background: transparent; text-align: left; font-size: 14px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.text-button span { padding-left: 4px; }

.contact-band { background: var(--blue-dark); color: #fff; padding-block: 47px; }
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 30px; }
.contact-layout > div > p:not(.eyebrow) { margin-top: 12px; color: #e4f0fa; }
.contact-layout .button { margin-top: 20px; }
address { display: grid; gap: 8px; border-left: 1px solid #7ca1bf; padding-left: 30px; font-style: normal; }
address a:hover { text-decoration: underline; }
address .contact-phone { font-size: 24px; font-weight: 700; }
address span { font-size: 14px; color: #e4f0fa; }
.footer-layout { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 22px; font-size: 12px; color: var(--muted); }
.footer-layout a { margin-left: auto; color: var(--blue); font-weight: 700; }
.footer-layout a:hover { text-decoration: underline; }

dialog { width: min(474px, calc(100% - 30px)); max-height: calc(100% - 30px); padding: 0; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 20px 60px #102a4560; }
dialog::backdrop { background: rgba(11, 31, 49, .62); }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-close button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: var(--blue-light); }
body:has(dialog[open]) { overflow: hidden; }
.category-dialog { width: min(1120px, calc(100% - 32px)); height: min(760px, calc(100% - 32px)); }
.category-dialog-layout { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.category-dialog-header { position: relative; padding: 22px 55px 17px 24px; border-bottom: 1px solid var(--line); }
.category-dialog-header h2 { font-size: clamp(23px, 3vw, 32px); margin-top: 5px; }
.category-dialog-header > p:last-child { color: var(--muted); font-size: 13px; margin-top: 5px; }
.category-dialog-body { overflow: auto; overscroll-behavior: contain; padding: 18px 24px 24px; background: var(--blue-light); }
.category-dialog .product { background: #fff; }
.category-dialog .product h3 { font-size: 17px; }
.category-dialog .product-action .button { min-height: 40px; padding-inline: 12px; font-size: 13px; }
.request-content { padding: 25px; }
.request-content h2 { font-size: 30px; }
.request-subject { margin-top: 13px; padding: 10px 12px; background: var(--blue-light); color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.request-content label { display: block; margin-top: 12px; font-size: 14px; font-weight: 700; }
.request-content label span { font-weight: 400; color: var(--muted); }
.request-content input, .request-content textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #aebdca; color: var(--ink); font-size: 14px; font-weight: 400; }
.request-content textarea { resize: vertical; }
.request-content .request-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; }
.request-content .request-consent input { width: auto; flex: none; }
.request-consent a { color: var(--blue); text-decoration: underline; }
.request-hint[data-state="error"] { color: #a7100c; }
.request-hint[data-state="success"] { color: #245c36; }
.consent-page { max-width: 760px; }
.consent-page p { margin-block: 12px; }
.consent-page a { color: var(--blue); text-decoration: underline; }
.request-submit { width: 100%; margin-top: 17px; }
.request-submit:disabled { cursor: default; background: #e6edf4; border-color: #e6edf4; color: #465d72; }
.request-hint { margin-top: 8px; color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 44px); }
  .section { padding-block: 44px; }
  .product-grid, .service-grid { gap: 12px; }
  .product-body, .service { padding: 14px; }
  .product-action { align-items: stretch; flex-direction: column; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { min-height: 0; gap: 10px; padding-block: 14px; flex-wrap: wrap; justify-content: space-between; }
  .brand img { width: 147px; }
  .brand span { display: none; }
  .header-contact { margin-left: 0; }
  .header-contact a { font-size: 15px; }
  .header-contact span { font-size: 10px; }
  .header-button { display: none; }
  .navigation-inner { width: 100%; justify-content: space-around; }
  .navigation a { padding: 10px 4px; font-size: 11px; }
  .hero { background-position: center, 61% center; background-image: linear-gradient(90deg, #102d47f5 0%, #102d47c9 62%, #102d4770 100%), url('assets/site/bord-3.jpg'); }
  .hero-content { min-height: 350px; padding-block: 36px; }
  .hero-description { font-size: 15px; }
  .actions { gap: 8px; margin-top: 20px; }
  .actions .button { font-size: 12px; padding-inline: 10px; gap: 7px; }
  .section { padding-block: 36px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 9px; }
  .product-grid, .service-grid, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .product-action { flex-direction: row; align-items: center; }
  .catalog-tabs { gap: 4px; margin-block: 17px 13px; }
  .catalog-tabs button { padding-inline: 4px; font-size: clamp(11px, 3vw, 14px); overflow-wrap: anywhere; }
  .category-dialog { width: calc(100% - 16px); height: calc(100% - 16px); max-height: calc(100% - 16px); }
  .category-dialog-header { padding: 15px 52px 12px 14px; }
  .category-dialog-body { padding: 12px; }
  .contact-band { padding-block: 36px; }
  address { padding-left: 15px; }
  .footer-layout { column-gap: 10px; row-gap: 12px; }
  .footer-layout img { width: 120px; }
}
