/* ═══════════════════════════════════════════════
   HERO — Full-screen editorial with parallax depth
═══════════════════════════════════════════════ */
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  overflow: hidden; background: var(--black);
}

/* ── Parallax background ── */
.hero__bg {
  position: absolute; inset: -15%; z-index: 0;
  will-change: transform;
  transition: transform 0s linear;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: none;
}

/* ── Floating parallax particles ── */
.hero__particle {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 1;
  will-change: transform;
  animation: particleDrift linear infinite;
}
.hero__particle--1 {
  width: 280px; height: 280px;
  top: 10%; left: -8%;
  background: radial-gradient(circle, rgba(46,107,69,0.12) 0%, transparent 70%);
  animation-duration: 18s;
}
.hero__particle--2 {
  width: 180px; height: 180px;
  top: 55%; right: 5%;
  background: radial-gradient(circle, rgba(200,130,10,0.08) 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -8s;
}
.hero__particle--3 {
  width: 120px; height: 120px;
  top: 20%; right: 18%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  animation-duration: 15s;
  animation-delay: -4s;
}
.hero__particle--4 {
  width: 400px; height: 400px;
  bottom: -5%; right: -10%;
  background: radial-gradient(circle, rgba(46,107,69,0.07) 0%, transparent 65%);
  animation-duration: 26s;
  animation-delay: -12s;
}

@keyframes particleDrift {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  33%       { transform: translateY(-20px) rotate(5deg) scale(1.03); }
  66%       { transform: translateY(12px) rotate(-3deg) scale(0.98); }
}

/* ── Inner content layout ── */
.hero__inner {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column;
  padding: 0 48px;
  will-change: transform;
}

/* Top row */
.hero__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 100px; margin-bottom: auto;
}

/* Eyebrow text */
.hero__eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(0,0,0,0.6);
  will-change: transform;
}

/* Floating CTA pill */
.hero__pill {
  display: inline-flex; align-items: center;
  padding: 11px 20px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px; font-weight: 500; color: rgba(0,0,0,0.8);
  letter-spacing: 0.3px; transition: var(--transition);
  backdrop-filter: blur(8px); background: rgba(255,255,255,0.06);
  min-height: 44px;
  align-items: center;
}
.hero__pill:hover {
  border-color: rgba(0,0,0,0.55); color: black;
  background: rgba(255,255,255,0.12);
}

/* ── Main Typography Area ── */
.hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.hero__main-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.hero__title {
  display: flex; flex-direction: column; gap: 4px;
  will-change: transform, opacity;
}

.hero__title span {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 300; color: black;
  line-height: 1; letter-spacing: -2px;
  animation: fadeInUp 1s ease both;
}
.hero__title span:nth-child(1) { animation-delay: 0.2s; }
.hero__title span:nth-child(2) {
  margin-left: 96px;
  animation-delay: 0.4s;
}
.hero__title span:nth-child(2) em {
  font-style: italic; color: rgba(0,0,0,0.7);
}
.hero__title span:nth-child(3) { animation-delay: 0.6s; }

.hero__lead {
  max-width: 320px;
  font-size: 14px; color: rgba(0,0,0,0.6);
  line-height: 1.8;
  padding-bottom: 24px;
  border-left: 1px solid var(--green);
  padding-left: 24px;
  animation: fadeIn 1s 1s ease both;
  will-change: transform;
}

/* ── Meta bar ── */
.hero__meta {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 20px 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeIn 1s 0.8s ease both;
}

.hero__meta-desc {
  font-size: 13px; color: rgba(0,0,0,0.45);
  line-height: 1.8; max-width: 360px;
}

.hero__meta-right {
  display: flex; align-items: flex-end; gap: 48px;
}

/* Location badge */
.hero__location {
  display: flex; align-items: center; gap: 12px;
}
.hero__loc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(46,107,69,0.2);
}
.hero__location strong {
  display: block; font-size: 13px; font-weight: 600; color: rgba(0,0,0,0.8);
  line-height: 1;
}
.hero__location span {
  display: block; font-size: 10px; color: rgba(0,0,0,0.35);
  letter-spacing: 1px; text-transform: uppercase; margin-top: 3px;
}

