/* ==========================================================================
   KRS Enerji - Tasarım Sistemi
   ========================================================================== */

:root {
  --brand-blue: #00235d;
  --brand-blue-800: #07336f;
  --brand-blue-700: #16477f;
  --brand-green: #5baf18;
  --brand-green-700: #3f820c;
  --brand-green-100: #edf7e5;
  --navy-900: var(--brand-blue);
  --navy-800: var(--brand-blue-800);
  --navy-700: var(--brand-blue-700);
  --amber-500: var(--brand-green);
  --amber-600: var(--brand-green-700);
  --amber-100: var(--brand-green-100);
  --green-600: var(--brand-green-700);
  --sky-400: #7aa6d1;
  --sky-100: #edf4fa;
  --gray-50: #f7f9fc;
  --gray-100: #edf1f6;
  --gray-200: #d9e1ea;
  --gray-400: #8795a8;
  --gray-500: #5c6b7d;
  --gray-700: #34445a;
  --gray-900: #0c1b30;
  --white: #FFFFFF;

  --font-sans: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 27, 43, 0.08);
  --shadow-md: 0 8px 18px rgba(0, 35, 93, 0.10);
  --shadow-lg: 0 18px 40px rgba(0, 35, 93, 0.16);

  --container-w: 1200px;
  --focus-ring: 0 0 0 3px #fff, 0 0 0 6px var(--brand-green-700);
  --mobile-bar-h: 66px;
  --z-sticky: 100;
  --z-mobile-nav: 120;
  --z-fixed-action: 150;
  --z-skip: 200;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 800; line-height: 1.14; letter-spacing: -0.025em; color: var(--navy-900); text-wrap: balance; }
p { margin: 0 0 1em; color: var(--gray-700); text-wrap: pretty; }
button { font-family: inherit; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 10px 16px; z-index: var(--z-skip); border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

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

.eyebrow {
  display: inline-block;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--amber-600); margin-bottom: 10px;
}

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 17px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 100px; font-weight: 700; font-size: 15px;
  min-height: 48px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }
.btn--primary { background: var(--amber-500); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--amber-600); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--amber-100); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--gray-200); }
.btn--outline:hover { border-color: var(--navy-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { border-color: #fff; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ---- Icons ---- */
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 32px; height: 32px; }

/* ---- Header / Nav ---- */
/* Not: arkaplan bulanıklığı bilerek ::before üzerinde — .site-header'ın kendisine
   backdrop-filter/filter uygulanırsa, mobil menüdeki position:fixed öğe için yeni bir
   "containing block" oluşur ve menü artık viewport'a göre değil bu 76px'lik header'a göre
   konumlanır (görünmez hale gelir). Bu yüzden filtre ayrı bir pseudo-katmanda tutuluyor. */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  box-shadow: 0 1px 0 rgba(15,27,43,0.02);
  transition: box-shadow .25s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,27,43,0.06);
  transition: background .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header.is-scrolled::before { background: rgba(255,255,255,0.96); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img { height: 44px; width: auto; max-width: none; display: block; flex-shrink: 0; }
.logo--footer .logo__img { height: 40px; }

.nav-toggle {
  width: 46px; height: 46px; background: none; border: none; padding: 10px; cursor: pointer; color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s ease;
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav {
  position: fixed; inset: 76px 0 0 0; background: #fff; padding: 24px 20px;
  z-index: var(--z-mobile-nav); transform: translateX(100%); visibility: hidden;
  transition: transform .28s cubic-bezier(.22,1,.36,1), visibility 0s linear .28s; overflow-y: auto;
}
.site-nav.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.site-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.site-nav a { display: block; padding: 14px 4px; font-weight: 700; font-size: 17px; color: var(--navy-900); border-bottom: 1px solid var(--gray-100); }
.site-nav a.is-active { color: var(--amber-600); }
.nav-actions { display: flex; flex-direction: column; gap: 12px; }
.nav-actions .nav-phone {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; color: var(--navy-900); font-size: 15px; white-space: nowrap; flex-shrink: 0;
  padding: 9px 18px 9px 9px; border-radius: 100px;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-actions .nav-phone:hover { background: var(--amber-100); border-color: var(--amber-500); transform: translateY(-1px); }
.nav-phone__icon {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--amber-100); color: var(--amber-600);
  transition: background .2s ease, color .2s ease;
}
.nav-phone__icon .icon { width: 15px; height: 15px; }
.nav-phone:hover .nav-phone__icon { background: var(--amber-500); color: #fff; }
.nav-actions .nav-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; white-space: nowrap; flex-shrink: 0;
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
  box-shadow: 0 6px 16px rgba(91, 175, 24, 0.28);
}
.nav-actions .nav-cta:hover { background: linear-gradient(135deg, var(--amber-600) 0%, var(--brand-green-700) 100%); box-shadow: 0 8px 22px rgba(91, 175, 24, 0.38); }
.nav-actions .nav-cta .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-actions .nav-cta:hover .icon { transform: translateX(3px); }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; transform: none; visibility: visible; padding: 0; display: flex; align-items: center; gap: 8px; background: transparent; overflow: visible; }
  .site-nav ul { flex-direction: row; gap: 2px; margin-bottom: 0; margin-right: 12px; }
  .site-nav a { border-bottom: none; padding: 9px 14px; font-size: 14.5px; border-radius: 100px; transition: background .15s ease, color .15s ease; }
  .site-nav a:hover, .site-nav a.is-active { background: var(--gray-100); color: var(--navy-900); }
  .site-nav a.is-active { color: var(--amber-600); background: var(--amber-100); }
  .nav-actions { flex-direction: row; align-items: center; gap: 10px; }
  .nav-phone { font-size: 14.5px; }
  .nav-cta { padding: 12px 22px; }
}

/* ---- Hero (aydınlık tema, tam ekran) ---- */
.hero {
  position: relative; overflow: hidden;
  background: #FFFFFF;
  padding: 48px 0;
  display: flex; align-items: center;
  min-height: calc(100vh - 76px);
  min-height: calc(100dvh - 76px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.58; filter: saturate(0.82) contrast(1.04);
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 43%, rgba(255,255,255,.42) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 18%, transparent 78%, rgba(255,255,255,0.7) 100%);
}
.hero__grid { display: none; }
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; }
.hero__content { max-width: 680px; }
.hero h1 { color: var(--navy-900); font-size: clamp(2.35rem, 5.5vw, 4.75rem); margin-bottom: 20px; letter-spacing: -.04em; text-shadow: 0 2px 24px rgba(255,255,255,0.6); }
.hero p.lead { color: var(--gray-700); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; margin-top: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px 24px; margin-top: 36px; max-width: 640px; }
.hero__badge { display: flex; align-items: center; gap: 10px; color: var(--gray-700); font-weight: 600; font-size: 14px; }
.hero__badge .icon { color: var(--green-600); }
.hero__scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--gray-500); font-size: 12px; font-weight: 600; z-index: 1;
  animation: hero-bounce 2.2s ease-in-out infinite;
}
.hero__scroll-cue .icon { width: 18px; height: 18px; }
@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 1199.98px) {
  .hero { min-height: calc(100vh - 76px - 62px); min-height: calc(100dvh - 76px - 62px); padding: 32px 0; }
  .hero__badges { margin-top: 24px; gap: 14px 20px; }
  .hero__actions { margin-top: 20px; }
  .hero__scroll-cue { display: none; }
}

