* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: #0a4b7a;
  --accent: #0077be;
  --light-bg: #f5f9ff;
  --gray-text: #2c3e50;
  --border-light: #e9edf4;
  --light-blue: #4a90e2;
  --light-blue-hover: #357abd;
}
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  color: var(--gray-text);
  background-color: #fff;
  scroll-behavior: smooth;
  padding-bottom: 0;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  height: 64px;
  z-index: 1030;
  backdrop-filter: blur(6px);
}
.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 550;
  padding: 8px 16px;
  border-radius: 40px;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a.active {
  background-color: var(--light-bg);
  color: var(--primary);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 4px;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
main { margin-top: 64px; }
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  border-left: 5px solid var(--accent);
  padding-left: 10px;
}
.update-date {
  font-size: 1rem;
  color: #7f8c8d;
  font-weight: 400;
}
.gallery-grid {
  display: flex;
  gap: 16px;
  background: var(--light-bg);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.gallery-main {
  flex: 3;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-main img:hover { transform: scale(1.02); }
.gallery-thumbs-grid {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.thumb-row {
  display: flex;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.thumb-card {
  flex: 1;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}
.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-card.active {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,119,190,0.2);
}
.param-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px 24px;
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.02);
  border: 1px solid var(--border-light);
}
.param-item {
  display: flex;
  border-bottom: 1px dashed var(--border-light);
  padding: 10px 0;
}
.param-item:last-child { border-bottom: none; }
.param-label {
  font-weight: 650;
  color: #4a5a6e;
  min-width: 80px;
}
.param-value {
  color: #1a2634;
  font-weight: 500;
}
.map-placeholder {
  width: 100%;
  border-radius: 24px;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  border: 1px solid #d0ddee;
  color: #4a627a;
  font-weight: 500;
  font-size: 1.1rem;
}
.contact-block {
  background: linear-gradient(145deg, #ebf3fa, #dae6f5);
  border-radius: 40px;
  padding: 70px 30px;
  text-align: center;
  margin-top: 30px;
}
.phone-big {
  display: inline-block;
  background: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--light-blue);
  padding: 12px 48px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(74,144,226,0.15);
  margin: 20px 0;
  letter-spacing: 2px;
}
.sidebar-qr {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  background: #fff;
  padding: 16px 10px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  text-align: center;
  z-index: 999;
  border: 1px solid #eef;
}
.sidebar-qr img {
  width: 90px;
  height: 90px;
  margin: 0 auto 8px;
  background: #eee;
  border-radius: 12px;
  object-fit: cover;
}
.sidebar-qr p {
  font-size: 0.75rem;
  color: #345;
}
.mobile-sticky-call {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  background: linear-gradient(135deg, #4dabff 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 18px 24px;
  text-align: center;
  text-decoration: none;
  z-index: 2000;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
  letter-spacing: 0.8px;
  border-radius: 28px;
  transition: all 0.2s ease;
}
.mobile-sticky-call:active {
  transform: translateX(-50%) scale(0.97);
  background: #3174e0;
}
footer {
  background: #1a2634;
  padding: 40px 20px;
  text-align: center;
  color: #5a6f88;
  font-size: 0.85rem;
  margin-top: 0;
}

@media (max-width: 800px) {
  .sidebar-qr { display: none; }
  .mobile-sticky-call { display: block; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(255,255,250,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0 0 30px 30px;
  }
  .nav-links.active {
    max-height: 380px;
    opacity: 1;
    padding: 16px 0;
  }
  .nav-links a {
    width: 90%;
    text-align: center;
    padding: 14px;
    border-bottom: 1px solid #eef;
  }
  .gallery-grid { flex-direction: column; }
  .gallery-thumbs-grid {
    flex-direction: row;
    height: auto;
    gap: 8px;
  }
  .thumb-row {
    flex: 1;
    gap: 8px;
  }
  .phone-big {
    font-size: 1.8rem;
    padding: 10px 24px;
  }
  section { padding: 16px 16px; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .update-date { align-self: flex-end; }
}
@media (max-width: 500px) {
  .gallery-thumbs-grid { flex-wrap: wrap; }
  .thumb-row { width: 100%; }
}