/* Layout: konuşma balonu motifi — beyaz zemin, lacivert bantlar, yeşil vurgular; başlık altında ince kırmızı çizgi */
:root {
  --navy: #13234a;
  --navy-2: #1d3263;
  --ink: #1b2233;
  --muted: #55607a;
  --line: #dfe4ee;
  --paper: #ffffff;
  --mist: #f3f6fb;
  --green: #138a5e;
  --green-dk: #0e6a48;
  --green-soft: #e3f4ec;
  --red: #d2323c;
  --red-dk: #b3242e;
  --red-soft: #fdeaeb;
  --red-light: #ff8a90;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 72rem;
  --r: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-dk); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-block: 1rem 0; }
.prose li + li { margin-top: .4rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-dk);
}
.eyebrow svg { width: 14px; height: 14px; fill: var(--red); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }

.sr-skip:focus { left: 1rem !important; top: 1rem; z-index: 50; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper);
  border-bottom: 3px solid var(--red);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.brand b span { color: var(--green); }
.menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .5rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .97rem; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--mist); color: var(--navy); }
.menu .btn { margin-left: .4rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .7rem; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.dropdown { position: relative; }
.dropdown > ul { display: none; position: absolute; top: 100%; left: 0; min-width: 18rem; list-style: none; margin: 0; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(19,35,74,.12); }
.dropdown:hover > ul, .dropdown:focus-within > ul { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 3px solid var(--red); padding: .5rem 1.25rem 1rem; }
  .menu.open { display: flex; }
  .dropdown > ul { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 .75rem; min-width: 0; }
  .menu .btn { margin: .5rem 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; font-family: var(--body);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dk); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--green-soft); color: var(--navy); }
