/* =========================================================
   Ana sayfa toparlama — yalnızca body.yd-home-v2
   Öncelik: sade hiyerarşi, tutarlı boşluk, tek hero odak
   ========================================================= */

body.yd-home-v2 {
  --yd-container: 1240px;
  --yd-space: 48px;
  --yd-radius: 14px;
  overflow-x: clip;
}

/* ---- Hero: sol metin (~45%) + sağ 3D reel (~55%), vh ile şişmeyen ---- */
body.yd-home-v2 .banner.yd-home-hero {
  --yd-hero-pad-y: clamp(18px, 2.8vh, 36px);
  min-height: 0 !important;
  max-height: none;
  height: auto !important;
  padding: var(--yd-hero-pad-y) 0 calc(var(--yd-hero-pad-y) + 10px) !important;
  background: var(--yd-navy-dark) !important;
  background-image: none !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 992px) {
  body.yd-home-v2 .banner.yd-home-hero {
    --yd-hero-pad-y: clamp(14px, 2vh, 32px);
    padding: var(--yd-hero-pad-y) 0 calc(var(--yd-hero-pad-y) + 14px) !important;
    min-height: clamp(420px, 62svh, 640px) !important;
    max-height: calc(100svh - 108px) !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  body.yd-home-v2 .banner.yd-home-hero .banner-area,
  body.yd-home-v2 .banner.yd-home-hero .container {
    width: 100%;
  }
  body.yd-home-v2 .banner.yd-home-hero .banner-split {
    min-height: 0 !important;
    align-items: center !important;
    padding-top: 0;
    padding-bottom: 4px;
    gap: clamp(16px, 2vw, 32px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
  }
  body.yd-home-v2 .banner.yd-home-hero .banner-content {
    padding-top: 0;
    padding-right: 8px;
    min-width: 0;
    max-width: none !important;
    width: auto !important;
    flex: none !important;
    position: relative;
    z-index: 3;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    justify-self: stretch;
    /* Aktif kapak ~260–340px; sütun içinde kalsın */
    height: clamp(360px, 48svh, 520px) !important;
    --card-w: clamp(240px, 18vw, 320px);
    --card-h: calc(var(--card-w) * 1.62);
    --reel-r: clamp(100px, 12vw, 160px);
    perspective: 1100px;
    overflow: hidden !important;
    isolation: isolate;
    position: relative;
    z-index: 2;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at 50% 42%, rgba(7, 14, 24, 0.82) 0%, rgba(7, 14, 24, 0.45) 55%, rgba(7, 14, 24, 0.2) 100%);
    pointer-events: none;
    z-index: 0;
  }
  body.yd-home-v2 .yd-reel__card.is-back .yd-reel__hit {
    filter: brightness(0.88) contrast(1.02);
  }
  body.yd-home-v2 .yd-reel__poster {
    object-position: center center;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel__stage {
    z-index: 1;
    overflow: hidden;
  }
}
@media (min-width: 1200px) {
  body.yd-home-v2 .banner.yd-home-hero {
    min-height: clamp(460px, 64svh, 660px) !important;
    max-height: calc(100svh - 112px) !important;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel {
    --card-w: clamp(280px, 20vw, 360px);
    --card-h: calc(var(--card-w) * 1.65);
    height: clamp(400px, 50svh, 560px) !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  body.yd-home-v2 .banner.yd-home-hero {
    min-height: clamp(400px, 58svh, 560px) !important;
    max-height: calc(100svh - 104px) !important;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel {
    height: clamp(340px, 46svh, 460px) !important;
    --card-w: clamp(240px, 24vw, 300px);
    --card-h: calc(var(--card-w) * 1.65);
  }
}
/* Kısa laptop: kartları okunabilir tut, padding kısalt */
@media (min-width: 992px) and (max-height: 820px) {
  body.yd-home-v2 .banner.yd-home-hero {
    --yd-hero-pad-y: 10px;
    min-height: 0 !important;
    max-height: calc(100svh - 92px) !important;
    padding: 10px 0 16px !important;
  }
  body.yd-home-v2 .banner.yd-home-hero .banner-split {
    gap: 10px;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel {
    height: clamp(300px, 44svh, 380px) !important;
    --card-w: clamp(220px, 20vw, 280px);
    --card-h: calc(var(--card-w) * 1.65);
  }
  body.yd-home-v2 .yd-home-hero .banner-kicker,
  body.yd-home-v2 .yd-home-kicker {
    margin-bottom: 6px !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-text {
    margin-bottom: 8px !important;
    font-size: clamp(26px, 1.15vw + 0.7rem, 34px) !important;
    line-height: 1.14 !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-desc {
    margin-bottom: 10px !important;
    font-size: clamp(14px, 0.25vw + 12.5px, 15.5px) !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-actions {
    margin-bottom: 0 !important;
    gap: 8px !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-actions .btn {
    min-height: 40px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
}
@media (min-width: 992px) and (max-height: 720px) {
  body.yd-home-v2 .banner.yd-home-hero .yd-reel {
    height: clamp(260px, 40svh, 320px) !important;
    --card-w: clamp(200px, 18vw, 250px);
    --card-h: calc(var(--card-w) * 1.65);
  }
}
body.yd-home-v2 .yd-home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Orijinal referans-02: Hakan sağda tahta başında */
  object-position: 72% 28%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
body.yd-home-v2 .banner.yd-home-hero::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(7, 19, 31, 0.94) 0%,
    rgba(11, 28, 46, 0.82) 48%,
    rgba(11, 28, 46, 0.55) 100%
  );
  pointer-events: none;
}
body.yd-home-v2 .yd-home-hero .banner-area,
body.yd-home-v2 .yd-home-hero .container {
  position: relative;
  z-index: 2;
}
body.yd-home-v2 .yd-home-hero .banner-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
  min-width: 0;
}
body.yd-home-v2 .yd-home-hero .banner-text {
  max-width: min(18ch, 100%) !important;
  width: 100%;
  /* 1280–1366: ~36–42px; 1920: ~52–56px — metin kısaltılmaz */
  font-size: clamp(28px, 1.6vw + 0.85rem, 54px) !important;
  line-height: 1.15 !important;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  margin-bottom: clamp(8px, 1.2vh, 16px) !important;
}
@media (min-width: 992px) and (max-width: 1366px) {
  body.yd-home-v2 .yd-home-hero .banner-text {
    font-size: clamp(28px, 1.35vw + 0.7rem, 38px) !important;
  }
  body.yd-home-v2 .banner.yd-home-hero .banner-content {
    max-width: min(500px, 44%);
  }
}
body.yd-home-v2 .yd-home-hero .banner-desc {
  max-width: min(46ch, 100%);
  font-size: clamp(14.5px, 0.35vw + 13px, 18px) !important;
  line-height: 1.5 !important;
  margin-bottom: clamp(10px, 1.6vh, 18px) !important;
}
body.yd-home-v2 .yd-home-hero .banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  max-width: 100%;
}
body.yd-home-v2 .yd-home-hero .banner-actions .btn {
  flex: 0 1 auto;
  width: auto !important;
  max-width: 100%;
  min-height: 44px !important;
  padding: clamp(10px, 1.1vh, 14px) clamp(14px, 1.4vw, 22px) !important;
  font-size: clamp(13px, 0.2vw + 12px, 15px) !important;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}
body.yd-home-v2 .yd-home-hero .yd-reel {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 100%;
}

/* Reel kart: poster img birincil; video boş beyaz yüzey göstermesin */
body.yd-home-v2 .yd-reel__card {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease;
}
body.yd-home-v2 .yd-reel__hit {
  background: #0e1726 !important;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
}
body.yd-home-v2 .yd-reel__card.is-front .yd-reel__hit {
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.28);
}
/* style.css hover scale 3D ile hayalet katman üretmesin */
@media (hover: hover) {
  body.yd-home-v2 .yd-reel__card.is-front .yd-reel__hit:hover {
    transform: none;
  }
}
body.yd-home-v2 .yd-reel__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
  background: #0e1726;
  pointer-events: none;
}
body.yd-home-v2 .yd-reel__hit video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  background: #0e1726;
}
body.yd-home-v2 .yd-reel__cap {
  z-index: 3;
}
body.yd-home-v2 .yd-reel__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
}
body.yd-home-v2 .yd-reel__card.is-front .yd-reel__badge {
  opacity: 1;
}
body.yd-home-v2 .yd-reel__sound {
  display: none !important;
}
body.yd-home-v2 .yd-reel__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}
body.yd-home-v2 .yd-reel__nav-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 16, 28, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
body.yd-home-v2 .yd-reel__nav-btn:hover,
body.yd-home-v2 .yd-reel__nav-btn:focus-visible {
  background: rgba(184, 145, 82, 0.85);
  border-color: rgba(255, 255, 255, 0.55);
  outline: none;
}
/* Cue aktif kartın üstünü karartmasın — alt bant */
body.yd-home-v2 .yd-reel__cue {
  top: auto !important;
  bottom: 52px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
body.yd-home-v2 .yd-reel__cue-ring {
  display: none !important;
}
body.yd-home-v2 .yd-reel__cue-hand {
  display: none !important;
}
body.yd-home-v2 .yd-reel.is-ready .yd-reel__cue {
  animation: ydReelCueFade 2.8s ease forwards;
}
@keyframes ydReelCueFade {
  0%, 55% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.yd-home-v2 .yd-reel.is-ready .yd-reel__cue {
    animation: none;
    opacity: 0;
  }
}

/* Lightbox önizleme */
.yd-reel-modal[hidden] {
  display: none !important;
}
.yd-reel-modal {
  position: fixed;
  inset: 0;
  z-index: 100080;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.yd-reel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 22, 0.82);
  border: 0;
  cursor: pointer;
}
.yd-reel-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  max-height: min(88vh, 860px);
  display: flex;
  flex-direction: column;
  background: #0e1726;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.yd-reel-modal__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 640px);
  object-fit: cover;
  background: #0e1726;
}
.yd-reel-modal__meta {
  padding: 16px 18px 18px;
  color: #fff;
}
.yd-reel-modal__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.yd-reel-modal__yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #c9a227;
  color: #10263d;
  font-weight: 700;
  text-decoration: none;
}
.yd-reel-modal__yt[hidden],
.yd-reel-modal__note[hidden] {
  display: none !important;
}
.yd-reel-modal__note {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.yd-reel-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #10263d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
body.yd-reel-modal-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  body.yd-home-v2 .yd-reel__card {
    transition: none !important;
  }
}

