:root {
  --navy: #14263F;
  --navy-2: #1c3352;
  --cream: #F6F4EF;
  --paper: #FFFFFF;
  --ink: #1B2430;
  --muted: #545E6B;
  --gold: #C9A961;
  --gold-ink: #7A5C25;
  --line: #E2DCCE;
  --wa: #1F8F4E;
  --serif: "Playfair Display", Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --wrap: 1120px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 17px/1.7 var(--sans);
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font: 600 20px/1 var(--serif); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 600 1.15rem/1.15 var(--serif); }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--cream); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; padding: 10px 16px; border-radius: var(--radius); white-space: nowrap; }
.header-phone:hover { background: var(--navy-2); color: #fff; }
.header-phone svg { width: 16px; height: 16px; }
.nav a, .brand-name, .brand-sub { white-space: nowrap; }
.brand, .brand-text { min-width: 0; }
.brand-name, .brand-sub { overflow: hidden; text-overflow: ellipsis; }
.menu-toggle, .header-phone, .brand-mark { flex: none; }
.nav > a { padding: 10px 10px; }
@media (min-width: 1181px) { .nav .nav-home { display: none; } }
.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); }
.lang-switch svg { margin-right: 4px; flex: none; }
.nav .lang-switch a { padding: 8px 5px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.nav .lang-switch a[aria-current] { color: var(--navy); background: var(--cream); }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3 { letter-spacing: .02em; }
html[lang="zh-Hans"] body { line-height: 1.8; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .lang-switch { margin: 8px 0 0; padding: 12px 0 0 12px; border-left: 0; border-top: 1px solid var(--line); }
  .nav .lang-switch a { padding: 10px 12px; font-size: .95rem; }
}
@media (max-width: 900px) { .header-phone { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn { white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d6ba78; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #E9EDF3; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 1px solid rgba(201,169,97,.25); border-radius: 50%; pointer-events: none; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero .rule { width: 64px; height: 2px; background: var(--gold); margin: 0 0 24px; border: 0; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #fff; max-width: 720px; margin-bottom: 16px; }
.hero-intro { color: #C3CCD8; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.section-alt .card { background: var(--cream); }
.card:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(20,38,63,.07); }
.card h3 { margin-bottom: .45em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--muted); flex: 1; }
.card .more { font-weight: 600; font-size: .95rem; color: var(--gold-ink); display: inline-flex; gap: 6px; align-items: center; }
.card-num { font: 600 .85rem/1 var(--serif); color: var(--gold-ink); letter-spacing: .1em; margin-bottom: 14px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; background: var(--navy); border-radius: var(--radius); display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .mono { font: 600 clamp(4rem, 10vw, 7rem)/1 var(--serif); color: var(--gold); }
.portrait::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(201,169,97,.35); border-radius: 4px; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: baseline; }
.facts li::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex: none; transform: translateY(-2px); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 360px; } }
@media (max-width: 600px) { .portrait { width: 140px; aspect-ratio: 1; } .portrait .mono { font-size: 3rem; } .portrait::before { inset: 8px; } }
.section-alt .post-card { background: var(--cream); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--paper); border-top: 2px solid var(--gold); padding: 28px; border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font: 600 2rem/1 var(--serif); color: var(--gold-ink); margin-bottom: 14px; }
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--gold); }
.post-card time { font-size: .85rem; color: var(--muted); }
.post-card h3 { font-size: 1.15rem; margin: 8px 0; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.section-alt .form { background: var(--cream); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #C9C2B2; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(20,38,63,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 6px 0 22px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.hidden { position: absolute; left: -9999px; }
.contact-info { display: grid; gap: 22px; }
.info-item { display: flex; gap: 14px; }
.info-item svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; margin-top: 4px; }
.info-item strong { display: block; color: var(--navy); font-size: .9rem; letter-spacing: .02em; }
.info-item a, .info-item span { color: var(--ink); text-decoration: none; }
.info-item a { display: inline-block; padding: 6px 0; }
.info-item a:hover { text-decoration: underline; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Article / service pages ---------- */
.page-head { background: var(--navy); color: #C3CCD8; padding: clamp(40px, 7vw, 72px) 0; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: .4em; }
.page-head .lead { font-size: 1.12rem; max-width: 760px; margin: 0; color: #DCE2EA; }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #7F8DA1; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--gold); }
.crumbs [aria-current] { color: #C3CCD8; }
.meta-line { font-size: .9rem; color: #AEB9C8; margin-top: 14px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.1rem; margin: 1.4em 0 .5em; }
#dipnotlar + ul, #kaynakca + ul { font-size: .88rem; color: var(--muted); list-style: none; padding-left: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-ink); }
.prose blockquote { margin: 1.8em 0; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.prose blockquote p:last-child { margin: 0; }
.disclaimer { margin-top: 2.4em; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.box h2 { font-size: 1.2rem; margin-bottom: .6em; }
.box p { font-size: .95rem; color: var(--muted); }
.box .btn { width: 100%; margin-top: 8px; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.box li:last-child a { border-bottom: 0; }
.box li a:hover, .box li a[aria-current="page"] { color: var(--gold-ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18773f; color: #fff; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AEB9C8; padding: 56px 0 32px; font-size: .93rem; }
.site-footer a { color: #E2E7EE; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-grid h2 { color: #fff; font-size: 1rem; font-family: var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.foot-grid li a { display: inline-block; padding: 7px 0; }
.foot-brand { font: 600 1.3rem/1.2 var(--serif); color: #fff; margin-bottom: 10px; }
.foot-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 768px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: var(--nf-badge, 0px); z-index: 60; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--navy); box-shadow: 0 -2px 12px rgba(0,0,0,.18); }
  .callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: #fff; font-weight: 600; text-decoration: none; }
  .callbar a svg { width: 20px; height: 20px; }
  .callbar .wa { background: var(--wa); }
  body { padding-bottom: calc(56px + var(--nf-badge, 0px) + env(safe-area-inset-bottom, 0px)); }
}

.notice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center; max-width: 640px; margin: 0 auto; }

/* ---------- Çerez onay bandı ---------- */
.cerez { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(20,38,63,.18); padding: 18px 20px; display: flex; gap: 16px; align-items: center; font-size: .92rem; }
.cerez[hidden] { display: none; }
.cerez p { margin: 0; color: var(--ink); flex: 1; }
.cerez-btns { display: flex; gap: 8px; flex: none; }
.cerez .btn { min-height: 44px; padding: 10px 18px; }
.btn-ghost-dark { border-color: #C9C2B2; color: var(--navy); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--navy); color: var(--navy); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #E2E7EE; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--gold); }
@media (max-width: 768px) {
  .cerez { left: 8px; right: 8px; bottom: calc(64px + var(--nf-badge, 0px) + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: stretch; padding: 14px 16px; }
  .cerez-btns .btn { flex: 1; }
}
