/* ===== ОБЩИЕ СТИЛИ ===== */
:root {
  --header-height: 80px;
  --nav-extra-offset: 6px;
}

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

body {
  font-family: 'Cambria', 'Georgia', 'Times New Roman', serif;
  background: #0a192f;
  color: #e6f1ff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
  transition: padding-top 0.3s ease;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  width: 100%;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

textarea {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
td,
th,
label {
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== ШАПКА ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 25, 47, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 8px 0;
  transition: transform 0.3s ease;
  z-index: 100;
  box-shadow: none;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  text-decoration: none;
  color: inherit;
}

.rounded-logo {
  width: clamp(45px, -25px + 21.875vw, 80px);
  height: clamp(45px, -25px + 21.875vw, 80px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #64ffda;
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
  transition: all 0.5s ease;
  animation: logoGlow 10s infinite alternate;
  will-change: transform, box-shadow;
}

.rounded-logo:hover {
  animation: none;
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 50px #64ffda;
}

.brand-title {
  font-size: clamp(1.2rem, 6vw, 1.8rem);
  font-weight: 700;
  color: #e6f1ff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(100, 255, 218, 0.3);
}

.tagline {
  font-size: clamp(0.7rem, 0.3rem + 2vw, 0.9rem);
  color: #64ffda;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
  margin: 2px 0 0 0;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ===== КОНТАКТЫ В ШАПКЕ ===== */
.contacts {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 16px);
  flex-wrap: wrap;
}

.contact-icon {
  display: inline-flex;
  width: clamp(28px, -4px + 10vw, 46px);
  height: clamp(28px, -4px + 10vw, 46px);
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  border: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
  text-decoration: none;
  animation: float 3s infinite ease-in-out;
}

.contact-svg {
  display: block;
  width: clamp(18px, 0.3rem + 2.5vw, 24px);
  height: clamp(18px, 0.3rem + 2.5vw, 24px);
  object-fit: contain;
  pointer-events: none;
}

.contact-icon:hover {
  background: #64ffdb25;
  transform: translateY(-6px) rotate(360deg);
  box-shadow: 0 0 30px #64ffda;
  animation: none;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
}

.phone-numbers a {
  color: #e6f1ff;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.7rem, 0.1rem + 3vw, 1rem);
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
}

.phone-numbers a:hover {
  color: #64ffda;
  transform: translateX(5px);
  text-shadow: 0 0 10px #64ffda;
}

/* ===== НАВИГАЦИЯ ===== */
.sticky-nav {
  position: sticky;
  top: calc(var(--header-height) + var(--nav-extra-offset, 0px));
  z-index: 90;
  background: rgba(10, 25, 47, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px 0;
  border-radius: 50px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  transition: top 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 32px #64ffda;
}

.sticky-nav.sticky-at-top {
  top: 0;
}

.nav-links {
  display: flex;
  gap: clamp(10px, 3vw, 40px);
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10px;
}

.nav-links a {
  text-decoration: none;
  color: #e6f1ff;
  font-weight: 600;
  font-size: clamp(0.7rem, 0.2rem + 2.5vw, 1.1rem);
  padding: 4px 0;
  position: relative;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #64ffda, #00bcd4);
  border-radius: 3px;
  transition: width 0.3s;
  box-shadow: 0 0 15px #64ffda;
}

.nav-links a:hover,
.nav-links a.active {
  color: #64ffda;
  text-shadow: 0 0 10px #64ffda;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ===== СЛАЙДЕР ===== */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 920 / 430;
  margin: 40px auto;
  border-radius: clamp(20px, 5vw, 40px);
  overflow: hidden;
  box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(100, 255, 218, 0.2);
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1.5s cubic-bezier(0.25, 0.1, 0.2, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  background: transparent;
}

.slide img {
  width: 100%;
  height: 100%;
  transition: transform 1.2s cubic-bezier(0.2, 0.9, 0.3, 1);
  filter: none;
  will-change: transform, filter;
}

.slide.active img.contain-img {
  transform: scale(1);
  filter: drop-shadow(0 0 30px #64ffda);
}

.slide.active img.cover-img {
  transform: scale(1);
  filter: drop-shadow(0 0 30px #64ffda);
}

.contain-img {
  object-fit: contain;
  background: transparent;
}

.cover-img {
  object-fit: cover;
}

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #64ffda, #00bcd4);
  transition: width 5s linear;
  z-index: 25;
  box-shadow: 0 0 20px #64ffda;
}

/* ===== ЗАГОЛОВКИ ===== */
.section-title {
  font-size: clamp(2rem, 1rem + 5vw, 2.6rem);
  text-align: center;
  margin: 60px 0 40px;
  font-weight: 700;
  color: #e6f1ff;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #64ffda, #00bcd4);
  margin: 15px auto 0;
  border-radius: 3px;
  box-shadow: 0 0 20px #64ffda;
}

/* ===== СЕТКА УСЛУГ ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.card {
  background: rgba(20, 40, 60, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: clamp(16px, 4vw, 24px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  border: 1px solid rgba(100, 255, 218, 0.2);
  animation: cardFade 0.8s ease backwards;
  position: relative;
  will-change: transform, box-shadow;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:nth-child(4n+1) {
  animation-delay: 0.1s;
}

.card:nth-child(4n+2) {
  animation-delay: 0.2s;
}

.card:nth-child(4n+3) {
  animation-delay: 0.3s;
}

.card:nth-child(4n+4) {
  animation-delay: 0.4s;
}

@keyframes cardFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 45px -12px rgba(100, 255, 218, 0.4);
  border-color: #64ffda;
}

.card-img {
  width: 100%;
  aspect-ratio: 250 / 160;
  overflow: hidden;
  background: transparent;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
  filter: brightness(0.9) contrast(1.1);
}

.card:hover .card-img img {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.2) drop-shadow(0 0 20px #64ffda);
}

.card h3,
.card-title {
  padding: clamp(12px, 2vw, 16px) clamp(8px, 2vw, 12px);
  font-size: clamp(0.9rem, 0.5rem + 2vw, 1.1rem);
  font-weight: 700;
  text-align: center;
  color: #e6f1ff;
  background: rgba(10, 25, 47, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(100, 255, 218, 0.2);
}

.card h3 span,
.card-title span {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64ffda;
  margin-top: 5px;
  opacity: 0.9;
}

/* ===== КОНТАКТЫ И ФОРМА (основная) ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.info-card {
  background: rgba(20, 40, 60, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 32px;
  padding: 30px 20px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 45px -12px rgba(100, 255, 218, 0.4);
  border-color: #64ffda;
}

.info-card-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px #64ffda);
}

.metro-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  left: -10px;
  top: -2px;
  filter: drop-shadow(0 0 15px #64ffda);
}

.info-card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #e6f1ff;
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.info-card p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #a8b8d8;
  font-weight: 700;
}

.info-card a {
  color: #64ffda;
  text-decoration: none;
  transition: all 0.2s;
}

.info-card a:hover {
  text-shadow: 0 0 10px #64ffda;
  transform: translateX(5px);
}

.contact-form-section {
  background: rgba(20, 40, 60, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 40px;
  padding: 40px;
  margin: 60px 0;
  border: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.5);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.form-group {
  margin-bottom: 25px;
}

.contact-form__grid .form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #64ffda;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.consent-label a {
  color: #fff000;
  text-decoration: none;
  transition: all 0.2s ease;
}

.consent-label a:hover {
  color: #ff0000;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 25, 47, 0.8);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 30px;
  color: #e6f1ff;
  font-family: 'Cambria', 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control::placeholder {
  color: #8892b0;
}

.form-control:focus {
  outline: none;
  border-color: #64ffda;
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
  background: rgba(10, 25, 47, 0.95);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-input-wrapper input[type="file"] {
  display: none;
}

.file-input-button {
  background: rgba(100, 255, 218, 0.1);
  border: 1px dashed #64ffda;
  color: #64ffda;
  padding: 14px 18px;
  border-radius: 30px;
  text-align: center;
  transition: all 0.3s;
  width: 100%;
  display: block;
  font: inherit;
  cursor: pointer;
}

.file-input-wrapper:hover .file-input-button,
.file-input-button:hover {
  background: rgba(100, 255, 218, 0.2);
  border-color: #64ffda;
}

.file-name {
  display: block;
  max-width: 100%;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #8892b0;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.btn-submit {
  background: #64ffda;
  color: #0a192f;
  border: none;
  padding: 14px 35px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
  width: 100%;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: #00bcd4;
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 0 30px #64ffda;
}

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
}

.form-message {
  display: none;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  border-radius: 30px;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background: rgba(100, 255, 218, 0.2);
  color: #64ffda;
  border: 1px solid #64ffda;
}

.form-message.error {
  display: block;
  background: rgba(255, 100, 100, 0.2);
  color: #ff6464;
  border: 1px solid #ff6464;
}

.recaptcha-notice {
  margin-top: 16px;
  color: #a8b8d8;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
}

.recaptcha-notice a {
  color: #64ffda;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.recaptcha-notice a:hover {
  color: #e6f1ff;
  text-shadow: 0 0 10px #64ffda;
}

.grecaptcha-badge {
  visibility: hidden;
}

.map-container {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  border-radius: 40px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* =====================================================
   МОДАЛЬНОЕ ОКНО – ПОЛНОСТЬЮ АДАПТИВНОЕ (320–1400px)
   ===================================================== */
body.contact-modal-open {
  overflow: hidden;
  padding-right: var(--contact-modal-scrollbar, 0px);
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2.5vw, 20px);
  background: rgba(10, 25, 47, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 200;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__dialog {
  width: min(100%, 680px);
  max-height: calc(100vh - 2rem);
  display: flex;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s ease;
}

.contact-modal.is-open .contact-modal__dialog {
  transform: translateY(0) scale(1);
}

.contact-modal__panel {
  position: relative;
  width: 100%;
  background: rgba(20, 40, 60, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: clamp(24px, 5vw, 34px);
  border: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.55);
  padding: clamp(16px, 4vw, 28px);
  overflow-y: auto;
  /* только на случай переполнения */
  display: flex;
  flex-direction: column;
}

.contact-modal__title {
  margin: 0 0 clamp(4px, 1vw, 8px) 0;
  text-align: center;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  line-height: 1.3;
}

.contact-modal__title::after {
  content: '';
  display: block;
  width: clamp(40px, 10vw, 56px);
  height: 3px;
  margin: clamp(6px, 1.5vw, 10px) auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #64ffda, #00bcd4);
  box-shadow: 0 0 15px #64ffda;
}

.contact-modal__close {
  position: absolute;
  top: clamp(8px, 2vw, 12px);
  right: clamp(8px, 2vw, 12px);
  width: clamp(34px, 7vw, 44px);
  height: clamp(34px, 7vw, 44px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  z-index: 5;
}

.contact-modal__close:hover {
  background: #64ffda;
  transform: rotate(90deg);
  box-shadow: 0 0 25px #64ffda;
}

.contact-modal__close:focus-visible {
  outline: 2px solid #64ffda;
  outline-offset: 3px;
}

.contact-modal__close-icon {
  width: clamp(16px, 3.5vw, 22px);
  height: clamp(16px, 3.5vw, 22px);
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ---------- КОМПАКТНАЯ ФОРМА ВНУТРИ МОДАЛКИ ---------- */
.contact-modal .contact-form--compact {
  max-width: none;
  width: 100%;
}

.contact-modal .contact-form--compact .contact-form__grid {
  grid-template-columns: 1fr;
  gap: clamp(10px, 2vw, 14px);
}

.contact-modal .form-group {
  margin-bottom: 0;
}

.contact-modal .form-group label {
  display: block;
  margin-bottom: clamp(4px, 1vw, 6px);
  color: #64ffda;
  font-weight: 600;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.5px;
}

.contact-modal .contact-form--compact .form-control {
  padding: clamp(10px, 2.5vw, 14px) clamp(12px, 3vw, 18px);
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  border-radius: 30px;
}

.contact-modal .contact-form--compact textarea.form-control {
  min-height: clamp(70px, 18vw, 100px);
  max-height: clamp(70px, 18vw, 100px);
  resize: none;
}

.contact-modal .contact-form--compact .file-input-button {
  padding: clamp(10px, 2.5vw, 14px) clamp(12px, 3vw, 18px);
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.contact-modal .file-input-button__icon {
  width: clamp(16px, 3vw, 20px);
  height: clamp(16px, 3vw, 20px);
}

.contact-modal .file-name {
  margin-top: clamp(6px, 1.5vw, 8px);
  font-size: clamp(0.75rem, 2.2vw, 0.9rem);
}

.contact-modal .contact-form--compact .btn-submit {
  padding: clamp(12px, 2.5vw, 16px) clamp(18px, 5vw, 28px);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  letter-spacing: 0.5px;
  border-radius: 40px;
}

.contact-modal .contact-form--compact .recaptcha-notice {
  margin-top: clamp(10px, 2vw, 14px);
  font-size: clamp(0.7rem, 2vw, 0.82rem);
  line-height: 1.5;
}

.contact-modal .contact-form--compact .form-message {
  margin-top: clamp(10px, 2vw, 16px);
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  padding: clamp(8px, 2vw, 12px);
  border-radius: 30px;
}

.contact-modal .consent-label {
  font-size: clamp(0.8rem, 2.4vw, 0.95rem);
}

.contact-modal .consent-label a {
  color: #fff000;
  text-decoration: none;
}

.contact-modal .consent-label a:hover {
  color: #ff0000;
}

/* Ультракомпактные правки для iPhone 5 / 320px */
@media (max-width: 360px) {
  .contact-modal__close {
    width: 36px;
    height: 36px;
  }

  .contact-modal__close-icon {
    width: 18px;
    height: 18px;
  }

  .contact-modal .contact-form--compact .form-control {
    padding: 10px 12px;
  }

  .contact-modal .contact-form--compact textarea.form-control {
    min-height: 66px;
    max-height: 66px;
  }

  .contact-modal .contact-form--compact .btn-submit {
    padding: 11px 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 320px) {
  .contact-modal__panel {
    padding: 12px;
  }

  .contact-modal__close {
    width: 32px;
    height: 32px;
    top: 6px;
    right: 6px;
  }

  .contact-modal__close-icon {
    width: 16px;
    height: 16px;
  }

  .contact-modal .contact-form--compact .form-control {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .contact-modal .contact-form--compact textarea.form-control {
    min-height: 56px;
    max-height: 56px;
  }

  .contact-modal .contact-form--compact .btn-submit {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .contact-modal .contact-form--compact .recaptcha-notice {
    font-size: 0.68rem;
  }
}

/* ===== СКРЕПКА (общие стили) ===== */
.file-input-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.file-input-button__icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ===== КНОПКА «НАВЕРХ» ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: rgba(100, 255, 218, 0.2);
  border: 2px solid #64ffda;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top-icon {
  width: 28px;
  height: 28px;
  display: block;
  transition: filter 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: #64ffda;
  transform: scale(1.1);
  box-shadow: 0 0 40px #64ffda;
}

.scroll-to-top:hover .scroll-to-top-icon {
  filter: brightness(0) saturate(100%) invert(10%) sepia(30%) saturate(1200%) hue-rotate(180deg) brightness(95%) contrast(95%);
}

/* ===== ПОДВАЛ ===== */
footer {
  background: #0a192f;
  color: #8892b0;
  padding: clamp(40px, 8vw, 50px) 0 clamp(20px, 5vw, 30px);
  margin-top: 60px;
  position: relative;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #64ffda, #00bcd4, transparent);
}

.footer-flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(30px, 6vw, 40px);
}

.footer-col {
  text-align: center;
}

.footer-col h3 {
  color: #64ffda;
  font-size: clamp(1.2rem, 0.8rem + 2vw, 1.5rem);
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.footer-col h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #64ffda, #00bcd4);
  margin: 8px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px #64ffda;
}

.footer-col p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 8px);
  font-size: clamp(0.65rem, 0.2rem + 2.5vw, 0.95rem);
  font-weight: 600;
  color: #8892b0;
  flex-wrap: wrap;
}

.footer-icon {
  width: clamp(16px, 3vw, 20px);
  height: clamp(16px, 3vw, 20px);
  display: block;
  object-fit: contain;
  transition: transform 0.3s;
  filter: drop-shadow(0 0 8px #64ffda);
}

.footer-col a {
  color: #8892b0;
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #64ffda;
  text-shadow: 0 0 10px #64ffda;
}

.footer-social-center {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
}

.footer-social-center a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  border: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

.footer-social-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  transition: transform 0.4s;
}

.footer-social-center a:hover {
  background: #64ffdb25;
  transform: translateY(-6px) rotate(360deg);
  box-shadow: 0 0 30px #64ffda;
}

.footer-col address {
  font-style: normal;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ БЛОКИ ===== */
.work-hours {
  display: inline-block;
  background: rgba(100, 255, 218, 0.1);
  padding: 8px 25px;
  border-radius: 40px;
  margin-top: 15px;
  border: 1px solid rgba(100, 255, 218, 0.3);
}

.clock-icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 0px;
  left: -10px;
  filter: drop-shadow(0 0 15px #64ffda);
}

.work-hours span {
  text-align: center;
  line-height: 1.8;
  display: inline-block;
  vertical-align: middle;
  font-weight: 700;
}

/* ===== УТИЛИТЫ ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.metrika-counter-image {
  position: absolute;
  left: -9999px;
}

.section-divider {
  width: 120px;
  height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, #64ffda, #00bcd4, #64ffda, transparent);
}

.section-divider--spaced {
  margin: 20px auto;
}

.section-title--compact-top {
  margin-top: 20px;
}

.services-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.required-mark {
  color: #ff6464;
}

.heading-offset-top {
  margin-top: 25px;
}

.social-links-inline {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 15px;
}

.note-muted-center {
  text-align: center;
  color: #a8b8d8;
  font-weight: 600;
}

.note-muted-center--medium {
  margin: 20px 0 40px;
}

.note-muted-center--large {
  margin: 30px 0;
}

.text-accent-strong {
  color: #64ffda;
  margin-top: 20px;
  font-size: 1.1rem;
}

.lead-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  color: #a8b8d8;
  line-height: 1.8;
  font-weight: 600;
}

.feature-panel {
  background: rgba(20, 40, 60, 0.5);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 50px;
  margin: 40px 0;
  padding: 40px;
}

.feature-panel__title {
  color: #64ffda;
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
}

.feature-panel__footer {
  text-align: center;
  margin-top: 30px;
}

.feature-panel__footer-copy {
  color: #e6f1ff;
  font-size: 1.2rem;
}

.two-column-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin: 50px 0;
}

.two-column-highlight__media {
  flex: 1 1 300px;
}

.two-column-highlight__content {
  flex: 2 1 400px;
}

.glow-image-small {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 0 30px #64ffda);
}

.body-copy-large-muted {
  font-size: 1.1rem;
  color: #a8b8d8;
  line-height: 1.8;
  font-weight: 600;
}

.paragraph-top-15 {
  margin-top: 15px;
}

.paragraph-top-20 {
  margin-top: 20px;
}

.paragraph-top-30 {
  margin-top: 30px;
}

.paragraph-bottom-15 {
  margin-bottom: 15px;
}

.section-heading-lg {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

.info-block--spaced {
  margin-top: 20px;
}

.info-block--warning {
  border-left-color: #ffaa00;
}

.content-block--padded {
  padding: 40px;
}

.content-heading-accent {
  color: #64ffda;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 20px #64ffda;
}

.accent-heading-sm {
  color: #64ffda;
  margin-bottom: 15px;
}

.hero-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #a8b8d8;
  font-weight: 600;
}

.note-muted-small-center {
  margin-top: 20px;
  color: #a8b8d8;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.accent-inline {
  color: #64ffda;
}

.body-copy-emphasis {
  color: #e6f1ff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.body-copy-secondary {
  color: #a8b8d8;
  font-weight: 600;
}

.feature-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.feature-card {
  flex: 1;
  min-width: 200px;
  background: rgba(100, 255, 218, 0.05);
  padding: 20px;
  border-radius: 30px;
  text-align: center;
}

.feature-card__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
}

.feature-card__title {
  color: #64ffda;
}

.feature-card__copy {
  font-size: 0.95rem;
}

.price-column-heading {
  text-align: right;
}

.table-wrapper.price-shell {
  background: rgba(20, 40, 60, 0.6);
  backdrop-filter: blur(5px);
  border-radius: 40px;
  padding: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 40px;
}

.key-price-table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.8rem, 2.3vw, 1rem);
  min-width: 0;
  color: #e6f1ff;
  font-weight: 700;
}

.key-price-table.price-table th {
  background: rgba(100, 255, 218, 0.15);
  border-bottom: 2px solid #64ffda;
  padding: 18px 15px;
  text-align: left;
  color: #64ffda;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.6vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.key-price-table.price-table thead tr:first-child th:first-child {
  border-top-left-radius: 16px;
}

.key-price-table.price-table thead tr:first-child th:last-child {
  border-top-right-radius: 16px;
}

.key-price-table.price-table td {
  padding: 14px 15px;
  border-bottom: 1px solid rgba(100, 255, 218, 0.2);
  transition: all 0.3s;
  background: transparent;
}

.key-price-table.price-table tbody tr:hover td {
  background: rgba(100, 255, 218, 0.1) !important;
  transform: scale(1.01);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.key-price-table.price-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #64ffda;
  white-space: nowrap;
}

.warning-block.price-note {
  background: rgba(20, 40, 60, 0.6);
  backdrop-filter: blur(5px);
  border-radius: 40px;
  padding: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  color: #e6f1ff;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto;
}

.warning-block.price-note p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.warning-block.price-note .important {
  color: #ff6b6b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.warning-block.price-note .note {
  color: #64ffda;
  font-size: 0.95rem;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
  padding-top: 20px;
  margin-top: 20px;
}

/* Доступность */
.footer-col address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 1000;
  padding: 12px 20px;
  background: #64ffda;
  color: #0a192f;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #64ffda;
  outline-offset: 2px;
}

/* ===== МЕДИА-ЗАПРОСЫ (общие) ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .services-grid,
  .services-grid--wide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-panel,
  .feature-block {
    padding: 28px 22px;
    border-radius: 32px;
  }

  .feature-panel__title,
  .price-section h3,
  .content-heading-accent {
    font-size: clamp(1.35rem, 4vw, 1.8rem);
  }

  .lead-copy,
  .body-copy-large-muted,
  .body-copy-emphasis {
    font-size: 1rem;
  }

  .hero-intro {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .two-column-highlight {
    margin: 40px 0;
    gap: 24px;
  }

  .two-column-highlight__media,
  .two-column-highlight__content {
    flex-basis: 100%;
  }

  .feature-cards {
    gap: 20px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-section {
    padding: 30px 20px;
  }

  .info-card h3 {
    font-size: 1.3rem;
  }

  .table-wrapper.price-shell {
    padding: 22px;
    border-radius: 28px;
  }

  .key-price-table.price-table th,
  .key-price-table.price-table td {
    padding: 12px 10px;
  }

  .warning-block.price-note {
    padding: 24px;
    border-radius: 30px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .scroll-to-top-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 13px;
  }

  .contacts {
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .contact-icon {
    width: 52px;
    height: 52px;
  }

  .contact-svg {
    width: 29px;
    height: 29px;
  }

  .phone-numbers {
    display: none;
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    letter-spacing: 1px;
  }

  .section-divider {
    width: min(120px, 42vw);
  }

  .lead-copy,
  .text-accent-strong,
  .body-copy-large-muted,
  .body-copy-secondary,
  .feature-card__copy,
  .note-muted-center,
  .note-muted-small-center {
    font-size: 0.95rem;
  }

  .feature-panel,
  .feature-block,
  .content-block--padded {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .feature-panel__footer-copy {
    font-size: 1.05rem;
  }

  .feature-card {
    min-width: 100%;
  }

  .glow-image-small {
    max-width: 150px;
  }

  .social-links-inline {
    gap: 14px;
    flex-wrap: wrap;
  }

  .footer-social-center {
    margin-top: 20px;
    padding-top: 15px;
  }

  .footer-social-center a {
    width: 44px;
    height: 44px;
  }

  .footer-social-icon {
    width: 22px;
    height: 22px;
  }

  .table-wrapper.price-shell {
    padding: 5px;
    border-radius: 22px;
  }

  .key-price-table.price-table th,
  .key-price-table.price-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  body {
    line-height: 1.55;
  }

  .header-flex {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .logo {
    justify-content: center;
  }

  .contacts {
    justify-content: center;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.85rem;
    white-space: normal;
  }

  .slider-container {
    border-radius: 20px;
  }

  .section-title {
    margin: 40px 0 30px;
  }

  .contact-form-section {
    padding: 24px 16px;
    border-radius: 28px;
  }

  .table-wrapper {
    border-radius: 24px;
  }

  .key-price-table.price-table {
    font-size: 0.8rem;
  }

  .key-price-table.price-table th {
    font-size: 0.9rem;
  }

  .key-price-table.price-table th,
  .key-price-table.price-table td {
    padding: 8px 6px;
  }

  .warning-block.price-note {
    padding: 20px;
    border-radius: 22px;
  }

  .feature-panel,
  .feature-block {
    margin: 32px 0;
  }

  .footer-col p {
    flex-direction: row;
    gap: 5px;
  }

  .footer-icon {
    margin: 0;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .logo .brand-title {
    font-size: 1.1rem;
  }

  .logo .tagline {
    font-size: 0.65rem;
  }

  .rounded-logo {
    width: 45px;
    height: 45px;
  }

  .contact-icon {
    width: 46px;
    height: 46px;
  }

  .contacts {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.75rem;
    padding: 3px 0;
  }

  .card h3,
  .card-title {
    font-size: 0.9rem;
    padding: 12px 8px;
  }

  .footer-col h3 {
    font-size: 1.2rem;
  }

  .footer-col p {
    font-size: 0.85rem;
  }

  .footer-social-center a {
    width: 40px;
    height: 40px;
  }

  .footer-social-icon {
    width: 20px;
    height: 20px;
  }

  .feature-panel,
  .feature-block,
  .content-block--padded {
    padding: 20px 16px;
    border-radius: 24px;
  }
}

@media (max-width: 320px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .card {
    border-radius: 16px;
  }

  .slider-container {
    border-radius: 12px;
  }

  .footer-flex {
    gap: 30px;
  }

  .container {
    padding: 0 10px;
  }

  .section-title {
    font-size: 1.35rem;
    letter-spacing: 0.5px;
  }

  .feature-panel,
  .feature-block {
    padding: 18px 14px;
  }
}