/* ==========================================================================
   Psikolog — tek sayfalık tanıtım sitesi
   Düz pastel tasarım: parlama, renk geçişi ve bulanıklık yok; yalnızca düz
   renkler ve şekiller. Renkler :root içindeki değişkenlerden yönetilir.
   ========================================================================== */

:root {
  /* Zemin ve metin */
  --bg: #fffcf7;
  --paper: #ffffff;
  --ink: #1f2248;
  --ink-2: #2e3370;
  --ink-soft: #4e5277;
  --muted: #6e7294;
  --line: #ebe7f3;
  --line-strong: #dcd6ea;

  /* Pastel palet: mavi · pembe · sarı (+ lavanta ve mint ara tonlar) */
  --blue: #a9d4f5;   --blue-soft: #eaf4fd;   --blue-deep: #3a78b8;
  --pink: #f7b9cf;   --pink-soft: #fdeef3;   --pink-deep: #b8466f;
  --yellow: #ffe08a; --yellow-soft: #fff6d9; --yellow-deep: #946b06;
  --lav: #cdbbf7;    --lav-soft: #f3eefe;    --lav-deep: #6a52c4;
  --mint: #9be0c0;   --mint-soft: #e8f8f0;   --mint-deep: #267a56;
  --lav-mid: #e6ddfc;

  /* Koyu randevu bölümünün tonları */
  --dark-card: #2a2e60;
  --dark-field: #22265a;
  --dark-line: #3d4280;

  --shadow-sm: 0 1px 2px rgba(31, 34, 72, .06);
  --radius: 18px;
  --radius-lg: 28px;
  /* Üstü yarım daire (kemer) biçimli çerçeve — 4:5 oranlı kutular için */
  --arch: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* Kartlara/rozetlere renk atamak için vurgu sınıfları */
.acc-blue   { --c: var(--blue);   --c-soft: var(--blue-soft);   --c-deep: var(--blue-deep); }
.acc-pink   { --c: var(--pink);   --c-soft: var(--pink-soft);   --c-deep: var(--pink-deep); }
.acc-yellow { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-deep: var(--yellow-deep); }
.acc-lav    { --c: var(--lav);    --c-soft: var(--lav-soft);    --c-deep: var(--lav-deep); }
.acc-mint   { --c: var(--mint);   --c-soft: var(--mint-soft);   --c-deep: var(--mint-deep); }

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.noScroll { overflow: hidden; }
html:has(dialog[open]) { overflow: hidden; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
p { line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
svg { flex-shrink: 0; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lav-deep); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

section { padding: 120px 0; position: relative; overflow: hidden; }
section > .container { position: relative; z-index: 1; }
@media (max-width: 768px) { section { padding: 84px 0; } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* Başlıklardaki vurgulu kelimeler: italik + arkasında düz pastel fosforlu kalem şeridi.
   Şerit rengi bölüme göre --hl ile değişir. */
h1 em, h2 em, h3 em, .heroTagline em {
  font-style: italic;
  background: linear-gradient(transparent 56%, var(--hl, var(--yellow)) 56%, var(--hl, var(--yellow)) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .1em;
}
.hero         { --hl: var(--yellow); }
.about        { --hl: var(--pink); }
.process      { --hl: var(--blue); }
.student      { --hl: var(--yellow); }
.contact      { --hl: var(--pink); }

/* ---------- Kaydırınca beliren içerik ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- Dekoratif şekiller ---------- */
.shape { position: absolute; z-index: 0; display: block; pointer-events: none; }
.shape svg { display: block; width: 100%; height: 100%; }

/* ---------- Ortak parçalar ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-deep, var(--pink-deep));
  box-shadow: 0 0 0 3px var(--c, var(--pink));
}
.dot.live { background: var(--mint-deep); box-shadow: 0 0 0 3px var(--mint); }

.sectionHead { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.sectionHead .eyebrow { margin-bottom: 20px; }
.sectionHead h2 { font-size: clamp(38px, 4.6vw, 60px); margin-bottom: 18px; }
.sectionHead > p { color: var(--ink-soft); font-size: 17px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .2s ease, background-color .2s, color .2s, border-color .2s;
}
.btnPrimary { background: var(--ink); color: #fff; }
.btnPrimary:hover { background: var(--ink-2); transform: translateY(-2px); }
.btnGhost { background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }
.btnGhost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btnArr { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .btnArr { transform: translateX(3px); }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 27px; white-space: nowrap; flex-shrink: 0; }
.logoMark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--yellow); }
.logoMark svg { width: 30px; height: 30px; }
.logoText { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
/* İsim, kalın versiyonu olan Newsreader ile yazılır (Instrument Serif'in tek kalınlığı var) */
.logoText > span { font-family: "Newsreader", var(--serif); font-weight: 600; font-size: .9em; letter-spacing: -.01em; }
.logoText small { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 400px) { .logo { font-size: 24px; } .logoText small { font-size: 10.5px; } }

/* ---------- Üst menü ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s;
}
.nav.scrolled { border-bottom-color: var(--line); padding: 12px 0; }
.navInner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navLinks { display: flex; gap: 34px; font-size: 14.5px; color: var(--ink-soft); }
.navLinks a { position: relative; transition: color .2s; }
.navLinks a:hover, .navLinks a.active, .navLinks a[aria-current="page"] { color: var(--ink); }
.navLinks a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 3px; border-radius: 3px;
  background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.navLinks a:hover::after, .navLinks a.active::after, .navLinks a[aria-current="page"]::after { transform: scaleX(1); }
.navActions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navStudentBtn {
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap;
  background: var(--yellow); color: var(--ink);
  transition: transform .2s, background-color .2s;
}
.navStudentBtn:hover { background: #ffd666; transform: translateY(-1px); }
.navCta {
  padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap;
  background: var(--ink); color: #fff; transition: transform .2s, background-color .2s;
}
.navCta:hover { background: var(--ink-2); transform: translateY(-1px); }
.navToggle { display: none; padding: 8px; margin-right: -8px; }
.navToggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 1180px) { .navLinks { gap: 24px; } }
@media (max-width: 1040px) {
  .navLinks, .navActions { display: none; }
  .navToggle { display: block; }
}

/* Mobil menü */
.mobileMenu {
  position: fixed; inset: 0; z-index: 110; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .45s;
}
.mobileMenu.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.mobileMenu::before, .mobileMenu::after { content: ""; position: absolute; border-radius: 50%; }
.mobileMenu::before { top: -90px; right: -70px; width: 220px; height: 220px; background: var(--blue); }
.mobileMenu::after { bottom: -110px; left: -80px; width: 250px; height: 250px; background: var(--yellow); }
.mobileMenu a { position: relative; z-index: 1; font-family: var(--serif); font-size: 32px; transition: color .2s; }
.mobileMenu a:hover { color: var(--pink-deep); }
.mobileMenu .mobileCtaBtn {
  margin-top: 8px; padding: 16px 40px; border-radius: 999px;
  background: var(--ink); color: #fff; font: 500 16px var(--sans);
}
.mobileMenu .mobileCtaBtn:hover { color: #fff; background: var(--ink-2); }
.mobileClose { position: absolute; z-index: 1; top: 16px; right: 16px; padding: 12px; }
.mobileClose svg { width: 26px; height: 26px; display: block; }

/* ---------- Giriş (hero) ---------- */
.hero { padding: 150px 0 96px; }
.heroSpark { top: 132px; left: 46%; width: 34px; height: 34px; color: var(--yellow); }
.heroSemi { bottom: 0; left: 47%; width: 180px; height: 90px; border-radius: 110px 110px 0 0; background: var(--pink); }

.heroGrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.heroH1 { font-size: clamp(44px, 5.4vw, 78px); margin: 22px 0 16px; }
.heroTagline { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; color: var(--ink-soft); margin-bottom: 22px; }
.heroTagline em { color: var(--ink); }
.heroLede { font-size: 18px; color: var(--ink-soft); max-width: 540px; margin-bottom: 40px; }
.heroCtas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.heroMeta { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.heroMeta div { display: flex; flex-direction: column; gap: 4px; }
.heroMeta b { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.1; }
.heroMeta span { font-size: 12px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

/* Portre: kemer çerçeve + arkasında düz sarı kemer, pembe daire, noktalar ve yıldız */
.portraitWrap { position: relative; width: 100%; max-width: 480px; justify-self: end; }
.archBack { position: absolute; inset: 0; z-index: 0; border-radius: var(--arch); background: var(--yellow); transform: translate(22px, 22px); }
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco1 { width: 110px; height: 110px; top: 2%; left: -34px; border-radius: 50%; background: var(--pink); }
.deco2 {
  width: 150px; height: 150px; right: -48px; bottom: -52px;
  background-image: radial-gradient(var(--lav-deep) 1.6px, transparent 1.8px);
  background-size: 16px 16px; opacity: .4;
}
.deco3 { z-index: 2; width: 46px; height: 46px; top: 3%; right: 4%; color: var(--blue); }
.deco3 svg { width: 100%; height: 100%; display: block; }

.portrait { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--blue-soft); }
.portraitPh { position: absolute; inset: 0; background: var(--blue-soft); }
.portraitPh svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.phHalo { fill: var(--pink); }
.phBody { fill: var(--blue); }
/* Yüz fotoğrafta biraz sağda olduğu için yatay konum %62: yüz çerçevenin ortasına gelir */
.portraitImg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
/* Arka planı kesilmiş fotoğraf: çerçevenin altına oturur, silüet gizlenir, pembe halka başın arkasında kalır */
.portraitTag {
  position: absolute; z-index: 3; left: -22px; bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.portraitTagAvatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--lav);
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink);
}
.portraitTagText small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.portraitTagText b { font-weight: 500; font-size: 14px; }

@media (max-width: 980px) {
  .hero { padding: 124px 0 72px; }
  .heroGrid { grid-template-columns: 1fr; gap: 64px; }
  .portraitWrap { justify-self: center; max-width: 420px; }
}

/* ---------- Hakkımda ---------- */
.about { background: var(--blue-soft); }
.aboutDot { top: 80px; right: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--yellow); }
.aboutGrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.aboutBio h2 { font-size: clamp(38px, 4.5vw, 56px); margin: 20px 0 24px; }
.aboutBio > p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; }
.aboutSign { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 28px; }
.signLine { display: block; width: 104px; height: 24px; margin-top: 2px; color: var(--pink); }

.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.credential {
  position: relative; overflow: hidden;
  padding: 20px 20px 20px 24px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.credential::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--c);
}
.credential small { font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.credential p { font-size: 14.5px; font-weight: 500; line-height: 1.4; margin-top: 6px; }

.areasTitle { font-size: clamp(30px, 3.2vw, 40px); margin: 20px 0 28px; }
.specialties { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.specCard {
  position: relative; overflow: hidden;
  padding: 28px 26px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s;
}
/* Köşede düz pastel çeyrek daire */
.specCard::after {
  content: ""; position: absolute; top: -38px; right: -38px; width: 104px; height: 104px; border-radius: 50%;
  background: var(--c); transition: transform .35s ease;
}
.specCard:hover { transform: translateY(-4px); border-color: var(--c); }
.specCard:hover::after { transform: scale(1.18); }
.specCard > * { position: relative; z-index: 1; }
.specNum { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--c-deep); margin-bottom: 12px; }
.specCard h4 { font-size: 25px; margin-bottom: 8px; }
.specCard p { font-size: 14.5px; color: var(--ink-soft); }
.specCardWide { grid-column: span 2; }

@media (max-width: 980px) { .aboutGrid { grid-template-columns: 1fr; gap: 64px; } }
@media (max-width: 560px) {
  .specialties { grid-template-columns: 1fr; }
  .specCardWide { grid-column: auto; }
}
@media (max-width: 480px) { .credentials { grid-template-columns: 1fr; } }

/* ---------- Terapi süreci ---------- */
.process { background: var(--yellow-soft); }
.procSemi { left: -80px; top: 120px; width: 160px; height: 160px; border-radius: 50%; background: var(--blue); }
.procSpark { top: 128px; right: 16%; width: 36px; height: 36px; color: var(--pink); }
.processGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; padding: 40px 32px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .4s ease, border-color .4s;
}
.step:hover { transform: translateY(-6px); border-color: var(--c); }
.stepNum {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  margin-bottom: 28px;
  background: var(--c); color: var(--ink);
  box-shadow: 0 0 0 6px var(--c-soft);
  font-family: var(--serif); font-style: italic; font-size: 23px;
}
.step h3 { font-size: 29px; margin-bottom: 12px; }
.step > p { color: var(--ink-soft); font-size: 15px; }
.stepMeta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line-strong);
  font-size: 13px; color: var(--muted);
}
.stepMeta svg { width: 16px; height: 16px; color: var(--c-deep); }

