/**
 * Birlikte Çalışalım — premium cinematic inquiry landing (orbital-hero tokens + layers).
 */

.cbsv-hero--contact-page {
  --cbsv-contact-glow-a: rgba(167, 139, 250, 0.32);
  --cbsv-contact-glow-b: rgba(123, 77, 255, 0.38);
  --cbsv-contact-glow-c: rgba(167, 139, 250, 0.2);
}

.cbsv-header__cta--current {
  box-shadow:
    0 4px 22px rgba(10, 10, 11, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 0 36px rgba(199, 180, 255, 0.28),
    0 0 1px rgba(199, 180, 255, 0.5);
}

/* — Shared intro (mirrors homepage cbsvHeroReveal) — */

.cbsv-hero--contact-page .cbsv-hero__intro--contact {
  max-width: clamp(520px, 88vw, 760px);
  padding-top: clamp(1.65rem, 5vw, 2.85rem);
  margin-bottom: clamp(2rem, 6vw, 3.75rem);
}

.cbsv-hero--contact-page .cbsv-hero__intro--contact::before {
  inset: -40px clamp(-3rem, -6vw, -4.5rem) -32px;
  opacity: 0.95;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(186, 199, 255, 0.22) 0%, transparent 50%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.38) 45%, rgba(255, 255, 255, 0) 78%);
}

@media (prefers-reduced-motion: no-preference) {
  .cbsv-hero--contact-page .cbsv-hero__intro--contact .cbsv-hero__subtitle:not(.cbsv-hero__subtitle--contact-second) {
    animation-delay: 0.26s;
  }

  .cbsv-hero--contact-page .cbsv-hero__intro--contact .cbsv-hero__subtitle--contact-second {
    margin-top: 0.55rem;
    animation-delay: 0.44s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cbsv-hero--contact-page .cbsv-hero__intro--contact .cbsv-hero__subtitle--contact-second {
    margin-top: 0.55rem;
  }
}

#birlikte-calisalim-form {
  scroll-margin-top: calc(var(--cbsv-header-h, 56px) + 28px);
}

/* — Shell & cinematic depth — */

.cbsv-contact__shell {
  flex: 1;
  padding-bottom: clamp(3.25rem, 9vw, 6rem);
  position: relative;
  isolation: isolate;
}

.cbsv-contact__fx {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cbsv-contact__scrim {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 75% at 50% -8%, rgba(123, 77, 255, 0.12) 0%, transparent 54%),
    radial-gradient(ellipse 50% 55% at 96% 32%, rgba(167, 139, 250, 0.1) 0%, transparent 48%),
    radial-gradient(ellipse 45% 50% at 4% 78%, rgba(199, 180, 255, 0.08) 0%, transparent 52%),
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.57) 0%,
      rgba(15, 23, 42, 0.36) 38%,
      rgba(251, 250, 255, 0.14) 100%
    );
}

.cbsv-contact__ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}

.cbsv-contact__ambient-orb--a {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  left: -12%;
  top: 18%;
  background: radial-gradient(circle at 40% 40%, rgba(123, 77, 255, 0.45), rgba(210, 198, 255, 0.18) 45%, transparent 70%);
  animation: cbsvContactOrbDrift 22s ease-in-out infinite alternate;
}

.cbsv-contact__ambient-orb--b {
  width: min(460px, 65vw);
  height: min(460px, 65vw);
  right: -8%;
  bottom: 22%;
  background: radial-gradient(circle at 60% 50%, rgba(167, 139, 250, 0.35), rgba(187, 170, 255, 0.12) 50%, transparent 72%);
  animation: cbsvContactOrbDrift 28s ease-in-out infinite alternate-reverse;
}

@keyframes cbsvContactOrbDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.06);
  }
}

.cbsv-contact__particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 12px rgba(186, 199, 255, 0.45),
    0 0 24px rgba(199, 180, 255, 0.2);
  opacity: 0.35;
  will-change: transform, opacity;
  animation: cbsvParticleFloat 14s ease-in-out infinite;
}

.cbsv-contact__particle--1 {
  width: 3px;
  height: 3px;
  top: 18%;
  left: 12%;
  animation-delay: 0s;
  animation-duration: 16s;
}

.cbsv-contact__particle--2 {
  width: 4px;
  height: 4px;
  top: 42%;
  right: 16%;
  animation-delay: -3s;
  animation-duration: 19s;
}