/* Container / section rhythm */
body.yd-home-v2 .yd-home-container {
  width: min(var(--yd-container), calc(100% - 96px));
}
body.yd-home-v2 .yd-home-section {
  padding: var(--yd-space) 0;
}
body.yd-home-v2 .yd-home-section--tight {
  padding: 28px 0;
}
body.yd-home-v2 .yd-home-title {
  font-size: clamp(26px, 2.6vw, 36px);
}
body.yd-home-v2 .yd-home-lead {
  margin-bottom: 20px;
  font-size: 16px;
}

/* ---- KPI band ---- */
body.yd-home-v2 .yd-home-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 0;
  align-items: stretch;
}
body.yd-home-v2 .yd-home-kpi__item {
  padding: 8px 18px;
}
body.yd-home-v2 .yd-home-kpi__item b {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 6px;
  white-space: nowrap;
}
body.yd-home-v2 .yd-home-kpi__item span {
  font-size: 12px;
  max-width: 18ch;
  margin: 0 auto;
}

/* ---- Why: 3 eşit sütun ---- */
body.yd-home-v2 .yd-home-why {
  display: block;
}
body.yd-home-v2 .yd-home-why__intro {
  max-width: 70ch;
  margin-bottom: 28px;
}
body.yd-home-v2 .yd-home-why__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
body.yd-home-v2 .yd-home-why__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--yd-line);
  border-radius: var(--yd-radius);
  background: var(--yd-white);
  border-bottom: 1px solid var(--yd-line);
  min-height: 100%;
}
body.yd-home-v2 .yd-home-why__item:first-child,
body.yd-home-v2 .yd-home-why__item:last-child {
  padding: 24px;
}
body.yd-home-v2 .yd-home-why__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.yd-home-v2 .yd-home-why__num {
  line-height: 1;
  font-size: 15px;
}
body.yd-home-v2 .yd-home-why__item strong {
  font-size: 18px;
}
body.yd-home-v2 .yd-home-why__item p {
  font-size: 14px;
}

