/* ===========================================================================
   Op. Dr. Feray Aygül — Ana stil dosyası
   Tasarım dili: modern göz kliniği · editorial · sakin · premium
   =========================================================================== */

/* ------------------------------------------------------------- TOKENLER --- */
:root {
    /* Renk paleti */
    --background:      #F6F9F9;   /* serin kırık beyaz */
    --surface:         #FFFFFF;
    --surface-alt:     #ECF3F3;   /* açık buz mavisi */
    --surface-deep:    #DDEAEA;   /* sisli petrol */
    --primary:         #0E3B46;   /* derin petrol mavisi */
    --primary-soft:    #1D5866;
    --secondary:       #3F7480;   /* soft petrol */
    --accent:          #C49A5A;   /* şampanya / iris amberi */
    --accent-soft:     #EBDCC0;
    --accent-text:     #8C6A33;   /* açık zeminde küçük vurgu yazısı (AA kontrast) */
    --text:            #14262B;
    --text-muted:      #5B6F74;
    --line:            #D9E6E6;
    --line-strong:     #C3D5D5;
    --success:         #4E7A5E;
    --danger:          #A8443F;
    --warning:         #B07F35;

    /* Tipografi */
    --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --fs-hero:   clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem);
    --fs-h1:     clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
    --fs-h2:     clamp(1.75rem, 1.25rem + 1.9vw, 2.85rem);
    --fs-h3:     clamp(1.3rem, 1.1rem + 0.85vw, 1.75rem);
    --fs-h4:     clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
    --fs-lead:   clamp(1.02rem, 0.97rem + 0.35vw, 1.2rem);
    --fs-body:   1rem;
    --fs-small:  0.875rem;
    --fs-micro:  0.76rem;

    /* Ölçek */
    --radius-sm:  8px;
    --radius:     14px;
    --radius-lg:  22px;
    --radius-xl:  32px;

    --space-section: clamp(3.25rem, 2.4rem + 3.4vw, 5.75rem);
    --container:     1240px;
    --container-narrow: 820px;

    --shadow-xs: 0 1px 2px rgba(20, 38, 43, .04);
    --shadow-sm: 0 2px 10px rgba(14, 59, 70, .05);
    --shadow-md: 0 12px 34px -18px rgba(14, 59, 70, .22);
    --shadow-lg: 0 28px 70px -34px rgba(14, 59, 70, .30);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --dur:  .45s;

    --header-h: 84px;
}

/* --------------------------------------------------------------- RESET --- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.72;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -.012em;
    margin: 0 0 .6em;
    color: var(--primary);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .45em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--accent-soft); color: var(--primary); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ------------------------------------------------------------ YARDIMCI --- */
.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, var(--container-narrow)); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: calc(var(--space-section) * .62); }
.section--alt { background: var(--surface-alt); }
.section--deep { background: var(--primary); color: #E3EFEF; }
.section--deep h2, .section--deep h3 { color: #EEF6F6; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: var(--fs-micro);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
}
.section--deep .eyebrow { color: var(--accent-soft); }
.section--deep .eyebrow::before { background: var(--accent-soft); }

.lead { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.75; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.section-head { max-width: 62ch; margin-bottom: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem;
    max-width: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 999;
    background: var(--primary);
    color: #fff;
    padding: .7rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------- BUTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.9rem;
    border-radius: 100px;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
    border: 1px solid transparent;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                border-color var(--dur) var(--ease), transform .25s var(--ease),
                box-shadow var(--dur) var(--ease);
    text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--primary); color: #F4FAFA; }
.btn--primary:hover { background: var(--primary-soft); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--accent); color: #061E24; }
.btn--accent:hover { background: #A9844A; }

.btn--outline { border-color: var(--line-strong); color: var(--primary); background: transparent; }
.btn--outline:hover { border-color: var(--primary); background: var(--primary); color: #F4FAFA; }

.btn--light { background: rgba(255,255,255,.94); color: var(--primary); }
.btn--light:hover { background: #fff; box-shadow: var(--shadow-md); }

.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.btn--sm { padding: .65rem 1.3rem; font-size: .84rem; }
.btn--block { width: 100%; }

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--primary);
    padding-bottom: 2px;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.btn-text:hover { background-size: 100% 1px; gap: .85rem; }
.btn-text .icon { width: 15px; height: 15px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------------- HEADER --- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    background: rgba(246, 249, 249, .92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--header-h);
    transition: height var(--dur) var(--ease);
}

.has-transparent-header .header {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
}
.has-transparent-header .header:not(.is-stuck) .header__brand-name,
.has-transparent-header .header:not(.is-stuck) .nav__link,
.has-transparent-header .header:not(.is-stuck) .header__tel,
.has-transparent-header .header:not(.is-stuck) .header__toggle,
.has-transparent-header .header:not(.is-stuck) .header__brand-role { color: #fff; }
.has-transparent-header .header:not(.is-stuck) .header__brand-mark { border-color: rgba(255,255,255,.5); color: #fff; }
.has-transparent-header .header:not(.is-stuck) .btn--primary { background: rgba(255,255,255,.95); color: var(--primary); }

.header.is-stuck {
    background: rgba(246, 249, 249, .96);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.header.is-stuck .header__inner { height: 68px; }

.header__brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-right: auto;
    min-width: 0;
}
.header__brand-mark {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: border-color var(--dur), color var(--dur);
}
.header__brand-text { display: flex; flex-direction: column; min-width: 0; }
.header__brand-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.15;
    color: var(--primary);
    white-space: nowrap;
    transition: color var(--dur);
}
.header__brand-role {
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color var(--dur);
}

/* Dar masaüstünde menüye yer açmak için alt satır gizlenir;
   isim ve amblem her koşulda kalır. */
@media (max-width: 1350px) {
    .header__brand-role { display: none; }
}

/* Navigasyon */
.nav { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem .8rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: color var(--dur) var(--ease);
    white-space: nowrap;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: .8rem; right: .8rem;
    bottom: .28rem;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__item.is-active > .nav__link { color: var(--primary); font-weight: 600; }
.nav__caret { width: 13px; height: 13px; transition: transform var(--dur) var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* Mega menü */
.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: min(94vw, 940px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item:hover .mega,
.nav__item:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.mega__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}
.mega__col-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: .75rem;
}
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list li { margin-bottom: .1rem; }
.mega__list a {
    display: block;
    padding: .32rem .5rem;
    margin-left: -.5rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    color: var(--text-muted);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.mega__list a:hover { background: var(--surface-alt); color: var(--primary); padding-left: .8rem; }
.mega__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.7rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__tel {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    padding: .5rem .7rem;
    transition: color var(--dur);
}
.header__tel .icon { width: 17px; height: 17px; }

.header__toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: var(--radius-sm);
}
.header__toggle .icon { width: 24px; height: 24px; }

/* Off-canvas mobil menü */
.offcanvas {
    position: fixed;
    inset: 0;
    z-index: 300;
    visibility: hidden;
    pointer-events: none;
}
.offcanvas.is-open { visibility: visible; pointer-events: auto; }
.offcanvas__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 38, 43, .45);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.offcanvas.is-open .offcanvas__backdrop { opacity: 1; }
.offcanvas__panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(88vw, 400px);
    background: var(--background);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.offcanvas.is-open .offcanvas__panel { transform: translateX(0); }
.offcanvas__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: var(--background);
    z-index: 2;
}
.offcanvas__body { padding: 1.25rem 1.5rem 2rem; }
.offcanvas__nav { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.offcanvas__nav > li { border-bottom: 1px solid var(--line); }
.offcanvas__nav a, .offcanvas__acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .95rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-align: left;
}
.offcanvas__acc-btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); color: var(--secondary); }
.offcanvas__acc-btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.offcanvas__sub {
    list-style: none;
    margin: 0;
    padding: 0 0 .6rem .9rem;
    display: none;
    border-left: 1px solid var(--line);
}
.offcanvas__sub.is-open { display: block; }
.offcanvas__sub a { padding: .5rem 0; font-size: .9rem; color: var(--text-muted); }
.offcanvas__sub-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--secondary); margin: .8rem 0 .2rem; font-weight: 700; }
.offcanvas__actions { display: grid; gap: .7rem; }
.offcanvas__meta { margin-top: 2rem; font-size: .85rem; color: var(--text-muted); }
.offcanvas__meta a { display: block; margin-bottom: .4rem; }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------- HERO ----- */
.hero {
    position: relative;
    min-height: min(92vh, 880px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--primary);
}
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 8s var(--ease);
}
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(6,32,39,.82) 0%, rgba(6,32,39,.58) 42%, rgba(6,32,39,.18) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding-block: calc(var(--header-h) + 3.5rem) 5rem;
    width: 100%;
}
.hero__inner { max-width: 44rem; }
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: var(--fs-micro);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    margin-bottom: 1.3rem;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero__title {
    /* Ilk slayt <h1>, digerleri <p> olarak basilir; yazi tipi burada
       tanimlanmazsa yalnizca <h1> serif gorunur, digerleri duz kalirdi. */
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--fs-hero);
    color: #fff;
    line-height: 1.06;
    margin-bottom: 1.2rem;
    text-wrap: balance;
}
.hero__text {
    font-size: var(--fs-lead);
    color: rgba(255,255,255,.86);
    max-width: 38rem;
    margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__nav {
    position: absolute;
    left: 0; right: 0;
    bottom: 2.2rem;
    z-index: 3;
}
.hero__dots { display: flex; gap: .55rem; align-items: center; }
.hero__dot {
    width: 34px; height: 3px;
    background: rgba(255,255,255,.32);
    border-radius: 3px;
    transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.hero__dot.is-active { background: var(--accent); width: 56px; }

.hero-anim { opacity: 0; transform: translateY(22px); }
.hero__slide.is-active .hero-anim { animation: heroIn .9s var(--ease) forwards; }
.hero__slide.is-active .hero-anim:nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero-anim:nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero-anim:nth-child(4) { animation-delay: .3s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Sayfa hero (iç sayfalar) */
.page-hero {
    position: relative;
    padding-block: calc(var(--header-h) + 4.5rem) 4rem;
    background: var(--primary);
    color: #fff;
    overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6,32,39,.88) 0%, rgba(6,32,39,.66) 55%, rgba(6,32,39,.35) 100%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 52rem; }
.page-hero__title { color: #fff; font-size: var(--fs-h1); margin-bottom: .7rem; text-wrap: balance; }
.page-hero__text { color: rgba(255,255,255,.82); font-size: var(--fs-lead); max-width: 40rem; }
.page-hero--plain { background: var(--surface-alt); color: var(--text); }
.page-hero--plain .page-hero__title { color: var(--primary); }
.page-hero--plain .page-hero__text { color: var(--text-muted); }
.page-hero--plain .breadcrumb, .page-hero--plain .breadcrumb a { color: var(--text-muted); }
.page-hero--plain .breadcrumb a:hover { color: var(--primary); }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    font-size: .8rem;
    color: rgba(255,255,255,.7);
}
.breadcrumb li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { transition: color var(--dur); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { opacity: .82; }

/* ------------------------------------------------------------- KARTLAR --- */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.card__media { position: relative; overflow: hidden; background: var(--surface-alt); }
.card__media img,
.card__media .img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.28rem; margin-bottom: .55rem; }
.card__title a { transition: color var(--dur); }
.card:hover .card__title a { color: var(--primary-soft); }
.card__text { font-size: .93rem; color: var(--text-muted); margin-bottom: 1.2rem; flex: 1; }
.card__foot { margin-top: auto; }

.card__badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(255,255,255,.94);
    color: var(--primary);
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem .75rem;
    border-radius: 100px;
    z-index: 2;
}

.card__icon {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--secondary);
    margin-bottom: 1.1rem;
}
.card__icon .icon { width: 21px; height: 21px; }

