@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Exo+2:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/* ===== MINIMAL RESET ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: #e2f4ff;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-style: normal;
}

/* ===== MEDIA ===== */

img,
video,
svg {
  display: block;
  max-width: 100%;
}

/* ===== FORM ===== */

input,
button,
textarea,
select {
  font: inherit;
}

/* ===== LINKS ===== */

a {
  color: inherit;
  text-decoration: none;
}

/* ===== BUTTON ===== */

button {
  cursor: pointer;
}

main {
  color: rgb(0, 0, 0);
}

li {
  list-style: none;
}

h2 {
  letter-spacing: 0.02em;
  font-size: 30px;
  color: rgb(35, 35, 35);
}

.container {
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 15px 10px 15px;
}

/* ! HEADER ! */

/* .header {
  background-color: #ebfcff;

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.header .container {
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-height: 45px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-text {
  font-size: 18px;
  color: #0b1b2b;
  font-weight: 500;
}

.logo-desc {
  font-size: 14px;
  opacity: 0.7;
  font-weight: 400;
}

.whatsapp-btn {
  border-radius: 6px;
}

.telegram-btn {
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;

  background-color: #0088d7ca;
  color: #ffffff;

  padding: 6px 24px;
  border-radius: 12px;

  transition: 0.2s;
}

.cta-btn:hover .cta-btn-text {
  background-color: #0098f1;
  transform: translateY(-1px);
}

.cta-btn-text p:first-child {
  font-size: 13px;
  opacity: 0.8;
}
.cta-btn-text p:last-child {
  font-size: 16px;
}

.call-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.call-btn {
  padding: 3px 10px;
  font-size: 14px;
}

.call-btn-desc {
  font-size: 11px;
  opacity: 0.6;
} */

.header {
  background: #e2f4ff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LEFT ===== */

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: #0b1b2b;
}

.logo-role {
  font-size: 13px;
  color: rgba(11, 27, 43, 0.65);
  margin-top: 3px;
}

/* ===== RIGHT ===== */

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===== BUTTONS ===== */

.header-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 6px 21px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  text-align: center;
}

.header-btn .btn-title {
  font-size: 15px;
}

.header-btn .btn-desc {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}

/* Primary (WhatsApp) */

.header-btn.primary {
  background: #0088d7;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 136, 215, 0.15);
  letter-spacing: 0.02em;
}

.header-btn.primary:hover,
.header-btn.secondary:hover {
  background: #007ac1;
  transform: translateY(-1px);
}

/* Secondary (Telegram) */

.header-btn.secondary {
  background: #0088d7;
  color: #ffffff;
}

/* ===== CALL BLOCK ===== */

.header-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.call-title {
  font-size: 14px;
  font-weight: 700;
  color: #0b1b2b;
}

.call-desc {
  font-size: 12px;
  opacity: 0.65;
}

/* ! WELCOME ! */

.welcome {
  min-height: calc(125vh - 45px); /* 45px — твой хедер (navbar max-height) */
  padding: 240px 0 80px; /* вместо padding-top у container */

  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 76%,
      rgba(255, 255, 255, 0.35) 87%,
      #e2f4ffe3 97%,
      #e2f4ff 100%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 136, 215, 0.1) 100%
    ),
    url("./images/bg.jpg");

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.welcome .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-wrapper {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;

  max-width: 740px;
}