@media (max-width: 639px) {
  .hero { min-height: auto; padding: 56px 0 48px; }
  .hero__bg-overlay { background: rgba(255,255,255,.88); }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .btn { width: 100%; white-space: normal; }
  .hero__badges { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .hero__badge:nth-child(n+3) { display: none; }
}

/* ---- Trust strip ---- */
.trust-strip { background: var(--gray-50); padding: 28px 0; border-bottom: 1px solid var(--gray-100); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 20px 36px; justify-content: center; align-items: center; }
.trust-strip__item { display: flex; align-items: center; gap: 10px; color: var(--gray-700); font-weight: 700; font-size: 14px; }
.trust-strip__item .icon { color: var(--green-600); }

/* ---- Cards ---- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  padding: 30px; transition: border-color .2s ease, transform .2s cubic-bezier(.22,1,.36,1), background .2s ease;
}
a.card:hover { border-color: rgba(91,175,24,.55); transform: translateY(-3px); }
a.card:active { transform: translateY(0); }

.service-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--amber-100);
  display: flex; align-items: center; justify-content: center; color: var(--amber-600); margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 15px; margin-bottom: 16px; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-900); font-size: 14px; }
.service-card__link .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.card:hover .service-card__link .icon { transform: translateX(4px); }

.feature-card { display: flex; gap: 16px; padding: 22px; }
.feature-card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-900); color: var(--amber-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; margin-bottom: 0; }

/* Neden KRS Enerji: borderless list rows (deliberately not another card grid) */
.feature-grid { row-gap: 0; column-gap: 48px; }
.feature-row { display: flex; gap: 18px; padding: 28px 0; border-top: 1px solid var(--gray-200); }
.feature-grid .feature-row:first-child { border-top: none; padding-top: 0; }
@media (min-width: 640px) { .feature-grid .feature-row:nth-child(2) { border-top: none; padding-top: 0; } }
.feature-row__icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--amber-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-row__icon .icon { width: 20px; height: 20px; }
.feature-row h3 { font-size: 16px; margin-bottom: 6px; }
.feature-row p { font-size: 14px; margin-bottom: 0; }

/* ---- Process / steps ---- */
.steps-columns { counter-reset: step; }
.steps { }
.step { position: relative; padding-left: 56px; margin-bottom: 32px; }
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: var(--amber-500); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 15px; margin-bottom: 0; }

/* ---- CTA band ---- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; overflow: hidden; }
.cta-band__bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,37,64,0.92), rgba(27,74,117,0.85)); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; justify-content: space-between; }
.cta-band h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 480px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta-band__inner { flex-direction: row; align-items: center; } }

/* ---- Sayfa içi vitrin videosu (Hakkımızda, Süreç vb.) ---- */
.section-video {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}
.section-video video, .section-video img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Breadcrumb ---- */
.breadcrumb { padding: 18px 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--gray-500); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gray-400); }
.breadcrumb a { color: var(--gray-500); font-weight: 600; }
.breadcrumb a:hover { color: var(--navy-900); }
.breadcrumb li[aria-current] { color: var(--navy-900); font-weight: 700; }

/* ---- Page header (inner pages) ---- */
.page-header {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding: 36px 0 40px;
}
.page-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 320px at 90% -15%, rgba(91, 175, 24, 0.30), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.5px);
  background-size: auto, 22px 22px;
}
.page-header .container { position: relative; z-index: 1; }
.page-header:not(.page-header--photo) .breadcrumb a { color: rgba(255, 255, 255, 0.6); }
.page-header:not(.page-header--photo) .breadcrumb a:hover { color: var(--white); }
.page-header:not(.page-header--photo) .breadcrumb li:not(:last-child)::after { color: rgba(255, 255, 255, 0.3); }
.page-header:not(.page-header--photo) .breadcrumb li[aria-current] { color: var(--white); }
.page-header h1 { font-size: 28px; color: var(--white); margin-bottom: 10px; }
.page-header p { font-size: 16px; max-width: 620px; margin-bottom: 0; color: rgba(255, 255, 255, 0.72); }
@media (min-width: 768px) {
  .page-header { padding: 52px 0 56px; }
  .page-header h1 { font-size: 34px; }
}