.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

.img-placeholder {
    background:
        radial-gradient(circle at 30% 25%, rgba(235,220,192,.7), transparent 55%),
        linear-gradient(140deg, var(--surface-alt), var(--surface-deep));
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* ----------------------------------------------------- DOKTOR TANITIMI --- */
.intro { position: relative; }
.intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
    align-items: center;
}
.intro__media { position: relative; }
.intro__media-main {
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius) var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--surface-alt);
}
.intro__media-main img { width: 100%; height: 100%; object-fit: cover; }
.intro__media::before {
    content: "";
    position: absolute;
    inset: 1.6rem -1.6rem -1.6rem 1.6rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    z-index: -1;
}
.intro__stat {
    position: absolute;
    right: -1.2rem;
    bottom: 2.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-md);
    max-width: 15rem;
}
.intro__stat-label { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); }
.intro__stat-value { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); line-height: 1.3; }

.intro__name { font-size: var(--fs-h2); margin-bottom: .35rem; }
.intro__role {
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.intro__quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem);
    line-height: 1.45;
    color: var(--primary);
    border-left: 2px solid var(--accent);
    padding-left: 1.4rem;
    margin: 0 0 1.6rem;
}
.intro__facts {
    list-style: none;
    margin: 1.8rem 0;
    padding: 0;
    display: grid;
    gap: .7rem;
}
.intro__facts li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .93rem;
    color: var(--text-muted);
    margin: 0;
}
.intro__facts .icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: .28rem; }

/* --------------------------------------------------- EDITORIAL BÖLÜMÜ --- */
.editorial { background: var(--surface-alt); }
.editorial__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: clamp(2.5rem, 1rem + 5vw, 5rem);
    align-items: center;
}
.editorial__title {
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1.4rem;
}
.editorial__stages { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.editorial__stage {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1.15rem 0;
    border-top: 1px solid var(--line-strong);
    margin: 0;
}
.editorial__stage:last-child { border-bottom: 1px solid var(--line-strong); }
.editorial__stage-age {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--accent);
    padding-top: .1rem;
}
.editorial__stage-title { font-weight: 600; font-size: .98rem; color: var(--primary); margin-bottom: .2rem; }
.editorial__stage-text { font-size: .89rem; color: var(--text-muted); }
.editorial__media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface-deep); }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------- GEBELİK & DOĞUM ----- */
.journey { position: relative; }
.journey__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; }
.journey__card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
    overflow: hidden;
}
.journey__card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}
.journey__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.journey__card:hover::before { transform: scaleX(1); }
.journey__step {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--accent-soft);
    line-height: 1;
    margin-bottom: 1.1rem;
}
.journey__title { font-size: 1.18rem; margin-bottom: .5rem; }
.journey__text { font-size: .89rem; color: var(--text-muted); margin-bottom: 1.3rem; flex: 1; }

/* ---------------------------------------------------------- YAKLAŞIM ----- */
.approach { background: var(--primary); color: rgba(255,255,255,.82); }
.approach h2 { color: #EEF6F6; }
.approach .eyebrow { color: var(--accent-soft); }
.approach .eyebrow::before { background: var(--accent); }
.approach__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 1rem + 5vw, 5rem);
}
.approach__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.approach__item {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 1.2rem;
    margin: 0;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.approach__item:last-child { border-bottom: 0; padding-bottom: 0; }
.approach__num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--accent);
}
.approach__item h3 { font-size: 1.16rem; margin-bottom: .35rem; color: #EEF6F6; }
.approach__item p { font-size: .92rem; color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------- VİDEO ----- */
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-deep); }
.video-card__media { position: relative; }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video-card:hover .video-card__media img { transform: scale(1.05); }
.video-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,30,37,.86) 0%, rgba(6,30,37,.18) 55%, transparent 100%);
}
.video-card__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 66px; height: 66px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--primary);
    display: grid;
    place-items: center;
    z-index: 2;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-card__play .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.video-card__body { position: absolute; inset: auto 0 0 0; padding: 1.5rem; z-index: 2; color: #fff; }
.video-card__title { color: #fff; font-size: 1.15rem; margin-bottom: .3rem; }
.video-card__text { font-size: .85rem; color: rgba(255,255,255,.78); }
.video-card__soon {
    position: absolute;
    top: 1rem; right: 1rem;
    z-index: 3;
    background: rgba(255,255,255,.9);
    color: var(--primary);
    font-size: var(--fs-micro);
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 100px;
}

/* ------------------------------------------------------------ GALERİ ----- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.1rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-alt);
    aspect-ratio: 4 / 3;
    display: block;
}
/* Not: Daha önce her 6. kart iki sütuna yayılıyordu (nth-child(6n+1)).
   Filtreleme gizlenen kartları saymaya devam ettiği için hangi kartın
   genişleyeceği rastgeleleşiyor, satırlar boşluklu ve dağınık kalıyordu.
   Tüm kartlar artık aynı orana sahip; ızgara her filtrede hizalı durur. */
.gallery-grid { grid-auto-rows: 1fr; align-items: stretch; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem 1.1rem .95rem;
    background: linear-gradient(to top, rgba(6,30,37,.8), transparent);
    color: #fff;
    font-size: .87rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery-item:hover .gallery-item__caption { opacity: 1; transform: none; }

/* --------------------------------------------------------------- SSS ----- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    padding: 1.45rem 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem);
    color: var(--primary);
    line-height: 1.4;
}
.accordion__icon {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-top: .18rem;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.accordion__icon .icon { width: 13px; height: 13px; }
.accordion__btn[aria-expanded="true"] .accordion__icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}
.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--dur) var(--ease);
}
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__content { padding-bottom: 1.5rem; color: var(--text-muted); font-size: .95rem; max-width: 70ch; }

/* --------------------------------------------------------------- CTA ----- */
.cta {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--primary);
    color: #fff;
    padding: clamp(2.75rem, 2rem + 3vw, 4.5rem);
}
.cta__bg { position: absolute; inset: 0; opacity: .3; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(13,48,57,.94), rgba(13,48,57,.62));
}
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2.5rem; align-items: center; }
.cta__title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: .7rem; max-width: 24ch; }
.cta__text { color: rgba(255,255,255,.78); max-width: 46ch; margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: .7rem; align-items: stretch; min-width: 15rem; }
.cta__note { font-size: var(--fs-micro); color: rgba(255,255,255,.6); text-align: center; }

.cta--inline {
    background: var(--surface-alt);
    color: var(--text);
    border: 1px solid var(--line);
    padding: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
    border-radius: var(--radius-lg);
}
.cta--inline::after { display: none; }
.cta--inline .cta__title { color: var(--primary); font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
.cta--inline .cta__text { color: var(--text-muted); }
.cta--inline .cta__note { color: var(--text-muted); }

/* ------------------------------------------------------------- FORMLAR --- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.form__group { display: grid; gap: .45rem; }
.form__label { font-size: .82rem; font-weight: 600; color: var(--primary); letter-spacing: .01em; }
.form__label .req { color: var(--danger); }
.form__hint { font-size: var(--fs-micro); color: var(--text-muted); }

.form__control {
    width: 100%;
    padding: .85rem 1.05rem;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-size: .95rem;
    color: var(--text);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.form__control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 154, 90, .16);
}
.form__control::placeholder { color: #93A5A9; }
textarea.form__control { min-height: 140px; resize: vertical; line-height: 1.65; }
select.form__control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C716E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.6rem;
}
.form__control.is-invalid { border-color: var(--danger); }
.form__error { font-size: var(--fs-micro); color: var(--danger); }

.form__check {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
    cursor: pointer;
}
.form__check input[type="checkbox"] {
    width: 20px; height: 20px;
    margin: .12rem 0 0;
    accent-color: var(--primary);
    cursor: pointer;
}
.form__check a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

.form__honeypot {
    position: absolute !important;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.form__status {
    display: none;
    padding: .9rem 1.15rem;
    border-radius: var(--radius);
    font-size: .9rem;
    line-height: 1.5;
}
.form__status.is-visible { display: block; }
.form__status--success { background: rgba(78,122,94,.1); color: #2F5A3E; border: 1px solid rgba(78,122,94,.25); }
.form__status--error { background: rgba(168,68,63,.08); color: #8A322E; border: 1px solid rgba(168,68,63,.22); }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
    content: "";
    width: 15px; height: 15px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------- İÇERİK / RTE -- */
.rte { font-size: 1.02rem; line-height: 1.82; color: var(--text); }
.rte > *:first-child { margin-top: 0; }
.rte h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin: 2.4rem 0 .9rem; }
.rte h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem); margin: 2rem 0 .7rem; }
.rte h4 { margin: 1.6rem 0 .5rem; }
.rte ul, .rte ol { padding-left: 1.3rem; margin-bottom: 1.35em; }
.rte ul { list-style: none; padding-left: 0; }
.rte ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .6em;
}
.rte ul li::before {
    content: "";
    position: absolute;
    left: .25rem; top: .72em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.rte ol { counter-reset: rte; list-style: none; padding-left: 0; }
.rte ol > li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: .7em;
    counter-increment: rte;
}
.rte ol > li::before {
    content: counter(rte);
    position: absolute;
    left: 0; top: .1em;
    width: 1.55rem; height: 1.55rem;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: .92rem;
    display: grid;
    place-items: center;
}
.rte a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-soft); }
.rte a:hover { text-decoration-color: var(--accent); }
.rte img { border-radius: var(--radius); margin: 2rem 0; }
.rte blockquote {
    margin: 2rem 0;
    padding: 1.4rem 1.8rem;
    border-left: 2px solid var(--accent);
    background: var(--surface-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--primary);
}
.rte table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .93rem; }
.rte th, .rte td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.rte th { background: var(--surface-alt); font-weight: 600; color: var(--primary); }
.rte iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); margin: 1.8rem 0; }

.table-scroll { overflow-x: auto; }

/* --------------------------------------------- UZMANLIK DETAY BÖLÜMLERİ -- */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
    align-items: start;
}

.spec-section { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.spec-section__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-bottom: 1rem; }

.spec-section--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.8rem, 1rem + 2.5vw, 3rem); align-items: center; }
.spec-section--split .spec-section__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-alt); }
.spec-section--split .spec-section__media img { width: 100%; height: 100%; object-fit: cover; }
.spec-section--image-first .spec-section__media { order: -1; }

.spec-section--highlight {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
}
.spec-section--quote {
    background: var(--primary);
    color: rgba(255,255,255,.85);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 1.6rem + 1.6vw, 3rem);
}
.spec-section--quote .spec-section__title { color: #EEF6F6; }
.spec-section--quote .rte { color: rgba(255,255,255,.85); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.6; }

.spec-section--steps .rte ol > li::before { background: var(--accent-soft); }

/* Yan sütun */
.sidebar { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.widget__title {
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1.1rem;
}
.widget__list { list-style: none; margin: 0; padding: 0; }
.widget__list li { margin-bottom: .1rem; }
.widget__list a {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem 0;
    font-size: .9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line);
    transition: color var(--dur), padding-left var(--dur);
}
.widget__list li:last-child a { border-bottom: 0; }
.widget__list a:hover { color: var(--primary); padding-left: .35rem; }
.widget__list a span { color: var(--accent); font-size: .8rem; }

.widget--doctor { text-align: center; }
.widget--doctor img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto .9rem; }
.widget--doctor .name { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); }
.widget--doctor .role { font-size: .78rem; color: var(--text-muted); margin-bottom: 1.1rem; }

