/* ═══════════════════════════════════════════════════════
   HELLOROCKET · contact.css
   Extends style.css — no overrides, only additions
═══════════════════════════════════════════════════════ */

/* ── PAGE HERO ──────────────────────────────────────── */
.contact-hero {
  min-height: 52vh;
  background: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6% 80px;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 65% 70% at 50% 50%,
    rgba(255, 98, 0, 0.05),
    transparent
  );
}
.contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.contact-hero-h {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.025em;
  color: var(--ink);
  margin: 1.5rem 0 1.2rem;
}
.ch-orange {
  color: var(--orange);
}
.contact-hero-h em {
  font-style: italic;
  font-family: "DM Serif Display", serif;
}
.contact-hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--ink70);
  line-height: 1.82;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
}

/* ── CONTACT BODY ───────────────────────────────────── */
.contact-body {
  background: var(--carbon);
  border-top: 1px solid var(--line);
  padding: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 700px;
}

/* ── FORM COLUMN ────────────────────────────────────── */
.cf-col {
  padding: 72px 6% 72px 6%;
  background: var(--void);
  border-right: 1px solid var(--line2);
}
.cf-label-bar {
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

/* Form rows & groups */
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}
.cf-group label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink40);
}
.cf-req {
  color: var(--orange);
}
.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  background: var(--carbon);
  border: 1px solid var(--line2);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.22s, background 0.22s;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: var(--ink20);
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--orange);
  background: var(--void);
}
.cf-group input.invalid,
.cf-group select.invalid,
.cf-group textarea.invalid {
  border-color: #e04a2f;
  background: rgba(224, 74, 47, 0.04);
}
/* Custom select arrow */
.cf-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%231a1512' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.cf-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

/* Field errors */
.cf-field-error {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e04a2f;
  display: none;
}
.cf-field-error.visible {
  display: block;
}

/* Submit button */
.cf-submit {
  margin-top: 8px;
  font-size: 0.78rem;
  padding: 14px 32px;
}
.cf-spinner {
  display: none;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
  position: relative;
  z-index: 1;
}
.cf-spinner.active {
  display: inline-block;
}
#cfArrow {
  position: relative;
  z-index: 1;
}
@keyframes cf-spin {
  to { transform: rotate(360deg); }
}

.cf-note {
  margin-top: 14px;
  font-size: 0.68rem;
  color: var(--ink40);
  line-height: 1.7;
  font-weight: 300;
}

/* Success / Error banners */
.cf-success,
.cf-error {
  display: none;
  padding: 22px 24px;
  margin-bottom: 28px;
  border: 1px solid;
}
.cf-success {
  border-color: rgba(34, 160, 72, 0.5);
  background: rgba(34, 160, 72, 0.06);
}
.cf-success-icon {
  font-size: 1.4rem;
  color: #22a048;
  margin-bottom: 6px;
}
.cf-success h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: #22a048;
  margin-bottom: 4px;
}
.cf-success p {
  font-size: 0.82rem;
  color: var(--ink70);
  line-height: 1.65;
}
.cf-error {
  border-color: rgba(224, 74, 47, 0.4);
  background: rgba(224, 74, 47, 0.05);
}
.cf-error p {
  font-size: 0.82rem;
  color: #e04a2f;
  line-height: 1.65;
}
.cf-error a {
  color: #e04a2f;
  font-weight: 600;
}

/* ── INFO COLUMN ────────────────────────────────────── */
.ci-col {
  padding: 72px 44px;
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ci-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.ci-block:first-child {
  padding-top: 0;
}
.ci-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--void);
  margin-top: 2px;
  transition: border-color 0.22s;
}
.ci-block:hover .ci-icon {
  border-color: var(--oborder);
}
.ci-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
}
.ci-block > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ci-block strong {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.ci-block span {
  font-size: 0.8rem;
  color: var(--ink70);
  line-height: 1.65;
  font-weight: 300;
}
.ci-block a {
  font-size: 0.82rem;
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.ci-block a:hover {
  opacity: 0.75;
}

/* Stats accent box */
.ci-accent {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.ci-accent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line2);
  background: var(--void);
}
.ci-stat {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.ci-stat:last-child {
  border-right: none;
}
.ci-stat-n {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.ci-stat-l {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink40);
  margin-top: 4px;
  line-height: 1.5;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1000px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cf-col {
    border-right: none;
    border-bottom: 1px solid var(--line2);
  }
  .ci-col {
    padding: 56px 6%;
  }
  .ci-accent {
    margin-top: 32px;
  }
}
@media (max-width: 600px) {
  .cf-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-hero {
    padding: 100px 5% 60px;
  }
  .cf-col {
    padding: 48px 5%;
  }
  .ci-col {
    padding: 48px 5%;
  }
}