/* ==========================================================================
   components.css - reusable building blocks (BEM). Page-specific composition lives in pages.css.
   ========================================================================== */

/* ---- icon (sprite symbols keep a constant px stroke, see tools/build_icons.py) ---- */
.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 0.875rem; height: 0.875rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 1.125rem; height: 1.125rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 1.625rem; height: 1.625rem; }

/* ---- logo lockup: mark + live text (Figma 3:12 light / 3:23 dark). One size variable scales the whole lockup. ---- */
.logo {
  --logo-mark: 3.75rem;
  --logo-shield: var(--color-navy-900);
  --logo-hook: var(--color-orange-500);
  --logo-chevron: var(--color-white);
  --logo-word: var(--color-navy-900);
  display: inline-flex;
  align-items: center;
  gap: calc(var(--logo-mark) * 0.2);
  color: var(--logo-word);
  line-height: 1;
  min-height: 2.75rem; /* tap target */
}
.logo--dark {
  --logo-shield: var(--color-orange-500);
  --logo-hook: var(--color-navy-900);
  --logo-chevron: var(--color-navy-900);
  --logo-word: var(--color-white);
}
.logo__mark { width: var(--logo-mark); height: var(--logo-mark); flex: none; }
.logo__shield { fill: var(--logo-shield); }
.logo__hook { fill: none; stroke: var(--logo-hook); stroke-linecap: round; stroke-linejoin: round; }
.logo__chevron { fill: none; stroke: var(--logo-chevron); stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: grid; gap: calc(var(--logo-mark) * 0.033); font-family: var(--font-display); }
.logo__name {
  font-size: calc(var(--logo-mark) * 0.6);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--logo-word);
}
.logo__tag {
  font-size: calc(var(--logo-mark) * 0.283);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--color-orange-500);
}
.logo--sm { --logo-mark: 2.75rem; }

/* ---- buttons (Figma: 52 px high, radius 12, Inter 700 16) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.625rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out);
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--color-navy-900); }
.btn--navy { background: var(--color-navy-900); color: var(--color-white); }
.btn--outline-light { border-color: var(--color-navy-200); color: var(--color-white); }
.btn--outline-navy { border-color: var(--color-navy-900); color: var(--color-navy-900); }
.btn--block { display: flex; width: 100%; }
.btn--compact { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: var(--fs-body); gap: var(--space-2); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--color-orange-600); }
  .btn--navy:hover { background: var(--color-navy-800); }
  .btn--outline-light:hover { background: var(--hover-on-navy); border-color: var(--color-white); }
  .btn--outline-navy:hover { background: var(--color-navy-900); color: var(--color-white); }
}
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.65; cursor: progress; }
.btn.is-busy { opacity: 0.75; cursor: progress; } /* "Konum Gönder" while the position is being asked for */
/* loading: the arrow is replaced by a spinner (form submit) */
.btn.is-loading .icon { display: none; }
.btn.is-loading::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: mc-spin 0.7s linear infinite;
}
@keyframes mc-spin { to { transform: rotate(360deg); } }

/* round icon button (menu toggle, drawer close) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--color-border-input);
  border-radius: var(--radius-lg);
  color: var(--color-navy-900);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.icon-btn:active { transform: scale(0.95); }
.icon-btn--on-navy { border-color: var(--line-on-navy-strong); color: var(--color-white); }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { background: var(--bg-soft); border-color: var(--color-navy-900); }
  .icon-btn--on-navy:hover { background: var(--hover-on-navy); border-color: var(--color-white); }
}

/* the menu button only exists where the drawer does (< 1024) and only with JavaScript */
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.no-js .menu-toggle { display: none; }

/* header call button: full "Hemen Ara" on desktop, compact below 1024, icon only on tiny phones */
.site-header__call { min-height: 2.75rem; padding: 0.5rem 0.875rem; font-size: var(--fs-body); gap: var(--space-2); }
@media (min-width: 1024px) {
  .site-header__call { min-height: 3.25rem; padding: 1rem 1.625rem; font-size: 1rem; gap: 0.625rem; }
}
@media (max-width: 349.98px) {
  .site-header__call .btn__text { display: none; }
  .site-header__call { width: 2.75rem; padding: 0; }
}

/* text link with arrow (cards, lists): "Detaylı bilgi ->" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent-text);
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  a:hover > .link-arrow .icon,
  .link-arrow:hover .icon { transform: translateX(3px); }
}

/* ---- eyebrow + section heading (Figma: eyebrow 13/700 caps, H2 52, intro 17) ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent-text);
}
.on-navy .eyebrow { color: var(--accent); }
.section-heading { display: grid; gap: var(--space-3); max-width: 46rem; }
.section-heading__title { font-size: var(--fs-h2); line-height: 1.05; }
.section-heading__intro { max-width: 40rem; font-size: var(--fs-intro); line-height: 1.55; color: var(--text-muted); }
.on-navy .section-heading__title { color: var(--color-white); }
.on-navy .section-heading__intro { color: var(--text-on-navy-muted); }

/* ---- pill / chip / badge ---- */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--color-navy-800);
  font-size: var(--fs-micro);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.badge-live__dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
.badge-live__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  animation: mc-pulse 1.8s var(--ease-out) infinite;
}
@keyframes mc-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .badge-live__dot::after { display: none; } }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  font-size: var(--fs-micro);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy-800);
}
.chip--accent { background: var(--accent); color: var(--color-navy-900); }

/* ---- hero stats (Figma 4:86: number 44 Barlow 800 + label 14) ---- */
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; padding-top: var(--space-3); }
.stats__item { display: grid; gap: 2px; align-content: start; padding-inline: var(--space-4); }
.stats__item:first-child { padding-left: 0; }
.stats__item + .stats__item { border-left: 1px solid var(--line-on-navy); }
.stats__value { font-family: var(--font-display); font-size: var(--fs-stat); font-weight: 800; line-height: 1; color: var(--color-white); }
.stats__label { font-size: var(--fs-small); font-weight: 500; line-height: 1.2; color: var(--text-on-navy-muted); }
@media (min-width: 768px) { .stats__item { padding-inline: 2.5rem; } }
@media (max-width: 767.98px) { .stats__label { font-size: var(--fs-label); line-height: 1.25; } }

