:root {
  --ink: #000000;
  --ink-soft: #4a4741;
  --paper: #fbf9f6;
  --cream: #f2eeeb;
  --mist: #e8e4df;
  --sage: #000000;
  --sage-dark: #000000;
  --coral: #000000;
  --blue: #e8e4df;
  --blog-section-bg: #f7f4f0;
  --blog-detail-bg: #f2eeeb;
  --blog-card-bg: #fbf9f6;
  --blog-text: #4a4741;
  --service-card-bg: #fbf9f6;
  --form-section-bg: #000000;
  --contact-section-bg: #000000;
  --footer-bg: #000000;
  --cookie-bg: #000000;
  --hero-overlay-opacity: 0.82;
  --page-bg: #f2eeeb;
  --button-bg: #000000;
  --button-text: #fbf9f6;
  --link-color: #000000;
  --header-bg: #fbf9f6;
  --header-text: #000000;
  --header-link: #4a4741;
  --header-active: #000000;
  --language-bg: transparent;
  --language-text: #4a4741;
  --header-border: rgba(0, 0, 0, 0.14);
  --hero-bg: #000000;
  --hero-overlay-color: #000000;
  --hero-title: #fbf9f6;
  --hero-copy: rgba(242, 238, 235, 0.88);
  --hero-cta-bg: #fbf9f6;
  --hero-cta-text: #000000;
  --services-bg: #f2eeeb;
  --services-title: #000000;
  --service-card-border: rgba(0, 0, 0, 0.14);
  --service-card-title: #000000;
  --service-card-text: #4a4741;
  --service-mark: #000000;
  --service-card-hover: #fbf9f6;
  --service-card-radius: 8px;
  --service-card-min-height: 210px;
  --products-bg: #f2eeeb;
  --product-card-bg: #fbf9f6;
  --product-image-height: 168px;
  --product-title: #000000;
  --product-text: #4a4741;
  --product-border: rgba(0, 0, 0, 0.14);
  --process-bg: #f2eeeb;
  --process-card-bg: #fbf9f6;
  --process-number: #000000;
  --process-title: #000000;
  --process-text: #4a4741;
  --process-border: rgba(0, 0, 0, 0.14);
  --blog-section-text: #000000;
  --blog-card-border: rgba(0, 0, 0, 0.14);
  --blog-card-title: #000000;
  --blog-image-height: 180px;
  --blog-card-radius: 10px;
  --blog-cols-desktop: 3;
  --blog-cols-tablet: 2;
  --blog-gap: 14px;
  --faq-section-bg: #e8e4df;
  --faq-eyebrow: #000000;
  --faq-title: #000000;
  --faq-description: #4a4741;
  --faq-card-bg: #fbf9f6;
  --faq-card-border: rgba(0, 0, 0, 0.14);
  --faq-question: #000000;
  --faq-answer: #4a4741;
  --faq-icon: #000000;
  --faq-active-bg: #fbf9f6;
  --faq-hover: #f2eeeb;
  --faq-card-radius: 8px;
  --faq-gap: 12px;
  --form-title: #fbf9f6;
  --form-copy: rgba(242, 238, 235, 0.76);
  --form-card-bg: #fbf9f6;
  --form-label: #000000;
  --form-input-bg: #fbf9f6;
  --form-input-text: #000000;
  --form-input-border: rgba(0, 0, 0, 0.16);
  --form-button-bg: var(--button-bg);
  --form-button-text: var(--button-text);
  --form-whatsapp-bg: transparent;
  --form-whatsapp-text: #fbf9f6;
  --footer-logo-filter: brightness(0) invert(1);
  --footer-heading: #fbf9f6;
  --footer-text: rgba(242, 238, 235, 0.74);
  --footer-link: rgba(242, 238, 235, 0.74);
  --footer-social-border: rgba(242, 238, 235, 0.18);
  --footer-social-text: rgba(242, 238, 235, 0.74);
  --footer-bottom-link: rgba(242, 238, 235, 0.74);
  --floating-whatsapp-bg: #1f6f54;
  --floating-whatsapp-icon: #ffffff;
  --floating-assistant-bg: #000000;
  --floating-assistant-text: #fbf9f6;
  --scroll-top-bg: #fbf9f6;
  --scroll-top-text: #000000;
  --cookie-text: #fbf9f6;
  --cookie-button-bg: #fbf9f6;
  --cookie-button-text: #000000;
  --cookie-border: rgba(242, 238, 235, 0.14);
  --line: rgba(0, 0, 0, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  /* body ile aynı renk: aksi halde mobilde/trackpad'de sayfa sonuna "esnek kaydırma" yapılınca
     (özellikle siyah footer'ın altında) beyaz bir renk/boşluk farkı beliriyordu. */
  background: var(--page-bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.policy-content a,
.blog-body a {
  color: var(--link-color);
}

button,
input,
select,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background-color: var(--hero-bg);
  background-image: url("/public/lumetica-hero1.webp");
  background-position: center;
  background-size: cover;
  color: var(--paper);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: heroFade 18s infinite;
  animation-delay: calc(var(--slide-index) * 6s);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms ease;
}

.hero.is-video-ready .hero-video {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--hero-overlay-color) 0%, color-mix(in srgb, var(--hero-overlay-color) 71%, transparent) 43%, color-mix(in srgb, var(--hero-overlay-color) 22%, transparent) 74%);
  opacity: var(--hero-overlay-opacity);
  pointer-events: none;
}

