/* =========================================================================
 * Kurumsal Web Tasarım - page-specific styles
 * Loaded from: /kurumsal-web-tasarim/index.php via $meta['extra_head']
 * Notes: Tüm renkler/spacing main.css token'larından (--neon, --bg-deep, vb).
 * ========================================================================= */

/* Subhero altı güven satırı */
.kwt-trustline {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}
.kwt-trustline strong { color: var(--text); font-weight: 600; }
.kwt-trustline .sep { color: var(--text-dim); opacity: 0.5; }
@media (max-width: 600px) { .kwt-trustline { display: none; } }

/* 3 SEO feature paragraph kartları */
.kwt-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
@media (max-width: 980px) { .kwt-features { grid-template-columns: 1fr; } }
.kwt-feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: border-color .3s, transform .3s;
}
.kwt-feature:hover { border-color: rgba(34,211,238,0.25); transform: translateY(-3px); }
.kwt-feature-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.22);
  display: grid; place-items: center;
  color: var(--neon);
  margin-bottom: 20px;
}
.kwt-feature h3 { font-size: 19px; margin-bottom: 12px; letter-spacing: -0.02em; }
.kwt-feature p { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; margin: 0; }
.kwt-feature p strong { color: var(--text); font-weight: 600; }

/* Inline lead form */
.kwt-quote-section { padding-top: 60px; padding-bottom: 60px; }
.kwt-quote {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.kwt-quote::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand);
}
@media (max-width: 880px) {
  .kwt-quote { grid-template-columns: 1fr; padding: 30px 22px; gap: 28px; }
}
.kwt-quote-left .eyebrow { margin-bottom: 14px; }
.kwt-quote-left h2 { font-size: clamp(24px, 3vw, 32px); margin: 4px 0 14px; letter-spacing: -0.025em; }
.kwt-quote-left > p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 18px; line-height: 1.65; }
.kwt-quote-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.kwt-quote-bullets li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-muted); }
.kwt-quote-bullets li::before {
  content: ''; position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(34,211,238,0.14);
  border: 1px solid rgba(34,211,238,0.35);
}
.kwt-quote-bullets li::after {
  content: ''; position: absolute; left: 5px; top: 9px;
  width: 5px; height: 8px;
  border: solid var(--neon); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.kwt-quote-form { position: relative; }
.kwt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 540px) { .kwt-form-row { grid-template-columns: 1fr; } }
.kwt-quote-form .form-field { margin-bottom: 12px; }
.kwt-quote-form textarea { resize: vertical; min-height: 84px; font-family: inherit; }
.kwt-form-msg { font-size: 13.5px; padding: 10px 12px; border-radius: 8px; margin-top: 12px; display: none; }
.kwt-form-msg.ok  { display: block; background: rgba(34,211,238,0.10); border: 1px solid rgba(34,211,238,0.3); color: #67e8f9; }
.kwt-form-msg.err { display: block; background: rgba(239,68,68,0.10);   border: 1px solid rgba(239,68,68,0.3);   color: #fca5a5; }
.kwt-kvkk { font-size: 12px; color: var(--text-dim); margin: 14px 0 0; text-align: center; line-height: 1.5; }
.kwt-kvkk a { color: var(--neon); text-decoration: underline; text-underline-offset: 2px; }

/* Lokasyon kartları */
.kwt-locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 880px) { .kwt-locations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .kwt-locations { grid-template-columns: 1fr; } }
.kwt-loc-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all .25s;
  text-decoration: none; color: inherit;
}
.kwt-loc-card:hover { border-color: rgba(34,211,238,0.28); transform: translateY(-2px); background: rgba(34,211,238,0.04); }
.kwt-loc-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.22);
  display: grid; place-items: center;
  color: var(--neon); flex-shrink: 0;
}
.kwt-loc-text { flex: 1; min-width: 0; }
.kwt-loc-title { font-size: 14.5px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.kwt-loc-desc { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; line-height: 1.4; }
.kwt-loc-arrow { font-size: 18px; color: var(--text-dim); transition: transform .25s, color .25s; flex-shrink: 0; }
.kwt-loc-card:hover .kwt-loc-arrow { color: var(--neon); transform: translateX(3px); }
.kwt-locations-cta { text-align: center; margin-top: 24px; }

/* Sözlük kartları */
.kwt-dict-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .kwt-dict-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .kwt-dict-grid { grid-template-columns: 1fr; } }
.kwt-dict-card {
  display: flex; flex-direction: column;
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all .25s;
  text-decoration: none; color: inherit;
}
.kwt-dict-card:hover { border-color: rgba(34,211,238,0.25); transform: translateY(-2px); }
.kwt-dict-card h4 { font-size: 15.5px; margin-bottom: 10px; letter-spacing: -0.015em; }
.kwt-dict-card p { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.6; flex: 1; }
.kwt-dict-more { font-size: 12px; font-weight: 600; color: var(--neon); letter-spacing: 0.02em; }