.toc { position: sticky; top: calc(var(--header-h) + 20px); }
.toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc__list a {
    display: block;
    padding: .45rem 0 .45rem 1rem;
    margin-left: -1px;
    border-left: 2px solid transparent;
    font-size: .87rem;
    color: var(--text-muted);
    transition: color var(--dur), border-color var(--dur);
}
.toc__list a:hover, .toc__list a.is-active { color: var(--primary); border-left-color: var(--accent); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
    display: inline-flex;
    padding: .4rem .85rem;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .8rem;
    color: var(--text-muted);
    transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.tag:hover, .tag.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.notice {
    display: flex;
    gap: .9rem;
    padding: 1.1rem 1.3rem;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.62;
}
.notice .icon { width: 19px; height: 19px; color: var(--secondary); flex-shrink: 0; margin-top: .15rem; }
.notice--warning { background: rgba(176,127,53,.07); border-color: rgba(176,127,53,.22); }
.notice--warning .icon { color: var(--warning); }

/* Filtre çubuğu */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.filter-bar__item {
    padding: .55rem 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    font-size: .85rem;
    color: var(--text-muted);
    background: transparent;
    transition: background var(--dur), color var(--dur), border-color var(--dur);
    white-space: nowrap;
}
.filter-bar__item:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar__item.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Uzmanlık listesi (kategori grupları) */
.spec-group { margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.spec-group__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--line-strong);
}
.spec-group__title { margin: 0; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); }
.spec-group__count { font-size: .8rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.spec-group__desc { color: var(--text-muted); font-size: .95rem; max-width: 60ch; margin: -1rem 0 1.8rem; }

.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .85rem; }
.spec-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.3rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .94rem;
    color: var(--text);
    transition: border-color var(--dur), background var(--dur), transform var(--dur);
}
.spec-list__item:hover { border-color: var(--accent); transform: translateX(3px); }
.spec-list__item .icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* Sayfalama */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3.5rem; }
.pagination__item {
    display: grid;
    place-items: center;
    min-width: 42px; height: 42px;
    padding: 0 .7rem;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    font-size: .88rem;
    color: var(--text-muted);
    transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.pagination__item:hover { border-color: var(--primary); color: var(--primary); }
.pagination__item.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination__gap { display: grid; place-items: center; min-width: 26px; color: var(--text-muted); }

/* Boş durum */
.empty-state {
    text-align: center;
    padding: clamp(3rem, 2rem + 4vw, 5rem) 1.5rem;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.empty-state__icon {
    width: 58px; height: 58px;
    margin: 0 auto 1.3rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--secondary);
}
.empty-state__icon .icon { width: 25px; height: 25px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.empty-state p { color: var(--text-muted); font-size: .93rem; max-width: 44ch; margin-inline: auto; }

/* ------------------------------------------------------------ İLETİŞİM --- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
    align-items: start;
}
.contact-list { display: grid; gap: 1.4rem; margin-bottom: 2.2rem; }
.contact-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; }
.contact-item__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--secondary);
}
.contact-item__label { font-size: var(--fs-micro); letter-spacing: .13em; text-transform: uppercase; color: var(--secondary); margin-bottom: .18rem; }
.contact-item__value { font-size: 1rem; color: var(--primary); font-weight: 500; line-height: 1.55; }
.contact-item__value a:hover { color: var(--accent); }
.contact-item__value pre { font: inherit; margin: 0; white-space: pre-line; }

.map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 9;
    background: var(--surface-alt);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------- 404 ----- */
.error-page {
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: calc(var(--header-h) + 4rem) 5rem;
}
.error-page__code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 3rem + 10vw, 11rem);
    line-height: 1;
    color: var(--accent-soft);
    margin-bottom: .5rem;
}

/* ------------------------------------------------------------- FOOTER ---- */
.footer { background: var(--primary); color: rgba(255,255,255,.68); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.footer a { transition: color var(--dur); }
.footer a:hover { color: #fff; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer__brand-name { font-family: var(--font-display); font-size: 1.45rem; color: #EEF6F6; margin-bottom: .3rem; }
.footer__brand-role { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.footer__about { font-size: .88rem; line-height: 1.75; max-width: 34ch; }
.footer__title {
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #EEF6F6;
    margin-bottom: 1.2rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: .55rem; }
.footer__list a { font-size: .88rem; }
.footer__contact li { display: flex; gap: .65rem; margin-bottom: .8rem; font-size: .88rem; align-items: flex-start; }
.footer__contact .icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: .3rem; }
.footer__socials { display: flex; gap: .55rem; margin-top: 1.4rem; }
.footer__social {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.footer__social:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.footer__social .icon { width: 17px; height: 17px; }

.footer__disclaimer {
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 0 1.8rem;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .8rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------- FLOATING AKSİYONLAR --- */
.fab {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    align-items: flex-end;
}
.fab__btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur);
}
.fab__btn:hover { transform: translateY(-3px); }
.fab__btn--wa { background: #14833B; color: #fff; border-color: #14833B; }
.fab__btn--appt { background: var(--primary); color: #fff; border-color: var(--primary); width: auto; padding: 0 1.15rem; border-radius: 100px; gap: .5rem; font-size: .85rem; font-weight: 600; }
.fab__btn .icon { width: 21px; height: 21px; }

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--accent);
    z-index: 400;
    transition: width .12s linear;
}

.to-top {
    position: fixed;
    left: 1.1rem;
    bottom: 1.1rem;
    z-index: 140;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--dur), visibility var(--dur), transform var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------------------------------------------------------- ÇEREZ BAR --- */
.cookie {
    position: fixed;
    left: 1rem; right: 1rem;
    bottom: 1rem;
    z-index: 350;
    max-width: 560px;
    margin-inline: auto;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    transform: translateY(140%);
    transition: transform .5s var(--ease);
}
.cookie.is-visible { transform: none; }
.cookie__title { font-size: 1.1rem; margin-bottom: .45rem; }
.cookie__text { font-size: .86rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.cookie__options { display: grid; gap: .55rem; margin-bottom: 1.1rem; }
.cookie__option { display: flex; align-items: center; gap: .6rem; font-size: .84rem; color: var(--text-muted); }
.cookie__option input { accent-color: var(--primary); width: 17px; height: 17px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie__actions .btn { flex: 1; min-width: 130px; }

/* ------------------------------------------------------------- LIGHTBOX -- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(4, 20, 25, .93);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__content { max-width: min(1100px, 94vw); width: 100%; }
.lightbox__content img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__frame { aspect-ratio: 16 / 9; width: 100%; max-height: 78vh; border: 0; border-radius: var(--radius); }
.lightbox__caption { color: rgba(255,255,255,.75); text-align: center; margin-top: 1rem; font-size: .88rem; }
.lightbox__close, .lightbox__nav {
    position: absolute;
    color: #fff;
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    transition: background var(--dur);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav--prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------- ANİMASYONLAR -- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-anim { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- RESPONSIVE ---- */
@media (max-width: 1180px) {
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.2rem 2rem; }
    .footer__col--contact { grid-column: span 2; }
}

@media (max-width: 1080px) {
    .nav { display: none; }
    .header__toggle { display: inline-flex; }
    .header__tel { display: none; }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-layout { grid-template-columns: minmax(0, 1fr); }
    .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .toc { position: static; }
}

@media (max-width: 900px) {
    :root { --header-h: 70px; }
    .intro__grid, .editorial__grid, .approach__grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .intro__media::before { display: none; }
    .intro__stat { position: static; margin-top: 1.2rem; max-width: none; }
    .editorial__media { aspect-ratio: 16 / 10; }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta__inner { grid-template-columns: minmax(0, 1fr); }
    .cta__actions { min-width: 0; }
    .spec-section--split { grid-template-columns: minmax(0, 1fr); }
    .spec-section--image-first .spec-section__media { order: 0; }
    .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .gallery-item:nth-child(6n + 1) { grid-column: span 1; aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 2rem, var(--container)); }
    .grid--2, .grid--3, .grid--4, .journey__grid { grid-template-columns: minmax(0, 1fr); }
    .sidebar { grid-template-columns: minmax(0, 1fr); }
    .form__row { grid-template-columns: minmax(0, 1fr); }
    .hero { min-height: 88vh; }
    .hero__media::after { background: linear-gradient(180deg, rgba(6,32,39,.55) 0%, rgba(6,32,39,.78) 60%, rgba(6,32,39,.9) 100%); }
    .hero__actions .btn { flex: 1; min-width: 100%; }
    .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .footer__col--contact { grid-column: span 1; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .fab { right: .9rem; bottom: .9rem; gap: .5rem; }
    .fab__btn { width: 46px; height: 46px; }
    .fab__btn--appt { width: auto; height: 46px; }
    .to-top { display: none; }
    .cookie { left: .75rem; right: .75rem; bottom: .75rem; padding: 1.25rem; }
    .spec-list { grid-template-columns: minmax(0, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .lightbox__nav { width: 42px; height: 42px; }
    .lightbox__nav--prev { left: .5rem; }
    .lightbox__nav--next { right: .5rem; }
}

@media (max-width: 400px) {
    .header__brand-role { display: none; }
    .header__brand-name { font-size: 1rem; }
    .gallery-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
    .header, .footer, .fab, .to-top, .cookie, .scroll-progress { display: none !important; }
    body { background: #fff; }
}

/* ===========================================================================
   TİPOGRAFİ VE YERLEŞİM DÜZELTMELERİ
   Uzun Türkçe kelimelerin taşması, satır sonu boşlukları ve öksüz satırların
   oluşturduğu görsel bozulmaları giderir.
   =========================================================================== */

/* Hiçbir metin kutusundan taşmasın. */
body,
p, li, dd, dt,
h1, h2, h3, h4, h5, h6,
.card__text, .card__title,
.spec-list__item, .spec-group__desc,
.contact-item__value, .widget__list a,
.table td, .table th,
.footer__about, .footer__list a,
.accordion__btn, .accordion__content,
.mega__list a, .nav__link,
.hero__title, .hero__text,
.page-hero__title, .page-hero__text {
    overflow-wrap: break-word;
    word-break: normal;
}

/* Uzun bağlantılar ve e-posta adresleri satırı taşırmasın. */
a[href^="mailto:"], a[href^="http"], .table__meta, .media-item__name {
    overflow-wrap: anywhere;
}

/* Satır sonlarını dengele: tek kelimelik "öksüz" satırları önler. */
h1, h2, h3,
.hero__title, .page-hero__title,
.card__title, .journey__title, .cta__title,
.spec-group__title, .spec-section__title,
.intro__name, .editorial__title, .accordion__btn {
    text-wrap: balance;
}

p, .lead, .card__text, .journey__text,
.spec-group__desc, .editorial__stage-text,
.hero__text, .page-hero__text, .cta__text,
.footer__about, .field__hint, .form__hint {
    text-wrap: pretty;
}

/* Serif başlıklarda Türkçe karakterlerin alt kesilmesini önle. */
h1, h2, h3, .hero__title, .page-hero__title,
.intro__name, .editorial__title, .error-page__code {
    padding-bottom: .04em;
}

/* Küçük harf "i" içeren Türkçe başlıklarda büyük harf dönüşümünü yumuşat. */
.eyebrow, .widget__title, .footer__title,
.intro__role, .contact-item__label, .mega__col-title,
.spec-group__count, .card__badge {
    letter-spacing: .14em;
    word-spacing: .05em;
}

/* Ana sayfa doktor bölümü: dekoratif çerçeve ve rozet artık taşmıyor. */
.intro__media::before {
    inset: 1.4rem -1.2rem -1.4rem 1.4rem;
}
.intro__stat {
    right: 0;
    bottom: 1.6rem;
    max-width: min(16rem, 88%);
}
@media (max-width: 1180px) {
    .intro__media::before { inset: 1.2rem 0 -1.2rem 1.2rem; }
}

/* Bölüm açıklamasının negatif boşluğu kaldırıldı. */
.spec-group__desc {
    margin: -0.6rem 0 1.8rem;
    line-height: 1.7;
}

/* İletişim bilgilerinde çok satırlı metinler düzgün sarılsın. */
.contact-item__value pre,
.contact-item__value .multiline {
    font: inherit;
    margin: 0;
    white-space: pre-line;
    overflow-wrap: break-word;
}

/* Kart metinleri eşit yükseklikte bitsin, alt boşluk oynamasın. */
.card__body { gap: 0; }
.card__text { min-height: 3.4em; }
@media (max-width: 700px) { .card__text { min-height: 0; } }

/* Liste öğelerinde ikon ile metin aynı hizada kalsın. */
.spec-list__item { line-height: 1.5; align-items: center; }
.spec-list__item > span:first-child { flex: 1; }

/* Akordiyon başlığı ile ikon arasındaki hizalama. */
.accordion__btn { align-items: center; }
.accordion__icon { margin-top: 0; }

/* Zengin metin: ardışık başlıklarda çift boşluk oluşmasın. */
.rte h2 + h3, .rte h3 + h4 { margin-top: .9rem; }
.rte > h2:first-child, .rte > h3:first-child { margin-top: 0; }
.rte p + ul, .rte p + ol { margin-top: -.4em; }
.rte li > p { margin-bottom: .4em; }
.rte li:last-child { margin-bottom: 0; }

/* Uzmanlık detayında ardışık bölümlerin boşlukları eşitlensin. */
.spec-section:last-of-type { margin-bottom: 2.5rem; }
.spec-section--highlight + .spec-section--highlight { margin-top: -1.5rem; }

/* Yan sütun kutuları mobilde tam genişlik alsın. */
@media (max-width: 1080px) {
    .widget--doctor { grid-column: span 2; }
}
@media (max-width: 700px) {
    .widget--doctor { grid-column: span 1; }
}

/* Footer sütun başlıkları ile listeler arasındaki hizalama. */
.footer__list li:last-child { margin-bottom: 0; }
.footer__contact li:last-child { margin-bottom: 0; }

/* Form alan açıklamaları ile hata mesajları çakışmasın. */
.form__group .form__error:empty { display: none; }
.field .field__hint:empty { display: none; }

/* Yatay kaydırma güvenliği. */
html, body { max-width: 100%; }
.container, .section, .footer, .hero, .page-hero { max-width: 100vw; }

/* ===========================================================================
   BANNER — sayfa içi görselli tanıtım bantları
   =========================================================================== */
.banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    isolation: isolate;
    background: var(--primary);
}
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}
.banner--dark::after {
    background: linear-gradient(100deg, rgba(9,38,46,.92) 0%, rgba(9,38,46,.72) 48%, rgba(9,38,46,.42) 100%);
}
.banner--light { background: var(--surface-alt); }
.banner--light::after {
    background: linear-gradient(100deg, rgba(246,249,249,.96) 0%, rgba(246,249,249,.82) 52%, rgba(246,249,249,.45) 100%);
}

.banner__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2.5rem;
    padding: clamp(2.4rem, 1.8rem + 2.6vw, 4rem) clamp(1.6rem, 1.2rem + 2.4vw, 3.5rem);
}
.banner__content { max-width: 62ch; }

.banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: var(--fs-micro);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 .9rem;
}
.banner__eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

.banner__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.35rem);
    line-height: 1.18;
    margin: 0 0 .7rem;
    text-wrap: balance;
}
.banner__text { font-size: .97rem; line-height: 1.72; margin: 0; text-wrap: pretty; }
.banner__action { flex-shrink: 0; }

