    :root {
      --primary: #00a651;
      --primary-dark: #008c45;
      --primary-light: #4caf50;
      --accent: #dc2626;
      --text: #0f172a;
      --text-light: #64748b;
      --bg: #ffffff;
      --bg-secondary: #f8fafc;
      --border: #e2e8f0;
      --max-width: 1440px;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Geologica', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* Scroll Animations */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .slide-left {
      opacity: 0;
      transform: translateX(-50px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .slide-left.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .slide-right {
      opacity: 0;
      transform: translateX(50px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .slide-right.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
      z-index: 1000;
      transition: all 0.3s;
    }

    header.scrolled {
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    }

    .header-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 48px;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: height 0.3s;
    }

    header.scrolled .header-container {
      height: 90px;
    }

    .logo {
      display: flex;
      align-items: center;
      height: 90px;
      transition: all 0.3s;
    }

    header.scrolled .logo {
      height: 70px;
    }

    .logo img {
      height: 100%;
      width: auto;
    }

    nav {
      display: flex;
      gap: 40px;
    }

    nav a {
      text-decoration: none;
      color: var(--text);
      font-size: 15px;
      font-weight: 500;
      transition: color 0.2s;
      position: relative;
    }

    nav a:hover {
      color: var(--primary);
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s;
    }

    nav a:hover::after {
      width: 100%;
    }

    .header-contacts {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
    }

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(0, 166, 81, 0.06);
  border: 2px solid var(--primary); /* <-- Добавили зелёную обводку */
}

.header-phone:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 166, 81, 0.25);
  border-color: transparent; /* <-- При наведении рамка становится прозрачной, чтобы кнопка выглядела цельно */
}

    .header-phone svg {
      transition: transform 0.3s ease;
    }

    .header-phone:hover svg {
      transform: rotate(-15deg) scale(1.1); /* Иконка слегка наклоняется при наведении */
    }

    .header-phone-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      background: var(--bg-secondary);
      padding: 6px 14px;
      border-radius: 20px;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }
    
    /* Анимация пульсации для точки "онлайн" */
    .pulse-dot {
      width: 8px;
      height: 8px;
      background: var(--primary);
      border-radius: 50%;
      position: relative;
    }

    .pulse-dot::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: var(--primary);
      animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    }

    @keyframes pulse-ring {
      0% { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(3.5); opacity: 0; }
    }

    .header-phone-label {
      font-size: 12px;
      color: var(--text-light);
    }

    /* Hero Section */
    .hero {
      margin-top: 120px;
      position: relative;
      height: calc(100vh - 120px);
      min-height: 600px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .hero-background {
      position: absolute;
      inset: 0;
      background-image: url('/img/slide1.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 1;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      /* ИЗМЕНЕНО: Более прозрачный градиент с легким затемнением для читаемости текста */
      background: linear-gradient(135deg, rgba(0, 40, 20, 0.6) 0%, rgba(0, 166, 81, 0.25) 100%);
      z-index: 2;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      text-align: center;
      color: white;
      max-width: 900px;
      padding: 0 48px;
    }

    .hero-label {
      font-size: 18px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.95);
      margin-bottom: 24px;
      letter-spacing: 1px;
    }

    .hero h1 {
      font-size: clamp(48px, 6vw, 72px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -2px;
      margin-bottom: 32px;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }

    .hero-description {
      font-size: clamp(18px, 2vw, 24px);
      color: rgba(255, 255, 255, 0.95);
      line-height: 1.6;
      margin-bottom: 48px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 20px 40px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      border-radius: 4px;
      transition: all 0.3s;
      cursor: pointer;
      border: none;
      font-family: inherit;
    }

    .btn-primary {
      background: white;
      color: var(--primary);
    }

    .btn-primary:hover {
      background: var(--bg-secondary);
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

    .btn-secondary {
      background: transparent;
      color: white;
      border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .btn-secondary:hover {
      border-color: white;
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-3px);
    }

    /* Emergency Block */
    .emergency {
      background: var(--accent);
      color: white;
      padding: 40px 0;
    }

    .emergency-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
    }

    .emergency-label {
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      opacity: 0.9;
    }

    .emergency-phones {
      display: flex;
      gap: 48px;
    }

    .emergency-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .emergency-item-label {
      font-size: 12px;
      opacity: 0.8;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .emergency-item-phone {
      font-size: 24px;
      font-weight: 700;
      text-decoration: none;
      color: white;
      transition: all 0.2s;
    }

    .emergency-item-phone:hover {
      opacity: 0.9;
      transform: scale(1.05);
    }

    /* News Section */
    .news {
      padding: 120px 0;
      background: var(--bg);
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 48px;
    }

    .section-header {
      margin-bottom: 64px;
    }

    .section-label {
      font-size: 16px;
      font-weight: 500;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .section-title {
      font-size: 48px;
      font-weight: 700;
      letter-spacing: -1px;
      line-height: 1.2;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .news-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.3s;
      cursor: pointer;
    }

    .news-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      border-color: var(--primary);
    }

    .news-image {
      height: 200px;
      background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%); /* Заменил на светлый зелено-голубой градиент */
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 80px;
      opacity: 0.6;
    }

    .news-content {
      padding: 32px;
    }

    .news-date {
      font-size: 13px;
      color: var(--text-light);
      margin-bottom: 12px;
    }

    .news-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .news-card p {
      color: var(--text-light);
      line-height: 1.6;
      font-size: 15px;
    }

    /* About Section */
    .about {
      padding: 120px 0;
      background: var(--bg-secondary);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-content h2 {
      font-size: 40px;
      font-weight: 700;
      letter-spacing: -1px;
      margin-bottom: 32px;
      line-height: 1.2;
    }

    .about-content p {
      font-size: 18px;
      color: var(--text-light);
      line-height: 1.8;
      margin-bottom: 24px;
    }

    .about-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 48px;
      padding-top: 48px;
      border-top: 1px solid var(--border);
    }

    .stat-item h4 {
      font-size: 48px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 8px;
    }

    .stat-item p {
      font-size: 14px;
      color: var(--text-light);
      margin: 0;
    }

    .about-image {
      background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); /* Тоже сделал в светло-зеленых тонах */
      height: 600px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 200px;
      opacity: 0.5;
    }

    /* GIS Section */
    .gis {
      padding: 120px 0;
      background: var(--primary);
      color: white;
    }

    .gis .section-label {
      color: rgba(255, 255, 255, 0.8);
    }

    .gis .section-title {
      color: white;
      margin-bottom: 48px;
    }

    .gis-content {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 64px;
      align-items: center;
    }

    .gis-text {
      font-size: 20px;
      line-height: 1.8;
      opacity: 0.95;
    }

    .gis-button {
      background: white;
      color: var(--primary);
      padding: 20px 40px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      border-radius: 4px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      transition: all 0.3s;
      margin-top: 32px;
    }

    .gis-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    /* Footer */
    footer {
      background: var(--text);
      color: white;
      padding: 80px 0 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 64px;
      margin-bottom: 64px;
    }

    .footer-column h4 {
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 24px;
      opacity: 0.6;
    }

    .footer-column p,
    .footer-column a {
      color: white;
      text-decoration: none;
      line-height: 2;
      opacity: 0.8;
      transition: opacity 0.2s;
    }

    .footer-column a:hover {
      opacity: 1;
    }

    .footer-bottom {
      padding-top: 40px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      opacity: 0.6;
    }

    /* Mobile Menu */
    .mobile-menu-btn {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
    }

    .mobile-menu-btn span {
      width: 25px;
      height: 2px;
      background: var(--text);
      transition: all 0.3s;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .news-grid {
        grid-template-columns: 1fr;
      }

      .about-grid {
        grid-template-columns: 1fr;
      }

      .about-image {
        height: 400px;
        order: -1;
      }

      .gis-content {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .header-container {
        padding: 0 24px;
        height: 90px;
      }

      .logo {
        height: 70px;
      }

      nav {
        display: none;
      }

      .header-contacts {
        display: none;
      }

      .mobile-menu-btn {
        display: flex;
      }

      .hero {
        margin-top: 90px;
        height: calc(100vh - 90px);
      }

      .hero h1 {
        font-size: 36px;
      }

      .hero-description {
        font-size: 16px;
      }

      .section-title {
        font-size: 32px;
      }

      .emergency-container {
        flex-direction: column;
        padding: 0 24px;
        text-align: center;
      }

      .emergency-phones {
        flex-direction: column;
        gap: 24px;
      }

      .container {
        padding: 0 24px;
      }

      .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
      }
    }