/* ============================================================
   TBRANDS — Contact page
   ============================================================ */

body { padding-top: 0 !important; }

/* ════════════════════════════════════════════════════════════
   SHARED
   ════════════════════════════════════════════════════════════ */
.cnt-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  color: #e05a00; margin: 0 0 1.8rem;
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.cnt-hero {
  background: #080604;
  padding: calc(var(--tbh-h, 72px) + 6rem) clamp(1.5rem,6vw,8rem) 5rem;
  position: relative;
  overflow: hidden;
}
.cnt-hero__inner { max-width: 860px; }

.cnt-hero__h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem,8vw,8rem);
  font-weight: 400; line-height: 1;
  color: #fff; margin: 0 0 2.2rem;
  letter-spacing: -.02em;
  animation: cnt-fade-up .9s .05s both;
}
.cnt-hero__h1 em {
  font-style: italic;
  color: #e05a00;
}
.cnt-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.85rem,1.1vw,.95rem);
  line-height: 1.85; color: rgba(255,255,255,.4);
  max-width: 52ch;
  animation: cnt-fade-up .9s .18s both;
}
.cnt-hero__btns {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.5rem;
  animation: cnt-fade-up .9s .3s both;
}
.cnt-hero__btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, border-color .2s, gap .2s;
}
.cnt-hero__btn--primary {
  background: #e05a00; color: #fff; border: 1px solid #e05a00;
}
.cnt-hero__btn--primary:hover { background: #c94f00; border-color: #c94f00; gap: 1.1rem; }
.cnt-hero__btn--ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.cnt-hero__btn--ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.55); }

.cnt-hero__line {
  position: absolute; bottom: 0; left: clamp(1.5rem,6vw,8rem);
  width: clamp(60px,20vw,180px); height: 1px;
  background: linear-gradient(to right, #e05a00 0%, transparent 100%);
}

/* ════════════════════════════════════════════════════════════
   MAIN LAYOUT
   ════════════════════════════════════════════════════════════ */
.cnt-main {
  background: #f2efe9;
  padding: clamp(4rem,7vw,8rem) 0 clamp(5rem,9vw,10rem);
}
.cnt-main__inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(1.5rem,6vw,8rem);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(4rem,7vw,9rem);
  align-items: start;
}

/* ════════════════════════════════════════════════════════════
   FORM WRAP — light, airy, premium
   ════════════════════════════════════════════════════════════ */
.cnt-form-wrap {
  background: #ffffff;
  padding: clamp(2.5rem,5vw,4rem) clamp(2rem,4vw,3.5rem);
  box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 48px rgba(0,0,0,.07);
  border-radius: 4px;
}