.banner--dark { color: rgba(255,255,255,.82); }
.banner--dark .banner__eyebrow { color: var(--accent-soft); }
.banner--dark .banner__title { color: #fff; }
.banner--light { color: var(--text-muted); }
.banner--light .banner__eyebrow { color: var(--secondary); }
.banner--light .banner__title { color: var(--primary); }

/* İnce şerit varyantı */
.banner--strip { border-radius: var(--radius-lg); }
.banner--strip .banner__inner { padding-block: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); }
.banner--strip .banner__title { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); }
.banner--strip .banner__text { font-size: .92rem; }

/* Bölünmüş varyant: görsel sağda net kalır */
.banner--split .banner__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.banner--split .banner__action { justify-self: start; align-self: end; }
.banner--split.banner--light::after {
    background: linear-gradient(100deg, rgba(246,249,249,.99) 0%, rgba(246,249,249,.96) 42%, rgba(246,249,249,.15) 78%, rgba(246,249,249,0) 100%);
}
.banner--split.banner--dark::after {
    background: linear-gradient(100deg, rgba(9,38,46,.97) 0%, rgba(9,38,46,.9) 42%, rgba(9,38,46,.25) 78%, rgba(9,38,46,.05) 100%);
}

@media (max-width: 900px) {
    .banner__inner { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .banner--split .banner__inner { grid-template-columns: minmax(0, 1fr); }
    .banner--split .banner__action { justify-self: stretch; }
    .banner__action .btn { width: 100%; }
    .banner--dark::after,
    .banner--split.banner--dark::after {
        background: linear-gradient(180deg, rgba(9,38,46,.78) 0%, rgba(9,38,46,.9) 100%);
    }
    .banner--light::after,
    .banner--split.banner--light::after {
        background: linear-gradient(180deg, rgba(246,249,249,.9) 0%, rgba(246,249,249,.97) 100%);
    }
}

/* ===========================================================================
   YAN SÜTUN (SIDEBAR) — yeniden tasarım
   =========================================================================== */
.sidebar { gap: 1.15rem; }

.widget {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.45rem;
    overflow: hidden;
}
.widget::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 42%, transparent 100%);
}

.widget__title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--secondary);
    margin: 0 0 1.15rem;
}
.widget__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* Bağlantı listeleri */
.widget__list a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: .62rem .55rem .62rem 1.15rem;
    margin-inline: -.55rem;
    border-bottom: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: .89rem;
    line-height: 1.5;
    color: var(--text);
    position: relative;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.widget__list a::before {
    content: "";
    position: absolute;
    left: .35rem;
    top: 1.12em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-soft);
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.widget__list a:hover {
    background: var(--surface-alt);
    color: var(--primary);
    padding-left: 1.15rem;
}
.widget__list a:hover::before { background: var(--accent); transform: scale(1.35); }
.widget__list li:last-child a { border-bottom: 0; }
.widget__list a span {
    font-size: .74rem;
    color: var(--secondary);
    background: var(--surface-alt);
    border-radius: 100px;
    padding: .1rem .5rem;
    min-width: 1.7rem;
    text-align: center;
}

/* Doktor kartı — editorial mini profil */
.widget--doctor { padding: 0; text-align: left; }
.widget--doctor::before { display: none; }
.widget--doctor .widget__photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-alt);
}
.widget--doctor .widget__photo img,
.widget--doctor .widget__photo picture {
    width: 100%;
    height: 100%;
    display: block;
}
.widget--doctor .widget__photo img {
    object-fit: cover;
    object-position: 50% 22%;
    border-radius: 0;
    margin: 0;
}
.widget--doctor .widget__body { padding: 1.25rem 1.4rem 1.4rem; }
.widget--doctor .widget__badge {
    display: inline-block;
    font-size: var(--fs-micro);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: .45rem;
}
.widget--doctor .name {
    font-family: var(--font-display);
    font-size: 1.24rem;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: .25rem;
}
.widget--doctor .role {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.15rem;
}
.widget--doctor .widget__actions { display: grid; gap: .5rem; }

/* İçindekiler */
.widget--toc { padding-bottom: 1.1rem; }
.toc__list { counter-reset: toc; border-left: 0; }
.toc__list li { position: relative; margin: 0; }
.toc__list a {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    padding: .48rem 0 .48rem .1rem;
    border-left: 0;
    margin-left: 0;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--text-muted);
    counter-increment: toc;
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toc__list a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: .82rem;
    color: var(--accent);
    opacity: .75;
    flex-shrink: 0;
    min-width: 1.4rem;
}
.toc__list a:hover { color: var(--primary); transform: translateX(3px); }
.toc__list a.is-active { color: var(--primary); font-weight: 600; }
.toc__list a.is-active::before { opacity: 1; }

/* Yan sütun içindeki bilgi kutusu */
.sidebar .notice {
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.35rem;
    background: var(--surface-alt);
    border-color: var(--line);
}