.welcome-title {
  margin-bottom: 20px;
  font-size: 40px;

  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.welcome-desc {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;

  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.main-cta-btn {
  margin-top: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: #0088d7;
  color: #ffffff;

  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 17px;

  box-shadow: 0 14px 28px rgba(0, 136, 215, 0.17);
  transition: all 0.3s;
}

.main-cta-btn:hover {
  background-color: #007ac1;
  transform: scale(1.02);
}

/* ! ABOUT ! */

.about {
  padding-top: 60px;
  background: #e2f4ff;

  margin-top: -1px; /* убивает шов */
}

.about .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.about-grid {
  display: grid;
  position: relative;
  grid-template-columns: 380px 1fr;
  gap: 46px;
  align-items: center; /* ВОТ ЭТО РЕШАЕТ ДИСБАЛАНС */
}

.about-grid::after {
  content: "";
  position: absolute;
  left: 380px; /* ширина колонки с фото */
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.about-text {
  max-width: 560px; /* чтобы текст не расползался */
}

.about-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
  margin-bottom: 70px;
}

.about-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

.text-wrapper {
  margin-bottom: 30px;
}

.about-img {
  width: 100%;
  height: 350px;
  width: 350px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.img-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #0b1b2b;
}

.img-desc {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(11, 27, 43, 0.7);
}

.about-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(11, 27, 43, 0.82);
  max-width: 490px;
}

.about-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
  padding: 0;
  list-style: none;
}

.about-badges li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.12);
  color: #0b1b2b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ! SERVICES ! */

.services {
  padding: 80px 0 20px;
  background: #e2f4ff; /* в тон about, чтобы держать бело-синий стиль */
}

.services-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
  /* margin-bottom: 70px; */
}

.services-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

.services-subtitle {
  margin: 14px auto 0;
  max-width: 560px;
  text-align: center;

  font-size: 15px;
  line-height: 1.55;
  color: rgba(11, 27, 43, 0.72);
}

.services-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Карточка */
.service-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid;
  border-color: rgba(0, 136, 215, 0.35);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);

  padding: 10px;
  padding-bottom: 15px;

  /* min-height: 290px; */

  display: flex;
  flex-direction: column;
  gap: 12px;

  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 136, 215, 0.65);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.09);
}

/* Заглушка под фото */
.service-media {
  height: 140px;
  border-radius: 16px;
  overflow: hidden; /* КЛЮЧЕВО */

  background: rgba(0, 136, 215, 0.06);

  display: block; /* НЕ grid */
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* КЛЮЧ */
  object-position: center;
  display: block;
}

.service-media-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(11, 27, 43, 0.45);
}

/* Тексты */
.service-title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.01em;
}

.service-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(11, 27, 43, 0.8);
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .services {
    padding: 60px 0 90px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
  }
  .service-media {
    height: 160px;
  }
}

/* ! TRUST ! */

.trust {
  padding: 80px 0 70px;
  background: #e2f4ff;
}

/* заголовок как в твоих секциях */
.trust-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
  margin-bottom: 70px;
}

.trust-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

/* ВАЖНОЕ: ограничиваем ширину сетки, чтобы не разъезжалось на 1400px */
.trust-grid {
  max-width: 980px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(6, 1fr); /* вместо repeat(3, 1fr) */
  gap: 46px 44px;

  justify-items: center;
  align-items: start;
}

/* каждая карточка занимает 2 колонки */
.trust-card {
  grid-column: span 2;
  width: 100%;
  max-width: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

/* 1 ряд */
.trust-card:nth-child(1) {
  grid-column: 1 / span 2;
}
.trust-card:nth-child(2) {
  grid-column: 3 / span 2;
}
.trust-card:nth-child(3) {
  grid-column: 5 / span 2;
}

/* 2 ряд (по центру) */
.trust-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.trust-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.trust-card {
  width: 100%;
  max-width: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.trust-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08),
    inset 0 0 0 2px rgba(0, 136, 215, 0.12);

  transition: transform 0.22s, box-shadow 0.22s;
}

.trust-icon img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  display: block;
}

/* заглушка вместо битых картинок */
.trust-icon-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;

  color: rgba(11, 27, 43, 0.55);
  background: rgba(0, 136, 215, 0.1);
  border: 1px dashed rgba(0, 136, 215, 0.35);
}

.trust-card:hover .trust-icon {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 136, 215, 0.18),
    inset 0 0 0 2px rgba(0, 136, 215, 0.28);
}

.trust-text {
  font-size: 15px;
  font-weight: 700;
  color: #0b1b2b;
  letter-spacing: 0.01em;
}

/* Адаптив */

