* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  background: #f9f9f9;
  overflow: auto;
  height: 100vh;
  width: 100vw;
  user-select: none;
  -webkit-user-select: none;
}

header {
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(0px);
}

a {
  text-decoration: none;
  color: #04395e;
}

/* Общие стили для секций */
.content {
  max-width: 1280px;
  margin: 0 auto;
}

.section {
  margin: 32px 20px 32px 20px;
  align-items: center;
  justify-content: center;
}

/* ===== 1 колонка ===== */
.row-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ===== РЯД 2: 1 колонка ===== */
.row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ===== РЯД 3: 2 колонки ===== */
.row-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.row-3flex {
  display: flex;
  gap: 20px;
}

/* ===== РЯД 4: 3 колонки ===== */
.row-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border-radius: 7px;
  border: solid 1px #b7b7b7;
  background: #fcfcfc;
}
.card-dir {
  border-radius: 7px;
  overflow: hidden;
  border: solid 1px #b7b7b7;
  background: #fcfcfc;
}

.card-dir img{
width: 100%;
height: auto;
object-fit: cover;
}

.card-dir h3{
  padding: 10px 15px 0 15px; 
  font-family: Roboto,sans-serif; 
  color: #024899;
}
.card-dir p{
padding: 5px 15px 15px 15px;
font-family: Roboto, sans-serif;
font-size: 0.8125em;
color: #000;
}


.card-dir:hover {
  transform: translateY(-5px);
}

.company {
  text-align: left;
  flex: 3;
}

/* ===== CompanyMKBox===== */
.cmkb-h1 {
  padding: 10px 0 0 25px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: clamp(27px, 2vw, 45px);
  color: #093a69;
}

.cmkb-h2 {
  padding-top: 4px;
  padding-left: 25px;
  font-family: "Roboto", sans-serif;
  font-size: clamp(23px, 2vw, 27px);
  font-weight: 700;
  color: #8d8d8d;
}

.cmkb-p {
  padding-top: 7px;
  padding-left: 25px;
  padding-right: 25px;
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  color: #585858;
}

.cmkb-pb {
  padding-top: 7px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 25px;
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  color: #585858;
}

/* ===== /CompanyMKBox===== */

/* ===== BlockContactBox===== */
.contact-box {
  padding: 0 0 45px 0;
  float: right;
  flex: 1;
  border: solid 1px #b7b7b7;
  background: linear-gradient(-225deg, #f5f5f5, #f5f5f5, #d2d2d2);
  background: -moz-linear-gradient(-45deg, #f5f5f5, #f5f5f5, #d2d2d2);
  background: -webkit-linear-gradient(-45deg, #f5f5f5, #f5f5f5, #d2d2d2);
  background: -o-linear-gradient(-45deg, #f5f5f5, #f5f5f5, #d2d2d2);
  background: -ms-linear-gradient (-225deg, #f5f5f5, #f5f5f5, #d2d2d2);
}

.contact-box-bg {
  background: linear-gradient(bottom, #001c71, #024899);
  background: -moz-linear-gradient(bottom, #001c71, #024899);
  background: -webkit-linear-gradient(bottom, #001c71, #024899);
  background: -o-linear-gradient(bottom, #001c71, #024899);
  background: -ms-linear-gradient(bottom, #001c71, #024899);
  padding: 15px 0 15px 15px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 23px;
  color: #ffffff;
}

.img-contact-box {
  float: right;
  padding: 10px 10px 0 0;
}

.tel-contact-box {
  padding: 25px 0 0 15px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #024899;
}

.text-contact-box {
  padding: 15px 0 0 15px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #024899;
}

.var-tel-contact-box {
  padding-left: 35px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #585858;
}

.var-contact-box {
  padding-left: 35px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  color: #585858;
}

.cont-time-box {
  padding: 10px 0 10px 0;
  text-align: center;
  margin: 20px 10px 15px 10px;
  background: #fff;
  border: solid 1px #b7b7b7;
  border-radius: 5px;
}

.text-time-box {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #024899;
}

.var-time-box {
  padding-top: 5px;
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #585858;
}

.var-map-contact-box {
  padding: 20px 0 0 15px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;

  color: #024899;
}
/* ===== / BlockContactBox===== */
/* Кнопка действия (интерактив) */
.cta-button {
  background: #054674;
  border: none;
  margin-top: 20px;
  padding: 1rem 1.5rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
  box-shadow: 0 8px 18px -6px rgba(23, 78, 115, 0.4);
  font-family: "Inter", sans-serif;
}
.cta-button:hover {
  background: #0056b3;
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.grecaptcha-badge {
  opacity: 0 !important;
  visibility: hidden !important;
}
@media (max-width: 768px) {
  .row-4 {
    display: flex;
    flex-direction: column;
    /* Меняем направление на колонку */
  }

  .row-3flex {
    flex-direction: column;
    /* Меняем направление на колонку */
  }

  .contact-box {
    display: none;
  }
}
