/* İletişim — Framer kalitesi (FAQ ct-sys ile uyumlu tokenlar) */

.ct-sys {
  --ct-ink: #101534;
  --ct-muted: #637084;
  --ct-label: #637084;
  --ct-blue: #2563eb;
  --ct-bg: #eef3f8;
  --ct-card: rgba(255, 255, 255, 0.58);
  --ct-card-solid: rgba(255, 255, 255, 0.95);
  --ct-line: rgba(96, 104, 128, 0.14);
  --ct-line-soft: rgba(255, 255, 255, 0.58);
  --ct-shadow: 0 24px 70px rgba(42, 55, 80, 0.14);
  --ct-shadow-sm: 0 12px 36px rgba(42, 55, 80, 0.1);
  --ct-sans: "Figtree", "Poppins", system-ui, sans-serif;
  --ct-ui: "Poppins", system-ui, sans-serif;
  --ct-wa: #25d366;
  margin: 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem);
  color: var(--ct-ink);
  background: var(--ct-bg);
  font-family: var(--ct-ui);
}

body.contact-page--v2 #contact-main {
  background: var(--ct-bg);
}

.ct-sys__wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.ct-sys__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.ct-sys__label {
  margin: 0 0 0.65rem;
  font-family: var(--ct-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ct-blue);
}

.ct-sys__card {
  border: 1px solid var(--ct-line-soft);
  border-radius: 24px;
  background: var(--ct-card);
  box-shadow: var(--ct-shadow-sm);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

/* Klinik kartı */
.ct-sys__clinic {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 1rem;
  animation: ct-rise 0.55s ease both;
}

.ct-sys__clinic-name {
  margin: 0 0 0.35rem;
  font-family: var(--ct-sans);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ct-ink);
}

.ct-sys__clinic-doc {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ct-muted);
}

.ct-sys__clinic-addr {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ct-muted);
  text-wrap: pretty;
}

.ct-sys__maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ct-blue);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ct-sys__maps-link:hover {
  gap: 0.5rem;
  color: #1d4ed8;
}

/* Kanallar */
.ct-sys__channels-label {
  margin: 0 0 0.55rem;
  padding-left: 0.15rem;
  font-size: 12px;
  font-weight: 750;
  color: var(--ct-label);
}

.ct-sys__channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1rem;
}

.ct-sys__channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 58px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ct-line);
  border-radius: 16px;
  background: var(--ct-card);
  color: var(--ct-ink);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(42, 55, 80, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: ct-rise 0.55s ease both;
}

.ct-sys__channel:nth-child(1) { animation-delay: 0.05s; }
.ct-sys__channel:nth-child(2) { animation-delay: 0.1s; }
.ct-sys__channel:nth-child(3) { animation-delay: 0.15s; }

.ct-sys__channel:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: var(--ct-card-solid);
  transform: translateY(-2px);
  box-shadow: var(--ct-shadow-sm);
}

.ct-sys__channel--wa:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.ct-sys__channel-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--ct-blue);
}

.ct-sys__channel-icon svg {
  width: 20px;
  height: 20px;
}

.ct-sys__channel-icon--wa {
  background: rgba(37, 211, 102, 0.14);
  color: #128c7e;
}

.ct-sys__channel-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ct-sys__channel-key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ct-label);
}

.ct-sys__channel-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ct-ink);
  line-height: 1.3;
}

.ct-sys__channel-arrow {
  flex-shrink: 0;
  color: var(--ct-muted);
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ct-sys__channel-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ct-sys__channel:hover .ct-sys__channel-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
  color: var(--ct-blue);
}

/* Saatler */
.ct-sys__hours {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  animation: ct-rise 0.55s ease 0.18s both;
}

.ct-sys__hours-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--ct-blue);
}

.ct-sys__hours-icon svg {
  width: 20px;
  height: 20px;
}

.ct-sys__hours-key {
  margin: 0 0 0.2rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ct-label);
}

.ct-sys__hours-val {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ct-ink);
}

/* Harita */
.ct-sys__map {
  overflow: hidden;
  padding: 0;
  line-height: 0;
  animation: ct-rise 0.55s ease 0.22s both;
}

.ct-sys__map iframe {
  display: block;
  width: 100%;
  height: clamp(200px, 32vw, 280px);
  border: 0;
}

/* Form kartı */
.ct-sys__form-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--ct-shadow);
  animation: ct-rise 0.6s ease 0.08s both;
}

.ct-sys__form-title {
  margin: 0 0 0.65rem;
  font-family: var(--ct-sans);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ct-ink);
  text-wrap: balance;
}

.ct-sys__form-lede {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ct-muted);
  text-wrap: pretty;
}

.ct-sys__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ct-sys__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ct-sys__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ct-sys__field-label {
  font-size: 12px;
  font-weight: 750;
  color: var(--ct-label);
}

.ct-sys__field input,
.ct-sys__field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  min-height: 48px;
  border: 1px solid rgba(96, 104, 128, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--ct-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--ct-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ct-sys__field textarea {
  padding: 12px 16px;
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.ct-sys__field input::placeholder,
.ct-sys__field textarea::placeholder {
  color: var(--ct-label);
  opacity: 0.85;
}

.ct-sys__field input:focus,
.ct-sys__field textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ct-sys__check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.25rem 0 0.5rem;
  cursor: pointer;
  user-select: none;
}

.ct-sys__check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ct-sys__check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  border: 1.5px solid rgba(96, 104, 128, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-sys__check input:checked + .ct-sys__check-box {
  border-color: var(--ct-blue);
  background: var(--ct-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12l4 4 8-8' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.ct-sys__check input:focus-visible + .ct-sys__check-box {
  outline: 2px solid var(--ct-blue);
  outline-offset: 2px;
}

.ct-sys__check-text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ct-muted);
}

.ct-sys__check-text a {
  color: var(--ct-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ct-sys__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 52px;
  margin-top: 0.25rem;
  padding: 0 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(134deg, #307bc4 0%, #274760 100%);
  font-family: var(--ct-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(39, 71, 96, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ct-sys__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(39, 71, 96, 0.34);
}

.ct-sys__submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.ct-sys__submit-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 0.2s ease;
}

.ct-sys__submit:hover:not(:disabled) .ct-sys__submit-icon svg {
  transform: translateX(3px);
}

.ct-sys__tetkik {
  margin: 1.25rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ct-line);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ct-muted);
}

.ct-sys__tetkik a {
  color: var(--ct-blue);
  font-weight: 650;
  text-decoration: none;
}

.ct-sys__tetkik a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes ct-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .ct-sys__grid {
    grid-template-columns: 1fr;
  }

  .ct-sys__aside {
    order: 2;
  }

  .ct-sys__main {
    order: 1;
  }
}

@media (max-width: 640px) {
  .ct-sys__wrap {
    width: calc(100% - 32px);
  }

  .ct-sys__field-row {
    grid-template-columns: 1fr;
  }

  .ct-sys__channels {
    gap: 6px;
  }

  .ct-sys__channel {
    min-height: 52px;
    padding: 0.55rem 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-sys__clinic,
  .ct-sys__channel,
  .ct-sys__hours,
  .ct-sys__map,
  .ct-sys__form-card {
    animation: none;
  }

  .ct-sys__channel,
  .ct-sys__submit,
  .ct-sys__channel-arrow {
    transition: none;
  }
}
