/* Kadıköy Tercüme Merkezi — Design system */
:root {
  --sea: #0e5c63;
  --sea-deep: #0a464c;
  --sea-soft: rgba(14, 92, 99, 0.1);
  --charcoal: #1c2428;
  --steel: #5a6b72;
  --steel-light: #8a9aa1;
  --paper: #f3f6f7;
  --mist: #e4ebed;
  --white: #ffffff;
  --coral: #e4572e;
  --coral-deep: #c94520;
  --line: rgba(28, 36, 40, 0.12);
  --shadow: 0 16px 40px rgba(14, 92, 99, 0.14);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 2.5rem;
  --space-xl: 3.75rem;
  --max: 1120px;
  --header-h: 4.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--paper);
  scrollbar-gutter: stable;
}

/* Inter-page flash only — do NOT paint body sea-deep during is-loading,
   or the real page shows as a dark flash while the overlay fades out. */
html.ktm-cover,
html.ktm-cover body {
  background: var(--sea-deep) !important;
}

html.ktm-cover {
  overflow: hidden !important;
}

/* Gutter matches overlay while loader is visible; keep scrollbar-gutter: stable. */
html:has(.page-loader.is-on) {
  background: var(--sea-deep);
}

html.ktm-cover::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: var(--sea-deep);
  pointer-events: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(14, 92, 99, 0.07), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(228, 87, 46, 0.05), transparent 50%),
    var(--paper);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sea);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral);
}

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.55em;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.55rem, 6.5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1em;
  color: var(--steel);
}

.muted {
  color: var(--steel-light);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sea);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 400;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 0.75rem;
}

.page-veil {
  display: none;
}

/* Page load / transition — KTM expand */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--sea-deep);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loader.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 38rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader-brand {
  margin: 0;
  position: relative;
  width: 100%;
  min-height: 3.75rem;
  display: grid;
  place-items: center;
  font-family: "Syne", var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--white);
  line-height: 1.15;
}

.ktm-mono,
.ktm-full,
.kdm-mono,
.kdm-full {
  grid-area: 1 / 1;
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
  font-synthesis: none;
  transition:
    opacity 0.68s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.ktm-mono,
.kdm-mono {
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  opacity: 0;
  transform: scale(0.97);
}

.ktm-full,
.kdm-full {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
  opacity: 0;
  transform: scale(0.98);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 420px) {
  .ktm-full,
  .kdm-full {
    white-space: normal;
    max-width: 88vw;
    font-size: clamp(1.2rem, 6.5vw, 1.55rem);
  }
}

.page-loader.is-ready .ktm-mono,
.page-loader.is-ready .kdm-mono {
  opacity: 1;
  transform: scale(1);
}

.page-loader.is-expanded .ktm-mono,
.page-loader.is-expanded .kdm-mono {
  opacity: 0;
  transform: scale(1.03);
}

.page-loader.is-expanded .ktm-full,
.page-loader.is-expanded .kdm-full {
  opacity: 1;
  transform: scale(1);
}

/* Instant KTM show before expand (no blank frame) */
.page-loader.is-boot .ktm-mono,
.page-loader.is-boot .ktm-full,
.page-loader.is-boot .kdm-mono,
.page-loader.is-boot .kdm-full {
  transition: none !important;
}

.page-loader.is-arrive .ktm-mono,
.page-loader.is-arrive .kdm-mono {
  opacity: 0;
  transform: none;
  transition: none;
}

.page-loader.is-arrive .ktm-full,
.page-loader.is-done.is-expanded .ktm-full,
.page-loader.is-done.is-arrive .ktm-full,
.page-loader.is-arrive .kdm-full,
.page-loader.is-done.is-expanded .kdm-full,
.page-loader.is-done.is-arrive .kdm-full {
  opacity: 1;
  transform: scale(1);
  transition: none;
}

.page-loader.is-done .ktm-mono,
.page-loader.is-done .ktm-full,
.page-loader.is-done .kdm-mono,
.page-loader.is-done .kdm-full {
  transition: none;
}

body.is-loading {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader.is-done,
  .page-loader.is-on {
    display: none !important;
  }

  body.is-loading {
    overflow: auto;
  }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.site-header.on-dark {
  color: var(--white);
}

.site-header.on-dark .brand-name,
.site-header.on-dark .brand-sub,
.site-header.on-dark .nav-list a {
  color: var(--white);
}

.site-header.on-dark.is-scrolled,
.site-header.solid {
  background: rgba(243, 246, 247, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--charcoal);
}

.site-header.on-dark.is-scrolled .brand-name,
.site-header.on-dark.is-scrolled .brand-sub,
.site-header.on-dark.is-scrolled .nav-list a,
.site-header.solid .brand-name,
.site-header.solid .brand-sub,
.site-header.solid .nav-list a {
  color: var(--charcoal);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1rem;
}

.site-nav {
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  margin-left: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.35rem 0.3rem;
  font: inherit;
  letter-spacing: inherit;
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-btn:hover,
.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  opacity: 1;
  color: var(--coral);
}

.lang-sep {
  opacity: 0.35;
  user-select: none;
}

.site-header.on-dark .lang-btn {
  color: var(--white);
}

.site-header.on-dark .lang-btn:hover,
.site-header.on-dark .lang-btn.is-active,
.site-header.on-dark .lang-btn[aria-pressed="true"] {
  color: #ffb199;
}

.site-header.on-dark.is-scrolled .lang-btn,
.site-header.solid .lang-btn {
  color: var(--charcoal);
}

.site-header.on-dark.is-scrolled .lang-btn:hover,
.site-header.on-dark.is-scrolled .lang-btn.is-active,
.site-header.on-dark.is-scrolled .lang-btn[aria-pressed="true"],
.site-header.solid .lang-btn:hover,
.site-header.solid .lang-btn.is-active,
.site-header.solid .lang-btn[aria-pressed="true"] {
  color: var(--coral);
}

.brand {
  text-decoration: none !important;
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: -0.04em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--coral);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--coral-deep) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  margin: auto;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    color: inherit;
    order: 3;
  }

  .lang-switch {
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    margin-left: 0;
    order: 4;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.35rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-list a {
    color: var(--charcoal) !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: var(--white) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
}

.btn-outline {
  background: transparent;
  color: var(--charcoal) !important;
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white) !important;
}

