/* --- Общие стили --- */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #F8F8F8;
  color: #313942;
  margin: 0;
  padding: 0;
}

a {
  color: #2070B0;
  text-decoration: none;
  transition: color 0.19s;
}
a:hover {
  color: #313942;
  text-decoration: underline;
}

ul {
  margin: 18px 0 20px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

section {
  margin-bottom: 34px;
  background: linear-gradient(90deg,#F8F8F8 80%, #D4DEEE 100%);
  border-radius: 9px;
  padding: 18px 18px;
  box-shadow: 0 2px 16px rgba(32,112,176,0.04);
}

/* --- Контейнер и шапка --- */
.container {
  max-width: 950px;
  margin: 40px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(32,112,176,0.13);
  padding: 42px 40px 24px 40px;
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 120px;
  margin: 12px auto 16px auto;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(32,112,176,0.14);
  display: block;
}

h1 {
  color: #2070B0;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 10px;
}
h2 {
  color: #2070B0;
  font-size: 1.3rem;
  margin-top: 34px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/* --- Фокус: уменьшенные изображения + эффект увеличения --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.preview-img {
  max-width: 220px;
  height: auto;
  margin: 16px auto;
  display: block;
  cursor: zoom-in;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 14px rgba(32,112,176,0.10);
  border-radius: 7px;
}
.preview-img:hover {
  box-shadow: 0 4px 20px rgba(32,112,176,0.18);
}

/* --- Специальные блоки (портфолио, патенты, новости) --- */
.news, .portfolio, .patents, .publications, .advantages {
  border-left: 5px solid #2070B0;
  padding-left: 18px;
  margin-top: 22px;
}

/* --- Контактная форма --- */
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form input, .contact-form textarea {
  margin-bottom: 18px;
  border: 1.5px solid #CAD2DF;
  border-radius: 7px;
  padding: 10px;
  font-size: 1em;
  background: #F8F8F8;
  color: #313942;
  transition: border-color 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #2070B0;
  outline: none;
}
.contact-form button {
  background: linear-gradient(90deg, #2070B0 60%, #D4DEEE 110%);
  color: #fff;
  font-weight: bold;
  padding: 11px 0;
  border: none;
  border-radius: 7px;
  font-size: 1em;
  box-shadow: 0 1px 8px rgba(32,112,176,0.09);
  cursor: pointer;
  transition: background 0.22s;
}
.contact-form button:hover {
  background: linear-gradient(90deg, #2070B0 20%, #4F637C 100%);
}

/* --- GDPR Consent Checkbox --- */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.gdpr-consent {
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
}
.gdpr-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.gdpr-consent label {
  line-height: 1.5;
  margin: 0;
}

/* --- Галерея, адаптивные блоки --- */
.gallery, .content, .figures {
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

/* --- Footer --- */
footer {
  text-align: center;
  margin: 32px 0 0 0;
  padding: 15px 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(90deg, #F8F8F8 80%, #D4DEEE 100%);
  color: #4F637C;
  font-size: 1em;
}

/* --- Мобильно-адаптивные стили --- */
@media (max-width: 800px) {
  .container {
    max-width: 100vw;
    padding: 11px 2vw 18vw 2vw;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
  }
  header { margin-bottom: 12px; }
  h1 { font-size: 1.08em; }
  h2 { font-size: 1em; margin-top: 18px;}
  section { padding: 10px 5px; }
  .preview-img { max-width: 95vw; }
}

/* --- End --- */
