/* =========================================================
   Star Evde Sağlık — design system
   Tokens → base → layout → components → pages → utilities
   ========================================================= */

:root {
  --color-bg: #fbfcff;
  --color-surface: #ffffff;
  --color-surface-2: #f3f7ff;
  --color-border: rgba(15, 39, 68, 0.08);
  --color-border-strong: rgba(15, 39, 68, 0.12);
  --color-text: #0f2744;
  --color-muted: #4b6b86;
  --color-faint: #6f8499;

  --color-primary: #1e6bff;
  --color-primary-600: #1857d6;
  --color-primary-soft: rgba(30, 107, 255, 0.1);

  --color-accent: #0b5ed7;
  --color-success: #0d9488;

  --shadow-sm: 0 1px 2px rgba(15, 39, 68, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 39, 68, 0.1);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: min(1120px, calc(100% - 40px));
  --header-h: 100px;

  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --ease-out: cubic-bezier(0.2, 0.9, 0.2, 1);
  --focus: 0 0 0 3px rgba(30, 107, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

body.nav-open {
  overflow: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(30, 107, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(13, 148, 136, 0.06), transparent 55%),
    var(--color-bg);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
  z-index: 10000;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Typography */
.display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.h1 {
  font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.5rem);
  margin: 0 0 0.55rem;
}

.h2 {
  font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.2rem);
  margin: 0 0 0.45rem;
}

.h3 {
  font-size: clamp(1.12rem, 1rem + 0.6vw, 1.35rem);
  margin: 0 0 0.35rem;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.muted {
  color: var(--color-muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: rgba(11, 94, 215, 0.55);
  border-radius: var(--radius-full);
}

.section {
  padding: clamp(56px, 6vw, 96px) 0;
}

.section--tight {
  padding: clamp(44px, 5vw, 72px) 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  margin: 0;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--ease-out), background 0.15s var(--ease-out), border-color 0.15s var(--ease-out),
    box-shadow 0.15s var(--ease-out);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 107, 255, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px rgba(30, 107, 255, 0.26);
}

.btn--secondary {
  background: var(--color-surface);
  border-color: var(--color-border-strong);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: rgba(30, 107, 255, 0.35);
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-text);
}

.btn--ghost:hover {
  background: rgba(15, 39, 68, 0.05);
}

.btn--light {
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
}

.btn--lg {
  padding: 13px 18px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.icon-btn:hover {
  background: var(--color-surface-2);
  border-color: rgba(30, 107, 255, 0.25);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

@supports not (background: color-mix(in srgb, white 50%, black)) {
  .site-header {
    background: rgba(251, 252, 255, 0.88);
  }
}

.site-header.is-scrolled {
  border-color: var(--color-border);
  background: color-mix(in srgb, #ffffff 78%, transparent);
  box-shadow: var(--shadow-sm);
}

@supports not (background: color-mix(in srgb, white 50%, black)) {
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
  }
}

.site-header__inner {
  width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__img {
  display: block;
  width: auto;
  height: 60px;
  max-width: min(420px, 78vw);
}

.site-logo--footer .site-logo__img {
  height: 96px;
  max-width: min(440px, 92vw);
}

.site-logo--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-logo--footer .site-logo__tag {
  max-width: 46ch;
  color: var(--color-muted);
}

.site-logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 25%, #ffffff, #cfe0ff 45%, #2f6bff 95%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 22px rgba(30, 107, 255, 0.18);
  position: relative;
}

.site-logo__mark::after {
  content: "";
  position: absolute;
  inset: 10px 10px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  opacity: 0.9;
}

.site-logo__text {
  display: grid;
  gap: 2px;
}

.site-logo__name {
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.site-logo__tag {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 99px;
  box-shadow: 0 6px 0 var(--color-text), 0 -6px 0 var(--color-text);
}

.nav-toggle__label {
  font-weight: 650;
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__link {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 600;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.site-nav__link:hover {
  background: rgba(15, 39, 68, 0.05);
  color: var(--color-text);
}

.site-nav__link.is-active {
  background: var(--color-primary-soft);
  color: var(--color-accent);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-h) + 10px) 16px auto 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    transform-origin: top right;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .site-nav.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__link {
    width: 100%;
  }

  .site-nav__actions {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .site-nav__actions .btn--primary {
    flex: 1;
    justify-content: center;
  }
}

/* Main — overflow:clip kaldırıldı (mobilde reveal/IntersectionObserver ile içerik görünmez kalıyordu) */
.site-main {
  overflow: visible;
}

/* Hero */
.hero {
  padding: clamp(28px, 4vw, 52px) 0 clamp(46px, 6vw, 72px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__card {
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at center, rgba(30, 107, 255, 0.22), transparent 62%);
  pointer-events: none;
}

.hero__title {
  position: relative;
  z-index: 1;
}

.hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero__note {
  margin-top: 14px;
  color: var(--color-faint);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

.hero__panel {
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at 20% 20%, rgba(30, 107, 255, 0.12), transparent 42%),
    radial-gradient(circle at 80% 40%, rgba(13, 148, 136, 0.1), transparent 40%), var(--color-surface);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 2.5vw, 24px);
  display: grid;
  gap: 14px;
  align-content: start;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 107, 255, 0.18);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.stat__label {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-muted);
  font-weight: 650;
  font-size: 0.88rem;
}

.chip i {
  color: var(--color-accent);
}

/* Cards & grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 107, 255, 0.16);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-accent);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card__title {
  font-weight: 780;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.card__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 750;
  color: var(--color-accent);
  text-decoration: none;
}

.card__link i {
  transition: transform 0.15s var(--ease-out);
}

.card:hover .card__link i {
  transform: translateX(3px);
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card--media .card__media {
  height: 160px;
  overflow: hidden;
}

.card--media .card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out);
}

.card--media:hover .card__img {
  transform: scale(1.05);
}

.card--media .card__icon {
  margin: -20px 18px 0;
  position: relative;
  z-index: 1;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.card--media .card__title,
.card--media .card__text,
.card--media .card__link {
  margin-left: 18px;
  margin-right: 18px;
}

.card--media .card__link {
  margin-bottom: 18px;
}

/* Hizmetler — ikon kartları (görsel yok) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  min-height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out),
    background 0.18s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 107, 255, 0.22);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.04) 0%, rgba(13, 148, 136, 0.03) 100%);
}

.service-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  color: var(--color-accent);
  background: linear-gradient(145deg, rgba(30, 107, 255, 0.14) 0%, rgba(13, 148, 136, 0.1) 100%);
  border: 1px solid rgba(30, 107, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 4px 14px rgba(30, 107, 255, 0.08);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.service-card:hover .service-card__icon {
  transform: scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 6px 18px rgba(30, 107, 255, 0.14);
}

.service-card__custom-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}

.service-card__body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.service-card__title {
  display: block;
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.service-card__text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.service-card__go {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-top: 4px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--color-accent);
  background: var(--color-primary-soft);
  border: 1px solid rgba(30, 107, 255, 0.1);
  transition:
    background 0.18s var(--ease-out),
    color 0.18s var(--ease-out),
    transform 0.18s var(--ease-out);
}

.service-card:hover .service-card__go {
  background: var(--color-accent);
  color: #fff;
  transform: translateX(2px);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

.feature {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.feature__ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-success);
  flex: 0 0 auto;
}

.feature__title {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feature__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

/* Timeline / process */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

.step__badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-600));
  box-shadow: 0 14px 26px rgba(30, 107, 255, 0.18);
  margin-bottom: 12px;
}

.step__title {
  margin: 0 0 6px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.step__text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.team-card__avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.team-card__name {
  margin: 0 0 4px;
  font-weight: 850;
}

.team-card__role {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

.quote {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at 20% 10%, rgba(30, 107, 255, 0.08), transparent 45%), var(--color-surface);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.quote__stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.quote__text {
  margin: 0 0 14px;
  color: var(--color-text);
  line-height: 1.65;
}

.quote__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.quote__name {
  font-weight: 850;
  color: var(--color-text);
}

.faq {
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--color-border);
}

.faq__q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 16px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.faq__q i {
  transition: transform 0.18s var(--ease-out);
  color: var(--color-accent);
}

.faq__item.is-open .faq__q i {
  transform: rotate(180deg);
}

.faq__a {
  display: none;
  padding: 0 16px 16px;
  color: var(--color-muted);
  line-height: 1.65;
}

.faq__item.is-open .faq__a {
  display: block;
}

.cta-band {
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(700px 380px at 10% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #123b7a, #1e6bff 50%, #0d9488);
  color: #fff;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-lg);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
}

@media (max-width: 860px) {
  .cta-band__grid {
    grid-template-columns: 1fr;
  }
}

.cta-band__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem);
}

.cta-band__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 860px) {
  .cta-band__actions {
    justify-content: flex-start;
  }
}

