/* ================================================
   KAAN DENT – Frontend CSS  (UTF-8)
   ================================================ */

:root {
    --primary:   #2563eb;
    --primary-d: #1d4ed8;
    --primary-l: #eff6ff;
    --accent:    #06b6d4;
    --success:   #16a34a;
    --text:      #1e293b;
    --muted:     #64748b;
    --border:    #e2e8f0;
    --bg-soft:   #f8fafc;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    color: var(--text);
    line-height: 1.7;
}

/* ── Topbar ── */
.topbar { background: var(--primary); color: rgba(255,255,255,.9); font-size: .78rem; }
.topbar-link { color: rgba(255,255,255,.85); text-decoration: none; transition: color .15s; }
.topbar-link:hover { color: #fff; }

/* ── Navbar ── */
.navbar-brand {
    display: flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: 1.15rem;
    color: var(--primary) !important; text-decoration: none;
}
.brand-icon {
    width: 38px; height: 38px;
    background: var(--primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-link { color: var(--text) !important; font-weight: 500; padding: .5rem .75rem !important; transition: color .15s; }
.nav-link:hover { color: var(--primary) !important; }

/* ──────────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

/* Yüzen şekiller */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute; border-radius: 50%;
    background: rgba(37,99,235,.07);
    animation: floatShape 8s ease-in-out infinite;
}
.shape-1 { width: 350px; height: 350px; top: -80px; right: -60px; animation-delay: 0s; }
.shape-2 { width: 220px; height: 220px; bottom: 80px; left: -40px; animation-delay: 2s; background: rgba(6,182,212,.07); }
.shape-3 { width: 160px; height: 160px; top: 40%; left: 40%; animation-delay: 4s; background: rgba(22,163,74,.06); }

@keyframes floatShape {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-20px) scale(1.05); }
}

.hero-inner { position: relative; z-index: 2; padding: 5rem 0 3rem; }

.hero-content { }
.hero-badge {
    display: inline-block;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    border: 1px solid rgba(37,99,235,.2);
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; max-width: 480px; }

/* Butonlar */
.btn-hero-primary {
    background: var(--primary); color: #fff;
    border: 2px solid var(--primary);
    border-radius: 50px; padding: .75rem 2rem;
    font-weight: 600; font-size: .9rem;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: all .25s; box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.btn-hero-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.45); color: #fff; }