/* Yan sütun CTA kutusu */
.widget--cta {
    background: var(--primary);
    border-color: var(--primary);
    color: rgba(255,255,255,.78);
}
.widget--cta::before { background: linear-gradient(90deg, var(--accent) 0%, transparent 100%); }
.widget--cta .widget__title { color: var(--accent-soft); }
.widget--cta .widget__title::after { background: rgba(255,255,255,.18); }
.widget--cta p { font-size: .89rem; line-height: 1.65; }
.widget--cta .btn--primary { background: #fff; color: var(--primary); }
.widget--cta .btn--primary:hover { background: var(--accent-soft); }
.widget--cta .btn--outline { border-color: rgba(255,255,255,.35); color: #fff; }
.widget--cta .btn--outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }

/* Etiket bulutu yan sütunda daha derli toplu */
.widget .tags { gap: .4rem; }
.widget .tag { font-size: .78rem; padding: .32rem .7rem; }

@media (max-width: 1080px) {
    .sidebar { gap: 1.15rem; }
}

/* ===========================================================================
   ÜST SLOGAN BARI + SADELEŞTİRİLMİŞ HEADER
   =========================================================================== */
:root { --topbar-h: 40px; }

.topbar {
    background: var(--primary);
    color: rgba(255,255,255,.86);
    overflow: hidden;
    max-height: var(--topbar-h);
    transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: var(--topbar-h);
}
.topbar__text {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    font-size: .8rem;
    line-height: 1.3;
    letter-spacing: .01em;
    min-width: 0;
}
.topbar__text .icon { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.topbar__text > :not(.icon) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent-soft);
    white-space: nowrap;
    transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.topbar__link:hover { color: #fff; gap: .65rem; }
.topbar__link .icon { width: 14px; height: 14px; }

/* Scroll sonrası slogan barı kapanır, header kompaktlaşır. */
.header.is-stuck .topbar { max-height: 0; opacity: 0; }

/* Şeffaf header modunda slogan barı da şeffaf zeminde durur. */
.has-transparent-header .header:not(.is-stuck) .topbar { background: rgba(9,38,46,.55); backdrop-filter: blur(6px); }

/* Hero ve sayfa hero üst boşlukları slogan barını da hesaba katar. */
.hero__content { padding-block: calc(var(--header-h) + var(--topbar-h) + 3rem) 5rem; }
.page-hero { padding-block: calc(var(--header-h) + var(--topbar-h) + 3.2rem) 4rem; }
.error-page { padding-block: calc(var(--header-h) + var(--topbar-h) + 3rem) 5rem; }
html { scroll-padding-top: calc(var(--header-h) + 20px); }

.header__search {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--primary);
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.header__search:hover { background: var(--surface-alt); border-color: var(--line-strong); }
.header__search .icon { width: 18px; height: 18px; }
.has-transparent-header .header:not(.is-stuck) .header__search {
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.has-transparent-header .header:not(.is-stuck) .header__search:hover { background: rgba(255,255,255,.14); }

@media (max-width: 860px) {
    :root { --topbar-h: 36px; }
    .topbar__link { display: none; }
    .topbar__text { font-size: .74rem; justify-content: center; width: 100%; }
    .topbar__inner { justify-content: center; }
}

/* ===========================================================================
   HIZLI ERİŞİM BUTONLARI (FAB) — yeniden tasarım
   =========================================================================== */
.fab {
    position: fixed;
    right: 1.1rem;
    bottom: 1.4rem;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .55rem;
}

.fab__item {
    display: flex;
    align-items: center;
    gap: 0;
    height: 52px;
    padding: 0;
    border-radius: 100px;
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 52px;
    transition: max-width .42s var(--ease), gap .42s var(--ease), padding .42s var(--ease),
                background var(--dur) var(--ease), color var(--dur) var(--ease),
                transform .25s var(--ease), box-shadow var(--dur) var(--ease);
}
.fab__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.fab__icon .icon { width: 21px; height: 21px; }
.fab__label {
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    padding-right: 1.15rem;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.fab__item:hover, .fab__item:focus-visible {
    max-width: 260px;
    transform: translateX(-2px);
    box-shadow: var(--shadow-lg);
}
.fab__item:hover .fab__label, .fab__item:focus-visible .fab__label { opacity: 1; }

.fab__item--appt { background: var(--primary); color: #F4FAFA; border-color: var(--primary); }
.fab__item--appt:hover { background: var(--primary-soft); }
.fab__item--wa { background: #14833B; color: #fff; border-color: #14833B; }
.fab__item--wa:hover { background: #10702F; }
.fab__item--call:hover { background: var(--surface-alt); }

/* Randevu butonu her zaman etiketiyle görünsün (birincil eylem). */
@media (min-width: 1081px) {
    .fab__item--appt { max-width: 260px; }
    .fab__item--appt .fab__label { opacity: 1; }
}

/* --- Mobil: alt eylem çubuğu --------------------------------------------- */
@media (max-width: 700px) {
    .fab {
        right: 0; left: 0; bottom: 0;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        background: rgba(246, 249, 249, .97);
        backdrop-filter: saturate(180%) blur(12px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 24px -14px rgba(14, 59, 70, .35);
        padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom, 0px));
    }
    .fab__item {
        flex: 1;
        max-width: none;
        height: 48px;
        justify-content: center;
        gap: .45rem;
        margin: 0 .2rem;
        box-shadow: none;
        transform: none;
    }
    .fab__item:hover { transform: none; box-shadow: none; }
    .fab__icon { width: auto; height: auto; }
    .fab__icon .icon { width: 19px; height: 19px; }
    .fab__label { opacity: 1; padding-right: 0; font-size: .8rem; }
    /* (eski) .fab__item--appt { flex: 1.4 } — eşit genişlik için kaldırıldı */
    .fab__item--call { background: var(--surface); }

    /* Alt çubuk footer içeriğini kapatmasın. */
    body { padding-bottom: 66px; }
    .to-top { display: none; }
    .cookie { bottom: 74px; }
}

@media (max-width: 380px) {
    .fab__item--call .fab__label, .fab__item--wa .fab__label { display: none; }
    .fab__item--call, .fab__item--wa { flex: .6; }
}

/* --------------------------------------------------------- Görsel kaynakları */
.credit-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 2px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.credit-list__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.credit-list__item a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.credit-list__item a:hover,
.credit-list__item a:focus-visible {
    border-bottom-color: currentColor;
}

.credit-list__count {
    flex: none;
    font-size: .82rem;
    color: var(--text-muted);
}

/* ===========================================================================
   YAN SÜTUN — v2 · editorial, tema ile bütünleşik
   Kutu sayısı azaltıldı; başlıklar sitenin "eyebrow" diline uyduruldu.
   =========================================================================== */
.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    align-self: start;
    display: grid;
    gap: 2.25rem;
    align-content: start;
}

/* Sütun ekrandan uzunsa sabitleme kapanır; aksi halde alt kısmı okunamaz. */
@media (max-height: 900px) {
    .sidebar { position: static; }
}

/* --- Ortak başlık dili (sitenin eyebrow stiliyle aynı) ------------------- */
.widget__title {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--font-body);
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin: 0 0 1.1rem;
}
.widget__title::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.widget__title::after { content: none; }

/* --- Kutu görünümü yalnızca gerekli bileşenlerde ------------------------- */
.widget {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    overflow: visible;
}
.widget::before { content: none; }

/* --- İçindekiler: kutusuz dikey ray --------------------------------------
   Not: Buraya "position: sticky" VERİLMEZ. Izgara öğesi olarak sticky
   yapıldığında kendi satırının dışına taşıp alttaki bileşenlerin üzerine
   biniyordu. Sabitleme sütunun tamamına (.sidebar) uygulanır. */
.widget--toc {
    position: static;
}
.toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--line);
}
.toc__list li { margin: 0; }
.toc__list a {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    padding: .55rem 0 .55rem 1.1rem;
    margin-left: -1px;
    border-left: 2px solid transparent;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--text-muted);
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.toc__list a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: .8rem;
    color: var(--accent);
    flex-shrink: 0;
    min-width: 1.25rem;
}
.toc__list a:hover { color: var(--primary); border-left-color: var(--line-strong); transform: none; }
.toc__list a.is-active {
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--accent);
}

/* --- Doktor kartı: tek güçlü görsel bileşen ------------------------------ */
.widget--doctor {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
    box-shadow: var(--shadow-sm);
}
.widget--doctor .widget__photo {
    aspect-ratio: 1 / 1;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--line);
}
.widget--doctor .widget__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}
.widget--doctor .widget__body { padding: 1.5rem 1.5rem 1.6rem; }
.widget--doctor .widget__badge {
    display: inline-block;
    padding: .22rem .65rem;
    border-radius: 100px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: .8rem;
}
.widget--doctor .name {
    font-family: var(--font-display);
    font-size: 1.32rem;
    line-height: 1.22;
    color: var(--primary);
    margin: 0 0 .3rem;
}
.widget--doctor .role {
    font-size: .84rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 1.3rem;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid var(--line);
}
.widget--doctor .widget__actions { display: grid; gap: .55rem; }

/* --- Bağlantı listeleri: ince ayraç + ok ---------------------------------- */
.widget__list { list-style: none; margin: 0; padding: 0; }
.widget__list li { margin: 0; }
.widget__list a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .8rem;
    padding: .78rem 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    font-size: .9rem;
    line-height: 1.45;
    color: var(--text);
    transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.widget__list a::before { content: none; }
.widget__list a::after {
    content: "";
    margin-left: .1rem;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: currentColor;
    opacity: .35;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.widget__list a:hover { color: var(--primary); padding-left: .4rem; }
.widget__list a:hover::after { opacity: .9; transform: translateX(3px); }
.widget__list li:first-child a { padding-top: 0; }
.widget__list li:last-child a { border-bottom: 0; padding-bottom: 0; }
/* Sayaç: etiketten sonra değil, sağda sabit bir sütunda durur.
   (Önceki "justify-content: space-between" üç öğeyi eşit dağıtıyor,
   sayı etiket uzunluğuna göre ortada savruluyordu.) */
.widget__list a span {
    font-size: .74rem;
    color: var(--secondary);
    background: none;
    border: 0;
    padding: 0;
    margin-left: auto;
    min-width: 1.5rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* --- Uyarı notu: kutusuz, sol aksan çizgili ------------------------------ */
.sidebar .notice {
    background: none;
    border: 0;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    padding: .1rem 0 .1rem 1.1rem;
    font-size: .84rem;
    line-height: 1.65;
    color: var(--text-muted);
    gap: 0;
}
.sidebar .notice .icon { display: none; }
.sidebar .notice--warning { border-left-color: var(--warning); }

/* --- Yan sütunda etiket bulutu -------------------------------------------- */
.widget .tags { gap: .45rem; }

/* --- Blog yan sütunundaki arama alanı ------------------------------------ */
.widget .form__control { font-size: .9rem; }

@media (max-width: 1080px) {
    .sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        padding-top: 1rem;
        border-top: 1px solid var(--line);
    }
    .widget--toc { position: static; grid-column: span 2; }
    .widget--doctor { grid-column: span 1; }
}
@media (max-width: 700px) {
    .sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
    .widget--toc, .widget--doctor { grid-column: span 1; }
}

/* ===========================================================================
   DÜZELTMELER — slogan barı taşması, hero yüz kadrajı, bölüm boşlukları
   =========================================================================== */

/* Slogan barı her ekranda tek satırda kalsın. */
.topbar__text {
    flex-wrap: nowrap;
    overflow: hidden;
}
.topbar__text > span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 860px) {
    .topbar__text { justify-content: flex-start; }
    .topbar__text .icon { display: none; }
}

/* Sayfa hero görsellerinde yüzler kadrajın dışında kalmasın. */
.page-hero__media img { object-position: 50% 18%; }

/* Hero ile ilk bölüm arasındaki boşluk biraz daha dengeli. */
.page-hero + .section { padding-top: calc(var(--space-section) * .72); }

/* Filtre çipleri satır aralığı. */
.filter-bar { gap: .55rem .5rem; }

/* Sayfa hero alanı: görsellere nefes alacak alan bırakır. */
.page-hero {
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}
.page-hero__media img { object-position: 50% 15%; }
@media (max-width: 900px) {
    .page-hero { min-height: 340px; }
}
@media (max-width: 700px) {
    .page-hero { min-height: 300px; }
    .page-hero__media img { object-position: 60% 20%; }
}

/* Masaüstünde hızlı erişim butonları varsayılan olarak dar durur;
   üzerine gelindiğinde etiket açılır. Böylece yan sütun içeriğini kapatmaz. */
@media (min-width: 1081px) {
    .fab__item--appt { max-width: 52px; }
    .fab__item--appt .fab__label { opacity: 0; }
    .fab__item--appt:hover, .fab__item--appt:focus-visible { max-width: 260px; }
    .fab__item--appt:hover .fab__label, .fab__item--appt:focus-visible .fab__label { opacity: 1; }
}

/* ===========================================================================
   HERO OKUNABİLİRLİK KATMANI — doktor görseli üzerinde koyu tint bırakmaz
   Karartma yalnızca metnin bulunduğu sol bölgede uygulanır; sağ tarafta
   fotoğraf kendi canlı renkleriyle görünür.
   =========================================================================== */
.hero__media::after {
    background: linear-gradient(100deg,
        rgba(6, 32, 39, .94) 0%,
        rgba(6, 32, 39, .86) 26%,
        rgba(6, 32, 39, .58) 43%,
        rgba(6, 32, 39, .16) 56%,
        rgba(6, 32, 39, 0)   66%);
}

.page-hero__media::after {
    background: linear-gradient(100deg,
        rgba(6, 32, 39, .93) 0%,
        rgba(6, 32, 39, .84) 30%,
        rgba(6, 32, 39, .52) 48%,
        rgba(6, 32, 39, .14) 62%,
        rgba(6, 32, 39, 0)   72%);
}

@media (max-width: 700px) {
    /* Mobilde metin üstte olduğu için karartma yukarıdan aşağıya azalır. */
    .hero__media::after {
        background: linear-gradient(180deg,
            rgba(6, 32, 39, .90) 0%,
            rgba(6, 32, 39, .74) 34%,
            rgba(6, 32, 39, .28) 58%,
            rgba(6, 32, 39, 0)   76%);
    }
    .page-hero__media::after {
        background: linear-gradient(180deg,
            rgba(6, 32, 39, .90) 0%,
            rgba(6, 32, 39, .72) 45%,
            rgba(6, 32, 39, .30) 72%,
            rgba(6, 32, 39, .08) 100%);
    }
}

/* ===========================================================================
   SIRALI LİSTE NUMARALARI — kontrast artırıldı
   =========================================================================== */
.rte ol > li::before {
    background: var(--accent-soft);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    width: 1.6rem;
    height: 1.6rem;
    top: .05em;
    box-shadow: inset 0 0 0 1px rgba(14, 59, 70, .12);
}
.rte ol > li { padding-left: 2.35rem; }

/* İçindekiler numaraları da biraz daha okunur olsun. */
.toc__list a::before { color: var(--secondary); font-weight: 600; }
.toc__list a.is-active::before { color: var(--accent); }

