/*
Theme Name: kartbozum
Theme URI: https://kartbozum.com
Author: kartbozum
Author URI: https://kartbozum.com
Description: Yemek kartı nakite çevirme hizmetleri için özel tasarlanmış, çok sayfalı, mobil uyumlu WordPress teması. Multinet, Sodexo, Setcard, Metropol, Ticket, TokenFlex ve A101 kartları için WhatsApp entegrasyonlu profesyonel finans servis teması.
Version: 1.0.12
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kartbozum
Tags: business, finance, e-commerce, custom-logo, custom-menu, custom-colors, footer-widgets, threaded-comments, translation-ready
*/

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
  --navy-900: #061833;
  --navy-800: #0B2545;
  --navy-700: #13315C;
  --navy-600: #1A3F73;
  --blue-700: #1648A0;
  --blue-600: #1E5FBF;
  --blue-500: #2E86F0;
  --blue-400: #5BA3F5;
  --blue-300: #8FC0FA;
  --blue-200: #BFD9FC;
  --blue-100: #DCE9FF;
  --blue-50:  #F0F5FF;
  --cream:    #FAFBFE;
  --white:    #FFFFFF;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;

  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 6px 18px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.12);
  --shadow-xl: 0 28px 60px rgba(11, 37, 69, 0.18);
  --shadow-blue: 0 14px 36px rgba(46, 134, 240, 0.30);
  --shadow-green: 0 14px 32px rgba(37, 211, 102, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  --container: 1200px;
  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --t-fast: 180ms cubic-bezier(.2,.7,.2,1);
  --t-base: 280ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 520ms cubic-bezier(.2,.7,.2,1);
}

/* ============================
   RESET / BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--blue-500); color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--blue-100);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46, 134, 240, 0.18);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 4px rgba(46, 134, 240, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(46, 134, 240, 0.05); }
}

.eyebrow-light {
  background: rgba(255,255,255,0.10);
  color: var(--blue-200);
  border-color: rgba(255,255,255,0.15);
}

section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--gray-500); font-size: 1.05rem; }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 14px;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base);
  white-space: nowrap;
  position: relative;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-wa:hover { background: var(--wa-green-dark); transform: translateY(-2px); }
.btn-wa:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(46, 134, 240, 0.40); }

.btn-ghost {
  background: var(--white);
  color: var(--navy-800);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-700); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.btn-lg { padding: 17px 32px; font-size: 1.05rem; border-radius: 16px; }

/* ============================
   HEADER
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 254, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 0 rgba(11,37,69,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.25);
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 8px 6px;
  background: linear-gradient(180deg, transparent 38%, var(--blue-300) 38%, var(--blue-300) 50%, transparent 50%);
  border-radius: 4px;
  opacity: 0.85;
}
.logo .dot { color: var(--blue-500); }

/* Logo image variant (uploaded brand logo) — clean badge on light & dark */
.logo-mark-img {
  background: var(--white);
  padding: 4px;
  overflow: hidden;
}
.logo-mark-img::after { display: none; }
.logo-mark-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 7px;
}

.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.main-nav li { list-style: none; }
.main-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--t-fast), background var(--t-fast);
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a {
  color: var(--navy-800);
  background: var(--blue-50);
}

.header-cta { display: flex; align-items: center; gap: 10px; }

.mobile-toggle { display: none; padding: 10px; border-radius: 10px; color: var(--navy-800); }
.mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-cta .btn-wa span { display: none; }
  .header-cta .btn-wa { padding: 11px 14px; }
}

.mobile-nav {
  position: fixed;
  inset: 72px 0 0;
  background: var(--white);
  z-index: 99;
  padding: 28px 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-base), opacity var(--t-base);
  overflow-y: auto;
  list-style: none;
  margin: 0;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav li { list-style: none; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-800);
  border-bottom: 1px solid var(--gray-200);
}

/* ============================
   PAGE HERO (subpages)
   ============================ */
.page-hero {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900) 70%, var(--blue-700));
  color: var(--white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,134,240,0.30), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46,134,240,0.15), transparent 60%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: var(--white); margin: 22px auto 18px; max-width: 900px; }