.btn-hero-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px; padding: .75rem 2rem;
    font-weight: 600; font-size: .9rem;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: all .25s;
}
.btn-hero-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* Hero grafik sağ taraf */
.hero-graphic {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 340px;
}
.hero-icon-wrap {
    position: relative; z-index: 2;
    width: 180px; height: 180px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 60px rgba(37,99,235,.2);
}
.hero-main-icon {
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-pulse-ring {
    position: absolute; border-radius: 50%;
    border: 2px solid rgba(37,99,235,.25);
    animation: pulse-ring 3s ease-out infinite;
}
.ring-1 { width: 220px; height: 220px; animation-delay: 0s; }
.ring-2 { width: 280px; height: 280px; animation-delay: .8s; }
.ring-3 { width: 340px; height: 340px; animation-delay: 1.6s; }
@keyframes pulse-ring {
    0%   { transform: scale(.85); opacity: .7; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* Yüzen kartlar */
.hero-card-float {
    position: absolute;
    background: #fff;
    border-radius: .75rem;
    padding: .65rem 1.1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    font-size: .82rem;
    font-weight: 600;
    display: flex; align-items: center;
    animation: floatCard 4s ease-in-out infinite;
    z-index: 3;
}
.hero-card-1 { top: 30px; right: 10px; animation-delay: 0s; }
.hero-card-2 { bottom: 60px; left: 0; animation-delay: 1.5s; }
@keyframes floatCard {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* İstatistik şeridi */
.hero-stats-bar {
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    padding: 1.5rem 0;
    margin-top: 2rem;
}
.hstat { padding: 0 1rem; }
.hstat.border-x { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.hstat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
    line-height: 1;
}
.hstat-plus { display: inline-block; font-size: 1.4rem; font-weight: 800; color: var(--primary); vertical-align: top; line-height: 1.2; }
.hstat-label { font-size: .78rem; color: var(--muted); margin-top: .25rem; font-weight: 500; }

/* ──────────────────────────────────────────────
   SECTIONS
────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.bg-light-soft { background: var(--bg-soft); }

.section-head { margin-bottom: 1rem; }
.sec-badge {
    display: inline-block;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: 999px;
    padding: .3rem .9rem;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.sec-sub   { color: var(--muted); font-size: .95rem; }

/* ──────────────────────────────────────────────
   HİZMET KARTLARI
────────────────────────────────────────────── */
.svc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform .3s;
    transform-origin: left;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(37,99,235,.12); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
    width: 58px; height: 58px;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: .75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: background .25s, color .25s;
}
.svc-card:hover .svc-icon { background: var(--primary); color: #fff; }
.svc-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.svc-desc  { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.svc-link  { color: var(--primary); font-size: .83rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; transition: gap .2s; }
.svc-link:hover { gap: .6rem; color: var(--primary-d); }

/* ──────────────────────────────────────────────
   NEDEN BİZ
────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .5rem; }
.why-item {
    display: flex; align-items: center; gap: .65rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: .6rem;
    padding: .65rem .9rem;
    font-size: .85rem; font-weight: 500;
    transition: background .2s, border-color .2s;
}
.why-item:hover { background: var(--primary-l); border-color: rgba(37,99,235,.2); }
.why-item i { font-size: 1.1rem; flex-shrink: 0; }

/* About visual */
.about-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 320px;
}
.about-icon-main {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, var(--primary-l), #e0f2fe);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--primary);
    animation: morphShape 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(37,99,235,.15);
}
@keyframes morphShape {
    0%,100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50%      { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
.about-badge {
    position: absolute;
    background: #fff;
    border-radius: .75rem;
    padding: .7rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    display: flex; align-items: center; gap: .65rem;
    font-size: .82rem;
}
.ab-1 { bottom: 20px; left: -10px; }
.ab-2 { top: 20px; right: 0; }
.about-badge i { font-size: 1.4rem; }
.ab-val { font-weight: 800; font-size: 1rem; color: var(--text); }
.ab-lbl { font-size: .72rem; color: var(--muted); }

/* ──────────────────────────────────────────────
   KLİNİK KARTLARI
────────────────────────────────────────────── */
.clinic-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.clinic-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(37,99,235,.1); }
.cfc-icon {
    width: 70px; height: 70px;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
}
.cfc-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.cfc-desc  { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
.cfc-addr  { font-size: .83rem; color: var(--muted); }

/* ──────────────────────────────────────────────
   EKİP KARTLARI
────────────────────────────────────────────── */
.team-member-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem 1.25rem 1.5rem;
    transition: transform .25s, box-shadow .25s;
}
.team-member-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.tmc-photo-wrap { margin-bottom: 1.25rem; }
.tmc-photo {
    width: 110px; height: 110px;
    border-radius: 50%; object-fit: cover;
    border: 4px solid var(--primary-l);
    margin: 0 auto; display: block;
    transition: border-color .25s;
}
.team-member-card:hover .tmc-photo { border-color: var(--primary); }
.tmc-placeholder {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--primary-l);
    color: var(--primary);
    font-size: 2.8rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}
.tmc-name  { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.tmc-title { font-size: .83rem; font-weight: 600; color: var(--primary); margin-bottom: .2rem; }
.tmc-spec  { font-size: .78rem; color: var(--muted); }

/* ──────────────────────────────────────────────
   SÜREÇ ADIMLARI
────────────────────────────────────────────── */
.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem 1.25rem;
    transition: transform .25s, box-shadow .25s;
    position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(37,99,235,.1); }
.step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
}
.step-icon { font-size: 2.2rem; color: var(--primary); margin: .75rem 0 1rem; }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-desc  { font-size: .82rem; color: var(--muted); }
.step-arrow {
    position: absolute;
    right: -18px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem; color: var(--primary);
    z-index: 1;
}

/* ──────────────────────────────────────────────
   CTA SECTION
────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 50%, var(--accent) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-particles { position: absolute; inset: 0; pointer-events: none; }
.cta-p {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.06);
    animation: floatShape 7s ease-in-out infinite;
}
.p1 { width: 280px; height: 280px; top: -80px; left: -50px; }
.p2 { width: 200px; height: 200px; bottom: -60px; right: 80px; animation-delay: 2s; }
.p3 { width: 120px; height: 120px; top: 30%; right: 20%; animation-delay: 4s; }
.cta-inner { position: relative; z-index: 2; }
.cta-icon { font-size: 3rem; color: rgba(255,255,255,.8); display: block; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.cta-sub   { color: rgba(255,255,255,.8); font-size: 1rem; }
.btn-cta {
    background: #fff; color: var(--primary);
    border: none; border-radius: 50px;
    padding: .85rem 2.5rem; font-weight: 700; font-size: .95rem;
    display: inline-flex; align-items: center;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.25); color: var(--primary-d); }

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
.footer-main    { background: #0f172a; color: #94a3b8; padding: 4rem 0 2rem; }
.footer-bottom  { background: #020617; color: #475569; font-size: .75rem; padding: 1rem 0; }
.footer-brand   { color: #fff; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.footer-text    { font-size: .83rem; line-height: 1.7; }
.footer-heading { color: #e2e8f0; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.footer-links   { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .3rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: .83rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .83rem; }
.footer-contact li { display: flex; gap: .5rem; margin-bottom: .5rem; align-items: flex-start; }
.footer-contact a { color: #94a3b8; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { margin-top: .15rem; flex-shrink: 0; }
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    color: #cbd5e1; border-radius: .4rem;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 1rem;
    transition: background .15s, color .15s;
}
.social-btn:hover { background: var(--primary); color: #fff; }

/* ── WhatsApp FAB ── */
.whatsapp-fab {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 56px; height: 56px;
    background: #25d366; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
    z-index: 999;
    animation: waBounce 2.5s ease-in-out infinite;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.12); }
@keyframes waBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

/* ── Utilities ── */
.btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 50px; font-weight: 600; }
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); }
.btn-outline-primary { border-radius: 50px; font-weight: 600; }

