:root {
  --navy: #1c2444;
  --navy-2: #161d38;
  --ink: #1f2244;
  --gold: #c6a56a;
  --gold-deep: #9a7433;
  --text: #4e5364;
  --muted: #7d8292;
  --line: #e4e1da;
  --paper: #ffffff;
  --whatsapp: #2ecc71;
  --header: 96px;
  --serif: "Cormorant Garamond", "Times New Roman", "Segoe UI", "Leelawadee UI", "Sylfaen", "Microsoft YaHei", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", "Leelawadee UI", "Sylfaen", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; direction: ltr; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10000;
}
.skip:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 50;
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
}
body.home .site-header {
  background: transparent;
  color: #fff;
}
body.home .site-header.scrolled,
body.page .site-header {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 18px -16px #9e9e9e;
}
.header-inner {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  margin-right: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.nav a { position: relative; padding: 6px 0; }
.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.search-pill {
  display: flex;
  align-items: center;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 8px 0 14px;
  min-width: 118px;
  opacity: .9;
}
.search-pill input {
  border: 0;
  background: transparent;
  color: inherit;
  width: 72px;
  outline: none;
  font-size: 14px;
}
.search-pill input::placeholder { color: currentColor; opacity: .85; }
.search-pill button {
  border: 0;
  background: transparent;
  color: inherit;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.lang {
  position: relative;
  font-size: 14px;
  letter-spacing: .04em;
}
.lang > button {
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.lang > button span { color: var(--gold); font-size: 10px; }
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #fff;
  color: var(--ink);
  min-width: 168px;
  max-height: min(70vh, 420px);
  overflow: auto;
  z-index: 80;
  box-shadow: 0 12px 30px rgba(20, 24, 48, .12);
  padding: 8px 0;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 16px;
  color: var(--ink);
}
.lang-menu button[aria-current="true"] { color: var(--gold-deep); }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  height: 1.5px;
  width: 20px;
  background: currentColor;
  position: absolute;
  left: 11px;
}
.burger span { top: 20px; }
.burger span::before { content: ""; top: -6px; }
.burger span::after { content: ""; top: 6px; }

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 36, .62) 0%, rgba(14, 18, 42, .42) 42%, rgba(8, 12, 28, .82) 100%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(40px, calc((100% - 1440px) / 2 + 8px));
  right: 120px;
  bottom: 92px;
  max-width: 920px;
}
.hero-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.22;
  letter-spacing: .01em;
}
.dots {
  position: absolute;
  z-index: 2;
  left: max(40px, calc((100% - 1440px) / 2 + 8px));
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.55);
  padding: 0;
}
.dots button.active {
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
}

.wrap {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}
.wide {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.services {
  padding: 72px 0 40px;
  background: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}
.services-photo {
  min-height: 460px;
  background: #eee center/cover no-repeat;
}
.services h3,
.block-title {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.25;
}
.lede {
  margin: 0 0 28px;
  color: #8b8fa0;
  font-size: 15px;
  line-height: 1.85;
}
.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
}
.area-list a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #6a6f82;
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.45;
  text-transform: uppercase;
}
.area-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.area-list a:hover { color: var(--gold-deep); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 16px;
}
.text-link i {
  color: var(--gold);
  font-style: normal;
}
.text-link:hover { color: var(--gold-deep); }

.publications { padding: 70px 0 30px; }
.pub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 14px;
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 2px;
  height: 16px;
  background: var(--gold);
}
.pub-grid h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
  color: var(--ink);
}
.pub-grid p { margin: 0; color: #5d6272; font-size: 15px; max-width: 460px; }
.pub-grid a.card:hover h3 { color: var(--gold-deep); }

.faq-band { padding: 80px 0; }
.faq-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: start;
}
.faq-item { border-bottom: 0; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 500;
}
.faq-item .answer {
  display: none;
  margin: 6px 0 12px;
  padding: 4px 0 8px 16px;
  border-left: 2px solid var(--gold);
  color: #8b8fa0;
  font-size: 15px;
}
.faq-item.open .answer { display: block; }
.faq-photo {
  min-height: 520px;
  background: #ddd center/cover no-repeat;
}
.section-link { margin-top: 18px; }