/* ---- Services: eşit kartlar ---- */
body.yd-home-v2 .yd-home-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body.yd-home-v2 .yd-home-service {
  min-height: 200px;
  padding: 24px;
  box-shadow: none;
}
body.yd-home-v2 .yd-home-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 38, 61, 0.07);
}
body.yd-home-v2 .yd-home-service strong {
  font-size: 18px;
}
@media (min-width: 1200px) {
  body.yd-home-v2 .yd-home-services {
    grid-template-columns: repeat(6, 1fr);
  }
  body.yd-home-v2 .yd-home-services .yd-home-service:nth-child(-n+3) {
    grid-column: span 2;
  }
  body.yd-home-v2 .yd-home-services .yd-home-service:nth-child(4) {
    grid-column: 2 / span 2;
  }
  body.yd-home-v2 .yd-home-services .yd-home-service:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ---- Case ---- */
body.yd-home-v2 .yd-home-case {
  gap: 36px;
}
body.yd-home-v2 .yd-home-case__media {
  min-height: 0 !important;
  border-radius: var(--yd-radius);
  box-shadow: 0 12px 28px rgba(16, 38, 61, 0.1);
  overflow: hidden;
}
body.yd-home-v2 .yd-home-case__media img {
  min-height: 0 !important;
  height: auto !important;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #e8edf3;
}
body.yd-home-v2 .yd-home-case__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 22px;
}
body.yd-home-v2 .yd-home-case__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 14px 12px;
  border: 1px solid var(--yd-line);
  border-radius: 12px;
  border-bottom: 1px solid var(--yd-line);
  background: var(--yd-bg);
}
body.yd-home-v2 .yd-home-case__stat b {
  font-size: clamp(18px, 1.8vw, 24px);
  white-space: normal;
  line-height: 1.15;
}
body.yd-home-v2 .yd-home-case__stat span {
  font-size: 12px;
}

