/* Below-fold / shared chrome — async after critical (no heavy blur). */

/* Fixed header clearance, including the WordPress toolbar while logged in. */
/* WordPress global styles can reset body padding after the critical CSS. */
body {
  padding-top: calc(var(--header-h) + var(--wp-admin-bar-h)) !important;
}

body.admin-bar {
  padding-top: calc(var(--header-h) + 32px) !important;
}

@supports (scrollbar-gutter: stable) {
  html {
    scrollbar-gutter: stable;
  }
}

/* The mega menu is an overlay. Prevent the underlying page scrollbar from
   competing visually with it or moving while categories are previewed. */
html.fizyohol-mega-menu-open,
body.fizyohol-mega-menu-open {
  overflow: hidden;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: calc(var(--header-h) + 46px) !important;
  }
}

/* ----- Primary mega menu (Hizmetler → category sidebar → active category) ----- */
/* Containing block is .site-header (position:fixed, spans the full
   viewport width), not .nav-item — reached by making the trigger's own
   .nav-item position:static below so the search for the nearest positioned
   ancestor skips past it. left:50% then centers on the header's real width
   (viewport-wide) instead of the trigger link's own off-center position,
   and top:100% sits at the header's ACTUAL rendered bottom edge — no
   --header-h estimate to drift out of sync with the real height, which
   changes with the scroll "shrink" state and the logged-in admin bar. */
nav.primary > .nav-item--mega {
  position: static;
}

nav.primary .mega-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 10px);
  width: min(1460px, calc(100vw - 48px));
  min-width: min(1040px, calc(100vw - 48px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(27, 36, 32, 0.08);
  border-radius: 20px;
  /* Fully opaque — the panel sits over whatever page content is behind the
     fixed header (including large hero titles). */
  background: #fffcf7;
  background-clip: padding-box;
  box-shadow: 0 26px 54px -30px rgba(27, 36, 32, 0.28);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

nav.primary .nav-item--mega:hover > .mega-panel,
nav.primary .nav-item--mega:focus-within > .mega-panel,
nav.primary .nav-item--mega.is-open > .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* Mega only: the panel sits flush at the header's real bottom edge
   (top:100%, see above), but the trigger link itself is only as tall as its
   own text — vertically centered inside the taller header row — so the
   pointer still crosses a small real gap between the link's bottom and the
   header's bottom on its way down to the panel, losing :hover and closing
   the menu before it's reached. Extending the trigger link's own hit box
   downward (padding + equal negative margin cancels the layout effect, so
   nothing visually shifts) keeps `.nav-item:hover` true across that gap. */
nav.primary > .nav-item--mega > a {
  padding-bottom: 44px;
  margin-bottom: -44px;
}

nav.primary > .nav-item--mega > a::after {
  bottom: 44px;
}

.mega-panel__inner {
  display: grid;
  grid-template-columns: minmax(240px, 310px) 1fr;
  grid-template-areas: "sidebar content";
  gap: 26px;
  padding: 26px;
  max-height: min(82vh, 640px);
}

.mega-panel__sidebar {
  grid-area: sidebar;
}

.mega-panel__content,
.mega-panel__results {
  grid-area: content;
}

/* Both content areas share one grid cell. Browser-default [hidden] styles
   lose to the explicit display:grid/flex rules below unless we restate the
   state here, which previously made results render on top of the category. */
.mega-panel__content[hidden],
.mega-panel__results[hidden],
.mega-panel.is-searching .mega-panel__content {
  display: none !important;
}

/* ---- Sidebar: search + category list + "tüm hizmetler" ---- */
.mega-panel__sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.mega-panel__search {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
}

.mega-panel__search svg {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
  opacity: 0.7;
  pointer-events: none;
}

.mega-panel__search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px 10px 36px;
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink);
}

.mega-panel__search input:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 1px;
}

.mega-panel__cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  overflow-y: auto;
  flex: 1 1 auto;
}

.mega-panel__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  border-left: 2px solid transparent;
}

.mega-panel__cat:hover,
.mega-panel__cat:focus-visible {
  background: rgba(90, 122, 101, 0.08);
  color: var(--ink);
}

.mega-panel__cat.is-active {
  background: var(--moss-pale);
  border-left-color: var(--moss-deep);
  color: var(--moss-deep);
}

.mega-panel__cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(27, 36, 32, 0.05);
  color: var(--ink-soft);
}

.mega-panel__cat-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 0;
}

.mega-panel__cat-icon svg {
  width: 16px;
  height: 16px;
}

.mega-panel__cat.is-active .mega-panel__cat-icon {
  background: var(--moss-deep);
  color: #f7f4ee;
}

.mega-panel__cat-label {
  flex: 1 1 auto;
  min-width: 0;
}

.mega-panel__cat-chevron {
  flex: none;
  width: 15px;
  height: 15px;
  opacity: 0.35;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.mega-panel__cat:hover .mega-panel__cat-chevron,
.mega-panel__cat.is-active .mega-panel__cat-chevron {
  opacity: 0.8;
  transform: translateX(2px);
}

.mega-panel__all {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px 2px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.mega-panel__all span {
  color: var(--ink-soft);
}

.mega-panel__all strong {
  color: var(--moss-deep);
  font-size: 0.86rem;
}

/* ---- Active category content ---- */
.mega-panel__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 260px);
  gap: 26px;
  min-width: 0;
  overflow-y: auto;
}

/* Keep long category lists usable by wheel/touchpad, without exposing an
   unstyled scrollbar on the right edge while switching services. */
.mega-panel__content,
.mega-panel__results,
.mega-panel__cats {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mega-panel__content::-webkit-scrollbar,
.mega-panel__results::-webkit-scrollbar,
.mega-panel__cats::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mega-panel__cat-panel {
  min-width: 0;
}

@keyframes fizyoholMegaPanelIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-panel__cat-panel.is-entering {
  animation: fizyoholMegaPanelIn 0.16s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .mega-panel__cat-panel.is-entering {
    animation: none;
  }
}

.mega-panel__panel-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mega-panel__panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--moss-pale);
  color: var(--moss-deep);
}

.mega-panel__panel-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.mega-panel__panel-icon svg {
  width: 22px;
  height: 22px;
}

.mega-panel__panel-head h3 {
  font-size: 1.18rem;
  margin-bottom: 4px;
}

.mega-panel__panel-head p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 46ch;
}

.mega-panel__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

/* Most hubs have one ungrouped child list. Let that list use both available
   columns so every child stays visible, instead of reserving the second
   column and truncating after nine entries. */
.mega-panel__groups--single .mega-panel__group {
  grid-column: 1 / -1;
}

.mega-panel__groups--single .mega-panel__group ul {
  display: block;
  column-count: 2;
  column-gap: 24px;
}

.mega-panel__groups--single .mega-panel__group li {
  break-inside: avoid;
}

.mega-panel__group-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.8;
  margin-bottom: 6px;
}

.mega-panel__group ul {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-panel__group a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0.3rem 0.4rem;
  margin-inline: -0.4rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 550;
  line-height: 1.3;
  color: var(--ink);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.mega-panel__group a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ochre);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.mega-panel__group a:hover,
.mega-panel__group a[aria-current="page"] {
  background: rgba(90, 122, 101, 0.1);
  color: var(--moss-deep);
}

.mega-panel__group a:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.mega-panel__more {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 0.4rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--moss-deep);
}

.mega-panel__more:hover {
  background: rgba(90, 122, 101, 0.1);
}

.mega-panel__cta {
	position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 318px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(32, 55, 43, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(213, 183, 137, 0.2), transparent 40%),
    linear-gradient(145deg, #21352b 0%, #2f4a3a 100%);
  box-shadow: 0 18px 32px -24px rgba(27, 36, 32, 0.52);
  color: #f8f4eb;
}

.mega-panel__cta::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.mega-panel__cta-top,
.mega-panel__cta-points,
.mega-panel__cta .btn {
  position: relative;
  z-index: 1;
}

.mega-panel__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #f7f4ee;
}

.mega-panel__cta-icon svg {
  width: 18px;
  height: 18px;
}

.mega-panel__cta h4 {
  max-width: 13ch;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.02;
  color: #fffaf2;
}

.mega-panel__cta p {
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.52;
  color: rgba(248, 244, 235, 0.76);
}

.mega-panel__cta-eyebrow {
  margin: 0 !important;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem !important;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.3 !important;
  text-transform: uppercase;
  color: #e3ba82 !important;
}

.mega-panel__cta-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-panel__cta-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.mega-panel__cta-points span {
  display: grid;
  flex: none;
  width: 16px;
  height: 16px;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(227, 186, 130, 0.2);
  color: #f0ca95;
  font-size: 0.66rem;
}

.mega-panel__cta .btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #fffaf2;
  color: #20352b;
  font-size: 0.8rem;
  box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.5);
}