.about-teaser { padding: 10px 0 70px; }
.about-teaser-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-teaser-photo {
  min-height: 280px;
  background: #eceae6 center/cover no-repeat;
}
.about-teaser h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  color: var(--ink);
}
.about-teaser p { margin: 0; color: #667; }

.contact-band { padding: 40px 0 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: stretch;
}
.contact-copy h3 {
  margin: 28px 0 16px;
  max-width: 520px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.15;
  color: var(--ink);
}
.contact-copy .note { color: #9aa0ae; font-size: 15px; max-width: 560px; }
.fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; margin-top: 18px; }
.field span { font-size: 15px; color: var(--ink); }
.field input,
.field textarea {
  border: 0;
  border-bottom: 1px solid #1f2244;
  background: transparent;
  padding: 8px 0;
  color: var(--ink);
  outline: none;
  resize: vertical;
  font-size: 15px;
}
.field textarea { min-height: 72px; }
.form-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.count { color: #b0b4c0; font-size: 12px; }
.send-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.send-btn i { color: var(--gold); font-style: normal; }
.form-status { min-height: 1.4em; color: var(--gold-deep); font-size: 14px; }
.contact-photo {
  min-height: 460px;
  background: #ddd center/cover no-repeat;
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 54px 0 28px;
}
.footer-grid {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: end;
}
.footer-logo {
  font-family: var(--serif);
  letter-spacing: .16em;
  font-size: 28px;
  text-transform: uppercase;
}
.phones {
  display: flex;
  gap: 28px;
  margin: 22px 0 28px;
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.phones a { display: inline-flex; align-items: center; gap: 8px; }
.phones svg { width: 16px; height: 16px; }
.copy { color: rgba(255,255,255,.72); font-size: 13px; margin: 0; }
.news-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}
.news-form { margin-top: 8px; }
.news-line {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.75);
  margin-top: 10px;
}
.news-line input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 10px 0;
  outline: none;
}
.news-line input::placeholder { color: rgba(255,255,255,.7); }
.news-line button {
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.news-line button i { color: var(--gold); font-style: normal; }
.disclaimer {
  width: min(1280px, calc(100% - 80px));
  margin: 22px auto 0;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 18px;
  box-shadow: 0 8px 20px rgba(20, 160, 80, .28);
  font-size: 15px;
}
.wa-float svg { width: 22px; height: 22px; }

.page-hero {
  margin-top: var(--header);
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(16, 22, 48, .92) 0%, rgba(22, 32, 70, .78) 55%, rgba(20, 28, 60, .55) 100%),
    var(--hero, url("../assets/columns.jpg")) center/cover no-repeat;
  color: #fff;
}
.page-hero-inner { width: min(1180px, calc(100% - 80px)); margin: 0 auto 36px; }
.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 58px;
  color: #e4cf9e;
}
.crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #e4cf9e; }
.crumb a { color: #fff; }
.gold-rule { width: 180px; height: 2px; background: var(--gold); margin-top: 18px; }

.prose { padding: 72px 0 40px; }
.prose-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
  align-items: start;
}
.prose h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  color: var(--ink);
}
.prose p { margin: 0 0 16px; color: #555a6b; }
.side-photo { min-height: 280px; background: #eee center/cover no-repeat; }
.lawyer {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 8px;
}
.monogram {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: .06em;
  background:
    radial-gradient(circle at 50% 42%, transparent 18px, rgba(198,165,106,.15) 19px, transparent 20px);
}
.lawyer h3 { margin: 0; font-family: var(--serif); font-size: 28px; color: var(--ink); font-weight: 500; }
.lawyer p { margin: 2px 0 0; color: var(--muted); }

.area-page-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 22px;
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
}
.area-page-list a {
  display: block;
  min-height: 92px;
  padding: 20px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  letter-spacing: .05em;
  font-size: 13px;
  text-transform: uppercase;
}
.area-page-list a:hover { color: var(--gold-deep); border-color: var(--gold); }
.area-page-list span { display: block; margin-top: 8px; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.article-list { display: grid; gap: 36px; padding-bottom: 40px; }
.article-list article { padding-top: 8px; border-top: 1px solid var(--line); }
.article-list h2 { font-size: 36px; margin-bottom: 8px; }
.article-list h2 a:hover { color: var(--gold-deep); }
.meta { color: var(--gold-deep); font-size: 13px; letter-spacing: .04em; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.fact {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.fact strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.map-frame {
  margin-top: 28px;
  min-height: 320px;
  border: 0;
  width: 100%;
  filter: grayscale(.15);
}
.hours { margin-top: 8px; }

.search-panel {
  display: none;
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 20, 40, .08);
}
.search-panel.open { display: block; }
.search-panel .inner { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 22px; }
.search-panel a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.search-panel a small { display: block; color: var(--muted); }
.empty { color: var(--muted); }

@media (max-width: 1020px) {
  .header-inner, .wrap, .wide, .page-hero-inner, .footer-grid, .disclaimer {
    width: calc(100% - 36px);
  }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 22px 20px;
    gap: 4px;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
  }
  body.nav-open .nav { display: flex; }
  .burger { display: block; margin-left: 8px; }
  .services-grid,
  .pub-grid,
  .faq-layout,
  .about-teaser-grid,
  .contact-grid,
  .prose-grid,
  .footer-grid,
  .facts,
  .area-page-list { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .hero-copy { right: 24px; left: 20px; }
  .dots { left: 20px; }
  .services-photo, .faq-photo, .contact-photo { min-height: 240px; }
  .page-hero h1 { font-size: 42px; }
  .pub-grid h3, .services h3, .contact-copy h3 { font-size: 34px; }
  .search-pill { display: none; }
  .logo { font-size: 22px; letter-spacing: .08em; }
}
@media (max-width: 640px) {
  .area-list { grid-template-columns: 1fr; }
  .phones { flex-direction: column; gap: 8px; }
  .faq-item button { font-size: 22px; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
}

#ks-chat {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 70;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
#ks-chat button { font: inherit; cursor: pointer; line-height: 1; appearance: none; }
#ks-chat .ks-etiket {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#ks-chat .ks-ac {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #f3e6c8;
  box-shadow: 0 12px 28px rgba(22, 28, 58, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#ks-chat .ks-ac::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(198, 165, 106, .75);
  animation: ksHalka 2.6s ease-out infinite;
  pointer-events: none;
}
#ks-chat.ks-acik .ks-ac::after { animation: none; opacity: 0; }
#ks-chat .ks-terazi {
  transform-origin: 50% 18%;
  animation: ksTerazi 2.8s ease-in-out infinite;
}
#ks-chat.ks-acik .ks-terazi { animation: none; }
#ks-chat .ks-nokta {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3dd68c;
  border: 2px solid #fff;
  box-sizing: border-box;
}
#ks-chat .ks-nokta.ks-yeni {
  min-width: 18px;
  width: auto;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#ks-chat .ks-pencere {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(372px, calc(100vw - 28px));
  height: min(540px, calc(100vh - 150px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(22, 28, 58, .22);
  transform-origin: bottom right;
  animation: ksAc .32s cubic-bezier(.2, .8, .2, 1);
}
#ks-chat .ks-pencere[hidden] { display: none !important; }
#ks-chat .ks-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
}
#ks-chat .ks-ust {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--navy);
  color: #fff;
  flex: none;
}
#ks-chat .ks-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #f3e6c8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .04em;
}
#ks-chat .ks-avatar-buyuk { width: 40px; height: 40px; background: rgba(255, 255, 255, .16); font-size: 15px; }
#ks-chat .ks-kim { min-width: 0; flex: 1; }
#ks-chat .ks-kim strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .02em;
}
#ks-chat .ks-durum {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, .88);
}
#ks-chat .ks-durum i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd68c;
  display: block;
}
#ks-chat .ks-ikon {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#ks-chat .ks-ikon:hover { background: rgba(255, 255, 255, .14); }
#ks-chat .ks-akis {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px 12px 8px;
  background: #f7f5f1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#ks-chat .ks-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