/* ---- Segments ---- */
body.yd-home-v2 .yd-home-segment {
  border: 1px solid var(--yd-line);
  border-top: 3px solid var(--yd-navy);
  border-radius: 0 0 var(--yd-radius) var(--yd-radius);
  padding: 24px;
  min-height: 100%;
  background: var(--yd-white);
  transition: border-color 0.2s ease;
}
body.yd-home-v2 .yd-home-segment:hover {
  border-color: rgba(184, 145, 82, 0.45);
  border-top-color: var(--yd-gold-dark);
}

/* ---- Steps flow ---- */
body.yd-home-v2 .yd-home-steps {
  gap: 0;
  margin-bottom: 24px;
}
body.yd-home-v2 .yd-home-step {
  position: relative;
  padding: 8px 28px 8px 0;
}
body.yd-home-v2 .yd-home-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 10px;
  width: calc(100% - 56px);
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 145, 82, 0.55), rgba(16, 38, 61, 0.12));
  pointer-events: none;
}
body.yd-home-v2 .yd-home-step b {
  font-size: 22px;
  margin-bottom: 8px;
}
body.yd-home-v2 .yd-home-step strong {
  font-size: 18px;
}

/* ---- Check-Up teaser ---- */
body.yd-home-v2 .yd-home-checkup {
  gap: 20px;
  padding: 24px 28px;
  box-shadow: none;
}

