/* ==========================================================================
   Keşan Saros Psikoteknik — kesanpsikoteknik.com
   Klasik kurumsal tasarım. Tek stil dosyası, bağımlılık yok.
   ========================================================================== */

/* ---------- Fontlar (yerel) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/open-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/open-sans-600.woff2) format("woff2"); }

/* ---------- Değişkenler ---------- */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1b4f8a;
  --yellow: #f2b705;
  --yellow-2: #dca604;
  --gray: #f4f6f9;
  --gray-2: #e9edf3;
  --text: #1f2937;
  --text-2: #4b5563;
  --muted: #5b6573;
  --line: #e3e8ef;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #1f7a4d;

  --head-font: "Poppins", "Segoe UI", Arial, sans-serif;
  --body-font: "Open Sans", "Segoe UI", Arial, sans-serif;

  --radius: 8px;
  --shadow: 0 12px 32px -14px rgba(11, 37, 69, .25);
  --shadow-lg: 0 24px 48px -20px rgba(11, 37, 69, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1200px;
  --gut: 20px;
  --topbar: 44px;
  --header: 84px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--body-font); font-size: 1rem; line-height: 1.75; color: var(--text-2); background: var(--white); font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
em, i, cite, address, dfn, var { font-style: normal; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head-font); color: var(--navy); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
strong, b { font-weight: 600; color: var(--text); }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }
.nw { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Yandan kayarak gelen öğeler yatay kaydırma çubuğu oluşturmasın (clip, yapışkan öğeleri bozmaz) */
main { overflow-x: hidden; overflow-x: clip; }
.container { width: 100%; max-width: calc(var(--container) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.section--gray { background: var(--gray); }
.section-title { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.section-title h2 { margin-bottom: 14px; }
.section-title__bar { display: block; width: 64px; height: 4px; margin: 0 auto 18px; border-radius: 2px; background: var(--yellow); }
.section-title p { margin: 0; color: var(--muted); }
.section-title--left { margin-left: 0; text-align: left; }
.section-title--left .section-title__bar { margin-left: 0; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 2px solid transparent; border-radius: 6px; font-family: var(--head-font); font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-2); color: var(--navy); box-shadow: 0 10px 22px -10px rgba(242, 183, 5, .8); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: #fff; }
.btn--wa { background: var(--wa-dark); color: #fff; }
.btn--wa:hover { background: #186340; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head-font); font-size: .92rem; font-weight: 600; color: var(--blue); }
.more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* ---------- Üst bilgi şeridi ---------- */
.topbar { background: var(--navy); color: #c9d4e3; font-size: .88rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--topbar); }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; color: #c9d4e3; }
.topbar__info a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--yellow); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #c9d4e3; }
.topbar__social a:hover { background: var(--yellow); color: var(--navy); }
.topbar__social svg { color: inherit; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Üst bölüm ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .3s var(--ease); }
.header.is-stuck { box-shadow: 0 10px 30px -18px rgba(11, 37, 69, .45); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header); }
.logo { display: inline-flex; flex-direction: column; margin-right: auto; line-height: 1.1; text-decoration: none; }
.logo__name { font-family: var(--head-font); font-size: 1.3rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.logo__sub { margin-top: 5px; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav__drop > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-family: var(--head-font); font-size: .94rem; font-weight: 500; color: var(--navy); border-radius: 6px; white-space: nowrap; }
.nav > a:hover, .nav__drop:hover > a, .nav > a[aria-current="page"], .nav__drop > a.is-active { color: var(--blue); background: var(--gray); }
.nav__menu a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav__drop { position: relative; }
.nav__drop > a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__drop:hover > a svg, .nav__drop:focus-within > a svg { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: 10px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--yellow); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--text); font-size: .94rem; }
.nav__menu a:hover { background: var(--gray); color: var(--blue); }
.burger { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 6px; background: var(--navy); cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.offcanvas { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.offcanvas__shade { position: absolute; inset: 0; background: rgba(11, 37, 69, .55); opacity: 0; transition: opacity .3s var(--ease); }
.offcanvas__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); padding: 22px 22px 28px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); }
.menu-open .offcanvas { visibility: visible; }
.menu-open .offcanvas__shade { opacity: 1; }
.menu-open .offcanvas__panel { transform: none; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.offcanvas__head .logo__name { font-size: 1.12rem; }
.offcanvas__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy); cursor: pointer; }
.offcanvas__close svg { width: 20px; height: 20px; }
.offcanvas nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--head-font); font-weight: 500; color: var(--navy); }
.offcanvas nav a.sub { padding-left: 16px; font-size: .92rem; color: var(--text-2); }
.offcanvas__actions { display: grid; gap: 10px; margin-top: 22px; }
.offcanvas__addr { margin: 20px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }
body.menu-open { overflow: hidden; }
@media (max-width: 1080px) { .nav, .header .header__cta { display: none; } .burger { display: block; } }

