* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.top-header {
    background: linear-gradient(135deg, #1a2a6c, #2a4365, #0d4d7a);
    color: white;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    animation: shine 3s infinite;
    z-index: 0;
}

.header-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.header-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    color: #4dccff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-item:hover .header-icon {
    transform: scale(1.2);
    color: #fff;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.header-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.header-value {
    font-size: 1rem;
    font-weight: 500;
}


@keyframes shine {
    0% { transform: translateX(-100%); }
    20% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.header-item:nth-child(1) { animation: pulse 4s infinite; }
.header-item:nth-child(2) { animation: pulse 4s infinite 1s; }
.header-item:nth-child(3) { animation: pulse 4s infinite 2s; }


.main-content {
    padding: 120px 20px 0;
    text-align: center;
    min-height: 2000px;
    background-color: #f9f9f9;
}

.main-content h1 {
    font-size: 2.5rem;
    margin-top: 60px;
    margin-bottom: 40px;
    color: #0d4d7a;
}


@media (max-width: 768px) {
    .top-header {
        justify-content: center;
        gap: 10px;
    }

    .header-item {
        flex: 1 1 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-item {
        padding: 10px;
        justify-content: center;
    }

    .header-icon {
        font-size: 1rem;
        margin-right: 8px;
    }

    .header-label {
        font-size: 0.65rem;
    }

    .header-value {
        font-size: 0.85rem;
    }

    .main-content h1 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

.main-content {
    padding: 120px 20px 40px;
    text-align: center;
    background-color: #f9f9f9;
    min-height: 2000px;
}

.main-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0d4d7a;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    height: 700px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 12px 40px rgba(0, 0, 0, 0.25);
}

.map-container iframe {
    width: 99%;
    height: 99%;
    border: none;
}

@media (max-width: 768px) {
    .top-header {
        justify-content: center;
        gap: 10px;
    }

    .header-item {
        flex: 1 1 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-item {
        padding: 10px;
        justify-content: center;
    }

    .header-icon {
        font-size: 1rem;
        margin-right: 8px;
    }

    .header-label {
        font-size: 0.65rem;
    }

    .header-value {
        font-size: 0.85rem;
    }

    .main-content h1 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

.site-footer {
  margin-top: -400px;  /* убрать если нужно расстояние между футером и мейн частью*/
  background: linear-gradient(135deg, #0d274a, #1a3b6c);
  color: #cfd8dc;
  padding: 40px 5%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-item {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-item h5 {
  color: #4dccff;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #b0bec5;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #78909c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-item {
    min-width: auto;
  }
}
.address-info {
    max-width: 800px;
    margin: 30px auto 20px;
    padding: 20px;
    background-color: #e9f1fb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(13, 77, 122, 0.15);
    color: #0d4d7a;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}


.address-info p {
    margin-bottom: 12px;
}

.back-button-container {
  width: 100%;
  text-align: left;
  margin: 140px 0 5px;
  padding: 0 40px;
}


.back-button {
  display: inline-block;
  background: linear-gradient(135deg, #43b8e0, #224685);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(34,70,133,0.2);
}

.back-button:hover {
  background: linear-gradient(135deg, #224685, #43b8e0);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34,70,133,0.3);
}

.back-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(34,70,133,0.2);
}


@media (max-width: 480px) {
  .back-button {
    width: 100%;
    max-width: 300px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}