table.customTable {
    width: 80%;
    background-color: #FFFFFF;
    border-collapse: collapse;
    border-width: 2px;
    border-color: #7ea8f8;
    border-style: solid;
    color: #000000;
    margin: auto;
    font-size: 20px;
}

table.customTable td, table.customTable th {
    border-width: 2px;
    border-color: #7ea8f8;
    border-style: solid;
    padding: 5px;
}

table.customTable thead {
    background-color: #7ea8f8;
}

.form-style-10 {
    width: 450px;
    padding: 30px;
    margin: 40px auto;
    background: #FFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
}

.form-style-10 .inner-wrap {
    padding: 30px;
    background: #F8F8F8;
    border-radius: 6px;
    margin-bottom: 15px;
}

.form-style-10 h1 {
    background: #2A88AD;
    padding: 20px 30px 15px 30px;
    margin: -30px -30px 30px -30px;
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -moz-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #257C9E;
}

.form-style-10 h1 > span {
    display: block;
    margin-top: 2px;
    font: 13px Arial, Helvetica, sans-serif;
}

.form-style-10 label {
    display: block;
    font: 13px Arial, Helvetica, sans-serif;
    color: #888;
    margin-bottom: 15px;
}

.form-style-10 input[type="text"],
.form-style-10 textarea,
.form-style-10 select {
    display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.33);
}

.form-style-10 .section {
    font: normal 20px 'Bitter', serif;
    color: #2A88AD;
    margin-bottom: 5px;
}

.form-style-10 .section span {
    background: #2A88AD;
    padding: 5px 10px 5px 10px;
    position: absolute;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border: 4px solid #fff;
    font-size: 14px;
    margin-left: -45px;
    color: #fff;
    margin-top: -3px;
}

.form-style-10 input[type="button"],
.form-style-10 input[type="submit"] {
    background: #2A88AD;
    padding: 8px 20px 8px 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
    font: normal 30px 'Bitter', serif;
    -moz-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.17);
    border: 1px solid #257C9E;
    font-size: 15px;
}

.form-style-10 input[type="button"]:hover,
.form-style-10 input[type="submit"]:hover {
    background: #2A6881;
    -moz-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    -webkit-box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
    box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.28);
}

.form-style-10 .privacy-policy {
    float: right;
    width: 250px;
    font: 12px Arial, Helvetica, sans-serif;
    color: #4D4D4D;
    margin-top: 10px;
    text-align: right;
}
h1 {
font-size: 50px;
font-style: italic;
margin: 10px 500px;
}
.imagesy {
margin: 20px 50px;
font-size: 25px;

}

.vertical-form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Отступы между элементами */
  max-width: 400px;
  margin: 20px auto;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

button {
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start; /* Кнопка по левому краю */
  font-size: 16px;
}

.row {
  display: flex;
  align-items: center;        /* прижать по центру по вертикали */
  gap: 8px;                   /* расстояние между картинкой и текстом */
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;             /* чтобы картинку не сжимало */
}



.btn-gradient {
  padding: 12px 28px;
  font-size: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 16px;               /* чуть сильнее скругление */
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(118, 75, 162, 0.4);
}

.btn-gradient:active {
  transform: translateY(0);
}

.input-shadow {
  padding: 14px 18px;
  border: none;                   /* убираем рамку */
  border-radius: 10px;
  font-size: 16px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background-color: #ffffff;
  outline: none;
}

.input-shadow:focus {
  box-shadow: 0 4px 12px rgba(0,123,255,0.25);
}
.floating-label {
  position: relative;
  margin-bottom: 1.5rem;
}

.label-text {
  position: absolute;
  left: 0.75rem;
  top: 0.875rem;
  color: #666;
  background: white;
  padding: 0 0.25rem;
  pointer-events: none;
  transition: 0.2s;
  z-index: 1;
}

.input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2rem; /* отступ слева, чтобы label не наезжал */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Когда поле в фокусе или в нём есть значение — поднимаем label */
.input:focus + .label-text,
.input:not(:placeholder-shown) + .label-text {
  top: -0.75rem;
  font-size: 0.85rem;
  color: #007bff;
}


h1 {
  font-size: 2.5rem;        /* масштабируется относительно базового шрифта */
  font-weight: 700;         /* жирный, но не обязательно bold */
  line-height: 1.2;         /* плотный межстрочный интервал для заголовков */
  margin-top: 0;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
}

.modern-table caption {
  margin-bottom: 0.5rem;
  text-align: left;
  font-weight: 600;
  color: #222;
}

.modern-table th,
.modern-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
}

.modern-table thead th {
  background-color: #f8f9fa;
  color: #444;
  text-align: left;
  font-weight: 500;
}

.modern-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.modern-table tbody tr:hover {
  background-color: #f0f7ff;
}

.text-right {
  text-align: right;
}

body {
  margin: 0;
  padding: 20px;
  background-color: #f4f6f8; /* Очень светлый серый (не белый, меньше устают глаза) */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.container_8 {
      display: flex;
      justify-content: space-between;   /* разводит карточки по краям */
      gap: 20px;                       /* расстояние между карточками */
      padding: 20px;
      max-width: 1200px;                /* опционально: ограничим ширину */
      margin: 0 auto;
}
.contact-card {
  width: 640px;
  aspect-ratio: 1 / 2;           /* делает блок квадратным */
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-image {
  flex: 1;
  min-height: 140px;            /* чтобы фото занимало верхнюю часть */
  background: #f5f5f5;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* фото заполняет область, не искажаясь */
  display: block;
}

.card-info {
  margin-top: 10px;
}

.card-name {
  margin: 0 0 4px 0;
  font-size: 16px;
}

.card-address, .card-phone {
  margin: 2px 0;
  color: #555;
  font-size: 13px;
}

.card-phone a {
  color: inherit;
  text-decoration: none;
}
    .container {
      display: flex;
      justify-content: space-between;   /* разводит карточки по краям */
      gap: 20px;                       /* расстояние между карточками */
      padding: 20px;
      max-width: 1800px;                /* опционально: ограничим ширину */
      margin: 0 auto;
    }
 .contact-card_1 {
  width: 1640px;
  aspect-ratio: 3 / 1;           /* делает блок квадратным */
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
 .contact-card_2 {
  width: 940px;
  aspect-ratio: 1.6 / 1;           /* делает блок квадратным */
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

  .image-container {
    display: flex;
    gap: 10px;               /* расстояние между фото */
    justify-content: center;/* центрирование по горизонтали */
  }
  .photo {
    width: 500px;           /* фиксированная ширина */
    height: auto;           /* высота подстроится, пропорции сохранятся */
    object-fit: cover;
  }

    .photo_1 {
    width: 800px;           /* фиксированная ширина */
    height: auto;           /* высота подстроится, пропорции сохранятся */
    object-fit: cover;
  }