/* ===========================================================================
   YUVARLAK DOKTOR PORTRESİ
   Kare kaynak görsel, tam daire olarak sunulur.
   =========================================================================== */
.avatar-circle {
    display: block;
    width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface-alt);
    flex-shrink: 0;
    box-shadow: 0 0 0 1px var(--line), 0 14px 34px -20px rgba(14, 59, 70, .45);
}
.avatar-circle picture,
.avatar-circle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-circle--sm { width: 76px; }
.avatar-circle--md { width: 120px; }
.avatar-circle--lg { width: 168px; }
.avatar-circle--xl { width: clamp(200px, 18vw, 260px); }

/* İnce halkalı varyant (açık zeminlerde) */
.avatar-circle--ring {
    box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 7px var(--surface), 0 0 0 8px var(--line);
}
/* Koyu zeminlerde halka */
.avatar-circle--on-dark {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 8px rgba(255, 255, 255, .06);
}

@media (max-width: 700px) {
    .avatar-circle--lg { width: 140px; }
    .avatar-circle--xl { width: 180px; }
}

/* Doktor kartı yuvarlak portre ile ortalanmış düzen */
.widget--doctor { text-align: center; }
.widget--doctor .widget__body { padding: 1.9rem 1.5rem 1.7rem; }
.widget--doctor .avatar-circle { margin: 0 auto 1.2rem; }
.widget--doctor .role { border-bottom: 1px solid var(--line); }
.widget--doctor .widget__actions { text-align: left; }

/* Ana sayfa yaklaşım bölümündeki portre */
.approach__portrait { margin-bottom: 1.6rem; }

/* İletişim sayfası başlık bloğu */
.contact-intro {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.6rem;
}
.contact-intro .eyebrow { margin-bottom: .5rem; }
@media (max-width: 520px) {
    .contact-intro { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ===========================================================================
   MARKA AMBLEMİ — altı yapraklı rozet
   Satır içi SVG olduğu için "currentColor" ile bağlamın rengini alır.
   =========================================================================== */
.emblem { display: block; }

/* Amblemin kendi halkası var; kutunun ayrıca çerçevesi olmamalı. */
.header__brand-mark {
    border: 0;
    width: 42px;
    height: 42px;
}
.header__brand:hover .emblem { transform: rotate(30deg); }
.emblem { transition: transform .6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    .emblem { transition: none; }
    .header__brand:hover .emblem { transform: none; }
}

/* --- Footer marka bloğu -------------------------------------------------- */
.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    text-decoration: none;
    color: #EEF6F6;
    margin-bottom: 1.2rem;
}
.footer__brand-mark { flex: none; color: var(--accent); }
.footer__brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.15;
    color: #EEF6F6;
    margin-bottom: .25rem;
}
.footer__brand-role {
    display: block;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
}

/* Footer zemininde çok hafif desen dokusu */
.footer { position: relative; }
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/brand/pattern.svg") repeat;
    background-size: 132px;
    opacity: .05;
    pointer-events: none;
}
.footer > * { position: relative; }

/* ===========================================================================
   HIZLI ERİŞİM BUTONLARI (FAB) — rafine geçiş
   =========================================================================== */
.fab__item {
    height: 54px;
    max-width: 54px;
    border-radius: 100px;
    box-shadow: 0 6px 20px rgba(6, 30, 37, .13), 0 1px 3px rgba(6, 30, 37, .08);
    transition: max-width .42s var(--ease), background var(--dur) var(--ease),
                color var(--dur) var(--ease), transform .22s var(--ease),
                box-shadow var(--dur) var(--ease);
}
.fab__icon { width: 52px; height: 52px; }
.fab__item:hover,
.fab__item:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(6, 30, 37, .2), 0 2px 6px rgba(6, 30, 37, .1);
}
.fab__item:active { transform: translateY(0) scale(.97); }

/* WhatsApp: markanın gerçek glifi dolgulu çizilir. */
.fab__item--wa .icon { width: 23px; height: 23px; }
.fab__item--call { background: var(--surface); color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
    .fab__item, .fab__item:hover, .fab__item:active { transition: none; transform: none; }
}

/* --- Mobil alt çubuk: üç buton eşit genişlikte -------------------------- */
@media (max-width: 1080px) {
    .fab {
        right: 0;
        left: 0;
        bottom: 0;
        flex-direction: row;
        align-items: stretch;
        gap: .5rem;
        padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom, 0px));
        background: rgba(246, 249, 249, .96);
        backdrop-filter: saturate(180%) blur(12px);
        border-top: 1px solid var(--line);
    }
    .fab__item {
        /* Eşit uzunluk: içerik genişliğinden bağımsız olarak üçe bölünür. */
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        height: 46px;
        justify-content: center;
        gap: .4rem;
        margin: 0;
        box-shadow: none;
        transform: none;
    }
    .fab__item:hover, .fab__item:active { transform: none; box-shadow: none; }
    .fab__icon { width: auto; height: auto; }
    .fab__icon .icon { width: 18px; height: 18px; }
    .fab__label {
        opacity: 1;
        padding: 0;
        font-size: .82rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Çok dar ekranda etiketler kısalır ama genişlikler eşit kalır. */
@media (max-width: 380px) {
    .fab__item--call .fab__label, .fab__item--wa .fab__label { display: none; }
    .fab__item--call, .fab__item--wa { flex: 1 1 0; }
    .fab__item--appt { flex: 1 1 0; }
}

/* Randevu butonunda mobil için kısa etiket (eşit genişlikte kesilmesin). */
.fab__label-short { display: none; }
@media (max-width: 1080px) {
    .fab__label-full { display: none; }
    .fab__label-short { display: inline; }
}

/* --- İletişim sayfası sosyal medya bloğu -------------------------------- */
.contact-socials { margin: 1.6rem 0 1.4rem; }
.contact-socials__title {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .7rem;
}
.contact-socials__list { display: flex; flex-wrap: wrap; gap: .55rem; }
.contact-social {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .95rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--surface);
    color: var(--primary);
    font-size: .85rem;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.contact-social:hover, .contact-social:focus-visible {
    border-color: var(--accent);
    background: var(--surface-alt);
}
.contact-social .icon { width: 17px; height: 17px; }

/* ===========================================================================
   TANIŞALIM / HAKKIMDA — yuvarlak doktor portresi
   Kapsayıcı kare tutulur; böylece dekoratif halka tam daire olur.
   =========================================================================== */
.intro__media--round {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
}
.intro__media--round::before {
    content: "";
    position: absolute;
    inset: -1.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    z-index: -1;
    opacity: .65;
    pointer-events: none;
}
.intro__media--round .intro__media-main {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 0 0 1px var(--line), 0 34px 70px -42px rgba(14, 59, 70, .42);
}
.intro__media--round .intro__media-main img,
.intro__media--round .intro__media-main picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .intro__media--round { width: min(100%, 380px); }
    .intro__media--round::before { inset: -1.2rem; }
}
@media (max-width: 480px) {
    .intro__media--round { width: min(100%, 300px); }
    .intro__media--round::before { inset: -.9rem; }
}

/* ===========================================================================
   HEADER MENÜSÜ — sitenin ana yazı tipi (gövde fontu) kullanılır
   =========================================================================== */
.nav__link {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: .012em;
}
.nav__item.is-active > .nav__link { font-weight: 600; }

.mega__list a,
.offcanvas__nav > li > a,
.offcanvas__acc-btn,
.offcanvas__sub-group {
    font-family: var(--font-display);
}
.mega__list a { font-size: 1.02rem; font-weight: 500; }
.offcanvas__nav > li > a,
.offcanvas__acc-btn { font-size: 1.18rem; font-weight: 600; }
.offcanvas__sub-group { font-size: 1.02rem; }

/* Mega menü sütun başlıkları tek satırda kalsın. */
.mega__col-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .74rem;
    letter-spacing: .09em;
}

@media (max-width: 1180px) {
    .nav__link { font-size: .86rem; padding-inline: .62rem; }
}

/* Instagram gömmesi dikey formattadır; 16:9 çerçevede yanlarda siyah bant
   kalıyor ve alt kısmı kırpılıyordu. Kendi ölçüsüyle gösterilir. */
.lightbox__frame--portrait {
    width: min(420px, 92vw);
    height: min(78vh, 720px);
    max-height: none;
    aspect-ratio: auto;
    margin: 0 auto;
    background: #fff;
}


/* Video kapakları gönderinin kendi karesinden üretilir (bin/video-posters.php);
   kadraj hekimin yüzünü alacak şekilde kırpıldığı için kart oranı 16:10 kalır. */


/* Mobilde hero karartması dikey olur: metin üstte okunur kalır,
   hekim fotoğrafı alt bölümde kendi renkleriyle görünür.
   (Masaüstündeki yatay degrade mobilde metnin arkasını açık bırakıyordu.) */
@media (max-width: 1080px) {
    .hero__media::after {
        background: linear-gradient(to bottom,
            rgba(6, 32, 39, .95) 0%,
            rgba(6, 32, 39, .90) 38%,
            rgba(6, 32, 39, .70) 58%,
            rgba(6, 32, 39, .30) 78%,
            rgba(6, 32, 39, .10) 100%);
    }
}

/* ===========================================================================
   VİDEO KARTLARI — kapak görsellerinde gömülü yazı bulunduğu için
   kart metni üste alındı; karartma da yukarıdan aşağıya uygulanıyor.
   =========================================================================== */
.video-card__media::after {
    background: linear-gradient(to bottom,
        rgba(6, 30, 37, .90) 0%,
        rgba(6, 30, 37, .62) 32%,
        rgba(6, 30, 37, .18) 58%,
        rgba(6, 30, 37, 0)   78%);
}

.video-card__body {
    inset: 0 0 auto 0;
    padding: 1.35rem 1.5rem 1.8rem;
}
.video-card__title {
    font-size: 1.12rem;
    line-height: 1.28;
    margin-bottom: .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
}

/* Oynat düğmesi metinle çakışmasın diye biraz aşağı alındı. */
.video-card__play { top: 58%; }

/* "Video yakında" rozeti alt köşeye taşındı. */
.video-card__soon {
    top: auto;
    bottom: 1rem;
    right: 1rem;
}

@media (max-width: 700px) {
    .video-card__body { padding: 1.15rem 1.2rem 1.5rem; }
    .video-card__play { top: 60%; }
}

/* ===========================================================================
   BOŞLUK DÜZENLEMESİ
   Bölümler arasındaki ölü alanlar azaltıldı; ardışık bloklar birbirine
   yapışmadan daha derli toplu bir ritim oluşturuyor.
   =========================================================================== */
.section--tight { padding-block: calc(var(--space-section) * .58); }

/* Banner sarmalayıcıları: kendi iç boşlukları olduğu için daha dar durur. */
.section--banner { padding-block: calc(var(--space-section) * .42); }
.section--banner + .section { padding-top: calc(var(--space-section) * .72); }
.section + .section--banner { padding-top: calc(var(--space-section) * .42); }

/* Aynı zemin rengine sahip ardışık bölümlerde çift boşluk oluşmasın. */
.section--alt + .section--alt { padding-top: 0; }
.section--deep + .section--deep { padding-top: 0; }

/* İçerik grupları */
.spec-group { margin-bottom: clamp(2.4rem, 1.9rem + 1.8vw, 3.4rem); }
.spec-group__head { margin-bottom: 1.4rem; padding-bottom: .9rem; }
.spec-group__desc { margin: -0.4rem 0 1.4rem; }
.filter-bar { margin-bottom: 1.9rem; padding-bottom: 1.2rem; }

/* Uzmanlık detay bölümleri */
.spec-section { margin-bottom: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.spec-section:last-of-type { margin-bottom: 2rem; }

/* Hero ile ilk bölüm arası */
.page-hero + .section { padding-top: calc(var(--space-section) * .8); }

/* Sayfalama ve boş durum */
.pagination { margin-top: 2.6rem; }
.empty-state { padding: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem) 1.5rem; }