/* ---------- Giriş slaytı ---------- */
.hero { position: relative; display: grid; min-height: clamp(540px, 80vh, 720px); overflow: hidden; background: var(--navy); color: #fff; }
/* Slaytlar aynı ızgara hücresinde üst üste durur; en uzun içerik yüksekliği belirler */
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1s var(--ease); }
.slide__bg { position: absolute; inset: 0; overflow: hidden; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide__bg img { animation: heroZoom 8s linear both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 37, 69, .93) 0%, rgba(11, 37, 69, .8) 40%, rgba(11, 37, 69, .3) 74%, rgba(11, 37, 69, .12) 100%); }
.slide > .container { position: relative; z-index: 1; }
.slide__content { max-width: 680px; padding-block: 80px 150px; }
.slide__title { margin: 0 0 18px; font-family: var(--head-font); color: #fff; font-size: clamp(2rem, 1.3rem + 2.7vw, 3.5rem); font-weight: 700; line-height: 1.15; }
.slide__text { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #dbe4f0; margin: 0 0 30px; max-width: 52ch; }
.slide__content > * { opacity: 0; transform: translateY(24px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
/* Gelen slaytın yazıları, giden slaytın yazıları söndükten sonra belirir (üst üste binmez) */
.slide.is-active .slide__content > * { opacity: 1; transform: none; transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .5s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .65s; }
.hero__arrows { position: absolute; z-index: 2; right: max(var(--gut), calc((100% - var(--container)) / 2)); bottom: 110px; display: flex; gap: 10px; }
.hero__arrow { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.hero__arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev svg { transform: scaleX(-1); }
.hero__dots { position: absolute; z-index: 2; left: max(var(--gut), calc((100% - var(--container)) / 2 + var(--gut))); bottom: 112px; display: flex; gap: 10px; }
.hero__dot { width: 34px; height: 5px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; transition: background-color .3s var(--ease), width .3s var(--ease); }
.hero__dot.is-active { width: 54px; background: var(--yellow); }
@media (max-width: 760px) {
  .hero { min-height: 580px; }
  .slide__content { padding-block: 56px 150px; }
  .slide__bg::after { background: linear-gradient(180deg, rgba(11, 37, 69, .7), rgba(11, 37, 69, .88)); }
  .hero__arrows { display: none; }
  .hero__dots { bottom: 100px; }
}

/* ---------- Slaytın altına binen özellik kutuları ---------- */
.features { position: relative; z-index: 3; margin-top: -70px; }
.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.feature { display: flex; gap: 18px; align-items: flex-start; padding: 30px 28px; border-left: 1px solid var(--line); transition: background-color .3s var(--ease); }
.feature:first-child { border-left: 0; }
.feature:hover { background: var(--gray); }
.feature__icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: rgba(242, 183, 5, .16); color: var(--navy); transition: background-color .3s var(--ease); }
.feature:hover .feature__icon { background: var(--yellow); }
.feature__icon svg { width: 27px; height: 27px; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.6; }
.feature .feature__title { margin: 2px 0 6px; font-family: var(--head-font); font-size: 1.12rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
@media (max-width: 900px) { .features__grid { grid-template-columns: 1fr; } .feature { border-left: 0; border-top: 1px solid var(--line); } .feature:first-child { border-top: 0; } }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1; }
.about__media figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.about__media figure:first-child { grid-row: 1 / span 2; }
.about__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about__media figure:hover img { transform: scale(1.04); }
.about__text .section-title { margin-bottom: 22px; }
.about__lead { font-size: 1.12rem; color: var(--text); }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 26px 0 32px; padding: 0; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--text); line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b705' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__media { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } .about__media { gap: 10px; } }

/* ---------- Hizmet kartları ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.service { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__media img { transform: scale(1.07); }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 22px; border-bottom: 4px solid transparent; transition: border-color .4s var(--ease); }
.service:hover .service__body { border-bottom-color: var(--yellow); }
.service h3 { margin: 0 0 10px; font-size: 1.2rem; }
.service h3 a { color: var(--navy); }
.service h3 a:hover { color: var(--blue); }
.service p { margin: 0 0 18px; font-size: .96rem; color: var(--muted); }
.service .service__rule { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--text); }
.service .more { margin-top: 10px; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Uygulanan testler (fotoğraf + liste) ---------- */
.tests-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.tests-photo { margin: 0; }
.tests-photo__img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.tests-photo img { width: 100%; height: 100%; object-fit: cover; }
.tests-photo figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.tests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; border-top: 1px solid var(--line); }
.test { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.test__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--yellow); transition: background-color .3s var(--ease), color .3s var(--ease); }
.test:hover .test__icon { background: var(--yellow); color: var(--navy); }
.test__icon svg { width: 22px; height: 22px; }
.test h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.test p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 960px) { .tests-wrap { grid-template-columns: 1fr; } .tests-photo__img { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .tests { grid-template-columns: 1fr; } }

/* ---------- Randevu bandı ---------- */
.banner { position: relative; overflow: hidden; color: #fff; padding-block: clamp(64px, 8vw, 96px); }
.banner__bg { position: absolute; inset: 0; z-index: -1; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 37, 69, .86); }
.banner { isolation: isolate; background: var(--navy); }
.banner__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.banner h2 { color: #fff; margin: 0 0 10px; }
.banner p { margin: 0; color: #c9d4e3; max-width: 56ch; }
.banner__phone { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--head-font); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; color: var(--yellow); }
.banner__phone svg { width: 30px; height: 30px; }
.banner__phone:hover { color: #fff; }
@media (max-width: 860px) { .banner__inner { grid-template-columns: 1fr; } }

/* ---------- Randevudan rapora ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.step { padding-top: 22px; border-top: 3px solid var(--line); transition: border-color .4s var(--ease); }
.step:hover { border-top-color: var(--yellow); }
.step h3 { font-size: 1.1rem; margin: 0 0 10px; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.65; }
.process-note { max-width: 880px; margin: 48px auto 0; padding: 18px 26px; border-radius: var(--radius); background: var(--gray); text-align: center; font-size: .97rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Blog kartları ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post h3 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.4; }
.post h3 a { color: var(--navy); }
.post h3 a:hover { color: var(--blue); }
.post p { margin: 0 0 16px; font-size: .95rem; color: var(--muted); }
.post .more { margin-top: auto; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ---------- SSS (akordeon) ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.faq-side { padding: 34px 30px; border-radius: var(--radius); background: var(--navy); color: #c9d4e3; position: sticky; top: calc(var(--header) + 20px); }
.faq-side h3 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.faq-side .section-title__bar { margin: 0 0 18px; }
.faq-side p { margin-bottom: 22px; }
.faq-side .btn { width: 100%; }
.faq-side .btn + .btn { margin-top: 10px; }
.acc { display: grid; gap: 14px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.acc details[open] { border-color: transparent; box-shadow: var(--shadow); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--head-font); font-weight: 600; font-size: 1.02rem; color: var(--navy); }
.acc summary::-webkit-details-marker { display: none; }
.acc details[open] summary { background: var(--navy); color: #fff; }
.acc__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gray); transition: background-color .3s var(--ease); }
.acc details[open] .acc__icon { background: var(--yellow); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--navy); transition: transform .35s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc details[open] .acc__icon::after { transform: rotate(0deg); }
.acc__body { overflow: hidden; }
.acc__body > div { padding: 18px 22px 20px; }
.acc__body p { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- İletişim ve randevu formu ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; align-items: stretch; }
.info { display: grid; gap: 18px; }
@media (min-width: 901px) { .info { grid-auto-rows: 1fr; } }
.info__item { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: #fff; border-radius: var(--radius); box-shadow: 0 6px 20px -14px rgba(11, 37, 69, .3); }
.info__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--yellow); }
.info__icon svg { width: 24px; height: 24px; }
.info__item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.info__item p { margin: 0; }
.info__item a { color: var(--text); font-weight: 600; }
.info__item a:hover { color: var(--blue); }
.form { padding: clamp(26px, 3.4vw, 40px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.form h3 { margin: 0 0 6px; font-size: 1.4rem; }
.form > p { margin: 0 0 22px; color: var(--muted); font-size: .95rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: grid; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-family: var(--head-font); font-size: .88rem; font-weight: 500; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cdd5e0; border-radius: 6px; background: var(--gray); color: var(--text); transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(27, 79, 138, .15); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.form__note { margin: 0; font-size: .85rem; color: var(--muted); max-width: 40ch; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: 1fr; } }
.map-full { height: 420px; background: var(--gray-2); }
.map-full iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Alt bölüm ---------- */
.footer { background: var(--navy); color: #b9c6d8; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-block: 72px 56px; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #8fa1b8; }
.footer h2 { position: relative; margin: 0 0 22px; padding-bottom: 12px; font-size: 1.1rem; color: #fff; }
.footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--yellow); }
.footer p { margin: 0 0 12px; }
.footer .footer__about { margin-top: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #b9c6d8; }
.footer a:hover { color: var(--yellow); }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.footer__links a::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow); transform: rotate(45deg); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--yellow); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease); }
.footer__social a:hover { background: var(--yellow); color: var(--navy); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 22px; font-size: .88rem; }
.footer__bottom p { margin: 0; min-width: 0; }
/* Geliştirici bağlantısı (SelfMute Apps) */
.selfmute { display: inline-flex; flex: none; align-items: center; min-height: 40px; border-radius: 2px; opacity: .8; transition: opacity .2s ease; }
.selfmute:hover, .selfmute:focus-visible { opacity: 1; }
.selfmute:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.selfmute img { display: block; width: 124px; height: auto; }
@media (max-width: 640px) { .selfmute img { width: 96px; } }
/* Sağ alttaki WhatsApp düğmesi sayfa sonunda logonun üstüne binmesin (dar masaüstü ekranlar) */
@media (min-width: 761px) { .footer__bottom .container { padding-right: calc(var(--gut) + clamp(0px, calc(98px - (100vw - var(--container)) / 2), 78px)); } }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Sabit düğmeler (her zaman görünür) ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(16, 110, 58, .7); transition: transform .3s var(--ease), background-color .3s; }
.wa-float:hover { color: #fff; background: #1ebe5a; transform: translateY(-3px); }
.wa-float svg { width: 31px; height: 31px; }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 89; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, background-color .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s; }
.to-top:hover { background: var(--yellow); color: var(--navy); }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 20px -12px rgba(11, 37, 69, .4); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-family: var(--head-font); font-weight: 600; color: #fff; }
.callbar a svg { width: 19px; height: 19px; }
.callbar__call { background: var(--navy); }
.callbar__wa { background: var(--wa-dark); }
@media (max-width: 760px) { .callbar { display: grid; } .wa-float { display: none; } .to-top { bottom: 74px; right: 14px; } body { padding-bottom: 58px; } }

