/* ====== base ====== */
:root{
  --container: 1320px;
  --pad: 20px;
  --text: #EAE6DE;
  --text-dim: rgba(234,230,222,.85);
  --gold: #b89a5b;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }

/* ИЗМЕНЕНО: Задаем белоснежный фон для краев сайта */
body{
  margin: 0;
  font-family: "Muller W00 UltraLight", Arial, sans-serif;
  font-weight: normal;
  color: var(--text);
  background: #ffffff; 
}

/* ДОБАВЛЕНО: Главная обертка для всего контента сайта (фиксированная ширина) */
.page-wrapper {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto; /* Центрируем сайт */
  background-color: #0b0f10; /* Базовый темный фон макета */
  position: relative;
  overflow: hidden; /* Не даем контенту и фонам вылезать за 1320px */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15); /* Тень для отделения от белого фона */
}

img{ max-width: 100%; height: auto; display: block; }

.container{
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

/* ====== header ====== */
.site-header {
  background: rgba(10, 14, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header__logo img {
  height: 60px;
  width: auto;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 30px; /* Отступ между блоком телефонов и иконкой Telegram */
}

/* Обертка для телефонов - теперь в СТРОКУ */
.header__phones {
  display: flex;
  flex-direction: row; /* Горизонтальное выравнивание */
  align-items: center;
  gap: 30px; /* Отступ между двумя номерами */
}

.header__phone {
  color: var(--text-dim, rgba(234, 230, 222, 0.85));
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.2px;
  line-height: 1;
  transition: color 0.2s ease;
}

.header__phone:hover {
  color: var(--text, #ffffff);
}

.header__tg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, background 0.2s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.header__tg:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
}

.header__tg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== Адаптив для шапки ====== */

/* Планшеты: если в ряд не влазит, складываем номера в колонку */
@media (max-width: 900px) {
  .header__phones {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}

/* Мобильные: центрируем всё */
@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
  }
  
  .header__phones {
    align-items: center;
  }
  
  .header__right {
    justify-content: center;
  }
}

/* Мелкие экраны */
@media (max-width: 480px) {
  .header__logo img {
    height: 50px;
  }
  
  .header__phone {
    font-size: 16px;
  }
  
  .header__tg {
    width: 40px;
    height: 40px;
  }
}

/* ====== hero ====== */
.hero{
  background-image: url("/assets/templates/gd2026/images/background_block_1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,.00) 75%);
  pointer-events:none;
}

.hero__inner{
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 24px;
  padding: 70px 0 80px;
}

.hero__content{
  max-width: 760px;
}

.hero__title-img{
  width: 760px;
  max-width: 100%;
  margin-bottom: 28px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}

.hero__subtitle{
  margin: 0 0 46px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 300;
  color: rgba(255,255,255,.78);
}

.hero__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 240px;
  padding: 0 42px;
  border-radius: 999px;
  border: 1px solid rgba(184,154,91,.65);
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 24px;
  letter-spacing: .6px;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(4px);
  transition: transform .15s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.hero__badge:hover{
  transform: translateY(-1px);
  border-color: rgba(184,154,91,.95);
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.18);
}

@media (max-width: 1024px){
  .hero__inner{
    grid-template-columns: 1fr;
    min-height: 520px;
    padding: 56px 0 64px;
  }
  .hero__spacer{ display: none; }
  .hero::before{
    background: linear-gradient(180deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.00) 100%);
  }
  .hero__subtitle{ font-size: 28px; margin-bottom: 34px; }
}

@media (max-width: 640px){
  .header__inner{ min-height: 64px; }
  .header__right{ gap: 14px; }
  .header__phone{ font-size: 16px; }
  .hero__inner{ min-height: 460px; padding: 46px 0 56px; }
  .hero__subtitle{ font-size: 22px; }
  .hero__badge{ height: 56px; min-width: 200px; font-size: 20px; padding: 0 28px; }
}

/* ====== text section ====== */
.text-section{
  background-image: url("/assets/templates/gd2026/images/background_block_2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.text-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.78);
  pointer-events: none;
}

.text-section .container{
  position: relative;
  z-index: 1;
}

.text-section__content{
  max-width: 1320px;
  padding: 20px 0 20px;
  font-size: 20px;
  line-height: 1.75;
  color: #2b2b2b;
  text-align: justify;
  text-justify: inter-word;
}

.text-section__content p{
  margin: 0 0 28px;
  hyphens: auto;
}

.text-section__content p:last-child{
  margin-bottom: 0;
}

@media (max-width: 1024px){
  .text-section__content{
    padding: 64px 0 72px;
    font-size: 18px;
  }
}

@media (max-width: 640px){
  .text-section__content{
    padding: 48px 0 56px;
    font-size: 16px;
    line-height: 1.65;
  }
}

/* ====== block 3: process ====== */
.process{
  background-image: url("/assets/templates/gd2026/images/background_block_3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 64px 0 70px;
  font-family: "Muller W00 Light", "Muller", Arial, sans-serif;
  color: rgba(255,255,255,.82);
}

.process::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.28);
  pointer-events:none;
}

.process .container{
  position: relative;
  z-index: 1;
}

.process__p{
  margin: 0;
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: .2px;
}

.process__p--wide{
  max-width: 100%;
}

.process__bottom{
  margin-top: 34px;
  max-width: 52%;
}

.process__bottom .process__p{
  margin-bottom: 28px;
}

.process__p--note{
  margin-top: 10px;
  margin-bottom: 30px;
}

.process__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid rgba(184,154,91,.7);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-family: "Muller", Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .4px;
  transition: transform .15s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.process__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(184,154,91,.95);
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.24);
}

