:root{
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(17,24,39,.12);

  --brand-serif: "Playfair Display", serif;
  --brand-sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --radius: 18px;

  --primary: #2563eb; /* modern accent */
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--brand-sans);
  color: var(--text);
  background: var(--bg);
}

/* Header */
.site-header{
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(130%) blur(8px);
}

.navbar{
  padding: 16px 0;
  transition: padding .2s ease, box-shadow .2s ease;
}

.brand{
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
}

.brand__title{
  font-family: var(--brand-serif);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 1px;
  color: #111827;
}

.brand__subtitle{
  font-family: var(--brand-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--muted);
  margin-top: 4px;
}

.nav-link{
  color: #111827 !important;
  font-weight: 400;
  padding: 8px 12px !important;
  position: relative;
}

.nav-link:hover{
  color: var(--primary) !important;
}

.nav-link.active{
  color: #111827 !important;
}

.nav-link.active::after,
.nav-link:hover::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  opacity: .9;
}

/* Hero */
.hero{
  position: relative;
  min-height: 78vh;
  margin-top: 88px; /* space for fixed header */
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0b1220;
}

.hero__media{
  position:absolute;
  inset:0;
}

.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.25) 100%);
}

.hero__content{
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 0;
}

.hero__title{
  font-family: var(--brand-serif);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: .5px;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.hero__subtitle{
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 18px);
  color: rgba(255,255,255,.88);
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  background: #fff;
}

.social__link{
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #111827;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
}

.social__link:hover{
  transform: translateY(-2px);
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.25);
  color: var(--primary);
}

/* Small screens */
@media (max-width: 575.98px){
  .brand__title{ font-size: 30px; }
  .brand__subtitle{ letter-spacing: 4px; }
  .hero{ min-height: 68vh; }
}
/* ===== Learning Center / Online Lessons ===== */
.page{
  margin-top: 88px; /* same header offset as on home */
}

.page__section{
  padding: 56px 0;
  background: #fff;
}

