:root {
  --blue: #1d4f9c;
  --blue-dark: #153b75;
  --ink: #1d2433;
  --muted: #5a6475;
  --line: #dde2ea;
  --bg: #ffffff;
  --soft: #f3f6fa;
  --radius: 8px;
  --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0 0 .6rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 1.5rem 16px 2.5rem; }
.narrow { max-width: 720px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.preview-banner { background: #fff4c2; color: #4d3d00; text-align: center; font-size: .9rem; padding: 6px 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; }
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { flex-shrink: 0; }
.brand img { display: block; width: 290px; max-width: 100%; height: auto; }
.phone { font-size: .8rem; font-weight: 500; text-decoration: none; color: var(--blue); white-space: nowrap; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-list > li > a, .sub-toggle {
  display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font: inherit; font-size: .8rem; font-weight: 400;
  background: none; border: 0; border-radius: 6px; cursor: pointer;
}
.nav-list > li > a:hover, .sub-toggle:hover, .has-sub.open .sub-toggle { color: var(--blue); background: var(--soft); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 #c3c9d3; border-radius: 0; }
.sub-toggle::after { content: ""; display: inline-block; margin-left: 7px; vertical-align: 3px; border: 5px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.has-sub { position: relative; }
.sub-menu {
  display: none; position: absolute; left: 0; top: 100%; z-index: 20; min-width: 290px; list-style: none; margin: 0; padding: 6px 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(16, 34, 63, .15);
}
.has-sub:hover .sub-menu, .has-sub.open .sub-menu { display: block; }
.sub-menu a { display: block; padding: 9px 18px; color: var(--ink); text-decoration: none; }
.sub-menu a:hover { background: var(--soft); color: var(--blue); }
.menu-toggle { display: none; }
.about h2 { margin-top: 1.8rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius); border: 2px solid var(--blue); cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-small { padding: 7px 14px; font-size: .92rem; }
.btn-big { font-size: 1.15rem; padding: 13px 24px; }
.btn-outline { background: #fff; color: var(--blue); }
.btn-outline:hover { background: var(--soft); color: var(--blue-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; font-size: 1.15rem; padding: 13px 24px; }
.btn-outline-light:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* Hero */
.hero { background: var(--blue) linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; }
.hero { overflow: hidden; }
.hero-inner { padding-top: 3rem; padding-bottom: 3rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0; line-height: 1.1; }
.hero-text .hero-sub { margin-top: 0; }
.hero-sub { font-size: 1.2rem; max-width: 38rem; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.hero .btn-big { background: #fff; color: var(--blue); border-color: #fff; }
.hero .btn-big:hover { background: var(--soft); }

.home { background: #fdf0c4; }
.home .site-footer { margin-top: 0; }
.band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

/* Cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.cards + h2 { margin-top: 2.5rem; }
.card {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(29, 79, 156, .12); color: var(--ink); }
.card-img { display: flex; align-items: center; justify-content: center; height: 180px; background: #fff; padding: 12px; border-bottom: 1px solid var(--line); }
.card-img img { max-height: 100%; max-width: 100%; width: auto; height: auto; }
.card-title { font-weight: 600; padding: 12px 14px 4px; line-height: 1.35; }
.card-sub { color: var(--muted); font-size: .9rem; padding: 0 14px 12px; }
.card-title:last-child { padding-bottom: 14px; }
.cards-small { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.no-photo { display: block; width: 64px; height: 64px; border-radius: 50%; border: 5px solid var(--line); position: relative; }
.no-photo::after { content: ""; position: absolute; left: 50%; top: 18%; width: 4px; height: 34%; background: var(--line); transform: translateX(-50%); }
.no-photo.big { width: 140px; height: 140px; border-width: 9px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem; padding-top: 1.5rem; padding-bottom: 1rem; }
.product-photo { display: flex; align-items: flex-start; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; min-height: 260px; align-items: center; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 1rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.desc { margin-bottom: 1.5rem; }
.desc ul { padding-left: 1.2rem; }

.call-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 1.5rem 0; }
.call-box p { margin: 0 0 12px; }
.call-box .btn { width: 100%; max-width: 272px; text-align: center; }
.call-box .btn-big { font-size: .92rem; padding: 10px 19px; }
.call-lead { font-weight: 600; font-size: 1.1rem; }
.call-note { font-size: .93rem; color: var(--muted); margin-bottom: 0 !important; }

.contact-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px 12px; align-self: start; }
.phone-big { font-size: 1.6rem; font-weight: 700; }
.phone-big a { text-decoration: none; }

/* Footer */
.site-footer { background: #10223f; color: #c9d3e3; margin-top: 3rem; padding: 2rem 0 1rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-name { color: #fff; font-weight: 700; }
.copyright { font-size: .85rem; opacity: .75; margin-top: 1rem; }

@media (max-width: 980px) {
  .brand img { width: 230px; }
  .header-row { gap: 12px; }
  .nav-list > li > a, .sub-toggle { padding: 8px 9px; }
}
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 8px; }
  .brand img { width: 160px; }
  .phone { margin-left: auto; font-size: 1rem; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center; width: 42px; height: 38px; padding: 0;
    background: var(--blue); border: 0; border-radius: 6px; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 1px; position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav { display: none; order: 5; flex-basis: calc(100% + 32px); margin: 0 -16px -14px; background: var(--blue); }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 4px 0 10px; gap: 0; }
  .nav-list > li > a, .sub-toggle { color: #fff; padding: 12px 16px; border-radius: 0; width: 100%; text-align: left; font-size: 1rem; }
  .nav-list > li > a:hover, .sub-toggle:hover, .has-sub.open .sub-toggle { color: #fff; background: var(--blue-dark); }
  .nav-list a[aria-current="page"] { color: #fff; box-shadow: inset 3px 0 0 #fff; }
  .sub-menu { position: static; box-shadow: none; border: 0; border-radius: 0; background: var(--blue-dark); padding: 0 0 6px; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.open .sub-menu { display: block; }
  .sub-menu a { color: #fff; padding: 9px 32px; }
  .sub-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .two-col, .product, .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-photo { min-height: 0; }
}