.cbsv-contact__particle--3 {
  width: 2px;
  height: 2px;
  bottom: 30%;
  left: 22%;
  animation-delay: -6s;
  animation-duration: 13s;
}

.cbsv-contact__particle--4 {
  width: 5px;
  height: 5px;
  top: 72%;
  right: 28%;
  animation-delay: -2s;
  animation-duration: 21s;
  opacity: 0.28;
}

.cbsv-contact__particle--5 {
  width: 2px;
  height: 2px;
  top: 8%;
  right: 40%;
  animation-delay: -8s;
  animation-duration: 17s;
}

@keyframes cbsvParticleFloat {
  0%,
  100% {
    opacity: 0.22;
    transform: translate3d(0, 0, 0);
  }
  33% {
    opacity: 0.45;
    transform: translate3d(8px, -14px, 0);
  }
  66% {
    opacity: 0.32;
    transform: translate3d(-12px, 10px, 0);
  }
}

.cbsv-contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.cbsv-contact__notice {
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.5;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 1;
  transform: translateY(0);
}

.cbsv-contact__notice--ok {
  background: rgba(199, 180, 255, 0.16);
  color: #06221a;
  box-shadow:
    0 0 32px rgba(199, 180, 255, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.cbsv-contact__notice--hata,
.cbsv-contact__notice--guvenlik {
  background: rgba(254, 226, 226, 0.22);
  color: #450a0a;
  border-color: rgba(252, 165, 165, 0.45);
}

/* — Main grid — */

.cbsv-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 960px) {
  .cbsv-contact__grid {
    grid-template-columns: 1fr;
  }
}

.cbsv-contact__panel {
  padding: clamp(1.65rem, 4.5vw, 2.65rem);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  box-shadow:
    0 26px 90px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 0 0 1px rgba(210, 198, 255, 0.06),
    0 0 64px rgba(154, 120, 255, 0.1);
}

.cbsv-contact__panel::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -48px;
  top: -64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--cbsv-contact-glow-a) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.cbsv-contact__panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -90px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--cbsv-contact-glow-c) 0%, transparent 55%),
    radial-gradient(circle at center, var(--cbsv-contact-glow-b) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.cbsv-contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cbsv-contact-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cbsv-contact-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}

@media (max-width: 520px) {
  .cbsv-contact-form__row--split {
    grid-template-columns: 1fr;
  }
}

.cbsv-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.cbsv-contact-form__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.68);
}

.cbsv-contact-form input,
.cbsv-contact-form select,
.cbsv-contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: #0f172a;
  padding: 0.82rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.43) inset,
    0 2px 10px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease;
}

.cbsv-contact-form textarea {
  resize: vertical;
  min-height: 128px;
}

.cbsv-contact-form input::placeholder,
.cbsv-contact-form textarea::placeholder {
  color: rgba(15, 23, 42, 0.38);
}

.cbsv-contact-form input:hover,
.cbsv-contact-form select:hover,
.cbsv-contact-form textarea:hover {
  border-color: rgba(123, 77, 255, 0.42);
  background: rgba(255, 255, 255, 0.55);
}

.cbsv-contact-form input:focus,
.cbsv-contact-form select:focus,
.cbsv-contact-form textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 0 0 3px rgba(123, 77, 255, 0.18),
    0 0 0 6px rgba(199, 180, 255, 0.1),
    0 14px 44px rgba(123, 77, 255, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.52) inset;
}

.cbsv-contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%231e293b' stroke-width='1.6'%3E%3Cpath d='M3 5l4 5 4-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
}

.cbsv-contact-form__actions {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cbsv-contact-form__submit {
  appearance: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  padding: 0.92rem 2.35rem;
  font-size: 0.945rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 44%, #0c122a 72%, #1a1033 100%);
  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 0 42px rgba(199, 180, 255, 0.24),
    0 0 60px rgba(154, 120, 255, 0.12);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.cbsv-contact-form__submit:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 48px rgba(15, 23, 42, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.26) inset,
    0 0 56px rgba(123, 77, 255, 0.32),
    0 0 32px rgba(167, 139, 250, 0.15);
}

.cbsv-contact-form__submit:focus-visible {
  outline: 2px solid rgba(199, 180, 255, 0.9);
  outline-offset: 3px;
}

.cbsv-contact-form__hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.58;
  color: rgba(15, 23, 42, 0.62);
  max-width: 38ch;
}

/* — Why choose — */