/* ---- trust item (Figma 4:147: 56 tile + title 16/700 + text 14) ---- */
.trust-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.trust-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-tile);
  background: var(--bg-soft);
  color: var(--color-navy-900);
}
.trust-item__icon .icon { width: 1.625rem; height: 1.625rem; }
.trust-item__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; color: var(--text); }
.trust-item__text { margin-top: var(--space-1); font-size: var(--fs-small); line-height: 1.5; color: var(--text-muted); }

/* ---- card (service card Figma 4:188) ---- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: var(--radius-xl);
  background: var(--color-navy-900);
  color: var(--accent);
}
.card__icon .icon { width: 1.75rem; height: 1.75rem; }
.card__title { font-size: var(--fs-h3); line-height: 1.2; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { font-size: var(--fs-body); line-height: 1.55; color: var(--text-muted); }
.card__link { margin-top: auto; align-self: flex-start; }
@media (min-width: 768px) { .card { padding: var(--space-8); } }

/* a whole card that is one link: the title link stretches over the card (one tab stop, big tap target) */
.card--link { position: relative; transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease, transform var(--dur-base) var(--ease-out); }
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link .card__title a:focus-visible { outline: none; }
.card--link:has(.card__title a:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .card--link:hover { border-color: var(--color-navy-200); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
  .card--link:hover .link-arrow .icon { transform: translateX(3px); }
}

/* ---- numbered step (Figma 4:271: number 72 orange, rule, title, text) ---- */
.step { display: grid; gap: 0.875rem; align-content: start; }
.step__head { display: flex; align-items: center; gap: var(--space-4); }
.step__number { font-family: var(--font-display); font-size: var(--fs-number); font-weight: 800; line-height: 1; color: var(--color-orange-500); /* Figma #ff8a00; decorative numeral (aria-hidden), the step heading carries the meaning */ font-variant-numeric: lining-nums; }
.step__rule { flex: 1; height: 2px; border-radius: 1px; background: var(--line); }
.step:last-child .step__rule { display: none; }
.step__title { font-size: var(--fs-h3); line-height: 1.2; }
.step__text { font-size: var(--fs-body); line-height: 1.55; color: var(--text-muted); max-width: 22rem; }

/* ---- emergency call band (Figma 5:51) ---- */
.call-band__box {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-6);
  background: var(--accent);
  border-radius: var(--radius-3xl);
  color: var(--color-navy-900);
}
.call-band__title { font-size: var(--fs-cta); line-height: 1; color: var(--color-navy-900); }
.call-band__text { margin-top: 0.625rem; font-size: 1.125rem; font-weight: 500; line-height: 1.35; color: var(--color-navy-800); }
.call-band__actions { display: grid; gap: var(--space-3); }
.call-band .btn { min-height: 3.75rem; padding-inline: 2rem; }
.call-band .btn--outline-navy { padding-inline: 1.625rem; }
@media (min-width: 600px) {
  .call-band__actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 768px) {
  .call-band__box { padding: var(--space-12) var(--space-10); border-radius: var(--radius-4xl); }
}
@media (min-width: 1024px) {
  .call-band__box { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-3) var(--space-2); padding: 3.5rem 4rem; }
  .call-band__actions { flex-wrap: nowrap; }
}

/* ---- image placeholder (Figma "Kapak Görseli": gradient, two translucent circles, centred orange line icon, orange bottom bar) ----
   The consumer sets the aspect ratio. Circle sizes follow the box height so the composition scales proportionally. ---- */
.media-ph {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--placeholder-gradient);
  --icon-stroke: 1.5;
  --ph-bar: 10px; /* height of the orange bottom bar: 10 on cards, 4-6 on small thumbnails, 12-13 on hero frames (Figma) */
}
.media-ph--hero { background: var(--placeholder-gradient-hero); }
.media-ph::before,
.media-ph::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
}
.media-ph::before { top: 0; left: 0; height: 110%; background: var(--placeholder-circle-1); transform: translate(-27.3%, -40.9%); }
.media-ph::after { top: 45%; right: 0; height: 70%; background: var(--placeholder-circle-2); transform: translateX(40%); }
.media-ph__icon { position: absolute; inset: 0 0 var(--ph-bar); display: grid; place-items: center; color: var(--accent); }
.media-ph__icon .icon { width: auto; height: 26%; min-height: var(--ph-icon-min, 2.5rem); aspect-ratio: 1; }
.media-ph__bar { position: absolute; inset: auto 0 0 0; height: var(--ph-bar); background: var(--accent); }
/* a real image fills the same frame; the bottom bar stays */
.media-ph__img { position: absolute; inset: 0 0 var(--ph-bar); width: 100%; height: calc(100% - var(--ph-bar)); object-fit: cover; }
.media-ph--has-image::before,
.media-ph--has-image::after { display: none; }

/* ---- breadcrumb + page hero (Blog 6:89 style band, used by every inner page) ---- */
.page-hero { background: var(--bg-navy); color: var(--text-on-navy); padding-block: var(--space-10) var(--space-10); }
.page-hero__inner { display: grid; gap: var(--space-4); }
.page-hero__title { font-size: var(--fs-page-title); line-height: 1; color: var(--color-white); }
.page-hero__intro { max-width: 40rem; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-on-navy-muted); }
@media (min-width: 768px) { .page-hero { padding-block: var(--space-16); } }
@media (min-width: 1024px) { .page-hero { padding-block: 4.5rem; } .page-hero__inner { gap: 1.125rem; } }