/* ---------- İç sayfa başlığı ---------- */
.page-title { position: relative; isolation: isolate; background: var(--navy); padding-block: clamp(64px, 9vw, 110px); text-align: center; color: #fff; }
.page-title__bg { position: absolute; inset: 0; z-index: -1; }
.page-title__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-title__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 37, 69, .85); }
.page-title h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin: 0 0 14px; }
.crumbs { list-style: none; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 8px 18px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: .92rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; color: #dbe4f0; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--yellow); border-right: 2px solid var(--yellow); transform: rotate(45deg); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--yellow); }

/* ---------- Yazı sayfası ve kenar çubuğu ---------- */
.blog-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.article { background: #fff; }
.article__cover { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; font-size: .9rem; color: var(--muted); }
.article__meta span { display: inline-flex; align-items: center; gap: 8px; }
.article__meta svg { width: 16px; height: 16px; color: var(--yellow-2); }
.article h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin: 1.6em 0 .6em; }
.article ul { list-style: none; padding: 0; }
.article ul li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(242, 183, 5, .25); }
.article ol { padding-left: 1.4em; }
.article ol li { margin-bottom: .6em; padding-left: .3em; }
.article ol li::marker { font-family: var(--head-font); font-weight: 600; color: var(--navy); }
.article blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; background: var(--gray); font-family: var(--head-font); font-size: 1.15rem; font-weight: 500; line-height: 1.6; color: var(--navy); }
.article blockquote p { margin: 0; }
.article a { font-weight: 600; }
.notice { margin-top: 2em; padding: 18px 22px; border-radius: var(--radius); background: #fff8e1; border: 1px solid #f6dd8c; font-size: .95rem; }
.sources { margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: .92rem; }
.sources h2 { margin: 0 0 .6em !important; font-size: 1.15rem !important; }
.sources a { font-weight: 500; overflow-wrap: anywhere; }
.sidebar { display: grid; gap: 28px; }
.widget { padding: 26px; background: var(--gray); border-radius: var(--radius); }
.widget h2 { position: relative; margin: 0 0 20px; padding-bottom: 12px; font-size: 1.15rem; }
.widget h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--yellow); }
.widget--navy { background: var(--navy); color: #c9d4e3; }
.widget--navy h2 { color: #fff; }
.widget--navy .banner__phone { font-size: 1.6rem; margin-bottom: 14px; }
.widget--navy .btn { width: 100%; }
.mini-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mini-posts a { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; color: var(--navy); font-family: var(--head-font); font-size: .95rem; font-weight: 500; line-height: 1.4; }
.mini-posts img { width: 80px; height: 64px; object-fit: cover; border-radius: 6px; }
.mini-posts a:hover { color: var(--blue); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.cat-list a:hover { color: var(--blue); padding-left: 6px; }
.cat-list a { transition: padding .3s var(--ease), color .3s var(--ease); }
@media (max-width: 1000px) { .blog-layout { grid-template-columns: 1fr; } }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery figure { margin: 0; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(11, 37, 69, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 42px no-repeat; opacity: 0; transition: opacity .4s var(--ease); }
.gallery a:hover::after { opacity: 1; }
.gallery a:hover img { transform: scale(1.06); }
.gallery figcaption { margin-top: 12px; text-align: center; font-family: var(--head-font); font-weight: 500; color: var(--navy); }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 20, 38, .95); color: #fff; }
.lightbox::backdrop { background: rgba(8, 20, 38, .7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: #c9d4e3; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 76px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; transition: opacity .3s var(--ease); }
.lightbox__stage img.is-loading { opacity: 0; }
.lightbox__caption { text-align: center; padding: 14px 20px 22px; font-family: var(--head-font); }
.lb-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.lb-btn:hover { background: var(--yellow); color: var(--navy); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -25px; }
.lb-prev { left: 16px; } .lb-prev svg { transform: scaleX(-1); }
.lb-next { right: 16px; }
@media (max-width: 640px) { .lightbox__stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: 10px; margin-top: 0; background: rgba(8, 20, 38, .6); } .lb-prev { left: 18px; } .lb-next { right: 18px; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound__code { font-family: var(--head-font); font-size: clamp(5rem, 3rem + 9vw, 9rem); font-weight: 700; line-height: 1; color: var(--navy); margin: 0 0 10px; }
.notfound__code span { color: var(--yellow); }
.notfound .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Kaydırınca beliren öğeler ---------- */
.js [data-anim] { opacity: 0; transform: translateY(30px); }
.js [data-anim="left"] { transform: translateX(-34px); }
.js [data-anim="right"] { transform: translateX(34px); }
.js [data-anim].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-anim] { opacity: 1; transform: none; }
  .slide__bg img { animation: none !important; }
  .slide__content > * { opacity: 1 !important; transform: none !important; }
}
@media print {
  .topbar, .header, .offcanvas, .callbar, .wa-float, .to-top, .map-full, .footer { display: none !important; }
  .js [data-anim] { opacity: 1; transform: none; }
}