/* ---- Page header — fotoğraf arka planlı sürüm ---- */
.page-header--photo {
  position: relative; overflow: hidden; background: var(--amber-100);
  padding: 56px 0 64px; border-bottom: none;
}
.page-header--photo .breadcrumb a { color: var(--gray-500); }
.page-header--photo .breadcrumb li[aria-current] { color: var(--navy-900); }
.page-header__bg { position: absolute; inset: 0; z-index: 0; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-header__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.86) 38%, rgba(255,255,255,0.5) 100%);
}
.page-header--photo .container { position: relative; z-index: 1; }
.page-header--photo h1 { color: var(--navy-900); text-shadow: 0 2px 20px rgba(255,255,255,0.5); }
.page-header--photo p { color: var(--gray-700); text-shadow: 0 1px 12px rgba(255,255,255,0.4); }
@media (min-width: 768px) {
  .page-header--photo { padding: 76px 0 84px; }
  .page-header__overlay { background: linear-gradient(100deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 32%, rgba(255,255,255,0.32) 100%); }
}

/* ---- FAQ accordion ---- */
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--navy-900);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s ease; color: var(--gray-500); flex-shrink: 0; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 4px 20px; font-size: 15px; }

/* ---- Forms ---- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); padding: 13px 14px;
  font-family: inherit; font-size: 15px; color: var(--gray-900); background: #fff;
}
/* Safari macOS/iOS: appearance:none olmadan OS-native köşe/gölge özel
   stillerle çakışıp bozuk görünür. */
.field input, .field textarea { -webkit-appearance: none; appearance: none; }
.field select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300235d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-500); box-shadow: 0 0 0 3px var(--amber-100); }
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 12px; color: var(--gray-500); }
.field-error { display: none; color: #a3271b; font-size: 13px; font-weight: 600; margin: 2px 0 0; }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b83225; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; margin-bottom: 18px; display: none; }
.form-msg.is-success { display: block; background: #E9F7EF; color: var(--green-600); }
.form-msg.is-error { display: block; background: #FCEBEA; color: #C0392B; }

/* ---- Contact page layout ---- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.contact-info-card { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.contact-info-card h3 { color: #fff; }
.contact-info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon { color: var(--amber-500); }
.contact-info-item strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.contact-info-item a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-100); margin-top: 20px; }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-placeholder { background: var(--gray-100); height: 220px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 14px; text-align: center; padding: 20px; border-radius: var(--radius-md); }

/* ---- Timeline (Hakkımızda) ---- */
.value-list { display: grid; gap: 20px; }
@media (min-width: 640px) { .value-list { grid-template-columns: repeat(2, 1fr); } }

/* ---- Blog ---- */
.post-card, .project-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.post-card:hover .post-card__image img, .project-card:hover .post-card__image img { transform: scale(1.05); }
.post-card__body { padding: 24px 26px 28px; }
.post-card__meta { font-size: 13px; color: var(--gray-500); font-weight: 600; margin-bottom: 10px; }
.post-card h3 { font-size: 18px; }
.sample-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(10,37,64,0.85); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 100px; letter-spacing: .02em;
}
.post-body { max-width: 760px; margin: 0 auto; }
.post-body h2 { font-size: 24px; margin-top: 40px; }
.post-body h3 { font-size: 19px; margin-top: 28px; }
.post-body ul, .post-body ol { margin: 0 0 1em; padding-left: 22px; color: var(--gray-700); }
.post-body li { margin-bottom: 6px; }
.post-hero { background: var(--gray-50); padding: 40px 0; }
.post-hero .breadcrumb { padding-top: 0; }
.post-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 760px; }

/* ---- Placeholder / template notice ---- */
.template-note {
  display: flex; gap: 12px; align-items: flex-start; background: var(--amber-100); border: 1px dashed var(--amber-600);
  border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; color: #7A5305; margin-bottom: 28px;
}
.template-note .icon { color: var(--amber-600); flex-shrink: 0; margin-top: 2px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__col h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer__col a:hover { color: var(--amber-500); }
.footer__col--brand p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer__social a:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-900); transform: translateY(-2px); }
.footer__social .icon { width: 17px; height: 17px; }
.footer__contact { gap: 14px !important; }
.footer__contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.75); }
.footer__bottom { padding: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; text-align: center; font-size: 13px; }
.footer__bottom p { margin: 0; color: rgba(255,255,255,.7); }
.footer__bottom a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.field-hint a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ---- Mobile sticky CTA bar ---- */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-fixed-action);
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: 0 -4px 16px rgba(15,27,43,0.12);
  border-top: 1px solid var(--gray-100);
}
.mobile-cta-bar a { min-height: var(--mobile-bar-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 0 calc(7px + env(safe-area-inset-bottom)); font-size: 12px; font-weight: 700; color: var(--navy-900); }
.mobile-cta-bar a:nth-child(2) { color: var(--green-600); }
.mobile-cta-bar a:nth-child(3) { color: var(--amber-600); }
body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1200px) {
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---- Masaüstü: sağ altta sabit WhatsApp butonu ---- */
.whatsapp-fab {
  display: none;
  position: fixed; right: 28px; bottom: 28px; z-index: var(--z-fixed-action);
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,0.42);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-fab .icon { width: 28px; height: 28px; }
.whatsapp-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 32px rgba(37,211,102,0.5); }
@media (min-width: 1200px) {
  .whatsapp-fab { display: flex; }
}

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag {
  display: inline-block; background: var(--amber-100); color: var(--amber-600); font-weight: 700; font-size: 12px;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 14px;
}

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 14px; }
.post-meta .tag { margin-bottom: 0; }
.post-meta__item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gray-500); }
.post-meta__item .icon { color: var(--amber-600); }