.cbsv-contact__why-board {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: clamp(1.55rem, 4vw, 2.35rem);
  box-shadow:
    0 24px 76px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 0 48px rgba(167, 139, 250, 0.06);
}

.cbsv-contact__why-title {
  font-size: clamp(1.45rem, 3vw, 1.82rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.82rem;
  color: #0a0f1c;
  line-height: 1.14;
  text-shadow:
    0 2px 20px rgba(255, 255, 255, 0.5),
    0 0 44px rgba(154, 120, 255, 0.12);
}

.cbsv-contact__why-intro {
  margin: 0 0 1.62rem;
  font-size: 0.95rem;
  line-height: 1.68;
  color: rgba(15, 23, 42, 0.78);
}

.cbsv-why-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.cbsv-why-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.35rem 1.15rem;
  padding: clamp(1.05rem, 2.8vw, 1.35rem);
  align-items: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.38) inset;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.42s ease,
    background 0.42s ease;
}

.cbsv-why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 180, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 56px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.48) inset,
    0 0 50px rgba(154, 120, 255, 0.2),
    0 0 28px rgba(167, 139, 250, 0.1);
}

.cbsv-why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 10px 24px rgba(123, 77, 255, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  grid-row: 1 / span 2;
}

.cbsv-why-card__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.cbsv-why-card__text {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 0.8875rem;
  line-height: 1.64;
  color: rgba(15, 23, 42, 0.72);
}

@media (max-width: 520px) {
  .cbsv-why-card {
    grid-template-columns: 1fr;
  }
  .cbsv-why-card__title,
  .cbsv-why-card__text {
    grid-column: 1;
  }
  .cbsv-why-card__icon {
    grid-row: auto;
    margin-bottom: 0.2rem;
  }
}

/* — Finale — */

.cbsv-contact__finale {
  margin-top: clamp(2.8rem, 8vw, 4.75rem);
  text-align: center;
  padding: clamp(2.2rem, 6vw, 3rem) clamp(1.35rem, 4vw, 2.5rem);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(154, 120, 255, 0.18) 0%, transparent 60%),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 20px 64px rgba(15, 23, 42, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.32) inset;
}

.cbsv-contact__finale-quote {
  margin: 0 0 1.25rem;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: #0f172a;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.52);
}

.cbsv-contact__finale-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.95rem;
  font-size: 0.8875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.98);
  cursor: pointer;
  background: linear-gradient(132deg, rgba(123, 77, 255, 0.95) 0%, rgba(95, 60, 220, 0.92) 45%, rgba(167, 139, 250, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 12px 40px rgba(123, 77, 255, 0.28),
    0 14px 48px rgba(95, 60, 220, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.cbsv-contact__finale-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 14px 48px rgba(123, 77, 255, 0.36),
    0 22px 60px rgba(167, 139, 250, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.cbsv-contact__finale-cta:focus-visible {
  outline: 2px solid rgba(199, 180, 255, 0.95);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes cbsvContactFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cbsv-reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  html.cbsv-js .cbsv-hero--contact-page .cbsv-reveal {
    animation: cbsvContactFadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  html.cbsv-js .cbsv-hero--contact-page .cbsv-reveal--delay-1 {
    animation-delay: 0.1s;
  }

  html.cbsv-js .cbsv-hero--contact-page .cbsv-reveal--delay-2 {
    animation-delay: 0.22s;
  }

  html.cbsv-js .cbsv-hero--contact-page .cbsv-reveal--delay-3 {
    animation-delay: 0.34s;
  }

  html.cbsv-js .cbsv-hero--contact-page .cbsv-contact__notice {
    animation: cbsvContactFadeUp 0.75s var(--cbsv-ease-out, cubic-bezier(0.22, 1, 0.36, 1)) forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cbsv-reveal,
  .cbsv-reveal--delay-1,
  .cbsv-reveal--delay-2,
  .cbsv-reveal--delay-3,
  .cbsv-contact__notice {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cbsv-contact-form__submit:hover,
  .cbsv-contact__finale-cta:hover {
    transform: none;
  }

  .cbsv-why-card:hover {
    transform: none;
    box-shadow:
      0 12px 40px rgba(15, 23, 42, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.38) inset;
    border-color: rgba(255, 255, 255, 0.26);
  }

  .cbsv-contact__ambient-orb--a,
  .cbsv-contact__ambient-orb--b,
  .cbsv-contact__particle {
    animation: none !important;
  }
}