.page-head {
  padding: clamp(26px, 3.5vw, 44px) 0 clamp(18px, 2.4vw, 26px);
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
  padding-bottom: clamp(46px, 6vw, 76px);
}

@media (max-width: 980px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: 72ch;
}

.prose p {
  color: var(--color-muted);
  line-height: 1.75;
}

.prose p + p {
  margin-top: 12px;
}

.page-figure {
  margin: 0 0 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.page-figure__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: calc(var(--header-h) + 14px);
}

@media (max-width: 980px) {
  .sidebar {
    position: static;
  }
}

.sidebar__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.sidebar__card--soft {
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
}

.sidebar__title {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.sidebar__text {
  margin: 0 0 12px;
  color: var(--color-muted);
  line-height: 1.55;
}

.sidebar__hours {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  display: grid;
  gap: 8px;
  line-height: 1.45;
}

.sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sidebar__list a {
  text-decoration: none;
  font-weight: 650;
  color: var(--color-accent);
}

.sidebar__more {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 850;
  color: var(--color-accent);
  text-decoration: none;
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list-plain li {
  padding: 14px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.list-plain a {
  text-decoration: none;
  font-weight: 800;
}

.list-plain .meta {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-weight: 550;
  font-size: 0.92rem;
}

.blog-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 107, 255, 0.16);
}

.blog-card__body {
  padding: 18px;
}

.blog-card__date {
  font-size: 0.88rem;
  color: var(--color-faint);
  margin-bottom: 8px;
}

.blog-card__title {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.blog-card__title a {
  text-decoration: none;
}

.blog-card__excerpt {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  font-weight: 750;
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  font: inherit;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(30, 107, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.12);
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
}

.alert--success {
  border-color: rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.08);
}

.footer-cta {
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.04), rgba(15, 39, 68, 0));
  border-top: 1px solid var(--color-border);
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px) 0;
}