.mega-panel__cta .btn:hover,
.mega-panel__cta .btn:focus-visible {
  background: #eac48f;
  color: #1c3027;
}

/* ---- Search results overlay (replaces the active category content) ---- */
.mega-panel__results {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow-y: auto;
  align-content: start;
  max-height: min(82vh, 640px);
}

.mega-panel__result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.mega-panel__result-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-panel__result:hover {
  background: rgba(90, 122, 101, 0.1);
  color: var(--moss-deep);
}

.mega-panel__result-cat {
  flex: none;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mega-panel__no-results {
  padding: 0.6rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

@media (max-width: 1300px) {
  .mega-panel__inner {
    grid-template-columns: 240px 1fr;
    gap: 20px;
    padding: 20px;
  }

  .mega-panel__content {
    grid-template-columns: 1fr;
  }

  .mega-panel__groups {
    grid-template-columns: 1fr;
  }

  .mega-panel__cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .mega-panel__groups--single .mega-panel__group ul {
    column-count: 1;
  }
}

.mobile-menu .sub-menu .nav-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(27, 36, 32, 0.06);
}

.mobile-menu .sub-menu .nav-item > a {
  flex: 1;
  border-bottom: 0;
  font-weight: 650;
  color: var(--ink);
}

.mobile-menu .sub-menu .nav-item > .nav-sub-toggle {
  display: grid;
}

.mobile-menu .sub-menu .sub-menu {
  padding-left: 12px;
}

.mobile-menu .sub-menu .sub-menu a {
  font-size: 0.88rem;
  font-weight: 500;
}

/* 1280+ : yan padding yok, içerik tam 1280px */




















/* Shared section label — matches service detail (manuel terapi) */
.eyebrow,
.sp-kicker {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 20px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
}

.eyebrow::before,
.sp-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
  display: inline-block;
  flex: none;
  margin-top: 0.55em;
  margin-top: calc(0.5lh - 0.5px);
}

/* Single leading line only — never flanking lines on both sides */
.sp-eyebrow {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
}

.sp-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
  display: inline-block;
  flex: none;
  margin-top: 0.55em;
  margin-top: calc(0.5lh - 0.5px);
}

.sp-eyebrow::after {
  content: none;
  display: none;
}


/* Shared section head aside (line + dot) */
.section-head-aside {
  position: relative;
  padding-left: clamp(22px, 3vw, 36px);
  padding-bottom: 6px;
}

.section-head-aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  bottom: 0.4em;
  width: 1px;
  background: rgba(27, 36, 32, 0.18);
}

.section-head-aside::after {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(27, 36, 32, 0.35);
  transform: translateY(-50%);
}

.section-head-aside > p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .section-head-aside {
    padding-left: 0;
  }

  .section-head-aside::before,
  .section-head-aside::after {
    display: none;
  }

  .section-head-aside > p {
    max-width: none;
  }
}

/* Shared centered section head */
.sp-section-head {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.sp-section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  color: var(--ink);
  font-weight: 500;
  max-width: 18ch;
}

.sp-section-head--center {
  text-align: center;
}

.sp-section-head--center h2 {
  margin: 0 auto;
  max-width: min(100%, 24em);
}

/* Shared process steps (manuel terapi tarzı) */
.sp-process {
  --sp-process-cols: 5;
  display: grid;
  grid-template-columns: repeat(var(--sp-process-cols), minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  width: 100%;
}

.sp-process[data-count="1"] { --sp-process-cols: 1; }
.sp-process[data-count="2"] { --sp-process-cols: 2; }
.sp-process[data-count="3"] { --sp-process-cols: 3; }
.sp-process[data-count="4"] { --sp-process-cols: 4; }
.sp-process[data-count="5"] { --sp-process-cols: 5; }
.sp-process[data-count="6"] { --sp-process-cols: 3; }

.sp-process-item {
  text-align: center;
  position: relative;
}

.sp-process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(50% + 48px);
  width: calc(100% - 52px);
  height: 0;
  border-top: 1.5px dashed rgba(197, 133, 93, 0.42);
  pointer-events: none;
  z-index: 0;
}

.sp-process-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 41px;
  right: -10px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(197, 133, 93, 0.5);
  border-top: 1.5px solid rgba(197, 133, 93, 0.5);
  transform: rotate(45deg);
  z-index: 0;
  pointer-events: none;
}

.sp-process-visual {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
}

.sp-process-num {
  position: absolute;
  top: -4px;
  left: -2px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(197, 133, 93, 0.35);
  background: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ochre);
}

.sp-process-icon {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(197, 133, 93, 0.2);
  background: color-mix(in srgb, var(--ochre) 10%, var(--paper));
  color: var(--ochre);
}