.btn-secondary {
  background: var(--white);
  color: var(--sea) !important;
  border: 1.5px solid var(--sea);
  box-shadow: 0 2px 8px rgba(14, 92, 99, 0.08);
}

.btn-secondary:hover {
  background: var(--sea);
  color: var(--white) !important;
  border-color: var(--sea);
  box-shadow: 0 4px 16px rgba(14, 92, 99, 0.2);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Hero Stage: Viewport-fitted Hero + Trust Bar (Zero bottom gap on all screens)
   ========================================================================== */
.hero-stage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper);
}

.hero-stage .hero {
  flex: 1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 70, 76, 0.35) 0%, rgba(10, 70, 76, 0.72) 55%, rgba(10, 70, 76, 0.88) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 12s var(--ease) both;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 0 3.25rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--white);
}

.hero-stage .ref-marquee-section {
  flex: 0 0 auto;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--white);
}

.hero h1,
.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 4.8vw, 3.85rem);
  line-height: 1.15;
  max-width: min(24ch, 100%);
  margin-bottom: 1rem;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-title-swap {
  display: grid;
  min-height: 3.45em;
}

.hero-title-line {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translate3d(0, 0.45em, 0);
  filter: blur(6px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-title-line.is-current {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  pointer-events: auto;
}

.hero-title-line.is-leaving {
  opacity: 0;
  transform: translate3d(0, -0.35em, 0);
  filter: blur(5px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-line {
    transition: none;
    filter: none;
    transform: none;
  }

  .hero-title-line.is-leaving {
    transform: none;
    filter: none;
  }
}

.hero-lead {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
  text-wrap: pretty;
}

@media (max-width: 980px) {
  .hero-stage {
    min-height: auto;
    display: block;
  }

  .hero-stage .hero {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: 2.5rem;
    box-sizing: border-box;
  }

  .hero-stage .hero-content {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: auto;
    margin-bottom: 0;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem);
    line-height: 1.18;
    max-width: 100%;
  }

  .hero-title-swap {
    min-height: 3.54em;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
  }

  .hero .btn-group {
    margin-top: 0.25rem;
  }
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section-tight {
  padding: var(--space-lg) 0;
}

.section-sea {
  background: var(--sea);
  color: var(--white);
}

.section-sea h2,
.section-sea h3 {
  color: var(--white);
}

.section-sea p,
.section-sea .muted {
  color: rgba(255, 255, 255, 0.78);
}

.section-mist {
  background: linear-gradient(180deg, var(--mist), rgba(228, 235, 237, 0.35));
}

.section-head {
  max-width: 36rem;
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  margin-bottom: 0.45rem;
}

.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-xl);
  }
}

