/* Оболочка калькулятора в стилистике stroybaget.ru / Галерея ПРИНТ */

:root {
  --pink: #c2205f;
  --pink-soft: #e35a92;
  --blue: #1f8ecc;
  --blue-deep: #1a5f8f;
  --ink: #2d2d2d;
  --ink-mute: #7a7a7a;
  --line: #e5e2db;
  --paper: #fff;
  --paper-warm: #f5f1ea;
  --paper-soft: #faf8f4;
  --container: 1200px;
  --f-head: "Roboto Slab", Georgia, serif;
  --f-body: "Roboto Slab", system-ui, sans-serif;
  --f-italic: Georgia, "Times New Roman", serif;
}

.bc-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  color: var(--ink);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(194, 32, 95, 0.07), transparent 55%),
    radial-gradient(120% 130% at 100% 100%, rgba(31, 142, 204, 0.07), transparent 55%),
    linear-gradient(135deg, #faf8f4 0%, #f5f1ea 50%, #f1f3f7 100%);
}

.bc-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ---- Шапка ---- */
.bc-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(45, 45, 45, 0.06);
}

.bc-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.bc-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.bc-header__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.bc-header__contacts a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.bc-header__contacts a:hover { color: var(--pink); }

.bc-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.bc-header__cta:hover {
  background: var(--blue-deep);
  box-shadow: 0 10px 22px -12px rgba(31, 142, 204, 0.65);
  color: #fff;
}

.bc-nav {
  background: var(--pink);
}

.bc-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 52px;
  overflow-x: auto;
}

.bc-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 0;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.bc-nav a:hover { opacity: 1; }
.bc-nav a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* ---- Герой ---- */
.bc-hero {
  padding: 28px 0 8px;
}

.bc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

.bc-crumbs a {
  color: var(--ink-mute);
  text-decoration: none;
}

.bc-crumbs a:hover { color: var(--pink); }
.bc-crumbs .sep { opacity: 0.45; }
.bc-crumbs b { color: var(--ink); font-weight: 600; }

.bc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}

.bc-eyebrow::before {
  content: "";
  width: 34px;
  height: 8px;
  background: var(--pink);
  border-radius: 2px;
}

.bc-hero h1 {
  margin: 0 0 10px;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.bc-hero h1 .it {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-mute);
}

.bc-hero__lede {
  margin: 0;
  max-width: 720px;
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-mute);
}
/* ---- Подвал ---- */
.bc-footer {
  margin-top: 40px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.bc-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-mute);
}

.bc-footer a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
}

.bc-footer a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .bc-header__top {
    justify-content: space-between;
    text-align: left;
    padding: 12px 0;
  }
  .bc-logo img { height: 44px; }
  .bc-header__cta {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .bc-header__top { justify-content: center; text-align: center; }
  .bc-header__contacts { justify-content: center; }
  .bc-nav__inner { gap: 18px; }
  .bc-hero { padding: 20px 0 4px; }
  .bc-hero__lede { font-size: 15px; }
  .bc-crumbs {
    font-size: 12px;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .bc-header__contacts { display: none; }
  .bc-header__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .bc-header__cta {
    padding: 10px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .bc-nav__inner {
    gap: 14px;
    min-height: 46px;
    padding-bottom: 2px;
  }
  .bc-nav a { font-size: 14px; }
  .bc-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
