/* ==========================================================================
   NTV — Contact
   Dark hero, three routing cards, form + editorial sidebar.
   Fonts are enqueued in functions.php, so no @import here.
   ========================================================================== */

.ntv-contact {
  --ntv-red: #c8102e;
  --ntv-red-dk: #a50d26;
  --ntv-navy: #0e2a57;
  --ntv-dark: #0a1a33;
  --ntv-ink: #0e2a57;
  --ntv-gray: #5b6472;
  --ntv-soft: #8a92a0;
  --ntv-line: #e6e8ec;
  --ntv-field: #d8dde5;
  --ntv-tint: #f5f7fa;
  --ntv-radius: 0px;
  --ntv-wrap: 1120px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ntv-ink);
  line-height: 1.5;
  background: #E6E8EC;
  -webkit-font-smoothing: antialiased;
}

.ntv-contact * { box-sizing: border-box; }
.ntv-contact a { text-decoration: none; color: inherit; }
.ntv-contact img { display: block; max-width: 100%; }

.ntv-contact h1,
.ntv-contact h2,
.ntv-contact h3 {
  font-family: "Archivo", "Inter", sans-serif;
  letter-spacing: -0.015em;
}

.ntv-contact p {
  font-size: 15px;
  color: var(--ntv-gray);
  line-height: 1.7;
  margin: 0 0 14px;
}

.ntv-contact p:last-child { margin-bottom: 0; }


/* ========== HERO ========== */

.ntv-contact-hero {
  background:
    radial-gradient(120% 130% at 78% 20%, #14294d 0%, #070f1f 68%);
  padding: 62px 26px 66px;
  text-align: center;
}

.ntv-contact-hero__inner {
  max-width: 780px;
  margin: 0 auto;
}

.ntv-contact-hero__pill {
  display: inline-block;
  background: var(--ntv-red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--ntv-radius);
  margin-bottom: 22px;
}

.ntv-contact-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 18px;
}

.ntv-contact .ntv-contact-hero__lede {
  font-size: 18px;
  color: rgba(200, 200, 200, 0.95);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 10px;
  margin-inline: auto;
  text-align: center;
}

.ntv-contact .ntv-contact-hero__sub {
  font-size: 14px;
  color: rgba(200, 200, 200, 0.79);
  max-width: 620px;
  margin: 0 auto;
  margin-inline: auto;
  text-align: center;
}

/* ========== ROUTING CARDS ========== */

.ntv-contact-routes {
  padding: 46px 26px 0;
}

.ntv-contact-routes__grid {
  max-width: var(--ntv-wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ntv-contact-route {
  background: #fff;
  border: 1px solid var(--ntv-line);
  border-radius: var(--ntv-radius);
  padding: 26px 24px 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ntv-contact-route__icon {
  color: var(--ntv-red);
  margin-bottom: 26px;
}

.ntv-contact-route__icon svg {
  width: 24px;
  height: 24px;
}

.ntv-contact-route h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ntv-navy);
  margin: 0 0 12px;
}

.ntv-contact-route p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1 1 auto;
}

.ntv-contact .ntv-contact-route__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ntv-red);
  transition: color 0.15s ease;
}

.ntv-contact .ntv-contact-route__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.ntv-contact .ntv-contact-route__link:hover { color: var(--ntv-red-dk); }
.ntv-contact .ntv-contact-route__link:hover svg { transform: translateX(3px); }

.ntv-contact .ntv-contact-route__link:focus-visible {
  outline: 2px solid var(--ntv-red);
  outline-offset: 3px;
}

/* ========== BODY: FORM + SIDEBAR ========== */

.ntv-contact-body {
  padding: 34px 26px 70px;
}

.ntv-contact-body__inner {
  max-width: var(--ntv-wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 26px;
  align-items: start;
}

/* --- Form card --- */

.ntv-contact-form-card {
  background: #fff;
  border: 1px solid var(--ntv-line);
  border-radius: var(--ntv-radius);
  padding: 32px;
  min-width: 0;
}

.ntv-contact-form-card__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ntv-navy);
  margin: 0 0 36px;
}

/* Notice — hidden until a submission completes */

.ntv-contact-notice {
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.55;
  border-radius: var(--ntv-radius);
  border: 1px solid transparent;
}

.ntv-contact-notice.success {
  background: #e8f5ec;
  border-color: #b7dfc4;
  color: #1c6b34;
}

.ntv-contact-notice.error {
  background: #fdeaed;
  border-color: #f3c2ca;
  color: #8e1224;
}

/* Honeypot — off-screen rather than display:none so bots still see it */

.ntv-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Fields */

.ntv-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ntv-contact-field { margin-bottom: 20px; }

/* Last field before the submit button gets a little more breathing room. */
.ntv-contact-field--last { margin-bottom: 26px; }

.ntv-contact-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ntv-navy);
  margin-bottom: 8px;
}