@media (max-width: 900px) { .processGrid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Randevu (koyu bölüm) ---------- */
.appointment { background: var(--ink); color: #fff; }
.apptQuarter { left: -130px; bottom: -130px; width: 260px; height: 260px; border-radius: 50%; background: var(--pink); z-index: 3; pointer-events: auto; }

/* ---------- Penguen (pembe dairenin arkasından bakar) ----------
   Dairenin ortasından sağa yatık çıkar: kutu alt ortasından döndürülür. left/bottom değerleri,
   göz hizası dairenin kenarına (54° noktası) denk gelecek şekilde hesaplandı. */
.penguin {
  --pgLift: 30px;
  position: absolute; z-index: 2; left: -35px; bottom: 39px; width: 140px;
  transform: rotate(32deg); transform-origin: 50% 100%;
  pointer-events: none; -webkit-tap-highlight-color: transparent;
}
.pgBody { transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
.penguin svg { display: block; width: 100%; height: auto; overflow: visible; }
.penguin svg * { transform-box: fill-box; pointer-events: visiblePainted; cursor: pointer; }
.pgEyesOpen { transform-origin: center; animation: pgBlink 5s infinite; }
.pgLook { transition: transform .25s ease-out; }
.pgEyesHappy { opacity: 0; }
.pgCheek { opacity: .55; transform-origin: center; transition: opacity .3s, transform .3s; }
.pgBow { transform-origin: 30% 50%; }
.pgWingL { transition: opacity .12s; }
/* El sallayan kanat: normalde gizli, hover'da aşağıdan kalkar */
.pgWave { opacity: 0; transform-origin: 90% 94%; transform: rotate(-110deg); transition: opacity .12s, transform .35s ease; }

/* Fark etme: dairenin arkasından çıkar, başını hafifçe eğer, el sallar */
.penguin:hover .pgBody { transform: translateY(calc(var(--pgLift) * -1)) rotate(-6deg); animation: pgNotice .6s ease-out; }
.penguin:hover .pgCheek { opacity: 1; transform: scale(1.15); }
.penguin:hover .pgBow { animation: pgWiggle .5s ease-in-out .15s; }
.penguin:hover .pgWingL { opacity: 0; }
.penguin:hover .pgWave { opacity: 1; transform: rotate(-18deg); animation: pgWave .6s ease-in-out .35s infinite; }

/* Tıklayınca: gözler gülümser, kalpler çıkar */
.penguin.love .pgEyesOpen { opacity: 0; }
.penguin.love .pgEyesHappy { opacity: 1; }
.penguin.love .pgCheek { opacity: 1; transform: scale(1.25); }
.pgHeart { position: absolute; z-index: 4; width: 22px; height: 22px; pointer-events: none; animation: pgHeartUp 1.6s ease-out both; }
.pgHeart svg { display: block; width: 100%; height: 100%; }

@keyframes pgBlink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes pgNotice {
  0%   { transform: none; }
  55%  { transform: translateY(calc(var(--pgLift) * -1.25)) rotate(-3deg); }
  100% { transform: translateY(calc(var(--pgLift) * -1)) rotate(-6deg); }
}
@keyframes pgWiggle { 0%, 100% { transform: none; } 30% { transform: rotate(-12deg); } 65% { transform: rotate(8deg); } }
@keyframes pgWave { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(-42deg); } }
@keyframes pgHeartUp {
  0%   { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0); }
  15%  { opacity: 1; transform: translate(calc(var(--x) * .2), -14px) scale(1) rotate(calc(var(--r) * .3)); }
  100% { opacity: 0; transform: translate(var(--x), -130px) scale(.8) rotate(var(--r)); }
}
.apptDot { top: 72px; right: 7%; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); }
.apptRing { top: 80px; left: 30%; width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--blue); }

.apptGrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.apptCopy .eyebrow { background: transparent; border-color: var(--dark-line); color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.apptH2 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 20px; }
.apptH2 em { background: none; padding: 0; color: var(--yellow); }
.apptCopy > p { color: rgba(255, 255, 255, .74); font-size: 17px; }
.apptBullets { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.apptBullets li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); font-size: 15px; }
.checkIcon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--blue); color: var(--ink); }
.apptBullets li:nth-child(2) .checkIcon { background: var(--pink); }
.apptBullets li:nth-child(3) .checkIcon { background: var(--yellow); }
.apptBullets li:nth-child(4) .checkIcon { background: var(--mint); }
.checkIcon svg { width: 13px; height: 13px; }

.formCard {
  position: relative; padding: 44px; border-radius: var(--radius-lg);
  background: var(--dark-card); border: 1px solid var(--dark-line);
}
.formHead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.formHead h3 { font-size: 28px; }
.formBadge {
  font-size: 11px; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--pink); color: var(--ink);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
}

.field { margin-bottom: 18px; min-width: 0; }
.field > label, .field > .label {
  display: block; margin-bottom: 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  color: rgba(255, 255, 255, .6);
}
.opt { text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, .4); font-weight: 400; }
.input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: var(--dark-field); border: 1px solid var(--dark-line);
  color: #fff; font: 15px var(--sans);
  transition: border-color .2s;
}
.input:focus { outline: none; border-color: var(--pink); }
.input::placeholder { color: rgba(255, 255, 255, .38); }
.input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px var(--dark-field) inset;
  caret-color: #fff;
}
textarea.input { resize: vertical; min-height: 110px; }
.fieldRow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--dark-line); background: transparent;
  font-size: 14px; color: rgba(255, 255, 255, .82);
  transition: background-color .2s, border-color .2s, color .2s;
}
.pill:hover span { border-color: rgba(255, 255, 255, .4); }
.pill input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--ink); font-weight: 500; }
.pill input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.timePills { display: grid; grid-template-columns: repeat(3, 1fr); }
.timePills .pill span { display: block; padding: 10px 8px; border-radius: 16px; text-align: center; line-height: 1.35; }
.timePills small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
@media (max-width: 420px) { .timePills { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); cursor: pointer; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--pink); cursor: pointer; }
.consent a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