.page-hero p {
  font-size: 1.12rem;
  color: var(--blue-100);
  max-width: 680px;
  margin: 0 auto;
}

/* breadcrumb in page hero */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--blue-200);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--blue-200); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================
   HOMEPAGE HERO
   ============================ */
.home-hero {
  padding-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse 110% 80% at 50% -20%, var(--blue-100) 0%, transparent 60%), var(--cream);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(46, 134, 240, 0.10), transparent 35%),
    radial-gradient(circle at 88% 70%, rgba(11, 37, 69, 0.06), transparent 35%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }

.hero-content { animation: heroIn 0.8s ease-out backwards; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-hero h1 { margin-top: 22px; }
.home-hero h1 .underline {
  position: relative;
  white-space: nowrap;
  color: var(--blue-600);
}
.home-hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: -2px;
  height: 0.35em;
  background: var(--blue-200);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-6deg);
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--gray-700);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 22px 26px;
  font-size: 0.92rem; color: var(--gray-700);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; color: var(--blue-500); flex-shrink: 0; }

/* HERO VISUAL: floating cards */
.hero-visual {
  position: relative;
  height: 480px;
  animation: heroIn 1s ease-out 0.15s backwards;
}
@media (max-width: 960px) { .hero-visual { height: 380px; max-width: 460px; margin: 0 auto; } }
@media (max-width: 460px) { .hero-visual { height: 320px; } }

.float-card {
  position: absolute;
  width: 260px; height: 162px;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  box-shadow: 0 24px 50px rgba(11, 37, 69, 0.25);
  overflow: hidden;
}
.float-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.float-card .chip {
  width: 36px; height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #FFD27A, #C99547);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}
.float-card .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.float-card .brand { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; }
.float-card .num { font-family: ui-monospace, monospace; font-size: 0.78rem; letter-spacing: 0.18em; opacity: 0.85; }

.float-card.c1 {
  background: linear-gradient(135deg, #0B2545, #1E5FBF);
  top: 28px; left: 14%;
  transform: rotate(-8deg);
  animation: float1 6s ease-in-out infinite;
}
.float-card.c2 {
  background: linear-gradient(135deg, #2E86F0, #1648A0);
  top: 130px; left: 38%;
  transform: rotate(4deg);
  animation: float2 6s ease-in-out infinite 0.4s;
  z-index: 2;
}
.float-card.c3 {
  background: linear-gradient(135deg, #13315C, #2E86F0);
  top: 240px; left: 8%;
  transform: rotate(-3deg);
  animation: float1 6s ease-in-out infinite 0.8s;
}
@keyframes float1 {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-12px); }
}
@keyframes float2 {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-14px); }
}
@media (max-width: 460px) {
  .float-card { width: 220px; height: 138px; padding: 14px 16px; }
  .float-card.c1 { left: 6%; }
  .float-card.c2 { left: 32%; top: 110px; }
  .float-card.c3 { left: 2%; top: 200px; }
}

.cash-badge {
  position: absolute;
  top: 50px;
  right: 6%;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bounce 3.4s ease-in-out infinite;
  z-index: 3;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.cash-badge .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
  display: grid; place-items: center;
  color: var(--white);
}
.cash-badge .icon svg { width: 22px; height: 22px; }
.cash-badge .label { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }
.cash-badge .amount { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--navy-900); line-height: 1; }

/* logos marquee */
.hero-logos {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.hero-logos-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 22px;
}
.logos-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
  align-items: center;
}
.logos-strip img {
  max-height: 52px;
  width: 100%;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity var(--t-base), transform var(--t-base);
}
.logos-strip img:hover { opacity: 1; transform: translateY(-3px); }
@media (max-width: 768px) {
  .logos-strip { grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
}
@media (max-width: 460px) {
  .logos-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ============================
   KARTLAR (Card brand grid)
   ============================ */
.cards-section { background: var(--white); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 380px)  { .cards-grid { grid-template-columns: 1fr; } }

.card-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 22px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.card-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-50), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: -1;
}
.card-item:hover {
  transform: translateY(-6px);
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
}
.card-item:hover::before { opacity: 1; }
.card-logo {
  height: 96px;
  display: grid;
  place-items: center;
  padding: 8px;
}
.card-logo img {
  max-height: 60px;
  max-width: 90%;
  width: auto;
  object-fit: contain;
}
.card-item.card-other .card-logo img { max-height: 60px; }
.card-item.card-other .card-logo svg { width: 56px; height: 56px; }
.card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-900);
}
.card-desc { font-size: 0.86rem; color: var(--gray-500); margin: -8px 0 4px; }
.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background var(--t-fast), color var(--t-fast);
  margin-top: auto;
}
.card-item:hover .card-cta { background: var(--wa-green); color: var(--white); }
.card-cta svg { width: 18px; height: 18px; }