.hero-slide:first-child {
  opacity: 1;
}

.hero-slide:only-child {
  opacity: 1;
  animation: none;
}

@keyframes heroFade {
  0%,
  27% {
    opacity: 1;
  }

  34%,
  100% {
    opacity: 0;
  }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  color: var(--header-text);
  isolation: isolate;
  box-shadow: 0 1px 0 var(--header-border);
}

body > .site-nav::before {
  display: none;
}

.brand {
  min-width: 0;
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--header-link);
  font-size: 0.94rem;
  font-weight: 680;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.language-switcher a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--header-active);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--header-border);
  border-radius: 8px;
  padding: 4px;
  background: var(--language-bg);
  color: var(--language-text);
}

.language-switcher a {
  display: inline-flex;
  min-width: 32px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 840;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  background: rgba(36, 59, 51, 0.08);
  color: var(--header-active);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 594px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 84px;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 18px 0 0;
  font-size: clamp(3.9rem, 8vw, 5.9rem);
  font-weight: 760;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  color: var(--hero-title);
}

.hero-copy {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--hero-copy);
  font-size: 1.35rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 820;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--hero-cta-bg);
  color: var(--hero-cta-text);
}

.button.primary.dark {
  background: var(--form-button-bg);
  color: var(--form-button-text);
}

.button.outline {
  border-color: rgba(0, 0, 0, 0.18);
  background: transparent;
  color: var(--ink);
}

.button.outline:hover {
  border-color: rgba(0, 0, 0, 0.34);
  background: rgba(242, 238, 235, 0.74);
}

.button.compact {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button.ghost {
  border-color: rgba(242, 238, 235, 0.38);
  color: var(--paper);
}

.button.ghost:hover {
  border-color: rgba(242, 238, 235, 0.78);
  background: rgba(242, 238, 235, 0.1);
}

.button.dark-ghost {
  width: fit-content;
  border-color: rgba(242, 238, 235, 0.32);
  color: var(--paper);
}

.category-band {
  border-bottom: 1px solid var(--product-border);
  background: var(--products-bg);
}

.category-band > div {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.category-band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 820;
}

.product-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

/* "Çalışılabilecek ürün alanları" başlığı, Hizmetler bölümü başlığıyla aynı renk/boyutta
   (bkz. .services-heading h2) — görsel hiyerarşi tutarlılığı için. */
.product-slider-head p {
  margin: 0;
  color: var(--services-title);
  font-size: clamp(1.9rem, 5vw, 3.9rem);
  font-weight: 760;
  line-height: 1;
}

.slider-controls {
  display: none;
  gap: 8px;
}

.slider-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.slider-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.34);
  background: var(--paper);
}

.product-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--product-border);
  border-radius: 14px;
  background: var(--product-card-bg);
  box-shadow: 0 12px 34px rgba(36, 59, 51, 0.06);
}

.product-card-media {
  display: grid;
  min-height: var(--product-image-height);
  place-items: center;
  padding: 14px;
  background: linear-gradient(155deg, var(--products-bg), var(--mist));
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: calc(var(--product-image-height) - 28px);
  max-height: var(--product-image-height);
  object-fit: contain;
  border-radius: 10px;
}

.product-card h3 {
  margin: 0;
  color: var(--product-title);
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-card-body {
  min-height: 126px;
  padding: 17px 18px 19px;
}

.product-card-body p {
  margin: 8px 0 0;
  color: var(--product-text);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 0.72fr);
  gap: 42px;
}

