:root {
  --brand: #0170b9;
  --brand-dark: #0f4f7d;
  --ink: #243242;
  --muted: #617085;
  --line: #dfe7ee;
  --soft: #f4f8fb;
  --accent: #f2a424;
  --white: #fff;
}

.btm-static *,
.btm-offline-header *,
.btm-footer * {
  box-sizing: border-box;
}

.btm-static {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

.btm-static a,
.btm-offline-header a,
.btm-footer a {
  color: var(--brand);
  text-decoration: none;
}

.btm-static a:hover,
.btm-static a:focus,
.btm-offline-header a:hover,
.btm-offline-header a:focus,
.btm-footer a:hover,
.btm-footer a:focus {
  color: var(--brand-dark);
}

.btm-offline-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.btm-nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.btm-logo {
  display: inline-flex;
  align-items: center;
}

.btm-logo img {
  width: 210px;
  max-width: 48vw;
  height: auto;
  display: block;
}

.btm-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

.btm-menu a {
  color: var(--ink);
}

.btm-menu a[aria-current="page"],
.btm-menu a:hover {
  color: var(--brand);
}

.btm-hero {
  min-height: 390px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 38, 62, 0.88), rgba(15, 38, 62, 0.54)),
    var(--hero-image) center / cover no-repeat;
  color: var(--white);
}

.btm-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.btm-hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

.btm-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.btm-section {
  padding: 64px 0;
}

.btm-section.alt {
  background: var(--soft);
}

.btm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.btm-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btm-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(32, 48, 67, 0.08);
}

.btm-card-body {
  padding: 22px;
}

.btm-card h2,
.btm-card h3,
.btm-section h2 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.25;
}

.btm-card p,
.btm-section p {
  color: var(--muted);
}

.btm-card img,
.btm-gallery img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.btm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
}

.btm-button:hover,
.btm-button:focus {
  background: var(--brand-dark);
  color: var(--white);
}

.btm-button.secondary {
  background: var(--accent);
  color: #1f2933;
}

.btm-list {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.btm-contact-box {
  border-left: 5px solid var(--brand);
  background: var(--soft);
  padding: 22px;
  border-radius: 8px;
}

.btm-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.btm-caption {
  padding: 12px 14px 14px;
  font-weight: 700;
}

.btm-footer {
  padding: 28px 0;
  background: #1f2933;
  color: rgba(255, 255, 255, 0.82);
}

.btm-footer a {
  color: var(--white);
}

@media (max-width: 820px) {
  .btm-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .btm-menu {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .btm-grid,
  .btm-grid.two,
  .btm-gallery {
    grid-template-columns: 1fr;
  }

  .btm-section {
    padding: 44px 0;
  }
}