.card-item.card-other {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-700));
  border-color: transparent;
}
.card-item.card-other .card-logo { background: rgba(255,255,255,0.10); }
.card-item.card-other .card-name { color: var(--white); }
.card-item.card-other .card-desc { color: var(--blue-200); }
.card-item.card-other .card-cta { background: rgba(255,255,255,0.18); color: var(--white); }
.card-item.card-other:hover .card-cta { background: var(--wa-green); color: var(--white); }

/* ============================
   STEPS (How it works)
   ============================ */
.steps-section { background: var(--cream); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
@media (max-width: 880px) { .steps-grid { grid-template-columns: 1fr; gap: 18px; } }

.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-blue);
  position: relative;
}
.step-num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1.5px dashed var(--blue-200);
  z-index: -1;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray-500); font-size: 0.98rem; margin: 0; }

/* Detailed steps (on dedicated page) */
.steps-detailed {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.step-detail {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .step-detail { grid-template-columns: 1fr; gap: 18px; }
  .step-detail .step-num { margin: 0; }
}
.step-detail .step-num { margin: 0; }
.step-detail h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step-detail p { color: var(--gray-700); margin: 0 0 12px; }
.step-detail ul {
  margin: 0;
  padding-left: 18px;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.step-detail ul li { margin-bottom: 6px; }

/* ============================
   FEATURES (Why us)
   ============================ */
.features-section { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .features-grid { grid-template-columns: 1fr; } }

.feature {
  padding: 28px 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: grid; place-items: center;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--gray-500); font-size: 0.94rem; margin: 0; }

/* ============================
   STATS
   ============================ */
.stats-section { background: var(--white); padding: 70px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .plus { color: var(--blue-500); }
.stat-label {
  font-size: 0.92rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-section { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testi {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.testi:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stars { color: #FFB822; margin-bottom: 14px; display: flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.testi blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.65;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
}
.testi-name { font-weight: 700; color: var(--navy-900); font-size: 0.96rem; }
.testi-meta { font-size: 0.82rem; color: var(--gray-500); }

/* ============================
   FAQ
   ============================ */
.faq-section { background: var(--white); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.open { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
  cursor: pointer;
}
.faq-q .icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: grid; place-items: center;
  color: var(--blue-600);
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.faq-q .icon svg { width: 18px; height: 18px; }
.faq-item.open .icon {
  transform: rotate(180deg);
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) ease;
}
.faq-a-inner {
  padding: 0 24px 24px;
  color: var(--gray-700);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* FAQ categories */
.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: 800px;
}
.faq-cat {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--blue-100);
  cursor: pointer;
  transition: all var(--t-fast);
}
.faq-cat:hover, .faq-cat.active {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}

/* ============================
   CONTACT CARD (Big WhatsApp CTA)
   ============================ */
.cta-section { padding: 60px 0 100px; background: var(--cream); }
.cta-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900) 60%, var(--blue-700));
  border-radius: var(--radius-2xl);
  padding: 60px 48px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46, 134, 240, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-card::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: var(--white); }
.cta-card .lead {
  font-size: 1.1rem;
  color: var(--blue-100);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.phone-display {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
}
.phone-display svg { width: 20px; height: 20px; color: var(--wa-green); }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-channel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.contact-channel:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.contact-channel .icon-circle {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
}
.contact-channel .icon-circle.green {
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa-green-dark);
}
.contact-channel .icon-circle svg { width: 28px; height: 28px; }
.contact-channel h3 { margin: 0 0 4px; font-size: 1.25rem; }
.contact-channel .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
}
.contact-channel .desc { color: var(--gray-500); font-size: 0.94rem; margin: 0; }
.contact-channel .btn { margin-top: auto; align-self: flex-start; }