.sp-process-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.sp-process-item h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.sp-process-item p {
  margin: 0 auto;
  max-width: 28ch;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.sp-process[data-count="3"] .sp-process-item p,
.sp-process[data-count="4"] .sp-process-item p {
  max-width: none;
  padding-inline: 6px;
}

@media (max-width: 1100px) {
  .sp-process,
  .sp-process[data-count] {
    --sp-process-cols: 3;
    row-gap: 36px;
  }

  .sp-process[data-count="1"] { --sp-process-cols: 1; }
  .sp-process[data-count="2"] { --sp-process-cols: 2; }
  .sp-process[data-count="4"] { --sp-process-cols: 2; }

  .sp-process-item:not(:last-child)::after,
  .sp-process-item:not(:last-child)::before,
  .sp-process-item:nth-child(3)::after,
  .sp-process-item:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .sp-section-head--center h2 {
    max-width: 18ch;
  }

  .sp-process,
  .sp-process[data-count] {
    --sp-process-cols: 2;
  }

  .sp-process[data-count="1"] { --sp-process-cols: 1; }

  .sp-process-item:not(:last-child)::after,
  .sp-process-item:not(:last-child)::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .sp-process,
  .sp-process[data-count] {
    --sp-process-cols: 1;
  }
}





/* ---------- Shared page utilities (deduped from page CSS) ---------- */


body[class^="page-"] .site-header {
  background: rgba(244, 241, 235, 0.92);
}

.page-breadcrumb,
.bs-breadcrumb,
.sp-breadcrumb {
  margin: 0 0 28px;
}

.page-breadcrumb nav,
.bs-breadcrumb nav,
.sp-breadcrumb nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.page-breadcrumb a,
.bs-breadcrumb a,
.sp-breadcrumb a {
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.page-breadcrumb a:hover,
.bs-breadcrumb a:hover,
.sp-breadcrumb a:hover {
  color: var(--ink);
}

.page-breadcrumb [aria-current="page"],
.bs-breadcrumb [aria-current="page"],
.sp-breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.page-breadcrumb .sep,
.bs-breadcrumb .sep,
.sp-breadcrumb .sep {
  opacity: 0.45;
}

.bs-breadcrumb [aria-current="page"],
.sp-breadcrumb [aria-current="page"] {
  min-width: 0;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Unified inner-page hero (fade image right) */
.page-hero {
  position: relative;
  padding: 8px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero-bg img {
  position: absolute;
  right: 0;
  top: 0;
  width: min(58%, 780px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    var(--paper) 42%,
    rgb(244 241 235 / 0%) 62%,
    rgb(244 241 235 / 0%) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-copy {
  max-width: 45rem;
  padding: 20px 0 8px;
}

.page-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 4.2vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.page-hero-copy > p:not(.sp-kicker):not(.sp-eyebrow) {
  margin: 0 0 26px;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

@media (max-width: 900px) {
  /* Mobile hero → manuel-terapi .sp-hero ile aynı yapı:
     full-bleed görsel üstte, breadcrumb görselin üzerinde, metin altta kağıtta */
  .page-hero {
    display: flex;
    flex-direction: column;
    padding: 0 0 28px;
    min-height: 0;
    background: var(--paper);
  }

  .page-hero .page-hero-bg {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: clamp(260px, 68vw, 360px);
    z-index: 0;
  }

  .page-hero .page-hero-bg img {
    position: absolute;
    inset: 0;
    right: 0;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: cover;
    object-position: 55% 28%;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .page-hero .page-hero-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(12, 18, 16, 0.58) 0%,
        rgba(12, 18, 16, 0.2) 32%,
        transparent 52%
      ),
      linear-gradient(
        180deg,
        transparent 58%,
        rgba(244, 241, 235, 0.4) 84%,
        var(--paper) 100%
      );
  }

  .page-hero .container {
    order: 2;
    position: static;
    display: block;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 0;
  }

  /* Overlay breadcrumb only when hero has a photo band */
  .page-hero:has(.page-hero-bg) .page-breadcrumb {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 5;
    margin: 0;
    padding: 0 var(--page-pad);
  }

  .page-hero:has(.page-hero-bg) .page-breadcrumb nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  }

  .page-hero:has(.page-hero-bg) .page-breadcrumb nav,
  .page-hero:has(.page-hero-bg) .page-breadcrumb a {
    color: rgba(244, 241, 235, 0.9);
  }

  .page-hero:has(.page-hero-bg) .page-breadcrumb a:hover {
    color: #fff;
  }

  .page-hero:has(.page-hero-bg) .page-breadcrumb [aria-current="page"] {
    color: #fff;
    font-weight: 600;
  }

  .page-hero:has(.page-hero-bg) .page-breadcrumb .sep {
    color: rgba(244, 241, 235, 0.5);
    opacity: 1;
  }

  /* Legal / text-only heroes: keep breadcrumb in normal flow */
  .page-hero--legal {
    display: block;
    padding: 12px 0 28px;
  }

  .page-hero--legal .container {
    order: unset;
    padding-top: 0;
  }

  .page-hero--legal .page-breadcrumb {
    position: static;
    margin: 0 0 16px;
    padding: 0;
  }

  .page-hero--legal .page-breadcrumb nav {
    text-shadow: none;
    font-size: 0.78rem;
  }

  .page-hero--legal .page-breadcrumb nav,
  .page-hero--legal .page-breadcrumb a {
    color: var(--ink-soft);
  }

  .page-hero--legal .page-breadcrumb a:hover {
    color: var(--ink);
  }

  .page-hero--legal .page-breadcrumb [aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
  }

  .page-hero--legal .page-breadcrumb .sep {
    color: var(--ink-soft);
    opacity: 0.45;
  }

  .page-hero .page-hero-copy {
    max-width: none;
    padding: 0;
  }

  .page-hero .page-hero-copy h1 {
    margin: 0 0 12px;
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.2rem);
    line-height: 1.12;
    color: var(--ink);
  }

  .page-hero .page-hero-copy > p:not(.sp-kicker):not(.sp-eyebrow) {
    margin: 0 0 22px;
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
  }

  .page-hero .page-hero-copy .sp-kicker,
  .page-hero .page-hero-copy .sp-eyebrow {
    margin-bottom: 12px;
  }
}

/* Shared 4-up highlight stats under page-hero (Hizmetler, Hakkımda, …) */
.page-highlights {
  padding: 0 0 40px;
}

.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(27, 36, 32, 0.1);
  list-style: none;
  margin: 0;
}

.page-hero-stats li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
}

.page-hero-stats .sv-icon,
.page-hero-stats .fp-icon {
  width: 28px;
  height: 28px;
  color: var(--ochre);
}

.page-hero-stats .sv-icon svg,
.page-hero-stats .fp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-hero-stats li > span:not(.sv-icon):not(.fp-icon) {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .page-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .page-hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .page-hero-stats li {
    padding: 14px 12px;
    border-right: 1px solid rgba(27, 36, 32, 0.1);
    border-bottom: 1px solid rgba(27, 36, 32, 0.1);
  }

  .page-hero-stats li:nth-child(2n) {
    border-right: none;
  }

  .page-hero-stats li:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .page-hero-stats li {
    padding: 12px 10px;
  }
}

/* Shared search field */
.page-search {
  position: relative;
  max-width: 480px;
}

.page-search input {
  width: 100%;
  padding: 16px 52px 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(27, 36, 32, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px -22px rgba(27, 36, 32, 0.4);
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
}

.page-search input::placeholder {
  color: rgba(58, 69, 62, 0.55);
}

.page-search input:focus {
  outline: none;
  border-color: rgba(42, 58, 49, 0.4);
}

.page-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--ink-soft);
  pointer-events: none;
}

/* Soft panels */
.bl-panel,
.er-panel,
.fq-help {
  padding: 22px 18px;
  border-radius: 20px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
}

.bl-panel {
  padding: 20px 18px;
}

/* Sticky page aside */
.bl-side,
.fq-side,
.bs-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

@media (max-width: 900px) {
  .bl-side,
  .fq-side {
    position: static;
  }
}

@media (max-width: 1000px) {
  .bs-side {
    position: static;
  }
}

/* Empty filter/search state */
.bl-empty,
.fq-empty {
  display: none;
  margin-top: 12px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.bl-empty.is-visible,
.fq-empty.is-visible {
  display: block;
}

/* Ochre icon chip */
.bl-cat-icon,
.fq-cat-icon,
.fq-help-icon,
.bs-pdf-icon,
.er-quick-icon {
  display: grid;
  place-items: center;
  flex: none;
  background: var(--ochre-wash);
  color: var(--ochre);
}

.bl-cat-icon,
.fq-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.bl-cat-icon svg,
.fq-cat-icon svg {
  width: 20px;
  height: 20px;
}

/* Unified bottom page CTA */
.page-cta {
  padding: clamp(12px, 2vw, 20px) 0 clamp(36px, 4.5vw, 52px);
}

.page-cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 260px;
  color: #f4f1eb;
  isolation: isolate;
}

.page-cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  z-index: 0;
}

.page-cta-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(14, 22, 19, 0.95) 0%,
    rgba(18, 28, 24, 0.9) 38%,
    rgba(20, 32, 27, 0.62) 62%,
    rgba(20, 32, 27, 0.4) 100%
  );
}

.page-cta-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  padding: clamp(28px, 3.5vw, 40px) clamp(28px, 3.8vw, 48px);
}

.page-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
}

.page-cta-copy h2 {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.22;
  font-weight: 500;
  color: #fff;
}

/* Optional lead — spacing to actions stays consistent with or without this. */
.page-cta-copy > p {
  margin: 12px 0 0;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 241, 235, 0.78);
}

.page-cta-copy h2 em {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 500;
  color: #d4a07a;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 22px;
}

.page-cta-btn {
  min-height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ochre);
  color: #fff;
}

.page-cta-btn:hover {
  background: #b8744a;
  color: #fff;
}

.page-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 241, 235, 0.94);
}

.page-cta-call:hover {
  color: #fff;
}

.page-cta-call-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #d4a07a;
}

.page-cta-call-icon svg {
  width: 20px;
  height: 20px;
}

.page-cta-call strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
}

.page-cta-call small {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: rgba(244, 241, 235, 0.62);
}

.page-cta-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 0;
  align-items: stretch;
  align-self: end;
}

.page-cta-values article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 10px;
  padding: 0 10px;
  min-width: 0;
  height: 100%;
}

.page-cta-values article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  bottom: 4px;
  width: 1px;
  background: rgba(212, 160, 122, 0.28);
}

.page-cta-icon {
  width: 28px;
  height: 28px;
  margin: 0;
  flex: none;
  color: #d4a07a;
}

.page-cta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-cta-values span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(244, 241, 235, 0.92);
  line-height: 1.35;
  max-width: 15ch;
}

@media (max-width: 900px) {
  .page-cta-banner {
    min-height: 0;
  }

  .page-cta-banner-shade {
    background: linear-gradient(
      180deg,
      rgba(14, 22, 19, 0.94) 0%,
      rgba(18, 28, 24, 0.92) 55%,
      rgba(18, 28, 24, 0.88) 100%
    );
  }

  .page-cta-banner-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px 20px;
    align-items: stretch;
  }

  .page-cta-copy h2 {
    margin: 0;
    max-width: none;
    font-size: clamp(1.28rem, 5.4vw, 1.55rem);
    line-height: 1.28;
  }

  .page-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
  }

  .page-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .page-cta-call {
    justify-content: center;
    gap: 10px;
  }

  .page-cta-call small {
    display: none;
  }

  .page-cta-call strong {
    font-size: 0.95rem;
  }

  .page-cta-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(244, 241, 235, 0.12);
  }

  .page-cta-values article {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
    padding: 0;
  }

  .page-cta-values article:not(:last-child)::after {
    display: none;
  }

  .page-cta-icon {
    width: 18px;
    height: 18px;
  }

  .page-cta-values span {
    font-size: 0.68rem;
    line-height: 1.25;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-cta-banner-inner {
    padding: 22px 16px 18px;
    gap: 16px;
  }

  .page-cta-actions {
    margin-top: 16px;
  }

  .page-cta-values {
    gap: 8px 10px;
  }
}

/* ---------- Sticky contact (WhatsApp + phone) ---------- */
.float-contact {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 14px 28px -16px rgba(27, 36, 32, 0.55);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    gap 0.3s var(--ease),
    padding 0.3s var(--ease);
}

.float-contact-btn--wa {
  background: #2f9e6a;
}

.float-contact-btn--phone {
  background: var(--ochre);
}

.float-contact-icon {
  width: 54px;
  height: 54px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.float-contact-icon svg {
  width: 24px;
  height: 24px;
}

.float-contact-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transform: translateX(8px);
  transition:
    max-width 0.35s var(--ease),
    opacity 0.25s var(--ease),
    transform 0.35s var(--ease),
    padding 0.35s var(--ease);
}