.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--fs-label); line-height: 1.2; font-weight: 500; color: var(--text-on-navy-muted); }
.breadcrumb__item { display: inline-flex; align-items: center; gap: var(--space-2); }
.breadcrumb__item .icon { width: 0.875rem; height: 0.875rem; }
.breadcrumb__item [aria-current="page"] { font-weight: 600; color: var(--accent); }
.breadcrumb a { color: inherit; text-decoration: none; transition: color var(--dur-fast) ease; }
@media (hover: hover) and (pointer: fine) { .breadcrumb a:hover { color: var(--color-white); } }

/* ---- forms (Figma 4:98: label 13/600, 48 px control on #f4f6fa, radius 10) ---- */
.field { display: grid; gap: 0.375rem; align-content: start; min-width: 0; }
.field__label { font-size: var(--fs-label); font-weight: 600; line-height: 1.2; color: var(--text); }
.control {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding-inline: 0.875rem;
  background: var(--bg-soft);
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.control:focus-within { background: var(--bg); border-color: var(--color-navy-800); outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.control__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: var(--fs-body);
  line-height: 1.2;
  color: var(--text);
}
.control__input::placeholder { color: var(--text-muted); opacity: 1; }
.control--textarea { align-items: flex-start; padding-block: 0.75rem; }
.control--textarea .control__input { min-height: 7rem; resize: vertical; line-height: 1.5; }
.control-wrap { position: relative; display: grid; gap: var(--space-1); }
.control-wrap--action .control__input { padding-right: 7.75rem; }
.control__action {
  position: absolute;
  right: 0.625rem;
  top: 0.5rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.375rem;
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-text);
  white-space: nowrap;
  border-radius: var(--radius-sm);
}
/* phones and the narrow hero card at 1024-1279: the action becomes a link row under the input, so the placeholder is never cut off */
@media (max-width: 479.98px), (min-width: 1024px) and (max-width: 1279.98px) {
  .control-wrap--action .control__input { padding-right: 0; }
  .control__action { position: static; justify-self: start; height: 2.75rem; padding: 0 0.25rem; margin-left: -0.25rem; }
}
@media (hover: hover) and (pointer: fine) { .control__action:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
.control__action .icon { display: none; }
@media (max-width: 479.98px), (min-width: 1024px) and (max-width: 1279.98px) { .control__action { gap: var(--space-2); } .control__action .icon { display: block; } }
.control__action[aria-busy="true"] { opacity: 0.6; }
/* select: native element, own chevron */
.control--select { position: relative; }
.control--select select { appearance: none; -webkit-appearance: none; padding-right: 1.75rem; cursor: pointer; }
.control--select .control__chev { position: absolute; right: 0.875rem; pointer-events: none; color: var(--text-muted); }
.field__hint { font-size: var(--fs-micro); line-height: 1.4; color: var(--text-muted); }
.field__error { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--fs-label); line-height: 1.3; font-weight: 500; color: var(--color-danger); }
.field__error .icon { width: 1rem; height: 1rem; margin-top: 1px; }
.field--invalid .control { border-color: var(--color-danger); background: var(--color-danger-soft); }

.checkbox { display: flex; align-items: flex-start; gap: 0.625rem; cursor: pointer; font-size: var(--fs-micro); line-height: 1.45; color: var(--text-muted); }
.checkbox__input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.0625rem 0 0;
  background: var(--bg);
  border: 1.5px solid var(--color-border-check);
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.checkbox__input::after {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  background: var(--color-navy-900);
  /* check mark as a mask so its colour stays a token */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.67 3.5 5.25 9.92 2.33 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.67 3.5 5.25 9.92 2.33 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0.6);
  opacity: 0;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) ease;
}
/* phones and tablets: the whole row is a 44 px tall tap target */
@media (max-width: 1023.98px) {
  .checkbox { padding-block: 0.625rem; margin-block: -0.625rem; }
}
.checkbox__input:checked { background: var(--accent); border-color: var(--accent); }
.checkbox__input:checked::after { transform: none; opacity: 1; }
.checkbox__input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.field--invalid .checkbox__input { border-color: var(--color-danger); }
.checkbox a { font-weight: 500; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* form status box (result of the last submission) */
.form-status {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.form-status .icon { margin-top: 1px; }
.form-status--success { background: var(--color-success-soft); color: var(--color-success); }
.form-status--error { background: var(--color-danger-soft); color: var(--color-danger); }
.form-status__title { display: block; font-weight: 700; }
.form-status__text { color: var(--text); }
.form-status:focus-visible { outline-offset: 2px; }

/* ==========================================================================
   Phase 2 components
   ========================================================================== */

/* ---- light breadcrumb (post header sits on the light surface) ---- */
.breadcrumb--light .breadcrumb__list { color: var(--text-muted); }
.breadcrumb--light .breadcrumb__item [aria-current="page"] { color: var(--accent-text); }
@media (hover: hover) and (pointer: fine) { .breadcrumb--light a:hover { color: var(--heading); } }
/* long titles must not push the trail wider than the screen: the current page truncates */
.breadcrumb__item [aria-current="page"] { overflow-wrap: anywhere; }
.breadcrumb__item { min-width: 0; }

/* ---- pills (blog category chips, 404 links) ---- */
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.pill:active { transform: scale(0.97); }
.pill.is-active { background: var(--bg-navy); border-color: var(--bg-navy); color: var(--color-white); }
@media (hover: hover) and (pointer: fine) {
  .pill:not(.is-active):hover { border-color: var(--color-navy-900); }
}

/* ---- search box (Figma 6:110: 46 px, surface fill, hairline) ---- */
.search-box {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.875rem;
  padding-inline: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.search-box:focus-within { background: var(--bg); border-color: var(--color-navy-800); outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.search-box__input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: var(--fs-body);
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}
.search-box__input::placeholder { color: var(--text-muted); opacity: 1; }
.search-box__input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---- avatar + author line ---- */
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-navy-900);
}
.avatar--sm { width: 2.5rem; height: 2.5rem; font-size: 1.0625rem; }
.avatar--lg { width: 4rem; height: 4rem; font-size: 1.6875rem; }
.author-line { display: flex; align-items: center; gap: 0.875rem; }
.author-line__name { font-size: var(--fs-body); font-weight: 600; line-height: 1.2; color: var(--text); }
.author-line__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; margin-top: 0.25rem; font-size: var(--fs-label); font-weight: 500; line-height: 1.2; color: var(--text-muted); }
.meta-item { display: inline-flex; align-items: center; gap: 0.375rem; }
.meta-item .icon { width: 0.9375rem; height: 0.9375rem; }