.services-layout h2,
.block-heading h2,
.contact-layout h2 {
  margin: 0;
  font-size: 3.9rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.block-heading {
  max-width: 920px;
  margin-bottom: 36px;
}

.block-heading h2 {
  max-width: 820px;
  margin-top: 14px;
}

.services-heading {
  max-width: 900px;
}

.services-heading h2 {
  margin-top: 14px;
  color: var(--services-title);
}

.services-layout {
  background: var(--services-bg);
  box-shadow: 0 0 0 100vmax var(--services-bg);
  clip-path: inset(0 -100vmax);
}

.service-grid {
  display: grid;
  margin-top: 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-card,
.model-grid article,
.process-steps article,
.operations-grid article,
.evidence-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card {
  display: grid;
  height: 100%;
  min-height: var(--service-card-min-height);
  grid-template-rows: 3px minmax(4.35rem, auto) 1fr;
  gap: 18px;
  align-content: start;
  padding: 22px;
  border-color: var(--service-card-border);
  border-radius: var(--service-card-radius);
  background: var(--service-card-bg);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: var(--service-card-hover);
  transform: translateY(-2px);
}

.service-grid.is-reveal-ready .service-card {
  opacity: 0;
  transform: translate3d(-40px, 0, 0);
  transition:
    background 180ms ease,
    opacity 560ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.service-grid.is-reveal-ready.is-visible .service-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay:
    0ms,
    calc(var(--service-reveal-index, 0) * 85ms),
    calc(var(--service-reveal-index, 0) * 85ms);
}

.model-band {
  background: var(--mist);
}

.model-grid {
  display: grid;
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.model-grid article {
  min-height: 230px;
  padding: 24px;
}

.service-mark {
  width: 34px;
  height: 3px;
  background: var(--service-mark);
}

.service-card h3,
.model-grid h3,
.process-steps h3,
.operations-grid h3,
.evidence-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 780;
  line-height: 1.18;
}

.service-card h3 {
  min-height: 4.35rem;
  align-self: start;
  overflow-wrap: anywhere;
  color: var(--service-card-title);
}

.service-card p {
  margin-top: 0;
  align-self: start;
  color: var(--service-card-text);
}

.service-card p,
.model-grid p,
.process-steps p,
.operations-grid p,
.evidence-grid span,
.contact-layout p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-card p {
  color: var(--service-card-text);
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg, var(--hero-overlay-color) 0%, color-mix(in srgb, var(--hero-overlay-color) 71%, transparent) 43%, color-mix(in srgb, var(--hero-overlay-color) 22%, transparent) 74%);
}

html[dir="rtl"] .site-nav,
html[dir="rtl"] .nav-main,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .service-mark {
  align-self: flex-start;
}

html[dir="rtl"] .faq-item summary {
  padding: 20px 0 20px 34px;
}

html[dir="rtl"] .faq-item summary::after {
  right: auto;
  left: 0;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--sage-dark);
  color: var(--paper);
}

.redirect-page main {
  width: min(560px, calc(100% - 40px));
  text-align: center;
}

.redirect-page h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.redirect-page p {
  margin: 18px 0 24px;
  color: rgba(242, 238, 235, 0.76);
}

.language-switcher.root {
  justify-content: center;
  border-color: rgba(242, 238, 235, 0.32);
}

.process-band {
  position: relative;
  background: var(--process-bg);
}

/* Hizmetler ve Süreç bölümleri varsayılan temada aynı zemin rengini paylaştığı için (--services-bg
   ve --process-bg) aralarında görsel ayrım yoktu — footer'daki ince gradient çizgi tekniğinin aynısı
   (bkz. .site-footer::before) burada da kullanılıyor. */
.process-band::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  content: "";
  transform: translateX(-50%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 0.72fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 36px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

/* .service-grid.is-reveal-ready ile aynı desen: 7 adım sırayla (1-2-3-4-5-6-7) kademeli bir
   gecikmeyle görünüme girer — bkz. script.js initProcessStepsReveal(). */
.process-steps.is-reveal-ready article {
  opacity: 0;
  transform: translate3d(-40px, 0, 0);
  transition:
    background 180ms ease,
    opacity 560ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.process-steps.is-reveal-ready.is-visible article {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay:
    0ms,
    calc(var(--process-reveal-index, 0) * 85ms),
    calc(var(--process-reveal-index, 0) * 85ms);
}

.process-steps article {
  min-height: 250px;
  border-color: var(--process-border);
  background: var(--process-card-bg);
  padding: 20px;
}

.process-steps span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--process-number);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 820;
}

.process-steps h3 {
  color: var(--process-title);
}

.process-steps p {
  color: var(--process-text);
}

.lead-band {
  background: var(--form-section-bg);
  color: var(--paper);
}

.lead-layout {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 54px;
  align-items: start;
  padding: 96px 0;
}

.lead-copy {
  position: sticky;
  top: 28px;
}

.lead-copy h2 {
  margin: 16px 0 0;
  color: var(--form-title);
  font-size: 3.75rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.lead-copy p {
  margin: 22px 0 28px;
  color: var(--form-copy);
  font-size: 1.05rem;
  line-height: 1.72;
}

.brand-test-form {
  border: 1px solid rgba(242, 238, 235, 0.18);
  border-radius: 8px;
  background: var(--form-card-bg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brand-test-form label,
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--form-label);
  font-size: 0.88rem;
  font-weight: 760;
}

.full-field {
  grid-column: 1 / -1;
}

.brand-test-form input,
.brand-test-form select,
.brand-test-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background: var(--form-input-bg);
  color: var(--form-input-text);
  padding: 12px 12px;
  outline: none;
}