/* Footer üst boşluğu */
.footer { padding-top: clamp(2.8rem, 2.2rem + 2.4vw, 4.2rem); }
.footer__grid { padding-bottom: 2.2rem; gap: 2rem; }

@media (max-width: 700px) {
    .section--banner { padding-block: calc(var(--space-section) * .5); }
}

/* ===========================================================================
   ANA SAYFA İLETİŞİM BÖLÜMÜ — daha kompakt yerleşim
   =========================================================================== */
.page-home .contact-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 1.4rem + 2vw, 3.25rem);
    align-items: center;
}
.page-home .contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin-bottom: 1.6rem;
}
.page-home .contact-item { grid-template-columns: 36px minmax(0, 1fr); gap: .75rem; }
.page-home .contact-item__icon { width: 36px; height: 36px; }
.page-home .contact-item__icon .icon { width: 16px; height: 16px; }
.page-home .contact-item__label { font-size: .66rem; margin-bottom: .1rem; }
.page-home .contact-item__value { font-size: .9rem; line-height: 1.45; }
.page-home .map-wrap { aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
    .page-home .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .page-home .map-wrap { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
    .page-home .contact-list { grid-template-columns: minmax(0, 1fr); }
}

/* ===========================================================================
   VİDEO KARTLARI — kapak görselleri kendi oranında (16:9), üstte metin yok
   =========================================================================== */
.video-card__media { aspect-ratio: 16 / 10; }

.video-card__media img { object-fit: cover; }

/* Kapak zaten okunaklı olduğu için yalnızca oynat düğmesinin çevresinde
   hafif bir koyulaştırma bırakılır. */
.video-card__media::after {
    background: radial-gradient(circle at 50% 50%,
        rgba(6, 30, 37, .38) 0%,
        rgba(6, 30, 37, .16) 34%,
        rgba(6, 30, 37, 0)   62%);
}
.video-card__play { top: 50%; }
.video-card__soon { top: 1rem; bottom: auto; right: 1rem; }

/* ===========================================================================
   INSTAGRAM REELS KARTLARI
   Gönderiler dikey (9:16) olduğu için kapak kendi oranında gösterilir.
   =========================================================================== */
.video-card--reel .video-card__media { aspect-ratio: 9 / 16; }
.video-card--reel .video-card__media img { object-fit: cover; object-position: 50% 30%; }

.video-card__source {
    position: absolute;
    top: .9rem;
    right: .9rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #C13584;
}
.video-card__source .icon { width: 18px; height: 18px; }

/* Reel kartlarında oynat düğmesi biraz daha küçük durur. */
.video-card--reel .video-card__play { width: 58px; height: 58px; }

/* Reel ızgarası: üç kart yan yana, mobilde tek sütun. */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}
@media (max-width: 900px) { .reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reels-grid { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin-inline: auto; } }

/* Lightbox içinde dikey gönderiler doğru oranda açılır. */
.lightbox__frame--reel { aspect-ratio: 9 / 16; max-height: 86vh; width: auto; margin-inline: auto; }

/* ===========================================================================
   ÇERÇEVESİZ ARAYÜZ
   Açık zeminli buton, kart ve alanlardaki ince çerçeveler kaldırıldı.
   Ayrım artık yumuşak zemin tonları ve çok hafif gölgelerle sağlanıyor.
   =========================================================================== */

/* --- Butonlar ------------------------------------------------------------ */
.btn--outline {
    border-color: transparent;
    background: var(--surface-alt);
    color: var(--primary);
}
.btn--outline:hover {
    background: var(--surface-deep);
    border-color: transparent;
    color: var(--primary);
}
.btn--light { border-color: transparent; }
.btn--ghost-light {
    border-color: transparent;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .24); }

/* Koyu zeminlerde ikincil buton — açık zeminli .cta--inline hariç tutulur */
.section--deep .btn--outline,
.approach .btn--outline,
.cta:not(.cta--inline) .btn--outline,
.banner--dark .btn--outline,
.widget--cta .btn--outline {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
.section--deep .btn--outline:hover,
.cta:not(.cta--inline) .btn--outline:hover,
.banner--dark .btn--outline:hover { background: rgba(255, 255, 255, .24); }

/* Açık zeminli satır içi CTA: okunur koyu metin */
.cta--inline .btn--outline {
    background: var(--surface);
    color: var(--primary);
}
.cta--inline .btn--outline:hover { background: var(--surface-deep); color: var(--primary); }

/* --- Kartlar ve kutular --------------------------------------------------- */
.card,
.journey__card,
.widget--doctor,
.map-wrap,
.cookie,
.mega,
.video-card,
.gallery-item {
    border: 0;
}
.card { box-shadow: 0 2px 14px -8px rgba(14, 59, 70, .22); }
.card:hover { box-shadow: var(--shadow-md); }
.journey__card { box-shadow: 0 2px 14px -8px rgba(14, 59, 70, .2); }
.widget--doctor { box-shadow: 0 10px 34px -22px rgba(14, 59, 70, .35); }
.map-wrap { box-shadow: 0 8px 30px -20px rgba(14, 59, 70, .3); }
.mega { box-shadow: var(--shadow-lg); }
.cookie { box-shadow: 0 24px 60px -28px rgba(14, 59, 70, .45); }

/* --- Boş durum ve bilgi kutuları ------------------------------------------ */
.empty-state {
    border: 0;
    background: var(--surface-alt);
}
.notice {
    border: 0;
    border-left: 2px solid var(--accent);
    background: var(--surface-alt);
}
.notice--warning { border-left-color: var(--warning); background: rgba(176, 127, 53, .07); }

/* --- Liste ve filtre ögeleri ---------------------------------------------- */
.filter-bar__item {
    border-color: transparent;
    background: var(--surface-alt);
}
.filter-bar__item:hover { background: var(--surface-deep); border-color: transparent; }
.filter-bar__item.is-active { background: var(--primary); border-color: transparent; color: #fff; }

.spec-list__item {
    border: 0;
    background: var(--surface-alt);
}
.spec-list__item:hover { background: var(--surface-deep); }

.tag { border: 0; background: var(--surface-alt); }
.tag:hover, .tag.is-active { background: var(--primary); color: #fff; }

.pagination__item { border-color: transparent; background: var(--surface-alt); }
.pagination__item:hover { background: var(--surface-deep); border-color: transparent; }
.pagination__item.is-current { background: var(--primary); border-color: transparent; }

/* --- Yuvarlak ikon alanları ------------------------------------------------ */
.contact-item__icon,
.header__search,
.header__brand-mark,
.footer__social,
.accordion__icon {
    border: 0;
    background: var(--surface-alt);
}
.footer__social { background: rgba(255, 255, 255, .1); }
.footer__social:hover { background: rgba(255, 255, 255, .2); }
.has-transparent-header .header:not(.is-stuck) .header__search { background: rgba(255, 255, 255, .16); }
.has-transparent-header .header:not(.is-stuck) .header__brand-mark { background: rgba(255, 255, 255, .16); }
.accordion__btn[aria-expanded="true"] .accordion__icon { background: var(--primary); }

/* --- Hızlı erişim butonları ------------------------------------------------ */
.fab__item { border: 0; }

/* --- Form alanları: çerçeve yerine dolgulu zemin --------------------------- */
.form__control {
    border: 0;
    background: var(--surface-alt);
}
.form__control:focus {
    background: var(--surface);
    box-shadow: 0 0 0 2px var(--accent-soft);
}
.form__control.is-invalid { box-shadow: 0 0 0 2px rgba(168, 68, 63, .35); }
.form__status--success,
.form__status--error { border: 0; }

/* --- Doktor portresi: dekoratif halka kaldırıldı --------------------------- */
.intro__media--round::before { display: none; }
.avatar-circle { box-shadow: 0 14px 34px -20px rgba(14, 59, 70, .4); }
.avatar-circle--ring { box-shadow: 0 14px 34px -20px rgba(14, 59, 70, .4); }
.widget--doctor .widget__photo { border-bottom: 0; }

/* --- Banner --------------------------------------------------------------- */
.cta--inline { border: 0; background: var(--surface-alt); }

/* ===========================================================================
   INSTAGRAM BÖLÜMÜ
   =========================================================================== */
.section--instagram { background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 78%); }

.eyebrow--ig {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.eyebrow--ig svg { color: #C13584; }

.btn--outline svg { flex: none; }

/* Reels ızgarası: masaüstünde üç dikey kart */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 940px;
    margin-inline: auto;
}
@media (max-width: 860px) {
    .reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
}
@media (max-width: 520px) {
    .reels-grid { grid-template-columns: 1fr; max-width: 320px; gap: 1.1rem; }
}

/* ===========================================================================
   SLIDER GEÇİŞ OKLARI
   =========================================================================== */
.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    opacity: .75;
    transform: translateY(-50%);
    transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hero__arrow:hover,
.hero__arrow:focus-visible {
    background: rgba(255, 255, 255, .3);
    opacity: 1;
}
.hero__arrow--prev { left: clamp(.9rem, 2.4vw, 2.6rem); }
.hero__arrow--next { right: clamp(.9rem, 2.4vw, 2.6rem); }
.hero__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.hero__arrow--next:hover { transform: translateY(-50%) translateX(3px); }
.hero__arrow .icon { width: 22px; height: 22px; }

/* Slider üzerine gelindiğinde belirginleşir */
.hero:hover .hero__arrow { opacity: 1; }

@media (max-width: 720px) {
    .hero__arrow { width: 42px; height: 42px; }
    .hero__arrow .icon { width: 18px; height: 18px; }
}

/* ===========================================================================
   GALERİ DÜZENLERİ
   Ana sayfa: sabit üçlü ızgara (3 + 3).
   Galeri sayfası: patchwork — görseller kendi oranlarıyla, farklı
   yüksekliklerde yerleşir. Sütun düzeni kullanıldığı için filtreleme
   sırasında gizlenen kartlar boşluk bırakmaz.
   =========================================================================== */
.gallery-grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}
@media (max-width: 860px) {
    .gallery-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
}
@media (max-width: 480px) {
    .gallery-grid--home { grid-template-columns: minmax(0, 1fr); }
}

/* --- Patchwork ------------------------------------------------------------ */
.gallery-grid--patchwork {
    display: block;
    column-count: 3;
    column-gap: 1.1rem;
}
.gallery-grid--patchwork .gallery-item {
    aspect-ratio: auto;             /* görsel kendi oranını korur */
    break-inside: avoid;
    margin-bottom: 1.1rem;
    width: 100%;
}
.gallery-grid--patchwork .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* Tekdüzeliği kırmak için bazı kareler yatay, bazıları dikey kırpılır */
.gallery-grid--patchwork .gallery-item:nth-child(5n + 2) img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-grid--patchwork .gallery-item:nth-child(5n + 4) img { aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 860px) {
    .gallery-grid--patchwork { column-count: 2; column-gap: .7rem; }
    .gallery-grid--patchwork .gallery-item { margin-bottom: .7rem; }
}
@media (max-width: 480px) {
    .gallery-grid--patchwork { column-count: 1; }
}

/* ===========================================================================
   INSTAGRAM SAYFASI
   =========================================================================== */
.ig-profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.6rem;
    padding: 1.7rem 1.9rem;
    margin-bottom: 2.6rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 12px 40px -26px rgba(14, 59, 70, .38);
}
.ig-profile__avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
}
.ig-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-profile__handle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0 0 .25rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: lowercase;
    color: var(--text-muted);
}
.ig-profile__handle svg { color: #C13584; }
.ig-profile__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 .5rem;
    color: var(--primary);
}
.ig-profile__text { margin: 0; max-width: 62ch; color: var(--text-muted); font-size: .95rem; }
.ig-profile__cta { flex: none; white-space: nowrap; }

