.contact-page { --acc: #f97316; --acc-2: #fb923c; }

.c-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 190px;
  color: #fff;
  text-align: center;
  background: #0b0a12;
}
.c-hero-aura {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.c-hero-aura::before,
.c-hero-aura::after {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .32;
}
.c-hero-aura::before {
  top: -30vmax;
  left: -10vmax;
  background: radial-gradient(circle, var(--acc), transparent 65%);
  animation: c-drift 16s ease-in-out infinite alternate;
}
.c-hero-aura::after {
  top: -25vmax;
  right: -20vmax;
  background: radial-gradient(circle, #7c3aed, transparent 65%);
  animation: c-drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes c-drift { to { transform: translate(10vmax, 6vmax) scale(1.12); } }
.c-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
}
.c-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.c-hero p {
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
}
.c-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.c-body {
  position: relative;
  z-index: 1;
  margin-top: -120px;
  padding-bottom: 90px;
}
.c-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

.c-info { display: grid; gap: 12px; }
.c-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 40px -30px rgba(11, 11, 20, .35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.c-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, .35);
  box-shadow: 0 26px 50px -30px rgba(249, 115, 22, .55);
}
.c-card-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ea580c;
  background: #fff1e6;
  border-radius: 14px;
  transition: background .3s, color .3s;
}
.c-card-ico svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.c-card-ico .f-ico { width: 20px; height: 20px; background: currentColor; }
.c-card:hover .c-card-ico { color: #fff; background: var(--acc); }
.c-card-text { display: grid; gap: 2px; min-width: 0; }
.c-card-text small { font-size: 12.5px; color: var(--muted); }
.c-card-text b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.c-card-arrow {
  width: 18px; height: 18px;
  margin-left: auto;
  flex: none;
  fill: none; stroke: #b4b4c2; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease), stroke .3s;
}
.c-card:hover .c-card-arrow { stroke: var(--acc); transform: rotate(45deg); }

.c-form-wrap {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 40px 80px -50px rgba(11, 11, 20, .45);
}
.c-form h2,
.c-done h2 {
  margin: 0 0 26px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.c-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  position: relative;
  display: block;
  margin-bottom: 14px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 24px 16px 9px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #f6f6f8;
  border: 1px solid transparent;
  border-radius: 14px;
  outline: 0;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field > span {
  position: absolute;
  top: 17px;
  left: 17px;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--ease), color .25s;
}
.field > span em { font-style: normal; opacity: .6; }
.field input:focus,
.field textarea:focus {
  background: #fff;
  border-color: rgba(249, 115, 22, .55);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  transform: translateY(-9px) scale(.78);
  color: #ea580c;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #f87171; background: #fff5f5; }

.c-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
  padding: 0;
  border: 0;
}
.c-choices legend {
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}
.c-choices label { position: relative; cursor: pointer; }
.c-choices input { position: absolute; opacity: 0; pointer-events: none; }
.c-choices span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: #f6f6f8;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.c-choices label:hover span { border-color: rgba(249, 115, 22, .35); }
.c-choices label:active span { transform: scale(.96); }
.c-choices input:checked + span {
  color: #fff;
  background: var(--ink);
}
.c-choices input:checked + span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
}
.c-choices input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }

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

.c-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.c-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--acc);
}
.c-consent.is-invalid { color: #dc2626; }
.c-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.c-submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.c-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border-radius: 15px;
  transition: background .3s, transform .2s, box-shadow .3s;
}
.c-submit svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.c-submit:hover { background: var(--acc); box-shadow: 0 14px 30px -12px rgba(249, 115, 22, .8); }
.c-submit:hover svg { transform: translateX(4px); }
.c-submit:active { transform: scale(.97); }
.c-submit.is-loading { pointer-events: none; opacity: .75; }
.c-submit.is-loading svg { animation: c-spin .8s linear infinite; }
@keyframes c-spin { to { transform: rotate(360deg); } }
.c-form-msg { margin: 0; font-size: 13.5px; color: #dc2626; }
.c-form-msg a { color: inherit; font-weight: 600; text-decoration: underline; }

.c-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 20px 0;
  text-align: center;
  animation: c-pop .6s var(--ease) both;
}
.c-done[hidden] { display: none; }
.c-done h2 { margin: 0 0 10px; }
.c-done p { max-width: 360px; margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.c-done p b { color: var(--ink); font-weight: 600; }
@keyframes c-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.c-done-check { display: flex; justify-content: center; }
.c-done-check svg {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--acc);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-done-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: c-draw .7s ease forwards; }
.c-done-check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: c-draw .4s ease .6s forwards; }
@keyframes c-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 1000px) {
  .c-grid { grid-template-columns: 1fr; }
  .c-form-wrap { order: -1; }
  .c-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .c-hero { padding: 116px 0 150px; }
  .c-hero p { font-size: 14.5px; }
  .c-hero-actions { gap: 8px; }
  .c-pill { height: 42px; padding: 0 15px; font-size: 13.5px; }
  .c-body { margin-top: -110px; padding-bottom: 60px; }
  .c-grid { gap: 14px; }
  .c-info { grid-template-columns: 1fr; gap: 10px; }
  .c-form-wrap { padding: 26px 18px; border-radius: 24px; }
  .c-form h2 { margin-bottom: 20px; font-size: 21px; }
  .c-row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field textarea { font-size: 16px; }
  .c-submit { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .c-hero-aura::before, .c-hero-aura::after { animation: none; }
}