.brand-test-form input:focus,
.brand-test-form select:focus,
.brand-test-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79, 111, 96, 0.16);
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lead-copy .dark-ghost {
  border-color: var(--form-whatsapp-text);
  background: var(--form-whatsapp-bg);
  color: var(--form-whatsapp-text);
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-status[data-state="success"] {
  color: #2f6d43;
}

.form-status[data-state="error"] {
  color: #9b4f3f;
}

.operations-band {
  background: var(--cream);
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.operations-grid article {
  min-height: 228px;
  padding: 24px;
}

.evidence {
  padding-top: 96px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.evidence-grid article {
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(180deg, var(--paper), var(--mist));
}

.evidence-grid p {
  margin: 0 0 30px;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 860;
}

.faq-band {
  background: var(--faq-section-bg);
}

.faq-band .eyebrow {
  color: var(--faq-eyebrow);
}

.faq-band .block-heading h2 {
  color: var(--faq-title);
}

.faq-band .block-heading p:not(.eyebrow) {
  color: var(--faq-description);
}

.faq-index h1 {
  color: var(--faq-title);
}

.faq-search-field {
  max-width: 420px;
  margin: 28px 0 32px;
}

.faq-search-input {
  width: 100%;
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background: var(--form-input-bg);
  color: var(--form-input-text);
  padding: 12px 14px;
  font-size: 0.96rem;
  outline: none;
}

.faq-search-empty {
  margin: 20px 0 0;
  color: var(--faq-description, var(--form-label));
}

.faq-index-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-index-cta p {
  margin: 0;
  max-width: 560px;
  color: var(--form-label);
  font-weight: 700;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--faq-gap);
  align-items: start;
}

.faq-item {
  border: 1px solid var(--faq-card-border);
  border-radius: var(--faq-card-radius);
  background: var(--faq-card-bg);
  padding: 0 22px;
  transition: background 160ms ease, border-color 160ms ease;
}

.faq-item:hover {
  background: var(--faq-hover);
}

.faq-item[open] {
  background: var(--faq-active-bg);
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  color: var(--faq-question);
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.35;
}

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

.faq-item summary::after {
  position: absolute;
  top: 18px;
  right: 0;
  content: "+";
  color: var(--faq-icon);
  font-size: 1.45rem;
  font-weight: 720;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--faq-answer);
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-band {
  padding: 86px 0;
  background: var(--contact-section-bg);
  color: var(--paper);
}

.contact-layout {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.55fr);
  gap: 60px;
  align-items: start;
}

.contact-layout h2 {
  max-width: 760px;
  margin-top: 16px;
  color: var(--paper);
}

.contact-layout p {
  max-width: 620px;
  color: rgba(242, 238, 235, 0.78);
  font-size: 1.06rem;
}

.mail-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--paper);
  font-weight: 760;
}

/* display:flex (inline değil) + width:fit-content: .mail-link'in yanına değil altına, kendi
   satırına düşer; buton genişliğinde kalır, tam satır genişliğine gerilmez. */
.contact-whatsapp-link {
  display: flex;
  width: fit-content;
  margin-top: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-cta-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-cta-card .button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* .contact-cta-card ile scope edilerek ".contact-layout p" (renk/boyut koyan, form genelindeki daha
   yüksek specificity'li kural) ezilmesi engelleniyor — .phone-country-panel .phone-country-option
   ile aynı teknik. */
.contact-cta-card .contact-cta-kicker {
  margin: 0;
  max-width: none;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-cta-card .contact-cta-text {
  margin: 0 0 6px;
  max-width: none;
  color: var(--form-label);
  font-size: 0.94rem;
  line-height: 1.55;
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent-field input {
  width: auto;
  margin-top: 3px;
}

/* Çoklu kategori seçimi: native <select multiple> yerine <details>/<summary> tabanlı panel. */
.multiselect-field {
  display: grid;
  gap: 7px;
}

.multiselect-label {
  color: var(--form-label);
  font-size: 0.88rem;
  font-weight: 760;
}

.multiselect {
  position: relative;
}

.multiselect-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background: var(--form-input-bg);
  color: var(--form-input-text);
  padding: 12px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.multiselect-toggle::-webkit-details-marker {
  display: none;
}

.multiselect[open] > .multiselect-toggle {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79, 111, 96, 0.16);
}

.multiselect-caret {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  opacity: 0.65;
}

.multiselect[open] .multiselect-caret {
  transform: rotate(-135deg);
}

.multiselect-panel {
  position: absolute;
  z-index: 20;
  inset-inline: 0;
  top: calc(100% + 6px);
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background: var(--form-input-bg);
  box-shadow: var(--shadow);
  padding: 14px 14px 10px;
}

.multiselect-clear {
  position: absolute;
  top: 8px;
  inset-inline-end: 10px;
  border: none;
  background: transparent;
  color: var(--form-label);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}

.multiselect-group {
  border: none;
  margin: 0 0 12px;
  padding: 0;
}

.multiselect-group legend {
  padding: 0 0 6px;
  color: var(--form-label);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* .multiselect-panel ile scope edilerek ".brand-test-form label"/".brand-test-form input" (form
   genelindeki daha yüksek specificity'li kurallar) ezilmesi engelleniyor. */
.multiselect-panel .multiselect-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 4px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--form-input-text);
  cursor: pointer;
}

.multiselect-panel .multiselect-option input {
  width: auto;
  height: auto;
  flex: none;
  border: 1px solid var(--form-input-border);
  border-radius: 4px;
  background: var(--form-input-bg);
  padding: 0;
  margin: 0;
}

.multiselect-option:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}

.multiselect-option-standalone {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--form-input-border);
}

.multiselect-error {
  margin: 2px 0 0;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
}

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

/* --- Telefon alanı: ülke kodu seçici + ulusal numara (bkz. script.js initPhoneFieldWidget) --- */
.phone-field {
  display: grid;
  gap: 7px;
}

.phone-field-label {
  color: var(--form-label);
  font-size: 0.88rem;
  font-weight: 760;
}

.phone-field-inputs {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.phone-country {
  position: relative;
  flex: 0 0 auto;
  max-width: 58%;
}

.phone-country-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  min-width: 132px;
  max-width: 100%;
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background: var(--form-input-bg);
  color: var(--form-input-text);
  padding: 12px 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.phone-country-toggle::-webkit-details-marker {
  display: none;
}

.phone-country[open] > .phone-country-toggle {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79, 111, 96, 0.16);
}

.phone-country-flag {
  flex: none;
  font-size: 1.05rem;
  line-height: 1;
}

.phone-country-selected {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
}

.phone-country-caret {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  opacity: 0.65;
}

.phone-country[open] .phone-country-caret {
  transform: rotate(-135deg);
}

/* z-index + overflow: panel formun/bölümün arkasında kalmaz; hiçbir üst öğede overflow:hidden yok
   (bkz. .brand-test-form) — aynı teknik mevcut .multiselect-panel için de kullanılıyor. */
.phone-country-panel {
  position: absolute;
  z-index: 20;
  inset-inline-start: 0;
  top: calc(100% + 6px);
  width: max(280px, 100%);
  max-width: min(360px, 90vw);
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background: var(--form-input-bg);
  box-shadow: var(--shadow);
  padding: 10px;
}

/* .phone-country-panel ile scope edilerek ".brand-test-form input" (form genelindeki daha yüksek
   specificity'li kural) ezilmesi engelleniyor — bkz. .multiselect-panel .multiselect-option input. */
.phone-country-panel .phone-country-search {
  width: 100%;
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background: var(--form-input-bg);
  color: var(--form-input-text);
  padding: 10px 10px;
  margin-bottom: 8px;
  outline: none;
}

.phone-country-list {
  max-height: 260px;
  overflow-y: auto;
}

/* .phone-country-panel ile scope edilerek ".brand-test-form label" (display:grid koyan, form
   genelindeki daha yüksek specificity'li kural) ezilmesi engelleniyor — bkz. .multiselect-panel
   .multiselect-option ile aynı teknik. Scope'suz ".phone-country-option" tek başına kaybediyordu. */
.phone-country-panel .phone-country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--form-input-text);
  cursor: pointer;
  border-radius: 6px;
}