.menu a.btn-green { color: #fff; }
.menu a.btn-green:hover { background: var(--green-dk); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--green); background: linear-gradient(transparent 82%, var(--red) 82%, var(--red) 94%, transparent 94%); }
.hero .lead { margin-top: 1.1rem; }
.hero .actions { margin-top: 1.75rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li { display: inline-flex; align-items: center; gap: .4rem; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.bubbles { display: grid; gap: .9rem; }
.bubble { position: relative; padding: 1rem 1.2rem; border-radius: 20px; font-size: 1rem; line-height: 1.45; max-width: 22rem; }
.bubble small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; opacity: .75; margin-bottom: .2rem; }
.bubble.b1 { background: var(--navy); color: #fff; border-bottom-left-radius: 4px; }
.bubble.b2 { background: var(--green-soft); color: var(--navy); justify-self: end; border-bottom-right-radius: 4px; }
.bubble.b3 { background: var(--red); color: #fff; border-bottom-left-radius: 4px; }
.bubble.b4 { background: var(--green); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); color: #dfe6f5; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .eyebrow { color: var(--red-light); }
.section.navy .eyebrow svg { fill: var(--red-light); }
.sec-head { display: grid; gap: .8rem; margin-bottom: 2.25rem; max-width: 46rem; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.section.navy .sec-head p { color: #c3cde3; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service {
  display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease;
}
.service:hover { border-color: var(--green); transform: translateY(-2px); color: var(--ink); }
.service .tag, .path .tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dk); }
.service p { color: var(--muted); font-size: .98rem; }
.service .more { margin-top: auto; font-weight: 700; color: var(--navy); }
.service.out { background: var(--navy); border-color: var(--navy); color: #dfe6f5; }
.service.out h3 { color: #fff; }
.service.out p { color: #c3cde3; }
.service.out .tag { color: #7fe0b5; }
.service.out .more { color: #fff; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature > div { min-width: 0; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; }
.section.navy .feature .ic { background: rgba(127,224,181,.14); }
.feature .ic svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section.navy .feature .ic svg { stroke: #7fe0b5; }
.feature p { color: var(--muted); margin-top: .3rem; font-size: .98rem; }
.section.navy .feature p { color: #c3cde3; }

/* Steps (gerçek sıra) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding: 1.4rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: .8rem; }
.steps p { color: var(--muted); margin-top: .35rem; font-size: .98rem; }

/* Year table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .97rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* Page header */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); background: var(--mist); }
.page-head .lead { margin-top: 1rem; }
.page-head .actions { margin-top: 1.5rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col > * { min-width: 0; }
.aside-card { position: sticky; top: 6rem; padding: 1.5rem; border-radius: var(--r); background: var(--navy); color: #dfe6f5; display: grid; gap: .9rem; }
.aside-card h3 { color: #fff; }
.aside-card ul { margin: 0; padding-left: 1.1rem; }
.aside-card .btn { width: 100%; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a5e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; position: absolute; left: 0; top: .2rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 50rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 650; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* CTA band */
.cta { background: var(--green); color: #fff; border-radius: 22px; padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { margin-top: .5rem; color: #e6f7ef; }
.cta > div { min-width: 0; }

/* About */
.monogram { aspect-ratio: 4/5; max-width: 100%; border-radius: 22px; background: var(--navy); display: grid; place-items: center; position: relative; overflow: hidden; }
.monogram span { font-family: var(--display); font-size: clamp(6rem, 16vw, 10rem); font-weight: 700; color: #fff; line-height: 1; }
.monogram svg { position: absolute; width: 22%; right: 12%; top: 12%; fill: var(--red-light); }
.creds { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.creds li { padding: .4rem .8rem; border-radius: 999px; background: var(--green-soft); color: var(--navy); font-weight: 600; font-size: .9rem; }
.creds li:nth-child(odd) { background: var(--red-soft); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.post-card { display: grid; gap: .6rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.post-card:hover { border-color: var(--green); color: var(--ink); }
.post-card p { color: var(--muted); font-size: .98rem; }
.post-card .meta { font-size: .85rem; color: var(--green-dk); font-weight: 700; }
.article-meta { color: var(--muted); font-size: .95rem; margin-top: 1rem; }
.note { padding: 1rem 1.2rem; border-radius: 12px; background: var(--green-soft); color: var(--navy); }

/* Contact */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
.form textarea { min-height: 8rem; resize: vertical; }
.form-msg { padding: .9rem 1rem; border-radius: 10px; background: var(--green-soft); color: var(--navy); font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-list small { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .75rem; color: #7fe0b5; }
.contact-list a { color: #fff; font-weight: 600; word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy); color: #c3cde3; padding-block: 3.5rem 2rem; margin-top: 0; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid > * { min-width: 0; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #dfe6f5; text-decoration: none; }
.site-footer a:hover { color: #7fe0b5; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand b span { color: #7fe0b5; }
.foot-note { margin-top: .9rem; max-width: 22rem; }
.legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; }

.wa-float { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 30; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(19,35,74,.25); }
.wa-float:hover { background: var(--green-dk); color: #fff; }
.wa-float svg { width: 20px; height: 20px; fill: #fff; }

@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-grid, .two-col, .features, .steps, .posts, .cta, .form .row { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .bubble { max-width: 100%; }
  .wa-float span { display: none; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* Görseller ve yol seçici */
.art { display: block; width: 100%; height: auto; }
.head-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.head-grid > * { min-width: 0; }
.head-art { max-width: 22rem; justify-self: end; width: 100%; }
.page-head .head-art .art circle:first-child { fill: #fff; }
.paths { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.5rem; align-items: stretch; }
.path { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); }
a.path:hover { border-color: var(--red); color: var(--ink); }
.path-art { background: var(--paper); padding: 1.25rem 2rem 0; border-bottom: 4px solid var(--red); }
.path-art .art { max-width: 17rem; margin-inline: auto; }
.path-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.path-body p { color: var(--muted); }
.path .tag { color: var(--red-dk); }
.path .more { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.path .more:hover { color: var(--red-dk); }
.path.families .path-art { border-bottom-color: var(--green); }
.path-list { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .5rem; }
.path-list a { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .8rem 1rem; border-radius: 12px; background: var(--mist); text-decoration: none; color: var(--navy); border-left: 4px solid var(--green); }
.path-list li:nth-child(even) a { border-left-color: var(--red); }
.path-list a:hover { background: var(--green-soft); color: var(--navy); }
.path-list b { font-weight: 700; }
.path-list span { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) {
  .paths, .head-grid { grid-template-columns: 1fr; }
  .head-art { justify-self: start; max-width: 16rem; }
}

/* Fotoğraflar */
.hero-photo { position: relative; padding: 1.5rem 0 2rem; }
.hero-photo .photo { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; border-bottom: 6px solid var(--red); }
.hero-photo .bubble { position: absolute; max-width: 16rem; box-shadow: 0 12px 28px rgba(19,35,74,.22); margin: 0; }
.hero-photo .b1 { top: 0; left: -1.25rem; }
.hero-photo .b4 { bottom: 0; right: -1rem; }
.path-art:has(.photo) { padding: 0; }
.path-art .photo { display: block; width: 100%; height: 15rem; object-fit: cover; }
.head-photo { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; border-bottom: 5px solid var(--red); }
.section.navy { background: linear-gradient(rgba(19,35,74,.93), rgba(19,35,74,.93)), url("img/ingiltere-bayrak.jpg") center/cover; }
@media (max-width: 760px) {
  .hero-photo .b1 { left: .5rem; } .hero-photo .b4 { right: .5rem; }
  .hero-photo .bubble { max-width: 75%; font-size: .9rem; }
}

/* Sayfa banner'ı */
.page-banner { position: relative; height: clamp(12rem, 32vw, 22rem); overflow: hidden; border-bottom: 5px solid var(--red); background: var(--navy); }
.banner-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-banner + .page-head { padding-top: clamp(1.75rem, 4vw, 2.75rem); }

/* Belirgin konuşma balonları */
.hero-photo { padding: 2.25rem 0 2.75rem; }
.hero-photo .bubble { max-width: 19rem; padding: 1.1rem 1.35rem; font-size: 1.12rem; font-weight: 600; line-height: 1.4; border: 3px solid #fff; box-shadow: 0 18px 40px rgba(19,35,74,.35); }
.hero-photo .bubble small { display: table; font-size: .72rem; letter-spacing: .12em; padding: .2rem .55rem; border-radius: 999px; margin-bottom: .45rem; opacity: 1; }
.hero-photo .b1 { background: var(--navy); color: #fff; left: -2rem; }
.hero-photo .b1 small { background: var(--red); color: #fff; }
.hero-photo .b4 { background: var(--green); color: #fff; right: -1.5rem; }
.hero-photo .b4 small { background: #fff; color: var(--green-dk); }
@media (max-width: 760px) {
  .hero-photo .b1 { left: .25rem; } .hero-photo .b4 { right: .25rem; }
  .hero-photo .bubble { max-width: 80%; font-size: .98rem; padding: .85rem 1rem; }
}

.post-card .ext { margin-top: auto; font-weight: 700; color: var(--red-dk); font-size: .92rem; }
.post-card { background: var(--paper); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.post-fig { margin: 2rem 0; }
.post-fig img { display: block; width: 100%; height: auto; border-radius: 14px; }
.post-fig figcaption { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
.bmc { display: inline-block; }
.bmc img { display: block; width: 250px; height: auto; border-radius: 12px; }
.bmc:hover img { transform: translateY(-1px); }