@media (max-width: 1200px){
  .process__p{ font-size: 20px; }
  .process__bottom{ max-width: 58%; }
}

@media (max-width: 1024px){
  .process{
    padding: 56px 0 62px;
    background-position: right center;
  }
  .process__bottom{ max-width: 62%; }
}

@media (max-width: 768px){
  .process{ padding: 46px 0 54px; }
  .process__bottom{ max-width: 100%; }
  .process__p{ font-size: 18px; line-height: 1.6; }
  .process__btn{ height: 52px; font-size: 18px; padding: 0 28px; }
}

/* ====== block 4: full-width image band ====== */
.image-band{
  background-image: url("/assets/templates/gd2026/images/video_block_4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 560px;
}

@media (max-width: 1024px){
  .image-band{ min-height: 420px; }
}

@media (max-width: 640px){
  .image-band{ min-height: 320px; }
}

/* ====== block 5: coin specs (x3) ====== */
.coin-specs{
 background-image: var(--specs-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 78px 0 86px;
}

.coin-specs::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
  pointer-events:none;
}

.coin-specs .container{
  position: relative;
  z-index: 1;
}

.coin-specs__inner{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
}

.coin-specs__left{
  font-family: "Inter", Arial, sans-serif;
  color: rgba(255,255,255,.90);
}

.coin-specs__title{
  margin: 0 0 14px;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .2px;
}

.coin-specs__subtitle{
  margin: 0 0 44px;
  font-family: "Bad Script Regular", "Bad Script", cursive;
  font-size: 22px;
  line-height: 1.2;
  color: rgba(255,255,255,.78);
}

.coin-specs__dl{
  margin: 0 0 44px;
}

.coin-specs__row{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 2px 0;
}

.coin-specs__row dt,
.coin-specs__row dd{
  margin: 0;
  font-size: 22px;
  font-weight: 400;
}

.coin-specs__row dt{ color: rgba(255,255,255,.88); }
.coin-specs__row dd{ color: rgba(255,255,255,.82); }

.coin-specs__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 210px;
  padding: 0 36px;
  border-radius: 999px;
  border: 1px solid rgba(184,154,91,.7);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-family: "Muller", Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .4px;
  transition: transform .15s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.coin-specs__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(184,154,91,.95);
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.24);
}

.coin-specs__right{
  position: relative;
  min-height: 520px;
}

.coin-specs__coins{
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55));
  user-select: none;
  pointer-events: none;
}

@media (max-width: 1200px){
  .coin-specs__inner{ grid-template-columns: 1.15fr .85fr; }
  .coin-specs__title{ font-size: 38px; }
  .coin-specs__row{ grid-template-columns: 250px 1fr; }
  .coin-specs__row dt, .coin-specs__row dd{ font-size: 20px; }
  .coin-specs__right{ min-height: 460px; }
  .coin-specs__coins{ width: 620px; right: -10px; }
}

@media (max-width: 1024px){
  .coin-specs{
    padding: 60px 0 70px;
    background-position: right center;
  }
  .coin-specs__inner{ grid-template-columns: 1fr; }
  .coin-specs__right{ min-height: 520px; order: 2; }
  .coin-specs__coins{
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    display: block;
    margin: 10px auto 0;
    width: min(680px, 100%);
  }
}

