/* ==========================================================================
   OPAK TEMİZLİK — İç sayfa bileşenleri (hizmet, kurumsal, blog, iletişim)
   ========================================================================== */

.breadcrumb {
  padding-block: 16px 0;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb__list li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #94A3B8;
}
.breadcrumb__list a { color: var(--c-muted); font-weight: 600; }
.breadcrumb__list a:hover { color: var(--c-blue); }
.breadcrumb__list [aria-current="page"] { color: var(--c-deep); font-weight: 700; }

/* ---------- Sayfa hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(8, 212, 240, .14), transparent 60%),
    linear-gradient(180deg, #F3FAFF 0%, #FFFFFF 72%);
}
.page-hero--ads {
  background:
    radial-gradient(800px 480px at 90% -10%, rgba(8, 212, 240, .18), transparent 55%),
    radial-gradient(600px 400px at -5% 80%, rgba(8, 120, 232, .10), transparent 60%),
    linear-gradient(180deg, #F3FAFF 0%, #FFFFFF 100%);
}
.page-hero__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid #D7E8FA;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-navy);
}
.page-hero__badge .icon {
  width: 24px; height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  stroke-width: 2.2;
}
.page-hero__title { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero__lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  color: var(--c-text);
}
.page-hero__actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.page-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}
.page-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-deep);
}
.page-hero__trust .icon {
  width: 18px; height: 18px;
  color: var(--c-blue);
  stroke-width: 2.4;
}
.page-hero__media { position: relative; }
.page-hero__frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #E6F1FB;
}
.page-hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-hero__chip {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 28px);
}
.page-hero__chip .icon {
  width: 40px; height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
}
.page-hero__chip strong { display: block; font-size: var(--fs-sm); color: var(--c-deep); }
.page-hero__chip span { font-size: 11px; color: var(--c-muted); font-weight: 600; }

/* ---------- İçerik düzeni ---------- */
.content-split {
  display: grid;
  gap: 40px;
  align-items: start;
}
.prose { display: grid; gap: 16px; max-width: 72ch; }
.prose h2 { font-size: var(--fs-h2); margin-top: 12px; }
.prose h3 { font-size: 1.15rem; margin-top: 8px; }
.prose p, .prose li { color: var(--c-text); }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 1.15rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--c-blue); font-weight: 700; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--c-deep); }

.info-panel {
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.info-panel--sticky { position: static; }
.info-panel__title { font-size: 1.125rem; margin-bottom: 8px; }
.info-panel__text { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 18px; }
.info-panel__actions { display: grid; gap: 10px; }
.info-panel__meta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}
.info-panel__meta li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-muted); }
.info-panel__meta .icon { width: 18px; height: 18px; color: var(--c-blue); margin-top: 2px; }
.info-panel__meta a { color: var(--c-deep); font-weight: 700; }
.info-panel__meta a:hover { color: var(--c-blue); }

.feature-grid {
  display: grid;
  gap: 16px;
}
.feature-tile {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
}
.feature-tile__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--c-light);
  border: 1px solid #D7E8FA;
  color: var(--c-blue);
}
.feature-tile__icon .icon { width: 22px; height: 22px; }
.feature-tile h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.feature-tile p { font-size: var(--fs-sm); color: var(--c-muted); }

.related-grid {
  display: grid;
  gap: 16px;
}
.related-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--c-border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #CFE3F8;
}
.related-card__media {
  overflow: hidden;
  border-radius: 12px;
  background: #E6F1FB;
}
.related-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.related-card h3 { font-size: var(--fs-base); }
.related-card h3 a::after { content: ""; position: absolute; inset: 0; }
.related-card p { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 4px; }

.mid-cta {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #091B39, #063B95 55%, #0878E8);
  color: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-md);
}
.mid-cta h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.mid-cta p { max-width: 52ch; }
.mid-cta__actions { display: grid; gap: 10px; }

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
}
.contact-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.contact-card > p { color: var(--c-muted); margin-bottom: 18px; }
.contact-methods { display: grid; gap: 12px; }
.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--c-light);
}
.contact-method__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--c-blue);
  box-shadow: var(--shadow-xs);
}
.contact-method__icon--wa { color: var(--c-wa); }
.contact-method__icon .icon { width: 20px; height: 20px; }
.contact-method small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact-method strong { display: block; color: var(--c-deep); line-height: 1.4; }
.contact-method a:hover { color: var(--c-blue); }

.form-demo {
  display: grid;
  gap: 14px;
}
.form-demo__banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #FFF8E8;
  border: 1px solid #F5E2A8;
  color: #7A5B12;
  font-size: var(--fs-sm);
}
.form-demo__banner .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: var(--fs-sm); font-weight: 700; color: var(--c-deep); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
  color: var(--c-text);
  font: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(8, 120, 232, .12);
}
.form-field input:disabled,
.form-field select:disabled,
.form-field textarea:disabled {
  background: #F8FAFC;
  color: var(--c-muted);
  cursor: not-allowed;
}
.form-row { display: grid; gap: 14px; }
.form-note { font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------- Blog ---------- */
.blog-hero {
  padding-block: clamp(28px, 5vw, 48px) 8px;
}
.article {
  display: grid;
  gap: 28px;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.article__cover {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #E6F1FB;
}
.article__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article__body {
  display: grid;
  gap: 16px;
  max-width: 72ch;
}
.article__body h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.85rem); margin-top: 10px; }
.article__body h3 { font-size: 1.125rem; margin-top: 6px; }
.article__body p, .article__body li { color: var(--c-text); line-height: 1.75; }
.article__body ul { display: grid; gap: 8px; padding-left: 1.15rem; list-style: disc; }
.article__body a { color: var(--c-blue); font-weight: 700; }

.legal {
  display: grid;
  gap: 18px;
  max-width: 78ch;
}
.legal h2 { font-size: 1.35rem; margin-top: 8px; }
.legal p, .legal li { color: var(--c-text); }
.legal ul { display: grid; gap: 8px; padding-left: 1.15rem; list-style: disc; }
.legal .updated { font-size: var(--fs-sm); color: var(--c-muted); }

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 80px;
}
.error-page__code {
  font-size: clamp(4rem, 2rem + 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.error-page h1 { margin-top: 8px; font-size: var(--fs-h2); }
.error-page p { margin: 14px auto 28px; max-width: 42ch; color: var(--c-muted); }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (min-width: 560px) {
  .page-hero__actions { display: flex; flex-wrap: wrap; }
  .mid-cta__actions { display: flex; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 72px); }
  .page-hero__frame { border-radius: var(--radius-xl); }
  .page-hero__frame img { aspect-ratio: 5 / 4; max-height: 520px; object-position: 50% 65%; }
  .content-split { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr); gap: 48px; }
  .info-panel--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
  .mid-cta { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .mid-cta__actions { justify-content: flex-end; }
}
@media (min-width: 1120px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}


/* Aşama 3 — fold altı bölümlerde render maliyeti azaltma (LCP alanına uygulanmaz) */
.cta-banner, .site-footer, #sss, #blog {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}