@media (max-width: 560px) {
  .trust-grid {
    max-width: 360px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-card {
    grid-column: auto;
  }
}

/* ! PROCESS ! */

/* =========================
   PROCESS (NO GRID, FLEX)
========================= */

.process2 {
  padding: 60px 0 80px;
  background: #e2f4ff;
}

.process2-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
}

.process2-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

.process2-subtitle {
  text-align: center;
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(11, 27, 43, 0.72);
}

/* настройки стрелок */
.process2 {
  --arrow-color: rgba(0, 136, 215, 0.75); /* чуть ярче */
  --arrow-stroke: 4.2; /* жирнее */
  --arrow-width: 110px; /* длиннее на десктопе */
}

.process2-row {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  flex-wrap: nowrap;
}

.process2-card {
  width: min(420px, 100%);
  flex: 0 0 280px;

  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 26px 24px;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process2-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 10px;
  background: rgba(0, 136, 215, 0.12);
  border: 1px solid rgba(0, 136, 215, 0.25);

  font-weight: 800;
  color: #0b1b2b;
  margin-bottom: 12px;
}

.process2-card-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0b1b2b;
}

.process2-card-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(11, 27, 43, 0.74);
  max-width: 320px;
}

/* стрелки между карточками */
.process2-arrow {
  flex: 0 0 var(--arrow-width);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process2-arrow-svg {
  width: var(--arrow-width);
  height: 24px;
  max-width: 80%;
}

.process2-arrow-svg path {
  fill: none;
  stroke: var(--arrow-color);
  stroke-width: var(--arrow-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 520px) {
  .process2 {
    padding: 70px 0 90px;
  }

  .process2-title {
    font-size: 30px;
  }

  .process2-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .process2-card-title {
    font-size: 18px;
  }

  .process2-card-desc {
    font-size: 13.5px;
  }
}

/* ! TERMS (Условия работы) ! */

.terms {
  padding: 10px 0 60px;
  background: rgb(226, 244, 255);
}

.terms-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
}

.terms-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

.terms-subtitle {
  text-align: center;
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(11, 27, 43, 0.72);
}

.terms-wrap {
  margin-top: 46px;
  display: flex;
  gap: 22px;
  align-items: stretch;
  justify-content: center;
}

.terms-card {
  flex: 1 1 0; /* обе карточки делят строку поровну */
  max-width: 620px; /* потолок */
  width: 100%; /* чтобы внутри flex корректно тянуло */

  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;

  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 26px 26px 24px;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.terms-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.terms-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #0b1b2b;
  letter-spacing: 0.01em;
}

/* icons */
.terms-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border: 1px solid transparent;
}

.terms-icon svg {
  width: 33px;
  height: 33px;
}

/* DO theme */
.terms-card--do .terms-icon {
  background: rgba(34, 197, 94, 0.12);
  color: rgba(34, 197, 94, 0.95);
  border-color: rgba(34, 197, 94, 0.22);
}

/* NO theme */
.terms-card--no .terms-icon {
  background: rgba(239, 68, 68, 0.12);
  color: rgba(239, 68, 68, 0.95);
  border-color: rgba(239, 68, 68, 0.22);
}

/* list */
.terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;

  font-size: 15px;
  line-height: 1.55;
  color: rgba(11, 27, 43, 0.78);
}

.terms-bullet {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.35);
  flex: 0 0 10px;
}

@media (max-width: 980px) {
  .terms-wrap {
    flex-direction: column;
    align-items: center;
  }

  .terms-card {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 520px) {
  .terms {
    padding: 70px 0 90px;
  }

  .terms-title {
    font-size: 30px;
  }

  .terms-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .terms-card-title {
    font-size: 20px;
  }

  .terms-item {
    font-size: 14px;
  }

  .terms-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    flex-basis: 45px;
  }
}

/* ! PRICES (Ориентировочные цены) ! */

.prices {
  padding: 50px 0 60px;
  background: rgb(226, 244, 255);
}

.prices-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
}

.prices-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

.prices-subtitle {
  text-align: center;
  margin: 18px auto 0;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(11, 27, 43, 0.72);
}