/* Working hours card */
.hours-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}
.hours-card h3 { font-size: 1.2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hours-card h3 svg { width: 22px; height: 22px; color: var(--blue-600); }
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 10px;
  font-size: 0.94rem;
}
.hours-list li .day { color: var(--gray-700); font-weight: 500; }
.hours-list li .time { color: var(--wa-green-dark); font-weight: 700; }

/* ============================
   ABOUT PAGE
   ============================ */
.about-intro {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.about-intro p {
  font-size: 1.08rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.value-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--blue-300);
  line-height: 1;
  margin-bottom: 12px;
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--gray-500); margin: 0; font-size: 0.96rem; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { max-width: 320px; }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; line-height: 1.65; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { list-style: none; }
.footer-col a, .footer-col span {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.65);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--blue-300); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.45);
  font-size: 0.84rem;
}

/* ============================
   FLOATING WHATSAPP BUTTON
   ============================ */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: waPulse 2.2s ease-out infinite;
  transition: transform var(--t-base), background var(--t-base);
}
@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55),
                0 6px 22px rgba(37, 211, 102, 0.40);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0),
                0 6px 22px rgba(37, 211, 102, 0.40);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0),
                0 6px 22px rgba(37, 211, 102, 0.40);
  }
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-green-dark); }
.wa-float svg { width: 30px; height: 30px; position: relative; }
@media (max-width: 480px) {
  .wa-float { width: 56px; height: 56px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; box-shadow: 0 6px 22px rgba(37, 211, 102, 0.40); }
}

/* ============================
   BLOG / SINGLE POST
   ============================ */
.single-section { padding: 72px 0 96px; background: var(--cream); }

/* Two-column blog layout (content + sidebar) */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; gap: 48px; }
}
.blog-main { min-width: 0; }

.post-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 44px 44px 38px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .post-content { padding: 28px 22px; } }
.post-meta-hero { color: var(--blue-200); font-size: 0.92rem; margin: 8px 0 0; }
.post-meta-hero a { color: var(--blue-200); }
.post-featured { margin: 0 0 28px; border-radius: var(--radius-md); overflow: hidden; }
.post-featured img { width: 100%; height: auto; display: block; }

.post-body { color: var(--gray-700); font-size: 1.05rem; line-height: 1.75; }
.post-body h2 { font-size: 1.6rem; margin: 1.8em 0 0.6em; color: var(--navy-900); }
.post-body h3 { font-size: 1.2rem; margin: 1.4em 0 0.4em; color: var(--navy-800); }
.post-body p { margin: 0 0 1.2em; }
.post-body ul, .post-body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.post-body li { margin-bottom: 0.5em; }
.post-body a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover { color: var(--blue-700); }
.post-body strong { color: var(--navy-900); }
.post-body img { border-radius: var(--radius-md); margin: 1em 0; }
.post-body blockquote {
  border-left: 4px solid var(--blue-300);
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  color: var(--gray-700);
  font-style: italic;
}

/* In-content WhatsApp CTA block */
.post-cta {
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  margin: 2em 0;
  text-align: center;
}
.post-cta p { margin: 0 0 12px; }
.post-cta p:first-child { font-size: 1.2rem; color: var(--navy-900); }
.post-cta .btn { margin-top: 6px; text-decoration: none; }

/* Related posts */
.related-posts { margin: 48px 0 0; }
.related-posts h2 { font-size: 1.5rem; margin-bottom: 24px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.related-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy-900); }
.related-card p { font-size: 0.9rem; color: var(--gray-500); margin: 0 0 12px; }
.related-link { font-size: 0.88rem; font-weight: 600; color: var(--blue-600); }