/* ---- blog card (Figma 6:145) ---- */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease, transform var(--dur-base) var(--ease-out);
}
.post-card__media { aspect-ratio: 382 / 220; --ph-icon-min: 2.5rem; }
.post-card--compact .post-card__media { aspect-ratio: 382 / 200; --ph-bar: 5px; }
.post-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.5rem; }
.post-card__title { font-size: 1.625rem; line-height: 1.1; text-wrap: balance; }
@media (min-width: 1024px) { .post-card__title { text-wrap: pretty; } } /* desktop keeps Figma's line breaks */
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card__title a:focus-visible { outline: none; }
.post-card:has(.post-card__title a:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.post-card__text { font-size: var(--fs-body); line-height: 1.55; color: var(--text-muted); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: auto; padding-top: 0.25rem; font-size: var(--fs-label); font-weight: 500; line-height: 1.2; color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover { border-color: var(--color-navy-200); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
}

/* ---- featured post (Figma 6:115) ---- */
.post-featured {
  position: relative;
  display: grid;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  overflow: hidden;
}
.post-featured__media { aspect-ratio: 16 / 10; border-radius: 0; }
.post-featured__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.125rem; padding: 1.5rem; }
.post-featured__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-featured__title { font-size: clamp(1.875rem, 1.45rem + 1.75vw, 2.75rem); line-height: 1.05; text-wrap: balance; }
@media (min-width: 1024px) { .post-featured__title { text-wrap: pretty; } }
.post-featured__title a { color: inherit; text-decoration: none; }
.post-featured__title a::after { content: ""; position: absolute; inset: 0; }
.post-featured__title a:focus-visible { outline: none; }
.post-featured:has(.post-featured__title a:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.post-featured__text { font-size: 1rem; line-height: 1.55; color: var(--text-muted); }
.post-featured__link { margin-top: 0.125rem; font-size: var(--fs-body); }
@media (min-width: 768px) { .post-featured__body { padding: 2.5rem; } }
@media (min-width: 600px) and (max-width: 1023.98px) { .post-featured__media { aspect-ratio: 2 / 1; } }
@media (min-width: 1024px) {
  .post-featured { grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); }
  .post-featured__media { aspect-ratio: auto; min-height: 27.5rem; }
  .post-featured__body { padding: 3rem; justify-content: center; }
}
@media (hover: hover) and (pointer: fine) {
  .post-featured:hover .link-arrow .icon { transform: translateX(3px); }
}

/* ---- pagination (Figma 6:300) ---- */
.pagination { display: flex; justify-content: center; }
.pagination__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.875rem;
  min-height: 2.875rem;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.pagination__link:active { transform: scale(0.97); }
.pagination__link--wide { padding-inline: 1.125rem; }
.pagination__link.is-current { background: var(--bg-navy); border-color: var(--bg-navy); color: var(--color-white); }
.pagination__prev-icon { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) { .pagination__link:not(.is-current):hover { border-color: var(--color-navy-900); } }

/* ---- empty state ---- */
.empty-state { display: grid; justify-items: center; gap: 0.875rem; padding: 3rem 1.5rem; text-align: center; background: var(--bg-soft); border-radius: var(--radius-2xl); }
.empty-state__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: var(--radius-tile); background: var(--color-navy-900); color: var(--accent); }
.empty-state__title { font-size: 1.75rem; }
.empty-state__text { max-width: 28rem; color: var(--text-muted); }

/* ---- orange check points on navy (service hero, Figma 9:288) ---- */
.check-list { display: grid; gap: 0.75rem; }
.check-list__item { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; font-weight: 500; line-height: 1.3; color: var(--color-white); }
.check-list__mark { display: grid; place-items: center; flex: none; width: 1.625rem; height: 1.625rem; border-radius: 7px; background: var(--accent); color: var(--color-navy-900); }
.check-list__mark .icon { width: 0.875rem; height: 0.875rem; stroke-width: 3; }

/* ---- service blocks (Figma 9:325) ---- */
.service-block { display: grid; gap: 1.5rem; min-width: 0; }
.service-block__title { font-size: var(--fs-block-title); line-height: 1.08; }
.service-block__intro { font-size: var(--fs-intro); line-height: 1.7; letter-spacing: -0.006em; /* the live Inter is ~0.6 % wider than Figma's: keeps the designed line breaks */ color: var(--color-navy-800); }
.feature-grid { display: grid; gap: 1rem; }  /* Figma: 20 px between columns, 24 px between rows */
.feature-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; background: var(--bg-soft); border-radius: 18px; }
.feature-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 13px; background: var(--color-navy-900); color: var(--accent); }
.feature-card__icon .icon { width: 1.375rem; height: 1.375rem; }
.feature-card__title { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 700; line-height: 1.2; letter-spacing: 0; color: var(--text); }
.feature-card__text { font-size: var(--fs-body); line-height: 1.55; color: var(--text-muted); }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 1.5rem; } }

.type-list { display: grid; gap: 1rem; }
.type-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; }
.type-row__number { flex: none; min-width: 2.25rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--color-orange-500); font-variant-numeric: lining-nums; }
.type-row__body { display: grid; gap: 0.5rem; min-width: 0; }
.type-row__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.625rem; font-size: 1.625rem; line-height: 1.2; }
.type-row__badge { display: inline-flex; align-items: center; padding: 0.375rem 0.75rem; border-radius: var(--radius-pill); background: var(--accent); font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 700; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-navy-900); }
.type-row__text { font-size: var(--fs-body); line-height: 1.6; color: var(--text-muted); }
@media (min-width: 600px) {
  .type-list { gap: 1.5rem; }
  .type-row { gap: 1.5rem; padding: 1.5rem; }
  .type-row__number { min-width: 2.75rem; font-size: 3rem; }
  .type-row__title { font-size: 1.75rem; }
}

