/* Contact page: the form beside the ways to reach the team
   (contact/connect). Same look as the Services pages
   (category-browse.css); the header band is page-hero.css. Everything is
   scoped to .tvc. */

.tvc {
  --tv-ink: #060c22;
  --tv-navy: var(--color-brand-primary, #001e53);
  --tv-gold: var(--color-brand-secondary, #f1ae22);
  --tv-gold-hi: #ffc94d;
  --tv-cream: #f3eee2;
  --tv-mute: rgba(243, 238, 226, 0.68);
  --tv-line: rgba(241, 174, 34, 0.22);
  --tv-glass: rgba(255, 255, 255, 0.05);
  --tv-radius: 20px;
  --tv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tv-sans: 'Work Sans', system-ui, sans-serif;
  --tv-display: 'Fugaz One', Arial, sans-serif;
  color: var(--tv-cream);
  font-family: var(--tv-sans);
}

.tvc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-family: var(--tv-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tv-gold);
  /* if it must wrap, the lines come out even (no lone last word) */
  text-wrap: balance;
}

.tvc-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ------------------------------------------------------------------
   Form and ways to reach us
   ------------------------------------------------------------------ */

.tvc {
  background:
    radial-gradient(50rem 30rem at -10% 30%, rgba(0, 60, 160, 0.2), transparent 60%),
    radial-gradient(40rem 24rem at 110% 90%, rgba(241, 174, 34, 0.07), transparent 60%),
    var(--tv-ink);
  padding: 0 24px 90px;
}

.tvc__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.tvc-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.tvc-title {
  margin: 0;
  font-family: var(--tv-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--tv-cream);
}

.tvc-lead {
  margin: 0.75rem 0 0;
  max-width: 560px;
  line-height: 1.65;
  color: var(--tv-mute);
}

/* Thank-you / problem message */
.tvc-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  line-height: 1.5;
  scroll-margin-top: 170px;
}

.tvc-note i {
  margin-top: 0.2rem;
}

.tvc-note--ok {
  background: rgba(46, 160, 90, 0.14);
  border: 1px solid rgba(46, 160, 90, 0.5);
  color: #c8f0d6;
}

.tvc-note--error {
  background: rgba(220, 70, 70, 0.14);
  border: 1px solid rgba(220, 70, 70, 0.5);
  color: #ffd4d4;
}

/* The form */
.tvc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  margin-top: 1.75rem;
}

.tvc-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.tvc-field--wide,
.tvc-form__foot {
  grid-column: 1 / -1;
}

.tvc-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tv-cream);
}

.tvc-field label span {
  margin-left: 0.35rem;
  font-weight: 400;
  color: var(--tv-mute);
}

.tvc-field input,
.tvc-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(243, 238, 226, 0.16);
  border-radius: 12px;
  background: rgba(6, 12, 34, 0.55);
  color: var(--tv-cream);
  font: 400 1rem/1.5 var(--tv-sans);
  transition: border-color 0.2s var(--tv-ease), box-shadow 0.2s var(--tv-ease), background-color 0.2s var(--tv-ease);
}

.tvc-field textarea {
  min-height: 150px;
  resize: vertical;
}

.tvc-field input::placeholder,
.tvc-field textarea::placeholder {
  color: rgba(243, 238, 226, 0.4);
}

.tvc-field input:hover,
.tvc-field textarea:hover {
  border-color: rgba(243, 238, 226, 0.3);
}

.tvc-field input:focus,
.tvc-field textarea:focus {
  outline: none;
  border-color: var(--tv-gold);
  background: rgba(6, 12, 34, 0.8);
  box-shadow: 0 0 0 3px rgba(241, 174, 34, 0.22);
}

.tvc-form__foot {
  margin-top: 0.25rem;
}

.tvc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.9rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tv-gold-hi), var(--tv-gold));
  color: var(--tv-ink);
  font: 600 1rem/1 var(--tv-sans);
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(241, 174, 34, 0.7);
  transition: transform 0.2s var(--tv-ease), box-shadow 0.2s var(--tv-ease);
}

.tvc-btn svg {
  transition: transform 0.2s var(--tv-ease);
}

.tvc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(241, 174, 34, 0.85);
}

.tvc-btn:hover svg {
  transform: translateX(3px);
}

/* The panel */
.tvc-panel {
  background:
    radial-gradient(28rem 16rem at 100% 0%, rgba(241, 174, 34, 0.12), transparent 65%),
    linear-gradient(160deg, rgba(0, 30, 83, 0.85), rgba(6, 12, 34, 0.9));
}

.tvc-ways {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tvc-way {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  border: 1px solid rgba(243, 238, 226, 0.1);
  border-radius: 14px;
  background: var(--tv-glass);
  color: var(--tv-cream);
  text-decoration: none;
  transition: border-color 0.2s var(--tv-ease), background-color 0.2s var(--tv-ease), transform 0.2s var(--tv-ease);
}

.tvc-way:hover {
  border-color: var(--tv-line);
  background: rgba(241, 174, 34, 0.08);
  color: var(--tv-cream);
  transform: translateX(3px);
}

.tvc-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(241, 174, 34, 0.14);
  color: var(--tv-gold);
  font-size: 1.05rem;
}

.tvc-way__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.tvc-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tv-mute);
}

.tvc-way__value {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.tvc-way__go {
  display: flex;
  color: var(--tv-gold);
  opacity: 0.7;
  transition: opacity 0.2s var(--tv-ease), transform 0.2s var(--tv-ease);
}

.tvc-way:hover .tvc-way__go {
  opacity: 1;
  transform: translateX(2px);
}

.tvc-visit {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 1.25rem 0 0 0.8rem;
  border-top: 1px solid rgba(243, 238, 226, 0.1);
}

.tvc-visit__address {
  margin: 0.35rem 0 0;
  font-style: normal;
  line-height: 1.6;
  color: var(--tv-cream);
}

.tvc-visit__map {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--tv-gold);
  font-weight: 600;
  text-decoration: none;
}

.tvc-visit__map svg {
  width: 16px;
  height: 16px;
}

.tvc-visit__map:hover {
  color: var(--tv-gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tvc-social {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0 0.8rem;
  border-top: 1px solid rgba(243, 238, 226, 0.1);
}

.tvc-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.tvc-social__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid rgba(243, 238, 226, 0.14);
  border-radius: 999px;
  color: var(--tv-cream);
  text-decoration: none;
  font-size: 0.92rem;
  transition: border-color 0.2s var(--tv-ease), color 0.2s var(--tv-ease), background-color 0.2s var(--tv-ease);
}

.tvc-social__links a i {
  color: var(--tv-gold);
}

.tvc-social__links a:hover {
  border-color: var(--tv-gold);
  background: rgba(241, 174, 34, 0.08);
  color: var(--tv-cream);
}

.tvc a:focus-visible,
.tvc button:focus-visible {
  outline: 2px solid var(--tv-gold);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------
   Smaller screens
   ------------------------------------------------------------------ */

@media (max-width: 991px) {
  .tvc__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .tvc {
    padding: 0 16px 64px;
  }
}

@media (max-width: 575px) {
  .tvc-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .tvc-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tvc *,
  .tvc *::before,
  .tvc *::after {
    transition: none !important;
  }
}

/* Phones: a little less letter spacing, so the label stays on one line */
@media (max-width: 480px) {
  .tvc-eyebrow {
    letter-spacing: 0.12em;
  }
}