.float-contact-btn:hover,
.float-contact-btn:focus-visible,
.float-contact-btn.is-open {
  gap: 4px;
  padding-left: 18px;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(27, 36, 32, 0.58);
}

.float-contact-btn:hover .float-contact-label,
.float-contact-btn:focus-visible .float-contact-label,
.float-contact-btn.is-open .float-contact-label {
  max-width: 12rem;
  opacity: 1;
  padding-right: 8px;
  transform: translateX(0);
}

.float-contact-btn--wa:hover,
.float-contact-btn--wa:focus-visible,
.float-contact-btn--wa.is-open {
  background: #27885a;
}

.float-contact-btn--phone:hover,
.float-contact-btn--phone:focus-visible,
.float-contact-btn--phone.is-open {
  background: #b8744a;
}

body.modal-open .float-contact,
body.menu-open .float-contact,
body.video-open .float-contact,
body.lightbox-open .float-contact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (max-width: 640px) {
  .float-contact {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    gap: 10px;
    z-index: 100;
  }

  .float-contact-btn {
    min-height: 52px;
    border: 4px solid rgba(244, 240, 232, 0.95);
    box-shadow: 0 10px 24px rgba(35, 44, 38, 0.16);
  }

  .float-contact-icon {
    width: 52px;
    height: 52px;
  }

  /* Keep FABs clear of hero copy on short viewports */
  body.home .float-contact,
  body:has(.hero--about) .float-contact {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-contact-btn,
  .float-contact-label {
    transition: none;
  }

  .float-contact-btn--wa .float-contact-icon {
    animation: none;
  }
}

@media print {
  .float-contact,
  .bs-toc-fab,
  .bs-toc-backdrop,
  .bs-side,
  .bs-toc,
  .bs-pdf {
    display: none !important;
  }

  .bs-hero-img {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 0 18px !important;
    overflow: hidden !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .bs-hero-img::after {
    display: none !important;
  }

  .bs-hero-img img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: cover !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.js .reveal-stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.js .reveal-stagger.in > *:nth-child(8) { transition-delay: 0.54s; }
.js .reveal-stagger.in > *:nth-child(9) { transition-delay: 0.61s; }
.js .reveal-stagger.in > *:nth-child(10) { transition-delay: 0.68s; }

/* ================= SERVICES ================= */
.services {
  position: relative;
  padding: var(--section-space) 0;
  background: #f9f4ec;
  overflow: hidden;
}

/* Soft ambient glow — orijinal: sol, başlık/kart bandında, krem ışıma */
.services-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .services-glow {
    display: none;
  }
}

.services-glow--a {
  width: min(580px, 62vw);
  height: min(520px, 56vw);
  left: -180px;
  top: clamp(120px, 18%, 200px);
  background: radial-gradient(
    circle,
    rgba(255, 252, 245, 0.95) 0%,
    rgba(247, 236, 214, 0.55) 32%,
    rgba(236, 224, 198, 0.22) 52%,
    transparent 72%
  );
  opacity: 0.9;
}

.services-glow--b {
  width: min(340px, 38vw);
  height: min(340px, 38vw);
  left: 6%;
  top: clamp(280px, 38%, 420px);
  background: radial-gradient(
    circle,
    rgba(240, 230, 210, 0.35) 0%,
    rgba(210, 200, 175, 0.12) 48%,
    transparent 72%
  );
  opacity: 0.65;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.services-head-copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  max-width: 16ch;
  color: var(--ink);
}

.services-head-copy h2 em {
  display: inline;
  font-style: italic;
  font-weight: 400;
  color: #6a8574;
}

.services-sign {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sign-name {
  font-family: "Caveat", cursive;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.sign-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.svc-card {
  position: relative;
  display: block;
  min-height: 248px;
  padding: 24px 36% 24px 24px;
  background: #f0ebe1;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -30px rgba(27, 36, 32, 0.32);
  cursor: pointer;
}

.svc-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  min-width: 0;
  /* Reserves room for the absolutely-positioned .svc-more label sitting at
     the card's bottom-left, so a long summary can never run under it. */
  padding-bottom: 44px;
}

.svc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.svc-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(27, 36, 32, 0.14);
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--moss-deep);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  flex: none;
}

.svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(160deg, #33463b 0%, var(--moss-deep) 100%);
  color: #f4f1eb;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow:
    0 8px 18px -12px rgba(27, 36, 32, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.svc-icon svg {
  width: 18px;
  height: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.svc-card:hover .svc-icon {
  transform: translateY(-1px);
  transition: transform 0.35s var(--ease);
}

.svc-body h3 {
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
  max-width: 18ch;
  white-space: normal;
  line-height: 1.25;
  overflow-wrap: break-word;
  hyphens: auto;
}

.svc-body p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 22ch;
  margin-bottom: auto;
}

/* Makes the whole card clickable (not just the visible label): .svc-more is
   a sibling of .svc-body/.svc-visual, not nested inside either, so it can
   sit directly on .svc-card's own containing block and cover it edge to
   edge — nesting it inside .svc-body (also positioned, for stacking above
   the photo) would have shrunk the click target down to .svc-body's own
   box and left the image half of the card dead to clicks. The visible
   "Detaylı bilgi" label is placed via .svc-more-inner at the label's old
   position; the hover slide/fade lives there too, since a `transform` on
   .svc-more itself would make it (instead of .svc-card) the containing
   block and collapse the overlay back down to the label's tiny box. */
.svc-more {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  color: var(--moss-deep);
}

.svc-more-inner {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    gap 0.3s var(--ease);
}

.svc-more svg {
  width: 14px;
  height: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .svc-more-inner {
    opacity: 0;
    transform: translateY(6px);
  }

  .svc-card:hover .svc-more-inner,
  .svc-card:focus-within .svc-more-inner {
    opacity: 1;
    transform: translateY(0);
    gap: 10px;
  }
}

/*
  Daire kart yüksekliğine yayılır; sağdan kısmen kesilir.
  object-position ile konu figür görünür alanda tutulur.
*/
.svc-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  right: 0;
  width: auto;
  aspect-ratio: 1;
  height: 100%;
  max-width: none;
  transform: translateX(36%);
  pointer-events: none;
}

.svc-orb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.svc-orb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  filter: saturate(0.95) contrast(1.03);
}

.svc-visual--manuel img { object-position: 42% 40%; }
.svc-visual--ortopedik img { object-position: 48% 50%; }
.svc-visual--spor img { object-position: 62% 42%; }
.svc-visual--norolojik img { object-position: 45% 50%; }
.svc-visual--postur img { object-position: 68% 42%; }
.svc-visual--ev img { object-position: 58% 45%; }
.svc-visual--omurga img { object-position: 50% 45%; }
.svc-visual--alt-ekstremite img { object-position: 50% 50%; }
.svc-visual--ust-ekstremite img { object-position: 50% 48%; }
.svc-visual--postop img { object-position: 50% 50%; }
.svc-visual--ozel-klinik img { object-position: 50% 50%; }
.svc-visual--koruyucu img { object-position: 50% 50%; }
.svc-visual--longevity img { object-position: 67% 50%; }

.svc-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(184, 149, 108, 0.42);
  pointer-events: none;
}

.svc-ring--outer {
  inset: -16px;
  border-color: rgba(184, 149, 108, 0.22);
}

.services-cta {
  position: relative;
  isolation: isolate;
  margin-top: clamp(36px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px clamp(24px, 3.2vw, 40px);
  color: #f4f1eb;
  border-radius: 24px;
  overflow: hidden;
  background: #24352c;
}

.services-cta-copy,
.services-cta .btn-soft {
  position: relative;
  z-index: 1;
}

.services-cta-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.services-cta-copy p {
  font-family: "Newsreader", serif;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.32;
  max-width: 22ch;
  color: rgba(244, 241, 235, 0.97);
}

.services-cta .btn-soft {
  flex: none;
  padding: 16px 28px;
  background: #f4f1eb;
  color: var(--ink);
  font-weight: 700;
}

.services-cta .btn-soft:hover {
  background: #fff;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .services-head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .services-head-copy h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .svc-card {
    min-height: 0;
    padding-right: 26%;
  }

  .svc-body {
    min-height: 190px;
  }

  .svc-body h3 {
    white-space: normal;
    font-size: 1.15rem;
  }

  .svc-visual {
    transform: translateX(50%);
  }

  .services-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .services-cta .btn-soft {
    width: 100%;
    justify-content: center;
  }
}

/* ================= PROCESS ================= */
.process {
  position: relative;
  padding: 0 0 var(--section-space);
  background: #f9f4ec;
  overflow: hidden;
}