/* ----- Blog sidebar ----- */
.blog-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 980px) { .blog-sidebar { position: static; } }
.blog-sidebar .widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.blog-sidebar .widget-title {
  font-size: 1.05rem;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy-900);
}
.sidebar-posts, .sidebar-cats { list-style: none; padding: 0; margin: 0; }
.sidebar-posts li { padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.sidebar-posts li:last-child { border-bottom: none; }
.sidebar-posts a { font-weight: 600; color: var(--navy-800); font-size: 0.95rem; display: block; transition: color var(--t-fast); }
.sidebar-posts a:hover { color: var(--blue-600); }
.sidebar-posts .date { font-size: 0.8rem; color: var(--gray-400); }
.sidebar-cats li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats a { color: var(--gray-700); transition: color var(--t-fast); }
.sidebar-cats a:hover { color: var(--blue-600); }

/* Sidebar CTA widget */
.widget-cta { padding: 0 !important; border: none !important; background: none !important; box-shadow: none !important; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.sidebar-cta svg { width: 38px; height: 38px; color: var(--wa-green); margin-bottom: 10px; }
.sidebar-cta h3 { color: var(--white); font-size: 1.2rem; margin: 0 0 8px; }
.sidebar-cta p { color: var(--blue-100); font-size: 0.92rem; margin: 0 0 16px; }
.sidebar-cta .btn { width: 100%; }

/* Blog listing (index/home) */
.blog-listing { background: var(--cream); }
.post-card-list { display: grid; gap: 22px; }
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.post-card h2 a { color: var(--navy-900); }
.post-card h2 a:hover { color: var(--blue-700); }
.post-card .meta { font-size: 0.84rem; color: var(--gray-500); margin-bottom: 14px; }
.post-card .excerpt { color: var(--gray-700); margin-bottom: 16px; }

/* ----- Homepage recent posts section ----- */
.home-blog-section { background: var(--cream); }
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) { .home-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .home-blog-grid { grid-template-columns: 1fr; } }
.home-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.home-blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.home-blog-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.home-blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-blog-thumb--ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.home-blog-thumb--ph svg { width: 48px; height: 48px; color: rgba(255,255,255,0.85); }
.home-blog-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.home-blog-meta { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 8px; }
.home-blog-card h3 { font-size: 1.05rem; line-height: 1.35; color: var(--navy-900); margin: 0 0 14px; }
.home-blog-link { margin-top: auto; font-size: 0.88rem; font-weight: 600; color: var(--blue-600); }

/* ============================
   404
   ============================ */
.error-404 {
  padding: 120px 0;
  text-align: center;
}
.error-404 .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin: 0 0 16px;
}
.error-404 h1 { margin-bottom: 12px; }
.error-404 p { color: var(--gray-500); margin-bottom: 28px; }

/* ============================
   SCROLL REVEAL
   ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================
   WORDPRESS CORE CLASSES
   ============================ */
.alignleft  { float: left;  margin: 0 24px 12px 0; }
.alignright { float: right; margin: 0 0 12px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide  { width: 120%; margin-left: -10%; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--gray-500); text-align: center; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--white);
  clip: auto; clip-path: none;
  color: var(--navy-900);
  display: block; font-size: 0.875rem;
  height: auto; left: 5px;
  padding: 15px 23px 14px; text-decoration: none;
  top: 5px; width: auto; z-index: 100000;
}

/* ============================
   QUOTE FORM — floating trigger + modal
   ============================ */