.lead-copy {
  font-size: 1.12rem;
  color: var(--steel);
}

.aside-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: 0 6px 24px rgba(14, 92, 99, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  position: relative;
  min-height: 290px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.aside-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(14, 92, 99, 0.12);
}

.aside-panel .aside-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(228, 87, 46, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  width: fit-content;
}

.aside-panel .aside-title,
.aside-panel h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.aside-panel p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--steel);
  margin: 0;
}

/* Bullet list inside aside panel */
.aside-doc-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.aside-doc-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--charcoal);
  font-weight: 500;
}

.aside-doc-list li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 700;
  background: rgba(228, 87, 46, 0.12);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.75rem;
}

/* Quick Action inside aside panel */
.aside-action {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.aside-action a.btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

/* Services grid */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 800px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-grid a {
  display: block;
  text-decoration: none;
  background: var(--white);
  padding: 1.5rem 1.35rem 1.6rem;
  height: 100%;
  transition: background 0.25s var(--ease);
}

.service-grid a:hover {
  background: var(--sea-soft);
}

.service-grid h3 {
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}

.service-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

/* Process steps */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  counter-reset: step;
}

@media (min-width: 800px) {
  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.process-list li {
  position: relative;
  padding-top: 3.2rem;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--sea);
  line-height: 1;
}

.process-list h3 {
  margin-bottom: 0.4rem;
}

/* Rating Section & Modern Trust Badge */
.rating-section {
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 1.6rem 0;
}

.rating-badge-card {
  max-width: 680px;
  margin-inline: auto;
  background: var(--white);
  border: 1.5px solid rgba(14, 92, 99, 0.12);
  border-radius: 999px;
  padding: 0.65rem 1.6rem 0.65rem 1rem;
  box-shadow: 0 4px 20px rgba(10, 70, 76, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.rating-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 70, 76, 0.12);
  border-color: rgba(14, 92, 99, 0.35);
}

.rating-badge-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.google-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.google-icon-wrap svg {
  display: block;
}

.rating-score-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.rating-score-main {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.rating-score-val {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  line-height: 1;
}

.rating-of {
  font-size: 0.95rem;
  color: var(--steel-light);
  font-weight: 700;
  margin-left: 0.1rem;
}

.rating-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #FBBC04;
}

.rating-stars > svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.rating-star-partial {
  position: relative;
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
}

.rating-star-partial .star-empty {
  width: 1.15rem;
  height: 1.15rem;
  fill: rgba(28, 36, 40, 0.15);
}

.rating-star-partial .star-fill-clip {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
}

.rating-star-partial .star-fill-clip svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: #FBBC04;
  display: block;
}

.rating-stars-caption {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1;
}

.rating-badge-divider {
  width: 1px;
  height: 34px;
  background: var(--line);
  flex-shrink: 0;
}

.rating-badge-right {
  flex-shrink: 0;
}

.rating-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sea);
  background: rgba(14, 92, 99, 0.08);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.rating-arrow-icon {
  transition: transform 0.25s var(--ease);
}

.rating-badge-card:hover .rating-action-btn {
  background: var(--sea);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14, 92, 99, 0.25);
}

.rating-badge-card:hover .rating-arrow-icon {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .rating-badge-card {
    border-radius: 1.25rem;
    padding: 1.15rem 1.25rem;
    flex-direction: column;
    gap: 0.95rem;
    text-align: center;
  }
  .rating-badge-divider {
    display: none;
  }
  .rating-badge-left {
    flex-direction: column;
    gap: 0.65rem;
  }
  .rating-score-group {
    flex-direction: column;
    gap: 0.45rem;
  }
  .rating-stars-wrap {
    align-items: center;
  }
}

/* Contact blocks */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item span {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--sea);
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  background: var(--mist);
}

/* Page hero */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 2.75rem) 0 2rem;
  overflow: hidden;
  background: var(--sea-deep);
  color: var(--white);
  text-align: center;
}

.page-hero + .section {
  padding-top: 3.5rem;
}

.page-hero-visual {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  overflow: hidden;
  pointer-events: none;
}

.page-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 70, 76, 0.62), rgba(10, 70, 76, 0.88));
  pointer-events: none;
}

.page-hero .container {
  display: flex;
  justify-content: center;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(60rem, 100%);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  white-space: normal;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.18;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  width: 100%;
  max-width: 100%;
}

