    body {
      font-family: 'PT Sans', sans-serif;
      margin: 0;
    }
    a:focus,
    a:active {
      text-decoration: none !important;
    }
    html {
      scroll-behavior: smooth;
    }
    header {
      background: url('https://rkhuzin.ru/img/bgmain2.jpg') center bottom no-repeat;
      background-size: cover;
      color: white;
      height: 680px;
      padding: 2rem 1rem 0.5rem;
    }
    .header-inner {
      text-align: left;
      margin-bottom: 0.5rem;
    }
    .header-inner h1 {
      margin: 0 0 0.2rem;
      text-transform: uppercase;
      color: white;
      font-size: 2.5rem;
    }
    .header-inner p {
      margin: 0 0 0.5rem;
      font-size: 1rem;
      color: #e0e0e0;
    }
    
    @media (max-width: 768px) {
  .header-inner h1 {
    font-size: 2.1rem;
  }
}

    .event-box {
      margin-top: 50px;
      border: 2px solid #ffd500;
      color: #fff;
      padding: 1rem;
      border-radius: 0;
      text-align: left;
      background: transparent;
      width: 100%;
      max-width: 480px;
    }
    .event-box .event-date {
      font-weight: bold;
      font-size: 1rem;
      margin-bottom: 0.6rem;
      color: #ffd500;
    }
    .event-box .event-location {
      font-weight: normal;
      font-size: 0.85rem;
      color: #e0e0e0;
    }
    .social-icons {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 1rem;
      margin-top: 1.5rem;
    }
    .social-icons img {
      width: 30px;
      height: 30px;
    }
    
    .bio-section {
      padding: 4rem 1rem;
    }
    .bio-section h2 {
      color: #103362;
      margin-bottom: 1rem;
      text-align: center;
    }
    .bio-scroll {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 1rem;
      padding-bottom: 1rem;
    }
    .bio-card {
      flex: 0 0 200px;
      padding: 1rem;
      scroll-snap-align: start;
      min-height: 220px;
    }
    .bio-card img {
      width: 100%;
      height: 110px;
      object-fit: cover;
      display: block;
    }
    .bio-god {
      text-align: center;
      font-size: 1.3rem;
      font-weight: bold;
      color: #013366;
      display: block;
      margin-top: 0.5rem;
    }
    .bio-card p {
      margin-top: 0.5rem;
      font-size: 0.7rem;
      color: #999;
    }
    section.job {
      padding: 30px 0 50px 0;
      background: #00669c;
      color: white;
    }
    .job {
      margin-bottom: 0;
    }
    .job .container {
      padding: 4rem 1rem;
    }
    .job h2 {
      color: white;
      margin-bottom: 1rem;
      text-align: center;
    }
    .job-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
    .job-card {
      background-color: transparent;
      padding: 1rem 1rem 1rem 140px;
      background-repeat: no-repeat;
      background-position: left center;
      background-size: 120px auto;
      min-height: 100px;
    }
    .job-card p {
      color: white;
      margin: 0 0 0.4rem 0;
      font-size: 0.8rem;
    }
    .c1 { background-image: url('https://rkhuzin.ru/img/c1.jpg'); }
    .c2 { background-image: url('https://rkhuzin.ru/img/c2.jpg'); }
    .c3 { background-image: url('https://rkhuzin.ru/img/c3.jpg'); }
    .c4 { background-image: url('https://rkhuzin.ru/img/c4.jpg'); }
    .c5 { background-image: url('https://rkhuzin.ru/img/c5.jpg'); }
    .c6 { background-image: url('https://rkhuzin.ru/img/c6.jpg'); }
    
    .quote-section {
      background: url('https://rkhuzin.ru/img/class2.jpg') center center no-repeat;
      background-size: cover;
      color: white;
      height: 680px;
      text-align: center;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 0 1rem;
      margin: 0;
    }
    .quote-section blockquote {
      margin: 0;
      padding: 0;
    }

    .quote-section cite {
      margin: 0;
      padding-top: 1rem;
    }

    .quote-section img {
      width: 50px;
      margin-bottom: 1rem;
    }
    .quote-section blockquote {
      font-size: 1.6rem;
      font-style: italic;
      max-width: 900px;
      margin: 0 auto;
      color: white;
    }
    .quote-section cite {
      display: block;
      margin-top: 1.5rem;
      font-size: 1.2rem;
      color: white;
      font-style: normal;
      text-align: center;
    }
    .projects-section {
      background: white;
      color: #103362;
      padding: 4rem 1rem;
      text-align: center;
      margin-top: 0;
    }
    .projects-section h2 {
      color: #103362;
      margin-bottom: 1rem;
    }
    .projects-logos {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 2rem;
      justify-items: center;
    }
    .projects-logos img {
      max-width: 70%;
      height: auto;
    }
    
    @media (max-width: 768px) {
      .job-grid {
        grid-template-columns: 1fr;
      }
    }
    .awards-section {
      padding: 4rem 1rem;
      background: #f9f9f9;
      color: #103362;
      text-align: center;
    }
    .awards-section h2 {
      font-size: 1.8rem;
      margin-bottom: 2rem;
      color: #103362;
    }
    .award-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 2rem;
      justify-items: center;
      margin-bottom: 4rem;
    }
    .award-grid img {
      width: 100%;
      max-width: 183px;
      height: auto;
      border-radius: 4px;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
      transition: transform 0.3s ease;
    }
    .award-grid img:hover {
      transform: scale(1.05);
    }
    @media (max-width: 768px) {
      .award-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .projects-section,
    .awards-section,
    .photo-album {
      margin-bottom: 0;
    }

    .photo-album {
      margin-top: 0;
    }
    
    .photo-album {
      background: url('https://rkhuzin.ru/img/photobg3.jpg') top center no-repeat;
      background-size: cover;
      padding: 4rem 1rem;
      color: white;
      text-align: center;
      padding-bottom: 8rem;
    }

    .photo-album .container {
      margin: 0 auto;
      padding: 0; /* или оставить, если нужен внутренний отступ */
    }

    .photo-album h2 {
      font-size: 2rem;
      margin-bottom: 2rem;
      color: white;
    }

    .photo-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 1fr;
      gap: 1rem;
    }

    .photo-item {
      display: block;
      overflow: hidden;
      height: 100%;
    }

    .photo-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
    }

    .photo-item:hover img {
      transform: scale(1.03);
    }

    .photo-item.large {
      grid-column: span 2;
      grid-row: span 2;
    }

    /* Мобильная адаптация */
    @media (max-width: 768px) {
      .photo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
      }

      .photo-item {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
      }

      .photo-item.large {
        grid-column: 1 / -1;
        aspect-ratio: auto;
      }

      .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
      }

      .photo-item.large img {
        aspect-ratio: auto;
        height: auto;
      }
    }

    .publications-section {
      padding: 4rem 1rem;
      background: #f5f5f5;
      color: #103362;
      margin-bottom: 0 !important;
    }
    .publications-section h2 {
      text-align: center;
      margin-bottom: 2rem;
      color: #103362;
    }
    .publications-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
    .icsmi {
      margin-bottom: 1rem;
      font-size: 0.8rem;
      line-height: 1.4;
      padding-left: 28px;
      position: relative;
    }
    .icsmi::before {
      content: "";
      background-image: url('https://rkhuzin.ru/img/ic-smi.png');
      background-size: 20px 20px;
      width: 20px;
      height: 20px;
      position: absolute;
      left: 0;
      top: 2px;
    }
    .icsmi a {
      color: #103362;
      text-decoration: underline;
      transition: text-decoration 0.2s ease;
    }

    .icsmi a:hover {
      text-decoration: none;
    }
    @media (max-width: 768px) {
      .publications-grid {
        grid-template-columns: 1fr;
      }
    }
    
    .quote-section.quote-life {
      background: url('https://rkhuzin.ru/img/life2.jpg') center center no-repeat;
      background-size: cover;
      color: white;
      height: 680px;
      text-align: center;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin: 0 !important;
      padding: 2rem 1rem !important;
    }

    .quote-section.quote-life blockquote {
      font-size: 1.6rem;
      font-style: italic;
      max-width: 900px;
      margin: 0 auto;
      color: white;
      padding: 0;
    }

    .quote-section.quote-life cite {
      display: block;
      margin-top: 1.5rem;
      font-size: 1.2rem;
      color: white;
      font-style: normal;
      text-align: center;
    }

    .quote-section.quote-life img {
      width: 50px;
      margin-bottom: 1rem;
    }

    .quote-section.quote-life {
      margin: 0 !important;
    }

    .custom-quote {
      font-size: 1.6rem;
      font-style: italic;
      max-width: 900px;
      margin: 0 auto;
      text-align: center;
      color: white;
    }

    cite {
      display: block;
      margin-top: 1.5rem;
      font-size: 1.2rem;
      color: white;
      font-style: normal;
      text-align: right !important;
      width: 100%;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .contacts-section {
      background-color: white;
      color: #103362;
      padding: 4rem 1rem;
      text-align: center;
    }

    .contacts-section h2 {
      margin-bottom: 3rem;
      color: #103362;
    }

    .icmapm {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 6rem;
      margin-bottom: 3rem;
    }

    .icmap {
      font-size: 1rem;
    }

    .icmap span {
      display: inline-block;
      padding-left: 42px;
      background-repeat: no-repeat;
      background-position: left center;
      text-align: left;
      color: #103362;
      min-height: 32px; /* Иконка точно поместится */
      line-height: 32px; /* Вертикальное выравнивание текста */
      padding-top: 4px;
      padding-bottom: 4px;
      font-size:0.85rem;
    }

    .mail {
      background-image: url('https://rkhuzin.ru/img/ic-mail.png');
    }
    .phone {
      background-image: url('https://rkhuzin.ru/img/ic-phone.png');
    }
    .site {
      background-image: url('https://rkhuzin.ru/img/ic-site.png');
    }

    .icmap a {
      color: #103362;
      text-decoration: underline;
      transition: 0.2s ease;
    }

    .icmap a:hover {
      text-decoration: none;
    }

    .contact-button {
      margin-top: 2rem;
    }

    .abutton {
      display: inline-block;
      padding: 0.75rem 2rem;
      background-color: white;
      color: #103362;
      font-weight: bold;
      border: 2px solid #103362;
      text-decoration: none;
      transition: background-color 0.3s ease, color 0.3s ease;
      border-radius: 0;
    }

    .abutton:hover {
      background-color: #103362;
      color: white;
    }

    /* Мобильная адаптация */
    @media (max-width: 768px) {
      .icmapm {
        flex-direction: column;
        align-items: center;
      }
      .icmapm {
        gap: 1.5rem !important;
      }
    }

    .map-section {
      background: white;
      padding: 0;
      margin: 0;
    }

    .map-container {
      width: 100%;
      height: 480px;
      overflow: hidden;
      position: relative;
    }

    .footer-section {
      background-color: #103362;
      padding: 2rem 1rem;
      color: white;
      font-size: 0.8rem;
    }

    .footer-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-left {
      flex-shrink: 0;
    }

    .footer-right {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: nowrap;
      text-align: left;
    }

    .footer-right img {
      width: 32px;
      height: 32px;
    }

    .footer-studio {
      line-height: 1.3;
    }

    .footer-link {
      color: white;
      text-decoration: none;
    }

    .footer-link:hover {
      text-decoration: none;
    }

    /* Адаптация под мобильные устройства */
      @media (max-width: 768px) {
      .footer-flex {
        flex-direction: column;
        text-align: center;
      }

    .footer-right {
        flex-direction: row;
        justify-content: center;
        text-align: left;
      }

      .footer-studio {
        text-align: left;
      }
    }

    /* Кнопка "Наверх" */
    a#upbut {
      position: fixed;
      top: 10px;
      left: 10px;
      width: 90px;
      height: 28px;
      display: none;
      text-align: center;
      text-decoration: none;
      color: #333;
      background: #eee;
      padding-top: 5px;
      font-size: 0.85em;
      line-height: 1;
      opacity: 0.9;
      z-index: 1000;
    }

    a#upbut:hover {
      color: #fff;
      background: #003366;
    }

 /* Куки */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #f5f5f5;
    color: #000;
    padding: 10px 14px;
    max-width: 520px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text a {
    color: #0056b3;
    text-decoration: underline;
}