@media (max-width: 640px){
  .coin-specs{ padding: 46px 0 54px; }
  .coin-specs__title{ font-size: 30px; }
  .coin-specs__subtitle{ font-size: 18px; margin-bottom: 28px; }
  .coin-specs__row{
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .coin-specs__row dt, .coin-specs__row dd{ font-size: 18px; }
  .coin-specs__right{ min-height: auto; }
  .coin-specs__coins{ width: 100%; }
}

/* ====== block 7: consultation form ====== */
.consult{
  background-image: url("/assets/templates/gd2026/images/consult-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
}

.consult::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
  pointer-events:none;
}

.consult .container{
  position: relative;
  z-index: 1;
}

.consult__inner{
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: flex-start;
  gap: 40px;
}

.consult__spacer{
  min-height: 1px;
}

.consult__form{
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}

.consult__form iframe{
  width: 100%;
  border: none;
}

@media (max-width: 1200px){
  .consult__inner{ grid-template-columns: 1fr 460px; }
}

@media (max-width: 1024px){
  .consult{ padding: 70px 0 80px; background-position: left center; }
  .consult__inner{ grid-template-columns: 1fr; }
  .consult__form{ margin-left: auto; width: min(520px, 100%); }
}

@media (max-width: 640px){
  .consult{ padding: 50px 0 60px; }
  .consult__form{ padding: 18px; border-radius: 10px; }
}

.b24-iframe{
  width: 100%;
  height: 518px;
  border: 0;
  display: block;
}

/* ====== text-section: dark variant ====== */
.text-section--dark{ background: #232c21; }
.text-section--dark::before{ display: none; }
.text-section--dark .text-section__content{ color: #ffffff; }

/* ====== consult: left variant ====== */
.consult--left{
  background-image: url("/assets/templates/gd2026/images/consult-bg-2.jpg");
}
.consult--left .consult__inner{ grid-template-columns: 520px 1fr; }

@media (max-width: 1024px){
  .consult--left .consult__inner{ grid-template-columns: 1fr; }
  .consult--left .consult__form{ margin-right: auto; }
}

/* ====== block 11: Split Block (Монета + Текст) ====== */
.split-block {
  position: relative;
  /* Градиент теперь просто разделяет 1320px ровно пополам */
  background: linear-gradient(to right, #000000 50%, #f1f0ec 50%);
  overflow: hidden;
}

.split-block::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: url("/assets/templates/gd2026/images/paper_bg.jpg") center / cover repeat;
  z-index: 0;
}

.split-block .container {
  position: relative;
  z-index: 1;
}

.split-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.split-block__left {
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-block__left img {
  width: 100%;
  max-width: 660px;
  height: auto;
  display: block;
}

.split-block__right {
  padding: 80px 40px 80px 60px;
  color: #2b2b2b;
  font-family: "Muller W00 Light", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  text-align: justify;
}

.split-block__right p { margin: 0 0 24px; }
.split-block__right p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .split-block { background: #000000; }
  .split-block__inner { grid-template-columns: 1fr; }
  .split-block__left { padding: 60px 20px 20px; }
  .split-block__right {
    background: #f1f0ec;
    padding: 60px 20px;
  }
}

/* ====== block 10: custom form styling ====== */
.consult--custom-form .consult__form {
  background: transparent;
  box-shadow: none;
}

/* ====== block 11: cases showcase ====== */
.cases-showcase {
  background: #1a1e1f;
  padding: 80px 0;
  text-align: center;
}
.cases-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  align-items: end;
}
.cases-showcase__caption {
  font-family: "Muller W00 Light", Arial, sans-serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(214, 192, 138, 0.8);
  margin: 0;
}
@media (max-width: 900px) {
  .cases-showcase__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ====== block 12: about company ====== */
.about-company {
  background: #f4f3ef;
  color: #2b2b2b;
  padding: 80px 0;
  font-family: "Muller W00 Light", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
.about-company h2 {
  font-family: "Muller", Arial, sans-serif;
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 20px;
  color: #000;
  letter-spacing: 0.5px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}
.about-text p { margin: 0 0 16px; }
.about-text ul { list-style-type: none; padding: 0; margin: 0; }
.about-text ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
}
.about-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2b2b2b;
}
.about-company__footer {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 20px;
}
.about-company__footer p { margin-bottom: 40px; }
.about-company__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 36px;
  border-radius: 999px;
  border: 1px solid #b89a5b;
  color: #2b2b2b;
  text-decoration: none;
  font-family: "Muller", Arial, sans-serif;
  font-size: 18px;
  transition: all 0.2s ease;
}
.about-company__btn:hover { background: #b89a5b; color: #fff; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid--2 { display: flex; flex-direction: column-reverse; }
}

/* ====== block 13: footer ====== */
.site-footer {
  background-image: url("/assets/templates/gd2026/images/footer-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #1a1a1a;
  font-family: "Muller", Arial, sans-serif;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  text-align: center;
}
.site-footer h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 30px;
  line-height: 1.3;
}
.socials-grid, .apps-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.social-item, .app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.social-item img {
  width: 150px;
  border-radius: 12px;
  /* background: #fff; */
  padding: 5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.app-item img {
  /* height: 50px; */
  width: auto;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.social-btn:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; gap: 50px; }
}

/* ====== block 14: cases showcase ====== */
.cases-showcase {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 0;
}

.cases-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
  align-items: end; /* Выравниваем шкатулки по нижнему краю, если они разной высоты */
}

.cases-showcase__item img {
  width: 100%;
  max-width: 340px; /* Ограничиваем максимальный размер шкатулки */
  margin: 0 auto;
  display: block;
  /* Добавляем легкую тень на случай, если в PNG её не будет */
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); 
}

