/* =====================================================================
   Medis Matematik — telefon ve tablet kabuğu (uygulama görünümü)
   Bu dosyadaki TÜM kurallar medya sorgularının içindedir; geniş ekranı etkilemez.
   - en çok 900px: uygulama kabuğu (üst çubuk, alt sekme çubuğu, alt sayfalar, dokunma)
   - en çok 680px: telefon yerleşimi (sık boşluklar, yatay kaydırmalı şeritler, formlar)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1) Uygulama kabuğu
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --tab-h: 62px;
    --dock: calc(var(--tab-h) + var(--safe-b));
    --hh: calc(72px + var(--safe-t));
  }
  html { scroll-padding-top: calc(80px + var(--safe-t)); -webkit-tap-highlight-color: transparent; }
  body { padding-bottom: var(--dock); }
  a, button, summary, label, select, input { touch-action: manipulation; }

  /* Üst bilgi şeridi telefonda yok; bilgiler menüde ve iletişim sayfasında */
  .topbar { display: none; }

  /* Üst çubuk: kısa, oval, tek satır */
  .site-header { padding: calc(8px + var(--safe-t)) 0 8px; }
  .site-header .wrap { width: calc(100% - 24px); }
  .header-in, .is-stuck .header-in { min-height: 56px; padding: 0 6px 0 16px; gap: 12px; }
  .brand { gap: 10px; min-height: 44px; }
  .brand .mark { width: 32px; height: 32px; }
  .brand-text b { font-size: 1.06rem; }
  .brand-text i { font-size: .56rem; margin-top: 5px; }
  .nav-toggle { display: none; }
  .header-call[hidden] { display: inline-flex; }
  .header-call { align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .9rem; font-weight: 800; text-decoration: none; box-shadow: 0 10px 20px -12px rgba(29, 79, 184, .8); transition: transform .3s var(--ease), background .3s; }
  .header-call .ico { width: 18px; height: 18px; }
  .header-call:active { transform: scale(.94); background: var(--blue-dark); }

  /* Alt sekme çubuğu */
  .tabbar[hidden] { display: grid; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; grid-template-columns: repeat(5, minmax(0, 1fr)); height: var(--dock); padding: 0 max(6px, calc(50% - 280px)) var(--safe-b); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid var(--line); box-shadow: 0 -14px 34px -22px rgba(11, 37, 69, .5); transition: transform .45s var(--ease); view-transition-name: tabbar; }
  .tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; margin: 0; padding: 7px 2px 5px; border: 0; background: none; color: var(--muted); font-family: var(--font); font-size: .68rem; font-weight: 700; line-height: 1.2; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: color .25s; }
  .tab .ico { width: 24px; height: 24px; transition: transform .35s var(--ease); }
  .tab > span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tab::before { content: ""; position: absolute; left: 50%; top: 0; width: 30px; height: 3px; margin-left: -15px; border-radius: 0 0 4px 4px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
  .tab[aria-current="page"], .tab[aria-expanded="true"] { color: var(--blue); }
  .tab[aria-current="page"]::before, .tab[aria-expanded="true"]::before { transform: scaleX(1); }
  .tab:active .ico { transform: scale(.84); }
  .tab:focus-visible { outline-offset: -4px; border-radius: 12px; }
  .tab-main { color: var(--navy); font-weight: 800; justify-content: flex-end; }
  .tab-main::before { display: none; }
  .tab-orb { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -24px; border-radius: 50%; background: linear-gradient(145deg, #2f6be0 0%, var(--blue) 50%, var(--navy) 120%); color: #fff; border: 4px solid #fff; box-shadow: 0 12px 22px -10px rgba(29, 79, 184, .85), 0 -1px 0 0 var(--line); transition: transform .35s var(--ease); }
  .tab-orb::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 3px; background: var(--accent); border: 2px solid #fff; }
  .tab-orb .ico { width: 25px; height: 25px; }
  .tab-main:active .tab-orb { transform: scale(.92); }
  .tab-main:active .ico { transform: none; }
  .tab-main[aria-current="page"] { color: var(--blue); }
  .tab-main[aria-current="page"] .tab-orb { background: linear-gradient(145deg, #f3bd4e, var(--accent)); color: var(--navy); box-shadow: 0 12px 22px -10px rgba(227, 167, 47, .9), 0 -1px 0 0 var(--line); }
  .tab-main[aria-current="page"] .tab-orb::after { background: var(--blue); }

  /* Sabit düğmeler: tek WhatsApp düğmesi, sekme çubuğunun hemen üstünde */
  .fab { right: 14px; bottom: calc(var(--dock) + 14px); z-index: 60; transition: opacity .3s, transform .45s var(--ease); }
  .fab .fab-top, .fab .fab-top[hidden] { display: none; }
  .fab a.wa-float { width: 52px; height: 52px; }
  .wa-float .wa-logo { width: 30px; height: 30px; }
  html.dock-on .fab, html.kb-open .fab, html.sheet-open .fab, body:has(.consent:not([hidden])) .fab { opacity: 0; pointer-events: none; transform: translateY(20px); }
  html.dock-on .tabbar, html.kb-open .tabbar { transform: translateY(110%); }
  .consent { left: 10px; right: 10px; bottom: calc(var(--dock) + 10px); padding: 14px 16px; z-index: 85; }
  .consent .btn { min-height: 44px; }
  .consent div { width: 100%; }
  .consent div .btn { flex: 1; }

  /* Alt sayfa (bottom sheet): hızlı iletişim */
  html.sheet-open { overflow: hidden; }
  .sheet-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(7, 24, 46, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
  .sheet-overlay.is-on { opacity: 1; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; flex-direction: column; max-width: 640px; max-height: 88vh; max-height: 88dvh; margin-inline: auto; padding-bottom: var(--safe-b); background: #fff; color: var(--text); border-radius: 26px 26px 0 0; box-shadow: 0 -30px 80px -30px rgba(11, 37, 69, .65); transform: translateY(105%); transition: transform .5s var(--ease); will-change: transform; }
  .sheet[hidden] { display: none; }
  .sheet.is-open { transform: none; }
  .sheet.is-drag, .drawer.is-drag { transition: none; }
  .sheet-grab { flex: none; width: 44px; height: 5px; margin: 10px auto 0; border-radius: 5px; background: #cfd8e6; }
  .sheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 12px 20px; touch-action: none; }
  .sheet-head b { display: block; font-size: 1.18rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
  .sheet-head small { display: block; margin-top: 3px; font-size: .8rem; font-weight: 600; color: var(--muted); }
  .sheet-head em { font-style: normal; font-weight: 800; }
  .sheet-head em.is-open { color: var(--green); }
  .sheet-head em.is-closed { color: var(--muted); }
  .sheet-close, .drawer-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blue-50); color: var(--navy); cursor: pointer; transition: transform .3s var(--ease), background .3s; }
  .sheet-close .ico, .drawer-close .ico { width: 20px; height: 20px; }
  .sheet-close:active, .drawer-close:active { transform: scale(.9); background: var(--blue-100); }
  .sheet-body { display: grid; gap: 10px; padding: 4px 16px 18px; overflow-y: auto; overscroll-behavior: contain; }
  .rs-row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); color: var(--navy); text-decoration: none; transition: transform .3s var(--ease), background .3s; }
  .rs-row:active { transform: scale(.98); }
  .rs-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; }
  .rs-ico .ico { width: 21px; height: 21px; }
  .rs-ico .ico[fill="currentColor"] { stroke: none; width: 24px; height: 24px; }
  .rs-text { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
  .rs-text small { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .rs-text b { font-size: 1.08rem; font-weight: 800; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rs-go { flex: none; width: 18px; height: 18px; color: var(--muted); }
  .rs-row.is-call { background: linear-gradient(135deg, var(--blue), #2a63d6); border-color: transparent; color: #fff; box-shadow: 0 16px 28px -18px rgba(29, 79, 184, .9); }
  .rs-row.is-call .rs-ico { background: rgba(255, 255, 255, .18); }
  .rs-row.is-call .rs-text small, .rs-row.is-call .rs-go { color: #d5e1fb; }
  .rs-row.is-wa { background: #eafaf0; border-color: #bfe9cf; }
  .rs-row.is-wa .rs-ico { background: #25d366; }
  .rs-row.is-wa .rs-text small { color: #128c4b; }
  .rs-row.is-test { background: #fff7e6; border-color: #f3dca6; }
  .rs-row.is-test .rs-ico { background: var(--accent); color: var(--navy); }
  .rs-row.is-test .rs-text small { color: var(--accent-dark); }
  .rs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rs-duo a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--navy); font-size: .9rem; font-weight: 700; text-decoration: none; transition: transform .3s var(--ease), background .3s; }
  .rs-duo a:active { transform: scale(.97); background: var(--blue-50); }
  .rs-duo .ico { color: var(--blue); }
  .rs-addr { display: flex; align-items: flex-start; gap: 8px; margin: 2px 4px 0; font-size: .82rem; line-height: 1.45; color: var(--muted); }
  .rs-addr .ico { color: var(--accent-dark); margin-top: 2px; }

  /* Menü: sağdan çekmece yerine alt sayfa */
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: 640px; max-height: 90vh; max-height: 90dvh; margin-inline: auto; padding-bottom: var(--safe-b); border-radius: 26px 26px 0 0; box-shadow: 0 -30px 80px -30px rgba(11, 37, 69, .65); transform: translateY(105%); transition: transform .5s var(--ease), visibility .5s; }
  .drawer.is-open { transform: none; }
  .drawer::before { content: ""; flex: none; width: 44px; height: 5px; margin: 10px auto 0; border-radius: 5px; background: #cfd8e6; }
  .drawer-head { flex: none; padding: 8px 14px 10px 20px; border-bottom: 0; touch-action: none; }
  .drawer-head .brand .mark { width: 30px; height: 30px; }
  .drawer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 16px 16px; }
  .drawer-link { min-height: 58px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); font-size: .98rem; }
  .drawer-link:hover, .drawer-link[aria-current="page"] { padding-left: 12px; }
  .drawer-link[aria-current="page"] { background: var(--blue-50); border-color: var(--blue-100); }
  .drawer-link > .ico { display: none; }
  .drawer-link:active { transform: scale(.97); }
  .drawer-label { gap: 10px; min-width: 0; }
  .drawer-label .nav-sym { width: 34px; height: 34px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
  .drawer-sub { grid-column: 1 / -1; order: 9; display: flex; gap: 8px; margin: 2px -16px 0; padding: 2px 16px 4px; border: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .drawer-sub::-webkit-scrollbar { display: none; }
  .drawer-sub a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: .86rem; white-space: nowrap; }
  .drawer-foot { margin-top: 0; padding: 16px 16px 18px; }
  .drawer-foot .btn { min-height: 52px; }
  .drawer-foot ul { margin-top: 14px; gap: 4px; }
  .drawer-foot li { align-items: center; min-height: 36px; }
  .drawer-foot .ico { margin-top: 0; }
  .drawer-foot .doodle { display: none; }
  .drawer-link, .drawer-sub, .drawer-foot { transform: translateY(16px); }
  .drawer.is-open .drawer-link, .drawer.is-open .drawer-sub, .drawer.is-open .drawer-foot { transition: opacity .4s var(--ease) calc(var(--i) * 30ms + 120ms), transform .5s var(--ease) calc(var(--i) * 30ms + 120ms), background .25s; }

  /* Formlar: büyük dokunma hedefleri, yakınlaştırma yapmayan 16px alanlar */
  .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { min-height: 52px; font-size: 16px; }
  .field select { background-position: calc(100% - 21px) 23px, calc(100% - 15px) 23px; }
  .field.check { grid-template-columns: 28px 1fr; column-gap: 10px; align-items: center; }
  .field.check input { width: 24px; height: 24px; margin: 0; }
  .field.check label { padding: 12px 0; font-size: .88rem; line-height: 1.45; }
  .lead-form .btn[type="submit"] { min-height: 54px; font-size: 1rem; }

  /* Alta sabit gönder düğmesi (form doldurulurken sekme çubuğunun yerini alır) */
  .submit-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 82; display: flex; padding: 10px 14px calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid var(--line); box-shadow: 0 -14px 34px -22px rgba(11, 37, 69, .5); transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
  .submit-dock.is-on { transform: none; visibility: visible; }
  .submit-dock .btn { flex: 1; min-height: 52px; font-size: 1rem; max-width: 600px; margin-inline: auto; }

  /* Galeri görüntüleyici: tam ekran, kaydırmalı */
  .lightbox { max-height: none; height: 100vh; height: 100dvh; overflow: hidden; }
  .lightbox-in { padding: calc(64px + var(--safe-t)) 0 calc(72px + var(--safe-b)); touch-action: pinch-zoom; overflow: hidden; }
  .lightbox img { width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px - var(--safe-t) - var(--safe-b)); border-radius: 0; will-change: transform; -webkit-user-drag: none; user-select: none; }
  .lightbox img.is-drag { animation: none; transition: none; }
  .lightbox img.is-back { transition: transform .3s var(--ease), opacity .3s; }
  .lightbox p { position: fixed; left: 20px; right: 20px; bottom: calc(22px + var(--safe-b)); margin: 0; color: #fff; font-size: .92rem; font-weight: 600; }
  .lightbox .lb-close { top: calc(12px + var(--safe-t)); right: 12px; width: 44px; height: 44px; }
  .lb-count[hidden] { display: block; }
  .lb-count { position: fixed; left: 16px; top: calc(18px + var(--safe-t)); padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .84rem; font-weight: 700; letter-spacing: .04em; }
}

/* Dokunmatik ekranda fareyle üzerine gelme efektleri takılı kalmasın; yerine basma geri bildirimi */
@media (max-width: 900px) and (hover: none) {
  .btn:hover, .card:hover, .post-card:hover, .post-item:hover, .feature:hover, .compare-col:hover, .aside-card:hover, .faq details:hover, .num-list li:hover, .amenities li:hover, .lp-programs a:hover, .place-inline .frame:hover, a.cchip:hover, .cbtn:hover, .call-list a:hover, .foot-reach a:hover, .social a:hover, .fab a:hover, .fab a.wa-float:hover, .video-frame:hover, .steps li:hover .step-ico, .plain-links a:hover, .filters .chip:hover, .exam-tags a:hover, .hero-play:hover, .modal-close:hover, .drawer-close:hover, .collage:hover .collage-a, .collage:hover .collage-b, .inline-photo:hover img, .card:hover .card-media img, .post-card:hover .card-media img, .mosaic a:hover img, .photo-grid a:hover img, .card:hover .card-ico, .feature:hover .feature-ico, .facts-grid > div:hover b, .steps li:hover .step-ico em { transform: none; scale: none; }
  .plain-links a:hover { padding-left: 14px; }
  .footer-links a:hover { padding-left: 0; }
  .footer-links a:hover::before { width: 0; }
  .card:hover { box-shadow: none; border-color: var(--line); }
  .card:hover::before { transform: scaleX(0); }
  .btn:active { transform: scale(.97); }
  .card:active, .post-card:active, .post-item:active, .lp-programs a:active, a.cchip:active, .call-list a:active, .plain-links a:active, .quote:active { transform: scale(.985); }
  .cbtn:active, .social a:active, .hero-play:active, .fab a.wa-float:active, .filters .chip:active, .exam-tags a:active { transform: scale(.93); }
  .lightbox .lb-prev, .lightbox .lb-next { display: none; }
}

/* ---------------------------------------------------------------------
   2) Telefon yerleşimi
   --------------------------------------------------------------------- */
@media (max-width: 680px) {
  :root { --gut: 18px; --cta-half: 118px; }
  body { font-size: 15.5px; line-height: 1.6; }
  .wrap { width: calc(100% - var(--gut) * 2); }

  /* Ortak ölçek ve boşluklar */
  .section { padding: 42px 0; }
  .eyebrow { margin-bottom: 10px; padding: 5px 11px; font-size: .68rem; gap: 8px; }
  .eyebrow::before { width: 7px; height: 7px; }
  .eyebrow a { margin: -14px -6px; padding: 14px 6px; }
  .h-xl { font-size: 1.5rem; line-height: 1.22; margin-bottom: 10px; max-width: none; }
  .lead { font-size: .96rem; line-height: 1.6; }
  .center-head { margin-bottom: 22px; }
  .section-head { position: relative; display: block; margin-bottom: 18px; }
  .section-head .lead { margin-top: 8px; }
  .section-head > .btn { position: absolute; right: -6px; top: -9px; min-height: 44px; padding: 6px 8px; border: 0; background: none; box-shadow: none; color: var(--blue); font-size: .84rem; gap: 6px; }
  .section-head > .btn::before { display: none; }
  .btn { min-height: 50px; }
  .btn-lg { min-height: 54px; padding: 12px 20px; }
  .split > div > .btn, .video-grid .btn, .faq-grid .btn, .band .btn, .page-head.center .btn, .aside-card .btn { width: 100%; }
  html.js .reveal, html.js .reveal[data-r] { translate: 0 20px; scale: 1; filter: none; transition: opacity .6s var(--ease), translate .7s var(--ease); }
  html.js .reveal.in, html.js .reveal[data-r].in { opacity: 1; translate: 0 0; }
  .doodles .fx { display: none; }
  .doodle { opacity: .55; }

  /* Yatay kaydırmalı kart şeritleri */
  .steps, #programlar .cards, .mosaic, .quotes, .post-cards { display: flex; grid-template-columns: none; gap: 12px; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .steps::-webkit-scrollbar, #programlar .cards::-webkit-scrollbar, .mosaic::-webkit-scrollbar, .quotes::-webkit-scrollbar, .post-cards::-webkit-scrollbar, .amenities::-webkit-scrollbar, .hero-checks::-webkit-scrollbar, .exam-tags::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
  .steps > *, #programlar .cards > *, .mosaic > *, .quotes > *, .post-cards > * { flex: 0 0 78%; min-width: 0; scroll-snap-align: start; }
  .steps > :only-child, #programlar .cards > :only-child, .quotes > :only-child, .post-cards > :only-child { flex-basis: 100%; }
  html.js .steps > .reveal, html.js #programlar .cards > .reveal, html.js .mosaic > .reveal, html.js .quotes > .reveal, html.js .post-cards > .reveal { opacity: 1; translate: 0 0; transition: transform .3s var(--ease), box-shadow .3s; }
  .rail-dots { display: flex; align-items: center; justify-content: center; gap: 6px; height: 8px; margin-top: 2px; }
  .rail-dots i { width: 6px; height: 6px; border-radius: 999px; background: #c9d6ee; transition: width .35s var(--ease), background .35s; }
  .rail-dots i.is-on { width: 20px; background: var(--blue); }
  .section-navy .rail-dots i { background: rgba(255, 255, 255, .28); }
  .section-navy .rail-dots i.is-on { background: var(--accent); }

  /* Hero: ilk ekrana sığar */
  .hero-grid { gap: 22px; padding: 12px 0 58px; }
  .pill { margin-bottom: 12px; padding: 6px 12px 6px 10px; gap: 8px; font-size: .74rem; line-height: 1.35; box-shadow: none; }
  .pill-dot { width: 8px; height: 8px; flex: none; }
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.35rem); line-height: 1.12; margin-bottom: 10px; }
  .hero .lead { font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
  .hero-actions { gap: 10px; margin: 16px 0 14px; }
  .hero-actions .btn { min-height: 54px; }
  .hero-checks, .exam-tags { flex-wrap: nowrap; gap: 8px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .hero-checks { font-size: .8rem; }
  .hero-checks li { flex: none; padding: 6px 12px 6px 7px; border: 1px solid var(--blue-100); border-radius: 999px; background: #fff; white-space: nowrap; }
  .hero-checks .ico { width: 18px; height: 18px; }
  .exam-tags { margin-top: 10px; }
  .exam-tags li, .exam-tags small { flex: none; }
  .exam-tags a, .exam-tags span { min-height: 44px; padding: 6px 16px; font-size: .82rem; white-space: nowrap; }
  .hero-visual { padding: 0 10px 10px 0; }
  .hero-photo { border-width: 5px; border-radius: 22px; }
  .hero-photo img { aspect-ratio: 16 / 11.5; object-position: center 62%; }
  .hero-visual::before { border-radius: 22px; }
  .report, .hero-visual .chip { display: none; }
  .badge-card { right: 2px; top: 12px; padding: 8px 12px 8px 8px; gap: 9px; border-radius: 14px; }
  .badge-ico { width: 32px; height: 32px; }
  .hero-play { left: 10px; bottom: 10px; padding: 6px 16px 6px 6px; gap: 10px; font-size: .86rem; }
  .hero-play b { display: inline; }
  .hero-play span { width: 38px; height: 38px; }

  /* Özellikler: 2 x 2 ızgara */
  .features { margin-top: -34px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .feature { padding: 16px 14px; border-right: 0; border-bottom: 0; }
  .feature:nth-child(odd) { border-right: 1px solid var(--line); }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
  .feature-ico .ico { width: 20px; height: 20px; }
  .feature h2 { font-size: .93rem; margin-bottom: 4px; }
  .feature p { font-size: .8rem; line-height: 1.45; }
  .marquee { padding-top: 26px; }
  .marquee-track { gap: 22px; }
  .marquee span { font-size: 1.25rem; }
  .marquee i { width: 8px; height: 8px; }

  /* Yaklaşım */
  .split { gap: 24px; }
  .collage { max-width: 320px; margin-inline: auto; padding: 0 26px 30px 0; }
  .collage-a { aspect-ratio: 4 / 3.5; border-radius: 20px; }
  .collage-b { border-width: 5px; border-radius: 16px; width: 46%; }
  .collage-badge { left: -6px; bottom: 54px; padding: 9px 14px; gap: 9px; border-radius: 14px; }
  .collage-badge b { font-size: 1.7rem; }
  .collage-badge span { font-size: .72rem; }
  .d-collage { display: none; }
  .compare { gap: 10px; margin: 18px 0 20px; }
  .compare-col { padding: 16px; }
  .compare-col h3 { margin-bottom: 10px; font-size: .72rem; }
  .compare-col ul { gap: 8px; font-size: .9rem; }

  /* Yöntem adımları: şerit */
  .steps { gap: 12px; }
  .steps > li { flex-basis: 70%; padding: 20px 18px; text-align: left; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: rgba(255, 255, 255, .07); }
  .step-ico { width: 54px; height: 54px; margin: 0 0 14px; border-radius: 16px; }
  .step-ico .ico { width: 25px; height: 25px; }
  .step-ico em { width: 26px; height: 26px; right: -9px; top: -9px; font-size: .78rem; }
  .steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
  .steps p { font-size: .88rem; line-height: 1.5; }

  /* Program kartları: ana sayfada şerit, programlar sayfasında liste */
  #programlar .cards > .card { flex-basis: 74%; gap: 8px; padding: 0 16px 16px; border-radius: 18px; }
  #programlar .card-media { margin: 0 -16px; aspect-ratio: 16 / 10; }
  #programlar .card.has-media .card-ico { width: 48px; height: 48px; margin-top: -32px; border-width: 3px; border-radius: 13px; }
  #programlar .card-ico .ico { width: 22px; height: 22px; }
  .card h3, .card-title { font-size: 1.08rem; }
  .card p { font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; flex: none; }
  .card .link-arrow { margin-top: auto; padding-top: 2px; font-size: .84rem; }
  .tag { font-size: .64rem; padding: 4px 10px; }
  .cards-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cards-list .card { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; align-content: center; padding: 10px 14px 10px 10px; border-radius: 18px; }
  .cards-list .card > * { grid-column: 2; }
  .cards-list .card-media { grid-column: 1; grid-row: 1 / span 4; align-self: stretch; margin: 0; aspect-ratio: auto; min-height: 104px; border-radius: 12px; }
  .cards-list .card-media::after, .cards-list .card::before, .cards-list .card-ico { display: none; }
  .cards-list .tag { justify-self: start; margin-top: 2px; }
  .cards-list .card-title { font-size: 1.02rem; line-height: 1.25; }
  .cards-list .card p { font-size: .83rem; -webkit-line-clamp: 2; }
  .cards-list .link-arrow { font-size: .8rem; }
  .band { margin-top: 26px; padding: 22px 20px; border-radius: 20px; gap: 16px; }
  .band h2 { font-size: 1.2rem; }
  .band p { font-size: .92rem; }

  /* Video ve sayılar */
  .video-grid { gap: 24px; }
  .video-frame { max-width: 236px; padding: 7px; border-radius: 24px; }
  .video-frame video { border-radius: 18px; }
  .video-frame::before { display: none; }
  .unmute { min-height: 44px; }
  .ticks { gap: 10px; margin: 16px 0 20px; font-size: .94rem; }
  .facts-grid > div { padding: 20px 10px; }
  .facts b { font-size: 1.75rem; }
  .facts span { margin-top: 6px; font-size: .8rem; line-height: 1.35; }

  /* Mekân: fotoğraf şeridi ve olanak çipleri */
  .mosaic { grid-auto-rows: auto; gap: 10px; }
  .mosaic > a { flex-basis: 66%; aspect-ratio: 4 / 5; border-radius: 18px; }
  .mosaic a::after, .photo-grid a::after { opacity: 1; background: linear-gradient(180deg, transparent 58%, rgba(11, 37, 69, .78)); }
  .mosaic span, .photo-grid span { opacity: 1; transform: none; left: 12px; right: 12px; bottom: 10px; font-size: .8rem; line-height: 1.3; }
  .mosaic .zoom-ico { opacity: 1; scale: 1; right: 10px; top: 10px; width: 36px; height: 36px; background: rgba(255, 255, 255, .92); }
  .amenities { display: flex; gap: 10px; margin: 14px calc(var(--gut) * -1) 0; padding: 2px var(--gut) 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .amenities li { flex: none; max-width: 78%; padding: 10px 16px 10px 10px; border-radius: 16px; box-shadow: none; }
  .amenities li > span { width: 40px; height: 40px; border-radius: 12px; }
  .photo-grid { gap: 8px; }
  .photo-grid a { border-radius: 14px; }
  .filters { flex-wrap: nowrap; gap: 8px; margin: 0 calc(var(--gut) * -1) 14px; padding: 2px var(--gut) 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .filters .chip { flex: none; min-height: 44px; padding: 8px 18px; white-space: nowrap; }

  /* Yorumlar, SSS, blog */
  .quotes > .quote { flex-basis: 84%; padding: 24px 20px 18px; border-radius: 18px; box-shadow: none; }
  .quote-mark { font-size: 4rem; right: 16px; }
  .quote blockquote { margin-bottom: 16px; font-size: .95rem; line-height: 1.55; }
  .faq-grid { gap: 20px; }
  .faq-grid .lead { margin-bottom: 16px; }
  .faq { gap: 10px; }
  .faq summary { min-height: 56px; padding: 14px 14px 14px 16px; gap: 12px; font-size: .95rem; line-height: 1.35; }
  .faq-a > div { padding: 0 16px 16px; font-size: .92rem; }
  .post-cards > .post-card { flex-basis: 80%; gap: 8px; padding: 18px; border-radius: 18px; }
  .post-card.has-media { padding-top: 0; }
  .post-card .card-media { margin: 0 -18px 6px; }
  .post-card h3 { font-size: 1.08rem; }
  .post-card p { font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; flex: none; }
  .post-list { gap: 12px; }
  .post-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px 14px 10px 10px; border-left: 1px solid var(--line); border-radius: 18px; }
  .post-item img { width: 96px; aspect-ratio: 1; border-radius: 12px; grid-column: 1; }
  .post-item > div { grid-column: 2; min-width: 0; }
  .post-item:not(:has(img)) { padding: 16px; border-left: 4px solid var(--blue); }
  .post-item time { font-size: .74rem; }
  .post-item h2 { font-size: 1.02rem; line-height: 1.28; margin: 3px 0 4px; }
  .post-item p { margin: 0 0 4px; font-size: .84rem; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .post-item .link-arrow { font-size: .8rem; }

  /* Çağrı + form bölümü */
  .cta-grid { gap: 22px; }
  .cta-points { gap: 12px; margin-top: 18px; }
  .cta-points li { gap: 12px; }
  .cta-points li > span { width: 42px; height: 42px; border-radius: 12px; }
  .cta-points .ico { width: 20px; height: 20px; }
  .form-card { padding: 20px 16px; border-radius: 20px; }
  .form-title { font-size: 1.2rem; margin-bottom: 14px; }
  .lead-form { gap: 13px; }
  .field-row { gap: 13px; }

  /* İç sayfalar */
  .page-head { padding: calc(var(--hh) + 18px) 0 28px; border-radius: 0 0 26px 26px; }
  .page-head::after { right: -90px; top: -70px; width: 250px; height: 250px; border-width: 38px; }
  .page-head h1 { font-size: 1.62rem; line-height: 1.2; margin-bottom: 8px; max-width: none; }
  .page-head .lead { font-size: .94rem; line-height: 1.55; }
  .page-head .eyebrow { margin-bottom: 10px; }
  .page-head.center { padding: calc(var(--hh) + 64px) 0 72px; border-radius: 0; }
  .page-head.center .lead { margin-bottom: 22px; }
  .page-head + .section { padding-top: 26px; }
  .article-grid { gap: 22px; }
  .aside { gap: 14px; }
  .aside-card { padding: 20px 18px; border-radius: 18px; box-shadow: none; }
  .prose { font-size: 1rem; line-height: 1.7; }
  .prose h2 { font-size: 1.22rem; margin: 1.5em 0 .5em; }
  .prose h3 { font-size: 1.06rem; }
  .prose .cover { margin-bottom: 18px; border-radius: 16px; aspect-ratio: 16 / 9; }
  .prose .btn { width: 100%; margin: 0 0 8px; white-space: normal; text-align: center; }
  .num-list li { padding: 12px 14px 12px 58px; font-size: .95rem; line-height: 1.5; }
  .num-list li::before { left: 12px; width: 34px; height: 34px; border-radius: 10px; }
  .inline-photo { margin-top: 20px; border-radius: 16px; }
  .inline-photo img { border-radius: 16px; }
  .plain-links a { min-height: 48px; display: flex; align-items: center; }
  .call-list a { min-height: 56px; }
  .lp-programs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lp-programs a { min-height: 60px; padding: 9px 12px; }
  .modal-body .prose { font-size: .96rem; }

  /* Ücretsiz test: form en üstte */
  .form-first > .aside { order: -1; }

  /* İletişim: bilgiler, form, sonra harita */
  .contact-top .article-grid { row-gap: 0; }
  .contact-top .article-grid > div:first-child { display: contents; }
  .contact-top .eyebrow { justify-self: start; }
  .contact-top .h-xl { font-size: 1.4rem; }
  .contact-top .aside { order: 1; margin: 6px 0 22px; }
  .contact-top .place-inline { order: 2; gap: 14px; }
  .cline { gap: 10px; margin: 14px 0 12px; }
  .csocial { flex: 1 1 100%; gap: 10px; }
  .cchips { gap: 8px; margin-bottom: 14px; }
  .cchip { min-height: 56px; padding: 8px 16px 8px 8px; }
  .cchip-ico { width: 40px; height: 40px; }
  .cchip-ico .ico { width: 19px; height: 19px; }
  .cchip b { font-size: .95rem; }
  .place-inline .frame { padding: 5px; border-radius: 20px; box-shadow: none; }
  .place-inline .frame-bar { padding: 8px 8px 10px; gap: 8px; }
  .frame-dots { display: none; }
  .frame-actions { gap: 8px; }
  .frame-actions > a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; font-size: .84rem; }
  .frame-actions .btn { min-height: 44px; padding: 8px 14px; }
  .frame-body { min-height: 0; }
  .place-inline .frame-body iframe { height: 250px; }
  .place-inline .frame-sv .frame-body iframe { height: 270px; }
  .frame-body.is-failed { min-height: 300px; }
  .frame-hint { font-size: .76rem; padding: 7px 14px; bottom: 10px; white-space: nowrap; }

  /* Alt bilgi */
  .site-footer.no-cta { padding-top: 34px; }
  .footer-cta-wrap { margin-bottom: 30px; }
  .site-footer .footer-cta { gap: 12px; padding: 20px 18px; border-radius: 22px; }
  .cta-ico, .footer-cta .cta-copy p { display: none; }
  .footer-cta .cta-copy h2 { font-size: 1.16rem; line-height: 1.25; margin-bottom: 0; }
  .cta-actions { gap: 4px; }
  .cta-call { min-height: 44px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding-bottom: 26px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-about p { margin: 14px 0; font-size: .9rem; max-width: none; }
  .foot-info { margin-bottom: 16px; font-size: .88rem; max-width: none; }
  .social a { width: 46px; height: 46px; }
  .footer-h { margin-bottom: 10px; padding-bottom: 10px; font-size: .98rem; }
  .footer-links { gap: 0; font-size: .9rem; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; line-height: 1.3; }
  .foot-reach { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .foot-reach li { min-width: 0; }
  .foot-reach a { min-height: 56px; margin-left: 0; padding: 8px 10px 8px 8px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .04); gap: 10px; }
  .foot-reach b { font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .foot-reach small { font-size: .6rem; }
  .foot-art { height: 84px; }
  .footer-bottom { font-size: .8rem; }
  .footer-bottom .wrap { gap: 2px; padding: 14px 62px 16px 0; justify-content: flex-start; text-align: left; }
  .legal-links { gap: 0 16px; justify-content: flex-start; }
  .legal-links a, .legal-links button { display: inline-flex; align-items: center; min-height: 44px; }
  .legal-links a::after, .legal-links button::after { display: none; }

  /* Hukuki metin penceresi: alt sayfa */
  dialog.modal { width: 100%; max-width: 100%; height: 92vh; height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  dialog.modal[open], dialog.intro[open] { animation: sheetin .5s var(--ease) both; }
  dialog.modal.is-drag, dialog.intro.is-drag { animation: none; }
  .modal-head { padding: 22px 12px 12px 20px; touch-action: none; }
  .modal-head::after { content: ""; position: absolute; left: 50%; top: 9px; z-index: 1; width: 44px; height: 5px; margin-left: -22px; border-radius: 5px; background: rgba(255, 255, 255, .45); }
  .modal-head .doodle { display: none; }
  .modal-close { width: 44px; height: 44px; }
  .modal-body { padding: 20px 20px 10px; }
  .modal-title { font-size: 1.3rem; margin-bottom: 14px; padding-bottom: 12px; }
  .modal-foot { padding: 10px 16px calc(10px + var(--safe-b)); }
  .modal-foot .btn { min-height: 50px; }

  /* Tanıtım penceresi: ekranın altında, yarım ekran */
  dialog.intro { width: 100%; max-width: 100%; max-height: 86vh; max-height: 86dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .intro-grid { grid-template-columns: 122px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 0; align-items: center; padding: 34px 18px calc(18px + var(--safe-b)); touch-action: pan-y; }
  .intro-grid::before { content: ""; position: absolute; left: 50%; top: 10px; width: 44px; height: 5px; margin-left: -22px; border-radius: 5px; background: rgba(255, 255, 255, .4); }
  .intro-copy { display: contents; text-align: left; }
  .intro-copy .eyebrow { display: none; }
  .intro-phone { grid-column: 1; grid-row: 1 / span 2; max-width: none; margin: 0; padding: 5px; border-radius: 20px; rotate: 0deg; }
  .intro-phone::before { display: none; }
  .intro-phone video { border-radius: 15px; }
  .intro-phone .unmute { top: 10px; padding: 5px 10px 5px 5px; gap: 5px; font-size: .7rem; white-space: nowrap; }
  .intro-phone .unmute .ico { width: 18px; height: 18px; padding: 4px; }
  .intro-phone .unmute:not(.is-on) { top: 50%; padding: 6px 12px 6px 6px; gap: 6px; font-size: .76rem; }
  .intro-phone .unmute:not(.is-on) .ico { width: 24px; height: 24px; padding: 6px; }
  .intro-copy h2 { grid-column: 2; align-self: end; margin: 0 34px 8px 0; font-size: 1.28rem; line-height: 1.2; }
  .intro-copy > p { grid-column: 2; align-self: start; margin: 0; font-size: .9rem; line-height: 1.5; }
  .intro-actions { grid-column: 1 / -1; gap: 8px; margin-top: 16px; }
  .intro-actions .btn { min-height: 50px; }
  .intro > .modal-close { right: 10px; top: 14px; }
  .intro-art .doodle { display: none; }
}
@media (max-width: 680px) { @keyframes sheetin { from { transform: translateY(100%); } } }

/* Çok dar telefonlar */
@media (max-width: 374px) {
  :root { --gut: 16px; }
  .tab { font-size: .63rem; }
  .brand-text b { font-size: 1rem; letter-spacing: .16em; }
  .header-call { padding: 0 14px 0 12px; }
  .hero h1 { font-size: 1.8rem; }
  .intro-grid { grid-template-columns: 104px minmax(0, 1fr); }
  .intro-copy h2 { font-size: 1.14rem; }
  .cards-list .card { grid-template-columns: 88px minmax(0, 1fr); }
  .cards-list .card-media { min-height: 88px; }
}

/* Tablet (681–900): kabuk aynı, yerleşim ferah kalır */
@media (min-width: 681px) and (max-width: 900px) {
  .fab { right: 20px; }
  .lightbox img { width: auto; }
}