.ntv-contact-field .req { color: var(--ntv-red); }

.ntv-contact-field input[type="text"],
.ntv-contact-field input[type="email"],
.ntv-contact-field input[type="tel"],
.ntv-contact-field select,
.ntv-contact-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ntv-ink);
  background: #fff;
  border: 1px solid var(--ntv-field);
  border-radius: var(--ntv-radius);
  line-height: 1.5;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ntv-contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.ntv-contact-field textarea::placeholder { color: var(--ntv-soft); }

.ntv-contact-field input:focus,
.ntv-contact-field select:focus,
.ntv-contact-field textarea:focus {
  border-color: var(--ntv-navy);
  box-shadow: 0 0 0 3px rgba(14, 42, 87, 0.08);
}

/* Select with custom chevron */

.ntv-contact-select {
  position: relative;
}

.ntv-contact-select select { padding-right: 42px; cursor: pointer; }

.ntv-contact-select svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--ntv-gray);
  pointer-events: none;
}

/* Submit */

.ntv-contact .ntv-contact-submit {
  display: block;
  width: 100%;
  padding: 17px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ntv-red);
  border: 2px solid var(--ntv-red);
  border-radius: var(--ntv-radius);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.ntv-contact .ntv-contact-submit:hover {
  background: var(--ntv-red-dk);
  border-color: var(--ntv-red-dk);
}

.ntv-contact .ntv-contact-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.ntv-contact .ntv-contact-submit:focus-visible {
  outline: 3px solid var(--ntv-navy);
  outline-offset: 3px;
}

/* --- Sidebar --- */

.ntv-contact-side { min-width: 0; }

.ntv-contact-side > * + * { margin-top: 22px; }

.ntv-contact-standards {
  background: #fff;
  border: 1px solid var(--ntv-line);
  border-radius: var(--ntv-radius);
  padding: 24px;
}

.ntv-contact-standards__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ntv-navy);
  margin: 0 0 28px;
}

.ntv-contact-standards__title svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--ntv-red);
}

.ntv-contact-standards__block + .ntv-contact-standards__block { margin-top: 24px; }

.ntv-contact-standards__block h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ntv-navy);
  margin: 0 0 8px;
}

.ntv-contact-standards__block p {
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

/* --- Studio card --- */

.ntv-contact-studio {
  background: var(--ntv-dark);
  border-radius: var(--ntv-radius);
  padding: 24px;
}

.ntv-contact-studio h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.ntv-contact-studio p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
}

/* Map — rendered static.
   pointer-events:none on the iframe kills pan, zoom and scroll capture,
   so the embed behaves like a flat image. The overlay above it blocks any
   stray interaction, and the pin is drawn in CSS rather than by the map. */

.ntv-contact-map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #060d1a;
}

.ntv-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: grayscale(0.4) contrast(1.05) brightness(0.96);
}

.ntv-contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 51, 0.12) 0%, rgba(10, 26, 51, 0.32) 100%);
  pointer-events: none;
}

.ntv-contact-map__pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: var(--ntv-red);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.ntv-contact-map__pin svg {
  width: 30px;
  height: 30px;
}

.ntv-contact .ntv-contact-map__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease;
}

.ntv-contact .ntv-contact-map__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.ntv-contact .ntv-contact-map__link:hover { color: #fff; }
.ntv-contact .ntv-contact-map__link:hover svg { transform: translateX(3px); }

.ntv-contact .ntv-contact-map__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 960px) {
  .ntv-contact-routes__grid { grid-template-columns: 1fr; gap: 18px; }
  .ntv-contact-body__inner { grid-template-columns: 1fr; gap: 22px; }
  .ntv-contact-map { aspect-ratio: 16 / 9; }
}

@media (max-width: 620px) {
  .ntv-contact-hero { padding: 44px 18px 48px; }
  .ntv-contact-hero h1 { font-size: 30px; }
  .ntv-contact-hero__lede { font-size: 16px; }

  .ntv-contact-routes { padding: 32px 18px 0; }
  .ntv-contact-body { padding: 26px 18px 54px; }

  .ntv-contact-form-card { padding: 24px 20px; }
  .ntv-contact-form-card__title { font-size: 23px; margin-bottom: 28px; }

  .ntv-contact-row { grid-template-columns: 1fr; gap: 0; }
  .ntv-contact-map { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .ntv-contact .ntv-contact-route__link,
  .ntv-contact .ntv-contact-route__link svg,
  .ntv-contact .ntv-contact-map__link,
  .ntv-contact .ntv-contact-map__link svg,
  .ntv-contact .ntv-contact-submit,
  .ntv-contact-field input,
  .ntv-contact-field select,
  .ntv-contact-field textarea { transition: none; }

  .ntv-contact .ntv-contact-route__link:hover svg,
  .ntv-contact .ntv-contact-map__link:hover svg { transform: none; }
}