/* Duyumco — her sayfada yüklenen ortak bloklar (Tasarım 5).
   Fiyat kartları (.plans/.plan) · açılır sorular (.faq) · kapanış bandı (.cta) · tanıtım videosu (.video) · yorumlar (.quotes).
   Kurallar: docs/tasarim-dili.md. Değerler: tokens.css. Ana sayfaya özel bölümler: home-scenes.css */

/* Bölüm başlığı sol bloğu: üst etiket + başlık (etiket tam genişliğe yayılmasın) */
.sec-title { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.head--center .sec-title { justify-items: center; }

/* ——— Fiyat kartları (plans.html) ——— */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); align-items: stretch; }
.plans__cell { display: grid; min-width: 0; }
.plan {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: clamp(28px, 2.6vw, 40px); border-radius: var(--r-xl);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
@media (hover: hover) { .plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--blue-200), var(--sh-2); } .plan--hl:hover { box-shadow: 0 48px 90px -40px rgba(8, 30, 80, 0.85); } }
/* Öne çıkan kart: lacivert sahne, içinde beyaz düğme */
.plan--hl { --ink: #fff; --soft: #e6efff; --muted: #e0ebff; --gl: rgba(166, 202, 255, 0.26); --gp: radial-gradient(120% 90% at 100% 0%, #3f7ae0 0%, rgba(63, 122, 224, 0) 60%), linear-gradient(170deg, #2159bf 0%, #123a82 100%); color: #fff; background: var(--gp); box-shadow: 0 40px 80px -44px rgba(8, 30, 80, 0.75); }
.plan--hl[data-glow]:hover { background-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--gl), transparent 68%), var(--gp); }
.plan--hl .btn { background: #fff; color: var(--navy-850); }
.plan--hl .btn:hover { background: var(--blue-100); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan__name { font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.022em; }
.plan__tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--soft); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.plan__flag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--ice); color: var(--navy-900); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.plan__flag svg { width: 15px; height: 15px; }
.plan__price { display: flex; align-items: flex-end; gap: 12px; margin-top: 32px; min-height: 64px; }
.plan__price strong { font-family: var(--font-display); font-size: clamp(46px, 4.4vw, 62px); line-height: 0.95; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__price strong small { font-size: 0.55em; letter-spacing: -0.02em; margin-left: 4px; }
.plan__per { display: grid; font-size: 14px; line-height: 1.35; color: var(--muted); padding-bottom: 4px; }
.plan__per b { font-weight: 500; color: var(--ink); }
.plan__note { margin-top: 18px; color: var(--soft); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.plan__list { display: grid; gap: 12px; margin: 24px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan--hl .plan__list { border-top-color: rgba(200, 218, 251, 0.35); }
.plan__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.plan__list li svg { width: 22px; height: 22px; margin-top: 0; padding: 4px; border-radius: 50%; background: var(--blue-100); color: var(--blue); }
.plan--hl .plan__list li svg { background: rgba(166, 202, 255, 0.16); color: var(--ice); }
.plan .btn { margin-top: auto; width: 100%; }
.plans__foot { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: 14px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.plans__foot a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color var(--t-1) var(--ease); }
.plans__foot a:hover { text-decoration-color: var(--ink); }
@media (max-width: 1020px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 580px; margin-inline: auto; }
  .plans__cell--hl { order: -1; } /* telefonda önerilen plan önce */
}
/* Telefon: öne çıkan kart tam (sayı 40px), diğer ikisi kısa (sayı 32px); "₺" sayıyla orantılı, "/ ay + KDV" 14px
   tek satır, üçü aynı taban çizgisinde. Notla aynı şeyi söyleyen iki madde ve dipnotun ortası plans.html'de wide-only. */
@media (max-width: 680px) {
  .plans { gap: 12px; }
  .plan { border-radius: var(--r-lg); padding: 20px; }
  .plan__top { gap: 8px; }
  .plan__name { font-size: 18px; }
  .plan__tag, .plan__flag { height: 24px; padding: 0 10px; font-size: 13px; }
  .plan__flag { gap: 5px; padding-left: 8px; }
  .plan__flag svg { width: 14px; height: 14px; }
  /* Sayının satır kutusunda üstte ~5 px kendi boşluğu var: görünen aralık ad satırından 8–12 px */
  .plan__price { align-items: baseline; gap: 8px; margin-top: 8px; min-height: 0; }
  .plan__price strong { font-size: 40px; line-height: 1; letter-spacing: -0.045em; }
  .plan__price strong small { font-size: 0.5em; margin-left: 2px; }
  .plan:not(.plan--hl) .plan__price { margin-top: 4px; }
  .plan:not(.plan--hl) .plan__price strong { font-size: 32px; }
  .plan__per { display: flex; gap: 0.3em; padding-bottom: 0; font-size: 14px; line-height: 1.2; white-space: nowrap; }
  .plan__note { margin-top: 8px; font-size: 15px; line-height: 1.4; }
  .plan__list { gap: 4px; margin: 12px 0 16px; padding-top: 12px; }
  .plan__list li { grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.4; }
  .plan__list li svg { width: 20px; height: 20px; padding: 3px; margin-top: 0.5px; }
  /* Ana sayfada kısa kartın özellik listesi yok (fark yalnızca ödeme şekli ve şube sayısı); /fiyatlandirma'da liste kalır */
  .price-sec .plan:not(.plan--hl) .plan__list { display: none; }
  .price-sec .plan:not(.plan--hl) .btn { margin-top: 12px; }
  .plans__foot { margin-top: 16px; text-align: left; line-height: 1.55; }
  /* İki bağlantı tek satırda; 44 px dokunma alanı satırın üstüne/altına taşar, satır yalnızca yazı kadar yer tutar */
  .plans__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }
  .plans__links a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
  .plans__sep { display: none; }
}

/* ——— Açılır sorular: .faq > .faq__item > button.faq__q + .faq__a (site.js [data-acc]) ———
   Yalnızca [data-acc] içinde ve betik çalışırken kapanır; aksi hâlde cevaplar açık durur (okunur). */
.faq { display: grid; gap: 10px; min-width: 0; }
.faq__item { border-radius: 20px; background: var(--surface-2); transition: background var(--t-2) var(--ease); }
.faq__item.is-open { background: var(--blue-50); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 72px;
  padding: 18px 18px 18px 26px; border-radius: 20px; text-align: left;
  font-size: 17.5px; line-height: 1.4; font-weight: 500; letter-spacing: -0.016em; color: var(--ink);
}
.faq__q > span:first-child { min-width: 0; text-wrap: pretty; }
@media (hover: hover) { .faq__item:not(.is-open):hover { background: var(--surface-3); } }
.faq__icon { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background var(--t-2) var(--ease), color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; margin: -0.9px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform 420ms var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--navy-850); color: #fff; box-shadow: none; }
/* + → − : iki çubuk birlikte döner, dikey olan yataya yatar */
.faq__item.is-open .faq__icon::before { transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 1fr; }
.faq__inner { min-height: 0; overflow: hidden; }
.faq__inner p { padding: 0 72px 24px 26px; color: var(--soft); font-size: 16px; line-height: 1.65; max-width: 72ch; text-wrap: pretty; }
.js [data-acc] .faq__a { grid-template-rows: 0fr; transition: grid-template-rows 460ms var(--ease); }
.js [data-acc] .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.js [data-acc] .faq__inner p { opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity 260ms var(--ease), transform 460ms var(--ease); }
.js [data-acc] .faq__item.is-open .faq__inner p { opacity: 1; transform: none; transition-delay: 90ms; }
/* Açılıp kapanmayan liste (betik yok ya da [data-acc] dışında): +/− simgesi gösterilmez */
html:not(.js) .faq__icon, .faq:not([data-acc]) .faq__icon { display: none; }
/* Telefon: satır en az 56 px ve baştan sona tek dokunma hedefi; tek satırlık soru ortalanır, iki satırlık soru 12 px
   iç boşlukla sığar (7 soru kapalıyken liste ~470 px) */
@media (max-width: 680px) {
  .faq { gap: 8px; }
  .faq__item, .faq__q { border-radius: var(--r-md); }
  .faq__q { min-height: 56px; padding: 12px 12px 12px 16px; gap: 12px; font-size: 16px; line-height: 1.3; }
  .faq__icon { width: 32px; height: 32px; }
  .faq__icon::before, .faq__icon::after { width: 12px; margin-left: -6px; }
  .faq__inner p { padding: 0 16px 16px; font-size: 15px; line-height: 1.55; }
}

/* ——— Kapanış sahnesi (cta.html): tam genişlik lacivert, alt bilgiyle birleşir; arkasında sakin ses dalgası ——— */
.cta { margin-top: clamp(40px, 6vw, 96px); background: linear-gradient(180deg, transparent 50%, #081631 50%); }
.cta__band { position: relative; isolation: isolate; overflow: clip; padding: clamp(60px, 6.5vw, 104px) 0 clamp(52px, 6vw, 92px); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; background: radial-gradient(80% 90% at 50% 0%, #1b4488 0%, rgba(27, 68, 136, 0) 62%), linear-gradient(180deg, #0d2249 0%, #081631 100%); }
.cta__in { display: grid; justify-items: center; text-align: center; }
.cta__wave { position: absolute; z-index: -1; inset: auto 0 clamp(150px, 15vw, 220px); height: clamp(220px, 28vw, 420px); opacity: 0.5; -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 50%, transparent 38%, #000 100%); mask-image: radial-gradient(ellipse 62% 70% at 50% 50%, transparent 38%, #000 100%); }
.cta__title { max-width: 14ch; margin-top: 22px; }
.cta__lead { max-width: 600px; margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--on-navy-2); text-wrap: pretty; }
.cta__btn { margin-top: 36px; }
.cta__btn svg { width: 18px; height: 18px; }
/* Kayıttan panele dört adım: tek çizgi üstünde, sırayla yanar */
.cta__flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: min(100%, 760px); margin-top: 48px; }
.cta__flow::before, .cta__flow::after { content: ''; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: #24437c; }
.cta__flow::after { background: var(--ice); transform-origin: left; }
.js .cta__flow::after { transform: scaleX(0); transition: transform 2200ms var(--ease-io) 500ms; }
.js .cta__band.was-live .cta__flow::after { transform: none; }
.cta__flow li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; color: #fff; font-size: 15px; font-weight: 500; }
.cta__flow li i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--navy-900); box-shadow: 0 0 0 7px #0e244c; font-style: normal; font-size: 14.5px; font-weight: 600; transition: background 500ms var(--ease), color 500ms var(--ease), transform 600ms var(--spring); transition-delay: calc(var(--i, 0) * 640ms + 500ms); }
.cta__flow li i svg { width: 16px; height: 16px; }
.js .cta__band:not(.was-live) .cta__flow li i { background: #1a3567; color: var(--on-navy-2); transform: scale(0.86); }
.cta__note { margin-top: 26px; font-size: 14.5px; color: var(--on-navy-2); }
.no-motion .cta__flow li i, .no-motion .cta__flow::after { transition: none; }
/* Telefon: bant tek ekranın yarısı kadar; açıklamanın kısa hâli cta.html'de phone-only */
@media (max-width: 680px) {
  .cta { margin-top: 16px; }
  .cta__band { padding: 52px 0 40px; border-radius: 28px 28px 0 0; }
  .cta__title { margin-top: 14px; font-size: clamp(32px, 9vw, 38px); line-height: 1.08; }
  .cta__lead { margin-top: 12px; font-size: 15px; line-height: 1.5; }
  .cta__flow { margin-top: 28px; }
  .cta__flow li { gap: 8px; font-size: 13.5px; line-height: 1.3; }
  .cta__flow li i { width: 30px; height: 30px; font-size: 13px; box-shadow: 0 0 0 5px #0e244c; }
  .cta__flow::before, .cta__flow::after { top: 14px; }
  .cta__btn { width: 100%; margin-top: 26px; }
  .cta__note { margin-top: 16px; font-size: 13.5px; line-height: 1.45; }
  .cta__wave { opacity: 0.32; }
}

/* ——— Tanıtım videosu (pages.js › videoSection; yalnızca yönetimden girilmişse) ——— */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-3); box-shadow: var(--sh-3); cursor: pointer; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video img { transition: transform 900ms var(--ease); }
.video__play { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 26px 0 10px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 16px; font-weight: 500; transform: translate(-50%, -50%); box-shadow: var(--sh-2); transition: transform var(--t-2) var(--ease); white-space: nowrap; }
.video__play i { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.video__play svg { width: 20px; height: 20px; margin-left: 2px; }
@media (hover: hover) {
  .video:hover img { transform: scale(1.03); }
  .video:hover .video__play { transform: translate(-50%, -50%) scale(1.04); }
}
@media (max-width: 680px) {
  .video { border-radius: var(--r-lg); }
  .video__play { height: 54px; padding: 0 20px 0 8px; font-size: 15px; }
  .video__play i { width: 40px; height: 40px; }
}

/* ——— Merkezlerin yorumları (pages.js › reviewsSection; yalnızca gerçek yorum girilmişse) ——— */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); }
.quote { display: flex; flex-direction: column; gap: 28px; padding: clamp(26px, 2.4vw, 36px); border-radius: var(--r-lg); background: var(--surface-2); min-width: 0; }
.quote__mark { width: 32px; height: 32px; color: var(--blue); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; min-width: 0; }
.quote figcaption i { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 600; flex: none; }
.quote figcaption > span { display: grid; min-width: 0; }
.quote figcaption b { font-weight: 600; }
.quote figcaption > span > span { font-size: 14px; color: var(--muted); }
.quotes__more { justify-self: end; }
@media (max-width: 1020px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .quotes { grid-template-columns: minmax(0, 1fr); } .quotes__more { justify-self: start; } }