.cookie-text a:hover {
    text-decoration: none;
}

.cookie-btn {
    background: #103362;
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
    width: auto;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    .cookie-notice {
        left: 0;
        bottom: 0;
        max-width: 100%;
        border-radius: 0;
    }
}

 /* Политика */
.privacy-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px 30px;
  font-size: 0.9em !important;
  line-height: 1.5 !important;
  color: #333;
  font-family: 'PT Sans', sans-serif;
}

.privacy-wrapper h2 {
  font-size: 2em !important;
  color: #103362;
  margin-bottom: 0.5em;
  text-align: center;
}

.privacy-wrapper a {
  color: #0056b3;
  text-decoration: underline;
}

.privacy-wrapper a:hover {
  text-decoration: none;
}
header.no-bg {
  background: none !important;
  color: #103362; /* Цвет текста можно сделать синим, как ты хотел */
  height: auto;
  padding: 2rem 1rem;
}

.privacy-page {
  font-size: 0.85em !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

.privacy-page h2,
.privacy-page h3 {
  color: #103362 !important;
}

/* Общая стартовая позиция */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

/* ===== 1. Появление снизу ===== */
.animate-up {
    transform: translateY(30px);
}
.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 2. Появление сверху ===== */
.animate-down {
    transform: translateY(-30px);
}
.animate-down.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 3. Появление слева ===== */
.animate-left {
    transform: translateX(-30px);
}
.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== 4. Появление справа ===== */
.animate-right {
    transform: translateX(30px);
}
.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== 5. Увеличение при появлении ===== */
.animate-zoom {
    transform: scale(0.9);
}
.animate-zoom.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== 6. Поворот при появлении ===== */
.animate-rotate {
    transform: rotate(-5deg);
}
.animate-rotate.visible {
    opacity: 1;
    transform: rotate(0);
}

/* ===== 7. Комбинированный эффект (увеличение + подъём) ===== */
.animate-zoom-up {
    transform: scale(0.9) translateY(30px);
}
.animate-zoom-up.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