.submitBtn {
  width: 100%; margin-top: 22px; padding: 18px 24px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: var(--ink); font-weight: 500; font-size: 15px;
  transition: transform .2s, background-color .2s;
}
.submitBtn:hover:not(:disabled) { background: var(--pink); transform: translateY(-2px); }
.submitBtn:disabled { opacity: .7; cursor: progress; }
.submitBtn .arrow { width: 16px; height: 16px; }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(31, 34, 72, .2); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.submitBtn.loading .arrow { display: none; }
.submitBtn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(1turn); } }

.formError {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px;
  background: rgba(247, 185, 207, .12); border: 1px solid rgba(247, 185, 207, .3); color: #ffd3e1;
}
.formError a { text-decoration: underline; }
.formNote { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .5); text-align: center; }

.formSuccess {
  position: absolute; inset: 0; z-index: 10;
  display: grid; place-items: center; padding: 32px; text-align: center;
  border-radius: var(--radius-lg);
  background: var(--dark-card);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s;
}
.formSuccess.show { opacity: 1; visibility: visible; transition: opacity .4s; }
.successCheck {
  width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: var(--mint);
}
.successCheck svg { width: 34px; height: 34px; }
.formSuccess h3 { font-size: 34px; margin-bottom: 12px; }
.formSuccess p { max-width: 340px; margin: 0 auto; font-size: 15px; color: rgba(255, 255, 255, .74); }
.successClose { margin-top: 24px; padding: 12px 28px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14px; transition: background-color .2s; }
.successClose:hover { background: rgba(255, 255, 255, .1); }