.factor-list { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.factor-row { display: flex; align-items: center; gap: 1rem; padding: 1.125rem 1.25rem; }
.factor-row:nth-child(odd) { background: var(--bg-soft); }
.factor-row__icon { display: grid; place-items: center; flex: none; width: 1.375rem; height: 1.375rem; color: var(--color-navy-900); }
.factor-row__icon .icon { width: 1.375rem; height: 1.375rem; }
.factor-row__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; color: var(--text); }
.factor-row__text { margin-top: 0.125rem; font-size: var(--fs-small); line-height: 1.2; color: var(--text-muted); }
@media (min-width: 768px) { .factor-row { padding-inline: 1.5rem; } }

/* ---- accordion (Figma 9:419) ---- */
.accordion { display: grid; gap: 1rem; }
.accordion__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-xl); transition: background-color var(--dur-base) ease, border-color var(--dur-base) ease; }
.accordion__heading { font-family: var(--font-body); font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 1rem 1.125rem;
  text-align: left;
  border-radius: var(--radius-xl);
  -webkit-tap-highlight-color: transparent;
  transition: padding-bottom var(--dur-base) var(--ease-out);
}
.accordion__item.is-open .accordion__trigger { padding-bottom: 0.5rem; }
.accordion__question { font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; color: var(--text); }
.accordion__icon { position: relative; display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 9px; background: var(--bg-soft); color: var(--color-navy-900); transition: background-color var(--dur-base) ease, transform var(--dur-fast) var(--ease-out); }
.accordion__icon .icon { grid-area: 1 / 1; width: 0.9375rem; height: 0.9375rem; stroke-width: 2.5; transition: opacity var(--dur-fast) ease, transform var(--dur-base) var(--ease-out); }
.accordion__minus { opacity: 0; transform: rotate(-90deg); }
.accordion__trigger:active .accordion__icon { transform: scale(0.94); }
.accordion__item.is-open { background: var(--bg-soft); border-color: transparent; }
.accordion__item.is-open .accordion__icon { background: var(--accent); }
.accordion__item.is-open .accordion__plus { opacity: 0; transform: rotate(90deg); }
.accordion__item.is-open .accordion__minus { opacity: 1; transform: none; }
.accordion__panel { display: grid; grid-template-rows: 1fr; }
.accordion__inner { overflow: hidden; min-height: 0; }
.accordion__answer { padding: 0 1.125rem 1.25rem; font-size: var(--fs-body); line-height: 1.65; color: var(--color-navy-800); }
/* with JavaScript the closed panels collapse (and leave the tab order); without it every answer stays readable */
.js .accordion__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); }
.js .accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--dur-base) var(--ease-out), visibility 0s; }
.no-js .accordion__icon { display: none; }
@media (hover: hover) and (pointer: fine) { .accordion__item:not(.is-open):hover { border-color: var(--color-border-input); } }
@media (min-width: 768px) {
  .accordion { gap: 1.5rem; }
  .accordion__trigger { padding: 1.375rem 1.5rem; }
  .accordion__answer { padding: 0 1.5rem 1.375rem; }
  .accordion__item.is-open .accordion__trigger { padding-bottom: 0.75rem; }
}

/* ---- sidebar cards (Figma 9:326 / 8:247) ---- */
.service-aside,
.post-aside,
.legal__aside { display: grid; gap: 1.5rem; min-width: 0; }
.side-card { display: grid; gap: 0.5rem; align-content: start; padding: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.side-card__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; color: var(--text); margin-bottom: 0.125rem; }
.side-nav { display: grid; gap: 0.375rem; }
.side-nav__link { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; padding: 0.625rem 0.875rem; border-radius: var(--radius-lg); font-size: var(--fs-body); font-weight: 500; line-height: 1.2; color: var(--text); transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.side-nav__link .icon { width: 1.25rem; height: 1.25rem; }
.side-nav__link span { flex: 1; min-width: 0; }
.side-nav__link .side-nav__chev { width: 1rem; height: 1rem; color: var(--text-muted); }
.side-nav__link[aria-current="page"] { background: var(--bg-navy); color: var(--color-white); font-weight: 700; }
.side-nav__link[aria-current="page"] .side-nav__chev { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .side-nav__link:not([aria-current="page"]):hover { background: var(--bg-soft); } }

.side-cta { display: grid; gap: 0.875rem; align-content: start; padding: 1.5rem; background: var(--accent); border-radius: var(--radius-2xl); color: var(--color-navy-900); }
.side-cta__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: var(--radius-tile); background: var(--color-navy-900); color: var(--accent); }
.side-cta__title { font-size: 2rem; line-height: 1.2; color: var(--color-navy-900); }
.side-cta__text { font-size: var(--fs-body); font-weight: 500; line-height: 1.55; color: var(--color-navy-800); }
.side-cta .btn { margin-top: 0.25rem; }
.side-cta--navy { background: var(--bg-navy); color: var(--color-white); }
.side-cta--navy .side-cta__icon { background: var(--accent); color: var(--color-navy-900); }
.side-cta--navy .side-cta__title { color: var(--color-white); }
.side-cta--navy .side-cta__text { font-weight: 400; color: var(--text-on-navy-muted); }
@media (min-width: 768px) { .side-card, .side-cta { padding: 1.75rem; } }