.lessons{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.lessons__title{
  font-family: var(--brand-sans);
  font-weight: 300;
  font-size: 18px;
  color: #111827;
  margin-bottom: 10px;
}

.lessons__text{
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.lessons__divider{
  height: 1px;
  background: var(--line);
  margin: 18px auto 18px;
  width: min(760px, 100%);
}

.lessons__label{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.lesson-card{
  margin: 0;
}

.lesson-card__img{
  width: 100%;
  height: 190px;
  object-fit: contain; /* on screenshot thumbnails are small */
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.lesson-card__caption{
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.lessons__price{
  font-family: var(--brand-serif);
  font-size: 22px;
  color: #111827;
}

.lessons__deal{
  font-family: var(--brand-serif);
  font-style: italic;
  font-size: 20px;
  color: #b91c1c;
}
/* ===== Portfolio page ===== */
.portfolio-page{
  /* на скрине тонкая линия под меню и много воздуха */
  padding-top: 48px;
}

.portfolio-cats{
  max-width: 980px;
  margin: 0 auto;
}

.portfolio-cat{
  text-align: center;
}

.portfolio-cat__file{
  min-height: 18px;          /* чтобы 3-я колонка держала высоту строки */
  font-size: 11px;
  color: #2563eb;            /* похоже на синий “link-style” */
  margin-bottom: 12px;
}

.portfolio-cat__thumb{
  display: inline-block;
  width: 230px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.portfolio-cat__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* “пустая” миниатюра как на скриншоте (если картинки нет/не грузится) */
.portfolio-cat__thumb--ghost{
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.00));
}

.portfolio-cat__thumb:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.portfolio-cat__name{
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
/* ===== Contact page ===== */
.contact-page{
  padding-top: 46px;
}

.contact-wrap{
  max-width: 980px;
  margin: 0 auto;
}

.contact-title{
  font-family: var(--brand-serif);
  font-weight: 600;
  font-size: 22px;
  color: #111827;
  margin: 0 0 16px;
}

/* Рамка формы как на скрине (тонкие линии, “табличный” вид) */
.contact-form-frame{
  width: min(720px, 100%);
  margin-left: 0; /* на скрине форма смещена влево */
  border: 1px solid rgba(17,24,39,.35);
  background: #fff;
}

/* Сетка формы: общие границы + разделители */
.contact-grid{
  --b: rgba(17,24,39,.35);
}

.contact-grid > *{
  border-right: 1px solid var(--b);
  border-bottom: 1px solid var(--b);
}

.contact-grid > *:nth-child(2n){
  border-right: none; /* правая колонка без правой линии */
}

.contact-grid > *:last-child{
  border-right: none;
  border-bottom: none;
}

/* Inputs in “old-school” style */
.contact-input,
.contact-textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 14px 16px;
  font-family: var(--brand-serif);
  font-style: italic;
  font-size: 12px;
  color: #111827;
}

.contact-textarea{
  resize: vertical;
  min-height: 150px;
}

/* Placeholder look */
.contact-input::placeholder,
.contact-textarea::placeholder{
  color: rgba(17,24,39,.7);
}

/* Submit button: right aligned, dark block like on screenshot */
.contact-actions{
  width: min(720px, 100%);
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.contact-submit{
  width: 160px;
  height: 44px;
  border: 0;
  background: #2f3446;
  color: #fff;
  font-family: var(--brand-serif);
  font-size: 12px;
  letter-spacing: .2px;
  transition: transform .15s ease, opacity .15s ease;
}

.contact-submit:hover{
  transform: translateY(-1px);
  opacity: .92;
}

.contact-submit:active{
  transform: translateY(0);
}

@media (max-width: 767.98px){
  .contact-form-frame,
  .contact-actions{
    width: 100%;
  }

  .contact-grid > *{
    border-right: none;
  }

  .contact-submit{
    width: 140px;
  }
}
/* ===== Tours & Workshops ===== */
.tours-page{
  padding-top: 42px;
}

.tours-wrap{
  max-width: 980px;
  margin: 0 auto;
}

.tours-title{
  font-family: var(--brand-serif);
  font-weight: 600;
  font-size: 18px;
  color: #111827;
  margin: 0 0 10px;
}

.tours-subtitle{
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 10px;
}

.tours-rule{
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: 12px 0 18px;
}

.tours-region{
  font-family: var(--brand-serif);
  font-weight: 500;
  font-size: 13px;
  color: #111827;
  margin: 14px 0 12px;
}

.tours-spacer{
  height: 26px;
}

/* карточки, максимально “легкие” как у оригинала */
.tour-card{
  display: block;
  text-decoration: none;
  text-align: center;
  color: inherit;
}

.tour-card__media{
  width: 100%;
  height: 450px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.tour-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-card__media--empty{
  background:
    linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,0) 100%);
}

.tour-card__title{
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.tour-card:hover .tour-card__media{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
/* ===== Bio page ===== */
.bio-page{
  padding-top: 44px;
}

.bio-wrap{
  max-width: 980px;
  margin: 0 auto;
}

/* фото сверху как на скрине: без “карточек”, просто изображения */
.bio-photos{
  margin-top: 18px;
  margin-bottom: 22px;
}

.bio-photo{
  margin: 0;
}

.bio-photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;          /* на оригинале углы прямые */
  border: 0;
}

/* правая картинка чуть “выше” визуально (в оригинале она крупнее) */
.bio-photo--tall img{
  max-height: 360px;
  object-fit: cover;
}

/* подпись файла справа (как маленькая синяя ссылка) */
.bio-file{
  margin-top: 8px;
  font-size: 11px;
  color: #2563eb;
  text-align: right;
}

/* текстовый блок по центру и мелкий серый текст */
.bio-text{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.bio-text p{
  margin: 0 0 14px;
}
/* ===== Earth Scenes (gallery) ===== */
.earth-page{
  padding-top: 42px;
}

.earth-wrap{
  max-width: 980px;
  margin: 0 auto;
}

.earth-title{
  font-family: var(--brand-serif);
  font-weight: 600;
  font-size: 18px;
  color: #111827;
  margin: 0 0 4px;
}

.earth-subtitle{
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 16px;
}

/* Masonry-like columns (как на скрине: много “плиток”, разная высота) */
.earth-grid{
  column-count: 3;
  column-gap: 14px;
}

/* Каждый элемент — “кирпич” */
.earth-item{
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  position: relative;
  background: #a3a3a3;          /* серые блоки как на скриншоте */
  border-radius: 0;
  overflow: hidden;
}




.earth-grid.has-images .earth-item__img{
  opacity: 1;
}

.earth-item--wide{ height: 254px; }
.earth-item--tall{ height: 250px; }


/* ===== Other Wildlife (gallery) ===== */
.wildlife-page{
  padding-top: 42px;
}

.wildlife-wrap{
  max-width: 980px;
  margin: 0 auto;
}

.wildlife-title{
  font-family: var(--brand-serif);
  font-weight: 600;
  font-size: 18px;
  color: #111827;
  margin: 0 0 4px;
}

.wildlife-subtitle{
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 16px;
}

/* Masonry-like columns */
.wildlife-grid{
  column-count: 3;
  column-gap: 14px;
}

/* “плитки” */
.wildlife-item{
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  position: relative;
  background: #a3a3a3; /* серые блоки как на скрине */
  overflow: hidden;
}





.wildlife-grid.has-images .wildlife-item__img{
  opacity: 1;
}

.wildlife-item__img--show{
  opacity: 1;
}

.wildlife-item--wide{ height: 250px; }
.wildlife-item--tall{ height: 250px; }

/* “ink” — просто чтобы фон был белый, если картинка прозрачная/ч/б */
.wildlife-item--ink{
  background: #ffffff;
}

@media (max-width: 991.98px){
  .wildlife-grid{ column-count: 2; }
}
@media (max-width: 575.98px){
  .wildlife-grid{ column-count: 1; }
}
/* ===== Best of the Birds (gallery) ===== */
.birds-page{
  padding-top: 42px;
}

.birds-wrap{
  max-width: 980px;
  margin: 0 auto;
}

.birds-title{
  font-family: var(--brand-serif);
  font-weight: 600;
  font-size: 18px;
  color: #111827;
  margin: 0 0 4px;
}

.birds-subtitle{
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 16px;
}

/* Masonry-like columns */
.birds-grid{
  column-count: 3;
  column-gap: 14px;
}

.birds-item{
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  position: relative;
  background: #a3a3a3; /* серые плитки как на оригинале */
  overflow: hidden;
}

.birds-item__label{
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  color: rgba(0,0,0,.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 16px);
}



.birds-item__img--show{
  opacity: 1;
}

.birds-grid.has-images .birds-item__img{
  opacity: 1;
}

/* Размеры плиток (приближенно как на скриншоте) */
.birds-item--wide{ height: 250px; }
.birds-item--tall{ height: 250px; }

@media (max-width: 991.98px){
  .birds-grid{ column-count: 2; }
}
@media (max-width: 575.98px){
  .birds-grid{ column-count: 1; }
}
