/* =========================================================
   İletişim (/iletisim) — trionn.com/contact layout
   ========================================================= */
.page-contact main {
  background: var(--bg);
}

.page-contact .wd {
  display: inline-block;
  white-space: nowrap;
}

.ct-hero .ch,
.ct-form__title .ch,
.ct-info h2 .ch,
.ct-q h2 .ch {
  display: inline-block;
  will-change: transform;
}

/* ---------- banner ---------- */
.ct-hero {
  position: relative;
  z-index: 3;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  background: #cdcdcd;
  color: var(--ink);
  overflow: hidden;
}

.ct-rig {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(92vw, 100vh);
  aspect-ratio: 16 / 9;
  pointer-events: none;
}

.ct-rig__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  mix-blend-mode: darken;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.ct-hero__text {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(7vh + min(92vw, 100vh) * 0.5625 - 2vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding: 0 var(--pad);
  z-index: 2;
}

.ct-hero__title {
  font-size: clamp(2.8rem, 6.4vw, 6.2rem);
  line-height: .95;
  letter-spacing: -0.065em;
  color: #3c3c3e;
}

.ct-hero__text p {
  max-width: 330px;
  color: #3c3c3e;
}

.ct-hero__down {
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  opacity: .5;
  z-index: 2;
}

.ct-hero__down svg {
  width: 100%;
  height: 100%;
}

.ct-hero .stripes {
  z-index: 6;
}

/* ---------- form ---------- */
.ct-form {
  position: relative;
  z-index: 3;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  padding: clamp(110px, 18vh, 170px) clamp(20px, 5.3vw, 76px) clamp(80px, 14vh, 150px);
}

.ct-form__smoke {
  opacity: .55;
  background: transparent;
  z-index: 0;
}

.ct-form>*:not(.smoke) {
  position: relative;
  z-index: 1;
}

.ct-form__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: clamp(48px, 9vh, 80px);
}

.ct-form__eyebrow {
  margin-bottom: 8px;
  min-height: 2.1em;
}

.ct-form__title {
  font-size: var(--h2);
  line-height: .95;
  letter-spacing: -0.06em;
}

.ct-form__head p {
  opacity: .85;
}

.ct-form__wrap {
  max-width: 980px;
  margin: 0 auto;
}

.pform__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.pfield {
  position: relative;
  display: block;
}

.pfield--full {
  grid-column: 1 / -1;
}

.pfield input,
.pfield textarea,
.pselect .cselect__btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(216, 216, 216, .2);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--fg);
  font: inherit;
  font-size: var(--t-small);
  outline: none;
  transition: border-color .3s;
}

.pfield textarea {
  resize: vertical;
  min-height: 106px;
  display: block;
}

.pfield input::placeholder,
.pfield textarea::placeholder {
  color: rgba(216, 216, 216, .6);
}

.pfield input:focus,
.pfield textarea:focus,
.pselect .cselect__btn:focus,
.pselect.is-open .cselect__btn {
  border-color: var(--fg);
}

.pfield__err {
  position: absolute;
  top: -10px;
  right: 14px;
  z-index: 3;
  height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  background: var(--bg);
  border-radius: 2px;
  color: #ff6b50;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}

.pfield.is-err .pfield__err {
  opacity: 1;
  transform: none;
}

.pfield.is-err input,
.pfield.is-err textarea,
.pfield.is-err .cselect__btn {
  border-color: #ff6b50;
}

.pselect .cselect__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}

.pselect .cselect__val {
  color: rgba(216, 216, 216, .6);
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pselect.has-val .cselect__val {
  color: var(--fg);
}

.pselect .cselect__btn svg {
  width: 9px;
  height: 11px;
  flex: none;
  transition: transform .3s;
}

.pselect.is-open .cselect__btn svg {
  transform: rotate(180deg);
}

.pselect .cselect__list {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 0;
  background: var(--bg);
  border: 1px solid rgba(216, 216, 216, .2);
  border-radius: 3px;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transform-origin: top;
  transition: opacity .3s, transform .3s, visibility .3s;
}

.pselect.is-open .cselect__list {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.pselect .cselect__list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--fg);
  transition: background .2s, color .2s;
}

.pselect .cselect__list button:hover {
  background: var(--fg);
  color: #000;
}

.pform__send {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.pform__submit {
  width: min(230px, 100%);
  color: var(--fg);
}

.pform__submit.is-busy {
  opacity: .5;
  pointer-events: none;
}

.pform__ok {
  min-height: 1.3em;
  margin-top: 18px;
  font-size: 14px;
  text-align: right;
  color: var(--fg);
}

.pform__ok.is-bad {
  color: #ff6b50;
}

.ct-form__alt {
  margin-top: clamp(50px, 8vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ct-or {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  text-transform: uppercase;
  color: rgba(216, 216, 216, .6);
  margin-bottom: clamp(50px, 8vh, 80px);
}

.ct-or::before,
.ct-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(216, 216, 216, .2);
}

.ct-call {
  position: relative;
  width: min(470px, 100%);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fg);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-weight: 300;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--fg);
  transition: background .35s, color .35s;
}