.phone-country-panel .phone-country-option:hover {
  background: rgba(79, 111, 96, 0.08);
}

.phone-country-panel .phone-country-option input {
  width: auto;
  height: auto;
  flex: none;
  margin: 0;
}

.phone-country-option[hidden] {
  display: none;
}

.phone-country-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-country-code {
  flex: none;
  color: var(--form-label);
  font-weight: 700;
}

.phone-field-inputs .phone-national-input {
  flex: 1 1 auto;
  min-width: 0;
}

.phone-field-error {
  margin: 2px 0 0;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-band {
  background: var(--blog-section-bg);
}

.blog-band .block-heading h2,
.blog-index h1 {
  color: var(--blog-section-text);
}

.blog-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  /* Kaydırılabilir alanın kenarları aniden kesilmiş görünmesin diye (bkz. "kayma" hissi veren
     kesik son etiket), her iki kenarda da yumuşak bir soluklaşma uygulanıyor — LTR/RTL fark etmez. */
  mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
}

.blog-filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--blog-section-text, var(--ink));
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.blog-filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(var(--blog-cols-desktop), minmax(0, 1fr));
  gap: var(--blog-gap);
  align-items: stretch;
}

.blog-card {
  display: grid;
  height: 100%;
  overflow: hidden;
  grid-template-rows: var(--blog-image-height) 1fr;
  border: 1px solid var(--blog-card-border);
  border-radius: var(--blog-card-radius);
  background: var(--blog-card-bg);
}

.blog-card img {
  width: 100%;
  height: var(--blog-image-height);
  object-fit: cover;
}

.blog-card div {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(2.9em, auto) 1fr auto;
  gap: 10px;
  padding: 18px;
}

.blog-card p,
.blog-card span,
.empty-state {
  color: var(--blog-text);
  line-height: 1.55;
}

