/* ===================================================================
   Hikayemiz — kullanıcının mockup'ına birebir (anasayfa dili: beyaz zemin, ince Ubuntu, yeşil)
   Mockup 1056 px genişliğindeydi; tüm konumlar o orana göre cqw cinsinden (kapsayıcı genişliği).
   =================================================================== */
:root { --ink: #0b3d2e; --g: #04654f; }
body.hk { background: #fff; color: #2a2a20; margin: 0; font-family: "Ubuntu", sans-serif; }
body.hk main { display: block; overflow-x: clip; }

/* menü: anasayfadaki AYNI logo, rengi koyu yeşile çevrilmiş */
body.hk .site-header--ink .site-logo { position: relative; }
body.hk .site-header--ink .site-logo img { opacity: 0; filter: none; }
body.hk .site-header--ink .site-logo::after { content: ""; position: absolute; inset: 0; background: #04654f;
  -webkit-mask: url(../img/hctagro-logo.webp) left center / contain no-repeat; mask: url(../img/hctagro-logo.webp) left center / contain no-repeat; }
body.hk .site-header--ink .nav-toggle span { background: var(--ink); box-shadow: none; }
body.hk .site-header--ink .nav-toggle.open span { background: #fffbe7; }
@media (min-width: 1025px) { body.hk .site-header--ink .nav-link { color: var(--ink); text-shadow: none; opacity: .92; } }

.hk-w { container-type: inline-size; position: relative; width: 100%; background: #fff; }

/* ---- 1) solda başlık + yazı · sağdan uzanan el ---- */
.hk-a { position: relative; z-index: 4; min-height: 53cqw; box-sizing: border-box; padding: 13.3cqw 0 3cqw 10.7cqw; }   /* yazı uzarsa bölüm büyür, fotoğrafa binmez */
.hk-a__t { position: relative; width: 27cqw; }
.hk-a__h { margin: 0 0 2.4cqw; font-weight: 300; font-size: var(--fs-h); line-height: 1.25; letter-spacing: -.005em; color: var(--g); }
.hk-a__t p { margin: 0 0 1.1em; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: #2a2a20; }
.hk-a__hand { position: absolute; right: -7.7cqw; bottom: -13.3cqw; width: 69.5cqw; pointer-events: none; }   /* bölümün altına çapalı: düşen zeytin hep fotoğrafa biner */
.hk-a__hand img { display: block; width: 100%; height: auto; }
@keyframes hk-up { to { opacity: 1; transform: none; } }
.js .hk-a__t > * { opacity: 0; transform: translateY(18px); animation: hk-up .9s cubic-bezier(.16,1,.3,1) forwards; }
.js .hk-a__t > :nth-child(1) { animation-delay: .1s; } .js .hk-a__t > :nth-child(2) { animation-delay: .24s; } .js .hk-a__t > :nth-child(3) { animation-delay: .38s; }
.js .hk-a__hand img { opacity: 0; transform: translate(8%, 0); animation: hk-up 1.5s cubic-bezier(.16,1,.3,1) .2s forwards; }

/* ---- 2) tam genişlik tarla · sağ altta fotoğrafın alt kenarına taşan yeşil kart ---- */
.hk-b { position: relative; z-index: 2; }
.hk-b__img { display: block; width: 100%; height: auto; }
.hk-b__card { position: absolute; left: calc(38.2cqw + 54cqw / 2 - 30.5cqw / 2); top: 38.1cqw; width: 30.5cqw; min-height: 30.5cqw;   /* altındaki ağacın (left 38.2 + width 54) tam ortasında */ box-sizing: border-box;
  padding: 3.9cqw 3.6cqw; background: var(--g); color: #fff; border-radius: 1.4cqw;
  display: flex; flex-direction: column; justify-content: center; }   /* başlık + açıklama kartta alttan üstten ortalı */
.hk-b__card h2 { margin: 0; font-weight: 300; font-size: clamp(32px, 3.6vw, 32px); line-height: 1.2; letter-spacing: -.005em; color: #fff; }
.hk-b__card p { margin: 1.1cqw 0 0; font-weight: 300; font-size: var(--fs-p); line-height: var(--lh-p); color: #fff; }
.js .hk-b.rs .hk-b__card { opacity: 0; transform: translateY(26px); transition: opacity 1s ease .25s, transform 1.2s cubic-bezier(.16,1,.3,1) .25s; }
.js .hk-b.rs.in .hk-b__card { opacity: 1; transform: none; }

/* ---- 3) solda çizgili rakamlar · sağda kartın üstüne taşan zeytin ağacı ---- */
.hk-c { position: relative; z-index: 3; height: 80cqw; }
.hk-c__tree { position: absolute; left: 38.2cqw; top: 9.2cqw; width: 54cqw; pointer-events: none; }
.hk-c__tree img { display: block; width: 100%; height: auto; }
.hk-c__list { position: absolute; left: 9.5cqw; top: 21.3cqw; width: 23.3cqw; margin: 0; padding: 0; list-style: none; }
.hk-c__list li { padding: 2.1cqw 0; font-weight: 300; font-size: var(--fs-n); line-height: 1.29; letter-spacing: -.003em; color: var(--g); border-bottom: 1px solid var(--g); }
.hk-c__list li:first-child { padding-top: 0; }
.hk-c__list li:last-child { border-bottom: 0; }
.js .hk-c.rs .hk-c__tree { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.16,1,.3,1); transform-origin: 50% 100%; }
.js .hk-c.rs .hk-c__list li { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.js .hk-c.rs .hk-c__list li:nth-child(1) { transition-delay: .2s; } .js .hk-c.rs .hk-c__list li:nth-child(2) { transition-delay: .35s; } .js .hk-c.rs .hk-c__list li:nth-child(3) { transition-delay: .5s; }
.js .hk-c.rs.in .hk-c__tree, .js .hk-c.rs.in .hk-c__list li { opacity: 1; transform: none; }

/* ---- telefon / tablet / dar masaüstü (≤1099px): mockup'taki üst üste binmeler korunur, akış tek sütuna iner ---- */
@media (max-width: 1099px) {
  .hk-w { container-type: normal; }
  .hk-a { min-height: 0; padding: 108px 22px 0; }
  .hk-a__t { width: auto; }
  .hk-a__h { margin-bottom: 18px; }
  .hk-a__hand { position: relative; right: -14vw; top: auto; bottom: auto; width: 118vw; margin: 26px 0 -22vw -14vw; }
  .hk-b__card { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; margin: -16vw 22px 0 22px; padding: 28px 24px calc(30px + 10vw); border-radius: 14px; }   /* alt boşluk: ağaç tepesi yazıya binmesin */
  .hk-b__card p { margin-top: 14px; }
  .hk-c { height: auto; padding: 0 22px 56px; display: flex; flex-direction: column; }
  .hk-c__tree { position: relative; left: auto; top: auto; width: 86vw; margin: -10vw auto 0; }
  .hk-c__list { position: static; width: auto; margin-top: 18px; }
  .hk-c__list li { padding: 18px 0; }
}
/* ---- tablet (600–1099px): telefon düzeni, ama görseller ve yazı satırları ekrana göre şişmesin ---- */
@media (min-width: 600px) and (max-width: 1099px) {
  .hk-a { padding: 124px clamp(28px, 6vw, 64px) 0; }
  .hk-a__t { max-width: 32em; }
  .hk-a__hand { right: calc(-1 * clamp(28px, 6vw, 64px)); width: min(86vw, 700px); margin: 30px 0 calc(-1 * min(14vw, 110px)) auto; }
  .hk-b__card { width: min(580px, calc(100% - 2 * clamp(28px, 6vw, 64px))); margin: calc(-1 * min(12vw, 90px)) auto 0; padding: 36px 36px calc(36px + min(10vw, 76px)); }
  .hk-c { padding: 0 clamp(28px, 6vw, 64px) 72px; }
  .hk-c__tree { width: min(72vw, 560px); margin: calc(-1 * min(10vw, 76px)) auto 0; }
  .hk-c__list { max-width: 460px; margin-top: 28px; }
  .hk-c__list li { padding: 22px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hk-a__t > *, .js .hk-a__hand img, .js .hk-b.rs .hk-b__card, .js .hk-c.rs .hk-c__tree, .js .hk-c.rs .hk-c__list li { opacity: 1; transform: none; animation: none; transition: none; }
}