/* ---- Hero scroll cue ---- */
body.yd-home-v2 .yd-home-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
body.yd-home-v2 .yd-home-hero__scroll:hover,
body.yd-home-v2 .yd-home-hero__scroll:focus-visible {
  opacity: 1;
  color: #fff;
  outline: none;
}
body.yd-home-v2 .yd-home-hero__scroll-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.85));
  border-radius: 1px;
  animation: yd-hero-scroll-pulse 1.8s ease-in-out infinite;
}
body.yd-home-v2 .yd-home-hero__scroll-label {
  font-weight: 600;
}
@keyframes yd-hero-scroll-pulse {
  0%, 100% { transform: scaleY(0.7); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 640px) {
  body.yd-home-v2 .yd-home-hero__scroll {
    bottom: 10px;
  }
  body.yd-home-v2 .yd-home-hero__scroll-line {
    height: 16px;
  }
}

/* ---- Refs logo carousel ---- */
body.yd-home-v2 .yd-home-refs .yd-home-container {
  overflow: visible;
}
body.yd-home-v2 .yd-home-refs__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
body.yd-home-v2 .yd-home-refs__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--yd-line, #E3E8ED);
  background: #fff;
  color: var(--yd-navy, #10263D);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(16, 38, 61, 0.06);
}
body.yd-home-v2 .yd-home-refs__btn:hover,
body.yd-home-v2 .yd-home-refs__btn:focus-visible {
  border-color: rgba(16, 38, 61, 0.35);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 145, 82, 0.28);
}
body.yd-home-v2 .yd-home-refs__viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  outline: none;
  min-width: 0;
}
body.yd-home-v2 .yd-home-refs__viewport:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(16, 38, 61, 0.22);
  border-radius: 12px;
}
body.yd-home-v2 .yd-home-refs__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: yd-refs-marquee 48s linear infinite;
  will-change: transform;
}
body.yd-home-v2 .yd-home-refs__viewport:hover .yd-home-refs__track,
body.yd-home-v2 .yd-home-refs__viewport:focus-within .yd-home-refs__track {
  animation-play-state: paused;
}
body.yd-home-v2 .yd-home-refs__set {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  flex: 0 0 auto;
}
body.yd-home-v2 .yd-home-refs__set a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 168px;
  min-height: 72px;
  padding: 10px 16px;
  text-decoration: none;
  opacity: 0.9;
  background: #fff;
  border: 1px solid var(--yd-line, #E3E8ED);
  border-radius: 12px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
body.yd-home-v2 .yd-home-refs__set a:hover,
body.yd-home-v2 .yd-home-refs__set a:focus-visible {
  opacity: 1;
  border-color: rgba(16, 38, 61, 0.28);
  outline: none;
}
body.yd-home-v2 .yd-home-refs__set img {
  max-width: 132px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes yd-refs-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body.yd-home-v2 .yd-home-refs__track {
    animation: none;
    flex-wrap: nowrap;
    width: max-content;
    justify-content: flex-start;
    gap: 14px;
    transform: none;
  }
  body.yd-home-v2 .yd-home-refs__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  body.yd-home-v2 .yd-home-refs__set[aria-hidden="true"] {
    display: none;
  }
  body.yd-home-v2 .yd-home-refs__set {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-right: 0;
    gap: 14px;
  }
  body.yd-home-v2 .yd-home-refs__set a {
    scroll-snap-align: start;
  }
  body.yd-home-v2 .yd-home-hero__scroll-line {
    animation: none;
  }
}
@media (max-width: 575px) {
  body.yd-home-v2 .yd-home-refs__wrap {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 4px;
  }
  body.yd-home-v2 .yd-home-refs__btn {
    width: 40px;
    height: 40px;
  }
}
/* Legacy grid selectors (artık kullanılmıyor; güvenlik) */
body.yd-home-v2 .yd-home-refs__grid a {
  min-height: 64px;
  padding: 8px 12px;
  opacity: 0.85;
}
body.yd-home-v2 .yd-home-refs__grid a:hover {
  transform: none;
  opacity: 1;
}

/* ---- Founder ---- */
body.yd-home-v2 .yd-home-founder img {
  box-shadow: 0 12px 28px rgba(16, 38, 61, 0.1);
  border-radius: var(--yd-radius);
}

/* ---- CTA / news weight ---- */
body.yd-home-v2 .yd-home-cta {
  padding: 48px 0;
}

/* Sahadan bülten — hero ile aynı navy dil, tam bant */
body.yd-home-v2 .yd-home-news {
  position: relative;
  overflow: hidden;
  padding: 72px 0 !important;
  background:
    radial-gradient(ellipse 70% 80% at 88% 20%, rgba(184, 145, 82, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 8% 90%, rgba(35, 67, 95, 0.55) 0%, transparent 50%),
    linear-gradient(145deg, #07131F 0%, #0B1C2E 48%, #122A42 100%) !important;
  border-top: none;
  border-bottom: none;
}
body.yd-home-v2 .yd-home-news__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  opacity: 0.7;
}
body.yd-home-v2 .yd-home-news .yd-home-container {
  position: relative;
  z-index: 1;
}
body.yd-home-v2 .yd-home-news__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 32px 56px;
  align-items: center;
  width: 100%;
  padding: 40px 44px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: ydNewsIn 0.7s ease both;
}
@keyframes ydNewsIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
body.yd-home-v2 .yd-home-news__eyebrow {
  margin: 0 0 12px !important;
  max-width: none !important;
  color: var(--yd-gold) !important;
  font-family: var(--yd-font-display) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3 !important;
}
body.yd-home-v2 .yd-home-news__copy h2 {
  margin: 0 0 14px !important;
  font-size: clamp(28px, 3.4vw, 40px) !important;
  line-height: 1.18 !important;
  color: #F4F7FA !important;
  font-family: var(--yd-font-display) !important;
  font-weight: 700 !important;
  max-width: 16ch !important;
  letter-spacing: -0.02em;
}
body.yd-home-v2 .yd-home-news__copy > p:not(.yd-home-news__eyebrow) {
  margin: 0 !important;
  max-width: 46ch;
  color: rgba(232, 238, 244, 0.78) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}
body.yd-home-v2 .yd-home-news__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
body.yd-home-v2 .yd-home-news__trust li {
  margin: 0;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(184, 145, 82, 0.35);
  background: rgba(184, 145, 82, 0.1);
  color: #E8D5B0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
body.yd-home-v2 .yd-home-news__form {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
  padding: 22px;
  border-radius: 16px;
  background: rgba(7, 19, 31, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body.yd-home-v2 .yd-home-news__row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  width: 100%;
}
body.yd-home-v2 .yd-home-news__row input[type="email"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 56px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--yd-ink);
  font-size: 16px;
  line-height: 56px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.yd-home-v2 .yd-home-news__row input[type="email"]::placeholder {
  color: #8A97A8;
  opacity: 1;
}
body.yd-home-v2 .yd-home-news__row input[type="email"]:focus {
  border-color: rgba(184, 145, 82, 0.85);
  box-shadow: 0 0 0 4px rgba(184, 145, 82, 0.22);
}
body.yd-home-v2 .yd-home-news__row .btn-gold {
  flex: 0 0 auto;
  height: 56px !important;
  min-height: 56px !important;
  min-width: 148px;
  margin: 0 !important;
  padding: 0 26px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(184, 145, 82, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
body.yd-home-v2 .yd-home-news__row .btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(184, 145, 82, 0.36);
}
body.yd-home-v2 .yd-home-news__fine {
  margin: 12px 0 0 !important;
  color: rgba(232, 238, 244, 0.55) !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  max-width: none !important;
}
body.yd-home-v2 .yd-home-news__fine a {
  color: #E8D5B0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.yd-home-v2 .yd-home-news__status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
body.yd-home-v2 .yd-home-news__status.is-success {
  display: block;
  background: rgba(46, 125, 78, 0.22);
  color: #B8E6C8;
  border: 1px solid rgba(184, 230, 200, 0.35);
}
body.yd-home-v2 .yd-home-news__status.is-error {
  display: block;
  background: rgba(143, 47, 54, 0.28);
  color: #F5C2C6;
  border: 1px solid rgba(243, 199, 203, 0.35);
}
body.yd-home-v2 .yd-home-news .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  body.yd-home-v2 .yd-home-news__panel {
    animation: none;
  }
  body.yd-home-v2 .yd-home-news__row .btn-gold:hover {
    transform: none;
  }
}
@media (max-width: 991px) {
  body.yd-home-v2 .yd-home-news {
    padding: 56px 0 !important;
  }
  body.yd-home-v2 .yd-home-news__panel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 22px;
  }
  body.yd-home-v2 .yd-home-news__copy h2 {
    max-width: none !important;
  }
  body.yd-home-v2 .yd-home-news__copy > p:not(.yd-home-news__eyebrow) {
    max-width: none;
  }
}
@media (max-width: 640px) {
  body.yd-home-v2 .yd-home-news {
    padding: 44px 0 !important;
  }
  body.yd-home-v2 .yd-home-news__form {
    padding: 16px;
  }
  body.yd-home-v2 .yd-home-news__row {
    flex-direction: column;
    align-items: stretch;
  }
  body.yd-home-v2 .yd-home-news__row .btn-gold {
    width: 100%;
    min-width: 0;
  }
}

/* WhatsApp bülten — siyah boşluk / kırpılma düzeltmesi */
body.yd-home-v2 .yd-wa-bulletin__card {
  display: grid !important;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
  align-items: stretch !important;
  overflow: hidden !important;
}
body.yd-home-v2 .yd-wa-bulletin__media {
  max-width: none !important;
  width: 100% !important;
  min-height: 340px !important;
  background: #0B1C2E !important;
}
body.yd-home-v2 .yd-wa-bulletin__media img {
  max-height: none !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
@media (max-width: 991px) {
  body.yd-home-v2 .yd-wa-bulletin__card {
    grid-template-columns: 1fr !important;
  }
  body.yd-home-v2 .yd-wa-bulletin__media {
    min-height: 220px !important;
    max-height: 280px;
  }
}

/* Check-Up modal: boş/aktif olmayan adımlar DOM’da kalmasın görünür */
body.yd-home-v2 .checkup-modal[style*="display: none"],
body.yd-home-v2 .checkup-modal[style*="display:none"] {
  visibility: hidden !important;
  pointer-events: none !important;
}
body.yd-home-v2 .checkup-step:not(.active) {
  display: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.yd-home-v2 .yd-home-service,
  body.yd-home-v2 .yd-home-segment,
  body.yd-home-v2 .yd-home-refs__grid a {
    transition: none !important;
  }
  body.yd-home-v2 .yd-home-service:hover {
    transform: none !important;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  body.yd-home-v2 {
    --yd-space: 40px;
  }
  body.yd-home-v2 .yd-home-container {
    width: min(var(--yd-container), calc(100% - 56px));
  }
  body.yd-home-v2 .yd-home-why__list {
    grid-template-columns: 1fr;
  }
  body.yd-home-v2 .yd-home-case__stats {
    grid-template-columns: 1fr;
  }
  body.yd-home-v2 .yd-home-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 991px) {
  body.yd-home-v2 .banner.yd-home-hero {
    padding: 16px 0 36px !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-text {
    max-width: none !important;
    font-size: clamp(22px, 6.4vw, 32px) !important;
    margin-bottom: 10px !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-desc {
    margin-bottom: 12px !important;
    font-size: 14.5px !important;
    line-height: 1.45 !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-actions {
    margin-bottom: 4px !important;
  }
  body.yd-home-v2 .yd-home-kicker {
    margin-bottom: 8px !important;
  }
  /* Mobil: tek kolon; reel CTA’nın altında, üstüne binmesin */
  body.yd-home-v2 .banner.yd-home-hero .banner-split {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 12px !important;
  }
  body.yd-home-v2 .banner.yd-home-hero .banner-content {
    max-width: 100% !important;
    flex: none !important;
    width: 100% !important;
    position: relative;
    z-index: 3;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel {
    width: 100% !important;
    flex: none !important;
    height: clamp(300px, 78vw, 380px) !important;
    --reel-r: 80px;
    --card-w: clamp(180px, 48vw, 230px);
    --card-h: calc(var(--card-w) * 1.62);
    margin-top: 16px !important;
    overflow: hidden !important;
    perspective: 800px;
    position: relative;
    z-index: 1;
    isolation: isolate;
  }
  body.yd-home-v2 .banner.yd-home-hero .yd-reel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 24, 0.35);
    pointer-events: none;
    z-index: 0;
  }
  body.yd-home-v2 .yd-reel__nav {
    bottom: 6px;
  }
  body.yd-home-v2 .yd-reel__cue {
    bottom: 56px !important;
  }
  body.yd-home-v2 .yd-home-hero__bg {
    object-position: 68% 22%;
    opacity: 0.4;
  }
  body.yd-home-v2 .yd-home-kpi {
    grid-template-columns: 1fr 1fr;
  }
  body.yd-home-v2 .yd-home-kpi__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 12px;
  }
  body.yd-home-v2 .yd-home-kpi__item b {
    white-space: normal;
  }
  body.yd-home-v2 .yd-home-services {
    grid-template-columns: 1fr 1fr;
  }
  /* Referanslar: mobilde de sakin marquee */
  body.yd-home-v2 .yd-home-refs__viewport {
    margin-top: 22px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  body.yd-home-v2 .yd-home-refs__track {
    animation-duration: 42s;
  }
  body.yd-home-v2 .yd-home-refs__set {
    gap: 12px;
    padding-right: 12px;
  }
  body.yd-home-v2 .yd-home-refs__set a {
    width: 148px;
    min-height: 68px;
  }
  body.yd-home-v2 .yd-home-refs__set img {
    max-width: 118px;
    max-height: 40px;
  }
}

@media (max-width: 640px) {
  body.yd-home-v2 {
    --yd-space: 36px;
  }
  body.yd-home-v2 .yd-home-container {
    width: calc(100% - 32px);
  }
  body.yd-home-v2 .banner.yd-home-hero {
    padding: 28px 0 24px !important;
  }
  body.yd-home-v2 .yd-home-hero .banner-content {
    padding-right: 0;
    padding-top: 8px;
    box-sizing: border-box;
  }
  body.yd-home-v2 .banner-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: calc(100% - 8px);
  }
  body.yd-home-v2 .banner-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  body.yd-home-v2 .yd-home-kpi,
  body.yd-home-v2 .yd-home-services,
  body.yd-home-v2 .yd-home-segments,
  body.yd-home-v2 .yd-home-steps {
    grid-template-columns: 1fr;
  }
  body.yd-home-v2 .yd-home-checkup {
    padding: 20px;
  }
  body.yd-home-v2 .yd-sticky-cta {
    padding-right: 72px;
  }
}