/* list */

.prices-list {
  margin: 46px auto 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}

.prices-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 2px;
  border-bottom: 1px solid rgba(11, 27, 43, 0.18);
}

.prices-name {
  font-size: 16px;
  color: rgba(11, 27, 43, 0.85);
}

.prices-value {
  font-size: 16px;
  font-weight: 700;
  color: #0b1b2b;
  white-space: nowrap;
}

/* button */

.prices-action {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.prices-btn {
  padding: 12px 28px;
  border-radius: 10px;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;

  color: #0b1b2b;
  background: transparent;
  border: 2px solid rgba(0, 136, 215, 0.5);

  transition: 0.25s ease;
}

.prices-btn:hover {
  background: rgba(0, 136, 215, 0.08);
  border-color: rgba(0, 136, 215, 0.85);
}

/* adaptation */

@media (max-width: 520px) {
  .prices {
    padding: 70px 0 90px;
  }

  .prices-title {
    font-size: 30px;
  }

  .prices-item {
    flex-direction: column;
    gap: 6px;
  }

  .prices-value {
    font-size: 15px;
  }
}

/* ! MATERIALS MINI SECTION ! */

.materials-info {
  padding: 40px 0 40px;
  background: rgb(226, 244, 255);
}

.materials-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #0b1b2b;
  margin: 0;
}

.materials-title::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

/* grid */
.materials-grid {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.materials-item {
  max-width: 260px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(11, 27, 43, 0.75);
}

@media (max-width: 680px) {
  .materials-grid {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .materials-item {
    max-width: 360px;
  }
}

@media (max-width: 520px) {
  .materials-info {
    padding: 60px 0 70px;
  }

  .materials-title {
    font-size: 28px;
  }

  .materials-item {
    font-size: 15px;
  }
}

/* ! PROJECTS (объекты) ! */

.projects {
  padding: 70px 0 20px;
  background: rgb(226, 244, 255);
}

.projects-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
}

.projects-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

.projects-subtitle {
  text-align: center;
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(11, 27, 43, 0.72);
}

/* GRID */
.projects-grid {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: stretch;
}

.project-card {
  width: min(560px, 100%);
  flex: 0 1 420px;

  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  overflow: hidden;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
}

.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* удобно подставлять фото */
  background: rgba(0, 136, 215, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.project-img {
  width: 100%;
  /* height: 100%; */
  max-height: 270px;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 18px 18px 20px;
  text-align: center;
}

.project-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.01em;
}

.project-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(11, 27, 43, 0.74);
}

/* BUTTON — в стиле прайса (обводка + ховер) */
.projects-cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.projects-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 22px;
  border-radius: 10px;

  background: transparent;
  border: 2px solid rgba(0, 136, 215, 0.55);
  color: #0b1b2b;

  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;

  transition: 0.2s;
}

.projects-btn:hover {
  background: rgba(0, 136, 215, 0.1);
  border-color: rgba(0, 136, 215, 0.7);
  transform: translateY(-1px);
}

/* ADAPTATION */

@media (max-width: 520px) {
  .projects {
    padding: 70px 0 90px;
  }

  .projects-title {
    font-size: 30px;
  }

  .project-body {
    padding: 16px 14px 18px;
  }

  .project-title {
    font-size: 18px;
  }

  .project-desc {
    font-size: 14px;
  }
}

/* ! CONTACT (форма заявки) ! */

/* ! CONTACT (форма заявки) — MINIMAL LIKE MOCKUP ! */

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* !!!!!!!! */

/* .form-status {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(11, 27, 43, 0.75);
}

.form-status--success {
  color: #2e7d32;
}

.form-status--error {
  color: #c62828;
} */

.form-status {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;

  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-status--success {
  color: #2e7d32;
}

.form-status--error {
  color: #c62828;
}

/* !!!!!!!! */

.contact {
  padding: 70px 0 0px;
  background: rgb(226, 244, 255);
}

.contact-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.02em;
  margin: 0;
}