@media (max-width: 980px) {
  .apptGrid { grid-template-columns: 1fr; gap: 48px; }
  .appointment { padding-bottom: 240px; } /* penguen formun üstüne binmesin */
}
@media (max-width: 540px) {
  .formCard { padding: 26px 22px; }
  .fieldRow { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Öğrenci desteği ---------- */
.student { background: var(--lav-mid); }
.ssBlob { top: -90px; right: -80px; width: 360px; height: 360px; color: var(--yellow); }
.ssDot { bottom: 64px; left: 3%; width: 64px; height: 64px; border-radius: 50%; background: var(--pink); }
.ssSquiggle { bottom: 92px; left: 36%; width: 110px; height: 26px; color: #fff; }

.ssGrid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.ssBrand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
/* Bulutta oturan mezun penguen: yavaşça süzülür, üzerine gelince gülümser */
.pgCloud { width: 170px; margin: 0 0 4px -12px; }
.pgCloud svg { display: block; width: 100%; height: auto; overflow: visible; }
.pgCloud svg * { transform-box: fill-box; }
.pgFloat { animation: pgFloat 5s ease-in-out infinite; }
.pgTassel { transform-origin: 5% 10%; }
.pgCloud:hover .pgEyesOpen { opacity: 0; }
.pgCloud:hover .pgEyesHappy { opacity: 1; }
.pgCloud:hover .pgCheek { opacity: 1; transform: scale(1.15); }
.pgCloud:hover .pgTassel { animation: pgTassel .8s ease-in-out; }
@keyframes pgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pgTassel { 0%, 100% { transform: none; } 30% { transform: rotate(-14deg); } 65% { transform: rotate(8deg); } }
.ssH2 { font-size: clamp(38px, 4.5vw, 56px); }
.ssCard { padding: 44px; border-radius: var(--radius-lg); background: var(--paper); }
.ssDesc { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 28px; }
.ssFeatures { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.ssFeature { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.ssFeatureIcon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; background: var(--lav-soft); }
.ssBtn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px 24px; border-radius: 14px;
  background: #25d366; color: var(--ink); font-weight: 600; font-size: 15px;
  transition: transform .2s, background-color .2s;
}
.ssBtn:hover { background: #3ee07c; transform: translateY(-2px); }
.ssBtn .ssWa { width: 20px; height: 20px; }
.ssBtn svg { width: 16px; height: 16px; transition: transform .2s; }
.ssBtn:hover svg:last-child { transform: translateX(3px); }
.ssNote { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

@media (max-width: 980px) { .ssGrid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 540px) { .ssCard { padding: 28px 22px; } }

/* ---------- Sertifikalar sayfası ---------- */
.pageHero { padding: 150px 0 72px; background: var(--blue-soft); --hl: var(--yellow); }
/* Sertifikalar başlığı: pembe iglo ve önünde akademisyen penguen */
.pgScene { position: absolute; z-index: 2; bottom: 0; right: 12%; width: 380px; }
.pgScene svg { display: block; width: 100%; height: auto; }
.pgScene .pgCheek { transform-box: fill-box; }
.pgScene .pgStand { transition: translate .35s cubic-bezier(.3, 1.4, .5, 1); }
.pgScene:hover .pgStand { translate: 0 -8px; }
.pgScene:hover .pgEyesOpen { opacity: 0; }
.pgScene:hover .pgEyesHappy { opacity: 1; }
.pgScene:hover .pgCheek { opacity: 1; transform: scale(1.15); }
.pageHero .heroSpark { left: auto; right: 30%; top: 140px; }
.backLink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.backLink svg { width: 16px; height: 16px; transform: rotate(180deg); }
.backLink:hover { color: var(--ink); }
.pageHero .eyebrow { display: flex; width: fit-content; }
.pageH1 { font-size: clamp(44px, 5.4vw, 72px); margin: 20px 0 16px; }
.pageLede { max-width: 560px; font-size: 17px; color: var(--ink-soft); }

.certs { padding-top: 64px; background: var(--bg); }
.certGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.certCard {
  display: flex; flex-direction: column; text-align: left; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s;
}
.certCard:hover { transform: translateY(-4px); border-color: var(--c); }
.certThumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--c-soft); border-bottom: 1px solid var(--line); }
.certPh { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-deep); }
.certPh::before { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: var(--c); }
.certPh svg { position: relative; width: 42px; height: 42px; }
.certThumb img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14px; object-fit: contain; background: var(--c-soft); }
.certBody { display: block; padding: 22px 24px 26px; }
.certBody small { display: block; margin-bottom: 8px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.certBody b { display: block; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; }
.certCta { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.certCta p { font-family: var(--serif); font-size: 30px; }

.certModal { max-width: 900px; }
.certModal h2 { font-size: 28px; }
.certModalImg { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.certModalEmpty { padding: 48px 20px; border-radius: 14px; background: var(--blue-soft); text-align: center; }

@media (max-width: 980px) { .certGrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .certGrid { grid-template-columns: 1fr; } .pageHero { padding: 120px 0 56px; } }

/* ---------- İletişim ---------- */
.contact { background: var(--bg); }
.contactSpark { top: 110px; right: 20%; width: 34px; height: 34px; color: var(--pink); }
.contactGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contactInfo { padding: 44px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.contactInfo h3 { font-size: 34px; margin-bottom: 8px; }
.contactInfo > p { color: var(--ink-soft); margin-bottom: 24px; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.channel {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 16px 18px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.channel:hover { transform: translateY(-2px); border-color: var(--c); }
.channel > span:last-child { min-width: 0; }
.channelIcon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--c); color: var(--c-deep); }
.channelIcon svg { width: 20px; height: 20px; }
.channel small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.channel b { display: block; font-weight: 500; font-size: 14px; overflow-wrap: break-word; }
/* Instagram ve uzun e-posta adresi kesilmesin diye tam genişlik */
.channelWide { grid-column: 1 / -1; }

.infoLine { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.infoLine:last-child { border-bottom: 1px solid var(--line); }
.ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--c-soft); color: var(--c-deep); }
.ico svg { width: 17px; height: 17px; }
.infoLine small { display: block; margin-bottom: 4px; font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.infoLine p { font-size: 14.5px; line-height: 1.55; }

.map { position: relative; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--blue-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 980px) {
  .contactGrid { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
}
@media (max-width: 540px) { .contactInfo { padding: 28px 22px; } }
@media (max-width: 480px) { .channels { grid-template-columns: 1fr; } }

/* ---------- Alt bilgi ---------- */
.footer { position: relative; padding: 84px 0 32px; background: var(--ink); color: rgba(255, 255, 255, .72); }
/* Üstte dört düz renkten oluşan şerit */
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--lav) 25% 50%, var(--pink) 50% 75%, var(--yellow) 75% 100%);
}
.footGrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer .logo { color: #fff; }
.footer .logoText small { color: rgba(255, 255, 255, .7); }
.footBrand p { max-width: 320px; margin-top: 16px; font-size: 14px; }
.footTitle { margin-bottom: 18px; font: 500 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footCol ul { display: flex; flex-direction: column; gap: 10px; }
.footCol a { font-size: 14px; color: rgba(255, 255, 255, .78); transition: color .2s; }
.footCol a:hover { color: var(--pink); }
.footEmergency {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
  padding: 14px 18px; border-radius: 14px; font-size: 13px; line-height: 1.55;
  background: var(--dark-card); border: 1px solid var(--dark-line);
}
.footEmergency svg { width: 18px; height: 18px; color: var(--yellow); }
.footEmergency a { color: var(--yellow); font-weight: 600; }
.footBottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 26px; border-top: 1px solid var(--dark-line); font-size: 12.5px; }
.footSocials { display: flex; gap: 10px; }
.footSocials a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--dark-line); color: rgba(255, 255, 255, .75);
  transition: background-color .2s, border-color .2s, color .2s;
}
.footSocials a:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.footSocials svg { width: 16px; height: 16px; }

@media (max-width: 880px) { .footGrid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .footGrid { grid-template-columns: 1fr; } }

/* ---------- Alt bilgide WhatsApp pankartı tutan penguen ----------
   Sağ altta durur, gövdesi sayfanın alt kenarında kesilir. Yanındaki kutular ona yer bırakır. */
.footer .container { position: relative; }
.footEmergency, .footBottom { margin-right: 190px; }
.pgSign {
  position: absolute; right: 20px; bottom: -32px; width: 165px; display: block;
  pointer-events: none; -webkit-tap-highlight-color: transparent;
}
.pgSign svg { display: block; width: 100%; height: auto; }
.pgSign svg * { transform-box: fill-box; pointer-events: visiblePainted; }
.pgRise { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.pgBoard { transform-origin: 50% 73%; transform: rotate(-4deg); } /* pankart, tuttuğu yerden döner */
.pgSign .pgWingR { transform-origin: 10% 10%; }
.pgSign:hover .pgRise, .pgSign:focus-visible .pgRise { transform: translateY(-10px); }
.pgSign:hover .pgBoard, .pgSign:focus-visible .pgBoard { animation: pgShake .9s ease-in-out infinite; }
.pgSign:hover .pgWingR, .pgSign:focus-visible .pgWingR { animation: pgFlap .45s ease-in-out infinite alternate; }
.pgSign:hover .pgEyesOpen, .pgSign:focus-visible .pgEyesOpen { opacity: 0; }
.pgSign:hover .pgEyesHappy, .pgSign:focus-visible .pgEyesHappy { opacity: 1; }
.pgSign:hover .pgCheek, .pgSign:focus-visible .pgCheek { opacity: 1; transform: scale(1.15); }
@keyframes pgShake { 0%, 100% { transform: rotate(-4deg); } 25% { transform: rotate(-11deg); } 75% { transform: rotate(4deg); } }
@keyframes pgFlap { from { transform: none; } to { transform: rotate(-26deg); } }

@media (max-width: 640px) {
  .footEmergency, .footBottom { margin-right: 0; }
  .pgSign { position: relative; right: auto; bottom: auto; width: 150px; margin: 12px -6px -32px auto; }
}

/* ---------- WhatsApp butonu ----------
   4 saniyede bir düz halkalar yayıp hafifçe sallanır; yanında "Bana Ulaşın!" baloncuğu durur. */
.floater {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; gap: 14px;
  transition: opacity .3s, visibility .3s;
}
.floater.hide { opacity: 0; visibility: hidden; }
.floaterBtn {
  position: relative; flex-shrink: 0;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(31, 34, 72, .15);
  transition: transform .2s;
  animation: waNudge 4s ease-in-out 2s infinite;
}
.floaterBtn svg { width: 26px; height: 26px; }
.floater:hover .floaterBtn { transform: scale(1.06); }
/* Dalga halkaları */
.floaterBtn::before, .floaterBtn::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 3px solid #25d366; opacity: 0; pointer-events: none;
  animation: waRing 4s ease-out 2s infinite;
}
.floaterBtn::after { animation-delay: 2.3s; }
/* Baloncuk: tıklanınca o da WhatsApp'ı açar */
.floaterBubble {
  position: relative; padding: 9px 16px; border-radius: 999px;
  background: #fff; color: var(--ink); border: 2px solid var(--ink);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transform-origin: right center;
  animation: bubbleIn .45s cubic-bezier(.3, 1.5, .5, 1) 1.2s both, bubbleHop 4s ease-in-out 2s infinite;
}
.floaterBubble::after {
  content: ""; position: absolute; right: -7px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  background: #fff; border: 2px solid var(--ink); border-left: 0; border-bottom: 0;
  transform: rotate(45deg);
}
@keyframes waRing {
  0%   { opacity: .9; transform: scale(1); }
  35%  { opacity: 0; transform: scale(2); }
  100% { opacity: 0; transform: scale(2); }
}
@keyframes waNudge {
  0%, 24%, 100% { rotate: 0deg; scale: 1; }
  4%  { rotate: -14deg; scale: 1.1; }
  9%  { rotate: 12deg; scale: 1.1; }
  14% { rotate: -8deg; scale: 1.05; }
  19% { rotate: 5deg; scale: 1; }
}
@keyframes bubbleIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes bubbleHop { 0%, 14%, 100% { translate: 0 0; } 5% { translate: 0 -6px; } 10% { translate: 0 1px; } }
@media (max-width: 640px) {
  .floater { right: 16px; bottom: 16px; gap: 10px; }
  .floaterBtn { width: 54px; height: 54px; }
  .floaterBubble { padding: 8px 13px; font-size: 13px; }
}

/* ---------- Yasal metin pencereleri ---------- */
.modal {
  width: calc(100% - 32px); max-width: 640px; max-height: min(82vh, 760px);
  margin: auto; padding: 0; border: 0; border-radius: 24px;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink);
}
.modal[open] { animation: modalIn .3s ease; }
.modal::backdrop { background: rgba(31, 34, 72, .5); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } }
.modalInner { padding: 0 40px 36px; }
.modalHead {
  position: sticky; top: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 36px 0 16px; background: var(--paper);
}
.modal h2 { font-size: 34px; }
.modal h3 { margin: 22px 0 6px; font: 600 15px var(--sans); }
.modal p { font-size: 14.5px; color: var(--ink-soft); }
.modal a { color: var(--blue-deep); text-decoration: underline; }
.modalClose { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--lav-soft); transition: background-color .2s; }
.modalClose:hover { background: var(--lav); }
.modalClose svg { width: 20px; height: 20px; }
@media (max-width: 540px) {
  .modalInner { padding: 0 22px 28px; }
  .modalHead { padding-top: 26px; }
  .modal h2 { font-size: 28px; }
}