.process-panel {
  --process-base: #1a2320;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(32px, 3.8vw, 44px);
  padding: clamp(48px, 7vw, 76px) clamp(28px, 4.5vw, 56px) clamp(44px, 6vw, 64px);
  color: #f4f1eb;
  background: var(--process-base);
}

.process-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 65% at 18% 20%, rgba(255, 245, 220, 0.07) 0%, transparent 58%),
    radial-gradient(ellipse 48% 60% at 82% 30%, rgba(255, 230, 180, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 50% 120%, rgba(0, 0, 0, 0.35) 0%, transparent 55%),
    linear-gradient(165deg, #222e2a 0%, var(--process-base) 42%, #151c19 100%);
}

.process-figure {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(70%, 860px);
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 18%,
    rgba(0, 0, 0, 0.55) 38%,
    #000 62%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 18%,
    rgba(0, 0, 0, 0.55) 38%,
    #000 62%,
    #000 100%
  );
}

.process-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      var(--process-base) 0%,
      rgba(26, 35, 32, 0.85) 22%,
      rgba(26, 35, 32, 0.4) 48%,
      rgba(26, 35, 32, 0.12) 72%,
      rgba(26, 35, 32, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(26, 35, 32, 0.18) 0%, transparent 34%, rgba(26, 35, 32, 0.5) 100%);
}

.process-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 22%;
  filter: grayscale(0.55) contrast(1.02) brightness(0.68);
  opacity: 0.52;
}

.process-figure-ring {
  position: absolute;
  z-index: 2;
  left: 64%;
  top: 26%;
  width: min(190px, 34%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(255, 230, 180, 0.12);
}

.process-figure-ring--mid {
  width: min(270px, 54%);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.process-figure-ring--outer {
  width: min(350px, 70%);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.process-panel > *:not(.process-panel-bg):not(.process-figure) {
  position: relative;
  z-index: 1;
}

.process .eyebrow,
.process .sp-kicker {
  color: rgba(236, 230, 220, 0.55);
}

.process .eyebrow::before,
.process .sp-kicker::before {
  background: rgba(236, 230, 220, 0.45);
}

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3.5vw, 40px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.process-head-copy h2 {
  margin-top: 16px;
  font-size: clamp(2.05rem, 3.9vw, 3.15rem);
  max-width: 16ch;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.process-head-aside {
  position: relative;
  max-width: 32ch;
  justify-self: start;
  margin-left: clamp(8px, 2vw, 28px);
  padding-bottom: 8px;
  padding-left: 18px;
}

.process-aside-mark {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1px;
  height: 2.6em;
  background: linear-gradient(180deg, rgba(255, 230, 180, 0.7), rgba(255, 255, 255, 0.12));
}

.process-aside-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff4d6;
  transform: translateX(-50%);
  box-shadow:
    0 0 8px 2px rgba(255, 230, 180, 0.75),
    0 0 22px 8px rgba(220, 170, 90, 0.28);
}

.process-head-aside > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(220, 214, 204, 0.52);
}

.process-rail {
  position: relative;
  height: 36px;
  margin-bottom: clamp(10px, 1.5vw, 18px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.process-rail-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 6%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.16) 94%,
    transparent 100%
  );
  transform: translateY(-50%) scaleX(0.15);
  transform-origin: left center;
  transition: transform 1.9s var(--ease);
}

.process.is-drawn .process-rail-line {
  transform: translateY(-50%) scaleX(1);
}

.process-rail-node {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.process-rail-node i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff8e6;
  box-shadow:
    0 0 0 1px rgba(255, 248, 230, 0.35),
    0 0 10px 3px rgba(255, 230, 180, 0.85),
    0 0 26px 10px rgba(230, 175, 95, 0.4),
    0 0 48px 18px rgba(180, 130, 60, 0.16);
}

.process.is-drawn .process-rail-node {
  opacity: 1;
  transform: scale(1);
}

.process.is-drawn .process-rail-node:nth-child(2) { transition-delay: 0.12s; }
.process.is-drawn .process-rail-node:nth-child(3) { transition-delay: 0.32s; }
.process.is-drawn .process-rail-node:nth-child(4) { transition-delay: 0.52s; }
.process.is-drawn .process-rail-node:nth-child(5) { transition-delay: 0.72s; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 8px clamp(16px, 2vw, 28px) 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  border-right: none;
  padding-right: 0;
}

.process-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 28px rgba(255, 240, 210, 0.1);
}

.process-icon svg {
  width: 21px;
  height: 21px;
}

.process-step-label {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(214, 188, 140, 0.9);
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: #ffffff;
}

.process-step p {
  font-size: 0.85rem;
  line-height: 1.62;
  color: rgba(210, 205, 196, 0.5);
  max-width: 26ch;
}

@media (max-width: 900px) {
  .process-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-head-aside {
    max-width: 40ch;
    justify-self: start;
  }

  .process-figure {
    width: 70%;
    opacity: 0.85;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .process-step:nth-child(2) {
    border-right: none;
  }

  .process-step:nth-child(1),
  .process-step:nth-child(2) {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .process-step:nth-child(odd) {
    padding-left: 0;
  }

  .process-step:nth-child(even) {
    padding-right: 0;
  }

  .process-rail {
    display: none;
  }
}

@media (max-width: 560px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0 0 26px;
  }

  .process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .process-figure {
    width: 100%;
  }

  .process-figure::after {
    background: linear-gradient(
      180deg,
      rgba(26, 35, 32, 0.75) 0%,
      rgba(26, 35, 32, 0.88) 100%
    );
  }
}

/* ================= FOUNDER ================= */
.founder {
  position: relative;
  padding: 0 0 var(--section-space);
  background: #f8f6f1;
  overflow: hidden;
}

.founder .container {
  max-width: 1280px;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.founder-card {
  position: relative;
  margin: 0;
  max-width: 440px;
}

.founder-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 28px 55px -28px rgba(27, 36, 32, 0.4);
}

.founder-card-badge {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 26px 22px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(20, 28, 24, 0) 0%, rgba(18, 26, 22, 0.55) 45%, rgba(13, 19, 16, 0.88) 100%);
  color: #fff;
  pointer-events: none;
}

.founder-card-eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.founder-card-role {
  margin: 0 0 6px;
  font-family: "Newsreader", serif;
  font-size: 1.22rem;
  font-weight: 500;
  color: #fff;
}

.founder-card-sign {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ochre);
  line-height: 1;
}

.founder-copy {
  min-width: 0;
  max-width: 640px;
}

.founder-copy .eyebrow,
.founder-copy .sp-kicker {
  margin-bottom: 14px;
}

.founder-copy h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  margin: 0;
  color: #1b2420;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.founder-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 24px;
  max-width: 100%;
}

.founder-divider::before,
.founder-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(27, 36, 32, 0.14);
}

.founder-divider i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(27, 36, 32, 0.28);
  flex: none;
}

.founder-body p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3a453e;
}

.founder-body p + p {
  margin-top: 14px;
}

.founder-creds {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.founder-creds li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(27, 36, 32, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font-family: "Newsreader", serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.22;
  color: #1b2420;
}

.founder-cred-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: #7d8f7a;
  color: #ffffff;
}

.founder-cred-icon svg {
  width: 17px;
  height: 17px;
}

.founder-quote {
  margin: 40px 0 0;
}

.founder-quote-mark {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 4.6rem;
  line-height: 0.5;
  color: rgba(125, 143, 122, 0.55);
  margin-bottom: 14px;
}

.founder-quote p {
  font-family: "Newsreader", serif;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(58, 69, 62, 0.78);
}

.founder-quote cite {
  display: block;
  margin-top: 18px;
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3a453e;
}

.founder-more {
  margin: 28px 0 0;
}

.founder-more .btn {
  gap: 8px;
}

.founder-more .btn svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 640px;
    margin-inline: auto;
  }

  /* Fills the container's padded width — same width as every other card
     on the page (e.g. .process-panel), not a full-bleed edge-to-edge photo. */
  .founder-card {
    max-width: none;
    margin-inline: 0;
  }

  .founder-copy {
    max-width: none;
  }

  .founder-creds {
    grid-template-columns: 1fr;
  }

  .founder-creds li {
    min-height: 0;
  }
}

/* ================= GALLERY ================= */
.gallery {
  padding: 0 0 var(--section-space);
  background: #f8f6f1;
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.49fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.gallery-head-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 25ch;
  color: var(--ink);
  line-height: 1.08;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: minmax(240px, 1fr) minmax(220px, 1fr);
  gap: 16px;
  min-height: min(620px, 72vh);
}

.gtile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  width: 100%;
  height: 100%;
  min-height: 240px;
  color: #f4f1eb;
  isolation: isolate;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: #1c2923;
}

.gtile:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

.gtile--lg {
  grid-column: 1;
  grid-row: 1 / -1;
  min-height: 0;
}

.gtile--warm {
  grid-column: 2;
  grid-row: 1;
}

