.toec-contact {
  --gold: #d9ad3b;
  --gold-bright: #f4c64f;
  --ink: #090a0b;
  --panel: #12110e;
  --panel-2: #1c1810;
  --cream: #f7f3e8;
  --muted: #c7c0b2;
  color: #fff;
  background: var(--ink);
  padding: clamp(22px, 4vw, 64px) 20px 80px;
}

.toec-contact *, .toec-contact *::before, .toec-contact *::after { box-sizing: border-box; }
.toec-contact > section { width: min(1380px, 100%); margin-inline: auto; }

.toec-contact__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(38px, 7vw, 100px);
  border: 1px solid rgba(217,173,59,.62);
  border-radius: 42px;
  background:
    radial-gradient(circle at 84% 18%, rgba(244,198,79,.22) 0 8%, transparent 8.3%),
    radial-gradient(circle at 82% 22%, rgba(217,173,59,.12), transparent 32%),
    linear-gradient(120deg, #070707 0%, #17140d 62%, #241d0d 100%);
  box-shadow: 0 28px 70px rgba(0,0,0,.38);
}

.toec-contact__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -180px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(244,198,79,.18);
  border-radius: 50%;
}

.toec-contact__eyebrow { color: var(--gold-bright); font-weight: 800; letter-spacing: .22em; font-size: 13px; }
.toec-contact h1, .toec-contact h2, .toec-contact h3, .toec-contact p { color: inherit; }
.toec-contact__hero h1 { max-width: 930px; margin: 20px 0 18px; font-size: clamp(48px, 7vw, 102px); line-height: .96; letter-spacing: -.055em; }
.toec-contact__hero > p { max-width: 800px; margin: 0; color: #e9e5dc; font-size: clamp(18px, 2vw, 25px); line-height: 1.6; }
.toec-contact__hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.toec-contact__button,
.toec-contact__submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 15px 27px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(135deg, #c99424, #efc853);
  box-shadow: 0 12px 28px rgba(217,173,59,.18);
  color: #090909 !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.toec-contact__button:hover, .toec-contact__submit button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(217,173,59,.28); }
.toec-contact__button--ghost { background: rgba(8,8,8,.62); color: #fff !important; }

.toec-contact__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.toec-contact__quick-card {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(217,173,59,.38);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(26,23,17,.96), rgba(10,10,10,.98));
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .22s ease, border-color .22s ease;
}
.toec-contact__quick-card:hover { transform: translateY(-4px); border-color: var(--gold-bright); }
.toec-contact__quick-card > span:last-child { min-width: 0; }
.toec-contact__icon { flex: 0 0 54px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(217,173,59,.13); color: var(--gold-bright); font-size: 26px; }
.toec-contact__quick-card small, .toec-contact__quick-card strong, .toec-contact__quick-card em { display: block; }
.toec-contact__quick-card small { color: var(--gold-bright); font-weight: 800; letter-spacing: .14em; }
.toec-contact__quick-card strong { overflow-wrap: anywhere; margin: 4px 0; font-size: 19px; }
.toec-contact__quick-card em { color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.45; }

.toec-contact__main {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(54px, 8vw, 110px);
}
.toec-contact__intro { position: sticky; top: 32px; padding: 28px 0; }
.toec-contact__intro h2, .toec-contact__next h2 { margin: 15px 0; font-size: clamp(38px, 4.5vw, 68px); line-height: 1.04; letter-spacing: -.04em; }
.toec-contact__intro > p, .toec-contact__next p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.toec-contact__intro ul { margin: 30px 0 0; padding: 0; list-style: none; }
.toec-contact__intro li { position: relative; margin: 0; padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(255,255,255,.09); color: #ece8df; }
.toec-contact__intro li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-bright); font-weight: 900; }

.toec-contact__form-card { padding: clamp(24px, 4vw, 52px); border: 1px solid rgba(217,173,59,.55); border-radius: 34px; background: linear-gradient(145deg, #191712, #0e0e0d); box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.toec-contact__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.toec-contact__field--wide { grid-column: 1 / -1; }
.toec-contact__field label, .toec-contact__field legend { display: block; margin: 0 0 9px; color: #f7f3e8 !important; font-size: 15px; font-weight: 800; }
.toec-contact__field label span, .toec-contact__field legend span { color: var(--gold-bright); }
.toec-contact__field input:not([type="radio"]), .toec-contact__field select, .toec-contact__field textarea {
  width: 100%; min-height: 55px; margin: 0; padding: 14px 16px; border: 1px solid rgba(217,173,59,.45); border-radius: 14px; outline: none; background: #fdfbf6; color: #111 !important; font-size: 16px; box-shadow: none;
}
.toec-contact__field textarea { min-height: 170px; resize: vertical; }
.toec-contact__field input:focus, .toec-contact__field select:focus, .toec-contact__field textarea:focus { border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(244,198,79,.18); }
.toec-contact__field { min-width: 0; margin: 0; padding: 0; border: 0; }
.toec-contact__choices { display: flex; flex-wrap: wrap; gap: 12px; }
.toec-contact__choices label { display: flex; align-items: center; gap: 10px; min-width: 150px; padding: 13px 16px; margin: 0; border: 1px solid rgba(217,173,59,.4); border-radius: 14px; background: rgba(0,0,0,.32); cursor: pointer; }
.toec-contact__choices input { accent-color: var(--gold); }
.toec-contact__submit { display: flex; align-items: center; gap: 20px; padding-top: 4px; }
.toec-contact__submit button { border: 0; cursor: pointer; font: inherit; }
.toec-contact__submit p { max-width: 440px; margin: 0; color: #a9a397; font-size: 13px; line-height: 1.5; }
.toec-contact__honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.toec-contact__notice { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; padding: 16px 18px; border-radius: 14px; }
.toec-contact__notice--success { border: 1px solid #5ac98a; background: rgba(31,126,75,.23); }
.toec-contact__notice--error { border: 1px solid #ef7a6f; background: rgba(163,47,37,.2); }

.toec-contact__next { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-top: clamp(60px, 9vw, 120px); padding: clamp(30px, 5vw, 64px); border: 1px solid rgba(217,173,59,.45); border-radius: 34px; background: radial-gradient(circle at 90% 15%, rgba(217,173,59,.17), transparent 30%), #12110e; }
.toec-contact__next > div { max-width: 850px; }
.toec-contact__next h2 { font-size: clamp(34px, 4vw, 60px); }
.toec-contact__next .toec-contact__button { flex: 0 0 auto; }

@media (prefers-reduced-motion: no-preference) {
  .toec-contact__hero > *, .toec-contact__quick-card, .toec-contact__form-card { animation: toec-contact-in .65s both; }
  .toec-contact__hero > *:nth-child(2) { animation-delay: .07s; }
  .toec-contact__hero > *:nth-child(3) { animation-delay: .14s; }
  .toec-contact__hero > *:nth-child(4) { animation-delay: .21s; }
  .toec-contact__quick-card:nth-child(2) { animation-delay: .08s; }
  .toec-contact__quick-card:nth-child(3) { animation-delay: .16s; }
  @keyframes toec-contact-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 980px) {
  .toec-contact__quick { grid-template-columns: 1fr; }
  .toec-contact__main { grid-template-columns: 1fr; }
  .toec-contact__intro { position: static; }
  .toec-contact__next { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .toec-contact { padding-inline: 12px; }
  .toec-contact__hero { min-height: auto; padding: 42px 24px; border-radius: 26px; }
  .toec-contact__hero h1 { font-size: clamp(44px, 15vw, 64px); }
  .toec-contact__hero-actions, .toec-contact__button { width: 100%; }
  .toec-contact__quick-card { padding: 19px; }
  .toec-contact__form-card { padding: 24px 18px; border-radius: 24px; }
  .toec-contact__form { grid-template-columns: 1fr; }
  .toec-contact__field--wide { grid-column: auto; }
  .toec-contact__submit { align-items: stretch; flex-direction: column; }
  .toec-contact__submit button { width: 100%; }
  .toec-contact__next { padding: 30px 22px; border-radius: 24px; }
}
.page-id-7017 .entry-title,
.page-id-7017 .entry-header {
  display: none !important;
}

.page-id-7017 .site-content,
.page-id-7017 main {
  background: #090a0b;
}
