/* ===== База ===== */
:root {
  --ink: #252b31;
  --muted: #616a73;
  --paper: #edf0f2;
  --yellow: #efc72f;
  --yellow2: #ffe866;
  --line: #d5dade;
  --card: #fff;
  --dark: #343b42;
  --gold: #9a7019;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Space Grotesk', Manrope, Arial, sans-serif;
  letter-spacing: -.055em;
  margin: 0;
}

.wrap {
  max-width: 1180px;
  padding: 0 28px;
  margin: auto;
}

/* ===== Верхняя полоса ===== */
.top {
  background: linear-gradient(112deg, #30373e 0%, #424a52 48%, #343c43 100%);
  color: #f7f8f8;
  font-size: 12px;
  border-bottom: 1px solid rgba(239, 242, 244, .18);
}

.top .wrap {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top span { color: #c1c6c9; }

/* ===== Шапка ===== */
.header {
  background: linear-gradient(112deg, #30373e 0%, #424a52 48%, #343c43 100%);
  color: #f7f8f8;
  border-bottom: 1px solid rgba(239, 242, 244, .19);
  position: sticky;
  top: 0;
  z-index: 10;
}

.head {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

header .brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  padding: 4px !important;
  overflow: hidden !important;
  flex: 0 0 76px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #efcf5c, #a77c1e) !important;
  border: 1px solid rgba(255, 242, 173, .8) !important;
  box-shadow: rgba(14, 18, 22, .22) 0 4px 14px, rgba(255, 255, 255, .35) 0 0 0 2px inset !important;
  line-height: 0 !important;
}

header .brand img.round-original-logo {
  display: block !important;
  width: 66px !important;
  height: 66px !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  background: #20272e !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  padding: 2px !important;
  box-shadow: none !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #e6e8ea;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.nav a:hover,
.nav a[aria-current="page"] { color: #ffe05b; }

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== Соцсети в шапке ===== */
.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-link {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: -.02em;
  transition: transform .18s ease, filter .18s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.social-rutube { background: #17181a; font-size: 9px; }
.social-telegram { background: #28a8e9; }
.social-max { background: #168de2; }
.social-youtube {
  background: linear-gradient(135deg, #ff5148 0%, #e62117 52%, #b5120c 100%);
  box-shadow: 0 2px 8px rgba(192, 24, 17, .3);
}

/* ===== Кнопки ===== */
.btn, .head-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(115deg, #fff17a 0%, #f6d93b 48%, #eabf22 100%);
  color: #262a2e;
  border: 1px solid rgba(143, 112, 17, .27);
  border-radius: 3px;
  padding: 13px 20px;
  font: 900 12px Manrope, sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(35, 37, 39, .12);
  transition: .18s;
  cursor: pointer;
}

.btn:hover, .head-cta:hover {
  background: linear-gradient(115deg, #fff8a8, #ffe866);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(35, 37, 39, .16);
}

.btn.dark {
  background: linear-gradient(115deg, #454d55, #353d45);
  color: #f6f7f8;
  border-color: #66717a;
}

.btn.white {
  background: #fff;
  color: #303840;
  border-color: #d5dade;
}

/* ===== Кнопка звонка (общая база) ===== */
.call-master {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 800;
}

.call-master svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* Header — золотая пилюля */
header .call-master {
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid #ffe05a;
  border-radius: 28px;
  background: linear-gradient(115deg, #fff17a 0%, #f6d93b 48%, #eabf22 100%);
  color: #17181a;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 0 #b58e00, 0 7px 18px rgba(239, 199, 47, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}

header .call-master svg { width: 22px; height: 22px; }

header .call-master:hover {
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b58e00, 0 10px 20px rgba(239, 199, 47, .35);
}

/* ===== Hero-cover ===== */
.hero.hero-cover {
  position: relative;
  padding: 0;
  color: #202329;
  background: linear-gradient(135deg, #e5e8ea 0%, #f4f5f5 52%, #dfe3e6 100%);
  overflow: hidden;
}

.hero-cover-image {
  position: relative;
  width: 100%;
  margin: 0;
  background: #171a1e;
  line-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-cover-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  object-position: center;
  background: #171a1e;
  filter: none;
}

.hero-cover-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(20, 25, 30, .24) 0%,
    rgba(25, 30, 35, .12) 24%,
    rgba(25, 30, 35, .035) 58%,
    rgba(20, 25, 30, 0) 82%);
}

.hero-cover-image img { position: relative; z-index: 1; }

.hero-cover-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(22px, 5vw, 72px);
  background: transparent;
  color: #303840;
}

.hero-cover-caption .eyebrow {
  display: inline-block;
  color: #98701c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-cover-caption h1 {
  margin: 7px 0 6px;
  color: #303840;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.14;
  text-transform: none;
}

.hero-cover-caption p {
  margin: 0;
  color: #525d66;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
}

/* ===== Секции ===== */
.section {
  padding: 90px 0;
  background: var(--paper);
}

.section.gray {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #e1e5e8 0%, #f1f3f4 54%, #e6e9eb 100%);
  color: #273038;
}

.section.gray::before {
  content: "";
  position: absolute;
  right: -5%;
  top: -32%;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(239, 199, 47, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(239, 199, 47, .05), 0 0 0 56px rgba(239, 199, 47, .04);
  pointer-events: none;
}

.section.gray > .wrap { position: relative; z-index: 1; }

.section h2 {
  font-size: clamp(31px, 4vw, 51px);
  line-height: 1.02;
  text-transform: uppercase;
}

.section.gray h2 { color: #273038; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.section-head p {
  max-width: 360px;
  margin: 0;
  color: #4b555e;
  font-size: 15px;
  line-height: 1.65;
}

/* ===== Карточки услуг ===== */
#services .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 255px;
  padding: 27px;
  background: #fff;
  border: 1px solid #d2d8dc;
  border-radius: 2px;
  box-shadow: rgba(25, 33, 40, .09) 0 12px 30px;
  transition: .22s;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: var(--yellow);
  transform: scaleX(.18);
  transform-origin: left;
  transition: .22s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #c9a72c;
  box-shadow: 0 16px 32px rgba(25, 33, 40, .12);
}

.card:hover::before { transform: scaleX(1); }

.card h3 {
  margin: 0 0 10px;
  color: #273038;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: #4b555e;
  font-size: 14px;
  line-height: 1.7;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  background: #e9e9e4;
  border: 1px solid #ddded8;
  border-radius: 2px;
  overflow: hidden;
}

.icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.icon span {
  font-size: 22px;
  font-weight: 900;
  color: #a17c00;
}

.link {
  margin-top: 14px;
  color: #805d10;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.link::after { content: " ↗"; }

/* ===== Блок цифр ===== */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d5d2ca;
  border-bottom: 1px solid #d5d2ca;
}

.number {
  padding: 30px 16px;
  border-right: 1px solid #d5d2ca;
}

.number:last-child { border: 0; }

.number b {
  display: block;
  color: #a17c00;
  font: 700 43px 'Space Grotesk', sans-serif;
}

.number span {
  color: #676966;
  font-size: 13px;
}

/* ===== Процесс ===== */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  min-height: 200px;
  padding: 28px;
  background: #fff;
  color: #273038;
  border: 1px solid #d2d8dc;
  border-radius: 2px;
  box-shadow: rgba(25, 33, 40, .09) 0 12px 30px;
}

.step small {
  color: #886613;
  font-weight: 800;
}

.step h3 {
  color: #273038;
  font-size: 20px;
  margin: 8px 0 10px;
}

.step p {
  margin: 0;
  color: #4b555e;
  font-size: 15px;
  line-height: 1.7;
}

/* ===== Отзывы ===== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quote {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.stars {
  color: #d9a82e;
  letter-spacing: 2px;
}

.quote p {
  color: #4b555e;
  line-height: 1.7;
  font-size: 14px;
}

.quote b { font-size: 13px; color: #273038; }

/* ===== Видео-тизер ===== */
.videos-teaser {
  background: linear-gradient(118deg, #e1e5e8 0%, #f1f3f4 54%, #e6e9eb 100%);
}

#videos-teaser .section-head { margin-bottom: 20px; }

.social-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.social-cta-group .btn { margin: 0; }

.social-cta-group .social-cta-secondary {
  background: linear-gradient(115deg, #454d55, #353d45);
  color: #f6f7f8;
  border-color: #66717a;
}

#videos-teaser .youtube-channel-cta {
  background: linear-gradient(115deg, #ff554c 0%, #e62117 55%, #b8140e 100%);
  border: 1px solid rgba(134, 13, 9, .22);
  color: #fff;
  box-shadow: 0 4px 12px rgba(188, 24, 17, .22);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 900;
}

#videos-teaser .youtube-channel-cta:hover { filter: brightness(1.08); }

#videos-teaser .youtube-channel-cta .yt-mark {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 16px;
  border-radius: 5px;
  background: #fff;
  color: #d31c14;
  font-size: 9px;
  font-weight: 900;
}

/* ===== FAQ ===== */
.faq { max-width: 850px; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  color: #273038;
}

.faq p {
  color: #4b555e;
  line-height: 1.7;
  font-size: 14px;
}

/* ===== Контактный CTA ===== */
.contact {
  padding: 38px;
  background: linear-gradient(115deg, #fff17a 0%, #f6d93b 48%, #eabf22 100%);
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  color: #262a2e;
}

.contact h2 { color: #262a2e; }

.contact p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #3a3d40;
}

/* ===== Карта / адрес ===== */
.map-card {
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: rgba(25, 33, 40, .07) 0 12px 30px;
}

.map-card h2 { font-size: 32px; margin: 8px 0; color: #273038; }

.map-card .eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #98701c;
}

.shop-address {
  margin: 8px 0 12px;
  color: #303840;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.map-link {
  display: inline-flex;
  align-items: center;
  color: #805d10;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.address-pin {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: auto auto auto auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 5px;
  padding: 18px;
  background: linear-gradient(135deg, #f6f7f7 0%, #e8ecee 100%);
  border: 1px solid #cfd6da;
  border-radius: 18px;
  color: #303840;
  box-shadow: 0 12px 30px rgba(31, 42, 51, .09);
}

.address-pin .heron-sign {
  grid-column: 1;
  grid-row: 1 / 5;
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(22, 29, 35, .16);
}

.address-pin .pin-icon { display: none; }

.address-pin strong {
  grid-column: 2;
  color: #303840;
  font-size: 17px;
}

.address-pin > span:not(.pin-icon):not(.heron-caption) {
  grid-column: 2;
  color: #404a52;
  font-size: 14px;
  line-height: 1.45;
}

.address-pin .heron-caption {
  grid-column: 2;
  color: #69747d;
  font-size: 13px;
  font-weight: 700;
}

.address-pin small {
  grid-column: 2;
  color: #705719;
  font-weight: 800;
}

/* ===== Подвал ===== */
.footer {
  padding: 45px 0 28px;
  background: linear-gradient(112deg, #30373e 0%, #424a52 48%, #343c43 100%);
  color: #f7f8f8;
  border-top: 1px solid rgba(239, 242, 244, .22);
}

.footerrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #c1c6c9;
}

.footerrow .brand img {
  display: block;
  width: clamp(118px, 13vw, 158px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #08090a;
  border: 1px solid rgba(226, 180, 66, .3);
  border-radius: 4px;
}

.footerrow a:hover { color: #ffe05b; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  padding: 16px 19px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  display: none;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  font-size: 13px;
}

.toast.show { display: block; }

/* ===== Адаптив ===== */
@media (max-width: 1050px) {
  .head { flex-wrap: wrap; gap: 10px; padding: 8px 0; }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px;
    padding: 6px 0 3px;
    font-size: 11px;
  }

  .head-actions { margin-left: auto; }

  #services .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 15px; }
  .process, .quotes { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .number:nth-child(2) { border-right: 0; }
  .number:nth-child(-n+2) { border-bottom: 1px solid #d5d2ca; }
  .map-card { grid-template-columns: 1fr; }
  .hero-cover-caption {
    display: block;
    padding: 18px 22px 22px;
  }
  .hero-cover-caption .btn { margin-top: 14px; }

    .hero-promo {
    width: 100%;
    font-size: 13px;
    padding: 12px 16px 12px 20px;
  }

  .hero-cta {
    width: 100%;
    align-items: stretch;
  }

  .hero-cta .call-master.btn {
    width: 100%;
  }

  .hero-phone {
    justify-content: center;
    font-size: 20px;
    margin-top: 4px;
  }

  .hero-cta-note {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .wrap { padding: 0 17px; }

  header .brand {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    flex-basis: 62px !important;
    padding: 3px !important;
  }

  header .brand img.round-original-logo {
    width: 54px !important;
    height: 54px !important;
  }

  header .call-master {
    min-height: 38px;
    padding: 7px 9px;
    gap: 5px;
    font-size: 10px;
    letter-spacing: 0;
    box-shadow: 0 3px 0 #b58e00, 0 5px 12px rgba(239, 199, 47, .25);
  }

  header .call-master svg { width: 18px; height: 18px; }

  .social-links { gap: 4px; }
  .social-link { min-width: 30px; height: 30px; padding: 0 6px; font-size: 9px; }
  .social-rutube { font-size: 8px; }

  .top .wrap { font-size: 10px; }
  .hero-cover-caption h1 { font-size: 23px; }
  .hero-cover-caption p { font-size: 14px; }

  #services .cards { grid-template-columns: 1fr; }
  .card { min-height: 220px; }

  .social-cta-group .btn { padding: 11px 13px; font-size: 12px; }
  #videos-teaser .youtube-channel-cta { width: 100%; justify-content: center; }

  .contact { display: block; padding: 26px; }
  .contact .btn { margin-top: 18px; width: 100%; }

  .footerrow { align-items: flex-start; flex-direction: column; }

  .address-pin {
    grid-template-columns: 70px 1fr;
    column-gap: 12px;
    padding: 14px;
  }
  .address-pin .heron-sign { width: 70px; height: 70px; }
}

@media (max-width: 480px) {
  .hero-cover-caption h1 { font-size: 21px; }
}

/* ===== Hero promo / CTA ===== */
.hero-promo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 13px 18px 13px 22px;
  background: linear-gradient(115deg, #2f3740 0%, #232a31 100%);
  border: 1px solid rgba(239, 199, 47, .45);
  border-radius: 10px;
  color: #f7f8f8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(31, 42, 51, .18);
  overflow: hidden;
}

.hero-promo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #fff17a, #eabf22);
}

.hero-promo-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff17a, #eabf22);
  color: #262a2e;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hero-cta .call-master.btn {
  min-height: 50px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 900;
  margin-top: 0;
}

.hero-cta .call-master.btn svg {
  width: 20px;
  height: 20px;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #303840;
  font-family: 'Space Grotesk', Manrope, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
  transition: color .18s;
  text-decoration: none;
}

.hero-phone:hover {
  color: #886613;
}

.hero-cta-note {
  font-size: 12px;
  font-weight: 600;
  color: #6c7074;
  text-align: center;
  line-height: 1.4;
}