/* OPB_SAYFA_V1 — kurumsal / yasal sayfalar: lacivert / krem / turuncu, tam genişlik */
html:has(.os-kap), body:has(.os-kap) { overflow-x: hidden; }
body:has(.os-kap) { background: #f7f3ec; }
.os-kap { --g: #003330; --l: #00483f; --t: #ec6a0a; --c: #e7e0d4; --m: #10302c; --s: #586b68; --kenar: clamp(16px, 4vw, 64px); --ic: 100%;
  width: calc(100vw - var(--os-sb, 0px)); margin: 0 0 0 calc(50% - 50vw + var(--os-sb, 0px) / 2); box-sizing: border-box; color: var(--m); }
.os-kap *, .os-kap *::before, .os-kap *::after { box-sizing: border-box; }
.os-kap svg { width: 20px; height: 20px; flex: 0 0 auto; }
.os-pad { padding-left: max(var(--kenar), calc((100% - var(--ic)) / 2)); padding-right: max(var(--kenar), calc((100% - var(--ic)) / 2)); }

/* Üst bant */
.os-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(36px, 5vw, 64px) max(var(--kenar), calc((100% - var(--ic)) / 2)) clamp(56px, 6vw, 84px);
  background: radial-gradient(70% 140% at 100% 0%, rgba(236, 106, 10, .26), transparent 60%), linear-gradient(140deg, var(--l), var(--g)); }