/* Keyword tags - kayar marquee yapısı */
.kwt-tags-section { padding: 60px 0; }
/* Başlık desktop'ta tek satır */
.kwt-tags-section .ph { max-width: none; }
@media (min-width: 901px) {
  .kwt-tags-section .ph h2 { white-space: nowrap; }
}
.kwt-tags-marquee {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.kwt-tags-row {
  overflow: hidden;
  position: relative;
}
.kwt-tags-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  animation: kwtTagsMarquee 42s linear infinite;
}
.kwt-tags-track--reverse {
  animation: kwtTagsMarqueeReverse 48s linear infinite;
}
.kwt-tags-marquee:hover .kwt-tags-track { animation-play-state: paused; }
@keyframes kwtTagsMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes kwtTagsMarqueeReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.kwt-tags-track a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-size: 13px; color: var(--text-muted);
  transition: border-color .25s, background .25s, color .25s;
  letter-spacing: -0.005em;
}
.kwt-tags-track a:hover {
  border-color: rgba(34,211,238,0.32);
  background: rgba(34,211,238,0.06);
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
  .kwt-tags-track,
  .kwt-tags-track--reverse { animation: none; }
}

/* =========================================================================
 * MOBİL DÜZENİ (≤ 600px)
 *  - Faydaları / Kritik Unsurlar / Hizmet Bölgeleri: 2 sütun (yazılar küçülür)
 *  - Standartlarımız / Çalışma Süreci / Sözlük: yatay carousel (scroll-snap)
 * ========================================================================= */
@media (max-width: 600px) {

  /* --- Faydaları: 2 sütun --- */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .benefit-card { padding: 16px 14px; }
  .benefit-card .b-ico {
    width: 36px; height: 36px; border-radius: 9px;
    margin-bottom: 10px;
  }
  .benefit-card .b-ico svg { width: 18px; height: 18px; }
  .benefit-card h4 {
    font-size: 13.5px; margin-bottom: 6px;
    letter-spacing: -0.01em; line-height: 1.25;
  }
  .benefit-card p { font-size: 12px; line-height: 1.5; }

  /* --- Standartlarımız: tek sütun carousel --- */
  .kwt-features {
    display: flex !important;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    padding: 4px 24px 16px;
    margin: 0 -28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .kwt-features::-webkit-scrollbar { display: none; }
  .kwt-feature {
    flex: 0 0 calc(86% - 6px);
    scroll-snap-align: start;
    min-width: 0;
    padding: 22px 20px;
  }
  .kwt-feature h3 { font-size: 17px; margin-bottom: 10px; }
  .kwt-feature p { font-size: 13.5px; line-height: 1.6; }

  /* --- Kritik Unsurlar: 2 sütun --- */
  .checklist {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .check-item {
    padding: 12px 12px;
    gap: 8px;
    align-items: flex-start;
  }
  .check-item .ck { width: 18px; height: 18px; border-radius: 5px; }
  .check-item .ck svg { width: 10px; height: 10px; }
  .check-item .ct { font-size: 12.5px; margin-bottom: 2px; line-height: 1.25; }
  .check-item .cd { font-size: 11px; line-height: 1.4; }

  /* --- Çalışma Süreci: carousel --- */
  .phases-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    padding: 4px 24px 16px;
    margin: 0 -28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .phases-grid::-webkit-scrollbar { display: none; }
  .phase-card {
    flex: 0 0 calc(82% - 6px);
    scroll-snap-align: start;
    min-width: 0;
  }

  /* --- Hizmet Bölgeleri: 2 sütun --- */
  .kwt-locations {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .kwt-loc-card {
    padding: 12px 12px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .kwt-loc-ico { width: 32px; height: 32px; border-radius: 8px; }
  .kwt-loc-ico svg { width: 16px; height: 16px; }
  .kwt-loc-title { font-size: 12.5px; }
  .kwt-loc-desc { font-size: 11px; line-height: 1.35; }
  .kwt-loc-arrow { display: none; }

  /* --- Sözlük: 2 sütun carousel --- */
  .kwt-dict-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    padding: 4px 24px 16px;
    margin: 0 -28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .kwt-dict-grid::-webkit-scrollbar { display: none; }
  .kwt-dict-card {
    flex: 0 0 calc(48% - 5px);
    scroll-snap-align: start;
    min-width: 0;
    padding: 16px 14px;
  }
  .kwt-dict-card h4 { font-size: 13.5px; margin-bottom: 8px; line-height: 1.25; }
  .kwt-dict-card p { font-size: 11.5px; line-height: 1.5; margin: 0 0 10px; }
  .kwt-dict-more { font-size: 11px; }
}
