/* =========================================================
   AY Mali Müşavirlik — Ana stil dosyası
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #171233;
  --ink-2: #2b2547;
  --muted: #6b6685;
  --muted-2: #8b86a1;
  --purple: #5b3fd6;
  --purple-deep: #4c2bc7;
  --purple-dark: #3f22b2;
  --purple-soft: #f1ecfc;
  --purple-line: #e5dcfa;
  --navy: #1d1445;
  --navy-2: #2a1e5f;
  --bg-soft: #f8f6fd;
  --line: #ece8f6;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 8px 22px rgba(30, 20, 70, .06);
  --shadow-md: 0 20px 45px rgba(30, 20, 70, .10);
  --shadow-lg: 0 30px 70px rgba(30, 20, 70, .16);
  --container: 1200px;
  --header-h: 78px;
  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

.site-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-page > main { flex: 1 0 auto; }

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
input { font: inherit; }

::selection { background: #d9cdfb; color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.content-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding: 0;
  list-style: none;
}

.content-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e8e2f4;
  overflow-wrap: anywhere;
}

.content-list a {
  text-decoration: underline;
}

.content-list time {
  font-size: .875rem;
}

.circular-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.circular-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.circular-item:has(a):hover,
.circular-item:focus-within {
  border-color: var(--purple-line);
  background: var(--bg-soft);
}

.circular-item img { flex: none; }

.circular-item-details {
  min-width: 0;
  overflow-wrap: anywhere;
}

.circular-item a {
  color: var(--purple-dark);
  font-weight: 600;
}

.circular-item a::after {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  content: "";
}

.circular-item a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .circular-list { grid-template-columns: 1fr; }
}

.announcement-content {
  max-width: 75ch;
  margin: 16px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.post-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.section { padding: 66px 0 78px; }

section[id],
footer[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn .icon { width: 16px; height: 16px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #6547e2 0%, var(--purple-deep) 100%);
  box-shadow: 0 10px 22px rgba(76, 43, 199, .24);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(76, 43, 199, .32);
  background: linear-gradient(135deg, #5b3bd8 0%, var(--purple-dark) 100%);
}

.btn-ghost {
  background: #fff;
  border-color: #cfc2f3;
  color: var(--ink-2);
}
.btn-ghost:hover {
  border-color: var(--purple);
  background: #f8f5ff;
  color: var(--purple-deep);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: #2a1c63;
  box-shadow: 0 10px 26px rgba(18, 10, 55, .18);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(18, 10, 55, .24);
  color: var(--purple-deep);
}

.btn-sm {
  padding: 11px 17px;
  font-size: 12.5px;
  border-radius: 7px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #4b4368;
}
.eyebrow-light { color: #c3b6f5; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  transition: gap .2s ease, color .2s ease;
}
.text-link .icon { width: 15px; height: 15px; }
.text-link:hover { gap: 11px; color: var(--purple-deep); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
}

.page-title {
  display: grid;
  grid-template-columns: minmax(12px, 1fr) fit-content(80%) minmax(12px, 1fr);
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  margin-bottom: clamp(22px, 3vw, 34px);
  color: var(--navy);
  font: 600 clamp(25px, 4vw, 38px)/1.2 var(--serif);
  text-align: center;
  overflow-wrap: anywhere;
}

.page-title::before,
.page-title::after {
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--purple));
  content: "";
}

.page-title::after { transform: rotate(180deg); }

.career-form {
  padding: clamp(16px, 4vw, 36px);
  border: 1px solid var(--purple-line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.career-form-note { margin-bottom: 22px; color: var(--muted); }
.career-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.career-column { display: grid; align-content: start; gap: 16px; min-width: 0; }
.career-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 16px 16px;
  border: 1px solid var(--purple-line);
  border-radius: var(--radius);
  background: var(--white);
}

.career-form legend { padding: 0 7px; color: var(--navy); font-weight: 700; }
.career-field { display: grid; gap: 6px; margin-top: 12px; }
.career-field label { color: var(--ink-2); font-size: .875rem; font-weight: 600; }
.career-field :is(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--purple-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.career-field textarea { resize: vertical; }
.career-submit { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-top: 24px; }

.contact-map {
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-map iframe { display: block; width: 100%; height: clamp(200px, 27vw, 330px); border: 0; }
.contact-map .btn { position: absolute; inset: 12px auto auto 12px; background: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.contact-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 4px;
  text-align: center;
  color: var(--purple-dark);
  font-size: 1rem;
  font-weight: 600;
}
.contact-name .icon { width: 19px; height: 19px; flex: none; }
.contact-info dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; }
.contact-info :is(dt, dd) { padding: 12px 8px; margin: 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-weight: 600; }
.contact-info dd { overflow-wrap: anywhere; }
.contact-info a { color: var(--purple-dark); }
.contact-info a:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
.career-verification { width: min(100%, 340px); }
.career-status, .career-errors.validation-summary-errors { margin-bottom: 16px; padding: 12px 16px; border-radius: var(--radius-sm); }
.career-status { color: var(--purple-dark); background: var(--purple-soft); }
.career-errors.validation-summary-errors { color: #8c1725; background: #fff0f1; }
.career-errors ul { list-style: inside disc; }
.career-errors.validation-summary-valid { display: none; }

@media (max-width: 820px) {
  .career-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px rgba(25, 16, 60, .07);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
    /* Container içerisindeki padding (28px) ile birebir uyumlu olması için */
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