/* Stats in meta bar */
.hero__stats { display: flex; gap: 32px; }
.hstat { text-align: right; }
.hstat__n {
  font-family: 'Cormorant Garant', serif;
  font-size: 28px; font-weight: 400; color: black; line-height: 1; display: block;
}
.hstat__l {
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(0,0,0,0.35); display: block; margin-top: 4px;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile First Fixes
══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .hero__inner   { padding: 0 24px; }
  .hero__meta    { padding: 16px 24px 24px; }

  .hero__top     { padding-top: 80px; gap: 16px; }
  .hero__pill    { display: none; }

  .hero__title span {
    font-size: clamp(40px, 10vw, 80px);
    letter-spacing: -1.5px;
  }
  .hero__title span:nth-child(2) { margin-left: 48px; }

  .hero__main-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero__lead       { padding-bottom: 0; max-width: 100%; }
  .hero__stats      { display: none; }

  .hero__meta       { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero__meta-right { flex-direction: row; gap: 24px; }

  /* Smaller particles on tablet */
  .hero__particle--1 { width: 180px; height: 180px; }
  .hero__particle--4 { width: 240px; height: 240px; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
    background: #ffffff;
  }

  .hero__bg {
    inset: -5%;
  }

  .hero__img {
    object-position: center 42%;
    filter: saturate(.95) contrast(.98);
  }

  .hero__overlay {
    /* Раніше тут була прозорість 0 саме в зоні заголовка (34%–68%) —
       текст лежав прямо на фото без жодної підкладки, тому контраст
       "плавав" залежно від того, небо там чи темна пляма корови.
       Тепер додано м'яку темну підкладку під eyebrow/заголовок/лід,
       а внизу — той самий плавний перехід у білий "hero__meta". */
    background:
      linear-gradient(
        to bottom,
        rgba(16,14,10,0.34) 0%,
        rgba(16,14,10,0.14) 20%,
        rgba(16,14,10,0.36) 52%,
        rgba(16,14,10,0.52) 72%,
        rgba(255,255,255,0.92) 89%,
        #ffffff 100%
      );
  }

  .hero__inner {
    padding: 0 18px;
  }

  .hero__top {
    padding-top: 94px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__eyebrow {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 1.35px;
    color: rgba(255,255,255,.82);
    text-shadow: 0 1px 6px rgba(0,0,0,.25);
  }

  .hero__main {
    padding: 34px 0 76px;
    justify-content: center;
    transform: translateY(-3vh);
  }

  .hero__main-inner {
    gap: 48px;
    align-items: flex-start;
  }

  .hero__title {
    gap: 1px;
  }

  .hero__title span {
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(42px, 12.5vw, 68px);
    font-weight: 700;
    color: #ffffff;
    line-height: .96;
    letter-spacing: -1.6px;
    text-shadow:
      0 2px 16px rgba(0,0,0,.38),
      0 1px 4px rgba(0,0,0,.3);
  }

  .hero__title span:nth-child(2) {
    margin-left: 10px;
    margin-top: 4px;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
  }

  .hero__title span:nth-child(2) em {
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
  }

  /* Small editorial leaf/divider accent under the title. */
  .hero__title::after {
    display: none !important;
    content: none !important;
  }

  .hero__lead {
    /* Без підкладки — просто текст на фото, як заголовок. Контраст
       тримається на темному скрімі (.hero__overlay) знизу зони тексту
       + власній тіні під літерами. */
    box-sizing: border-box;
    width: min(88vw, 480px);
    max-width: 88vw;
    margin-top: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    text-shadow:
      0 2px 14px rgba(0,0,0,.4),
      0 1px 3px rgba(0,0,0,.3);
  }

  .hero__lead p {
    margin: 0;
    color: #ffffff;
    font-weight: 400;
    text-shadow:
      0 2px 14px rgba(0,0,0,.4),
      0 1px 3px rgba(0,0,0,.3);
  }

  .hero__meta {
    background: #ffffff;
    border-top: 0;
    padding: 30px 18px 34px;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .hero__meta-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(0,0,0,.58);
    max-width: 100%;
  }

  .hero__meta-right {
    gap: 14px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__location {
    min-height: 44px;
    gap: 14px;
  }

  .hero__loc-dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 6px rgba(46,107,69,.10);
  }

  .hero__location strong {
    font-size: 14px;
  }

  .hero__location span {
    font-size: 9px;
    margin-top: 4px;
  }

  .hero__stats,
  .hero__pill {
    display: none;
  }

  .hero__particle--3,
  .hero__particle--4 {
    display: none;
  }

  .hero__particle--1 {
    width: 110px;
    height: 110px;
    opacity: .45;
  }

  .hero__particle--2 {
    width: 90px;
    height: 90px;
    opacity: .4;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
  }

  .hero__inner {
    padding: 0 14px;
  }

  .hero__top {
    padding-top: 82px;
  }

  .hero__main {
    padding: 54px 0 48px;
  }

  .hero__title span {
    font-size: clamp(40px, 13.5vw, 62px);
    line-height: .95;
    letter-spacing: -1.15px;
  }

  .hero__title span:nth-child(2) {
    margin-left: 7px;
    margin-top: 3px;
    font-family: 'Inter', Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    color: #ffffff !important;
  }

  .hero__title::after {
    display: none;
  }

  .hero__lead {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
  }

  .hero__meta {
    padding: 26px 14px 30px;
  }

  .hero__meta-desc {
    font-size: 12px;
    line-height: 1.7;
  }
}

@media (max-width: 380px) {
  .hero__inner {
    padding: 0 12px;
  }

  .hero__top {
    padding-top: 76px;
  }

  .hero__main {
    padding: 46px 0 42px;
  }

  .hero__title span {
    font-size: clamp(36px, 13vw, 52px);
  }

  .hero__lead {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    font-size: 14.5px;
  }

  .hero__meta {
    padding: 24px 12px 28px;
  }
}