.gtile--moss {
  grid-column: 3;
  grid-row: 1;
}

.gtile--wide {
  grid-column: 2 / -1;
  grid-row: 2;
}

.gtile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  transition: transform 0.7s var(--ease);
}

.gtile--lg .gtile-bg {
  object-position: 70% center;
}

.gtile:hover .gtile-bg {
  transform: scale(1.05);
}

/* Sol yarı renkli gölge, sağ yarı görsel açık */
.gtile-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.gtile--lg .gtile-shade,
.gtile--moss .gtile-shade,
.gtile--wide .gtile-shade {
  background: linear-gradient(
    90deg,
    #1a2822 0%,
    rgba(26, 40, 34, 0.96) 28%,
    rgba(26, 40, 34, 0.72) 46%,
    rgba(26, 40, 34, 0.28) 62%,
    transparent 78%
  );
}

.gtile--warm .gtile-shade {
  background: linear-gradient(
    90deg,
    #6a3a22 0%,
    rgba(106, 58, 34, 0.96) 30%,
    rgba(106, 58, 34, 0.7) 48%,
    rgba(106, 58, 34, 0.28) 64%,
    transparent 80%
  );
}

.gtile-content {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: min(58%, 340px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  box-sizing: border-box;
}

.gtile--lg .gtile-content {
  width: min(52%, 360px);
  padding: 28px;
}

.gtile--wide .gtile-content {
  width: min(48%, 420px);
}

.gtile-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 22, 19, 0.45);
  border: 1px solid rgba(244, 241, 235, 0.16);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 235, 0.9);
}

.gtile-body {
  width: 100%;
  max-width: 28ch;
  margin: 0;
}

.gtile--lg .gtile-body {
  max-width: 26ch;
}

.gtile h3 {
  font-family: "Newsreader", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 10px;
  color: #f7f3eb;
}

.gtile p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(244, 241, 235, 0.72);
  margin: 0 0 14px;
}

.gtile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c98a58;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.gtile-link svg {
  width: 16px;
  height: 16px;
}

.gtile:hover .gtile-link {
  color: #db9d6b;
  gap: 12px;
}

.gtile-more {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 22, 19, 0.45);
  border: 1px solid rgba(244, 241, 235, 0.18);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 235, 0.85);
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .gtile--lg {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .gtile--warm,
  .gtile--moss {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .gtile--wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .gallery-head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .gallery-head-copy h2 {
    max-width: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gtile--lg,
  .gtile--warm,
  .gtile--moss,
  .gtile--wide {
    grid-column: 1;
    min-height: 320px;
  }

  .gtile-content,
  .gtile--lg .gtile-content,
  .gtile--wide .gtile-content {
    width: min(72%, 320px);
    padding: 22px;
  }

  .gtile-body {
    max-width: 30ch;
  }
}

/* ================= VIDEO ================= */
.video-section {
  padding: 0 0 var(--section-space);
  background: #f8f6f1;
}

.video-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  min-height: clamp(280px, 36vw, 380px);
  padding: clamp(36px, 5vw, 64px) clamp(32px, 5vw, 72px);
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 80% at 82% 50%, rgba(193, 121, 61, 0.42), transparent 62%),
    radial-gradient(ellipse 40% 60% at 70% 40%, rgba(184, 149, 108, 0.18), transparent 55%),
    linear-gradient(115deg, #171f1b 0%, #1c2923 48%, #24332c 100%);
  color: #f4f1eb;
  isolation: isolate;
}

.video-card[style*="--video-poster"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(115deg, rgba(23, 31, 27, 0.88) 0%, rgba(28, 41, 35, 0.72) 48%, rgba(36, 51, 44, 0.55) 100%), var(--video-poster);
  background-size: cover;
  background-position: center;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(244, 241, 235, 0.045) 0 1px,
    transparent 1px 52px
  );
}

.video-copy {
  position: relative;
  z-index: 1;
  max-width: 34ch;
}

.video-copy .eyebrow,
.video-copy .sp-kicker {
  color: #c9a57a;
}

.video-copy .eyebrow::before,
.video-copy .sp-kicker::before {
  background: #c9a57a;
}

.video-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  color: #ffffff;
  font-weight: 500;
}

.video-copy > p:not(.eyebrow):not(.sp-kicker) {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(244, 241, 235, 0.68);
}

.video-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 122, 0.85);
  background: transparent;
  color: #c9a57a;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.video-cta svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.video-cta:hover {
  background: rgba(201, 165, 122, 0.12);
  border-color: #d4b896;
  color: #d4b896;
}

.video-play {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: clamp(84px, 10vw, 112px);
  height: clamp(84px, 10vw, 112px);
  border-radius: 50%;
  border: 0;
  background: #f4f1eb;
  color: #1b2420;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    0 0 0 0 rgba(244, 241, 235, 0.35),
    0 20px 50px -20px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease);
}

.video-play svg {
  width: 28%;
  height: 28%;
  margin-left: 6%;
}

.video-play:hover {
  transform: scale(1.04);
}

.video-play:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 4px;
}



.video-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 22, 19, 0.88);
  cursor: pointer;
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

/* YouTube Shorts / vertical clips: shrink the panel to a portrait column
   instead of stretching a 9:16 clip inside a 16:9 box with black bars. */
.video-modal-panel.is-shorts {
  width: min(420px, 86vw);
}

.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 235, 0.2);
  background: rgba(244, 241, 235, 0.1);
  color: #f4f1eb;
  cursor: pointer;
}

.video-modal-close svg {
  width: 18px;
  height: 18px;
}

.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #111815;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.video-modal-frame.is-shorts {
  aspect-ratio: 9 / 16;
  max-height: min(80vh, 780px);
  margin: 0 auto;
}

.video-modal-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #111815;
}

.video-modal-frame iframe[hidden] {
  display: none !important;
}

.video-modal-empty {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  text-align: center;
  color: rgba(244, 241, 235, 0.7);
  font-size: 1.05rem;
}

.video-modal-empty[hidden],
.video-modal-frame:not(.is-empty) .video-modal-empty {
  display: none !important;
}

body.video-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .video-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 28px 48px;
    text-align: left;
  }

  .video-copy {
    max-width: none;
  }

  .video-play {
    justify-self: start;
    margin-top: 8px;
    width: 56px;
    height: 56px;
  }

  .video-play svg {
    width: 26%;
    height: 26%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-play {
    animation: none;
  }
}

/* ================= TESTIMONIALS / GOOGLE REVIEWS ================= */
.testimonials {
  position: relative;
  padding: 0 0 var(--section-space);
  background: #f8f6f1;
  overflow: hidden;
}

.testimonials-topo {
  position: absolute;
  left: -2%;
  top: 10%;
  width: min(28vw, 280px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-head {
  text-align: center;
  max-width: 40ch;
  margin: 0 auto clamp(24px, 3vw, 36px);
}

.testimonials-head .eyebrow,
.testimonials-head .sp-kicker,
.testimonials-head .sp-eyebrow {
  justify-content: flex-start;
}

.testimonials-head h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--ink);
}

.testimonials-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}

.testimonials-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.testimonials-rating .stars {
  color: #c1793d;
  letter-spacing: 0.08em;
}

.testimonials-more {
  margin-top: clamp(20px, 3vw, 28px);
  text-align: center;
}

.testimonials-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(27, 36, 32, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), gap 0.25s var(--ease);
}

.testimonials-google-icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
}

.testimonials-more-arrow {
  width: 16px;
  height: 16px;
  flex: none;
}

.testimonials-more-link:hover {
  border-color: var(--moss-deep);
  background: #fff;
  gap: 14px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
}

.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: clamp(28px, 3vw, 36px) clamp(24px, 2.5vw, 32px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 36, 32, 0.08);
  text-align: left;
}

.t-card-quote {
  width: 28px;
  height: 22px;
  margin-bottom: 18px;
  color: #c1793d;
}

.t-card-quote svg {
  width: 100%;
  height: 100%;
  display: block;
}

.t-card-text {
  flex: 1;
  margin: 0 0 22px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: #1b2420;
}

.t-card-stars {
  margin: 0 0 14px;
  color: #c1793d;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.t-card-rule {
  width: 36px;
  height: 1px;
  margin: 0 0 16px;
  background: rgba(27, 36, 32, 0.18);
}

.t-card-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t-card-author .name {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.t-card-author .name a {
  color: inherit;
  text-decoration: none;
}

.t-card-author .name a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.t-card-author .meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.t-card.is-skeleton {
  min-height: 260px;
  background: linear-gradient(110deg, rgba(255,255,255,0.4) 20%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.4) 60%);
  background-size: 200% 100%;
  animation: t-shimmer 1.2s ease-in-out infinite;
}

@keyframes t-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .t-card.is-skeleton {
    animation: none;
  }
}