.page-hero h1,
.page-hero .eyebrow,
.page-hero p {
  color: var(--white);
}

.page-hero .eyebrow {
  margin-inline: auto;
  text-align: center;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
  text-wrap: pretty;
}

@media (max-width: 800px) {
  .page-hero-visual {
    opacity: 0.28;
  }
}

/* Prose / detail — centered reading column */
.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 1.75rem;
}

.audience ul,
.lang-list,
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience li + li {
  margin-top: 0.55rem;
}

.audience li::before {
  content: "— ";
  color: var(--coral);
}

/* About */
.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 800px) {
  .about-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-timeline li {
  padding: 1.35rem 0 0;
  border-top: 2px solid var(--sea);
}

.about-timeline h3 {
  margin-bottom: 0.4rem;
}

.audience-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.audience-rows li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.audience-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

/* Languages */
.lang-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .lang-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lang-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lang-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lang-list span {
  font-size: 0.88rem;
  color: var(--steel);
  font-weight: 600;
}

.lang-featured {
  border-color: var(--sea) !important;
  background: var(--sea-soft) !important;
}

/* FAQ */
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--coral);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.85rem 0 0.25rem;
  max-width: 40rem;
}

/* CTA band */
.cta-band {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--space-xl) 0;
}

.cta-band h2 {
  color: var(--white);
  max-width: 14ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
}

/* Footer */
.site-footer {
  background: var(--sea-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: var(--space-xl) 0 calc(var(--space-lg) + 3.5rem);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffb199;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Back to top */
.to-top {
  position: fixed;
  left: calc(1.1rem + env(safe-area-inset-left, 0px));
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: var(--sea);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(14, 92, 99, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0.7rem, 0) scale(0.92);
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease),
    visibility 0.4s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.to-top:hover {
  background: var(--sea-deep);
  box-shadow: 0 12px 32px rgba(14, 92, 99, 0.36);
}

.to-top:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.to-top svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none;
  }

  .to-top.is-visible {
    transform: none;
  }
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: calc(1.1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(28, 36, 40, 0.28);
  text-decoration: none !important;
  animation: pulse 2.8s ease-in-out infinite;
}

.wa-float svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.wa-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wa-float::before,
.wa-float::after {
  display: none;
}

@media (min-width: 900px) {
  .wa-float::before {
    content: "Bize yazın";
    display: block;
    position: absolute;
    right: calc(100% + 0.85rem);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--charcoal);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.65rem 0.95rem;
    border-radius: 0.7rem;
    box-shadow: 0 10px 26px rgba(28, 36, 40, 0.2);
    pointer-events: none;
    z-index: 1;
  }

  html[data-lang="en"] .wa-float::before {
    content: "Message us";
  }

  .wa-float::after {
    content: "";
    display: block;
    position: absolute;
    right: calc(100% + 0.85rem - 0.28rem);
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--charcoal);
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
    z-index: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(28, 36, 40, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 10px 28px rgba(28, 36, 40, 0.28), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-child {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.reveal.is-visible .reveal-child {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media {
    animation: none;
  }

  .wa-float {
    animation: none;
  }
}

/* Error */
.error-page {
  min-height: calc(100svh - 12rem);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
}

.error-page h1 {
  max-width: 12ch;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-foot {
  margin-top: var(--space-md);
}

/* ==========================================================================
   New Enhanced Components: Value Pillars, Country Grid, Process, Badges
   ========================================================================== */

/* Value Pillars Grid (Ana Sayfa 4 Değer) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
  margin-top: 0;
}

.value-card {
  background: var(--white);
  padding: 1.85rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(14, 92, 99, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sea), var(--coral));
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(14, 92, 99, 0.25);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sea-soft);
  color: var(--sea);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  display: block;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: var(--steel);
  flex-grow: 1;
}

/* Vision & Mission Equal Height Grid */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.vision-mission-grid .value-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vision-mission-grid .value-card p {
  flex-grow: 1;
}

/* Trust Banner */
.trust-banner {
  background: linear-gradient(135deg, var(--sea-deep) 0%, #0d4b52 100%);
  color: var(--white);
  padding: 2.85rem 2.25rem;
  border-radius: 0.5rem;
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(10, 70, 76, 0.25);
}

.trust-banner::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(228, 87, 46, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.trust-banner h2, .trust-banner h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.trust-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 54ch;
  margin-bottom: 1.75rem;
}

/* Category Sections on Services Hub */
.category-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sea-soft);
}

.category-heading h2 {
  margin: 0;
  line-height: 1.2;
}

.category-heading .cat-badge {
  background: var(--sea);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  text-transform: none;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-card-enhanced {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-enhanced:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(14, 92, 99, 0.3);
}

.service-card-media {
  height: 170px;
  overflow: hidden;
  background: var(--mist);
  position: relative;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.service-card-enhanced:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-card-body p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--steel);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-card-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sea);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.service-card-link:hover {
  color: var(--coral);
}

/* Diller Compact Hero & Layout */
.page-hero-diller {
  padding: calc(var(--header-h) + 1.25rem) 0 1.5rem !important;
}

.page-hero-diller .page-hero-copy {
  max-width: 54rem;
}

.page-hero-diller h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem) !important;
  margin-bottom: 0.35rem;
  white-space: normal;
  text-wrap: balance;
  text-align: center;
  margin-inline: auto;
}

.page-hero-diller p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 44rem;
}