.ct-call svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
}

.ct-call:hover {
  background: var(--fg);
  color: var(--bg);
}

.ct-form__mail {
  margin-top: 26px;
  font-size: var(--t-small);
  color: rgba(216, 216, 216, .6);
}

.ct-form__mail a {
  color: var(--fg);
}

/* ---------- location / join / questions ---------- */
.ct-info {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #fcfcfc 0%, #d2d2d2 100%);
  color: #3c3c3e;
  padding: clamp(100px, 16vh, 150px) clamp(20px, 10.4vw, 150px) clamp(90px, 14vh, 140px);
}

.ct-info h2 {
  font-size: var(--h2);
  line-height: .95;
  letter-spacing: -0.06em;
  margin-bottom: clamp(26px, 4vh, 40px);
  color: #3c3c3e;
}

.ct-info__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ct-info__addr {
  font-style: normal;
  font-size: var(--t-small);
  line-height: 1.25;
}

.ct-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--f-mono);
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.ct-info__join {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.ct-info__join p {
  font-size: var(--t-small);
  line-height: 1.25;
  margin-bottom: 10px;
  max-width: 270px;
}

.ct-info__big {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-info__big a {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: #3c3c3e;
  white-space: nowrap;
}

.ct-info__big p {
  margin-top: 8px;
  opacity: .6;
}

.ct-divider {
  display: flex;
  align-items: center;
  gap: 0;
  margin: clamp(60px, 10vh, 110px) 0;
  color: #3c3c3e;
}

.ct-divider i {
  flex: 1;
  height: 1px;
  background: rgba(17, 18, 20, .18);
  transform-origin: center;
}

.ct-divider i:first-child {
  transform-origin: right;
}

.ct-divider i:last-child {
  transform-origin: left;
}

.ct-divider svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin: 0 -1px;
}

.ct-q {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.ct-q__head p {
  opacity: .85;
}

.ct-q__item {
  position: relative;
}

.ct-q__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  color: #3c3c3e;
  cursor: pointer;
}

.ct-q__btn span {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  max-width: 480px;
}

.ct-q__btn svg {
  width: 9px;
  height: 11px;
  flex: none;
  margin-top: .7em;
  transition: transform .5s var(--ease);
}

.ct-q__item.is-open .ct-q__btn svg {
  transform: rotate(180deg);
}

.ct-q__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease-io);
}

.ct-q__item.is-open .ct-q__a {
  grid-template-rows: 1fr;
}

.ct-q__a>div {
  overflow: hidden;
}

.ct-q__a p {
  font-size: 15px;
  line-height: 1.3;
  max-width: 460px;
  padding-bottom: 28px;
  opacity: .85;
}

.ct-q__line {
  display: block;
  height: 1px;
  background: rgba(17, 18, 20, .18);
  transform-origin: left;
}

@media (max-width: 900px) {

  .ct-info__row,
  .ct-q,
  .ct-info__join {
    grid-template-columns: 1fr;
  }

  .ct-info__row {
    gap: 70px;
  }

  .ct-q {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .ct-rig {
    top: 16vh;
    width: 150vw;
    margin-left: -25vw;
  }

  .ct-hero__text {
    top: calc(16vh + 150vw * 0.5625);
  }

  .ct-hero__title {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .pform__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pform__send {
    justify-content: stretch;
  }

  .pform__submit {
    width: 100%;
  }

  .ct-call {
    font-size: 11px;
  }

  .ct-info__big a {
    white-space: normal;
    word-break: break-word;
  }
}
/* KVKK + reCAPTCHA inside the dark form grid */
.pform .kvkk { display: flex; align-self: center; color: rgba(216,216,216,.7); }
.pform .kvkk input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; }
.pform .kvkk__box { border-color: rgba(216,216,216,.4); }
.pform .kvkk.is-err .kvkk__box { border-color: #ff6b50; }
.pform .kvkk__err, .pform .captcha__err { color: #ff6b50; }
.pform .kvkk__txt a:hover { color: #fff; }
.pform .captcha { align-self: end; }
.pform .captcha.is-err .js-recaptcha { outline-color: #ff6b50; }

/* link to the 3-step quote page */
.ct-quote { margin-top: 22px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: var(--fg); border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: color .3s; }
.ct-quote:hover { color: #fff; }