.testimonials-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(58, 69, 62, 0.65);
}

@media (max-width: 900px) {
  .testimonials-grid {
    display: flex;
    align-items: stretch;
    gap: 14px;
    max-width: none;
    margin-inline: calc(-1 * var(--page-pad));
    padding-inline: var(--page-pad);
    padding-bottom: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-pad);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
	touch-action: pan-x pan-y pinch-zoom;
    scrollbar-width: none;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonials-grid .t-card {
    flex: 0 0 min(82%, 300px);
    scroll-snap-align: start;
    min-height: 0;
  }
}

/* ================= FAQ ================= */
.faq {
  padding: 0 0 var(--section-space);
  background: #f8f6f1;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.faq-intro h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  color: var(--ink);
}

.faq-intro > p:not(.eyebrow):not(.sp-kicker) {
  margin-top: 16px;
  max-width: 32ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid rgba(27, 36, 32, 0.16);
}

.faq-item {
  border-bottom: 1px solid rgba(27, 36, 32, 0.16);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 4px;
  border: 0;
  background: none;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.faq-q:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.faq-icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 4px;
  max-width: 58ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq-item.is-open .faq-a > p {
  padding-bottom: 26px;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ================= BLOG ================= */
.blog {
  padding: 0 0 var(--section-space);
  background: #f8f6f1;
}

.blog-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.blog-head-copy h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 16ch;
  color: var(--ink);
  line-height: 1.08;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(27, 36, 32, 0.08);
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -28px rgba(27, 36, 32, 0.35);
}

.blog-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8e4db;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.blog-card:hover .blog-media img {
  transform: scale(1.04);
}

.blog-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 22px 22px 24px;
}

.blog-cat {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(42, 58, 49, 0.88);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-cat--on-media {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
}

.blog-date {
  display: block;
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #c1793d;
}

.blog-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.blog-card:hover h3 {
  color: var(--moss-deep);
}

.blog-body > p {
  position: relative;
  margin: 0 0 18px;
  padding-top: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.blog-body > p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #c1793d;
}

.blog-read {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.blog-read svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.blog-card:hover .blog-read svg {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .blog-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .blog-head-copy h2 {
    max-width: none;
  }

  /* Mobile → same snap carousel as testimonials / related posts */
  .blog-grid {
    display: flex;
    align-items: stretch;
    gap: 14px;
    max-width: none;
    margin-inline: calc(-1 * var(--page-pad));
    padding-inline: var(--page-pad);
    padding-bottom: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-pad);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
	touch-action: pan-x pan-y pinch-zoom;
    scrollbar-width: none;
  }

  .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .blog-grid .blog-card {
    flex: 0 0 min(82%, 300px);
    scroll-snap-align: start;
    min-height: 0;
  }
}

/* ================= CTA / RANDEVU ================= */
.cta {
  padding: 0 0 var(--section-space);
  background: #f8f6f1;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5.5vw, 72px);
  border-radius: 36px;
  overflow: visible;
  color: #f4f1eb;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(184, 149, 108, 0.18), transparent 55%),
    linear-gradient(135deg, #1a2420 0%, #213129 55%, #1c2923 100%);
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy .eyebrow,
.cta-copy .sp-kicker {
  color: var(--ochre);
}

.cta-copy .eyebrow::before,
.cta-copy .sp-kicker::before {
  background: var(--ochre);
  opacity: 0.85;
}

.cta-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  color: #fff;
  font-weight: 500;
  max-width: 17ch;
}

.cta-copy h2 em {
  font-style: italic;
  font-weight: 400;
  color: #d4b896;
}

.cta-copy > p {
  margin: 0 0 36px;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(244, 241, 235, 0.68);
}

.cta-perks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

.cta-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cta-perk-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 235, 0.28);
  color: rgba(244, 241, 235, 0.9);
}

.cta-perk-icon svg {
  width: 18px;
  height: 18px;
}

.cta-perks strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cta-perks small {
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(244, 241, 235, 0.55);
}

.cta-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  width: 100%;
  padding: clamp(28px, 3vw, 36px);
  border-radius: 24px;
  background: rgba(244, 241, 235, 0.05);
  border: 1px solid rgba(244, 241, 235, 0.14);
}

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-field span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.5);
}

.cta-field input,
.cta-field select,
.cta-field .ui-select-trigger {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 235, 0.22);
  border-radius: 0;
  background-color: transparent;
  color: #f4f1eb;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.cta-field input::placeholder {
  color: rgba(244, 241, 235, 0.35);
}

.cta-field select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23d4b896' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
  padding-right: 28px;
}

.cta-field select option {
  color: #1b2420;
  background: #f4f1eb;
}

.cta-field input:focus,
.cta-field select:focus,
.cta-field .ui-select-trigger:focus,
.cta-field .ui-select.is-open .ui-select-trigger {
  border-bottom-color: #d4b896;
}

.cta-field.is-invalid input,
.cta-field.is-invalid select,
.cta-field.is-invalid .ui-select-trigger {
  border-bottom-color: #d17a5a;
}

.cta-form-error {
  margin: 0;
  font-size: 0.85rem;
  color: #e0a090;
}

.cta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 4px;
  padding: 16px 22px;
  border: 0;
  border-radius: 999px;
  background: #d4b896;
  color: #1b2420;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta-submit svg {
  width: 16px;
  height: 16px;
}

.cta-submit:hover {
  background: #e0c4a4;
}

.cta-submit.is-success {
  background: #8a9c8f;
  color: #fff;
}

@media (max-width: 980px) {
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .cta-copy h2 {
    max-width: none;
  }

  .cta-perks {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .cta-panel {
    padding: 28px 16px;
    border-radius: 28px;
    min-width: 0;
  }

  .cta-form {
    gap: 18px;
    padding: 22px 16px;
  }

  .cta-submit {
    padding: 14px 16px;
    font-size: 0.86rem;
    gap: 8px;
  }

  .cta-submit svg {
    width: 15px;
    height: 15px;
    flex: none;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: #f2efe9;
  color: var(--ink);
}

.footer-top {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
}

/* Page CTA already closes the content — tighten footer lead-in. */
body:has(.page-cta) .footer-top {
  padding-top: clamp(40px, 5vw, 56px);
}

.footer-topo {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand .logo-sub {
  white-space: normal;
  max-width: 18rem;
  line-height: 1.35;
}

.footer-brand > p {
  max-width: 34ch;
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #213129;
  color: #f4f1eb;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  background: #2a3a31;
  transform: translateY(-2px);
}

.footer-col h3 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid rgba(27, 36, 32, 0.12);
  display: inline-block;
  min-width: 72px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-contact span {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--moss-deep);
}

.footer-band {
  background: #232d27;
  color: #f4f1eb;
  border-radius: 36px 36px 0 0;
  padding: clamp(36px, 5vw, 56px) 0 0;
}

.footer-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(244, 241, 235, 0.1);
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-features article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-feature-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 235, 0.22);
  color: rgba(244, 241, 235, 0.88);
}

.footer-feature-icon svg {
  width: 18px;
  height: 18px;
}

.footer-features h4,
.footer-cta h4 {
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-features p,
.footer-cta p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(244, 241, 235, 0.58);
}

.footer-cta {
  padding-left: clamp(20px, 3vw, 32px);
  border-left: 1px solid rgba(244, 241, 235, 0.14);
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  /* Darkened from #b8855f — white text on that tone was ~3.2:1, below the
     4.5:1 AA text-contrast minimum. This shade clears ~4.7:1. */
  background: #966a45;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.footer-cta-btn svg {
  width: 15px;
  height: 15px;
}

.footer-cta-btn:hover {
  background: #c8966f;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 0 22px;
  font-size: 0.78rem;
  /* Was 0.45 — the copyright/disclaimer text this colors sat at ~3.8:1 on
     the footer-band background, below the 4.5:1 AA minimum. 0.6 clears it
     with margin (~5.8:1) while staying visibly muted. */
  color: rgba(244, 241, 235, 0.6);
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
}

.footer-compliance {
  display: grid;
  max-width: 780px;
  gap: 6px;
  line-height: 1.55;
}