.cases-showcase__caption {
  text-align: center;
  font-family: "Muller W00 Light", Arial, sans-serif;
  font-style: italic; /* Курсив как на макете */
  font-size: 20px;
  line-height: 1.6;
  color: #c4ab68; /* Золотистый оттенок текста из макета */
  margin: 0;
}

/* --- Адаптив --- */
@media (max-width: 992px) {
  /* На планшете и мобилке выстраиваем шкатулки в одну колонку */
  .cases-showcase__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .cases-showcase__caption {
    font-size: 18px;
    padding: 0 15px;
  }
  
  /* Отключаем перенос строки на мобилках, чтобы текст распределялся естественно */
  .cases-showcase__caption br {
    display: none;
  }
}
.about-company {
  background: #f4f3ef; /* Твой светлый фон */
  color: #2b2b2b;
  padding: 80px 0;
  font-family: "Muller W00 Light", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.about-company h2 {
  font-family: "Muller", Arial, sans-serif;
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 20px;
  color: #000;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

/* Настройки для каждого ряда */
.about-grid--left  { grid-template-areas: "img text"; }
.about-grid--right { grid-template-areas: "text img"; }

.about-grid img { grid-area: img; width: 100%; height: auto; border-radius: 4px; }
.about-text { grid-area: text; }

.about-text ul { list-style: none; padding: 0; }
.about-text ul li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.about-text ul li::before { content: "•"; position: absolute; left: 0; }

/* Кнопка */
.about-company__footer { text-align: center; max-width: 1000px; margin: 0 auto; }
.about-company__btn {
  display: inline-flex;
  height: 50px;
  padding: 0 40px;
  align-items: center;
  border: 1px solid #b89a5b;
  border-radius: 999px;
  text-decoration: none;
  color: #2b2b2b;
  font-family: "Muller", Arial, sans-serif;
}

/* Адаптив: на мобилке текст всегда идет после картинки */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid--left, .about-grid--right { 
    grid-template-areas: "img" "text"; 
  }
}
/* ====== block 16: Footer Layout (Strict) ====== */
.site-footer {
  padding: 60px 0;
  background-size: cover;
  background-position: center;
  color: #1a1a1a;
  font-family: "Muller", Arial, sans-serif;
}

.footer__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; /* КЛЮЧЕВОЙ МОМЕНТ: перенос блоков при нехватке места */
  gap: 40px;
}

.footer__block {
  flex: 1 1 400px; /* Блоки будут занимать минимум 400px, если места мало — перенесутся */
  text-align: center;
}

.footer__block h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Соцсети */
.socials-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* Иконки тоже переносятся, если экран совсем узкий */
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.s-icon { width: 120px; }
.qr-code { width: 120px; }

/* Приложения */
.apps-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.app-img { width: 180px; } /* Немного уменьшили для адаптивности */

/* Кнопки */
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid #b89a5b;
  color: #2b2b2b;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-btn:hover { background: #b89a5b; color: #fff; }

/* Мобильный адаптив */
@media (max-width: 600px) {
  .s-icon, .qr-code { width: 100px; }
  .app-img { width: 140px; }
  .footer__block h3 { font-size: 20px; }
}