/* Floating "Hemen Nakite Çevir" pill button — appears after scroll */
.kb-quote-trigger {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(30, 95, 191, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 280ms ease, box-shadow 220ms ease;
  z-index: 95;
}
.kb-quote-trigger svg { width: 22px; height: 22px; flex-shrink: 0; }
.kb-quote-trigger.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.kb-quote-trigger:hover {
  box-shadow: 0 18px 40px rgba(30, 95, 191, 0.55);
}
.kb-quote-trigger:active { transform: translateX(-50%) translateY(0) scale(0.98); }

/* Keep clear of bottom-right WhatsApp button on mobile */
@media (max-width: 600px) {
  .kb-quote-trigger {
    bottom: 18px;
    left: 18px;
    right: 92px;
    transform: translateY(80px);
    padding: 14px 18px;
    font-size: 0.92rem;
    justify-content: center;
  }
  .kb-quote-trigger.is-visible { transform: translateY(0); }
}

/* MODAL container */
.kb-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 16px 16px;
  overflow-y: auto;
}
.kb-modal.is-open {
  display: flex;
  animation: kbFadeIn 180ms ease both;
}
@keyframes kbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.kb-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 51, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.kb-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(6, 24, 51, 0.35);
  padding: 40px 36px 32px;
  margin-bottom: 24px;
  animation: kbSlideIn 320ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes kbSlideIn {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (max-width: 600px) {
  .kb-modal { padding: 0; }
  .kb-modal__dialog {
    border-radius: 0;
    padding: 32px 22px 28px;
    min-height: 100vh;
    margin-bottom: 0;
    max-width: none;
  }
}

.kb-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  border: none;
}
.kb-modal__close:hover { background: var(--gray-200); color: var(--navy-900); transform: rotate(90deg); }

/* STEP BAR */
.kb-steps-bar {
  position: relative;
  margin: 4px 0 28px;
}
.kb-steps-bar__fill {
  position: absolute;
  top: 17px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--gray-200);
  border-radius: 999px;
  z-index: 0;
}
.kb-steps-bar__fill::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  border-radius: 999px;
  transition: width 360ms cubic-bezier(.2,.7,.2,1);
}
.kb-steps-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.kb-steps-list li {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 600;
}
.kb-steps-list li span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray-400);
  transition: all 220ms ease;
}
.kb-steps-list li em { font-style: normal; }
.kb-steps-list li.is-active span {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 14px rgba(46, 134, 240, 0.35);
  transform: scale(1.06);
}
.kb-steps-list li.is-active { color: var(--navy-900); }
.kb-steps-list li.is-done span {
  background: var(--blue-100);
  border-color: var(--blue-100);
  color: var(--blue-700);
}
.kb-steps-list li.is-done span::after {
  content: "✓";
  font-size: 16px;
}
.kb-steps-list li.is-done span > * { display: none; }

/* STEPS — only active visible */
.kb-step { display: none; animation: kbStepIn 280ms ease both; }
.kb-step.is-active { display: block; }
@keyframes kbStepIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.kb-step h2 {
  font-size: 1.45rem;
  margin: 0 0 6px;
}
.kb-step__sub {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin: 0 0 24px;
}

/* FORM FIELDS */
.kb-field {
  display: block;
  margin-bottom: 18px;
}
.kb-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.kb-field input,
.kb-field select {
  width: 100%;
  padding: 13px 16px;
  font-size: 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy-900);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  font-family: inherit;
}
.kb-field input:focus,
.kb-field select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(46, 134, 240, 0.14);
}
.kb-field.has-error input,
.kb-field.has-error select {
  border-color: #dc2626;
  background: #fef2f2;
}
.kb-help {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 6px;
}
.kb-error {
  display: none;
  font-size: 0.84rem;
  color: #dc2626;
  margin-top: 6px;
  font-weight: 500;
}
.kb-field.has-error .kb-error { display: block; }
.kb-field.has-error .kb-help { display: none; }

