    .page {
      background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), url('../images/sergiev-posad/sergiev-posad-back.jpg');
      background-position: center 20%;
      background-size: cover;
      width: 100%;
      aspect-ratio: 16 / 9;
      background-attachment: fixed;
      padding-bottom: 3rem;
    }
  

    .hero {
      text-align: center;
      margin-bottom: 3rem;
      padding-bottom: 1rem;
      padding-top: 120px;
      border-bottom: 1px solid #e2dcd0;
      /* position: relative; */
    }

    .hero h1 {
      font-size: 4.2rem;
      font-weight: 600;
      font-family: monospace;
      letter-spacing: -0.02em;
      /* color: #f1c78b; */
      background: linear-gradient(135deg, #ffffff, #f1c78b);
      /* background: linear-gradient(135deg, #1f4b3e, #c48b3b); */
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      /* text-shadow: 1px 1px 0px gold, -1px -1px 0px gold; */
      margin: 2.5rem 0;
      /* -webkit-text-stroke: 1px rgb(164, 180, 164); */
    }

    .hero .sub {
      font-size: 1.4rem;
      color: #e7eeeb;
      max-width: 650px;
      margin: 0 auto;
      font-weight: 600;
    }

    /* сетка карточек */
    .grid {
      display: grid;
      /* grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); */
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 2rem;
    }

    /* карточка */
    .card {
      background: #ffffff;
      border-radius: 2rem;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.02);
      transition: all 0.25s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid #ede7db;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
      border-color: #d9cebc;
    }

    /* фото-блок */
    .image-placeholder {
      width: 100%;
      height: 210px;
      background-size: cover;
      background-position: center 30%;
      background-color: #eae3d4;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s;
    }

    /* декоративный текст-заглушка (имитация фото) но с иконкой */
    .img-label {
      background: rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(6px);
      color: white;
      font-size: 0.85rem;
      font-weight: 500;
      padding: 0.4rem 1rem;
      border-radius: 40px;
      letter-spacing: 0.3px;
      font-family: monospace;
    }

    /* контент */
    .card-content {
      padding: 1.5rem 1.5rem 1.8rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .card-title {
      font-size: 1.65rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      line-height: 1.3;
      color: #2f3e37;
      letter-spacing: -0.3px;
    }

    .address {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: #f0ede7;
      padding: 0.35rem 1rem;
      border-radius: 30px;
      font-size: 1rem;
      font-weight: 500;
      color: #6a4e2b;
      margin-bottom: 1rem;
      width: fit-content;
    }

    .address::before {
      content: "📍";
    }

    .description {
      font-size: 1.2rem;
      color: #2c3a33;
      line-height: 1.5;
      margin-bottom: 1.5rem;
      flex: 1;
    }

    .badge {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #b47c44;
      margin-top: 0.5rem;
      border-top: 1px dashed #e2d5c3;
      padding-top: 0.9rem;
    }

    @media (max-width: 1024px) {
      .hero {
        padding-top: 70px;
      }
    }

    @media (max-width: 768px) {
      .page {
        background-attachment: scroll; /* или initial */
        /* background-size: inherit; */
        background-position: center 0%;
        padding-bottom: 2rem;
      }

      .hero h1 {
        font-size: 2.4rem;
      }

      .hero .sub {
        font-size: 1.2rem;
      }

      .grid {
        gap: 1.3rem;
      }

      .card-title {
        font-size: 1.4rem;
      }
      .address {
        font-size: .85rem;
      }
    }
    @media (max-width: 600px) {
      .grid {
        /* grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); */
        grid-template-columns: 1fr;
      }

      .description {
        font-size: 1.1rem;
      }
    }


    /* уникальные фоны для каждого фото (реалистичные пейзажи/достопримечательности) */

    /* fallback для картинок, если не грузятся — фон останется тёплым */
    .image-placeholder {
      background-repeat: no-repeat;
      background-color: #cfc6b5;
      width: 100%;        /* или фиксированная ширина, например 300px */
      height: 300px;      /* фиксированная или любая высота */
      overflow: hidden;   /* скрывает выходящие за пределы части */
      position: relative;
      text-decoration: none;
    }
    .image-placeholder img{
      position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;  /* ключевое свойство — работает как background-size: cover */
     object-position: center; 

    }