.info-rows { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.info-row { display: flex; align-items: center; gap: 0.75rem; }
.info-row__icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 11px; background: var(--bg-soft); color: var(--color-navy-900); }
.info-row__icon .icon { width: 1.125rem; height: 1.125rem; }
.info-row__label { font-size: var(--fs-label); line-height: 1.2; color: var(--text-muted); }
.info-row__value { margin-top: 0.125rem; font-size: var(--fs-body); font-weight: 600; line-height: 1.2; color: var(--text); }

/* ---- table of contents (Figma 8:316) ---- */
.toc__list { display: grid; gap: 0.25rem; margin-top: 0.25rem; }
.toc__link { display: flex; align-items: flex-start; gap: 0.75rem; min-height: 2.75rem; padding: 0.625rem 0.75rem; border-radius: var(--radius-md); font-size: var(--fs-small); font-weight: 500; line-height: 1.3; color: var(--text-muted); transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.toc__number { flex: none; min-width: 1.125rem; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; line-height: 1.1; color: var(--text-muted); /* Figma #b9c6da is 1.7:1 on white: the numerals take the link text colour, the condensed face keeps them distinct */ font-variant-numeric: lining-nums; transition: color var(--dur-fast) ease; }
.toc__link.is-active { background: var(--tint-orange-soft); color: var(--heading); font-weight: 600; }
.toc__link.is-active .toc__number { color: var(--accent-text); }
@media (hover: hover) and (pointer: fine) { .toc__link:not(.is-active):hover { background: var(--bg-soft); color: var(--heading); } }
.toc--inline { margin-bottom: 1.5rem; background: var(--bg-soft); border-radius: var(--radius-xl); }
.toc__summary { display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; padding: 0.75rem 1.25rem; list-style: none; cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--text); border-radius: var(--radius-xl); }
.toc__summary::-webkit-details-marker { display: none; }
.toc__chev { transform: rotate(0deg); transition: transform var(--dur-base) var(--ease-out); }
.toc--inline[open] .toc__chev { transform: rotate(180deg); }
.toc--inline .toc__list { margin: 0; padding: 0 0.5rem 0.75rem; }

/* ---- share row (Figma 8:219) ---- */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.share__label { margin-right: 0.25rem; font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.icon-btn--share { width: 2.75rem; height: 2.75rem; border-color: var(--line); border-radius: var(--radius-md); background: var(--bg); }
.share__status { min-width: 0; font-size: var(--fs-label); font-weight: 600; color: var(--color-success); opacity: 0; transform: translateY(2px); transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out); }
.share__status.is-visible { opacity: 1; transform: none; }

/* ---- popular posts + category counts (Figma 8:340 / 8:377) ---- */
.popular-list { display: grid; gap: 1rem; margin-top: 0.5rem; }
.popular-item { display: flex; align-items: center; gap: 0.875rem; }
.popular-item__media { flex: none; width: 4.5rem; height: 4.5rem; border-radius: var(--radius-lg); --ph-bar: 4px; --ph-icon-min: 1.125rem; }
.popular-item__media .media-ph__icon .icon { height: 1.1875rem; }
.popular-item__title { font-size: var(--fs-small); font-weight: 600; line-height: 1.4; color: var(--heading); display: block; transition: color var(--dur-fast) ease; }
.popular-item__date { margin-top: 0.25rem; font-size: var(--fs-micro); line-height: 1.2; color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) { .popular-item__title:hover { color: var(--accent-text); } }
.count-list { display: grid; gap: 0.25rem; margin-top: 0.25rem; }
.count-list__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; font-size: var(--fs-body); font-weight: 500; color: var(--color-navy-800); transition: color var(--dur-fast) ease; }
.count-list__count { display: inline-grid; place-items: center; min-width: 1.8125rem; padding: 0.125rem 0.625rem; border-radius: var(--radius-pill); background: var(--bg-soft); font-size: var(--fs-label); font-weight: 600; line-height: 1.2; color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) { .count-list__link:hover { color: var(--accent-text); } }

/* ---- article text (.prose): panel rich text of posts, legal pages, regions ---- */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--color-navy-800); overflow-wrap: anywhere; } /* a very long URL or word wraps instead of widening the page */
.prose > * + * { margin-top: 1.5rem; }
.prose h2 { font-size: var(--fs-article-h2); font-weight: 700; line-height: 1.1; }
.prose h3 { font-size: 1.5rem; font-weight: 700; }
.prose h4 { font-size: 1.25rem; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.18em; font-weight: 500; }
.prose ul,
.prose ol { padding-left: 1.5rem; display: grid; gap: 0.625rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent-text); }
.prose strong { font-weight: 700; color: var(--text); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose table { font-size: var(--fs-small); line-height: 1.5; }
.prose th,
.prose td { padding: 0.75rem 0.875rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--text); }
.prose tr:last-child td { border-bottom: 0; }
.prose--post > p:first-child { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem); font-weight: 500; line-height: 1.65; color: var(--text); }

/* checklist box (body convention: <div class="checklist"><p><strong>Title</strong></p><ul><li>...</li></ul></div>) */
.prose .checklist { display: grid; gap: 0.875rem; padding: 1.25rem 1.25rem; background: var(--bg-soft); border-radius: var(--radius-xl); }
.prose .checklist > * + * { margin-top: 0; }
.prose .checklist p { font-size: var(--fs-body); font-weight: 700; line-height: 1.2; color: var(--color-navy-900); }
.prose .checklist ul { padding: 0; gap: 0.875rem; list-style: none; }
.prose .checklist li { position: relative; padding-left: 2.25rem; font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--color-navy-800); }
.prose .checklist li::before { content: ""; position: absolute; left: 0; top: 0.0625rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--accent); }
.prose .checklist li::after {
  content: "";
  position: absolute;
  left: 0.3125rem;
  top: 0.375rem;
  width: 0.875rem;
  height: 0.875rem;
  background: var(--color-navy-900);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.67 3.5 5.25 9.92 2.33 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.67 3.5 5.25 9.92 2.33 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 768px) { .prose .checklist { padding: 1.5rem 1.75rem; } }