/* Logo: Kendi kapladığı kadar yer tutsun (eslemesin) */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    line-height: 1;
}
.logo-mark {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .8;
  color: var(--navy);
  padding-top: 4px;
}
.logo-mark span { color: var(--purple); }
.logo-sep {
  width: 1px;
  height: 30px;
  background: #ded8ec;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.logo-text strong {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .075em;
  color: var(--ink-2);
  white-space: nowrap;
}
.logo-text small {
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--muted-2);
  white-space: nowrap;
}
.primary-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin-left: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  background: none;
  border: 0;
  font-size: 12.8px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--purple); }
.nav-link.services-menu-toggle { display: none; }
.icon-chevron {
  width: 12px;
  height: 12px;
  transition: transform .22s ease;
}
.nav-item { position: relative; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -14px;
  z-index: 30;
  min-width: 282px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background-color .18s ease;
}
.dropdown a span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .18s ease;
}
.dropdown a small {
  font-size: 11px;
  color: var(--muted-2);
}
.dropdown a:hover { background: #f7f4fe; }
.dropdown a:hover span { color: var(--purple); }

.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown,
.has-menu.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-menu:hover > a .icon-chevron,
.has-menu:focus-within > a .icon-chevron,
.has-menu.is-open .services-menu-toggle .icon-chevron { transform: rotate(180deg); }

/* Sağ Aksiyon Alanı: Sabit kalsın */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 0 0 auto;
    padding-right: 0; /* Sağ kenara fazladan taşmayı keser */
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.icon-btn .icon { width: 18px; height: 18px; }
.icon-btn:hover { background: #f4f1fd; color: var(--purple); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted-2);
}
.lang-switch a { padding: 4px 1px; transition: color .2s ease; }
.lang-switch a:hover { color: var(--purple); }
.lang-switch .is-active { color: var(--ink); }
.lang-switch span { color: #c9c3d8; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink-2);
  transition: transform .25s ease, opacity .2s ease;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

.nav-item-cta { display: none; }
.nav-cta-btn { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 46px 0 30px;
  background:
    radial-gradient(900px 460px at 78% 4%, rgba(106, 74, 226, .10), transparent 62%),
    linear-gradient(180deg, #fdfcff 0%, #faf8ff 58%, #ffffff 100%);
  overflow: hidden;
}

.hero-special-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 34px;
}

.hero-copy { padding: 14px 0 18px; }

.hero-copy h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.015em;
  color: var(--ink);
  max-width: 570px;
}
.hero-copy h1 .accent { color: #5233d3; }

.hero-copy .lead {
  margin-top: 20px;
  max-width: 468px;
  font-size: 15px;
  line-height: 1.68;
  color: #5d5875;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 552px;
  min-width: 0;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e8e3f7;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  filter: saturate(.9) contrast(1.03) brightness(.97);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(83, 51, 211, .16) 0%, rgba(29, 20, 69, .04) 46%, rgba(29, 20, 69, .22) 100%);
  mix-blend-mode: multiply;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 249, 255, .92) 0%, rgba(250, 249, 255, 0) 34%),
    linear-gradient(0deg, rgba(29, 20, 69, .34) 0%, rgba(29, 20, 69, 0) 46%),
    linear-gradient(135deg, rgba(83, 51, 211, .16) 0%, rgba(83, 51, 211, 0) 55%);
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #eeeaf8;
  border-radius: 12px;
  box-shadow: 0 20px 46px rgba(38, 23, 92, .14);
  backdrop-filter: blur(4px);
}