.os-hero::after { content: ""; position: absolute; right: -90px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%; border: 54px solid rgba(255, 255, 255, .035); }
.os-hero.os-yasal { background: radial-gradient(60% 140% at 100% 0%, rgba(236, 106, 10, .16), transparent 60%), linear-gradient(140deg, #0b2d4f, var(--g)); }
.os-hero-ic { position: relative; z-index: 1; }
.os-yol { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #9fb1c4; margin-bottom: 18px; }
.os-yol a { color: #c9d5e2; text-decoration: none; }
.os-yol a:hover { color: #fff; }
.os-baslik { display: flex; gap: 18px; align-items: center; }
.os-ik { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--t); color: #fff; box-shadow: 0 14px 28px -12px rgba(236, 106, 10, .7); flex: 0 0 auto; }
.os-ik svg { width: 30px; height: 30px; }
.os-hero h1 { margin: 0; font: 700 clamp(28px, 3.8vw, 46px)/1.1 OpbSora, Inter, sans-serif; letter-spacing: -.02em; color: #fff; border: 0; padding: 0; }
.os-hero p { margin: 8px 0 0; color: #c3d0de; font-size: clamp(15px, 1.4vw, 17px); }
.os-tarih { display: inline-block; margin-top: 20px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: #c9d5e2; }

/* Gövde */
.os-govde { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; margin: -36px max(var(--kenar), calc((100% - var(--ic)) / 2)) 0; position: relative; z-index: 2; }
.os-yan { position: sticky; top: 96px; display: grid; gap: 14px; }
.os-icindekiler { background: #fff; border: 1px solid var(--c); border-radius: 20px; padding: 18px; box-shadow: 0 16px 34px -26px rgba(0, 51, 48, .45); }
.os-icindekiler b { display: block; font: 700 13px OpbSora, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--l); margin-bottom: 10px; }
.os-icindekiler ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: ic; }
.os-icindekiler li { counter-increment: ic; }
.os-icindekiler a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--s); text-decoration: none; font-size: 14px; line-height: 1.35; transition: background .15s, color .15s; }
.os-icindekiler a::before { content: counter(ic, decimal-leading-zero); font: 700 11px OpbSora, Inter, sans-serif; color: #b0bccb; padding-top: 2px; }
.os-icindekiler a:hover { background: #f3f8f7; color: var(--l); }
.os-icindekiler a.etkin { background: #fde6d3; color: var(--l); font-weight: 700; }
.os-icindekiler a.etkin::before { color: var(--t); }
.os-yardim { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: linear-gradient(140deg, var(--l), var(--g)); color: #fff; text-decoration: none; box-shadow: 0 16px 34px -24px rgba(0, 51, 48, .6); }
.os-yardim .wa { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1fb85b; flex: 0 0 auto; }
.os-yardim .wa svg { width: 23px; height: 23px; }
.os-yardim b { display: block; font-size: 14.5px; }
.os-yardim small { color: #b8c6d5; font-size: 12.5px; }

/* İçerik tipografisi */
.os-icerik { background: #fff; border: 1px solid var(--c); border-radius: 24px; padding: clamp(24px, 3.5vw, 48px); box-shadow: 0 18px 40px -30px rgba(0, 51, 48, .45); font-size: 16px; line-height: 1.75; color: #24364a; min-width: 0; }
.os-icerik > :first-child { margin-top: 0; }
.os-icerik h2 { position: relative; margin: 38px 0 14px; padding-left: 16px; font: 700 clamp(20px, 2vw, 24px)/1.25 OpbSora, Inter, sans-serif; color: var(--l); scroll-margin-top: 110px; }
.os-icerik h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--t); }
.os-icerik h3 { margin: 26px 0 8px; font: 700 17px/1.35 OpbSora, Inter, sans-serif; color: var(--l); }
.os-icerik p { margin: 0 0 14px; }
.os-icerik a { color: var(--t); font-weight: 700; text-decoration: none; }
.os-icerik a:hover { text-decoration: underline; }
.os-icerik strong, .os-icerik b { color: var(--l); }
.os-icerik ul, .os-icerik ol { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.os-icerik ul li { position: relative; padding: 10px 14px 10px 42px; border-radius: 12px; background: #f8f6f1; border: 1px solid #efe9de; }
.os-icerik ul li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.os-icerik ol { counter-reset: md; }
.os-icerik ol li { counter-increment: md; position: relative; padding: 10px 14px 10px 50px; border-radius: 12px; background: #f3f8f7; border: 1px solid #e6ebf2; }
.os-icerik ol li::before { content: counter(md); position: absolute; left: 12px; top: 9px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--l); color: #fff; font: 700 13px OpbSora, Inter, sans-serif; }
.os-icerik hr { border: 0; border-top: 1px dashed var(--c); margin: 28px 0; }
.os-icerik blockquote, .os-icerik .not { margin: 16px 0; padding: 14px 18px; border-left: 4px solid var(--t); background: #fde6d3; border-radius: 0 14px 14px 0; color: #7a2e0c; }
.os-tablo { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--c); border-radius: 14px; }
.os-icerik table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.os-icerik th { background: var(--l); color: #fff; text-align: left; padding: 10px 14px; font-weight: 700; }
.os-icerik td { padding: 10px 14px; border-top: 1px solid #efe9de; }
.os-icerik dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 18px; }
.os-icerik dl > div { padding: 16px 18px; border-radius: 16px; background: #f8f6f1; border: 1px solid #efe9de; }
.os-icerik dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--t); margin-bottom: 4px; }
.os-icerik dd { margin: 0; font-weight: 700; color: var(--l); line-height: 1.5; overflow-wrap: anywhere; }

/* SSS aç-kapa */
.os-sss { border: 1px solid var(--c); border-radius: 16px; margin: 0 0 10px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.os-sss[open] { border-color: rgba(236, 106, 10, .45); box-shadow: 0 12px 26px -20px rgba(0, 51, 48, .45); }
.os-sss summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 700; color: var(--l); font-size: 15.5px; line-height: 1.4; }
.os-sss summary::-webkit-details-marker { display: none; }
.os-sss summary svg { width: 20px; height: 20px; color: var(--t); transition: transform .2s; flex: 0 0 auto; }
.os-sss[open] summary svg { transform: rotate(180deg); }
.os-sss summary:focus-visible { outline: 3px solid rgba(236, 106, 10, .45); outline-offset: 2px; border-radius: 14px; }
.os-sss-govde { padding: 0 18px 16px; color: #36495e; }
.os-sss-govde > :last-child { margin-bottom: 0; }

/* İlgili sayfalar + alt bant */
.os-ilgili { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 30px max(var(--kenar), calc((100% - var(--ic)) / 2)) 0; }
.os-ilgili a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--c); color: var(--l); text-decoration: none; font-weight: 700; font-size: 14.5px; transition: transform .18s, border-color .2s, box-shadow .2s; }
.os-ilgili a:hover { transform: translateY(-3px); border-color: rgba(236, 106, 10, .45); box-shadow: 0 16px 30px -22px rgba(0, 51, 48, .5); }
.os-ilgili .ik { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fde6d3; color: var(--t); flex: 0 0 auto; }
.os-ilgili a > span:nth-child(2) { flex: 1; }
.os-ilgili a > svg:last-child { width: 16px; height: 16px; color: #9aa8b8; }
.os-cta { margin-top: 44px; padding: clamp(30px, 4vw, 48px) max(var(--kenar), calc((100% - var(--ic)) / 2)); background: radial-gradient(60% 160% at 0% 100%, rgba(236, 106, 10, .22), transparent 60%), linear-gradient(140deg, var(--l), var(--g)); color: #fff; }
.os-cta-ic { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.os-cta h2 { margin: 0 0 6px; font: 700 clamp(22px, 2.6vw, 30px)/1.15 OpbSora, Inter, sans-serif; color: #fff; }
.os-cta p { margin: 0; color: #c3d0de; }
.os-cta-btn { display: flex; gap: 12px; flex-wrap: wrap; }
.os-cta-btn a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 14px; font-weight: 800; text-decoration: none; color: #fff; }
.os-cta-btn .wa { background: linear-gradient(135deg, #25d366, #128c4a); box-shadow: 0 14px 26px -12px rgba(37, 211, 102, .7); }
.os-cta-btn .ara { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.os-cta-btn svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .os-govde { grid-template-columns: 1fr; }
  .os-yan { position: static; order: 2; }
  .os-icindekiler { display: none; }
}
@media (max-width: 560px) {
  .os-baslik { gap: 14px; }
  .os-ik { width: 52px; height: 52px; border-radius: 15px; }
  .os-ik svg { width: 25px; height: 25px; }
  .os-govde { margin-left: 12px; margin-right: 12px; }
  .os-icerik { border-radius: 20px; font-size: 15.5px; }
  .os-icerik ul li { padding-left: 38px; }
  .os-ilgili { margin-left: 12px; margin-right: 12px; grid-template-columns: 1fr 1fr; }
  .os-ilgili a { padding: 14px; font-size: 13.5px; flex-direction: column; align-items: flex-start; }
  .os-ilgili a > svg:last-child { display: none; }
  .os-cta-btn a { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .os-ilgili a, .os-sss summary svg { transition: none; } }

/* WhatsApp Akıllı Asistan — üst bantta vurgu */
.os-hero-alt { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.os-hero-alt .os-tarih { margin-top: 0; }
.os-hero-wa { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px 11px 14px; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #25d366, #128c4a); box-shadow: 0 14px 26px -12px rgba(37, 211, 102, .7); transition: transform .15s; }
.os-hero-wa:hover { transform: translateY(-2px); }
.os-hero-wa svg { width: 24px; height: 24px; }
.os-hero-wa span { display: flex; flex-direction: column; line-height: 1.2; }
.os-hero-wa b { font-size: 15px; }
.os-hero-wa small { font-size: 12px; opacity: .9; }