/* tip box: <div class="tip"><p><strong>İpucu</strong></p><p>text</p></div> */
.prose .tip { position: relative; display: grid; gap: 0.25rem; padding: 1.25rem 1.25rem 1.25rem 3.75rem; background: var(--tint-orange-soft); border: 1px solid var(--accent); border-radius: 14px; }
.prose .tip > * + * { margin-top: 0; }
.prose .tip::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.3125rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--accent-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose .tip p { font-size: 1rem; line-height: 1.6; color: var(--color-navy-800); }
.prose .tip p:first-child,
.prose .tip p:first-child strong { font-size: var(--fs-body); font-weight: 700; line-height: 1.2; color: var(--accent-text); }

/* pull quote: <blockquote><p>...</p><cite>...</cite></blockquote> */
.prose blockquote { display: grid; gap: 0.625rem; padding: 0.5rem 0 0.5rem 1.25rem; border-left: 4px solid var(--accent); }
.prose blockquote > * + * { margin-top: 0; }
.prose blockquote p { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--heading); }
.prose cite { font-size: var(--fs-small); font-style: normal; font-weight: 500; line-height: 1.2; color: var(--text-muted); }

/* ---- inline call box after the article (template) ---- */
.call-box { display: grid; gap: 1.25rem; align-items: center; margin-top: 2rem; padding: 1.5rem; background: var(--bg-navy); border-radius: var(--radius-2xl); color: var(--color-white); }
.call-box__title { font-size: 1.875rem; line-height: 1.2; color: var(--color-white); }
.call-box__text { margin-top: 0.375rem; font-size: var(--fs-body); line-height: 1.4; color: var(--text-on-navy-muted); }
@media (min-width: 600px) { .call-box { grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; padding: 1.75rem 2rem; } }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-tags__label { font-size: var(--fs-small); font-weight: 600; color: var(--text); }
.post-tags__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { padding: 0.4375rem 0.75rem; border-radius: var(--radius-sm); background: var(--bg-soft); font-size: var(--fs-label); font-weight: 500; line-height: 1.2; color: var(--color-navy-800); }
.author-box { display: flex; align-items: flex-start; gap: 1.25rem; margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.author-box__name { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 700; line-height: 1.2; letter-spacing: 0; color: var(--text); }
.author-box__text { margin-top: 0.375rem; font-size: var(--fs-body); line-height: 1.55; color: var(--text-muted); }
@media (min-width: 600px) { .author-box { padding: 1.75rem; } }
@media (max-width: 479.98px) { .author-box { flex-direction: column; gap: 0.875rem; } }

/* ---- about page parts (Figma 10:395 / 10:418 / 10:450 / 10:494) ---- */
.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.stat-tile { display: grid; gap: 0.125rem; align-content: start; padding: 1rem 1.125rem; background: var(--bg-soft); border-radius: var(--radius-xl); }
.stat-tile__value { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 800; line-height: 1; color: var(--color-orange-500); font-variant-numeric: lining-nums; }
.stat-tile__label { font-size: var(--fs-small); font-weight: 500; line-height: 1.3; color: var(--text-muted); }
@media (min-width: 768px) { .stat-tiles { gap: 1rem; } .stat-tile { padding: 1.25rem 1.375rem; } }

.value-card { display: grid; gap: 0.875rem; align-content: start; padding: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-2xl); }
.value-card__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 15px; background: var(--color-navy-900); color: var(--accent); }
.value-card__icon .icon { width: 1.625rem; height: 1.625rem; }
.value-card__title { font-size: 1.875rem; line-height: 1.2; }
.value-card__text { font-size: var(--fs-body); line-height: 1.6; color: var(--text-muted); }
@media (min-width: 768px) { .value-card { padding: 1.75rem; } }

.fleet-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-2xl); overflow: hidden; }
.fleet-card__media { aspect-ratio: 382 / 240; --ph-bar: 6px; }
.fleet-card__body { display: grid; gap: 0.375rem; padding: 1.25rem 1.5rem 1.375rem; }
.fleet-card__title { font-size: 1.75rem; line-height: 1.2; }
.fleet-card__text { font-size: var(--fs-body); line-height: 1.3; color: var(--text-muted); }

.doc-tile { display: flex; align-items: center; gap: 0.875rem; padding: 1.125rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.doc-tile__icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-lg); background: var(--bg-soft); color: var(--color-navy-900); }
.doc-tile__icon .icon { width: 1.25rem; height: 1.25rem; }
.doc-tile__title { font-size: var(--fs-body); font-weight: 600; line-height: 1.2; color: var(--text); }

