/* ==========================================================================
   Oblavion Life — Kurumsal sayfalar (Hakkımızda · İletişim · SSS · Blog ·
   Site Haritası · Hata)
   site.css içindeki ol-* tasarım sistemini GENİŞLETİR: token yeniden
   tanımlanmaz, yalnızca var(--ol-*) tüketilir.
   Mobil öncelikli: taban stiller mobil, min-width ile büyür.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Sayfa başlığı şeridi (kurumsal sayfaların ortak üst bloğu)
   -------------------------------------------------------------------------- */
.ol-page-head {
  position: relative;
  background: var(--ol-sand-2);
  border-bottom: 1px solid var(--ol-line-4);
}

.ol-page-head__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ol-max);
  margin-inline: auto;
  padding: clamp(34px, 4.4vw, 66px) var(--ol-gutter);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.ol-page-head__title {
  margin: 0;
  font: 300 clamp(28px, 3.6vw, 48px)/1.1 var(--ol-font-display);
  letter-spacing: -.025em;
  color: var(--ol-ink);
  text-wrap: pretty;
}
.ol-page-head__title--lg { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; }

.ol-page-head__lead {
  margin: 0;
  max-width: 56ch;
  font: 400 16px/1.65 var(--ol-font-body);
  color: var(--ol-muted);
  text-wrap: pretty;
}

/* Görselli varyant: banner fotoğrafın üzerine krem perde + koyu metin.
   Perde metnin arkasında en az .88 opaklıkta — kontrast görselden bağımsız. */
.ol-page-head--banner { background: var(--ol-sand-3); }
.ol-page-head--banner .ol-page-head__inner { padding-block: clamp(46px, 7vw, 104px); }

.ol-page-head__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ol-page-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}
.ol-page-head__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(252, 250, 247, .95) 0%,
    rgba(252, 250, 247, .93) 72%,
    rgba(252, 250, 247, .72) 100%);
}

@media (min-width: 780px) {
  .ol-page-head--banner .ol-page-head__inner > * { max-width: 62ch; }
  .ol-page-head__veil {
    background: linear-gradient(90deg,
      rgba(252, 250, 247, .96) 0%,
      rgba(252, 250, 247, .92) 48%,
      rgba(252, 250, 247, .48) 76%,
      rgba(252, 250, 247, .10) 100%);
  }
}

/* --------------------------------------------------------------------------
   2. Ortak metin / düğme satırı
   -------------------------------------------------------------------------- */
.ol-prose {
  margin: 0;
  max-width: 56ch;
  font: 400 16px/1.8 var(--ol-font-body);
  color: var(--ol-text-2);
  text-wrap: pretty;
}
.ol-prose--soft { color: var(--ol-muted); }
.ol-prose--claim { font-size: 16px; line-height: 1.6; color: var(--ol-brown); }

.ol-wrap--narrow { max-width: 900px; }

.ol-btnrow { display: flex; gap: 12px; flex-wrap: wrap; }
.ol-btnrow--center { justify-content: center; }

.ol-stack { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 30px); }

/* --------------------------------------------------------------------------
   3. Hakkımızda — ikili blok / ilkeler / değerler
   -------------------------------------------------------------------------- */