/* ---------- Küçük ekranlarda şekiller ---------- */
@media (max-width: 640px) {
  .heroSpark { top: 84px; left: auto; right: 24px; width: 28px; height: 28px; }
  .heroSemi { left: auto; right: -30px; width: 160px; height: 80px; }
  .archBack { transform: translate(14px, 14px); }
  .deco1 { width: 84px; height: 84px; left: -22px; }
  .deco2 { right: -20px; bottom: -34px; width: 120px; height: 120px; }
  /* Küçük ekranda isim kartı yüzü örtmesin: çerçevenin altına */
  .portraitTag { left: -6px; bottom: -26px; }
  .aboutDot { top: 24px; right: -30px; width: 80px; height: 80px; }
  .procSemi { top: 16px; left: -55px; width: 110px; height: 110px; }
  .procSpark { top: 40px; right: 24px; width: 28px; height: 28px; }
  .apptQuarter { left: -90px; bottom: -90px; width: 180px; height: 180px; }
  .penguin { --pgLift: 22px; left: -30px; bottom: 23px; width: 104px; }
  .appointment { padding-bottom: 180px; }
  .apptDot { top: 40px; width: 40px; height: 40px; }
  .apptRing, .ssSquiggle { display: none; }
  .ssBlob { top: -60px; right: -70px; width: 220px; height: 220px; }
  .ssDot { width: 44px; height: 44px; bottom: 36px; }
  .pgScene { right: -24px; width: 250px; }
  .pageHero { padding-bottom: 170px; }
  .contactSpark { top: 36px; right: 24px; width: 28px; height: 28px; }
}

/* ---------- Hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .modal[open] { animation: none; }
  .pgEyesOpen, .penguin:hover .pgBody, .penguin:hover .pgBow, .penguin:hover .pgWave,
  .pgSign:hover .pgBoard, .pgSign:hover .pgWingR { animation: none; }
  .floaterBtn, .floaterBtn::before, .floaterBtn::after, .floaterBubble { animation: none; }
  .pgFloat, .pgCloud:hover .pgTassel { animation: none; }
}