/* ──────────────────────────────────────────────
   DİĞER SAYFALAR (klinikler, hizmetler, vb.)
────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    padding: 4rem 0 3rem;
}
.page-hero h1 { font-weight: 800; color: var(--text); }

.card { border: 1px solid var(--border); border-radius: .75rem; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.card-img-top { border-radius: .75rem .75rem 0 0; object-fit: cover; height: 220px; }

/* ──────────────────────────────────────────────
   HİZMETLER SAYFASI
────────────────────────────────────────────── */
/* Hero */
.svc-page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0891b2 100%);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.svc-hero-particles { position: absolute; inset: 0; pointer-events: none; }
.shp {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.05);
    animation: floatShape 9s ease-in-out infinite;
}
.shp1 { width: 300px; height: 300px; top: -80px; right: 5%; }
.shp2 { width: 180px; height: 180px; bottom: -40px; left: 10%; animation-delay: 3s; }
.shp3 { width: 120px; height: 120px; top: 30%; left: 45%; animation-delay: 6s; }
.svc-hero-inner { position: relative; z-index: 2; }
.svc-hero-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.svc-hero-sub   { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.svc-page-hero .breadcrumb-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.svc-page-hero .breadcrumb-item.active { color: rgba(255,255,255,.5); }
.svc-page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* Sayaç bandı */
.svc-count-bar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    padding: 1.5rem 0;
}
.scb-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .5rem; }
.scb-border { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.scb-num  { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.scb-lbl  { font-size: .75rem; color: var(--muted); margin-top: .2rem; font-weight: 500; }

/* Hizmet satırları */
.svc-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border);
}
.svc-detail-row:last-child { border-bottom: none; }
.svc-row-reverse { direction: rtl; }
.svc-row-reverse > * { direction: ltr; }

