:root {
  --white: #ffffff;
  --mist: #f5f2f8;
  --line: #ddd6e8;
  --ink: #14122e;
  --slate: #4d4966;
  --primary: #4a1f72;
  --navy: #0e1030;
  --gradient: linear-gradient(120deg, #0e1030 0%, #2c1a55 55%, #591c6e 100%);
  --gold: #b3924a; /* yalnızca süsleme: ses dalgaları ve ince çizgiler */
  --gap: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 "Lexend", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 .75em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.1rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 500; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--primary); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--white); padding: .75rem 1rem; z-index: 40; }
.skip:focus { top: .5rem; }

/* Üst bölüm */
.top { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand span { display: grid; line-height: 1.3; }
.brand strong { font-weight: 500; }
.brand small { font-size: .75rem; color: var(--slate); }
.menu { display: flex; flex-wrap: wrap; gap: .95rem; font-size: .84rem; }
.menu a { color: var(--ink); text-decoration: none; padding-block: .4rem; }
.menu a:hover { color: var(--primary); text-decoration: underline; }
.menu-toggle { display: none; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .75rem 1.75rem;
  font: 500 1rem/1 "Lexend", system-ui, sans-serif;
  background: var(--primary); color: var(--white);
  border: 2px solid var(--primary); border-radius: 999px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-line { background: transparent; color: var(--primary); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.text-link { font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2rem; }

/* Açılış */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 46ch; }
.portrait { position: relative; margin: 0; display: grid; place-items: center; aspect-ratio: 1; }
.portrait img { position: relative; width: 66%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); }
.waves path { stroke-dasharray: 520; animation: wave 1.4s ease-out backwards; }
.waves path:nth-child(3n+2) { animation-delay: .18s; opacity: .7; }
.waves path:nth-child(3n+3) { animation-delay: .36s; opacity: .4; }
@keyframes wave { from { stroke-dashoffset: 520; } }

/* Bölümler */
.section { padding-block: var(--gap); }
.tint { background: var(--mist); }
.intro { color: var(--slate); }

.areas { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.areas li { display: grid; grid-template-columns: 1fr 1.7fr auto; gap: .5rem 2rem; align-items: baseline; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.areas h3, .areas p { margin: 0; }
.areas p { color: var(--slate); }
.areas a { justify-self: start; font-size: .95rem; font-weight: 400; white-space: nowrap; }

/* Metin ve görsel yan yana; telefonda görsel metnin altına iner */
.media-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: center; }
.media-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.media-left > .photo { order: -1; }
.photo { margin: 0; width: 100%; max-width: 520px; justify-self: center; }
.photo img { width: 100%; height: auto; border-radius: 18px; }
.photo figcaption { margin-top: .6rem; font-size: .8rem; color: var(--slate); }

.steps { list-style: none; counter-reset: step; margin: 2rem 0; padding: 0; }
.steps li { counter-increment: step; position: relative; min-height: 2.5rem; padding: .35rem 0 1.75rem 4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: var(--primary); color: var(--white); font-weight: 500;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.5rem; bottom: 0; width: 2px; background: var(--line); }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--slate); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem; align-items: start; }
.plain { list-style: none; padding: 0; margin: 0 0 1rem; }
.plain li { padding-block: .3rem; }
.timeline { margin: 0 0 1rem; }
.timeline div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-block: .9rem; border-top: 1px solid var(--line); }
.timeline dt { font-weight: 500; color: var(--primary); }
.timeline dd { margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.75rem 0; }
.filters button { min-height: 44px; padding: .4rem 1.15rem; font: 400 .9rem "Lexend", sans-serif; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.products { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; padding: 0; margin: 0 0 1.75rem; }
.products li { display: flex; flex-direction: column; background: var(--white); border-radius: 14px; padding: 1.5rem; }
.products span:not(.sr) { font-size: .8rem; color: var(--slate); }
.products h3 { margin: .35rem 0 1.5rem; }
.products a { margin-top: auto; font-size: .95rem; font-weight: 400; }

.school { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.school p { margin: 0; }

.contact { background: var(--navy); color: var(--white); }
.contact a:not(.btn) { color: var(--white); }
.contact :focus-visible { outline-color: var(--white); }
.contact-list li { border-bottom: 1px solid rgb(255 255 255 / .22); padding-block: .85rem; overflow-wrap: anywhere; }

.foot { padding-block: 2.5rem 6.5rem; font-size: .875rem; color: var(--slate); }
.foot p { margin-bottom: .4rem; }

/* Yayından önce silinecek taslak notları */
.draft { display: inline-block; margin-top: .5rem; padding: .35rem .75rem; font-size: .78rem; line-height: 1.5; color: #5a4300; background: #fff3cc; border: 1px dashed #a88a2d; border-radius: 6px; }

/* Online destek sohbet kutusu */
.chat-launch {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 25;
  min-height: 54px; padding: 0 1.6rem; border: 2px solid var(--white); border-radius: 999px;
  background: var(--primary); color: var(--white); font: 500 1rem "Lexend", sans-serif; cursor: pointer;
  box-shadow: 0 8px 24px rgb(40 30 100 / .35);
}
.chat {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 30;
  width: min(390px, calc(100vw - 2.5rem)); max-height: min(640px, calc(100dvh - 2.5rem));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 60px rgb(23 26 51 / .22);
}
.chat header { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem .8rem 1.25rem; background: var(--navy); color: var(--white); }
.chat header h2 { font-size: 1.05rem; margin: 0; }
.chat-close { min-height: 40px; padding: 0 .75rem; background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .5); border-radius: 999px; font: 400 .85rem "Lexend", sans-serif; cursor: pointer; }
.chat-close:focus-visible { outline-color: var(--white); }
.chat-body { overflow-y: auto; padding: 1rem; font-size: .95rem; line-height: 1.6; }
.chat-log { display: flex; flex-direction: column; gap: .6rem; }
.bubble { max-width: 88%; padding: .7rem .95rem; border-radius: 16px 16px 16px 4px; background: var(--mist); animation: rise .25s ease-out; }
.bubble p { margin: 0; }
.bubble p + p { margin-top: .45rem; }
.bubble.me { align-self: flex-end; background: var(--primary); color: var(--white); border-radius: 16px 16px 4px 16px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.chat-options { display: flex; flex-direction: column; gap: .5rem; margin-top: .9rem; }
.option { min-height: 46px; padding: .6rem 1rem; text-align: left; background: var(--white); color: var(--navy); border: 1.5px solid var(--primary); border-radius: 12px; font: 400 .93rem "Lexend", sans-serif; cursor: pointer; }
.option:hover { background: var(--mist); }
a.option { display: flex; align-items: center; text-decoration: none; }
.chat-options > * { flex-shrink: 0; }
.chat-form { display: flex; flex-direction: column; gap: .35rem; }
.chat-form > label:not(.check) { font-size: .85rem; margin-top: .4rem; }
.chat-form input:not([type="checkbox"]), .chat-form select { min-height: 44px; width: 100%; padding: .45rem .75rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font: 400 1rem "Lexend", sans-serif; }
.chat-form .check { display: flex; gap: .65rem; align-items: flex-start; font-size: .85rem; margin-top: .4rem; }
.chat-form .check input { flex: none; width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; accent-color: var(--primary); }
.chat-form .btn { margin-top: .5rem; }
.chat-options .btn { min-height: 48px; font-size: .95rem; }
.chat-note { font-size: .78rem; color: var(--slate); margin: .25rem 0 0; }
.restart { align-self: center; min-height: 40px; background: none; border: 0; color: var(--primary); font: 400 .88rem "Lexend", sans-serif; text-decoration: underline; cursor: pointer; }

/* Dar ekranlar */
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font: 400 .9rem "Lexend", sans-serif; cursor: pointer; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; background: var(--white); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .menu.open { display: flex; }
  .menu a { padding-block: .75rem; font-size: 1rem; }
}
@media (max-width: 940px) {
  .hero-inner, .split, .media-row { grid-template-columns: minmax(0, 1fr); }
  .media-left > .photo { order: 0; }
  .portrait { max-width: 460px; width: 100%; margin-inline: auto; }
  .areas li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .brand img { width: 46px; height: auto; }
  .chat { right: 0; bottom: 0; width: 100%; max-height: 88dvh; border-radius: 18px 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves path { animation: none; stroke-dashoffset: 0; }
  .bubble { animation: none; }
}

/* Lacivertten mora geçiş */
.btn { background: var(--gradient) border-box; border-color: transparent; transition: filter .15s; }
.btn:hover { background: var(--gradient) border-box; border-color: transparent; filter: brightness(1.18); }
.btn-line { background: transparent; border-color: var(--primary); }
.btn-line:hover { background: var(--gradient) border-box; border-color: transparent; filter: none; }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); filter: none; }
.chat-launch, .chat header, .contact, .bubble.me, .filters button[aria-pressed="true"] { background: var(--gradient); }
.filters button[aria-pressed="true"] { background-origin: border-box; border-color: transparent; }
.steps li:nth-child(1)::before { background: #0e1030; }
.steps li:nth-child(2)::before { background: #231646; }
.steps li:nth-child(3)::before { background: #3c1b60; }
.steps li:nth-child(4)::before { background: #591c6e; }

/* İnce altın çizgiler: süreç, iletişim, sohbet */
.steps li::before { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--gold); }
.steps li:not(:last-child)::after { background: var(--gold); top: calc(2.5rem + 3px); bottom: 3px; }
.contact { border-block: 3px solid var(--gold); }
.contact-list li { border-bottom-color: rgb(179 146 74 / .65); }
.chat-launch { border-color: var(--gold); }
.chat { border: 1.5px solid var(--gold); }
.chat header { border-bottom: 2px solid var(--gold); }

/* Alt sayfalar */
.menu a[aria-current="page"] { color: var(--primary); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); background: var(--mist); border-bottom: 3px solid var(--gold); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-head p { margin: 0; }
.page-head + .wrap .alert { margin-top: 2rem; }
.page-head ~ .tint .products li { background: var(--white); }
.bullets { padding-left: 1.15rem; margin: 0 0 1.25rem; }
.bullets li { padding-block: .25rem; }
.bullets li::marker { color: var(--gold); }
.links { list-style: none; margin: 0 0 1rem; padding: 0; }
.links li { padding-block: .65rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2.5rem 3.5rem; margin-bottom: 1.5rem; }
.topic-grid h2 { font-size: 1.25rem; }
.alert { max-width: 70ch; padding: 1rem 1.25rem; background: var(--mist); border-left: 4px solid var(--primary); border-radius: 6px; }
.rounded { border: 1.5px solid var(--gold); }
.count { color: var(--slate); font-size: .9rem; }
.products li p { color: var(--slate); font-size: .95rem; }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.btn.btn-line:hover { color: var(--white); }

.form { display: grid; align-content: start; }
.form label { font-weight: 400; margin: 1rem 0 .35rem; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem; font: 400 1rem "Lexend", sans-serif;
  color: var(--ink); background: var(--white); border: 1.5px solid #8d87a8; border-radius: 10px;
}
.form [aria-invalid="true"] { border-color: #a11d2e !important; outline: 2px solid #a11d2e; }
.form .check { display: flex; gap: .75rem; align-items: flex-start; }
.form .check input { width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; accent-color: var(--primary); }
.hint { font-size: .82rem; color: var(--slate); margin: .4rem 0 0; }
.error { color: #a11d2e; font-weight: 400; margin: .75rem 0 0; }
.error:empty { margin: 0; }
.form .actions { margin-top: 1.25rem; gap: .75rem; }

.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-bottom: 1.5rem; }
.foot-links a { padding-block: .35rem; }

/* Mağaza kartları: görsel ve satın alma düğmesi önde */
.products.shop { grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 1.25rem; }
.products.shop li { padding: 0 0 1.25rem; overflow: hidden; border: 1px solid var(--line); }
.products.shop li:hover { border-color: var(--gold); }
.products.shop .cover { display: block; margin: 0 0 1rem; }
.products.shop .cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--white); }
.products.shop li > span, .products.shop h3 { margin-inline: 1.25rem; }
.products.shop h3 { margin-bottom: 1.25rem; }
.products.shop a.buy { margin: auto 1.25rem 0; color: var(--white); }
.menu a[href="materyaller.html"] { padding-inline: .75rem; border: 1.5px solid var(--gold); border-radius: 999px; }
.hero .btn-line:hover { color: var(--white); }
@media (max-width: 560px) {
  .products.shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .products.shop li { padding-bottom: .75rem; }
  .products.shop .cover { margin-bottom: .6rem; }
  .products.shop li > span, .products.shop h3 { margin-inline: .7rem; }
  .products.shop h3 { font-size: .9rem; margin-bottom: .75rem; overflow-wrap: anywhere; }
  .products.shop a.buy { margin-inline: .7rem; min-height: 44px; padding-inline: .5rem; font-size: .9rem; }
}

/* Dokunma alanları: tek başına duran bağlantılar en az 44px */
.menu a, .areas a, .links a, .text-link, .foot-links a, .contact-list a, .back,
main p > a:only-child:not(.btn), .products li > a:not(.cover):not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.areas li { align-items: center; }
.links li { padding-block: .15rem; }
.contact-list li { padding-block: .25rem; }
.contact-list li:last-child { padding-block: .85rem; }
.foot-links { gap: 0 1.5rem; }

/* Geçişler */
a, button, .products.shop li { transition: color .18s ease, background-color .18s ease, border-color .18s ease, filter .18s ease, opacity .18s ease; }

/* Sayfa içinde "Online destek" butonu görünürken yüzen buton çekilir */
.chat-launch.away { opacity: 0; visibility: hidden; }

/* Konu sayfasından geri dönüş */
.back { margin: -.5rem 0 .75rem; font-size: .92rem; }

/* Form hataları: özet üstte, açıklama alanın altında */
.form .error:not(:empty) { padding: .85rem 1rem; border: 1.5px solid #a11d2e; border-radius: 10px; background: #fdf1f2; }
.form .error p { margin: 0 0 .25rem; }
.form .error ul { margin: 0; padding-left: 1.1rem; }
.form .error a { color: #a11d2e; display: inline-block; padding-block: .2rem; }
.field-error { color: #a11d2e; font-size: .88rem; margin: .35rem 0 0; }

/* Telefonda ilk ekranda portre, başlık ve buton birlikte görünür */
@media (max-width: 940px) {
  .hero { padding-block: 1rem 2.5rem; }
  .hero-inner { gap: .5rem; }
  .hero .portrait { order: -1; max-width: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  a, button, .products.shop li { transition: none; }
}

/* Logo (kuş ve ses dalgaları) ve yazı sayfaları */
.brand img { width: 80px; height: auto; }
.article { max-width: 68ch; }
.article p { white-space: pre-line; overflow-wrap: break-word; }
.article h2, .article h3 { margin-top: 2rem; }
@media (max-width: 560px) { .brand { gap: .5rem; } .brand img { width: 50px; } .top-inner { gap: .75rem; } }

.foot p a { overflow-wrap: anywhere; }
.foot p a { display: inline-block; padding-block: .5rem; margin-block: -.5rem; }

/* Kaydırmalı görseller */
.slider { max-width: 640px; margin: 0 auto 3rem; }
.slider-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.slider-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slider-track img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
.slider-track figcaption { margin-block: .6rem; font-size: .8rem; color: var(--slate); }
.slider-nav { display: flex; justify-content: center; gap: .75rem; margin-top: .5rem; }

/* Randevu ve yönetim */
.booking { max-width: 760px; }
.booking fieldset { border: 0; border-top: 1px solid var(--line); padding: 1.25rem 0 .5rem; margin: 0 0 1rem; min-width: 0; }
.booking legend { float: left; width: 100%; padding: 0; margin-bottom: .75rem; font-weight: 600; font-size: 1.2rem; }
.booking legend + * { clear: both; }
.picks { display: flex; flex-wrap: wrap; gap: .6rem; }
.picks + .picks:not(:empty) { margin-top: 1.25rem; }
.form label.pick { position: relative; display: flex; margin: 0; cursor: pointer; }
.form .pick input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.pick span { display: grid; align-content: center; width: 100%; min-height: 48px; padding: .55rem 1rem; line-height: 1.4; border: 1.5px solid #8d87a8; border-radius: 12px; }
.pick input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--white); }
.pick input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }
.picks-time .pick span { min-width: 5.5rem; justify-items: center; }
.trap { position: absolute; left: -9999px; }
.btn-small { min-height: 44px; padding: .5rem 1.1rem; font-size: .9rem; }
.link-button { min-height: 44px; padding: 0 .5rem; background: none; border: 0; color: var(--primary); font: 400 .9rem "Lexend", sans-serif; text-decoration: underline; cursor: pointer; }
.appts { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.appt { max-width: 760px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; overflow-wrap: anywhere; }
.appt h4 { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 600; }
.appt p { margin: 0 0 .4rem; }
.appt .check { display: flex; gap: .6rem; align-items: center; min-height: 44px; font-size: .9rem; }
.appt-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.appt .appt-actions { margin: .5rem 0 0; }
.day-row { display: grid; grid-template-columns: 9rem repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: end; margin-bottom: .6rem; }
.day-row .check { margin: 0; min-height: 48px; align-items: center; }
.form .field { display: grid; gap: .25rem; margin: 0 0 .6rem; }
.form .day-row .field { margin: 0; }
.day-row .field span { font-size: .75rem; color: var(--slate); }
body:has(#yonetim) .chat-launch { display: none; }
@media (max-width: 560px) { .day-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .day-row .check { grid-column: 1 / -1; } }

/* Randevu takvimi */
.cal { max-width: 460px; }
.cal:empty { display: none; }
.cal-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal-bar strong { font-weight: 500; text-transform: capitalize; }
.cal-nav { width: 44px; height: 44px; font: 400 1.4rem/1 "Lexend", sans-serif; color: var(--primary); background: var(--white); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.cal-head { text-align: center; font-size: .75rem; color: var(--slate); }
.cal-day { min-width: 0; }
.cal-day.off { display: grid; place-items: center; min-height: 48px; color: #77728f; border: 1px solid transparent; border-radius: 12px; }
.cal-day.pick span { justify-items: center; padding: .25rem; font-weight: 600; background: var(--mist); border-color: var(--primary); }
.cal-day.pick input:checked + span { background: var(--primary); }
.cal-day.today { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.cal-title { margin: 1rem 0 .6rem; font-weight: 500; }
.cal-title:empty { display: none; }
.week-wrap { overflow-x: auto; margin-bottom: 2rem; max-width: 760px; }
.week { width: 100%; border-collapse: collapse; font-size: .82rem; line-height: 1.3; }
.week th, .week td { padding: .35rem .5rem; border: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.week thead th { background: var(--mist); font-weight: 500; }
.week tbody th { width: 4rem; font-weight: 400; color: var(--slate); }
.week td { min-width: 7rem; }
.w-open { background: #e5f4e8; color: #14532d; }
.w-pending { background: #fff3cc; color: #5a4300; }
.w-booked { background: var(--primary); color: var(--white); }
.w-busy { background: #e3e0ea; }
.w-off { background: #f7f6f9; }
