/*
 * Eastern Clinique — tasarımın (main.css) Alaska çekirdeğine bağlanması: satır kabukları (zr / zr-grid / zm) tasarımın
 * bölümlerini bozmasın, panelden gelen parçaların (form mesajları, açılır menü, footer akordeonu, alt menü) görünümü.
 * Tasarımın kendisi main.css'te; burada yalnız bağlantı kuralları.
 */
:root {
  --ab-accent: #0284C7;
  --ab-dark: #0A192F;
  --ab-text: #334155;
  --ab-border: #E2E8F0;
}

/* --- Satırlar: bölüm tasarımı seçili satırda çekirdeğin ızgarası nötr --- */
.zr--design > .container > .zr-grid { display: block; }
.zr--design > .container > .zr-grid > .zr-col { display: block; }
.zr--design .zm + .zm { margin-top: 32px; }
.zr--design { position: relative; }
.zr { scroll-margin-top: 140px; }
.ec-sec { padding: 72px 0; }
.ec-sec--gray { background: #F8FAFC; border-top: 1px solid var(--color-line-light); border-bottom: 1px solid var(--color-line-light); }
.ec-sec--navy { background: #061122; border-bottom: 0; }
.ec-legal { padding: 56px 0 72px; }
.ec-legal .ab-text { max-width: 860px; margin: 0 auto; color: var(--color-ink-body); }
.ec-legal .ab-text h2, .ec-legal .ab-text h3 { color: var(--color-ink-headings); margin: 28px 0 10px; }
.ec-legal .ab-text p, .ec-legal .ab-text li { margin-bottom: 10px; line-height: 1.7; }
.ec-legal .ab-text ul { list-style: disc; padding-left: 22px; }

/* Hastane şeridi tam genişlik kayar */
.hospitals-marquee-section > .container { max-width: none; padding: 0; overflow: hidden; }
.hospitals-marquee-section .hospital-card-logo a { display: block; }

/* Hero: arka plan bölümün tamamını kaplar */
.hero-mcan > .container { position: relative; z-index: 1; }
.hero-mcan .hero-ambient-bg { z-index: 0; }
/* Siyah arka plan (Ana sayfa girişi > Arka plan: Siyah): saf siyaha yakın, ortada çok hafif lacivert derinlik;
   renkli haleler kısılır, maviye geçiş (ec-tint) siyahın üstünde daha belirgin olur */
/* Tam siyah (müşteri isteği, clinichub örneği 09.11.2026): yalnız üstte çok hafif kömür tonu; renkli haleler ve
   halkalar yok; yazılar beyaz / gri, rozetler ve butonlar tek renk. Logo ve hareketi kendi renklerinde kalır. */
/* Çok hafif gölgeli siyah: sol üstte ve sağ altta belli belirsiz ışık, kenarlara doğru tam siyah */
.hero-mcan:has(.ec-bg-black) {
  background:
    radial-gradient(ellipse 55% 60% at 22% 30%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 45% 50% at 85% 85%, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #0A0A0A 0%, #000000 60%);
}
.hero-mcan:has(.ec-bg-black) .ambient-halo, .hero-mcan:has(.ec-bg-black) .ambient-trust-rings { display: none; }
.hero-mcan:has(.ec-bg-black) .hero-top-ribbon { background: transparent; border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
.hero-mcan:has(.ec-bg-black) .hero-ribbon-item { color: rgba(255, 255, 255, 0.72); }
.hero-mcan:has(.ec-bg-black) .hero-ribbon-item svg { color: rgba(255, 255, 255, 0.72); }
.hero-mcan:has(.ec-bg-black) .hero-ribbon-divider { background: rgba(255, 255, 255, 0.16); }
.hero-mcan:has(.ec-bg-black) .ribbon-badge { background: rgba(255, 255, 255, 0.08) !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: none; }
/* Butonlar: ilki beyaz dolu, diğerleri siyah zeminli ince kenarlıklı; keskin köşe */
.hero-mcan:has(.ec-bg-black) .hero-cta-btns .btn { border-radius: 2px !important; box-shadow: none; background-image: none; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.hero-mcan:has(.ec-bg-black) .hero-cta-btns .btn:first-child { background: #FFFFFF; color: #000000; border: 1px solid #FFFFFF; }
.hero-mcan:has(.ec-bg-black) .hero-cta-btns .btn:first-child:hover { background: #E6E6E6; border-color: #E6E6E6; }
.hero-mcan:has(.ec-bg-black) .hero-cta-btns .btn:not(:first-child) { background: #000000; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.28); }
.hero-mcan:has(.ec-bg-black) .hero-cta-btns .btn:not(:first-child):hover { border-color: #FFFFFF; }
.hero-mcan:has(.ec-bg-black) .hero-cta-btns .btn svg { color: currentColor; fill: currentColor; }
/* Puanlar, alt satır ve branş çipleri */
.hero-mcan:has(.ec-bg-black) .hero-proof-badge { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.hero-mcan:has(.ec-bg-black) .hero-proof-badge svg { filter: grayscale(1) brightness(1.8); }
.hero-mcan:has(.ec-bg-black) .proof-sub { color: rgba(255, 255, 255, 0.55); }
.hero-mcan:has(.ec-bg-black) .hero-bottom-bar { border-color: rgba(255, 255, 255, 0.08); }
.hero-mcan:has(.ec-bg-black) .hero-bar-label { color: rgba(255, 255, 255, 0.6); }
.hero-mcan:has(.ec-bg-black) .hero-bar-dot { background: #FFFFFF; box-shadow: none; }
.hero-mcan:has(.ec-bg-black) .hero-chip, .hero-mcan:has(.ec-bg-black) .hero-chip-vip { background: transparent; border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.8); box-shadow: none; }
.hero-mcan:has(.ec-bg-black) .hero-chip:hover { border-color: rgba(255, 255, 255, 0.5); color: #FFFFFF; }
.hero-mcan:has(.ec-bg-black) .chip-tag, .hero-mcan:has(.ec-bg-black) .chip-tag-gold { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); border-color: transparent; }

/* Giriş siyahken üst bar ve header da siyah: sayfanın üstü tek parça; telefon / e-posta gizli, logonun yazısı beyaz */
.site-logo-light { display: none; }
/* Tasarımın mobil kuralları üst barı !important ile gösterir; ana sayfa siyahken onu da geçer */
body:has(.ec-bg-black) .top-bar-clean { display: none !important; }
/* Tam siyah (yarı saydam olunca arkadaki beyaz sayfa grileştirip çizgi gibi gösteriyordu); altındaki 1 px siyah gölge
   kesirli ekran ölçeğinde header ile giriş arasında kalan piksel boşluğunu örter */
body:has(.ec-bg-black) .site-header-clean { background: #000000 !important; border-bottom: 0 !important; box-shadow: 0 1px 0 #000000 !important; }
body:has(.ec-bg-black) .site-header-clean .site-logo img:not(.site-logo-light) { display: none; }
body:has(.ec-bg-black) .site-header-clean .site-logo .site-logo-light { display: block; }
body:has(.ec-bg-black) .site-header-clean .nav-link { color: rgba(255, 255, 255, 0.72); }
body:has(.ec-bg-black) .site-header-clean .nav-link:hover, body:has(.ec-bg-black) .site-header-clean .nav-link.active { color: #FFFFFF; }
body:has(.ec-bg-black) .site-header-clean .header-consult-btn { background: #FFFFFF !important; color: #000000 !important; border: 1px solid #FFFFFF !important; border-radius: 2px !important; box-shadow: none !important; background-image: none !important; }
body:has(.ec-bg-black) .site-header-clean .header-consult-btn:hover { background: #E6E6E6 !important; }
/* Mobil alt bar da siyah beyaz: son düğme (teklif) beyaz dolu, diğerleri siyah zeminli ince kenarlıklı (renkler satır içi stilden gelir) */
body:has(.ec-bg-black) .mobile-bottom-bar { background: #000000 !important; border-top: 1px solid rgba(255, 255, 255, 0.08) !important; box-shadow: none !important; }
body:has(.ec-bg-black) .mobile-bottom-bar .mobile-bottom-btn { background: #000000 !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, 0.28) !important; border-radius: 2px !important; box-shadow: none !important; background-image: none !important; }
body:has(.ec-bg-black) .mobile-bottom-bar .mobile-bottom-btn:last-child { background: #FFFFFF !important; color: #000000 !important; border-color: #FFFFFF !important; }
body:has(.ec-bg-black) .mobile-bottom-bar .mobile-bottom-btn svg { color: currentColor; fill: currentColor; }
/* Hareket kapalıyken görünen logo görseli de siyah beyaz */
body:has(.ec-bg-black) .ec-brand-stage__mark { filter: grayscale(1) brightness(2.4); }
/* Menü işareti: kutusuz, yalnız hafif kırık beyaz çizgiler */
body:has(.ec-bg-black) .site-header-clean .mobile-menu-toggle { color: #E8EAED !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body:has(.ec-bg-black) .site-header-clean .mobile-menu-toggle svg { stroke-width: 2; opacity: 0.9; }
/* --- Header: sade açılır menü ("Kutular" / "Liste" biçimi) --- */
.ec-nav-simple { position: relative; }
.ec-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px; background: #FFFFFF; border: 1px solid var(--color-line-light);
  border-radius: 14px; box-shadow: 0 18px 40px rgba(12, 30, 56, 0.12); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; z-index: 1000; display: flex; flex-direction: column; gap: 2px;
}
.ec-nav-simple:hover .ec-dropdown, .ec-nav-simple:focus-within .ec-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.ec-dropdown__link { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 10px; color: var(--color-ink-headings); font-weight: 600; font-size: 0.9rem; }
.ec-dropdown__link:hover, .ec-dropdown__link.active { background: var(--color-bg-light); color: var(--color-primary); }
.ec-dropdown__desc { font-size: 0.78rem; font-weight: 500; color: var(--color-ink-muted); }
.nav-link.is-highlight, .ec-dropdown__link.is-highlight { color: var(--color-primary); }
.mega-col-header { color: inherit; }
.site-logo img { max-height: none; }
@media (max-width: 1024px) {
  .site-logo img { height: var(--ab-logo-h-mobile) !important; }
}

/* Dil seçici bağlantıları */
.lang-dropdown a { text-decoration: none; }
.mobile-lang-options a.mobile-lang-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* --- Mobil çekmece: alt menü akordeonu --- */
.ec-mobile-group__head { display: flex; align-items: center; }
.ec-mobile-group__head .mobile-nav-item { flex: 1; }
.ec-mobile-group__toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: inherit; transition: transform 0.2s ease; }
.ec-mobile-group.is-open .ec-mobile-group__toggle { transform: rotate(180deg); }
.ec-mobile-group__list { display: none; padding-left: 14px; }
.ec-mobile-group.is-open .ec-mobile-group__list { display: block; }
.mobile-nav-sub { font-size: 0.92rem; opacity: 0.88; }
.mobile-drawer-info a { color: inherit; }
.mobile-drawer-info .ab-el--text-small { font-size: 0.78rem; opacity: 0.8; }

/* --- Footer --- */
@media (min-width: 1025px) {
  .footer-mcan-grid { grid-template-columns: var(--ec-footer-cols, 1.35fr 1fr 1fr 1fr); }
}
.footer-mcan-desc + .ec-footer-contact { margin-top: 4px; }
.ec-footer-contact { font-size: 0.85rem; color: #94A3B8; display: flex; flex-direction: column; gap: 6px; }
.ec-footer-contact__row { display: flex; align-items: center; gap: 8px; }
.ec-footer-contact__row svg { flex-shrink: 0; }
.ec-footer-contact a:hover { color: #FFFFFF; }
.ec-footer-text { color: #94A3B8; font-size: 0.85rem; margin-top: 8px; }
.ec-footer-text.ab-el--text-small { color: #64748B; font-size: 0.8rem; margin-top: 4px; }
.ec-footer-toggle { display: block; width: 100%; text-align: left; cursor: default; padding: 0; background: none; border: 0; }
.ec-consent-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.ec-consent-link:hover { color: #FFFFFF; }
@media (max-width: 768px) {
  .ec-footer-col--hidden { display: none; }
  .ec-footer-toggle { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .ec-footer-toggle::after { content: '+'; font-size: 1.1rem; opacity: 0.7; }
  .ec-footer-toggle[aria-expanded="true"]::after { content: '–'; }
  .ec-footer-col--accordion .ec-footer-content { display: none; }
  .ec-footer-col--accordion.is-open .ec-footer-content { display: block; }
}

/* --- Breadcrumb (tedavi sayfası başı ve diğer sayfalar) --- */
.ec-breadcrumb { margin-bottom: 20px; font-size: 0.82rem; color: #64748B; display: flex; flex-wrap: wrap; align-items: center; }
.ec-breadcrumb a { color: var(--color-ink-muted); text-decoration: none; }
.ec-breadcrumb a:hover { color: var(--color-primary); }
.ec-breadcrumb .sep { margin: 0 8px; color: #94A3B8; }
.ec-breadcrumb .current { color: var(--color-primary); font-weight: 600; }
.treatment-hero-custom .ec-breadcrumb { color: #94A3B8; }
.treatment-hero-custom .ec-breadcrumb a { color: #CBD5E1; }
.treatment-hero-custom .ec-breadcrumb .sep { color: #64748B; }
.treatment-hero-custom .ec-breadcrumb .current { color: #38BDF8; }

/* --- Teklif formu (çekirdeğin form sözleşmesi, tasarımın alanları) --- */
.ec-quote-form .ab-quote__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ec-quote-form .form-grid-mcan { margin: 0; }
.ec-quote-form .ab-quote__check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.78rem; line-height: 1.45; color: var(--color-ink-muted); margin: 2px 0 12px; cursor: pointer; }
.ec-quote-form .ab-quote__check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--color-primary); }
.ec-quote-form .ab-quote__check a, .ec-quote-form .ab-quote__legal a { color: var(--color-primary); text-decoration: underline; }
.ec-quote-form .ab-quote__legal { font-size: 0.78rem; color: var(--color-ink-muted); margin: 0 0 12px; }
.ec-quote-form .ab-quote__feedback:not(:empty) { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #FEF2F2; color: #B91C1C; font-size: 0.82rem; font-weight: 600; }
.ec-quote-form [aria-invalid="true"] { border-color: #DC2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }
.ec-quote-form .ab-quote__help { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--color-ink-muted); }
.ec-quote-form .ab-quote__note { font-size: 0.85rem; color: var(--color-ink-muted); margin-bottom: 14px; }
.ec-quote-form .ab-quote__success { text-align: center; padding: 28px 12px; }
.ec-quote-form .ab-quote__success-title { display: block; font-size: 1.25rem; font-weight: 800; color: var(--color-ink-headings); margin-bottom: 8px; }
.ec-quote-form .ab-quote__success-text { color: var(--color-ink-body); margin-bottom: 6px; }
.ec-quote-form .ab-quote__success-ref { font-size: 0.82rem; color: var(--color-ink-muted); margin-bottom: 18px; }
.ec-quote-form .ab-quote__submit:disabled { opacity: 0.7; cursor: wait; }
.modal-body .form-grid-mcan { gap: 12px; }
.modal-overlay[hidden] { display: none !important; }
.selected-service-preview[hidden], [data-quote-badge][hidden], [data-quote-subject-label][hidden], [data-quote-specs][hidden] { display: none !important; }

/* Formun yanındaki platform puan kartları (Google, Wupdoc, Trustpilot): aynı tasarımda alt alta */
.ec-trust-cards { margin-top: 32px; display: grid; gap: 10px; }
.ec-trust-card { padding: 14px 18px; background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; gap: 14px; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
a.ec-trust-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); }
.ec-trust-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ec-trust-card__logo { width: 40px; height: 40px; border-radius: 10px; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ec-trust-card__title { font-weight: 800; font-size: 0.92rem; color: #FFFFFF; }
/* Yıldızlar puana göre dolar (4.3 → %86): gri beş yıldızın üstünde --ec-fill genişliğinde altın */
.ec-trust-card__stars { position: relative; display: inline-block; color: rgba(255,255,255,0.22); letter-spacing: 1px; font-size: 0.8rem; margin-left: 4px; }
.ec-trust-card__stars::before { content: "★★★★★"; position: absolute; inset: 0 auto 0 0; width: var(--ec-fill, 100%); overflow: hidden; color: #FBBF24; white-space: nowrap; }
.ec-trust-card__text { font-size: 0.75rem; color: #94A3B8; }
.ec-trust-card__arrow { color: #94A3B8; font-weight: 700; }
.ec-quote-footnote { font-size: 0.8rem; color: #94A3B8; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 18px; }

/* --- Tedavi kartı: dile göre başlayan fiyat --- */
.ec-card-price { margin: -4px 0 14px; font-size: 0.85rem; color: var(--color-ink-muted); }
.ec-card-price strong { color: var(--color-primary); font-size: 1.05rem; font-weight: 800; }
.service-card-title a { color: inherit; text-decoration: none; }
.service-card-title a:hover { color: var(--color-primary); }

/* --- Kategori sayfası: tedavi kartları ızgarası --- */
.ec-group-hero { padding-bottom: 56px; }
.ec-group-tabs { margin: 26px 0 0; justify-content: flex-start; }
.ec-group-tabs .filter-tab-btn { text-decoration: none; }
.ec-group-tabs .filter-tab-btn:not(.active) { background: rgba(255,255,255,0.08); color: #E2E8F0; border-color: rgba(255,255,255,0.18); }
.ec-treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ec-treatment-grid .service-card { width: auto; min-width: 0; max-width: none; flex: none; }
@media (max-width: 1024px) { .ec-treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ec-treatment-grid { grid-template-columns: minmax(0, 1fr); } }

/* --- SSS: başlık buton --- */
button.faq-card-header { width: 100%; border: 0; text-align: left; font: inherit; color: inherit; }

/* --- Tedavi sayfası --- */
.ec-editorial--single { grid-template-columns: 1fr !important; }
.ec-hero-docs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ec-hero-docs a { display: inline-flex; align-items: center; gap: 6px; color: #CBD5E1; font-size: 0.82rem; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 5px 12px; }
.ec-hero-docs small { opacity: 0.7; }
.treatment-subnav { top: var(--ec-header-h, 82px); }

/* --- Yapışkan: masaüstü köşe butonları (panelden eklenirse) --- */
.ec-sticky { position: fixed; bottom: 96px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.ec-sticky--right { right: 20px; }
.ec-sticky--left { left: 20px; }
.ec-sticky .mobile-bottom-btn { border-radius: 999px; padding: 10px 16px; color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.85rem; box-shadow: 0 10px 24px rgba(12,30,56,0.2); }
.ec-sticky--round .mobile-bottom-btn span { display: none; }
@media (max-width: 1024px) { .ec-sticky--desktop-only { display: none; } }

/* --- Sağdan sola (Arapça) --- */
[dir="rtl"] .ec-breadcrumb .sep { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .ec-mobile-group__list { padding-left: 0; padding-right: 14px; }
[dir="rtl"] button.faq-card-header, [dir="rtl"] .ec-footer-toggle { text-align: right; }

/* Telefonda uzun buton yazıları kırılır (tasarımda taşıyordu) */
@media (max-width: 600px) {
  .zr--design .btn { white-space: normal; max-width: 100%; text-align: center; }
  .standards-grid, .standards-list-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Zoho SalesIQ balonu telefonda alt çubuğun üstünde */
@media (max-width: 768px) {
  .zsiq_floatmain, #zsiq_float { bottom: 78px !important; }
}

/* Hasta yorumları kaydırıcısı (EC · Platform yorumları, 3'ten fazla yorum): masaüstünde 3, tablette 2, telefonda 1 kart */
.ec-review-track {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.ec-review-track::-webkit-scrollbar { display: none; }
.ec-review-track > .tp-review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.ec-review-nav { margin-top: 24px; }
@media (max-width: 991px) {
  .ec-review-track > .tp-review-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 767px) {
  .ec-review-track { gap: 14px !important; }
  .ec-review-track > .tp-review-card { flex-basis: 88%; }
}

/* Video kartı: bayrak + operasyon etiketi (Instagram videoları ve elle girilenler) */
.reel-procedure-tag { display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 20px); }
.reel-procedure-tag > span { overflow: hidden; text-overflow: ellipsis; }
.reel-channel-badge + .reel-procedure-tag { top: 38px; left: 10px; right: auto; }
.ec-flag { display: inline-block; width: 16px; height: 12px; border-radius: 2px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* Video penceresi: Instagram'ın gömme oynatıcısı (data-reel-embed) */
.reel-modal-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; z-index: 3; }
.reel-modal-screen.has-embed .reel-modal-play-center, .reel-modal-screen.has-embed .reel-modal-gradient-bottom { display: none; }
.reel-card-thumb .reel-procedure-tag img.ec-flag { position: static; width: 16px; height: 12px; min-height: 0; transform: none; transition: none; inset: auto; }

/* Kaydırılan şeritlerde üzerine gelince yukarı kalkan öğe (çip, yorum kartı) üstten kesilmesin: dikey pay */
.hero-quick-chips { padding-top: 4px; padding-bottom: 4px; }
.ec-review-track { padding-top: 6px; padding-bottom: 14px !important; margin-top: -6px; }

/* Anlaşmalı hastaneler: liste görünümü (tedavi sayfaları) ve şeritte üzerine gelince kesilmesin */
.hospitals-marquee-track { padding-top: 6px; padding-bottom: 10px; }
.ec-hospital-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ec-hospital-list .hospital-card-item { min-width: 0; }
@media (max-width: 767px) {
  .ec-hospital-list { grid-template-columns: 1fr; gap: 12px; }
  .ec-hospital-list .hospital-card-item { min-width: 0 !important; }
}

/* Üst bar: sağ grup barın kalanına yayılır (sol: iletişim · orta: puanlar · sağ: dil) */
@media (min-width: 992px) {
  .top-bar-clean .top-bar-actions { flex: 1; justify-content: space-between; padding-left: 48px; }
  .top-bar-clean .top-bar-actions > :only-child { margin-left: auto; }
}
.story-play-overlay img.ec-flag { position: static; width: 16px; height: 12px; min-height: 0; transform: none; }

/* Tedavi genel bakışı: anlaşmalı hastaneler, iki sütun (2+2) */
.ec-overview-hospitals { margin-top: 48px; }
.ec-overview-hospitals__head { margin-bottom: 18px; }
.ec-overview-hospitals__head h3 { font-size: 1.35rem; font-weight: 800; color: var(--color-ink-headings); margin: 8px 0 0; }
.ec-hospital-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .ec-hospital-list--2 { grid-template-columns: 1fr; } }

/* SSS: iki bağımsız sütun (açılan soru yalnız kendi sütununu uzatır); telefonda tek sütun */
.faq-accordion-wrap .ec-faq-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.faq-accordion-wrap.ec-faq-2col { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
@media (max-width: 991px) { .faq-accordion-wrap.ec-faq-2col { grid-template-columns: 1fr; } }
/* Tasarımda kapalı sorunun cevabı da görünüyordu: yalnız açık sorunun cevabı */
.faq-card:not(.open) .faq-card-body { display: none; }

/* Bölüm menüsü: masaüstünde bütün bağlantılar tek satıra sığsın ve bara eşit yayılsın (1190 px kapsayıcı, 10 bağlantı) */
@media (min-width: 1200px) {
  .treatment-subnav-inner { justify-content: space-between; gap: 2px; }
  .treatment-subnav .subnav-link { padding: 7px 9px; font-size: 0.77rem; }
}

/* Tedavi kartı süreleri: ikon etiketin yanında, değer tek satır; hücre daralınca yazı boyu küçülür (container query) */
.service-specs-bar.ec-specs { padding: 10px 8px; gap: 4px; }
.ec-specs .ec-spec { container-type: inline-size; min-width: 0; }
.ec-specs .spec-item-label { display: flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; margin-bottom: 3px; font-size: clamp(0.52rem, 8.6cqi, 0.64rem); }
.ec-specs .spec-item-label svg { flex-shrink: 0; color: var(--color-primary); }
.ec-specs .spec-item-val { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(0.66rem, 12.5cqi, 0.86rem) !important; line-height: 1.3; }

/* Giriş alanı hareketi (Ana sayfa girişi > Hareket): artı işaretleri tuvali, ambient katmanın içinde metnin arkasında */
.ec-plus-field { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-mcan .hero-mcan-grid, .hero-mcan .hero-bottom-bar { position: relative; z-index: 1; }
.hero-mcan .hero-top-ribbon { z-index: 1; }
/* Arka planın siyah ↔ mavi geçişi ve artı saçılırken mavi parlama (JS bölüme ec-tint / ec-flash ekler) */
.hero-mcan.ec-tint::before, .hero-mcan.ec-tint::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; }
.hero-mcan.ec-tint::before {
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(14, 116, 204, 0.55), transparent 70%), radial-gradient(ellipse 60% 55% at 85% 70%, rgba(2, 132, 199, 0.35), transparent 70%);
  animation: ec-tint 16s ease-in-out 2s infinite;
}
.hero-mcan.ec-tint::after { background: radial-gradient(circle at var(--ec-fx, 30%) var(--ec-fy, 45%), rgba(56, 189, 248, 0.5), rgba(14, 116, 204, 0.18) 35%, transparent 65%); transition: opacity 1.6s ease; }
.hero-mcan.ec-tint.ec-flash::after { opacity: 1; transition: opacity 0.18s ease-out; }
@keyframes ec-tint { 0%, 100% { opacity: 0; } 45%, 55% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-mcan.ec-tint::before, .hero-mcan.ec-tint::after { animation: none; opacity: 0; } }

/* Başlık açılışı: JS gelene kadar gizli; JS hiç gelmezse 2.5 sn sonra kendiliğinden görünür */
.ec-js [data-ec-reveal]:not(.is-revealed) > h1,
.ec-js [data-ec-reveal]:not(.is-revealed) > p,
.ec-js [data-ec-reveal]:not(.is-revealed) > .hero-usp-strip,
.ec-js [data-ec-reveal]:not(.is-revealed) > .hero-cta-btns,
.ec-js [data-ec-reveal]:not(.is-revealed) > .ec-rotator,
.ec-js [data-ec-reveal]:not(.is-revealed) > .hero-social-proof { opacity: 0; animation: ec-reveal-fallback 0s 2.5s forwards; }
@keyframes ec-reveal-fallback { to { opacity: 1; } }
/* Kelimeler bulanıktan netleşir, hafifçe yükselir */
.ec-reveal .ec-word { display: inline-block; vertical-align: top; }
.ec-reveal .ec-word__in {
  display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(0.25em);
  transition: opacity 0.7s ease calc(var(--i, 0) * 70ms), filter 0.9s ease calc(var(--i, 0) * 70ms), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i, 0) * 70ms);
}
.ec-reveal.is-revealed .ec-word__in { opacity: 1; filter: none; transform: none; }
/* Vurgulu kelimeler tek tek, büyükten küçülerek ve bulanıktan netleşerek (gecikme site.js'ten) */
.ec-reveal .highlight .ec-word__in {
  transform: translateY(0.3em) scale(1.4); filter: blur(22px); transform-origin: 50% 70%;
  transition-property: opacity, filter, transform; transition-duration: 0.7s, 1s, 1.1s; transition-timing-function: ease, ease, cubic-bezier(0.16, 1, 0.3, 1);
}
.ec-reveal.is-revealed .highlight .ec-word__in { opacity: 1; filter: none; transform: none; }

/* Marka sahnesi (Ana sayfa girişi > marka adı): logo artısı (tuvalde) ve ortasında daktiloyla yazılan marka adı */
.ec-brand-stage { position: relative; display: grid; place-items: center; height: clamp(280px, 30vw, 430px); margin: 0 0 16px; }
.ec-brand-stage__mark { position: absolute; top: 2%; height: 96%; width: auto; opacity: 0.32; pointer-events: none; }
.ec-brand-stage.has-field .ec-brand-stage__mark { display: none; }
.hero-mcan-content .ec-brand-type {
  position: relative; z-index: 1; display: inline-grid; margin: 0; padding: 0; max-width: 100%;
  font-family: 'Outfit', var(--font-body); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; letter-spacing: 0.05em;
  color: #FFFFFF; white-space: nowrap; text-transform: none;
  text-shadow: 0 0 2px rgba(3, 9, 22, 0.95), 0 0 14px rgba(3, 9, 22, 0.95), 0 0 34px rgba(56, 189, 248, 0.4);
}
/* Okunsun diye yazının arkasında koyu, yumuşak bir hâle */
.hero-mcan-content .ec-brand-type::before {
  content: ""; position: absolute; inset: -0.2em -0.3em; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(3, 9, 22, 0.6) 0%, rgba(3, 9, 22, 0.35) 55%, rgba(3, 9, 22, 0) 76%);
}
.ec-brand-type__ghost, .ec-brand-type__line { grid-area: 1 / 1; }
.ec-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ec-brand-type__ghost { visibility: hidden; }
.ec-brand-type__caret {
  display: inline-block; width: 0.08em; height: 0.92em; margin-left: 0.06em; vertical-align: -0.08em; border-radius: 1px;
  background: #38BDF8; box-shadow: 0 0 10px rgba(56, 189, 248, 0.9); animation: ec-caret 1s steps(1) infinite;
}
@keyframes ec-caret { 50% { opacity: 0; } }
.ec-js .ec-brand-type:not(.is-typing) .ec-brand-type__text, .ec-js .ec-brand-lockup:not(.is-typing) .ec-brand-type__text { visibility: hidden; }

/* Yan yana (logodaki düzen): solda küçük animasyonlu logo, sağda iki satır — üstte kalın ad, altında ince ve sağa yaslı */
.ec-brand-stage--side { height: auto; display: flex; align-items: center; justify-content: flex-start; gap: clamp(14px, 1.8vw, 26px); margin: 8px 0 24px; }
.ec-brand-stage--side .ec-brand-stage__logo { position: relative; flex: 0 0 auto; width: clamp(104px, 13vw, 190px); aspect-ratio: 1 / 1; }
.ec-brand-stage--side .ec-brand-stage__mark { left: 50%; transform: translateX(-50%); }
.hero-mcan-content .ec-brand-lockup {
  position: relative; z-index: 1; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end;
  font-family: 'Outfit', var(--font-body); color: #FFFFFF; line-height: 1; white-space: nowrap; text-transform: none;
}
.ec-brand-lockup__row { display: inline-grid; }
.ec-brand-lockup__ghost, .ec-brand-lockup__line { grid-area: 1 / 1; }
.ec-brand-lockup__ghost { visibility: hidden; }
.ec-brand-lockup__row--main { font-weight: 700; font-size: clamp(34px, 4.6vw, 68px); letter-spacing: 0.01em; }
.ec-brand-lockup__row--sub { font-weight: 400; font-size: clamp(17px, 2.3vw, 34px); letter-spacing: 0.2em; margin-top: 0.3em; margin-right: -0.2em; }
.ec-brand-lockup .ec-brand-type__caret { box-shadow: none; }
/* Alt alta dizilen düzende (tablet / telefon) logo + yazı ortada ve ekran genişliğine göre büyük */
@media (max-width: 1024px) {
  .ec-brand-stage--side { justify-content: center; gap: clamp(14px, 4.5vw, 28px); margin: 12px 0 28px; }
  .ec-brand-stage--side .ec-brand-stage__logo { width: clamp(110px, 33vw, 190px); }
  .ec-brand-lockup__row--main { font-size: clamp(34px, 10.6vw, 64px); }
  .ec-brand-lockup__row--sub { font-size: clamp(17px, 5.2vw, 32px); }
}
body:has(.ec-bg-black) .ec-brand-lockup .ec-brand-type__caret { background: #FFFFFF; }
@media (max-width: 767px) {
  .ec-brand-stage { height: min(330px, 90vw); }
  .hero-mcan-content .ec-brand-type { letter-spacing: 0.04em; }
}

/* Başlığın altında değişen tedavi satırı (Ana sayfa girişi > Başlığın altında değişen tedavi satırı) */
.ec-rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 18px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; }
.ec-rotator__prefix { color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.ec-rotator__track { display: inline-grid; }
.ec-rotator__item {
  grid-area: 1 / 1; position: relative; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding-bottom: 4px;
  background: linear-gradient(90deg, #7DD3FC, #38BDF8 55%, #FFFFFF); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; filter: blur(10px); transform: translateY(70%); pointer-events: none;
  transition: opacity 0.45s ease, filter 0.55s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ec-rotator__item::after {
  content: ""; position: absolute; left: 0; right: 22px; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #38BDF8, rgba(56, 189, 248, 0)); box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  transform: scaleX(0); transform-origin: 0 50%;
}
.ec-rotator__item.is-active { opacity: 1; filter: none; transform: none; pointer-events: auto; }
.ec-rotator__item.is-active::after { transform: scaleX(1); transition: transform 2.2s linear 0.3s; }
.ec-rotator__item.is-leaving { opacity: 0; filter: blur(10px); transform: translateY(-70%); }
.ec-rotator__arrow { color: #38BDF8; -webkit-text-fill-color: #38BDF8; font-size: 0.85em; transition: transform 0.2s ease; }
.ec-rotator__item:hover .ec-rotator__arrow { transform: translateX(4px); }
/* Vaka kaydırıcısı alttan yükselir */
.ec-rise { opacity: 0; transform: translateY(48px) scale(0.97); transition: opacity 0.8s ease var(--d, 0.4s), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0.4s); }
.ec-rise.is-risen { opacity: 1; transform: none; }
.ec-reveal.is-revealed .highlight .ec-word__in { animation: ec-glow 1.4s ease var(--d, 0.6s) 1 both; }
@keyframes ec-glow { 0%, 100% { text-shadow: none; } 45% { text-shadow: 0 0 22px rgba(56, 189, 248, 0.85); } }
.ec-reveal .ec-step { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease var(--d, 0.5s), transform 0.6s ease var(--d, 0.5s); }
.ec-reveal.is-revealed .ec-step { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ec-reveal .ec-rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ec-rotator__item { transition: opacity 0.3s ease !important; filter: none !important; transform: none !important; }
  .ec-rotator__item.is-active::after { transition: none !important; }
  .ec-reveal .ec-word__in, .ec-reveal .ec-step { transform: none !important; opacity: 1 !important; transition: none !important; animation: none !important; }
  .ec-js [data-ec-reveal] > * { opacity: 1 !important; animation: none !important; }
}