/* ---- Reusable layout utilities ---- */
.surface-muted { background: var(--gray-50); }
.content-narrow { max-width: 760px; margin-inline: auto; }
.content-narrow--wide { max-width: 800px; margin-inline: auto; }
.align-start { align-items: start; }
.align-center { align-items: center; }
.stack-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.icon-list-item { display: flex; gap: 10px; align-items: flex-start; }
.audience-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.audience-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 100px;
  background: var(--amber-100); color: var(--navy-900);
  font-size: 13.5px; font-weight: 700; line-height: 1.2;
  transition: background .2s ease, transform .2s ease;
}
.audience-chip:hover { background: var(--amber-500); transform: translateY(-1px); }
.audience-chip .icon { width: 15px; height: 15px; color: var(--amber-600); flex-shrink: 0; }
.card--roomy { padding: 32px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.center-actions { justify-content: center; }
.empty-state { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 64px); text-align: center; background: var(--gray-50); border-radius: var(--radius-lg); }
.empty-state .service-card__icon { margin-inline: auto; }
.not-found { padding: 100px 0; text-align: center; }
.not-found p { max-width: 520px; margin: 0 auto 28px; }
.text-small { font-size: 12px; }

/* ---- Motion reveal (JS varsa .js sınıfı html'e eklenir) ----
   transition: none — reveal beklerken kart/öğede tanımlı CSS transition'lar (ör. .card
   hover transform'u), Motion'ın JS ile her karede güncellediği transform/opacity ile aynı
   anda çalışıp çakışmasın diye kapatılıyor. Bu çakışma, kaydırırken kartların "iki animasyon
   üst üste biniyormuş gibi" görünmesine sebep oluyordu. Animasyon bitince main.js bu
   data-* özniteliğini kaldırıp normal hover geçişini geri açıyor. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: none; }
.js [data-reveal-fade] { opacity: 0; transition: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(20px); transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-fade], .js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .hero__scroll-cue { animation: none; }
}