.float-card h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}

.card-list {
  top: 168px;
  left: -12px;
  width: 190px;
  padding: 14px 15px 12px;
}
.card-list h3 { margin-bottom: 7px; }
.card-list ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: 10.5px;
  color: #5f5a78;
}
.card-list .li-icon { width: 11px; height: 11px; color: #9d8ce8; }
.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--purple-soft);
  color: var(--purple);
}
.mini-icon .icon { width: 12px; height: 12px; }

.card-chart {
  top: 70px;
  left: 26%;
  width: 294px;
  padding: 15px 16px 12px;
}
.card-chart h3 { font-size: 10.5px; margin-bottom: 2px; }
.chart-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 7px 0 5px;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 7.5px;
  letter-spacing: .01em;
  color: #9a95ad;
}

.card-plan {
  top: -4px;
  right: -6px;
  width: 212px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 14px;
  z-index: 4;
}
.plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--purple-soft);
  color: var(--purple);
  flex: none;
}
.plan-icon .icon { width: 15px; height: 15px; }
.card-plan strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}
.card-plan p {
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 1.45;
  color: var(--muted);
}
.plan-arrow {
  width: 12px;
  height: 12px;
  color: var(--purple);
  margin-left: auto;
}

.card-updates {
  bottom: 78px;
  left: 26%;
  width: 220px;
  padding: 14px 16px;
}
.card-updates h3 { margin-bottom: 8px; }
.card-updates ul li {
  position: relative;
  padding: 3.5px 0 3.5px 11px;
  font-size: 10.5px;
  color: #5f5a78;
}
.card-updates ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8f7be4;
  transform: translateY(-50%);
}

.card-solutions {
  right: -8px;
  bottom: 16px;
  width: 240px;
  padding: 14px 16px;
}
.card-solutions h3 { margin-bottom: 8px; }
.card-solutions ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3.5px 0;
  font-size: 10.5px;
  color: #5f5a78;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border: 1px solid #b7a5f0;
  border-radius: 50%;
  color: var(--purple);
  flex: none;
}
.check .icon { width: 8px; height: 8px; stroke-width: 2.4; }

/* =========================================================
   FEATURE STRIP
   ========================================================= */
.feature-strip {
  padding: 16px 0 38px;
  background: #fff;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #2c2158;
  flex: none;
}
.strip-icon .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.35;
}
.strip-item p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.strip-item p strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.strip-item p span { display: block; }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--bg-soft);
  border-top: 1px solid #f2eefb;
  border-bottom: 1px solid #f2eefb;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 30px 26px 26px;
  background: #fff;
  border: 1px solid #ece7f6;
  border-radius: var(--radius);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: #d9cef5;
  box-shadow: 0 22px 46px rgba(40, 24, 95, .09);
}
.service-card :is(h2, h3) {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

.service-detail { max-width: 760px; overflow-wrap: anywhere; }
.service-detail > * + * { margin-top: 16px; }
.service-detail-image {
  display: block;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: var(--radius);
}
.service-detail-content { white-space: pre-line; }

.service-card .post-link {
  align-self: flex-start;
  padding-top: 16px;
}

.resource-card { min-height: 140px; }
.announcement-dialog.resource-dialog { width: min(960px, calc(100% - 24px)); }
.resource-content { overflow-x: auto; overflow-wrap: anywhere; }
.resource-content > * + *, .resource-content + .announcement-attachment { margin-top: 12px; }
.resource-content :is(ul, ol) { padding-inline-start: 24px; }
.resource-content table { width: 100%; border-collapse: collapse; }
.resource-content :is(th, td) { padding: 8px 12px; border: 1px solid var(--purple-line); vertical-align: top; }
.resource-content th { background: var(--purple-soft); text-align: start; }

/* =========================================================
   VISION / ABOUT
   ========================================================= */
.vision {
  position: relative;
  color: #fff;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(120, 88, 235, .38), transparent 60%),
    linear-gradient(100deg, #201746 0%, #2b1f63 55%, #3a2880 100%);
  overflow: hidden;
}

.vision-inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  max-width: 1440px;
  margin: 0 auto;
  min-height: 330px;
}

.vision-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.vision-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.7);
}
.vision-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 23, 70, .30) 0%, rgba(42, 30, 95, .62) 72%, #2a1e5f 100%),
    linear-gradient(140deg, rgba(83, 51, 211, .55) 0%, rgba(32, 23, 70, .18) 60%);
}