.cnt-form__row {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.cnt-form__row--2 {
  grid-template-columns: 1fr 1fr;
}

/* ── Field ── */
.cnt-field { display: flex; flex-direction: column; gap: .55rem; }

.cnt-field__label {
  font-family: 'Inter', sans-serif;
  font-size: .52rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(13,11,9,.38);
}
.cnt-field__label span { color: #e05a00; margin-left: .1rem; }

/* Underline-style inputs — no box, just a bottom border */
.cnt-field__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #d8d2c8;
  color: #0d0b09;
  font-family: 'Inter', sans-serif;
  font-size: max(.92rem, 16px); line-height: 1.6; /* min 16px prevents iOS zoom */
  padding: .65rem 0;
  transition: border-color .25s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.cnt-field__input::placeholder { color: rgba(13,11,9,.22); }
.cnt-field__input:focus { border-bottom-color: #e05a00; }
.cnt-field__input:user-invalid { border-bottom-color: rgba(224,90,0,.55); }

.cnt-field__textarea {
  min-height: 140px; resize: none;
  /* textarea keeps bottom-border style */
  border-bottom: 1.5px solid #d8d2c8;
}
.cnt-field__textarea:focus { border-bottom-color: #e05a00; }

/* Thin underline accent line animates in on focus */
.cnt-field { position: relative; }
.cnt-field::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: #e05a00;
  transition: width .3s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.cnt-field:focus-within::after { width: 100%; }

/* Select */
.cnt-field__select-wrap { position: relative; }
.cnt-field__select {
  cursor: pointer;
  padding-right: 2rem;
  color: #0d0b09;
}
.cnt-field__select option { background: #fff; color: #0d0b09; }
.cnt-field__select-arrow {
  position: absolute; right: 0; bottom: 1rem;
  color: rgba(13,11,9,.3); pointer-events: none;
}

/* Divider between field groups */
.cnt-form__divider {
  border: none;
  border-top: 1px solid #ede9e2;
  margin: 2rem 0;
}

/* ── Upload zone ── */
.cnt-upload {
  position: relative;
  border: 1.5px dashed #d8d2c8;
  background: #faf8f4;
  border-radius: 6px;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .7rem; text-align: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.cnt-upload:hover,
.cnt-upload:focus,
.cnt-upload.is-drag {
  border-color: #e05a00;
  background: rgba(224,90,0,.03);
  outline: none;
}
.cnt-upload.has-file {
  border-style: solid;
  border-color: rgba(13,11,9,.3);
  background: #f5f3ef;
}

.cnt-upload__input {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.cnt-upload__icon { color: rgba(13,11,9,.2); transition: color .25s; }
.cnt-upload:hover .cnt-upload__icon,
.cnt-upload.is-drag .cnt-upload__icon,
.cnt-upload.has-file .cnt-upload__icon { color: #e05a00; }

.cnt-upload__text {
  display: flex; flex-direction: column; gap: .25rem;
  margin: 0;
}
.cnt-upload__cta {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #e05a00;
}
.cnt-upload__hint {
  font-family: 'Inter', sans-serif;
  font-size: .68rem; color: rgba(13,11,9,.3);
}
.cnt-upload__name {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: .72rem; color: rgba(13,11,9,.55);
  word-break: break-all;
}

/* ── Submit ── */
.cnt-form__submit { margin-top: 2.8rem; }

.cnt-submit {
  display: inline-flex; align-items: center;
  width: 100%;
  justify-content: space-between;
  background: #0d0b09; color: #fff;
  border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 1.35rem 2rem;
  border-radius: 2px;
  transition: background .25s;
  position: relative; overflow: hidden;
}
.cnt-submit:hover { background: #e05a00; }
.cnt-submit:disabled { opacity: .55; cursor: not-allowed; }

.cnt-submit__label { flex: 1; text-align: left; }
.cnt-submit__arrow { flex-shrink: 0; transition: transform .25s; }
.cnt-submit:hover .cnt-submit__arrow { transform: translateX(5px); }
.cnt-submit.is-loading .cnt-submit__label { opacity: 0; }
.cnt-submit.is-loading .cnt-submit__arrow { opacity: 0; }

.cnt-submit__spinner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
}
.cnt-submit.is-loading .cnt-submit__spinner { opacity: 1; }
.cnt-submit__spinner::before {
  content: '';
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cnt-spin .7s linear infinite;
}

/* ── Status ── */
.cnt-form__status {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid #e05a00;
  background: rgba(224,90,0,.05);
  border-radius: 0 3px 3px 0;
}
.cnt-form__status[hidden] { display: none; }
.cnt-form__status-text {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; line-height: 1.6;
  color: #0d0b09; margin: 0;
}
.cnt-form__status.is-success {
  border-color: #2e7d32;
  background: rgba(46,125,50,.05);
}

/* ════════════════════════════════════════════════════════════
   INFO SIDEBAR
   ════════════════════════════════════════════════════════════ */
.cnt-info {
  position: sticky;
  top: calc(var(--tbh-h, 72px) + 3rem);
  padding-top: .5rem;
}

.cnt-info__block { margin-bottom: 2.8rem; }
.cnt-info__label {
  font-family: 'Inter', sans-serif;
  font-size: .5rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: #e05a00; margin-bottom: .8rem;
}
.cnt-info__value {
  font-family: 'Inter', sans-serif;
  font-size: 1rem; line-height: 1.9;
  color: #0d0b09; font-style: normal;
}
address.cnt-info__value { font-size: 1.05rem; }
.cnt-info__link {
  text-decoration: none; color: #0d0b09;
  transition: color .2s;
  word-break: break-all;
}
.cnt-info__link:hover { color: #e05a00; }

/* Social icons */
.cnt-info__social { display: flex; gap: .7rem; }
.cnt-info__social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(13,11,9,.14);
  color: #0d0b09;
  border-radius: 50%;
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.cnt-info__social-link:hover {
  color: #fff;
  border-color: #e05a00;
  background: #e05a00;
  transform: translateY(-2px);
}

.cnt-info__map-link {
  display: inline-block;
  margin-top: .6rem;
  font-family: 'Inter', sans-serif;
  font-size: .55rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(13,11,9,.3); text-decoration: none;
  transition: color .2s;
}
.cnt-info__map-link:hover { color: #e05a00; }

.cnt-info__divider {
  width: 36px; height: 1px;
  background: #d8d2c8;
  margin-bottom: 2.8rem;
}

.cnt-info__promise {
  display: flex; align-items: baseline; gap: .7rem;
  margin-bottom: 3rem;
}
.cnt-info__promise-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300; line-height: 1;
  color: #0d0b09; margin: 0;
  letter-spacing: -.04em;
}
.cnt-info__promise-num span {
  font-size: 2.2rem; color: #e05a00;
}
.cnt-info__promise-text {
  font-family: 'Inter', sans-serif;
  font-size: .7rem; line-height: 1.75;
  color: rgba(13,11,9,.38); margin: 0; max-width: 14ch;
}

.cnt-info__deco {
  width: 180px; height: 180px;
  opacity: .5;
  pointer-events: none;
  animation: cnt-rotate 60s linear infinite;
}

/* ════════════════════════════════════════════════════════════
   KEYFRAMES
   ════════════════════════════════════════════════════════════ */
@keyframes cnt-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cnt-spin {
  to { transform: rotate(360deg); }
}
@keyframes cnt-rotate {
  to { transform: rotate(360deg); }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 1024px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cnt-main__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cnt-info {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
  }
  .cnt-info__block { margin-bottom: 0; }
  .cnt-info__divider { display: none; }
  .cnt-info__deco { display: none; }
  .cnt-info__promise { grid-column: 1 / -1; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 640px
   ════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .cnt-hero {
    padding-left: 1.25rem; padding-right: 1.25rem;
    padding-bottom: 3.5rem;
  }
  .cnt-main { padding-top: 3rem; }
  .cnt-main__inner { padding: 0 1.25rem; gap: 2rem; }
  .cnt-form-wrap { padding: 2rem 1.25rem; }
  .cnt-form__row--2 { grid-template-columns: 1fr; }
  .cnt-info {
    grid-template-columns: 1fr;
    padding: 1.8rem 1.25rem;
  }
  .cnt-info__promise { grid-column: auto; }
}