.reels-grid--page { max-width: 1000px; }

.ig-more {
    margin-top: 2.2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .95rem;
}
.ig-more a { color: var(--primary); font-weight: 600; }

@media (max-width: 820px) {
    .ig-profile {
        grid-template-columns: auto minmax(0, 1fr);
        text-align: left;
    }
    .ig-profile__cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
    .ig-profile { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.4rem; }
    .ig-profile__avatar { width: 78px; height: 78px; }
}

/* ===========================================================================
   HAKKIMDA — boy fotoğrafı (dekupesiz, arka planıyla)
   =========================================================================== */
.about-photo {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--surface-alt);
}
.about-photo img, .about-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo__caption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(6px);
}
.about-photo__caption svg { color: var(--accent); }

/* ===========================================================================
   INSTAGRAM PROFİL AKIŞI (resmi profil gömmesi)
   =========================================================================== */
.ig-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.ig-home__intro .lead { max-width: 52ch; }
.ig-home__topics { margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.ig-home__topics .tag { cursor: default; background: var(--surface); }
.ig-home__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.ig-feed { width: 100%; max-width: 540px; margin-inline: auto; }
.ig-feed .instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 540px !important;
    border: 0 !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
    background: var(--surface) !important;
    padding: 0 !important;
    overflow: hidden;
}
.ig-feed__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    padding: 2.4rem 1.8rem 2.1rem;
    text-align: center;
    background:
        radial-gradient(120% 70% at 50% 0%, var(--surface-alt) 0%, transparent 70%),
        var(--surface);
}
.ig-feed__avatar {
    width: 96px;
    height: 96px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF);
}
.ig-feed__avatar img,
.ig-feed__avatar picture {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--surface);
    object-fit: cover;
}
.ig-feed__handle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
    font-weight: 600;
    color: var(--primary);
}
.ig-feed__handle svg { color: #C13584; }
.ig-feed__tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    max-width: 360px;
    margin: .4rem 0 .2rem;
}
.ig-feed__tiles span {
    aspect-ratio: 1;
    border-radius: 6px;
    background:
        url("../images/brand/emblem.svg") center / 34% no-repeat,
        linear-gradient(135deg, var(--surface-alt), var(--surface-deep));
    opacity: .85;
}
.ig-feed__tiles span:nth-child(2n) { background-color: var(--surface-deep); opacity: .6; }
.ig-feed__note { margin: 0; max-width: 40ch; font-size: .85rem; color: var(--text-muted); }
.ig-feed__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.ig-feed.is-loading .ig-feed__actions { opacity: .55; pointer-events: none; }

@media (max-width: 960px) {
    .ig-home { grid-template-columns: minmax(0, 1fr); }
    .ig-home__intro { text-align: left; }
}

/* ===========================================================================
   İLETİŞİM SAYFASI — kompakt düzen
   =========================================================================== */
.contact-grid--compact { gap: clamp(1.8rem, 1.2rem + 2vw, 3rem); align-items: start; }

.contact-intro { margin-bottom: 1.1rem; }
.contact-intro__title { margin: 0 0 .15rem; }
.contact-intro__meta { margin: 0; font-size: .88rem; color: var(--text-muted); }

.contact-lead {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 56ch;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem;
    margin-top: 1.4rem;
}
.contact-social--icon {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border: 0;
    background: var(--surface-alt);
}
.contact-social--icon:hover { background: var(--surface-deep); }
.contact-social--icon .icon { width: 18px; height: 18px; }

.widget--form { padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.widget--form__title { margin-bottom: .3rem; }
.widget--form__note { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.3rem; }

.map-wrap--contact {
    margin-top: clamp(2rem, 1.5rem + 1.6vw, 3rem);
    aspect-ratio: 21 / 8;
}
@media (max-width: 700px) {
    .map-wrap--contact { aspect-ratio: 4 / 3; }
}

/* ===========================================================================
   BANNER ŞERİDİ
   Banner bölümü kendi beyaz zeminiyle komşu bej bölümlerden ayrılıyor ve
   araya istenmeyen bir bant giriyordu. Zemin sayfa arka planına bırakıldı.
   =========================================================================== */
.section--banner { background: var(--surface-alt); }
.section--banner + .section--alt,
.section--alt + .section--banner { padding-top: 0; }

/* ===========================================================================
   UZMANLIK / BLOG KARTLARI
   Kart yükseklikleri eşitlendi, gövdedeki ölü boşluk azaltıldı ve farklı
   kaynaklardan gelen görseller sıcak bir ton altında birbirine yaklaştırıldı.
   =========================================================================== */
.grid .card { height: 100%; }

.card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 88, 102, .07) 0%, rgba(29, 88, 102, .16) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
}
.card__media img { filter: saturate(.86) contrast(1.02); transition: transform .9s var(--ease), filter var(--dur) var(--ease); }
.card:hover .card__media img { filter: saturate(1) contrast(1); }
.card:hover .card__media::after { opacity: .45; }

.card__body { padding: 1.35rem 1.5rem 1.5rem; gap: 0; }

/* Başlık en fazla iki satır; tüm kartlarda aynı yüksekliği kaplar */
.card__title {
    font-size: 1.22rem;
    line-height: 1.32;
    margin-bottom: .5rem;
    min-height: calc(2 * 1.32em);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Açıklama tam üç satır; yarım kalan satırlar kartları dağıtmaz */
.card__text {
    font-size: .91rem;
    line-height: 1.6;
    margin-bottom: .95rem;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card__foot { margin-top: auto; padding-top: .15rem; }

.card__icon { margin-bottom: .7rem; }

@media (max-width: 700px) {
    .card__title { min-height: 0; }
}

/* Görsel üzerindeki rozet, sıcak ton katmanının üstünde kalmalı.
   Konumu mutlak kalmalı; aksi halde görseli aşağı iter. */
.card__badge { z-index: 3; }

/* Banner görselinin kare köşeleri, yuvarlatılmış kenarların dışına taşıp
   koyu çizgiler bırakıyordu. Görsel katmanı da aynı yarıçapla kırpılır. */
.banner__media {
    inset: -1px;                 /* köşelerde kalan 1 piksellik koyu dikiş izini kapatır */
    border-radius: inherit;
    overflow: hidden;
    transform: translateZ(0);    /* yuvarlak kırpmada tarayıcı kaynaklı kenar izini önler */
}
.banner__media img { border-radius: inherit; }

/* Banner zemini görselin altında koyu bir kenar bırakmasın */
.banner { background-clip: padding-box; }

/* ===========================================================================
   HEADER LOGOSU
   Amblem ve marka yazısı bir miktar büyütüldü; küçük ekranlarda geri ölçeklenir.
   =========================================================================== */
.header__brand-mark { width: 54px; height: 54px; }
.header__brand-name { font-size: 1.22rem; }
.header__brand-role { font-size: .69rem; letter-spacing: .13em; }
.header__brand { gap: .8rem; }

.header.is-stuck .header__brand-mark { width: 46px; height: 46px; }
.header.is-stuck .header__brand-name { font-size: 1.12rem; }
.header__brand-mark .emblem { width: 100%; height: 100%; }

@media (max-width: 900px) {
    .header__brand-mark { width: 46px; height: 46px; }
    .header__brand-name { font-size: 1.1rem; }
}
@media (max-width: 400px) {
    .header__brand-mark { width: 40px; height: 40px; }
}

/* ===========================================================================
   ARAMA SAYFASI
   Sorgu girilmemişken veya sonuç bulunamadığında yönlendirici içerik gösterilir.
   =========================================================================== */
.search-intro {
    margin: 0 0 .5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.search-block { margin-bottom: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.search-block:last-of-type { margin-bottom: 0; }
.search-block__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
    margin: 0 0 1.1rem;
    color: var(--primary);
}

/* --- Sık aranan konular ---------------------------------------------------- */
.search-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.search-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .52rem 1rem;
    border-radius: 100px;
    background: var(--surface);
    color: var(--text);
    font-size: .88rem;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.search-chip:hover, .search-chip:focus-visible { background: var(--primary); color: #fff; }
.search-chip .icon { width: 14px; height: 14px; opacity: .6; }
.search-chip:hover .icon { opacity: 1; }

/* --- Uzmanlık kategorileri ------------------------------------------------- */
.search-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}
.search-cat {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search-cat:hover { transform: translateY(-2px); box-shadow: 0 8px 26px -18px rgba(14, 59, 70, .4); }
.search-cat__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--primary);
}
.search-cat__icon .icon { width: 18px; height: 18px; }
.search-cat__body { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.search-cat__name { font-weight: 600; color: var(--primary); font-size: .95rem; }
.search-cat__text { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }

/* --- Son yazılar ----------------------------------------------------------- */
.search-posts { display: flex; flex-direction: column; gap: .7rem; }
.search-post {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem;
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search-post:hover { transform: translateY(-2px); box-shadow: 0 8px 26px -18px rgba(14, 59, 70, .4); }
.search-post__media {
    flex: none;
    width: 96px;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius) - 4px);
    overflow: hidden;
    background: var(--surface-alt);
}
.search-post__media img { width: 100%; height: 100%; object-fit: cover; }
.search-post__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.search-post__date {
    font-size: var(--fs-micro);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.search-post__title { font-weight: 600; color: var(--primary); font-size: .96rem; line-height: 1.35; }
.search-post__text { font-size: .84rem; color: var(--text-muted); line-height: 1.55; }

.spec-list__name { font-weight: 600; color: var(--primary); }

@media (max-width: 700px) {
    .search-cats { grid-template-columns: minmax(0, 1fr); }
    .search-post__media { width: 74px; }
}

/* ===========================================================================
   İÇ SAYFA HERO — hekimin yuvarlak fotoğrafı (ayakta fotoğraftan, yüz ortalı)
   Fotoğraf metinle aynı satırda, kap içinde durur; hiçbir ekran oranında
   header'ın altına kaymaz ya da kırpılmaz.
   =========================================================================== */
.page-hero--doctor .page-hero__inner {
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}
.page-hero__copy { max-width: 52rem; min-width: 0; }
.page-hero__photo {
    flex: none;
    width: clamp(150px, 15vw, 210px);
    aspect-ratio: 1;
    padding: 5px;
    border-radius: 50%;
    border: 2px solid rgba(235, 220, 192, .7);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
}
.page-hero__photo img, .page-hero__photo picture { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@media (max-width: 760px) {
    .page-hero__photo { display: none; }
}

/* Kısa ekranlarda slider içeriği hero'dan taşmasın. */
.hero { min-height: max(660px, min(92vh, 880px)); }

/* ===========================================================================
   LOGO — hekimin yuvarlak fotoğrafı + "Op. Dr." + isim + uzmanlık
   =========================================================================== */
.header__brand-mark--photo {
    width: 50px;
    height: 50px;
    padding: 2px;
    border: 2px solid var(--accent);
    overflow: hidden;
    background: var(--surface);
}
.header__brand-mark--photo picture { display: block; width: 100%; height: 100%; }
.header__brand-mark--photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.has-transparent-header .header:not(.is-stuck) .header__brand-mark--photo { border-color: rgba(255,255,255,.75); background: transparent; }
.header.is-stuck .header__brand-mark--photo { width: 44px; height: 44px; }
.header__brand-eyebrow {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--accent-text);
    margin-bottom: .1rem;
}
.has-transparent-header .header:not(.is-stuck) .header__brand-eyebrow { color: var(--accent-soft); }
.header__brand-name { font-size: 1.22rem; }

.footer__brand-mark--photo {
    width: 60px;
    height: 60px;
    padding: 3px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    overflow: hidden;
}
.footer__brand-mark--photo picture { display: block; width: 100%; height: 100%; }
.footer__brand-mark--photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