.vision-content {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 44px 56px 44px 50px;
}

.vision-copy { max-width: 430px; }
.vision-copy h2 {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -.005em;
  color: #fff;
}
.vision-copy p {
  font-size: 13px;
  line-height: 1.68;
  color: rgba(255, 255, 255, .68);
}

.vision-stats {
  display: flex;
  flex-direction: column;
  gap: 17px;
  min-width: 208px;
  padding-left: 38px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.stat {
  display: flex;
  align-items: center;
  gap: 13px;
}
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  color: #c0b0f6;
}
.stat-icon .icon { width: 24px; height: 24px; stroke-width: 1.4; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}
.stat div > span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .60);
}

/* =========================================================
   POSTS
   ========================================================= */
.posts { background: #fff; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ede9f6;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: #ddd2f6;
  box-shadow: 0 22px 46px rgba(40, 24, 95, .09);
}

.post-media {
  display: block;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background: #ece7f8;
}
.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.post-card:hover .post-media img { transform: scale(1.045); }

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 17px 20px 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}
.tag {
  display: inline-block;
  padding: 3.5px 7px;
  border-radius: 4px;
  background: var(--purple-soft);
  color: #5537c9;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
  line-height: 1.2;
}
.post-meta time {
  font-size: 10px;
  color: var(--muted-2);
}

.post-card h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.36;
  color: var(--ink);
}
.post-card h3 a { transition: color .2s ease; }
.post-card h3 a:hover { color: var(--purple); }
.post-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}

.post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  transition: gap .2s ease, color .2s ease;
}
.post-link .icon { width: 13px; height: 13px; }
.post-link:hover { gap: 10px; color: var(--purple-deep); }

.announcements-grid .post-body { min-height: 210px; }

.post-carousel {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 4px;
}

.post-carousel-track {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--carousel-gap)) / 3);
  gap: var(--carousel-gap);
  --carousel-gap: 24px;
  overflow-x: auto;
  padding-block: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.post-carousel-track::-webkit-scrollbar { display: none; }
.post-carousel-track .post-card { min-width: 0; scroll-snap-align: start; }
.post-carousel-track .post-body { min-height: 210px; overflow-wrap: anywhere; }

.post-carousel-arrow {
  grid-row: 1;
  width: 40px;
  height: 40px;
  border: 1px solid var(--purple-line);
  border-radius: 50%;
  background: rgb(241 236 252 / 60%);
  color: var(--purple-dark);
  cursor: pointer;
}

.post-carousel-arrow:not([hidden]) { display: grid; place-items: center; }
.post-carousel-arrow[aria-disabled="true"] { opacity: .35; cursor: default; }
.post-carousel-arrow:hover:not([aria-disabled="true"]) { background: var(--purple-soft); }
.post-carousel-arrow .icon { width: 18px; height: 18px; }
.post-carousel-prev { grid-column: 1; }
.post-carousel-prev .icon { transform: rotate(90deg); }
.post-carousel-next { grid-column: 3; }
.post-carousel-next .icon { transform: rotate(-90deg); }

@media (max-width: 1024px) {
  .post-carousel-track { grid-auto-columns: calc((100% - var(--carousel-gap)) / 2); }
}

@media (max-width: 760px) {
  .post-carousel-track { grid-auto-columns: 100%; --carousel-gap: 18px; }
}

.announcement-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.announcement-dialog {
  --announcement-padding: clamp(20px, 5vw, 44px);
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(780px, calc(100% - 24px));
  height: fit-content;
  max-height: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  color: var(--ink);
  background: linear-gradient(155deg, var(--purple-soft), var(--white) 230px);
  border: 1px solid var(--purple-line);
  border-top: 4px solid var(--purple);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgb(29 20 69 / 30%);
  overscroll-behavior: contain;
}

.announcement-dialog::backdrop {
  background: rgb(29 20 69 / 64%);
  backdrop-filter: blur(4px);
}

body:has(.announcement-dialog[open]) { overflow-y: hidden; }

.announcement-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px var(--announcement-padding) 4px;
}

.announcement-dialog-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple-dark);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.announcement-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--purple-line);
  border-radius: 50%;
  background: var(--white);
  color: var(--purple-dark);
  cursor: pointer;
}