/* Input prefix (₺, +90) */
.kb-input-prefix {
  position: relative;
  display: block;
}
.kb-input-prefix__sym {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--gray-500);
  pointer-events: none;
  font-size: 0.98rem;
}
.kb-input-prefix__sym--tr {
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.kb-input-prefix input { padding-left: 36px; }
.kb-input-prefix input[name="phone"] { padding-left: 62px; }

/* ACTIONS */
.kb-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: space-between;
}
.kb-actions--end { justify-content: flex-end; }
.kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease;
}
.kb-btn:active { transform: translateY(1px); }
.kb-btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(46, 134, 240, 0.30);
}
.kb-btn--primary:hover { box-shadow: 0 12px 28px rgba(46, 134, 240, 0.42); }
.kb-btn--ghost {
  background: var(--white);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.kb-btn--ghost:hover { border-color: var(--blue-300); color: var(--navy-800); }
.kb-btn--submit {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
  min-width: 180px;
}
.kb-btn--submit:hover { background: var(--wa-green-dark); }
.kb-btn--submit.is-loading .kb-btn__label { opacity: 0; }
.kb-btn--submit.is-loading .kb-btn__spinner { display: block; }
.kb-btn__spinner {
  display: none;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: kbSpin 700ms linear infinite;
}
.kb-btn--submit { position: relative; }
@keyframes kbSpin { to { transform: rotate(360deg); } }

/* SUMMARY (step 3) */
.kb-summary {
  background: linear-gradient(160deg, var(--cream), var(--blue-50));
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px 20px;
  position: relative;
  overflow: hidden;
}
.kb-summary__brand {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.86rem;
  margin-bottom: 18px;
}
.kb-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
}
.kb-summary__label {
  font-size: 0.92rem;
  color: var(--gray-700);
}
.kb-summary__rate {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-left: 4px;
}
.kb-summary__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.kb-summary__row--neg .kb-summary__val { color: #b45309; }
.kb-summary__divider {
  height: 1px;
  background: var(--blue-100);
  margin: 10px 0;
}
.kb-summary__row--big { padding: 14px 0 6px; }
.kb-summary__val--big {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--wa-green-dark), var(--wa-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Wallet animation */
.kb-summary__wallet {
  display: flex;
  justify-content: center;
  margin: 20px 0 4px;
}
.kb-wallet {
  position: relative;
  width: 120px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-700));
  box-shadow: 0 12px 24px rgba(11, 37, 69, 0.25);
}
.kb-wallet__strip {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 14px;
  background: rgba(0,0,0,0.18);
}
.kb-wallet__chip {
  position: absolute;
  top: 44px;
  left: 14px;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(135deg, #FFD27A, #C99547);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.kb-wallet__coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD27A, #C99547);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
  opacity: 0;
}
.kb-summary.is-animating .kb-wallet__coin { animation: kbCoin 1.6s cubic-bezier(.2,.7,.2,1) both; }
.kb-summary.is-animating .kb-wallet__coin--1 { animation-delay: 0.1s; left: 14px;  top: -10px; }
.kb-summary.is-animating .kb-wallet__coin--2 { animation-delay: 0.3s; left: 46px;  top: -18px; }
.kb-summary.is-animating .kb-wallet__coin--3 { animation-delay: 0.5s; left: 78px;  top: -10px; }
@keyframes kbCoin {
  0%   { opacity: 0; transform: translateY(28px) scale(0.6) rotate(-25deg); }
  60%  { opacity: 1; transform: translateY(-12px) scale(1.05) rotate(8deg); }
  100% { opacity: 1; transform: translateY(0)     scale(1)    rotate(0deg); }
}

/* SUCCESS state */
.kb-step--success { text-align: center; padding: 12px 0; }
.kb-success__check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.40);
  animation: kbPop 480ms cubic-bezier(.2,.7,.2,1) both;
}
.kb-success__check svg { width: 44px; height: 44px; }
@keyframes kbPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.kb-success h2 { font-size: 1.6rem; margin: 0 0 6px; }
.kb-success p { color: var(--gray-700); margin: 0 0 12px; }
.kb-success__id {
  display: inline-block;
  background: var(--cream);
  border: 1px dashed var(--gray-300);
  border-radius: 10px;
  padding: 10px 18px;
  font-family: ui-monospace, monospace;
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 22px;
}

/* FORM-LEVEL ERROR */
.kb-form-error {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* Body scroll lock helper */
body.kb-modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .kb-modal__dialog,
  .kb-step,
  .kb-success__check,
  .kb-summary.is-animating .kb-wallet__coin { animation: none !important; }
}

/* ============================
   REFERANS KAZAN (Affiliate page)
   ============================ */
.referans-section { padding: 64px 0 96px; background: var(--cream); }
.referans-howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .referans-howto { grid-template-columns: 1fr; } }
.referans-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.referans-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.referans-step__num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 8px 16px rgba(46, 134, 240, 0.30);
}
.referans-step h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--navy-900); }
.referans-step p { color: var(--gray-700); margin: 0; font-size: 0.94rem; }

