/* =====================================================
   CONTACT
===================================================== */
.contact {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  padding: clamp(90px, 14svh, 160px) var(--pad) clamp(80px, 12svh, 140px);
  background: var(--bg); border-top: 1px solid var(--line);
}

.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 55% at 85% 55%, rgba(242,217,138,.12), transparent 70%), radial-gradient(34% 40% at 8% 10%, rgba(242,217,138,.07), transparent 70%); }

.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }

.ct-lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.7; color: rgba(255,255,255,.74); max-width: 46ch; margin-bottom: 30px; }


.ct-list { list-style: none; display: grid; gap: 12px; }

.ct-list > li { position: relative; display: flex; }

.ct-list > li[hidden] { display: none; }

.ct-item {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px;
  border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  transition: border-color .35s, transform .45s var(--ease-out), background .35s;
}

.ct-item:hover,.ct-item:focus-visible { transform: translateX(6px); border-color: rgba(242,217,138,.55); background: linear-gradient(170deg, rgba(242,217,138,.1), rgba(255,255,255,.02)); outline: none; }

.ct-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; border: 1px solid rgba(242,217,138,.35); background: rgba(242,217,138,.09); transition: background .35s; }

.ct-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }

.ct-item:hover .ct-ico { background: var(--gold); }

.ct-item:hover .ct-ico svg { stroke: #14110a; }

.ct-txt { min-width: 0; display: grid; gap: 2px; }

.ct-txt small { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.ct-txt b { font-weight: 500; font-size: 1rem; overflow-wrap: anywhere; }

.ct-copy {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%); padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font: 500 .76rem var(--body); letter-spacing: .06em; color: var(--text); background: rgba(255,255,255,.07); border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}

.ct-copy:hover { border-color: rgba(242,217,138,.6); color: var(--gold); }

.ct-copy.is-done { background: var(--gold); color: #14110a; border-color: transparent; }

.ct-list > li:first-child .ct-item { padding-right: 96px; }


/* form */
.ct-form {
  display: grid; gap: 18px; padding: clamp(24px, 3vw, 38px); border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
}

.ct-form h4 { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: -.01em; }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ct-form label { display: grid; gap: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.ct-form input,.ct-form select,.ct-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--text); font: 400 1rem var(--body); letter-spacing: 0; text-transform: none; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.ct-form textarea { resize: vertical; min-height: 130px; line-height: 1.55; }

.ct-form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2d98a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }

.ct-form select option { background: #14110a; color: #fff; }

.ct-form ::placeholder { color: rgba(255,255,255,.32); }

.ct-form input:hover,.ct-form select:hover,.ct-form textarea:hover { border-color: rgba(255,255,255,.22); }

.ct-form input:focus,.ct-form select:focus,.ct-form textarea:focus { border-color: var(--gold); background: rgba(242,217,138,.05); box-shadow: 0 0 0 4px rgba(242,217,138,.12); }

.ct-form .is-bad { border-color: #ff7a7a; box-shadow: 0 0 0 4px rgba(255,122,122,.14); }

.ct-form .btn-solid { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }

.ct-status { min-height: 1.4em; font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.7); }

.ct-status a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.ct-status.is-err { color: #ff9c9c; }

.ct-status.is-ok { color: #9be3a8; }


/* ---- themed dropdown (js/contact.js upgrades the <select>; without JS the native select still works) ---- */
.ct-dd { position: relative; display: block; }

.ct-dd.is-open { z-index: 30; }

.ct-dd > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }

.ct-dd-btn {
  width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; text-align: left;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer;
  font: 400 1rem var(--body); letter-spacing: 0; text-transform: none; outline: none; -webkit-tap-highlight-color: transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.ct-dd-btn:hover { border-color: rgba(255,255,255,.22); }

.ct-dd-btn:focus-visible,.ct-dd.is-open .ct-dd-btn { border-color: var(--gold); background: rgba(242,217,138,.05); box-shadow: 0 0 0 4px rgba(242,217,138,.12); }

.ct-dd-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ct-dd-chev { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }

.ct-dd.is-open .ct-dd-chev { transform: rotate(180deg); }

.ct-dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; list-style: none; display: grid; gap: 2px; padding: 6px;
  max-height: min(320px, 60svh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(242,217,138,.4) transparent;
  border-radius: 16px; border: 1px solid rgba(242,217,138,.45); background: linear-gradient(170deg, #1c1810, #0d0b07);
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
  transition: opacity .22s, transform .3s var(--ease-out), visibility 0s linear .3s;
}

.ct-dd.is-up .ct-dd-list { top: auto; bottom: calc(100% + 8px); transform: translateY(8px) scale(.98); transform-origin: bottom center; }

.ct-dd.is-open .ct-dd-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.ct-dd-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 10px 14px; border-radius: 10px; cursor: pointer;
  font-size: .96rem; color: rgba(255,255,255,.82); text-transform: none; letter-spacing: 0; transition: background .2s, color .2s;
}

.ct-dd-opt.is-active { background: rgba(255,255,255,.07); color: #fff; }

.ct-dd-opt[aria-selected="true"] { background: rgba(242,217,138,.14); color: var(--gold); }

.ct-dd-opt svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }

.ct-dd-opt[aria-selected="true"] svg { opacity: 1; }

html.rm .ct-dd-list,html.rm .ct-dd-chev { transition: none; }


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

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

  .ct-item { padding: 12px 14px; gap: 14px; }

  .ct-list > li:first-child .ct-item { padding-right: 84px; }

  .ct-txt b { font-size: .92rem; }

  .ct-ico { width: 40px; height: 40px; border-radius: 11px; }

  .ct-list > li:first-child .ct-item { gap: 12px; padding-right: 78px; }

  .ct-list > li:first-child .ct-txt b { font-size: .8rem; overflow-wrap: normal; white-space: nowrap; }

  .ct-copy { right: 10px; padding: 6px 12px; }

  .ct-form .btn-solid { justify-self: stretch; justify-content: center; }

}


/* honeypot field (spam bots only) */
.ct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