/* Resim tarafı */
.svc-detail-img-wrap { }
.svc-img-container {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.svc-detail-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.svc-img-container:hover .svc-detail-img { transform: scale(1.05); }
.svc-img-icon-overlay {
    position: absolute;
    bottom: -1px; right: -1px;
    width: 72px; height: 72px;
    background: var(--svc-color, #2563eb);
    border-radius: 1.25rem 0 1.5rem 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff;
    box-shadow: -4px -4px 20px rgba(0,0,0,.15);
}

/* İçerik tarafı */
.svc-detail-badge {
    display: inline-flex;
    align-items: center;
    padding: .3rem .9rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.svc-detail-title { font-size: 1.75rem; font-weight: 800; margin-bottom: .75rem; color: var(--text); }
.svc-detail-desc  { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 1.25rem; }

.svc-feature-list {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
}
.svc-feature-list li {
    display: flex; align-items: center; gap: .5rem;
    font-size: .85rem; font-weight: 500; color: var(--text);
    background: var(--bg-soft);
    border-radius: .4rem;
    padding: .4rem .6rem;
}
.svc-feature-list li i { font-size: .9rem; flex-shrink: 0; }

.svc-detail-btn {
    color: #fff !important;
    border-radius: 50px !important;
    padding: .7rem 1.75rem !important;
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex; align-items: center;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.svc-detail-btn:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* SSS */
.svc-faq .accordion-button { font-size: .9rem; }
.svc-faq .accordion-button:not(.collapsed) { color: var(--primary); background: var(--primary-l); }

/* ──────────────────────────────────────────────
   İLETİŞİM SAYFASI
────────────────────────────────────────────── */
.contact-clinic-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: .75rem;
    padding: 1.25rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: .75rem;
    font-size: .9rem;
}
.contact-info-item i { font-size: 1.2rem; margin-top: .15rem; flex-shrink: 0; }
.contact-info-item strong { display: block; font-weight: 600; margin-bottom: .1rem; }
.contact-info-item a { color: var(--primary); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }
.maps-embed iframe { width: 100%; min-height: 450px; border: 0; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .hero-graphic { min-height: 260px; }
    .ring-2, .ring-3 { display: none; }
    .hero-inner { padding: 3.5rem 0 2rem; }
    .step-arrow { display: none !important; }
    .svc-detail-row { grid-template-columns: 1fr; gap: 2rem; direction: ltr !important; }
    .svc-row-reverse > * { direction: ltr; }
    .svc-feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .section { padding: 3.5rem 0; }
    .hero-title { font-size: 2rem; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-card-float { display: none; }
    .about-badge { display: none; }
    .svc-detail-row { padding: 2rem 0; }
    .svc-detail-title { font-size: 1.4rem; }
}

/* ==============================================
   EKİBİMİZ – TAM SAYFA KARTI (ekibimiz.php)
============================================== */
.team-card-full {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.team-card-full:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37,99,235,.12);
}
.tfl-avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: var(--bg-soft);
    overflow: hidden;
}
.tfl-photo {
    width: 100%; height: 100%;
    object-fit: cover;
}
.tfl-initials {
    width: 110px; height: 110px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; font-weight: 800; color: #fff;
    letter-spacing: .03em;
    flex-shrink: 0;
}
.tfl-grad-0 { background: linear-gradient(135deg,#2563eb,#06b6d4); }
.tfl-grad-1 { background: linear-gradient(135deg,#7c3aed,#2563eb); }
.tfl-grad-2 { background: linear-gradient(135deg,#059669,#06b6d4); }
.tfl-grad-3 { background: linear-gradient(135deg,#dc2626,#f97316); }
.tfl-grad-4 { background: linear-gradient(135deg,#0891b2,#059669); }
.tfl-body {
    padding: 1.5rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tfl-role-badge {
    display: inline-block;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: 999px;
    padding: .2rem .75rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: .6rem;
    align-self: flex-start;
}
.tfl-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: .35rem;
}
.tfl-specialty {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .75rem;
}
.tfl-bio {
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 0;
}
.tfl-bio .btn-link {
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    vertical-align: baseline;
}
.tfl-bio .btn-link:hover { text-decoration: underline; }

/* ==============================================
   KLİNİK GÖRSEL KARTI (index.php)
============================================== */
.clinic-img-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.clinic-img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37,99,235,.12);
}
.cic-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.cic-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.clinic-img-card:hover .cic-img { transform: scale(1.06); }
.cic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.72) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.25rem;
}
.cic-overlay-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.cic-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cic-desc {
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: .5rem;
}
.cic-meta { margin-bottom: .25rem; }
.cic-addr,
.cic-phone {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .2rem;
}

/* ==============================================
   TAKVİM – KAPALI GÜN (calendar.php)
============================================== */
.cal-day.closed-day {
    background: repeating-linear-gradient(
        -45deg,
        #f9fafb,
        #f9fafb 5px,
        #f1f5f9 5px,
        #f1f5f9 10px
    ) !important;
    cursor: not-allowed;
    opacity: .65;
}
.cal-day.closed-day .cal-date { color: #94a3b8; }

/* ==============================================
   BLOG CARDS (blog.php)
============================================== */
.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(37,99,235,.12); }
.blog-card-img-link { display: block; }
.blog-card-img-wrap { overflow: hidden; height: 200px; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: .75rem; color: var(--muted); margin-bottom: .4rem; }
.blog-card-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: .5rem; }
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: .83rem; color: var(--muted); flex: 1; margin-bottom: .75rem; }
.blog-card-link { font-size: .82rem; font-weight: 600; color: var(--primary); text-decoration: none; margin-top: auto; }
.blog-card-link:hover { text-decoration: underline; }

/* Blog post content */
.blog-post-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.5rem; }
.blog-post-content h2 { font-size: 1.3rem; font-weight: 700; margin-top: 2rem; margin-bottom: .75rem; color: var(--text); }
.blog-post-content h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: .5rem; }
.blog-post-content p  { margin-bottom: 1rem; }
.blog-post-content ul, .blog-post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-post-content li { margin-bottom: .3rem; }
.blog-post-content a  { color: var(--primary); }
.blog-post-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }
.blog-post-content blockquote { border-left: 4px solid var(--primary); padding-left: 1rem; margin-left: 0; color: var(--muted); font-style: italic; }

/* Blog sidebar */
.blog-sidebar-card { background: var(--bg-soft); border-radius: 12px; padding: 1.25rem; }
.blog-sidebar-title { font-size: .85rem; font-weight: 700; margin-bottom: .5rem; }

/* ==============================================
   HEKİM SAYFA — YENİ TASARIM (hekim.php)
   Sade, büyük fotoğraf sol, biyografi sağ
============================================== */
.hekim-page-section {
    padding: 3.5rem 0 5rem;
}
.hekim-page-row {
    border-radius: 1.5rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 48px rgba(15,23,42,.08);
}
.hekim-page-photo-col {
    background: #f0f4f8;
}
.hekim-page-photo-wrap {
    width: 100%;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
}
.hekim-page-photo {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.hekim-page-avatar-wrap {
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
}
.hekim-page-initials {
    width: 180px; height: 180px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; font-weight: 900; color: #fff;
    letter-spacing: -.02em;
}
.hekim-page-info-col {
    padding: 3.5rem 3rem;
    display: flex;
    align-items: flex-start;
}
.hekim-page-info {
    width: 100%;
}
.hekim-page-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: .4rem;
}
.hekim-page-title {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: .5rem;
}
.hekim-page-spec {
    display: inline-block;
    background: var(--primary-l);
    color: var(--primary);
    font-size: .83rem;
    font-weight: 600;
    border-radius: 2rem;
    padding: .25rem .9rem;
    margin-bottom: 1.5rem;
}
.hekim-page-bio {
    font-size: .93rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.hekim-page-bio p { margin-bottom: .85rem; }
.hekim-page-bio p:last-child { margin-bottom: 0; }
.hekim-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
@media (max-width: 991px) {
    .hekim-page-photo-wrap,
    .hekim-page-photo { min-height: 320px; }
    .hekim-page-info-col { padding: 2rem 1.5rem; }
    .hekim-page-name { font-size: 1.7rem; }
}

/* ==============================================
   HEKİM PROFİL SAYFASI (hekim.php) — ESKİ (fallback)
============================================== */
.hekim-profile-photo { position: relative; }
.hekim-photo {
    width: 220px; height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-l);
    box-shadow: 0 4px 20px rgba(37,99,235,.15);
}
.hekim-initials-avatar {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    border: 5px solid var(--primary-l);
    box-shadow: 0 4px 20px rgba(37,99,235,.15);
}
.hekim-bio-text { font-size: .92rem; line-height: 1.75; color: var(--muted); }
.hekim-cta-box { background: var(--bg-soft); border-left: 4px solid var(--primary); }
.hekim-stats { border-top: 1px solid var(--border); padding-top: 1rem; }
.hekim-stat-box { background: var(--bg-soft); border-radius: 8px; padding: .6rem .3rem; }
.hekim-stat-num { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.hekim-stat-lbl { font-size: .68rem; color: var(--muted); }
.hekim-mini-card {
    display: block;
    text-align: center;
    padding: .75rem .5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.hekim-mini-card:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(37,99,235,.1); color: var(--primary); }
.hekim-mini-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: .4rem; }
.hekim-mini-initials {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .4rem;
}
.hekim-mini-name  { font-size: .78rem; font-weight: 700; margin-bottom: .15rem; }
.hekim-mini-title { font-size: .72rem; color: var(--muted); }

/* bg-primary-subtle polyfill for Bootstrap 5.2 compat */
.bg-primary-subtle { background-color: var(--primary-l) !important; }

/* ==============================================
   PWA – SAFE AREA (Ana ekrana eklenince)
============================================== */
@supports (padding-top: env(safe-area-inset-top)) {
    /* Status bar arkasına içerik gitmesin */
    .topbar {
        padding-top: env(safe-area-inset-top, 0) !important;
    }
    body {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

/* ==============================================
   ÖNCE / SONRA SAYFASI (before-after.php)
============================================== */
.ba-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.ba-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,99,235,.12); }

/* İşlem etiketi – kartın başında belirgin */
.ba-badge {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: var(--primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: .55rem 1rem;
    letter-spacing: .02em;
}
.ba-badge::before { content: '\F3C5'; font-family: 'Bootstrap-Icons'; font-size: .85rem; }

/* Slider sarmalayıcı */
.ba-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: col-resize;
    user-select: none;
}

/* İki görsel üst üste */
.ba-images { position: absolute; inset: 0; }

.ba-before,
.ba-after  {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.ba-before { z-index: 1; }
.ba-after  { z-index: 2; clip-path: inset(0 50% 0 0); }

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Öncesi / Sonrası etiketleri */
.ba-label {
    position: absolute;
    bottom: .65rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .6rem;
    border-radius: 999px;
    pointer-events: none;
    z-index: 5;
}
.ba-label-before {
    left: .65rem;
    background: rgba(0,0,0,.55);
    color: #fff;
}
.ba-label-after {
    right: .65rem;
    background: rgba(37,99,235,.85);
    color: #fff;
}

/* Dikey ayraç çizgisi */
.ba-divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: #fff;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
}
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Gizli range input – tüm alanı kaplar */
.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: col-resize;
    z-index: 20;
    -webkit-appearance: none;
    margin: 0;
}

/* Açıklama metni */
.ba-desc {
    padding: .75rem 1rem;
    margin: 0;
    font-size: .83rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

/* ==============================================
   EKİBİMİZ – TIKLANABİLİR KART
============================================== */
.team-card-clickable {
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}
.team-card-clickable:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37,99,235,.12);
}
.tfl-profile-link { margin-top: auto; }
a:hover .team-card-clickable .tfl-name { color: var(--primary); }

/* ==============================================
   KLİNİK DETAY SAYFASI (klinik.php)
============================================== */
.clinic-detail-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    position: sticky;
    top: 90px;
}
.clinic-detail-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: .75rem;
}
.clinic-detail-desc {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.clinic-detail-meta { margin-bottom: 1rem; }
.clinic-detail-meta-item {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-bottom: .5rem;
    font-size: .88rem;
    color: var(--dark);
}
.clinic-detail-meta-item a { color: var(--dark); }
.clinic-detail-meta-item a:hover { color: var(--primary); }
.clinic-detail-meta-item i { margin-top: .15rem; flex-shrink: 0; }

/* Cover photo */
.clinic-detail-cover {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15,23,42,.1);
}
.clinic-detail-cover-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.clinic-detail-cover-caption {
    background: rgba(15,23,42,.65);
    color: #fff;
    padding: .5rem 1rem;
    font-size: .82rem;
}

/* Thumbnail grid */
.gallery-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: .75rem;
    transition: transform .3s, opacity .3s;
}
.gallery-thumb-link:hover .gallery-thumb {
    transform: scale(1.04);
    opacity: .9;
}
.cic-photo-count { font-size: .78rem; }