.announcement-close:hover { background: var(--purple-soft); }
.announcement-close .icon { width: 19px; height: 19px; }

.announcement-dialog-body { padding: 8px var(--announcement-padding) 28px; }
.announcement-dialog-body h2,
.scroll-detail-dialog .announcement-dialog-header h2 {
  font: 600 clamp(24px, 5vw, 36px)/1.2 var(--serif);
  overflow-wrap: anywhere;
}
.announcement-dialog-body h2 { margin-bottom: 10px; }

.scroll-detail-dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.scroll-detail-dialog .announcement-dialog-header { padding-bottom: 16px; }
.scroll-detail-dialog .announcement-dialog-header form { flex: none; }
.scroll-detail-dialog .announcement-dialog-body {
  min-height: 0;
  padding-top: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.announcement-date { color: var(--muted); font-size: .875rem; }
.announcement-dialog-body :is(.announcement-content, .service-detail) {
  margin: 24px 0;
  padding-top: 22px;
  border-top: 1px solid var(--purple-line);
  color: var(--ink-2);
  line-height: 1.75;
}
[data-service-detail] .announcement-dialog-body .service-detail { margin: 0; }

.announcement-attachment {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--purple-line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--purple-dark);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.announcement-attachment img { flex: none; }
.announcement-attachment-arrow { margin-left: auto; flex: none; }
.announcement-attachment:hover { background: var(--purple-soft); }
.announcement-attachment:hover span { text-decoration: underline; }

.announcement-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--purple-line);
}

.announcement-print-copy { display: none; }

@media print {
  @page announcement {
    size: A4;
    margin: 14mm 16mm;
  }

  body.site-page:has(.announcement-print-copy, .announcement-detail-page) {
    display: block;
    min-height: 0;
    overflow: visible;
  }

  body:has(.announcement-print-copy) > :not(.announcement-print-copy),
  body:has(.announcement-detail-page):not(:has(.announcement-print-copy)) > :not(main),
  .letterhead-content .text-link,
  .announcement-detail-page .text-link,
  .announcement-attachment-arrow,
  .announcement-actions {
    display: none;
  }

  .announcement-print-copy { display: block; }
  body:has(.announcement-print-copy) > .announcement-print-copy {
    page: announcement;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 268mm;
    color: #231b39;
    font-size: 11pt;
  }

  .letterhead-header,
  .letterhead-content,
  .letterhead-footer { position: relative; }

  .letterhead-header {
    display: flex;
    align-items: center;
    gap: 5mm;
    padding-bottom: 5mm;
    margin-bottom: 8mm;
    border-bottom: 1.5pt solid #51379b;
    break-inside: avoid;
  }

  .letterhead-mark {
    padding-right: 5mm;
    border-right: .75pt solid #b8a9db;
    font: 600 28pt/1 var(--serif);
    color: #51379b;
  }

  .letterhead-header strong { display: block; font-size: 15pt; letter-spacing: .05em; }
  .letterhead-header div div { font-size: 8pt; letter-spacing: .04em; }

  .letterhead-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-27deg);
    color: #e7e1f2;
    font: 700 32pt/1 var(--serif);
    white-space: nowrap;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .letterhead-content { flex: 1 0 auto; }
  .letterhead-content > .container { width: 100%; max-width: none; }
  .letterhead-content .page-title { display: block; text-align: left; margin: 0 0 4mm; }
  .letterhead-content .page-title::before,
  .letterhead-content .page-title::after { display: none; }
  .letterhead-content :is(h1, h2) { font-size: 19pt; break-after: avoid; }
  .letterhead-content .resource-content { overflow: visible; }

  .letterhead-footer {
    margin-top: 8mm;
    padding-top: 4mm;
    border-top: 1.5pt solid #51379b;
    text-align: center;
    font-size: 9pt;
    overflow-wrap: anywhere;
    break-inside: avoid;
  }

  .letterhead-footer p + p { margin-top: 1mm; }
  .announcement-dialog::backdrop { background: transparent; backdrop-filter: none; }
  .announcement-dialog-body, .announcement-detail-page { padding: 0; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(600px 320px at 88% 0%, rgba(255, 255, 255, .16), transparent 65%),
    linear-gradient(100deg, #4326b8 0%, #6243dc 55%, #7a59ea 100%);
}
.cta::before {
  content: "";
  position: absolute;
  top: -230px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 64%);
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: 32%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 18, 92, .35), transparent 66%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 38px;
}
.cta-copy h2 {
  margin: 6px 0 5px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.22;
  color: #fff;
}
.cta-copy p:last-child {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .74);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #241a4e;
  color: rgba(255, 255, 255, .66);
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .85fr 1fr 1.1fr;
  gap: 40px;
}

