/* 40works — ana sayfa hero (referans: büyük portre, dikey şerit, sağda büyük başlık) */
.hx { padding: 12px; }
.hx__panel {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(640px, calc(100svh - 24px), 1000px);
  border-radius: 36px 36px 120px 120px;
  background:
    radial-gradient(70% 60% at 85% 15%, #f2567a 0%, transparent 60%),
    radial-gradient(60% 70% at 10% 100%, #c81f45 0%, transparent 60%),
    linear-gradient(135deg, #ee3f66 0%, #e72953 55%, #d91f4a 100%);
}
.hx__panel::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* dikey hizmet şeridi */
.hx__strip { position: absolute; z-index: 4; top: 0; bottom: 0; left: clamp(96px, 10vw, 168px); width: clamp(52px, 4.4vw, 70px); background: #141414; overflow: hidden; }
.hx__track { display: flex; flex-direction: column; animation: hxKay 30s linear infinite; }
.hx__track span { writing-mode: vertical-rl; display: flex; align-items: center; gap: 18px; padding: 18px 0; color: #fff; font-weight: 500; font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -.01em; white-space: nowrap; margin-inline: auto; }
.hx__track i { font-style: normal; color: #7d9be0; }
@keyframes hxKay { to { transform: translateY(-50%); } }

/* yarı saydam bant ve dikey büyük yazı */
.hx__band { position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(clamp(96px, 10vw, 168px) + clamp(52px, 4.4vw, 70px)); width: clamp(84px, 8.6vw, 156px);
  background: linear-gradient(180deg, rgba(20,20,20,.0) 0%, rgba(20,20,20,.18) 45%, rgba(40,80,157,.72) 100%); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); overflow: hidden; }
.hx__band span { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); writing-mode: vertical-rl; white-space: nowrap; font-weight: 700; letter-spacing: -.05em; font-size: clamp(70px, 7.6vw, 140px); line-height: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.35) 55%, rgba(255,255,255,.12) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* portre */
.hx__photo { position: absolute; z-index: 2; bottom: 0; height: min(96%, 50vw); aspect-ratio: 1; right: 49%; }
.hx__photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: contrast(1.06) saturate(1.05); }
.hx__px { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #9fb8ee; box-shadow: 0 0 10px 2px rgba(159,184,238,.9); animation: hxPx 3.2s ease-in-out infinite; }
.hx__px--1 { left: 62%; top: 30%; } .hx__px--2 { left: 70%; top: 38%; animation-delay: -.6s; } .hx__px--3 { left: 58%; top: 46%; animation-delay: -1.2s; }
.hx__px--4 { left: 66%; top: 52%; animation-delay: -1.8s; } .hx__px--5 { left: 74%; top: 44%; animation-delay: -2.4s; background: #fff; }
.hx__px--6 { left: 54%; top: 36%; animation-delay: -.9s; } .hx__px--7 { left: 61%; top: 58%; animation-delay: -2.1s; background: #fff; } .hx__px--8 { left: 69%; top: 26%; animation-delay: -1.5s; }
@keyframes hxPx { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.hx__dot { position: absolute; left: 72%; top: 14%; width: 14px; height: 14px; border-radius: 50%; background: #28509d; box-shadow: 0 0 0 5px rgba(40,80,157,.25); }

/* metin */
.hx__copy { position: absolute; z-index: 5; right: clamp(28px, 4.4vw, 72px); top: 0; bottom: 0; left: 50%; display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding: clamp(120px, 14vh, 170px) 0 clamp(80px, 11vh, 130px); }
.hx__lead { max-width: 430px; text-align: left; color: #141414; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.55; font-weight: 500; }
.hx__h { margin-top: auto; color: #141414; font-weight: 600; font-size: clamp(76px, 8vw, 150px); line-height: .88; letter-spacing: -.06em; width: max-content; }
.hx__h span { display: block; }
.hx__sign { margin-top: clamp(22px, 3.4vh, 40px); display: inline-flex; align-items: center; gap: 16px; color: #fff; font-style: italic; font-weight: 500; font-size: clamp(32px, 3.2vw, 58px); letter-spacing: -.045em; line-height: 1; }
.hx__shield { flex: none; width: 1.05em; height: 1.05em; }
.hx__shield svg { width: 100%; height: 100%; fill: #28509d; filter: drop-shadow(0 6px 10px rgba(20,20,20,.25)); }

/* cam kart */
.hx__card { position: absolute; z-index: 6; left: clamp(36%, 30% + 6vw, 47%); bottom: clamp(48px, 8vh, 96px); transform: translateX(-50%); width: clamp(300px, 26vw, 400px); padding: 30px 28px 24px; border-radius: 26px; text-align: center; color: #141414;
  background: radial-gradient(70% 60% at 0% 100%, rgba(231,41,83,.22), transparent 60%), radial-gradient(70% 70% at 100% 20%, rgba(63,111,198,.32), transparent 60%), rgba(255,255,255,.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 8px rgba(255,255,255,.28), 0 40px 60px -30px rgba(60,10,25,.55); display: grid; justify-items: center; gap: 18px; }
.hx__card-h { font-size: clamp(18px, 1.45vw, 23px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.hx__card-l { font-size: 14px; color: #5f5f5a; }
.hx__card-l a { color: #141414; font-weight: 600; }
.btn__ico--dots svg { width: 20px; }

/* giriş */
.hx__h span, .hx__sign, .hx__lead, .hx__card { animation: gir .9s cubic-bezier(.2,.7,.2,1) both; }
.hx__h span:nth-child(2) { animation-delay: .08s; } .hx__h span:nth-child(3) { animation-delay: .16s; } .hx__sign { animation-delay: .26s; } .hx__card { animation-delay: .42s; }
.hx__card { animation-name: girKart; }
@keyframes girKart { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hx__photo { animation: girFoto 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes girFoto { from { opacity: 0; transform: translateX(-30px); } }

/* header çentiği (referans: koyu, aşağı sarkan) */
.hdr__notch { background: #141414; padding: 12px 34px 14px; border-radius: 0 0 26px 26px; font-weight: 500; font-size: 16px; gap: 12px; }
.hdr__live { width: 11px; height: 11px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 0 4px rgba(60,207,110,.22); animation: hxCanli 2s ease-in-out infinite; }
@keyframes hxCanli { 50% { box-shadow: 0 0 0 7px rgba(60,207,110,.08); } }
@media (max-width: 1360px) { .hdr__notch { display: flex !important; } }
@media (max-width: 1100px) { .hdr__notch { display: none !important; } }

/* dar masaüstü / tablet yatay */
@media (max-width: 1280px) and (min-width: 1001px) {
  .hx__photo { right: 52%; height: min(88%, 52vw); }
  .hx__h { font-size: clamp(70px, 7.6vw, 100px); }
  .hx__sign { font-size: clamp(28px, 2.9vw, 40px); }
  .hx__card { left: 34%; width: 300px; padding: 24px 22px 20px; }
}
/* tablet ve mobil: metin üstte, portre altta */
@media (max-width: 1000px) {
  .hx__panel { height: auto; display: flex; flex-direction: column; border-radius: 30px 30px 60px 60px; padding: 104px 22px 0 calc(clamp(52px, 4.4vw, 70px) + 34px); }
  .hx__strip { left: 14px; width: 46px; }
  .hx__track span { font-size: 16px; }
  .hx__band { display: none; }
  .hx__copy { position: static; align-items: flex-start; text-align: left; padding: 0; }
  .hx__lead { font-size: 17px; }
  .hx__h { margin-top: 26px; font-size: clamp(48px, 12.4vw, 104px); width: auto; }
  .hx__sign { font-size: clamp(26px, 7vw, 46px); display: block; }
  .hx__shield { display: inline-block; vertical-align: -.12em; margin-left: 6px; }
  .hx__photo { position: relative; right: auto; bottom: auto; width: min(100%, 560px); height: auto; margin: 18px auto 0; }
  .hx__card { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: -70px 0 28px; animation-name: gir; }
}
@media (max-width: 1000px) {
  .hx__copy { order: 1; }
  .hx__photo { order: 2; margin-top: 10px; }
  .hx__card { order: 3; margin-top: -90px; }
  .hx__dot { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hx__track, .hx__px, .hdr__live { animation: none !important; } }

/* ---------- Davud görseli + küçültülmüş imza ve kart ---------- */
.hx__band { display: none; }
.hx__photo { aspect-ratio: 1293 / 923; height: min(84%, 46vw); right: auto; left: calc(clamp(96px, 10vw, 168px) + clamp(52px, 4.4vw, 70px) - 2vw); }
.hx__photo img { -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 98%); mask-image: linear-gradient(90deg, #000 70%, transparent 98%); }
.hx__photo img { filter: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, #000 82%, transparent 100%); }
.hx__sign { font-size: clamp(24px, 2.2vw, 40px); gap: 12px; margin-top: clamp(18px, 2.6vh, 30px); }
.hx__shield { width: 1em; height: 1em; }
.hx__card { width: clamp(250px, 19vw, 300px); padding: 20px 20px 16px; gap: 12px; border-radius: 22px; box-shadow: 0 0 0 6px rgba(255,255,255,.26), 0 30px 50px -28px rgba(60,10,25,.55); }
.hx__card-h { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.35; }
.hx__card .btn { min-height: 42px; font-size: 15px; }
.hx__card .btn__ico { width: 32px; height: 32px; }
.hx__card-l { font-size: 12.5px; }
@media (max-width: 1280px) and (min-width: 1001px) {
  .hx__photo { right: auto; height: min(74%, 44vw); }
  .hx__photo img { -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 90%); mask-image: linear-gradient(90deg, #000 60%, transparent 90%); }
  .hx__sign { font-size: clamp(22px, 2.3vw, 30px); }
  .hx__card { left: 33%; width: 260px; padding: 18px 18px 14px; }
}
@media (max-width: 1000px) {
  .hx__photo { width: min(100%, 600px); height: auto; right: auto; left: auto; margin-inline: auto; }
  .hx__photo img { -webkit-mask-image: none; mask-image: none; }
  .hx__sign { font-size: clamp(19px, 5.2vw, 34px); white-space: nowrap; }
  .hx__shield { width: .95em; height: .95em; margin-left: 4px; }
  .hx__photo { margin-top: 18px; }
  .hx__card { width: auto; max-width: 420px; margin-top: -24px; }
}

/* ---------- bento: "Daha hızlı, daha verimli" kartı ---------- */
.bento__dinle { display: flex; flex-direction: column;
  background-color: #e72953;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='70'%3E%3Cg stroke='%23b8143c' stroke-width='1.6' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M8 14l-2 9M12 13l-1 9M16 14l1 8M48 40l-2 9M52 39l-1 9M56 40l1 8M70 8l-1 8M74 7v9'/%3E%3C/g%3E%3Cg stroke='%23ff9db3' stroke-width='1.4' stroke-linecap='round' opacity='.45'%3E%3Cpath d='M30 56l-1 7M34 55v7M80 50l-1 7M22 32v6'/%3E%3C/g%3E%3C/svg%3E"); }
.card__p--strong { color: #fff !important; font-weight: 600; font-size: 18px; }
.hiz { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.hiz__t { background: #fff; color: var(--ink); border-radius: 20px; padding: 16px 14px 18px; display: grid; justify-items: center; align-content: space-between; gap: 10px; box-shadow: 0 16px 30px -22px rgba(80,0,20,.55); }
.hiz__l { justify-self: start; font-size: 15px; font-weight: 600; color: #8a8a85; }
.hiz__dial { width: min(100%, 132px); height: auto; }
/* varsayılan: bitmiş hâl; görünür olunca bir kez oynar */
.hiz__hand { transform-origin: 60px 64px; }
.hiz__arc { stroke-dasharray: 140; stroke-dashoffset: 0; }
.hiz__arc--b { stroke-dasharray: 100; }
.hiz.is-play .hiz__hand { animation: hizEl 1.8s cubic-bezier(.6,0,.4,1) .2s both; }
.hiz.is-play .hiz__arc { animation: hizArc 1.8s cubic-bezier(.6,0,.4,1) .2s both; }
.hiz.is-play .hiz__arc--b { animation-name: hizArcB; }
@keyframes hizEl { from { transform: rotate(-180deg); } to { transform: rotate(0deg); } }
@keyframes hizArc { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }
@keyframes hizArcB { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.hiz__pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 15px; }
.hiz__pill--ok { background: #3c9a5c; }
.hiz__pill--red { background: #e72953; }
.hiz__v { font-size: clamp(18px, 1.4vw, 22px); font-weight: 700; letter-spacing: -.03em; text-align: center; line-height: 1.15; }
@media (prefers-reduced-motion: reduce) { .hiz__hand, .hiz__arc { animation: none !important; stroke-dashoffset: 0 !important; transform: none !important; } }