.referans-form-wrap {
  max-width: 580px;
  margin: 0 auto 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow-sm);
}
.referans-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy-900);
}
.referans-input-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  transition: border-color var(--t-base);
}
.referans-input-row:focus-within { border-color: var(--blue-500); background: var(--white); }
.referans-input-prefix {
  padding: 0 14px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid; place-items: center;
  font-weight: 700;
  border-right: 1.5px solid var(--gray-200);
}
.referans-input-row input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font-size: 1rem;
  outline: none;
  min-width: 0;
}
.referans-input-row button {
  border-radius: 0;
  padding: 0 24px;
}
.referans-error { color: #dc2626; margin: 10px 0 0; font-size: 0.9rem; font-weight: 500; }

.referans-result {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.08);
}
.referans-result__badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD27A, #C99547);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.referans-code {
  font-family: ui-monospace, monospace;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--navy-900);
  margin: 8px 0 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.referans-result__sub { color: var(--gray-600); margin: 0 0 16px; }
.referans-link-box {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}
.referans-link-box input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  background: var(--cream);
  font-family: ui-monospace, monospace;
  font-size: 0.88rem;
  color: var(--navy-800);
  min-width: 0;
}
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }

.referans-stats { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.referans-stats h3 { font-size: 1.1rem; margin: 0 0 18px; }
.referans-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 540px) { .referans-stats-grid { grid-template-columns: 1fr; } }
.referans-stat {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 18px 12px;
}
.referans-stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy-900);
}
.referans-stat__label { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

.referans-cta-row { margin-top: 28px; }

/* ============================
   Small site polish
   ============================ */
/* Smoother button hover lift */
.btn-primary { transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base); }
.btn-primary:hover { transform: translateY(-2px); }

/* Card hover refinement */
.card-item { transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.card-item:hover { border-color: var(--blue-200); }

/* Smoother section transitions */
.reveal { transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1); }

/* ============================
   ADVANTAGES SECTION (Loyalty + Referral)
   ============================ */
.advantages-section {
  padding: 80px 0 84px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  position: relative;
}
.advantages-section .section-head { text-align: center; margin-bottom: 48px; }
.advantages-section .section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.advantages-section .section-head p { color: var(--gray-600); max-width: 620px; margin: 0 auto; }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 820px) { .advantages-grid { grid-template-columns: 1fr; } }

.advantage-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.04);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 37, 69, 0.12);
}

/* Loyalty: gold accent */
.advantage-card--loyalty { border-top: 4px solid #C99547; }
.advantage-card--loyalty:hover { border-color: #C99547; }
.advantage-card--loyalty .advantage-card__icon {
  background: linear-gradient(135deg, #FFD27A, #C99547);
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(201, 149, 71, 0.35);
}
.advantage-card--loyalty .advantage-card__badge {
  background: linear-gradient(135deg, #FFD27A, #C99547);
  color: var(--navy-900);
}

/* Referral: brand blue accent */
.advantage-card--referral { border-top: 4px solid var(--blue-500); }
.advantage-card--referral:hover { border-color: var(--blue-300); }
.advantage-card--referral .advantage-card__icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(46, 134, 240, 0.30);
}
.advantage-card--referral .advantage-card__badge {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
}

.advantage-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.advantage-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.advantage-card h3 {
  font-size: 1.45rem;
  margin: 0 0 14px;
  color: var(--navy-900);
}
.advantage-card__highlight {
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--navy-800);
  margin: 0 0 18px;
}
.advantage-card__highlight strong {
  color: var(--navy-900);
}
.advantage-card--loyalty .advantage-card__highlight strong { color: #92400e; }
.advantage-card--referral .advantage-card__highlight strong { color: var(--blue-700); }
.advantage-card__desc {
  color: var(--gray-700);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0 0 22px;
}
.advantage-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.advantage-card__list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.advantage-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.advantage-card--loyalty .advantage-card__list li::before {
  background: #FEF3C7;
  color: #92400E;
}
.advantage-card .btn { margin-top: auto; align-self: flex-start; }