.footer-compliance a {
  color: rgba(244, 241, 235, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-credit {
  /* Deliberately quieter than the copyright/disclaimer lines above it —
     this is attribution, not legal text, and shouldn't compete with it.
     A single opacity (not per-piece rgba alpha) keeps the whole line —
     label, link, and role — reading as one secondary unit. Never drop
     this into display:none / near-invisible territory for the backlink:
     stays small and quiet, not hidden. */
  font-size: 0.72rem;
  opacity: 0.72;
}

.site-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-credit a:hover {
  opacity: 1;
}

.footer-credit-role {
  color: inherit;
}

.footer-legal nav a {
  /* Was 0.55 — bump so links still read brighter than the 0.6 base text
     above, and stay clear of the AA text-contrast minimum. */
  color: rgba(244, 241, 235, 0.72);
  padding: 0 10px;
  border-left: 1px solid rgba(244, 241, 235, 0.18);
  transition: color 0.25s var(--ease);
}

.footer-legal nav a:first-child {
  border-left: 0;
  padding-left: 0;
}

.footer-legal nav a:hover {
  color: #f4f1eb;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-band-inner {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    padding-left: 0;
    border-left: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(244, 241, 235, 0.12);
  }

  .footer-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-band {
    border-radius: 28px 28px 0 0;
  }

  .footer-legal {
    flex-direction: column;
  }

  .footer-legal nav a {
    padding: 0 8px;
  }
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 22, 19, 0.86);
  cursor: pointer;
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  display: grid;
  gap: 16px;
}

.lightbox-figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #1b2420;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
	touch-action: pan-y pinch-zoom;
	overscroll-behavior: contain;
	user-select: none;
	-webkit-user-select: none;
}

.lightbox-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
	-webkit-user-drag: none;
}

.lightbox-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: #f4f1eb;
  padding: 0 4px;
}

.lightbox-title {
  font-family: "Newsreader", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
}

.lightbox-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
  flex: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 235, 0.2);
  background: rgba(244, 241, 235, 0.1);
  color: #f4f1eb;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 18px;
  height: 18px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(244, 241, 235, 0.22);
}

.lightbox-close {
  top: -56px;
  right: 0;
}

.lightbox-prev {
  left: -58px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -58px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .lightbox-prev {
    left: 8px;
    top: auto;
    bottom: -64px;
    transform: none;
  }

  .lightbox-next {
    right: 8px;
    top: auto;
    bottom: -64px;
    transform: none;
  }

  .lightbox-prev:hover,
  .lightbox-next:hover {
    transform: scale(1.05);
  }

  .lightbox-close {
    top: -52px;
  }

  .lightbox-stage {
    margin-bottom: 72px;
  }

  .lightbox-figure {
    aspect-ratio: 4 / 3;
  }
}

/* ================= RANDEVU MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 36, 32, 0.48);
  border: 0;
  cursor: pointer;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92svh, 820px);
  overflow: auto;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(184, 149, 108, 0.12), transparent 55%),
    var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 40px 80px -40px rgba(27, 36, 32, 0.45);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.modal-close:hover {
  background: rgba(27, 36, 32, 0.06);
  border-color: var(--ink);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-head {
  padding-right: 36px;
  margin-bottom: 26px;
}

.modal-head h2 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--ink);
}

.modal-lead {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field-label em {
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}

.field input,
.field select,
.field textarea,
.field .ui-select-trigger {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.field select,
.field .ui-select-trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%233a453e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
  text-align: left;
}

.field textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.field .ui-select-trigger:focus,
.field .ui-select.is-open .ui-select-trigger {
  border-color: var(--moss);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(75, 99, 85, 0.15);
}

/* ----- Custom select (native listbox fallback replacement) ----- */
.ui-select {
  position: relative;
  width: 100%;
  z-index: 1;
}

.ui-select.is-open {
  z-index: 80;
}

.ui-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  pointer-events: none;
}

.ui-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.cta-field .ui-select-trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23d4b896' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
  padding-right: 28px;
}

.ui-select-trigger span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}

.ui-select-trigger span.is-placeholder {
  opacity: 0.45;
}

.ui-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  max-height: min(440px, 60vh);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 18px 40px -20px rgba(20, 28, 24, 0.45);
}

.ui-select.is-up .ui-select-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

.ui-select--dark .ui-select-menu {
  background: #24332c;
  border: 1px solid rgba(244, 241, 235, 0.14);
}

.ui-select--light .ui-select-menu {
  background: #fff;
  border: 1px solid rgba(27, 36, 32, 0.12);
}

.ui-select-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.ui-select--dark .ui-select-option {
  color: rgba(244, 241, 235, 0.88);
}

.ui-select--light .ui-select-option {
  color: var(--ink);
}

.ui-select--dark .ui-select-option:hover,
.ui-select--dark .ui-select-option.is-active {
  background: rgba(212, 184, 150, 0.16);
  color: #f4f1eb;
}

.ui-select--light .ui-select-option:hover,
.ui-select--light .ui-select-option.is-active {
  background: rgba(75, 99, 85, 0.1);
  color: var(--ink);
}

.ui-select-option[aria-selected="true"] {
  font-weight: 700;
}

.ui-select--dark .ui-select-option[aria-selected="true"] {
  color: #d4b896;
}

.ui-select--light .ui-select-option[aria-selected="true"] {
  color: var(--moss-deep, #2a3a31);
}

.field--date input[type="date"] {
  cursor: pointer;
  min-height: 48px;
}

.field--date input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
  opacity: 1;
}

.field--date {
  position: relative;
}

.field--date input[type="date"] {
  position: relative;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid,
.field.is-invalid .ui-select-trigger {
  border-color: #b35448;
  box-shadow: 0 0 0 3px rgba(179, 84, 72, 0.12);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--moss-deep);
  flex: none;
}

/* Same red "you missed this" treatment as .field.is-invalid, scoped to the
   checkbox row so it doesn't rely on a .field ancestor it doesn't have. */
.consent.is-invalid input {
  outline: 2px solid #b35448;
  outline-offset: 3px;
  border-radius: 3px;
}

.consent.is-invalid span {
  color: #9a4338;
}

.form-error {
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9a4338;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 22px;
}

.form-submit {
  flex: 1 1 auto;
  min-width: min(100%, 220px);
}

.form-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.form-call svg {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.form-call:hover {
  color: var(--moss-deep);
}

.modal-view[hidden] {
  display: none !important;
}

.modal-success {
  text-align: center;
  padding: 28px 8px 8px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--moss-deep);
}

.success-icon svg {
  width: 56px;
  height: 56px;
}

.modal-success h3 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.modal-success p {
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 32ch;
  margin: 0 auto 26px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    border-radius: 18px;
    padding: 24px 18px 22px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-call {
    justify-content: center;
  }
}

/* ---------- Legal pages ---------- */
.page-hero--legal {
  padding-bottom: clamp(36px, 5vw, 56px);
}

.page-hero--legal .page-hero-copy {
  max-width: 42rem;
}

.lg-body {
  padding: clamp(28px, 4vw, 48px) 0 80px;
}

.lg-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.lg-side {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 18px;
}

.lg-nav,
.lg-toc {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
}

.lg-nav strong,
.lg-toc strong {
  display: block;
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.lg-nav ul,
.lg-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.lg-nav a,
.lg-toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.lg-nav a:hover,
.lg-toc a:hover,
.lg-nav a[aria-current="page"],
.lg-toc a.is-active {
  background: rgba(27, 36, 32, 0.06);
  color: var(--ink);
  font-weight: 650;
}

.lg-content {
  min-width: 0;
  max-width: 72ch;
}

.lg-content > p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.lg-section {
  margin: 0 0 36px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.lg-section h2,
.lg-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.lg-section h3,
.lg-content h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.lg-section p,
.lg-section li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.lg-section ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

.lg-section li + li {
  margin-top: 6px;
}

.lg-table-wrap {
  overflow-x: auto;
  margin: 12px 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(27, 36, 32, 0.1);
}

.lg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lg-table th,
.lg-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 36, 32, 0.08);
  vertical-align: top;
}

.lg-table th {
  background: rgba(27, 36, 32, 0.04);
  font-weight: 700;
  color: var(--ink);
}

.lg-table tr:last-child td {
  border-bottom: 0;
}

.lg-footnote {
  margin-top: 28px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 36, 32, 0.1);
  font-size: 0.88rem !important;
  color: var(--ink-soft);
}

.cta-consent {
  margin: 4px 0 14px;
  max-width: 36rem;
  color: rgba(244, 241, 235, 0.78);
}

.cta-consent a {
  color: #e2c7a4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-consent a:hover {
  color: #f0ddd0;
}

.cta-consent input {
  accent-color: #d4b896;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(27, 36, 32, 0.12);
  background: rgba(244, 241, 235, 0.96);
  box-shadow: 0 18px 40px -20px rgba(27, 36, 32, 0.45);
}

.cookie-bar[hidden] {
  display: none !important;
}

.cookie-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

.cookie-bar a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-bar .btn {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.88rem;
}

.cookie-bar .btn-ghost {
  background: transparent;
  border: 1px solid rgba(27, 36, 32, 0.16);
  color: var(--ink);
}

@media (max-width: 900px) {
  .lg-wrap {
    grid-template-columns: 1fr;
  }

  .lg-side {
    position: static;
  }

  .lg-toc {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-copy h1 .word,
  .hero-badge {
    opacity: 1;
    transform: none;
  }

  .modal-panel {
    transform: none;
  }
}
