/* ════════════════════════════════════════════════════════
   Contact Page — Hi, AI!
   ════════════════════════════════════════════════════════ */

/* ── Contact Layout ──────────────────────────────────── */

.contact {
  padding: 140px 0 clamp(72px, 11vw, 140px);
}
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact__left h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -.045em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.contact__left > p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 440px;
}


/* ── Telegram Card ───────────────────────────────────── */

.tg-card {
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--r-lg);
  border: 1.5px solid rgba(245, 158, 11, .15);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}
.tg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep), var(--amber));
  opacity: .8;
}
.tg-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 158, 11, .06), transparent 70%);
  pointer-events: none;
}
.tg-card:hover {
  border-color: rgba(245, 158, 11, .3);
  box-shadow: 0 8px 40px rgba(245, 158, 11, .08);
}

.tg-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, .25);
}

.tg-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 8px;
  font-weight: 700;
  position: relative;
}
.tg-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}
.tg-card .btn {
  position: relative;
}
.tg-card .btn svg {
  width: 16px;
  height: 16px;
  transition: transform .3s;
}
.tg-card .btn:hover svg {
  transform: translateX(4px);
}


/* ── Form ────────────────────────────────────────────── */

.contact__form {
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 4px 40px rgba(0, 0, 0, .04);
}

.contact__form-header {
  margin-bottom: 32px;
}
.contact__form-header h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.contact__form-header p {
  font-size: 14px;
  color: var(--text-3);
}

.form__group {
  margin-bottom: 20px;
}
.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.form__input:focus,
.form__textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}
.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-3);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

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

.form__submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}
.form__submit svg {
  transition: transform .3s;
}
.form__submit:hover svg {
  transform: translateX(4px);
}

.form__note {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 16px;
  text-align: center;
}


/* ── Form Confirmation State ─────────────────────────── */

.form--sent .form__fields { display: none }
.form--sent .contact__form-header { display: none }

.form__success {
  display: none;
  text-align: center;
  padding: 48px 0;
}
.form--sent .form__success { display: block }

.form__success-icon {
  margin-bottom: 20px;
}
.form__success-icon svg {
  width: 56px;
  height: 56px;
}

.form__success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.form__success p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}
.form__success a {
  color: var(--amber-deep);
  font-weight: 600;
  transition: color .2s;
}
.form__success a:hover {
  color: var(--amber);
}


/* ── Founders (shared with index.css) ────────────────── */

.founders {
  padding: 80px 0;
  background: var(--bg-card);
}
@media (min-width: 768px) {
  .founders { padding: 120px 0 }
}

.founders__header {
  text-align: center;
  margin-bottom: 56px;
}
.founders__kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-3);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.founders__kicker::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--amber);
  border-radius: 1px;
}
.founders__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.founders__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .founders__grid { grid-template-columns: 1fr 1fr 1fr }
}

.founders__card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all .5s var(--ease);
  overflow: hidden;
}
.founders__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 140px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, .06) 0%, transparent 70%);
  pointer-events: none;
}
.founders__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .08);
  border-color: rgba(245, 158, 11, .2);
}

.founders__avatar {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 3px solid var(--amber);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, .08), 0 8px 32px rgba(245, 158, 11, .12);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.founders__card:hover .founders__avatar {
  box-shadow: 0 0 0 8px rgba(245, 158, 11, .12), 0 12px 40px rgba(245, 158, 11, .18);
  transform: scale(1.04);
}
.founders__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founders__name {
  font-family: 'Unbounded', cursive;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.founders__role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber-deep);
  margin-bottom: 20px;
}
.founders__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all .3s var(--ease);
  margin-top: auto;
}
.founders__linkedin:hover {
  color: var(--amber-deep);
  border-color: var(--amber);
  background: rgba(245, 158, 11, .04);
  box-shadow: 0 2px 12px rgba(245, 158, 11, .1);
}
.founders__linkedin svg {
  width: 14px;
  height: 14px;
}


/* ── Responsive — Contact ────────────────────────────── */

@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
}