@media (max-width: 860px) {
  .footer-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-cta__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.footer-cta__desc {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
  max-width: 62ch;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--color-bg));
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(34px, 4.5vw, 54px) 0;
}

@media (max-width: 980px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__brand .site-logo {
  margin-bottom: 12px;
}

.site-footer__muted {
  margin: 0 0 14px;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 52ch;
}

.site-footer__heading {
  margin: 0 0 12px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-faint);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--color-muted);
}

.site-footer__list a {
  text-decoration: none;
  font-weight: 650;
}

.site-footer__list a:hover {
  text-decoration: underline;
}

.site-footer__list--contact i {
  color: var(--color-accent);
  margin-right: 8px;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(30, 107, 255, 0.22);
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.footer-back {
  text-decoration: none;
  font-weight: 750;
  color: var(--color-accent);
}

.mobile-call-bar {
  display: none;
}

@media (max-width: 980px) {
  :root {
    --mobile-call-bar-h: 56px;
    --wa-fab-size: 52px;
  }

  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2400;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(15, 39, 68, 0.08);
  }

  .mobile-call-bar__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--mobile-call-bar-h);
    padding: 12px calc(16px + var(--wa-fab-size) + 12px) 12px 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-600));
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: filter 0.15s var(--ease-out);
  }

  .mobile-call-bar__link:hover {
    filter: brightness(1.06);
  }

  .mobile-call-bar__link i {
    font-size: 1.2rem;
  }

  body {
    padding-bottom: calc(var(--mobile-call-bar-h) + env(safe-area-inset-bottom, 0));
  }

  /* Sağdaki küçük kare — telefon çubuğunun hemen üstünde */
  .wa-fab {
    right: 14px;
    bottom: calc(var(--mobile-call-bar-h) + 10px + env(safe-area-inset-bottom, 0));
    width: var(--wa-fab-size);
    height: var(--wa-fab-size);
    border-radius: 16px;
  }

  .wa-fab i {
    font-size: 1.35rem;
  }
}

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
  z-index: 2500;
  text-decoration: none;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(37, 211, 102, 0.4);
}

.wa-fab i {
  font-size: 1.45rem;
}

.search-modal[hidden] {
  display: none;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 68, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.search-modal__panel {
  position: relative;
  width: min(720px, calc(100% - 28px));
  margin: 8vh auto 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: var(--shadow-lg);
  padding: 14px;
}

.search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.search-modal__title {
  margin: 0;
  font-size: 1.05rem;
}

.search-modal__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--color-border-strong);
  font: inherit;
}

.search-modal__results {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  max-height: min(52vh, 520px);
  overflow: auto;
  border-top: 1px solid var(--color-border);
}

.search-modal__hit {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
}

.search-modal__hit:hover {
  background: var(--color-surface-2);
}

.search-modal__hit-title {
  display: block;
  font-weight: 850;
}

.search-modal__hit-sub {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.search-modal__empty {
  padding: 14px 10px;
  color: var(--color-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobilde içerik hemen görünsün (IO bazen ilk yüklemede tetiklenmiyor) */
@media (max-width: 899px) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