.contact-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.65);
}

/* центрируем всё как на твоём рефе */
.contact-wrap {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* общая “рамка” как в макете */
.contact-info,
.contact-form {
  width: min(520px, 100%);
  /* border: 2px solid rgba(11, 27, 43, 0.45); */
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* верхний инфо-блок */
.contact-info {
  text-align: center;
  padding: 16px 18px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-phone-ico {
  font-size: 18px;
  opacity: 0.9;
}

.contact-phone-link {
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.01em;
}

.contact-hours {
  margin-bottom: 5px;
}

.contact-hours,
.contact-note {
  font-size: 15px;
  color: rgba(11, 27, 43, 0.72);
}

/* форма */
.contact-form {
  padding: 18px;
  padding-bottom: 30px;
}

/* 2 инпута в ряд как на макете */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* поля */
.field {
  display: block;
}

/* лейблы прячем (оставляем для доступности/логики) */
.field-label {
  display: none;
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 10px 12px;

  border: 2px solid rgba(11, 27, 43, 0.35);
  border-radius: 6px;
  background: transparent;

  font-size: 16px;
  color: #0b1b2b;

  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: rgba(11, 27, 43, 0.55);
  font-weight: 600;
}

.field-input:focus,
.field-textarea:focus {
  border-color: rgba(0, 136, 215, 0.65);
  background: rgba(255, 255, 255, 0.35);
}

/* textarea отдельной строкой как на рефе */
.field--textarea {
  margin-top: 14px;
}

.field-textarea {
  resize: vertical;
  min-height: 170px;
  padding-top: 12px;
}

/* выбор связи */
.contact-choice {
  margin-top: 18px;
  border: 0;
  padding: 0;
}

.contact-choice-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(11, 27, 43, 0.72);
  margin-bottom: 10px;
}

/* делаем “как список” по центру */
.radio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 8px 0;
  user-select: none;
}

.radio-input {
  /* логику не трогаем, просто прячем дефолт */
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-ui {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(11, 27, 43, 0.35);
  background: transparent;
  flex: 0 0 10px;
  position: relative;
}

.radio-input:checked + .radio-ui {
  border-color: rgba(0, 136, 215, 0.75);
}

.radio-input:checked + .radio-ui::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: rgba(0, 136, 215, 0.75);
}

.radio-text {
  font-size: 14px;
  color: rgba(11, 27, 43, 0.78);
  font-weight: 600;
}

/* кнопка — как в прайсе/проектах */
.contact-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-direction: column; /* как ты и хочешь */
  align-items: center;
}

.contact-btn {
  padding: 12px 22px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;

  background: transparent;
  border: 2px solid rgba(0, 136, 215, 0.55);
  color: #0b1b2b;

  transition: 0.2s;
}

.contact-btn:hover {
  background: rgba(0, 136, 215, 0.1);
  border-color: rgba(0, 136, 215, 0.7);
  transform: translateY(-1px);
}

.contact-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(11, 27, 43, 0.68);
}