#ks-chat .ks-bot { align-self: flex-start; }
#ks-chat .ks-ben { align-self: flex-end; }
#ks-chat .ks-icerik p,
#ks-chat .ks-ben .ks-balon,
#ks-chat .ks-yaziyor .ks-icerik {
  margin: 0;
  padding: 9px 12px;
  border-radius: 16px 16px 16px 4px;
  line-height: 1.55;
}
#ks-chat .ks-bot .ks-icerik { padding: 0; }
#ks-chat .ks-bot .ks-icerik > p,
#ks-chat .ks-yaziyor .ks-icerik { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(22, 28, 58, .04); }
#ks-chat .ks-ben .ks-balon { background: var(--navy); color: #fff; border-radius: 16px 16px 4px 16px; }
#ks-chat .ks-icerik h3 {
  margin: 10px 0 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
#ks-chat .ks-icerik ul { margin: 0; padding-left: 18px; }
#ks-chat .ks-icerik a { color: var(--gold-deep); }
#ks-chat .ks-uyari { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
#ks-chat .ks-zaman { display: block; margin-top: 4px; font-size: 11px; color: #8a847c; }
#ks-chat .ks-ben .ks-zaman { color: rgba(255, 255, 255, .75); text-align: right; }
#ks-chat .ks-yongalar { display: flex; flex-wrap: wrap; gap: 6px; }
#ks-chat .ks-yonga {
  border: 1px solid #e4dfd6;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12.5px;
}
#ks-chat .ks-yonga:hover { border-color: var(--gold); color: var(--gold-deep); }
#ks-chat .ks-noktalar { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
#ks-chat .ks-noktalar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
  display: block;
  animation: ksYaz 1.1s infinite ease-in-out;
}
#ks-chat .ks-noktalar i:nth-child(2) { animation-delay: .15s; }
#ks-chat .ks-noktalar i:nth-child(3) { animation-delay: .3s; }
#ks-chat .ks-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  border-top: 1px solid #efe8df;
  background: #fff;
  flex: none;
}
#ks-chat textarea {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  min-height: 44px;
  max-height: 96px;
  height: 44px;
  margin: 0;
  padding: 11px 14px;
  resize: none;
  border: 1px solid #e4dfd6;
  border-radius: 22px;
  background: #f7f5f1;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  appearance: none;
  -webkit-appearance: none;
}
#ks-chat textarea:focus { outline: 1px solid var(--gold); }
#ks-chat .ks-gonder,
#ks-chat .ks-mikro {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
#ks-chat .ks-gonder { background: var(--navy); color: #f3e6c8; }
#ks-chat .ks-mikro {
  background: #fff;
  color: var(--navy);
  border: 1px solid #e4dfd6;
}
#ks-chat .ks-mikro:disabled { opacity: .4; cursor: not-allowed; }
#ks-chat .ks-mikro.ks-dinliyor {
  background: var(--navy);
  color: #f3e6c8;
  border-color: var(--navy);
  animation: ksDinle 1.1s ease-in-out infinite;
}
#ks-chat .ks-hoparlor { opacity: .5; }
#ks-chat .ks-hoparlor.ks-acik { opacity: 1; color: var(--gold); }
#ks-chat .ks-oku {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-deep);
  display: inline-flex;
}
#ks-chat .ks-oku:hover { color: var(--navy); }
#ks-chat .ks-dip {
  padding: 0 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  font-size: 12px;
  flex: none;
}
#ks-chat .ks-dip a { color: var(--gold-deep); }
@keyframes ksAc {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes ksHalka {
  0% { transform: scale(.9); opacity: .8; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes ksTerazi {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}
@keyframes ksYaz {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
@keyframes ksDinle {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 165, 106, .55); }
  70% { box-shadow: 0 0 0 8px rgba(198, 165, 106, 0); }
}
@media (max-width: 640px) {
  #ks-chat { right: 14px; bottom: 76px; }
  #ks-chat.ks-acik { inset: 0; width: 100%; max-width: 100%; }
  #ks-chat.ks-acik .ks-pencere {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    border-radius: 0;
  }
  #ks-chat.ks-acik .ks-ac { display: none; }
}
