/* =============================================
   RepairX B2B — pages.css  v3
   Dark-first design — sitenin premium navy
   aesthetic'iyle tam uyumlu
   ============================================= */

:root { color-scheme: light; }

/* ══════════════════════════════════════
   PAGE HERO
══════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 4.5rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 10% 50%, rgba(37,99,235,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(29,78,216,.08) 0%, transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }

.page-breadcrumb {
  display: flex; align-items: center; gap: .45rem;
  font-size: .73rem; font-weight: 600;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: .08em;
}
.page-breadcrumb a { color: rgba(255,255,255,.45); transition: color var(--trans); }
.page-breadcrumb a:hover { color: rgba(255,255,255,.80); }
.page-breadcrumb svg { opacity: .45; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff; margin-bottom: .8rem; letter-spacing: -.025em; line-height: 1.15;
}
.page-hero p {
  color: rgba(255,255,255,.70);
  font-size: 1.02rem; max-width: 580px; line-height: 1.75;
}
.page-hero .section-tag {
  color: #93c5fd;
  background: rgba(29,78,216,.22);
  border-color: rgba(147,197,253,.28);
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════
   SECTION-LEGAL  — dark theme içerik alanı
══════════════════════════════════════ */
.section-legal {
  background: #0b1120;    /* hero'dan biraz farklı — çok hafif ayrım */
  padding: 5rem 0 6rem;
}

/* ── Legal layout ── */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr 265px;
  gap: 3rem;
  align-items: start;
}
.legal-sidebar { position: sticky; top: 96px; }

/* TOC sidebar — glass card */
.legal-toc {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}
.legal-toc h4 {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
  margin-bottom: .9rem;
}
.legal-toc ul { display: flex; flex-direction: column; gap: .05rem; }
.legal-toc ul li a {
  display: block; font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.58);
  padding: .38rem .65rem; border-radius: 6px;
  transition: background var(--trans), color var(--trans);
  line-height: 1.4;
}
.legal-toc ul li a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.legal-toc-divider { height: 1px; background: rgba(255,255,255,.08); margin: .9rem 0; }
.legal-toc-contact { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.legal-toc-contact strong { display: block; color: rgba(255,255,255,.70); margin-bottom: .25rem; font-size: .82rem; }
.legal-toc-contact a { color: #7ab3ff; font-weight: 500; }
.legal-toc-contact a:hover { color: #93c5fd; }

/* ── Legal body typography ── */
.legal-body { color: rgba(255,255,255,.82); }

.legal-body h2 {
  font-size: 1.3rem; font-weight: 700;
  color: #ffffff;
  margin: 2.75rem 0 .85rem;
  padding: 1.75rem 0 0 1.1rem;
  border-top: 1px solid rgba(255,255,255,.09);
  position: relative; line-height: 1.25;
}
.legal-body h2::before {
  content: '';
  position: absolute; left: 0;
  top: calc(1.75rem + .12em); bottom: .08em;
  width: 3px; background: var(--blue); border-radius: 2px;
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h2:first-child::before { top: .12em; }

.legal-body h3 {
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,.92);
  margin: 1.6rem 0 .55rem;
}
.legal-body p {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85; margin-bottom: 1rem;
}
.legal-body ul,
.legal-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-body ul li,
.legal-body ol li {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.82; margin-bottom: .45rem;
}
.legal-body ol { counter-reset: legal-counter; list-style: none; padding-left: 0; }
.legal-body ol > li { counter-increment: legal-counter; padding-left: 2.2rem; position: relative; }
.legal-body ol > li::before {
  content: counter(legal-counter) '.';
  position: absolute; left: 0;
  font-weight: 700; color: #7ab3ff; font-size: .88rem; line-height: 1.82;
}
.legal-body strong { color: rgba(255,255,255,.95); font-weight: 600; }
.legal-body a { color: #7ab3ff; font-weight: 500; }
.legal-body a:hover { color: #93c5fd; text-decoration: underline; }

/* Info box */
.legal-info-box {
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(96,165,250,.22);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.25rem; margin: 1.4rem 0;
}
.legal-info-box p {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  margin: 0; line-height: 1.72;
}
.legal-info-box a { color: #7ab3ff; }

/* Placeholder */
.legal-placeholder {
  display: inline-block;
  background: rgba(37,99,235,.18);
  border: 1.5px dashed rgba(96,165,250,.50);
  border-radius: 4px;
  padding: .06rem .48rem;
  font-size: .84em;
  color: #93c5fd;
  font-weight: 700;
}

/* Table */
.legal-table {
  width: 100%; border-collapse: collapse;
  margin: 1.4rem 0; font-size: .88rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-sm); overflow: hidden;
}
.legal-table th {
  background: rgba(255,255,255,.06); text-align: left;
  padding: .8rem 1rem; font-size: .7rem;
  font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.50);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.legal-table td {
  padding: .8rem 1rem;
  color: rgba(255,255,255,.72);
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.07);
  line-height: 1.65; vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: rgba(255,255,255,.03); }
.legal-table strong { color: rgba(255,255,255,.92); }

/* Update note */
.legal-update-note {
  display: flex; align-items: center; gap: .65rem;
  font-size: .8rem;
  color: rgba(255,255,255,.42);
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  line-height: 1.55;
}
.legal-update-note svg { stroke: rgba(255,255,255,.35); flex-shrink: 0; }
.legal-update-note a { color: #7ab3ff; font-weight: 500; }

/* ══════════════════════════════════════
   KONTAKT PAGE  — dark theme
══════════════════════════════════════ */
.section-kontakt {
  background: #0b1120;
  padding: 5rem 0 6rem;
}

.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Left col */
.kontakt-info-col { display: flex; flex-direction: column; gap: 1.4rem; }
.kontakt-col-title {
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,.90);
  margin-bottom: -.15rem;
}

.kontakt-info-cards { display: flex; flex-direction: column; gap: .8rem; }
.kontakt-info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  padding: 1.15rem 1.35rem;
  backdrop-filter: blur(8px);
  transition: background var(--trans), border-color var(--trans);
}
.kontakt-info-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15);
}
.kontakt-info-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: rgba(37,99,235,.20);
  border: 1px solid rgba(96,165,250,.20);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kontakt-info-icon svg { stroke: #7ab3ff; }
.kontakt-info-text { flex: 1; }
.kontakt-info-text strong {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.40); margin-bottom: .28rem;
}
.kontakt-info-text a,
.kontakt-info-text span {
  display: block; font-size: .95rem; font-weight: 600;
  color: rgba(255,255,255,.88); line-height: 1.5;
}
.kontakt-info-text a:hover { color: #7ab3ff; }

/* caption — alt satır metin */
.info-caption {
  display: block;
  font-size: .83rem; font-weight: 500;
  color: rgba(255,255,255,.46);
  line-height: 1.5; margin-top: .1rem;
}
.info-caption:hover { color: #7ab3ff; }

/* Priority badge */
.kontakt-priority-badge {
  display: flex; align-items: flex-start; gap: .85rem;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(96,165,250,.20);
  border-radius: var(--r-md);
  padding: 1.1rem 1.35rem;
}
.kontakt-priority-badge .badge-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.20);
  flex-shrink: 0; margin-top: .38rem;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.20); }
  50%       { box-shadow: 0 0 0 7px rgba(34,197,94,.06); }
}
.kontakt-priority-badge strong { color: rgba(255,255,255,.92); display: block; font-size: .88rem; margin-bottom: .2rem; }
.kontakt-priority-badge p { font-size: .83rem; color: rgba(255,255,255,.62); line-height: 1.6; margin: 0; }
.kontakt-priority-badge a { color: #7ab3ff; }

/* Map */
.kontakt-map {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  height: 220px;
}
.kontakt-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Form card — right col */
.b2b-contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-xl);
  padding: 2.4rem;
  backdrop-filter: blur(16px);
}
.b2b-contact-form .form-title {
  font-size: 1.35rem; font-weight: 700;
  color: #ffffff;
  margin-bottom: .4rem; line-height: 1.25;
}
.b2b-contact-form .form-subtitle {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.75rem; line-height: 1.65;
}

