/* ========= Tokens ========= */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 680px;
  --content-default: 1040px;
  --content-wide: 1200px;

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

/* Palette derived from the UZEM logo: royal blue, light blue, green */
:root,
[data-theme='light'] {
  --color-bg: #f7f9fc;
  --color-surface: #ffffff;
  --color-surface-2: #eef3fa;
  --color-surface-offset: #e3ebf6;
  --color-divider: #dbe3ee;
  --color-border: #c9d4e3;

  --color-text: #15224d;
  --color-text-muted: #55617f;
  --color-text-faint: #8f9ab3;
  --color-text-inverse: #ffffff;

  --color-primary: #2a44a8;
  --color-primary-hover: #21368a;
  --color-primary-active: #192a6d;
  --color-primary-highlight: #dfe6f8;

  --color-sky: #3aa3dc;
  --color-sky-highlight: #dcf0fb;

  --color-success: #2f9a56;
  --color-success-hover: #257d45;
  --color-success-highlight: #dcf3e4;

  --shadow-sm: 0 1px 2px oklch(0.3 0.05 265 / 0.08);
  --shadow-md: 0 6px 18px oklch(0.3 0.05 265 / 0.1);
  --shadow-lg: 0 18px 44px oklch(0.3 0.05 265 / 0.14);
}

[data-theme='dark'] {
  --color-bg: #0f1527;
  --color-surface: #161d33;
  --color-surface-2: #1b2440;
  --color-surface-offset: #222d4e;
  --color-divider: #263156;
  --color-border: #344272;

  --color-text: #e6ebf7;
  --color-text-muted: #a6b1cf;
  --color-text-faint: #6f7ca0;
  --color-text-inverse: #0f1527;

  --color-primary: #7c93ea;
  --color-primary-hover: #97aaf0;
  --color-primary-active: #b2c0f5;
  --color-primary-highlight: #25305a;

  --color-sky: #6cc0ee;
  --color-sky-highlight: #1d3550;

  --color-success: #5cc483;
  --color-success-hover: #7bd39b;
  --color-success-highlight: #1d3a2a;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 18px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 18px 44px oklch(0 0 0 / 0.45);
}

/* ========= Layout helpers ========= */
.container {
  width: min(100% - 2 * var(--space-5), var(--content-wide));
  margin-inline: auto;
}
.container--default {
  width: min(100% - 2 * var(--space-5), var(--content-default));
}
.container--narrow {
  width: min(100% - 2 * var(--space-5), var(--content-narrow));
}
.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
.section--tint {
  background: var(--color-surface-2);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.lead {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus {
  top: var(--space-4);
}

/* ========= Buttons ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}
.btn--primary:active {
  background: var(--color-primary-active);
  transform: translateY(1px);
}
.btn--whatsapp {
  background: var(--color-success);
  color: #fff;
}
.btn--whatsapp:hover {
  background: var(--color-success-hover);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ========= Header ========= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-surface) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: 0 0 0 1px var(--color-divider);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  letter-spacing: 0.02em;
}
.brand__sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.nav {
  display: none;
}
.nav ul {
  display: flex;
  gap: var(--space-6);
}
.nav a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-2);
}
.nav a:hover {
  color: var(--color-primary);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.icon-btn:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.header__call {
  display: none;
}
.menu-toggle {
  display: inline-flex;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}
.mobile-nav[data-open='true'] {
  display: block;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding-block: var(--space-2);
}
.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav li:last-child a {
  border-bottom: none;
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }
  .header__call {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ========= Hero ========= */
.hero {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
  background:
    radial-gradient(60% 60% at 100% 0%, var(--color-sky-highlight) 0%, transparent 70%),
    var(--color-bg);
}
.hero__grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.hero__lead {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__meta svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex: none;
}
.hero__figure {
  position: relative;
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 2 * var(--space-4));
}
.hero__badge img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  box-shadow: none;
  aspect-ratio: 1;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
}
.hero__badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-16);
  }
}