/* ---- contact parts (Figma 10:635 / 10:667 / 10:705) ---- */
.channel-card { display: grid; gap: 0.5rem; align-content: start; padding: 1.5rem; background: var(--bg-soft); border-radius: var(--radius-2xl); }
.channel-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.25rem; border-radius: 13px; background: var(--color-navy-900); color: var(--accent); }
.channel-card__icon .icon { width: 1.375rem; height: 1.375rem; }
.channel-card__label { font-size: var(--fs-small); font-weight: 500; line-height: 1.2; color: var(--text-muted); }
.channel-card__value { font-size: var(--fs-h4); font-weight: 700; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.channel-card__link { color: inherit; text-decoration: none; transition: color var(--dur-fast) ease; }
.channel-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.channel-card__note { font-size: var(--fs-label); line-height: 1.3; color: var(--text-muted); }
.channel-card { position: relative; }
.channel-card:has(.channel-card__link:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.channel-card__link:focus-visible { outline: none; }
.channel-card--primary { background: var(--bg-navy); }
.channel-card--primary .channel-card__icon { background: var(--accent); color: var(--color-navy-900); }
.channel-card--primary .channel-card__label { color: var(--text-on-navy-muted); }
.channel-card--primary .channel-card__value { color: var(--color-white); }
.channel-card--primary .channel-card__note { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { a.channel-card__link:hover { color: var(--accent-text); } .channel-card--primary a.channel-card__link:hover { color: var(--accent); } }
@media (min-width: 768px) { .channel-card { padding: 1.5rem; } }

.contact-form { display: grid; gap: 1.125rem; align-content: start; padding: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-3xl); scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
.contact-form__title { font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem); line-height: 1.2; }
.contact-form .control { min-height: 3.125rem; }
.contact-form .control--textarea { min-height: 8.75rem; }
.contact-form__intro { font-size: var(--fs-body); line-height: 1.55; color: var(--text-muted); }
.contact-form__fields { display: grid; gap: 1rem; }
.contact-form__consents { display: grid; gap: 1rem; }
.contact-form__submit { justify-self: start; }
@media (min-width: 600px) {
  .contact-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem 1rem; }
  .contact-form__fields .field--wide { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) { .contact-form__submit { justify-self: stretch; } }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }

.map-card { position: relative; isolation: isolate; min-height: 21.25rem; overflow: hidden; border-radius: var(--radius-3xl); background: var(--color-border-soft); }
.map-card__art { position: absolute; inset: 0; }
.map-card__road { position: absolute; background: var(--color-white); }
.map-card__road--h1 { left: 0; right: 0; top: 26.5%; height: 14px; }
.map-card__road--h2 { left: 0; right: 0; top: 47%; height: 6px; }
.map-card__road--h3 { left: 0; right: 0; top: 67.5%; height: 10px; }
.map-card__road--v1 { top: 0; bottom: 0; left: 26%; width: 12px; }
.map-card__road--v2 { top: 0; bottom: 0; left: 45.5%; width: 6px; }
.map-card__road--v3 { top: 0; bottom: 0; left: 69.5%; width: 16px; }
.map-card__pin { position: absolute; left: 50%; top: 36%; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; border-radius: 50%; background: var(--accent); color: var(--color-navy-900); box-shadow: var(--shadow-raised); }
.map-card__actions { position: absolute; left: 0; right: 0; top: 36%; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; padding: 2.5rem 1rem 0; }
.map-card__button { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.875rem; border-radius: var(--radius-lg); background: var(--color-white); font-size: var(--fs-label); font-weight: 600; line-height: 1.2; color: var(--color-navy-800); box-shadow: var(--shadow-hover); transition: background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out); }
.map-card__button:active { transform: scale(0.97); }
.map-card__button .icon { color: var(--accent-text); }
@media (hover: hover) and (pointer: fine) { .map-card__button:hover { background: var(--bg-soft); } }
.map-card__frame { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; }
.map-card__note { position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 2; padding: 0.25rem 0.625rem; border-radius: var(--radius-sm); background: var(--color-white); font-size: var(--fs-micro); color: var(--text-muted); }
.map-card.is-loaded .map-card__actions { position: static; padding: 0; }
.map-card.is-loaded .map-card__actions { display: none; }
@media (min-width: 1024px) { .map-card { min-height: 0; aspect-ratio: 460 / 340; } }

.hours-card { display: grid; gap: 0.875rem; padding: 1.5rem; background: var(--bg-soft); border-radius: var(--radius-2xl); }
.hours-card__title { display: flex; align-items: center; gap: 0.625rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; color: var(--text); }
.hours-card__list { display: grid; gap: 0.75rem; margin: 0; }
.hours-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: var(--fs-body); line-height: 1.3; }
.hours-card__row dt { color: var(--color-navy-800); }
.hours-card__row dd { margin: 0; font-weight: 600; text-align: right; color: var(--text); white-space: nowrap; }
.hours-card__row dd.is-accent { font-weight: 700; color: var(--accent-text); }
@media (min-width: 768px) { .hours-card { padding: 1.75rem; } }

/* ---- region chips ---- */
.region-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.region-chip { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg); font-size: var(--fs-small); font-weight: 600; color: var(--text); }
.region-chip .icon { color: var(--accent-text); }

/* small text links keep their Figma size but get a 44 px tap area (invisible padding compensated by a negative margin) */
.breadcrumb a { padding: 0.9375rem 0.5625rem; margin: -0.9375rem -0.5625rem; }
.post-head__chip { position: relative; }
.post-head__chip::after { content: ""; position: absolute; inset: -0.6875rem -0.25rem; }
.popular-item { position: relative; }
.popular-item__title::after { content: ""; position: absolute; inset: -0.25rem -0.25rem; } /* the whole row (thumbnail + text) is one tap target */
.popular-item:has(.popular-item__title:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 4px; border-radius: var(--radius-md); }
.popular-item__title:focus-visible { outline: none; }

/* the sidebar call cards repeat the inline call box / call band that follow on small screens: sidebar copy shows from 1024 only */
@media (max-width: 1023.98px) { .side-cta { display: none; } }

/* phones: channel cards become compact (icon beside the label, value and note on the full width below) so the form is not pushed
   four screens down and a long e-mail address still fits on one line */
@media (max-width: 699.98px) {
  .channel-card { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.875rem; row-gap: 0; align-items: center; padding: 1.125rem 1.25rem; }
  .channel-card__icon { width: 2.5rem; height: 2.5rem; margin: 0 0 0.625rem; border-radius: 11px; }
  .channel-card__icon .icon { width: 1.25rem; height: 1.25rem; }
  .channel-card__label { margin-bottom: 0.625rem; }
  .channel-card__value,
  .channel-card__note { grid-column: 1 / -1; }
  .channel-card__value { font-size: 1.0625rem; line-height: 1.3; }
  .channel-card__note { margin-top: 0.25rem; }
}
.channel-card__note:empty { display: none; }

/* touch devices (phones and tablets): form controls are 16 px so iOS Safari does not zoom the page on focus (15 px on desktop as in Figma) */
@media (max-width: 1023.98px), (pointer: coarse) {
  .control__input,
  .control--select select,
  .search-box__input { font-size: 1rem; }
}
.prose--post { max-width: 47.25rem; } /* the 756 px reading column of Figma, also on tablets where the article is full width */