/* Form fields */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .form-group.full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .38rem; }
.form-group label {
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
}
.form-group label span { color: #7ab3ff; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font); font-size: .93rem;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
  outline: none; width: 100%;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.form-group select option { background: #0f1929; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(96,165,250,.55);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  background: rgba(255,255,255,.09);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.28); }
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

/* Consent */
.form-consent {
  display: flex; align-items: flex-start; gap: .75rem; margin-top: .5rem;
}
.form-consent input[type="checkbox"] {
  width: 17px; height: 17px; flex-shrink: 0; margin-top: .18rem;
  accent-color: var(--blue); cursor: pointer;
}
.form-consent label {
  font-size: .82rem;
  color: rgba(255,255,255,.52);
  line-height: 1.6; cursor: pointer; letter-spacing: 0; text-transform: none; font-weight: 400;
}
.form-consent label a { color: #7ab3ff; text-decoration: underline; }

.form-submit-wrap { margin-top: 1.25rem; }
.form-submit-wrap .btn { width: 100%; justify-content: center; }
.form-note {
  text-align: center; font-size: .78rem;
  color: rgba(255,255,255,.38);
  margin-top: .85rem; line-height: 1.5;
}
.form-note svg { display: inline; vertical-align: middle; margin-right: .2rem; }

/* Trust strip */
.kontakt-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  padding: 2.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.55);
}
.trust-item svg { stroke: #7ab3ff; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .kontakt-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .legal-toc { display: none; }
}
@media (max-width: 768px) {
  .b2b-contact-form { padding: 1.5rem 1.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-group.full { grid-column: 1; }
  .kontakt-trust { gap: 1.25rem; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .section-legal, .section-kontakt { padding: 3.5rem 0 4.5rem; }
  .legal-body h2 { font-size: 1.15rem; }
  .legal-body p, .legal-body li { font-size: .9rem; }
  .legal-table { font-size: .82rem; }
  .legal-table th, .legal-table td { padding: .6rem .7rem; }
}