/* ========= Trust strip ========= */
.trust {
  border-block: 1px solid var(--color-divider);
  background: var(--color-surface);
}
.trust ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.trust li {
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid var(--color-divider);
}
.trust li:nth-child(2n) {
  border-right: none;
}
.trust li:nth-child(-n + 2) {
  border-bottom: 1px solid var(--color-divider);
}
.trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}
.trust span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
@media (min-width: 760px) {
  .trust ul {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust li,
  .trust li:nth-child(-n + 2) {
    border-bottom: none;
    border-right: 1px solid var(--color-divider);
  }
  .trust li:last-child {
    border-right: none;
  }
}

/* ========= Services ========= */
.services__head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
@media (min-width: 900px) {
  .services__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .services__head .lead {
    justify-self: end;
    max-width: 48ch;
  }
}
.service-feature {
  display: grid;
  gap: var(--space-6);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  margin-bottom: var(--space-6);
}
[data-theme='dark'] .service-feature {
  background: var(--color-primary-highlight);
  color: var(--color-text);
}
.service-feature h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
}
.service-feature p {
  opacity: 0.92;
}
.service-feature ul {
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
}
.service-feature li {
  padding-left: var(--space-5);
  position: relative;
}
.service-feature li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--color-sky);
}
@media (min-width: 900px) {
  .service-feature {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}
.service-list {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 760px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.service__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-sky);
  padding-top: 0.25em;
  font-variant-numeric: tabular-nums;
}
.service h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.service p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ========= Process ========= */
.process__grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 900px) {
  .process__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-16);
  }
  .process__intro {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.step:last-child {
  border-bottom: 1px solid var(--color-divider);
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.note {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--color-success);
  background: var(--color-success-highlight);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
}

/* ========= About ========= */
.about__grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
.about__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.about p + p {
  margin-top: var(--space-4);
}
.about p {
  color: var(--color-text-muted);
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.about__facts div {
  padding: var(--space-4);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.about__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}
.about__facts span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-16);
  }
  .about__grid figure {
    order: 2;
  }
}

/* ========= FAQ ========= */
.faq {
  display: grid;
  gap: var(--space-3);
}
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.4em;
  line-height: 1;
  color: var(--color-primary);
  flex: none;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details > div {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ========= Contact ========= */
.contact__grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
  }
}
.contact__list {
  display: grid;
  gap: var(--space-5);
  margin-block: var(--space-6) var(--space-8);
}
.contact__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.contact__list svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  margin-top: 2px;
}
.contact__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
}
.contact__list a {
  color: var(--color-text);
  text-decoration: none;
}
.contact__list a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.contact__list span {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
  background: var(--color-surface-2);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ========= Footer ========= */
.footer {
  background: var(--color-text);
  color: #c9d2ea;
  padding-block: var(--space-12) var(--space-8);
}
[data-theme='dark'] .footer {
  background: #0a0f1e;
}
.footer__grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer .brand {
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer .brand__sub {
  color: #aab5d6;
}
.footer p {
  font-size: var(--text-sm);
  max-width: 44ch;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer ul {
  display: grid;
  gap: var(--space-2);
}
.footer a {
  color: #c9d2ea;
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer address {
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.7;
}
.footer__bottom {
  border-top: 1px solid #2a3866;
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: #8f9bc2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
}

/* ========= Floating WhatsApp (mobile) ========= */
.wa-float {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.wa-float:hover {
  background: var(--color-success-hover);
}
.wa-float svg {
  width: 28px;
  height: 28px;
}
@media (min-width: 900px) {
  .wa-float {
    display: none;
  }
}

/* ========= Reveal ========= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 420px) {
  .header .brand__sub {
    display: none;
  }
}

/* ========= Signs (Ne zaman başvurmalı) ========= */
.signs__grid {
  display: grid;
  gap: var(--space-10);
}
.signs__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.signs__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-8);
}
.signs__cols {
  display: grid;
  gap: var(--space-6);
}
.signs__group {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.signs__group h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-primary);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-sky-highlight);
}
.signs__group li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-block: var(--space-2);
}
.signs__group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sky);
}
@media (min-width: 760px) {
  .signs__cols {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}
@media (min-width: 1100px) {
  .signs__grid {
    grid-template-columns: 0.9fr 1.6fr;
    gap: var(--space-12);
    align-items: start;
  }
  .signs__cols {
    grid-template-columns: 1fr 1fr;
  }
  .signs__group:first-child {
    grid-column: span 2;
  }
  .signs__group:first-child ul {
    columns: 2;
    column-gap: var(--space-6);
  }
  .signs__group:first-child li {
    break-inside: avoid;
  }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .nav ul { gap: var(--space-4); }
  .header__call { padding-inline: var(--space-4); }
}

.nav a,
.brand__sub {
  white-space: nowrap;
}
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem);
}