.blog-card h3 {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0;
  overflow: hidden;
  color: var(--blog-card-title);
  font-size: 1.12rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-card p,
.blog-card span {
  margin: 0;
}

.blog-card span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-card a {
  display: inline-flex;
  width: fit-content;
  align-self: end;
  margin-top: 2px;
  color: var(--link-color);
  font-weight: 820;
}

.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--paper);
  padding: 74px 0 62px;
  border-top: 1px solid rgba(242, 238, 235, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.blog-index .blog-grid {
  margin-top: 30px;
}

.blog-load-more {
  display: flex;
  margin: 28px auto 0;
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  content: "";
  opacity: 0.48;
  transform: translateX(-50%);
}

.footer-grid {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid h2,
.footer-grid .footer-title {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--footer-heading);
}

.footer-grid p {
  color: var(--footer-text);
}

.footer-grid a {
  color: var(--footer-link);
}

.footer-policy-links a,
.footer-policy-links button {
  color: var(--footer-bottom-link);
}

.footer-links,
.footer-policy-links,
.footer-socials {
  display: grid;
  gap: 10px;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 18px;
}

.footer-grid p,
.footer-grid a,
.footer-grid button {
  overflow-wrap: anywhere;
}

.footer-socials {
  grid-template-columns: repeat(3, max-content);
  gap: 12px;
  margin-top: 18px;
}

.footer-socials a {
  border: 1px solid var(--footer-social-border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--footer-social-text);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  color: var(--footer-heading);
}

.footer-brand .brand-logo {
  height: 34px;
  max-width: 190px;
  filter: var(--footer-logo-filter);
  opacity: 0.9;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--scroll-top-bg);
  color: var(--scroll-top-text);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: var(--whatsapp-color, var(--floating-whatsapp-bg));
  color: var(--floating-whatsapp-icon);
  box-shadow: 0 14px 34px rgba(23, 46, 37, 0.26);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 17px 38px rgba(23, 46, 37, 0.32);
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.whatsapp-float.is-right { right: 22px; }
.whatsapp-float.is-left { left: 22px; }
.whatsapp-right-active .scroll-top { bottom: 92px; }
.assistant-right-active .scroll-top { bottom: 92px; }
.floating-collision-left .chat-widget.is-left,
.floating-collision-right .chat-widget.is-right { bottom: 92px; }
.floating-collision-right .scroll-top { bottom: 162px; }

.chat-widget {
  position: fixed;
  right: auto;
  left: auto;
  bottom: 22px;
  z-index: 31;
  width: min(320px, calc(100vw - 44px));
}

.chat-widget.is-left { left: 22px; }
.chat-widget.is-right { right: 22px; }

.chat-toggle {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(242, 238, 235, 0.22);
  border-radius: 999px;
  background: var(--assistant-color, var(--floating-assistant-bg));
  color: var(--assistant-text-color, var(--floating-assistant-text));
  cursor: pointer;
  font-weight: 820;
  padding: 10px 16px;
}

.chat-toggle-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.chat-toggle-text-mobile {
  display: none;
}

.chat-widget.is-desktop-icon-only {
  width: 52px;
}

/* Asistan butonu boyutu (admin panelinden seçilir: Küçük/Orta/Büyük). Orta = varsayılan, ek sınıf
   gerekmez. Sabit boyutlar (min-height/padding/font-size/ikon çapı) birlikte ölçeklenir ki buton
   içeriğiyle orantısız görünmesin. */
.chat-widget.is-size-sm .chat-toggle {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.86rem;
}

.chat-widget.is-size-sm .chat-toggle-icon {
  width: 19px;
  height: 19px;
}

.chat-widget.is-size-sm.is-desktop-icon-only {
  width: 42px;
}

.chat-widget.is-size-lg .chat-toggle {
  min-height: 56px;
  padding: 13px 20px;
  font-size: 1.04rem;
}

.chat-widget.is-size-lg .chat-toggle-icon {
  width: 30px;
  height: 30px;
}

.chat-widget.is-size-lg.is-desktop-icon-only {
  width: 62px;
}

.chat-widget.is-desktop-icon-only .chat-toggle {
  width: 52px;
  min-height: 52px;
  padding: 0;
}

.chat-widget.is-desktop-icon-only .chat-toggle-text {
  display: none;
}

.chat-widget.is-desktop-icon-only .chat-panel {
  position: absolute;
  bottom: 62px;
  width: min(300px, calc(100vw - 44px));
  margin: 0;
}

.chat-widget.is-left.is-desktop-icon-only .chat-panel { left: 0; }
.chat-widget.is-right.is-desktop-icon-only .chat-panel { right: 0; }

.chat-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-panel-head p {
  flex: 1;
  margin: 0;
}

.chat-close {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.chat-panel {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 16px;
}

.chat-panel p,
.chat-result {
  color: var(--ink-soft);
  line-height: 1.5;
}

.chat-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}

.chat-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.cookie-consent-visible .chat-widget,
.cookie-consent-visible .whatsapp-float {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.policy-page h1,
.blog-detail h1 {
  max-width: 900px;
  margin: 16px 0 22px;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.blog-detail {
  background: var(--blog-detail-bg);
}

.policy-page h2 {
  margin: 40px 0 12px;
  color: var(--sage-dark);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.policy-page .section {
  max-width: 920px;
}

.policy-page .policy-updated {
  margin: -8px 0 30px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.policy-content {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 18px 54px rgba(36, 59, 51, 0.08);
  padding: clamp(22px, 5vw, 42px);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.policy-content ul {
  display: grid;
  gap: 7px;
  padding-inline-start: 22px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 80;
  display: grid;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--cookie-border);
  border-radius: 16px;
  background: var(--cookie-bg);
  box-shadow: 0 24px 80px rgba(18, 28, 23, 0.32);
  color: var(--cookie-text);
  padding: 18px 20px;
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-copy strong {
  display: block;
  font-size: 1.02rem;
}

.cookie-copy p {
  max-width: 720px;
  margin: 5px 0 0;
  color: var(--cookie-text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-copy a,
.cookie-preferences-actions a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions .button {
  width: auto;
  min-height: 42px;
  white-space: nowrap;
}

.cookie-actions .button.primary.dark,
.cookie-preferences-actions .button.primary.dark {
  background: var(--cookie-button-bg);
  color: var(--cookie-button-text);
}

.cookie-actions .outline {
  border-color: var(--cookie-border);
  color: var(--cookie-text);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, 0.68);
  backdrop-filter: blur(5px);
}

.cookie-preferences {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 22px;
}

.cookie-preferences-head,
.cookie-preferences-actions,
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-preferences-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.cookie-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.45rem;
}

.cookie-option {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.cookie-option span {
  display: grid;
  gap: 4px;
}

.cookie-option small {
  color: var(--ink-soft);
  line-height: 1.45;
}

.cookie-option input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--sage-dark);
}

.cookie-preferences-actions {
  align-items: flex-end;
  margin-top: 8px;
}

.cookie-settings-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: rgba(242, 238, 235, 0.74);
  cursor: pointer;
  padding: 0;
  text-align: inherit;
}

body.cookie-modal-open {
  overflow: hidden;
}

.blog-detail img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-page {
  min-height: 100vh;
  background: #f2eeeb;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  display: grid;
  width: min(440px, 100%);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 28px;
}

.admin-login-card h1 {
  margin: 0;
  font-size: 2.4rem;
}

.admin-login-card label,
.admin-form label,
.lead-detail label {
  display: grid;
  gap: 7px;
  color: #000000;
  font-size: 0.88rem;
  font-weight: 760;
}

.admin-login-card input,
.admin-input,
.admin-form input,
.admin-form select,
.admin-form textarea,
.lead-detail input,
.lead-detail select,
.lead-detail textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 12px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.admin-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 780;
}

.admin-tabs button[data-active="true"] {
  background: var(--sage-dark);
  color: var(--paper);
}

.crm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 18px;
  align-items: start;
}

.lead-detail {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f4f0;
  padding: 16px;
}

.lead-detail h2 {
  margin: 0;
}

.lead-detail dl {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 7px 12px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.lead-detail dt {
  color: var(--ink);
  font-weight: 800;
}

.admin-json {
  width: 100%;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.blog-admin-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.blog-admin-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f4f0;
  padding: 14px;
}

.admin-topbar {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.admin-topbar .brand {
  color: var(--ink);
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.admin-hero {
  max-width: 840px;
}

.admin-hero h1 {
  margin: 14px 0 0;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
}

.admin-hero p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.65;
}

.admin-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button.danger {
  color: #924331;
}

.admin-status {
  margin: 14px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.lead-table th,
.lead-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.lead-table th {
  background: #f2eeeb;
  color: #000000;
  font-weight: 820;
}

.lead-table td {
  color: var(--ink-soft);
  line-height: 1.45;
}

html[dir="rtl"] .lead-table th,
html[dir="rtl"] .lead-table td {
  text-align: right;
}

@media (max-width: 980px) {
  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

  .hero-inner {
    min-height: 532px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 8vw, 4.7rem);
  }

  .hero-copy {
    font-size: 1.16rem;
  }

  .split,
  .section-heading,
  .lead-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .lead-layout,
  .contact-layout {
    gap: 24px;
  }

  .services-layout h2,
  .block-heading h2,
  .lead-copy h2,
  .contact-layout h2 {
    font-size: 3rem;
  }

  .lead-copy {
    position: static;
  }

  .process-steps,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(var(--blog-cols-tablet), minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .operations-grid,
  .evidence-grid,
  .footer-grid,
  .crm-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-inner,
  .section,
  .lead-layout,
  .admin-topbar,
  .admin-shell,
  .contact-layout {
    width: min(100% - 28px, 1180px);
  }

  /* Dar ekranlarda ülke seçici ve ulusal numara alt alta gelir; taşma olmaz. */
  .phone-field-inputs {
    flex-direction: column;
  }

  .phone-country {
    max-width: 100%;
  }

  .phone-country-panel {
    max-width: 100%;
  }

  .site-nav {
    width: 100%;
    padding: 20px 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    border: 1px solid var(--header-border);
    border-radius: 8px;
    background: var(--header-bg);
    box-shadow: var(--shadow);
  }

  .nav-main {
    display: contents;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .language-switcher {
    margin: 8px;
    justify-content: space-between;
  }

  .language-switcher a {
    flex: 1;
    padding: 0;
  }

  .hero {
    min-height: 540px;
    background-image: url("/public/lumetica-hero1-mobile.webp");
  }

  .hero-slide {
    background-image: var(--hero-mobile-image, var(--hero-image));
  }

  .hero-overlay {
    background: linear-gradient(90deg, var(--hero-overlay-color) 0%, color-mix(in srgb, var(--hero-overlay-color) 79%, transparent) 54%, color-mix(in srgb, var(--hero-overlay-color) 30%, transparent) 100%);
  }

  html[dir="rtl"] .hero-overlay {
    background: linear-gradient(270deg, var(--hero-overlay-color) 0%, color-mix(in srgb, var(--hero-overlay-color) 79%, transparent) 54%, color-mix(in srgb, var(--hero-overlay-color) 30%, transparent) 100%);
  }

  .hero-inner {
    min-height: 470px;
    padding: 34px 0 54px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.15rem);
    line-height: 1;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .lead-actions .button,
  .contact-form > .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .category-band > div {
    width: min(100% - 28px, 1180px);
    padding: 28px 0;
  }

  .product-slider-head {
    align-items: flex-start;
  }

  .product-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card-media {
    min-height: var(--product-image-height);
    padding: 10px;
  }

  .product-card img {
    height: calc(var(--product-image-height) - 20px);
    max-height: var(--product-image-height);
  }

  .product-card-body {
    min-height: 120px;
    padding: 14px;
  }

  html[dir="rtl"] .nav-links {
    flex-direction: column;
  }

  .services-layout h2,
  .block-heading h2,
  .lead-copy h2,
  .admin-hero h1,
  .contact-layout h2 {
    font-size: 2.35rem;
  }

  .service-grid,
  .process-steps,
  .blog-grid,
  .model-grid,
  .form-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .model-grid article,
  .process-steps article,
  .operations-grid article,
  .evidence-grid article {
    min-height: 190px;
  }

  .service-card {
    min-height: var(--service-card-min-height);
    grid-template-rows: 3px auto 1fr;
  }

  .service-card h3 {
    min-height: 0;
  }

  .lead-layout {
    padding: 64px 0;
  }

  .brand-test-form {
    padding: 18px;
  }

  .admin-topbar,
  .admin-actions,
  .chat-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-widget {
    bottom: 14px;
    width: 52px;
  }

  .chat-widget.is-left { right: auto; left: 14px; }
  .chat-widget.is-right { right: 14px; left: auto; }

  .chat-toggle {
    width: 52px;
    min-height: 52px;
    border-radius: 50%;
    padding: 0;
    font-size: 0;
    box-shadow: 0 12px 30px rgba(23, 46, 37, 0.24);
  }

  .chat-toggle-icon {
    font-size: 1.05rem;
  }

  .chat-panel {
    position: absolute;
    bottom: 62px;
    left: 0;
    width: min(300px, calc(100vw - 28px));
    max-height: min(420px, calc(100vh - 110px));
    margin: 0;
    overflow: auto;
  }

  .chat-widget.is-right .chat-panel {
    right: 0;
    left: auto;
  }

  .chat-toggle-text-desktop {
    display: none;
  }

  .chat-toggle-text-mobile {
    display: inline;
    font-size: 0.82rem;
  }

  .chat-widget.is-mobile-icon-only .chat-toggle-text-mobile {
    display: none;
  }

  .chat-widget:not(.is-mobile-icon-only) {
    width: auto;
    max-width: calc(100vw - 28px);
  }

  .chat-widget:not(.is-mobile-icon-only) .chat-toggle {
    width: auto;
    min-width: 52px;
    padding: 0 15px;
    font-size: 0.82rem;
  }

  .whatsapp-float {
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float.is-right { right: 14px; }
  .whatsapp-float.is-left { left: 14px; }
  .whatsapp-right-active .scroll-top { bottom: 78px; }
  .assistant-right-active .scroll-top { bottom: 78px; }
  .floating-collision-left .chat-widget.is-left,
  .floating-collision-right .chat-widget.is-right { bottom: 78px; }
  .floating-collision-right .scroll-top { bottom: 142px; }

  .site-footer {
    padding: 54px 0 46px;
  }

  .site-footer::before {
    width: calc(100% - 28px);
  }

  .footer-socials {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions [data-cookie-accept] {
    grid-column: 1 / -1;
  }

  .cookie-actions .button {
    width: 100%;
    white-space: normal;
  }

  .cookie-preferences-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-preferences-actions .button {
    width: 100%;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 390px) {
  .hero-inner,
  .section,
  .lead-layout,
  .contact-layout {
    width: min(100% - 22px, 1180px);
  }

  .brand-logo {
    max-width: 150px;
    height: 31px;
  }

  .product-track {
    grid-template-columns: 1fr;
  }

  .product-card-body {
    min-height: 0;
  }

  .services-layout h2,
  .block-heading h2,
  .lead-copy h2,
  .contact-layout h2 {
    font-size: 2.05rem;
  }

  .brand-test-form,
  .contact-form,
  .contact-cta-card,
  .policy-content {
    padding: 16px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .cookie-actions [data-cookie-accept] {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide {
    animation: none;
  }

  .hero-slide:not(:first-child) {
    opacity: 0;
  }

  .product-track {
    scroll-behavior: auto;
  }

  .service-grid.is-reveal-ready .service-card,
  .service-grid.is-reveal-ready.is-visible .service-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .process-steps.is-reveal-ready article,
  .process-steps.is-reveal-ready.is-visible article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.footer-grid .footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: inherit;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* --- Brand logo (admin panelden yüklenen) --- */
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
}

/* --- Blog detail page --- */
.blog-detail .blog-article {
  max-width: 820px;
  padding-top: 56px;
}

.blog-detail .blog-article h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.blog-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: -8px 0 22px;
}

.blog-hero {
  margin: 6px 0 22px;
}

.blog-excerpt {
  font-size: 1.15rem;
  font-weight: 620;
  line-height: 1.6;
}

.blog-body p {
  line-height: 1.75;
  color: var(--ink);
}

.blog-back {
  margin-top: 38px;
}

.form-fields {
  display: contents;
}

.block-heading .blog-all-link {
  margin-top: 12px;
  align-self: flex-start;
}