/* ADAPT */
@media (max-width: 560px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact {
    padding: 70px 0 90px;
  }

  .contact-title {
    font-size: 30px;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}

/* ! FOOTER ! */

.footer {
  padding: 30px 0 30px;
  background: rgb(226, 244, 255);
  border-top: 2px solid rgba(11, 27, 43, 0.18);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-top {
  font-size: 14px;
  font-weight: 600;
  color: rgba(11, 27, 43, 0.62);
}

.footer-region {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(11, 27, 43, 0.7);
}

.footer-divider {
  width: min(420px, 92%);
  height: 1px;
  background: rgba(11, 27, 43, 0.18);
  margin: 18px 0 18px;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  font-weight: 800;
  color: #0b1b2b;
  letter-spacing: 0.01em;
}

.footer-phone-ico {
  font-size: 18px;
  opacity: 0.9;
}

.footer-mess {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(11, 27, 43, 0.6);
}

.footer-socials {
  margin-top: 18px;
  display: flex;
  gap: 22px;
}

/* кнопки-иконки как на эталоне */
.footer-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #fff;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-img {
  width: 95%;
}

.footer-social:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

.arrow-mobile {
  display: none;
}

@media (max-width: 520px) {
  .footer {
    padding: 60px 0 50px;
  }

  .footer-top {
    font-size: 13.5px;
  }

  .footer-region {
    font-size: 14.5px;
  }

  .footer-phone {
    font-size: 15px;
  }

  .footer-social {
    width: 44px;
    height: 44px;
  }

  .footer-social svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 1200px) {
  .process2 {
    --arrow-width: 80px;
  }
}

@media (max-width: 1099px) {
  .process2-row {
    margin-top: 34px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .arrow-mobile {
    display: flex;
  }

  .process2-card {
    flex: 0 1 auto;
    width: 100%;
    max-width: 380px;
  }

  /* ВОТ ТУТ КЛЮЧ: сбрасываем flex-basis и делаем норм высоту */
  .process2-arrow {
    flex: 0 0 auto; /* <-- вместо flex: 0 0 var(--arrow-width) */
    width: 100%; /* чтобы не был "узкой полоской" */
    height: 60px; /* больше воздуха */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .process2-arrow-svg {
    display: block;
    width: 76px; /* <-- было 22, поэтому "будто нет" */
    height: 78px;
    transform: rotate(90deg);
    transform-origin: center;
  }

  .trust {
    padding: 70px 0 70px;
  }

  .process2 {
    padding: 60px 0 80px;
  }

  .prices {
    padding: 50px 0 70px;
  }
}

@media (max-width: 1000px) {
  .trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-card {
    max-width: 210px;
  }

  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-card {
    max-width: 350px;
  }
}

@media (max-width: 900px) {
  .welcome-title {
    font-size: 37px;
  }

  .about-title,
  .services-title,
  .trust-title,
  .process2-title,
  .terms-title,
  .prices-title,
  .materials-title,
  .projects-title,
  .contact-title {
    font-size: 32px;
  }

  .materials-grid {
    gap: 60px;
  }

  .project-title {
    font-size: 18px;
  }

  .contact,
  .projects {
    padding-top: 70px;
  }

  .materials-info {
    padding-top: 10px;
    padding-bottom: 25px;
  }

  .process2 {
    padding-top: 50px;
  }
}

@media (max-width: 750px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-badges {
    justify-content: center;
  }

  .about-grid::after {
    display: none;
  }

  .materials-grid {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .projects {
    padding-top: 40px;
  }

  .welcome-title {
    max-width: 630px;
  }

  .service-card {
    max-width: 300px;
  }

  .welcome {
    padding-top: 140px;
  }
}

@media (max-width: 650px) {
  .about-img {
    height: 320px;
    width: 320px;
  }

  .welcome-title {
    font-size: 34px;
  }

  .service-card {
    text-align: center;
  }

  .header-inner {
    height: auto;
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    text-align: center;
  }

  .logo-role {
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  .process2-card {
    max-width: 360px;
  }

  .terms-card {
    max-width: 400px;
  }

  .welcome-title {
    font-size: 32px;
    max-width: 550px;
  }

  .welcome-desc {
    max-width: 300px;
  }

  .services-subtitle {
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .welcome-title {
    font-size: 29px;
    max-width: 390px;
  }

  .project-card {
    flex: 0 1 370px;
  }

  .project-img {
    width: 100%;
    max-height: 220px;
  }

  .contact-form {
    padding-bottom: 10px;
  }

  .contact-wrap {
    margin-top: 30px;
  }

  .welcome-desc {
    max-width: 330px;
  }

  .prices-name {
    text-align: center;
  }

  .welcome {
    padding-top: 160px;
  }

  .about-title,
  .services-title,
  .trust-title,
  .process2-title,
  .terms-title,
  .prices-title,
  .materials-title,
  .projects-title,
  .contact-title {
    font-size: 26px;
  }

  .about-title {
    margin-bottom: 20px;
  }

  .trust-card {
    max-width: 160px;
  }

  .process2-card {
    max-width: 300px;
  }

  .process2-subtitle {
    max-width: 340px;
  }

  .services {
    padding-bottom: 20px;
  }

  .header-btn.primary {
    box-shadow: none;
  }

  .process2 {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .terms {
    padding: 10px 0 60px;
  }

  .terms-card {
    max-width: 350px;
  }

  .prices {
    padding: 0px 0 70px;
  }

  .about-img {
    height: 300px;
    width: 300px;
  }

  .materials-grid {
    gap: 40px;
  }

  .projects {
    padding-top: 10px;
  }

  .contact {
    padding: 0px 0 20px;
  }

  .footer {
    padding: 20px 0 20px;
  }

  .about {
    padding-top: 20px;
  }

  .about-badges li {
    padding: 7px 9px;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-desc {
    max-width: 93%;
  }

  .welcome {
    min-height: calc(110vh - 45px);
  }

  .footer-mess {
    margin-top: 20px;
  }

  .trust {
    padding: 50px 0 60px;
  }
}

@media (max-width: 450px) {
  .about-desc {
    max-width: 280px;
  }

  .welcome-title {
    font-size: 27px;
    max-width: 390px;
  }
}

@media (max-width: 410px) {
  .about-badges li {
    max-width: 70%;
  }

  .img-desc {
    max-width: 75%;
  }

  .trust-card {
    max-width: 120px;
  }

  .header-right {
    gap: 10px;
  }

  .header-btn {
    padding: 6px 17px;
  }

  .process2 {
    padding-top: 10px;
    padding-bottom: 60px;
  }

  .prices {
    padding: 0px 0 40px;
  }

  .projects {
    padding-bottom: 60px;
  }

  .trust-grid {
    gap: 50px;
  }
}

@media (max-width: 385px) {
  .welcome-title {
    font-size: 27px;
    max-width: 260px;
  }
}

/* ! SECOND PAGE ! */

.logo {
  cursor: pointer;
}

.project-img {
  min-height: 270px;
  max-height: 270px;
}

.second-page-projects {
  padding-top: 20px;
}

.second-page-project-card {
  flex: 0 1 420px;
}

:root {
  --header-safe: 86px; /* дефолт для десктоп/планшет */
}

.back-home {
  position: absolute;
  left: 16px;
  top: 16px; /* по умолчанию */
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 14px;
  border-radius: 12px;

  text-decoration: none;
  color: #0b1b2b;

  background: rgba(226, 244, 255, 0.88);
  border: 2px solid rgba(0, 136, 215, 0.45);
  backdrop-filter: blur(6px);

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;

  transition: 0.22s ease;
}

/* ИКОНКА */
.back-home-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(0, 136, 215, 0.45);
  background: rgba(255, 255, 255, 0.6);

  color: rgba(0, 136, 215, 0.9);
}

.back-home:hover {
  background: rgba(0, 136, 215, 0.08);
  border-color: rgba(0, 136, 215, 0.85);
}

.back-home:hover .back-home-icon {
  color: #0088d7;
}

.back-home:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 136, 215, 0.18);
}

@media (min-width: 600px) {
  .back-home {
    top: calc(-10px + var(--header-safe));
  }
}

@media (max-width: 599px) {
  .back-home {
    top: 12px;
    left: 12px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .back-home-icon {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 1030px) {
  .second-page-projects {
    padding-top: 80px;
  }
}

@media (max-width: 650px) {
  .second-page-projects {
    padding-top: 60px;
  }

  .back-home {
    top: 138px;
    left: 50%;
    transform: translateX(-50%);
  }

  .back-home-icon {
    width: 26px;
    height: 26px;
  }
}

.back-home {
  -webkit-tap-highlight-color: transparent; /* убирает подсветку iOS/Android */
  tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation; /* убирает лишние задержки/жесты */
  /* иногда стабилизирует отрисовку */
}

/* если вдруг браузер рисует внутренний фокус у ссылки */
.back-home::-moz-focus-inner {
  border: 0;
}