.logo-footer .logo-mark { color: #fff; font-size: 34px; }
.logo-footer .logo-mark span { color: #a78bfa; }
.logo-footer .logo-sep { background: rgba(255, 255, 255, .18); height: 26px; }
.logo-footer .logo-text strong { color: #fff; font-size: 10.5px; }
.logo-footer .logo-text small { color: rgba(255, 255, 255, .42); font-size: 7px; }

.footer-brand p {
  max-width: 290px;
  margin-top: 18px;
  font-size: 11.8px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .58);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  color: rgba(255, 255, 255, .82);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.socials .icon { width: 14px; height: 14px; }
.socials a:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
}
.footer-col > a {
  display: block;
  margin-bottom: 9px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .60);
  transition: color .2s ease, transform .2s ease;
}
.footer-col > a:hover { color: #fff; transform: translateX(2px); }

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 11px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .60);
}
.footer-contact .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #b4a2f2;
}
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: 10px;
  color: rgba(255, 255, 255, .42);
}
.footer-bottom > p:only-child {
  width: 100%;
  text-align: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}
.footer-legal a { transition: color .2s ease; }
.footer-legal a:hover { color: #fff; }
.footer-legal a.is-active { color: rgba(255, 255, 255, .82); }
.footer-legal span { color: rgba(255, 255, 255, .22); }

/* =========================================================
   SEARCH MODAL
   ========================================================= */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 16px 24px;
}
.search-modal[hidden] { display: none; }

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 45, .52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s ease both;
}
.search-panel {
  position: relative;
  width: min(620px, 100%);
  padding: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .24s ease both;
}
.search-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.search-head .search-icon {
  width: 19px;
  height: 19px;
  color: var(--purple);
}
.search-head input {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  outline: none;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
}
.search-head input::placeholder { color: #a29db4; }
.search-head input[type="search"]::-webkit-search-cancel-button,
.search-head input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-results {
  max-height: 48vh;
  overflow-y: auto;
  margin-top: 8px;
}
.search-results li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background-color .18s ease;
}
.search-results li a strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.search-results li a small {
  font-size: 11px;
  color: var(--muted-2);
}
.search-results li a:hover { background: #f7f4fe; }
.search-results li a:hover strong { color: var(--purple); }
.search-empty {
  padding: 16px 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.search-hint {
  padding: 10px 4px 2px;
  font-size: 10.5px;
  color: var(--muted-2);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-10px) scale(.99); }
  to { opacity: 1; transform: none; }
}

body.no-scroll { overflow: hidden; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .header-inner { gap: 18px; }
  .nav-list { gap: 17px; }
  .nav-link { font-size: 12.2px; }
  .header-actions { gap: 10px; }
  .btn-sm { padding: 10px 14px; font-size: 12px; }
  .hero-copy h1 { font-size: clamp(36px, 3.9vw, 50px); }
  .hero-visual { height: 520px; }
  .card-chart { left: 25%; }
  .vision-content { gap: 30px; padding: 42px 36px; }
  .vision-stats { padding-left: 28px; min-width: 192px; }
}

