/* ==========================================================================
   Güven, Fiyat Şeffaflığı ve Ek Hizmet Bölümleri (trust-sections.css)
   Ana sayfadaki "ikna katmanı": fiyat bandı, garanti, ek hizmetler,
   önce/sonra karşılaştırması ve haritalı iletişim bloğu.
   Tüm renkler brand-theme.css içindeki değişkenlerden gelir.
   ========================================================================== */

/* --- 1. Şeffaf fiyat bandı -------------------------------------------------- */
.ts-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}

.ts-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.ts-price-card.is-featured {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
}

.ts-price-flag {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 11px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-inverse);
  background: var(--primary);
  border-radius: 999px;
}

.ts-price-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-main);
}

.ts-price-sub {
  font-size: .84rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.ts-price-value {
  margin-top: 10px;
  font-size: clamp(1.6rem, 3.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--primary-hover);
}

.ts-price-unit {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-dim);
}

.ts-price-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .76rem;
  color: var(--text-muted);
}

.ts-price-meta b {
  color: var(--text-main);
  font-weight: 700;
}

.ts-price-note {
  margin-top: 22px;
  padding: 15px 18px;
  font-size: .78rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: var(--brand-tint);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
}

/* --- 2. Garanti ve ödeme koşulları ----------------------------------------- */
.ts-assurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.ts-assurance-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.ts-assurance-item svg {
  flex-shrink: 0;
  color: var(--primary);
}

.ts-assurance-item h3 {
  margin: 0 0 5px;
  font-size: .88rem;
  font-weight: 700;
}
.ts-price-meta--flush {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

.ts-price-cta {
  margin-top: 26px;
  text-align: center;
}

.ts-price-cta .btn-primary {
  display: inline-flex;
  padding: 14px 28px;
}

/* Footer'daki hukuki bağlantılar ve randevu butonu */
.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-theme .footer-link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .8125rem;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}




.ts-assurance-item p {
  margin: 0;
  font-size: .77rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --- 3. Ek hizmetler ------------------------------------------------------- */
.ts-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 14px;
}

.ts-service-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ts-service-card:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
}

.ts-service-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-tint, rgba(119, 84, 111, 0.08));
  color: var(--primary, #77546f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.ts-service-card h3 {
  margin: 0;
  font-size: .86rem;
  font-weight: 700;
  color: var(--text-main);
}

.ts-service-card p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ts-service-card span.ts-service-cta {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--primary);
}

/* --- 4. Önce / Sonra karşılaştırması -------------------------------------- */
.ts-ba {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  box-shadow: var(--shadow-md);
}

.ts-ba-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* WebP + JPEG yedeği için görseller <picture> içinde;
   picture kutuyu, img ise görseli kaplar. */
.ts-ba-frame picture {
  position: absolute;
  inset: 0;
  display: block;
}

.ts-ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ts-ba-before {
  clip-path: inset(0 calc(100% - var(--ts-ba-pos, 50%)) 0 0);
}

.ts-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ts-ba-pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .35);
  pointer-events: none;
}

.ts-ba-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  color: var(--text-main);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.ts-ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ts-ba-tag {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(36, 28, 41, .72);
  border-radius: 999px;
  pointer-events: none;
}

.ts-ba-tag.is-before { left: 14px; }
.ts-ba-tag.is-after { right: 14px; }

.ts-ba-hint {
  margin: 12px 0 0;
  font-size: .76rem;
  color: var(--text-dim);
  text-align: center;
}

/* --- 5. İletişim + harita -------------------------------------------------- */
.ts-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
}

.ts-map-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-map-row {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.ts-map-row svg {
  flex-shrink: 0;
  color: var(--primary);
}

.ts-map-row strong {
  display: block;
  font-size: .84rem;
  color: var(--text-main);
}

.ts-map-row span,
.ts-map-row a {
  font-size: .78rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ts-map-frame {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface-elevated);
}

.ts-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

@media (max-width: 900px) {
  .ts-map-grid { grid-template-columns: 1fr; }
}

/* --- 6. Keşif randevusu formu (lead-form.js) ------------------------------- */
/* Bal küvesi: yalnızca botların doldurduğu alan ekranda görünmez. */
.lead-honey {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.lead-consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--primary);
}

.lead-consent a {
  color: var(--primary);
  font-weight: 600;
}

.lead-form-status {
  margin: 0 0 12px;
  padding: 12px 15px;
  font-size: .78rem;
  line-height: 1.65;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-body);
  color: var(--text-muted);
}

.lead-form-status.is-success {
  background: rgba(40, 113, 79, .1);
  border-color: rgba(40, 113, 79, .32);
  color: var(--accent-emerald);
}

.lead-form-status.is-error {
  background: rgba(160, 52, 52, .09);
  border-color: rgba(160, 52, 52, .28);
  color: #9c3131;
}

.lead-form-status.is-warn {
  background: rgba(150, 116, 62, .12);
  border-color: rgba(150, 116, 62, .32);
  color: var(--accent-gold);
}

#leadSubmitBtn.is-loading {
  opacity: .7;
  cursor: progress;
}

.lead-success-panel {
  text-align: center;
  padding: 8px 0 4px;
}

.lead-success-panel .lead-success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  color: var(--accent-emerald);
  background: rgba(40, 113, 79, .12);
  border-radius: 50%;
}

.lead-success-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.lead-success-panel p {
  margin: 0 0 8px;
  font-size: .84rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.lead-success-panel .lead-reference {
  display: block;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--primary);
}

.lead-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

/* --- 7. Hareket azaltma tercihi tüm siteye saygı duyar -------------------- */
@media (prefers-reduced-motion: reduce) {
  .brand-theme *,
  .brand-theme *::before,
  .brand-theme *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