.section-diller {
  padding-top: 1.5rem !important;
  padding-bottom: 3.5rem;
}

.section-diller .country-filter-wrap {
  margin: 0 0 1.5rem;
}

/* Country Search & Grid */
.country-filter-wrap {
  margin: 2rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.country-search-input {
  flex: 1 1 320px;
  max-width: 480px;
  padding: 0.9rem 1.25rem;
  font-size: 1.05rem;
  font-family: inherit;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.country-search-input:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px var(--sea-soft);
}

.country-count-badge {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel);
  background: var(--mist);
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.country-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(14, 92, 99, 0.04);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 92, 99, 0.1);
  border-color: var(--sea-soft);
}

.country-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.country-flag-img {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.country-card-head h3 {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.25;
  color: var(--charcoal);
}

.country-languages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-lang-pill {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--sea-soft);
  color: var(--sea);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* Process Timeline (Vize ve Hizmetler) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.process-step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step-card h4 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--charcoal);
}

.process-step-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Detailed Doc Checklist */
.doc-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.doc-checklist li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

.doc-checklist li::before {
  content: "✓";
  color: var(--sea);
  font-weight: 700;
  background: var(--sea-soft);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.8rem;
}

/* FAQ Accordion Styling */
.faq-item-enhanced {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question-btn:hover {
  color: var(--sea);
}

.faq-answer-panel {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--steel);
}

/* ==========================================================================
   Featured Service Rotator (Hizmetler Hub)
   ========================================================================== */
.featured-rotator-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 70, 76, 0.18);
  margin-top: 0;
}

.featured-rotator {
  position: relative;
  min-height: 290px;
  background: var(--sea-deep);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.featured-slide {
  padding: 2.75rem 2.75rem 2.25rem;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(20px);
  pointer-events: none;
  overflow: hidden;
}

.featured-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateX(0);
  pointer-events: auto;
}

/* Subtle background photo for each featured service */
.featured-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.featured-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.30;
  filter: saturate(1.2) brightness(0.85);
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-slide.active .featured-slide-bg img {
  transform: scale(1.04);
}

.featured-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 70, 76, 0.96) 0%, rgba(10, 70, 76, 0.88) 45%, rgba(14, 92, 99, 0.60) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .featured-slide-bg img {
    opacity: 0.22;
    object-position: center;
  }
  .featured-slide-bg::after {
    background: linear-gradient(180deg, rgba(10, 70, 76, 0.94) 0%, rgba(10, 70, 76, 0.90) 100%);
  }
}

.featured-slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.featured-slide .cat-badge {
  background: var(--coral);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.featured-slide-counter {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

.featured-slide h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  margin: 0.25rem 0 0.85rem;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.featured-slide p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 78ch;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.featured-slide .btn-group {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.featured-slide .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.featured-slide .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* Rotator Navigation Bar */
.rotator-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2.75rem;
  background: rgba(5, 34, 37, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rotator-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.rotator-dot {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}

.rotator-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.rotator-dot.active {
  width: 44px;
  background: var(--coral);
  box-shadow: 0 0 10px rgba(228, 87, 46, 0.6);
}

.rotator-arrows {
  display: flex;
  gap: 0.5rem;
}

.rotator-arrow-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.rotator-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .featured-slide {
    padding: 1.75rem 1.25rem;
  }
  .rotator-nav {
    padding: 0.75rem 1.25rem;
  }
}

/* ==========================================================================
   Specialized Fields Grid (Hizmetler Hub Redesign)
   ========================================================================== */
.special-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.special-field-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}

.special-field-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(14, 92, 99, 0.35);
}

.special-field-card .card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.special-field-card .field-icon {
  width: 44px;
  height: 44px;
  background: var(--sea-soft);
  color: var(--sea);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}

.special-field-card:hover .field-icon {
  background: var(--sea);
  color: #fff;
  transform: scale(1.05);
}

.special-field-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.3;
}