@media (max-width: 1120px) {
  :root { --header-h: 72px; }

  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-actions { margin-left: auto; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 55;
    margin: 0;
    padding: 8px 24px 24px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(25, 16, 60, .12);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item { border-bottom: 1px solid #f1edf9; }
  .nav-item:last-child { border-bottom: 0; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 2px;
    font-size: 14.5px;
    font-weight: 500;
  }
  .has-menu > a.nav-link { padding-inline-end: 48px; }
  .has-menu > a .icon-chevron { display: none; }
  .nav-link.services-menu-toggle {
    position: absolute;
    inset: 0 0 auto auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 48px;
    padding: 0;
  }
  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 10px 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dropdown::before { display: none; }
  .has-menu:hover .dropdown { display: none; }
  .has-menu.is-open .dropdown { display: block; }
  .dropdown a { padding: 8px 10px; }
  .nav-item-cta { display: block; border-bottom: 0; padding-top: 16px; }

  .hero-visual { height: 500px; }
  .card-chart { left: 24%; }
  .card-updates { left: 24%; }
  .vision-content { flex-wrap: wrap; }
  .vision-stats { flex-direction: row; flex-wrap: wrap; gap: 14px 26px; min-width: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0 0; width: 100%; }
  .vision-copy { max-width: 100%; }
  .vision-inner { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
}

@media (min-width: 981px) {
  .footer-grid-en { grid-template-columns: 1.5fr .85fr 1.1fr; }
}

@media (max-width: 980px) {
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { max-width: 660px; padding-bottom: 0; }
  .hero-copy h1 { font-size: clamp(36px, 5.2vw, 50px); }
  .hero-visual { height: 470px; margin-top: 4px; }
  .hero-photo { inset: 0; }
  .card-chart { top: 32px; left: 8%; width: 300px; }
  .card-plan { top: 2px; right: 2%; }
  .card-solutions { bottom: 12px; right: 2%; }
  .card-list, .card-updates { display: none; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .vision-inner { grid-template-columns: 1fr; }
  .vision-media { height: 230px; min-height: 0; }
  .vision-media img { object-position: center 32%; }
  .vision-content { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px 28px 36px; }
  .vision-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }

  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .footer-contact ul li { margin-bottom: 0; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0 56px; }

  .logo-mark { font-size: 33px; }
  .logo-text strong { font-size: 10px; }
  .logo-text small { font-size: 6.5px; letter-spacing: .14em; }
  .logo { gap: 9px; }
  .logo-sep { height: 26px; }
  .header-actions { gap: 4px; }

  .hero { padding: 28px 0 20px; }
  .hero-copy h1 { font-size: clamp(32px, 7.4vw, 42px); }
  .hero-copy .lead { font-size: 14.2px; margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-visual { height: 410px; }
  .card-chart { top: 24px; left: 4%; width: 280px; }
  .card-plan, .card-solutions { display: none; }

  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
  .strip-item { gap: 10px; }
  .strip-icon { width: 34px; height: 34px; }
  .strip-icon .icon { width: 30px; height: 30px; }
  .strip-item p, .strip-item p strong { font-size: 11.5px; }

  .section-head { margin-bottom: 22px; }
  .section-head h2 { font-size: 26px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { min-height: 0; padding: 24px 22px; }

  .vision-media { height: 200px; }
  .vision-copy h2 { font-size: 26px; }
  .vision-content { padding: 28px 20px 32px; }
  .vision-stats { gap: 16px 18px; }

  .posts-grid { grid-template-columns: 1fr; gap: 18px; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 32px; }
  .cta-copy h2 { font-size: 26px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 30px; }
  .footer-legal { flex-wrap: wrap; }

  .search-modal { padding-top: 8vh; }
  .search-panel { padding: 14px; }
}

@media (max-width: 480px) {
  .logo-text small { display: none; }
  .logo-text strong { font-size: 9.5px; letter-spacing: .05em; }
  .logo-sep { height: 22px; }
  .header-inner { gap: 8px; padding-inline: 16px; }
  .site-header .logo { flex-shrink: 1; min-width: 0; }
  .site-header .logo-text strong { white-space: normal; }
  .hero-copy h1 { font-size: 31px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: 340px; }
  .card-chart { width: 252px; padding: 12px 12px 10px; }
  .chart-axis { font-size: 7px; }
  .strip-grid { grid-template-columns: 1fr; gap: 16px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .vision-stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 18px; }
  .stat div > span { font-size: 9.5px; }

  .cta-copy h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-bottom { font-size: 9.5px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media screen {
  .announcement-dialog[id^="announcement-"][open] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .announcement-dialog[id^="announcement-"] > .announcement-dialog-header {
    flex: none;
  }

  .announcement-dialog[id^="announcement-"] > .announcement-dialog-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 16px;
  }

  .announcement-dialog[id^="announcement-"] .announcement-content {
    min-height: 0;
    margin-bottom: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .announcement-dialog[id^="announcement-"] .announcement-actions {
    flex: none;
    margin-top: 12px;
    padding-top: 12px;
  }
}

.footer-grid > nav[aria-label="Popüler içerikler"] {
  display: none;
}

@media (min-width: 981px) {
  .footer-grid {
    grid-template-columns: 1.5fr .85fr 1.1fr;
  }
}

#searchOpen { display: none; }