.ol-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); }
.ol-split__copy {
  padding: clamp(32px, 4.4vw, 72px) var(--ol-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.ol-split__media {
  position: relative;
  min-height: clamp(240px, 32vw, 460px);
  background: var(--ol-sand-3);
  overflow: hidden;
}

.ol-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.ol-principle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  background: var(--ol-cream);
  border: 1px solid var(--ol-line-2);
}
.ol-principle__no {
  font: 300 clamp(26px, 3vw, 34px)/1 var(--ol-font-display);
  letter-spacing: .02em;
  color: var(--ol-brass-dark);
}
.ol-principle__name {
  font: 500 13px/1.3 var(--ol-font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ol-ink);
}
.ol-principle__text {
  margin: 0;
  font: 400 16px/1.65 var(--ol-font-body);
  color: var(--ol-muted);
  text-wrap: pretty;
}

.ol-beliefs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.ol-belief { display: flex; flex-direction: column; gap: 9px; padding-top: 18px; border-top: 1px solid var(--ol-line-4); }
.ol-belief__title { font: 500 16px/1.35 var(--ol-font-display); letter-spacing: .06em; color: var(--ol-ink); }
.ol-belief__text { font: 400 16px/1.6 var(--ol-font-body); color: var(--ol-muted); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   4. İletişim — form + yan sütun
   -------------------------------------------------------------------------- */
.ol-contact {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 52px);
  align-items: flex-start;
}

.ol-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
/* Tasarımdaki 2x2 alan düzeni: 240px eşiği masaüstünde iki sütun, mobilde tek sütun verir. */
.ol-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.ol-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ol-form__note {
  font: 400 16px/1.6 var(--ol-font-body);
  color: var(--ol-muted-2);
  padding-top: 12px;
  border-top: 1px solid var(--ol-line-2);
}

.ol-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ol-field__label { font: 400 16px/1.4 var(--ol-font-body); color: var(--ol-muted); }
.ol-field__req { color: var(--ol-brown); }

.ol-input,
.ol-select,
.ol-textarea {
  width: 100%;
  min-height: var(--ol-tap);
  padding: 13px 14px;
  border: 1px solid var(--ol-line-5);
  background: var(--ol-cream);
  color: var(--ol-ink);
  font: 400 16px/1.35 var(--ol-font-body);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s var(--ol-ease);
}
.ol-textarea { line-height: 1.6; resize: vertical; min-height: 148px; }
.ol-select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ol-muted-2) 50%), linear-gradient(135deg, var(--ol-muted-2) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.ol-input::placeholder,
.ol-textarea::placeholder { color: var(--ol-muted-3); }
.ol-input:hover,
.ol-select:hover,
.ol-textarea:hover { border-color: var(--ol-line-6); }
.ol-input[aria-invalid="true"],
.ol-select[aria-invalid="true"],
.ol-textarea[aria-invalid="true"] { border-color: #8C3B22; border-width: 2px; background: #FDF6F3; }

@media (min-width: 780px) {
  .ol-input,
  .ol-select,
  .ol-textarea { font-size: 16px; }
}

.ol-field__err {
  display: flex;
  gap: 6px;
  font: 400 16px/1.5 var(--ol-font-body);
  color: #8C3B22;
}
.ol-field__err:empty { display: none; }
.ol-field__err::before { content: "\26A0"; flex: 0 0 auto; }

/* Kutu 18px ama dokunma hedefi tüm satır: min 44px yükseklik + etiket tıklanabilir. */
.ol-check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; min-height: var(--ol-tap); padding-block: 4px; }
.ol-check__box {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--ol-ink);
  cursor: pointer;
}
.ol-check__text { font: 400 16px/1.55 var(--ol-font-body); color: var(--ol-muted); }
.ol-check__text a { text-decoration: underline; text-underline-offset: 2px; }

/* Bal küpü: DOM'da var ama ekrandan/klavyeden/ekran okuyucudan uzak.
   display:none KULLANILMAZ — bazı botlar gizli alanı atlar. */