.special-field-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--steel);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.special-field-card .scope-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-size: 0.83rem;
  color: var(--charcoal);
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.special-field-card .scope-pill strong {
  color: var(--sea);
  font-weight: 700;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.special-field-card .card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sea);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
  margin-top: auto;
}

.special-field-card .card-link:hover {
  color: var(--coral);
  gap: 0.6rem;
}

.special-fields-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--paper) 0%, #e7eff1 100%);
  border: 1px solid var(--sea-soft);
  border-left: 5px solid var(--sea);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.special-fields-banner h3 {
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
  color: var(--charcoal);
}

.special-fields-banner p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
  max-width: 60ch;
}

/* ==========================================================================
   Infinite Logo Ribbon / Marquee (Ana Sayfa - Prestij Güven Bandı)
   ========================================================================== */
.ref-marquee-section {
  padding: 1.35rem 0 1.65rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.ref-marquee-header {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 0.85rem;
  padding: 0 1rem;
}

.ref-marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(14, 92, 99, 0.08);
  color: var(--sea);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 0.4rem;
  border: 1px solid rgba(14, 92, 99, 0.15);
}

.ref-marquee-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.85vw, 1.45rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}

.ref-marquee-container {
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 1.25rem;
  padding: 0.35rem 0;
}

.ref-marquee-container::before,
.ref-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.ref-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--paper), transparent);
}

.ref-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--paper), transparent);
}

.ref-marquee-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.25rem;
  min-width: 100%;
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.ref-marquee-container:hover .ref-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-100% - 1.25rem), 0, 0); }
}

.ref-marquee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.5rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(14, 92, 99, 0.05);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  height: 54px;
  flex-shrink: 0;
  contain: layout paint;
}

.ref-marquee-card:hover {
  transform: translateY(-2px);
  border-color: var(--sea);
  box-shadow: 0 6px 18px rgba(14, 92, 99, 0.12);
}

.ref-marquee-card img {
  max-height: 32px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.ref-marquee-card span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.ref-marquee-footer {
  text-align: center;
  margin-top: 0.85rem;
}

.ref-marquee-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sea);
  text-decoration: none;
  padding: 0.45rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.2s var(--ease);
}

.ref-marquee-link:hover {
  color: var(--sea-deep);
  border-color: var(--sea);
  box-shadow: 0 4px 14px rgba(14, 92, 99, 0.12);
  transform: translateY(-1px);
}

/* ==========================================================================
   Referanslar Vitrini & Arama / Filtre (referanslar.html)
   ========================================================================== */
.ref-showcase-section {
  padding: 3.5rem 0 5rem;
  background: #fafcfc;
  border-top: 1px solid var(--line);
}

.ref-showcase-section,
.ref-showcase-section .container,
.ref-grid,
.ref-card {
  opacity: 1 !important;
  visibility: visible !important;
}

.ref-toolbar {
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ref-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ref-search-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}

.ref-search-wrap svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel);
  pointer-events: none;
}

.ref-search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  border: 1.5px solid var(--line);
  border-radius: 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  box-sizing: border-box;
}

.ref-search-input:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(14, 92, 99, 0.12);
}

.ref-count-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sea);
  background: rgba(14, 92, 99, 0.08);
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(14, 92, 99, 0.15);
  white-space: nowrap;
}

.ref-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ref-filter-pill {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ref-filter-pill:hover {
  background: var(--paper);
  color: var(--charcoal);
  border-color: var(--steel-light);
}

.ref-filter-pill.active {
  background: var(--sea);
  color: var(--white);
  border-color: var(--sea);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 92, 99, 0.2);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}

.ref-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  box-sizing: border-box;
}

.ref-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 92, 99, 0.35);
  box-shadow: 0 8px 24px rgba(14, 92, 99, 0.1);
}

.ref-logo-box {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-bottom: 0.85rem;
  background: #fafcfc;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.04);
}

.ref-logo-box img {
  max-width: 150px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(1.05);
}

.ref-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.ref-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sea);
  background: rgba(14, 92, 99, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 1rem;
  margin-top: auto;
}

.ref-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--steel);
  font-size: 1rem;
}