.ol-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.ol-alert {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--ol-line);
  background: var(--ol-sand);
  font: 400 16px/1.6 var(--ol-font-body);
  color: var(--ol-text-2);
}
.ol-alert:empty { display: none; }
.ol-alert__title { font: 500 17px/1.4 var(--ol-font-body); color: var(--ol-ink); }
.ol-alert--ok { border-color: #A9C6B5; background: #F2F8F4; }
.ol-alert--ok .ol-alert__title { color: #1F5233; }
.ol-alert--err { border-color: #DCB1A2; background: #FDF6F3; }
.ol-alert--err .ol-alert__title { color: #8C3B22; }
.ol-alert__list { margin: 6px 0 0; padding-left: 18px; list-style-position: outside; display: grid; gap: 4px; }

.ol-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) { .ol-aside { max-width: 400px; } }

.ol-infocard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--ol-sand);
  border: 1px solid var(--ol-line);
}
.ol-infocard__head {
  font: 500 13px/1.3 var(--ol-font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ol-muted-2);
}
.ol-infocard__row { display: flex; flex-direction: column; gap: 4px; }
.ol-infocard__label { font: 400 16px/1.4 var(--ol-font-body); color: var(--ol-muted-2); }
.ol-infocard__value {
  margin: 0;
  font: 400 16px/1.55 var(--ol-font-body);
  font-style: normal;
  color: var(--ol-ink);
  overflow-wrap: anywhere;
}
/* E-posta / telefon bağlantısı parmakla rahat vurulsun: satır yüksekliği değil hedef alanı 44px. */
.ol-infocard__value a {
  display: inline-flex;
  align-items: center;
  min-height: var(--ol-tap);
  color: var(--ol-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ol-infocard__value a:hover { color: var(--ol-brown-dark); }

.ol-aside__media { position: relative; aspect-ratio: 5 / 3; background: var(--ol-sand-3); overflow: hidden; }
.ol-aside__block { display: flex; flex-direction: column; gap: 10px; }

.ol-tbd {
  background: #FBF3E6;
  border-bottom: 1px dashed var(--ol-brass);
  padding: 0 3px;
  color: var(--ol-brown);
}

/* --------------------------------------------------------------------------
   5. SSS — JS'siz akordiyon (details / summary)
   -------------------------------------------------------------------------- */
.ol-faq { display: flex; flex-direction: column; }

.ol-faq__item { border-bottom: 1px solid var(--ol-line); }

.ol-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  min-height: var(--ol-tap);
  cursor: pointer;
  font: 400 16px/1.45 var(--ol-font-body);
  color: var(--ol-ink);
  list-style: none;
  text-wrap: pretty;
}
.ol-faq__q::-webkit-details-marker { display: none; }
.ol-faq__q:hover { color: var(--ol-brown-dark); }
.ol-faq__q:focus-visible { outline: 2px solid var(--ol-brass-dark); outline-offset: 2px; }

/* Soru metni summary içinde tek başlık ögesidir (HTML summary içerik modeli:
   phrasing content VEYA tek bir heading). Açılma işareti bu yüzden ::after ile çizilir. */
.ol-faq__q > h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}

.ol-faq__q::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  text-align: center;
  font: 400 20px/1 var(--ol-font-body);
  color: var(--ol-muted-2);
}
.ol-faq__item[open] > .ol-faq__q::after { content: "\2013"; }

.ol-faq__a {
  margin: 0 0 24px;
  padding: 0 2px;
  max-width: 64ch;
  font: 400 16px/1.75 var(--ol-font-body);
  color: var(--ol-muted);
  text-wrap: pretty;
}
.ol-faq__a a { text-decoration: underline; text-underline-offset: 3px; }

.ol-faq__cta {
  margin-top: 34px;
  padding: 22px 24px;
  background: var(--ol-sand);
  border: 1px solid var(--ol-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ol-faq__cta p { margin: 0; font: 400 16px/1.55 var(--ol-font-body); color: var(--ol-ink); }

/* --------------------------------------------------------------------------
   6. Site haritası
   -------------------------------------------------------------------------- */
.ol-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}
.ol-map__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ol-map__head {
  margin: 0;
  font: 500 13px/1.3 var(--ol-font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ol-brown);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ol-line-4);
}
.ol-map__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ol-map__sub {
  margin: 2px 0 8px 12px;
  padding: 0 0 0 12px;
  list-style: none;
  border-left: 1px solid var(--ol-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ol-map__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--ol-tap);
  padding: 4px 0;
  font: 400 16px/1.45 var(--ol-font-body);
  color: var(--ol-text-2);
  overflow-wrap: anywhere;
}
.ol-map__link:hover { color: var(--ol-brown-dark); }
.ol-map__link--sub { font-size: 16px; color: var(--ol-muted); }

/* --------------------------------------------------------------------------
   7. Hata sayfası (404 / 500 / diğer)
   -------------------------------------------------------------------------- */
.ol-err {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: clamp(50px, 8vw, 110px) var(--ol-gutter);
}
.ol-err__box {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.ol-err__code {
  font: 300 clamp(58px, 9vw, 104px)/1 var(--ol-font-display);
  letter-spacing: .04em;
  color: var(--ol-brown);
}
.ol-err__title {
  margin: 0;
  font: 300 clamp(24px, 2.8vw, 34px)/1.22 var(--ol-font-display);
  letter-spacing: -.02em;
  color: var(--ol-ink);
  text-wrap: pretty;
}
.ol-err__text { margin: 0; font: 400 16px/1.65 var(--ol-font-body); color: var(--ol-muted); text-wrap: pretty; }
.ol-err__trace {
  margin: 0;
  font: 400 16px/1.6 var(--ol-font-body);
  color: var(--ol-muted-2);
  overflow-wrap: anywhere;
}
.ol-err__trace code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ol-text-2); }

/* --------------------------------------------------------------------------
   8. Hareket tercihi
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ol-input,
  .ol-select,
  .ol-textarea { transition: none !important; }
}
