/* ==========================================================================
   Institutional Pages V2
   Scope: contact and legal pages only.
   ========================================================================== */

.techy-page-v2 {
  --v2-ink: #111111;
  --v2-graphite: #2f302d;
  --v2-muted: #6f6d66;
  --v2-line: rgba(17, 17, 17, .11);
  --v2-soft: #f7f3eb;
  --v2-surface: #fffdf8;
  --v2-gold: #c5a97e;
  --v2-gold-2: #e9d4a7;
  --v2-shadow: 0 18px 48px rgba(33, 27, 18, .10);
  --v2-radius: 8px;
  background:
    radial-gradient(circle at 8% 8%, rgba(197, 169, 126, .16), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #f7f3eb 46%, #fffdf8 100%);
  color: var(--v2-ink);
  overflow-x: clip;
}

.techy-v2-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.techy-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v2-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.techy-v2-section-head {
  display: grid;
  gap: 8px;
  max-width: 680px;
  margin-bottom: 24px;
}

.techy-v2-section-head h2,
.techy-contact-location h2,
.techy-contact-final h2,
.techy-contact-channels h2,
.techy-legal-cta h2 {
  margin: 0;
  color: var(--v2-ink);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.techy-v2-btn,
.lg-btn-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.techy-v2-btn--primary,
.lg-btn-primary {
  background: var(--v2-ink);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .18);
}

.techy-v2-btn--ghost {
  background: rgba(255, 255, 255, .72);
  color: var(--v2-ink);
  border-color: var(--v2-line);
}

.techy-v2-btn:hover,
.techy-v2-btn:focus-visible,
.lg-btn-primary:hover,
.lg-btn-primary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(197, 169, 126, .48);
  box-shadow: 0 18px 42px rgba(197, 169, 126, .24);
  outline: none;
}

.techy-page-v2 :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(197, 169, 126, .42);
  outline-offset: 3px;
}

/* Contact */
.techy-contact-hero {
  padding: clamp(54px, 8vw, 92px) 0 34px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, .95), rgba(41, 34, 24, .92)),
    radial-gradient(circle at 82% 20%, rgba(197, 169, 126, .32), transparent 30%);
  color: #ffffff;
}

.techy-contact-hero__grid {
  display: grid;
  gap: 28px;
}

.techy-contact-hero__copy {
  max-width: 760px;
}

.techy-contact-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(44px, 10vw, 78px);
  line-height: .95;
  letter-spacing: 0;
  color: #ffffff;
}

.techy-contact-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.techy-contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.techy-contact-hero .techy-v2-btn--primary {
  background: linear-gradient(135deg, var(--v2-gold), var(--v2-gold-2));
  color: #16120c;
}

.techy-contact-hero .techy-v2-btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .22);
}

.techy-contact-section {
  padding: clamp(42px, 7vw, 78px) 0;
}

.techy-contact-section--soft {
  background: rgba(255, 255, 255, .52);
  border-block: 1px solid rgba(17, 17, 17, .07);
}

.techy-contact-brand-grid {
  display: grid;
  gap: 14px;
}

.techy-contact-brand-card {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--contact-brand, var(--v2-gold)) 28%, transparent);
  border-radius: var(--v2-radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--contact-brand, var(--v2-gold)) 10%, transparent), rgba(255, 255, 255, .82)),
    var(--v2-surface);
  box-shadow: 0 12px 34px rgba(33, 27, 18, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.techy-contact-brand-card:hover,
.techy-contact-brand-card:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--contact-brand, var(--v2-gold)) 58%, transparent);
  box-shadow: var(--v2-shadow);
}

.techy-contact-brand-card__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--v2-radius);
  background: rgba(255, 255, 255, .88);
  color: var(--contact-brand, var(--v2-gold));
  border: 1px solid color-mix(in srgb, var(--contact-brand, var(--v2-gold)) 52%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.techy-contact-brand-card__mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.techy-contact-brand-card h3 {
  margin: 0 0 8px;
  color: var(--v2-ink);
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.techy-contact-brand-card p {
  margin: 0;
  color: var(--v2-muted);
  font-size: 14px;
  line-height: 1.65;
}

.techy-contact-brand-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v2-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.techy-contact-channels {
  display: grid;
  gap: 24px;
}

.techy-contact-channels__intro {
  display: grid;
  gap: 10px;
}

.techy-contact-channels__intro p,
.techy-contact-final p,
.techy-contact-location__panel span {
  margin: 0;
  color: var(--v2-muted);
  font-size: 15px;
  line-height: 1.7;
}

.techy-contact-channel-grid {
  display: grid;
  gap: 12px;
}

.techy-contact-channel {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 16px;
  border-radius: var(--v2-radius);
  border: 1px solid var(--v2-line);
  background: rgba(255, 255, 255, .76);
  color: var(--v2-ink);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.techy-contact-channel:hover,
.techy-contact-channel:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(197, 169, 126, .46);
  box-shadow: 0 12px 32px rgba(33, 27, 18, .09);
}

.techy-contact-channel i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111111;
  color: var(--v2-gold-2);
}

.techy-contact-channel span {
  font-weight: 800;
}

.techy-contact-channel small {
  color: var(--v2-muted);
  line-height: 1.4;
}

.techy-contact-location {
  padding: clamp(42px, 7vw, 78px) 0;
}

.techy-contact-location__grid {
  display: grid;
  gap: 18px;
}

.techy-contact-location__panel,
.techy-contact-location__map,
.techy-contact-final__inner {
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 34px rgba(33, 27, 18, .08);
}

.techy-contact-location__panel {
  padding: 24px;
}

.techy-contact-detail-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.techy-contact-detail-list > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-top: 14px;
  border-top: 1px solid var(--v2-line);
}

.techy-contact-detail-list i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111111;
  color: var(--v2-gold);
}

.techy-contact-detail-list p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.techy-contact-schedule {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.techy-contact-schedule p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.techy-contact-schedule__day {
  color: var(--v2-ink);
  font-size: 13px;
  font-weight: 800;
}

.techy-contact-schedule small {
  width: fit-content;
  margin-top: 2px;
  padding: 6px 10px;
  border: 1px solid rgba(197, 169, 126, .36);
  border-radius: 999px;
  color: #725629;
  background: rgba(197, 169, 126, .10);
  font-size: 12px;
  font-weight: 800;
}

.techy-contact-detail-list strong {
  color: var(--v2-ink);
  font-size: 13px;
}

.techy-contact-location__map {
  overflow: hidden;
  min-height: 320px;
}

.techy-contact-location__map iframe {
  width: 100%;
  min-height: 320px;
  height: 100%;
  display: block;
  border: 0;
}

.techy-contact-final {
  padding: 0 0 clamp(48px, 8vw, 92px);
}

.techy-contact-final__inner {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 5vw, 40px);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(40, 34, 25, .94)),
    #111111;
  color: #ffffff;
}

.techy-contact-final h2,
.techy-contact-final p {
  color: #ffffff;
}

.techy-contact-final p {
  color: rgba(255, 255, 255, .74);
}

.techy-contact-final .techy-v2-btn--primary {
  background: linear-gradient(135deg, var(--v2-gold), var(--v2-gold-2));
  color: #16120c;
}

/* Legal */
.techy-legal-hero {
  padding: clamp(44px, 7vw, 76px) 0 28px;
  background:
    radial-gradient(circle at 88% 16%, rgba(197, 169, 126, .20), transparent 34%),
    linear-gradient(135deg, #161411, #2d271e);
  color: #ffffff;
}

.techy-legal-hero__inner {
  display: grid;
  gap: 22px;
}

.techy-legal-hero h1 {
  max-width: 820px;
  margin: 12px 0 12px;
  color: #ffffff;
  font-size: clamp(38px, 8vw, 70px);
  line-height: .98;
  letter-spacing: 0;
}

.techy-legal-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.75;
}

.techy-legal-hero__meta {
  width: fit-content;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--v2-radius);
  background: rgba(255, 255, 255, .08);
}

.techy-legal-hero__meta span {
  color: rgba(255, 255, 255, .56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.techy-legal-hero__meta strong {
  color: #ffffff;
  font-size: 14px;
}

.techy-legal-layout {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 52px) 0 clamp(56px, 8vw, 96px);
}

.techy-legal-index,
.techy-legal-content {
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 34px rgba(33, 27, 18, .07);
}

.techy-legal-index {
  padding: 18px;
  align-self: start;
}

.techy-legal-index p {
  margin: 0 0 12px;
  color: var(--v2-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.techy-legal-index ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.techy-legal-index a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, .09);
  background: rgba(247, 243, 235, .72);
  color: var(--v2-graphite);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.techy-legal-index a:hover,
.techy-legal-index a:focus-visible {
  border-color: rgba(197, 169, 126, .48);
  color: var(--v2-ink);
}

.techy-legal-content {
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
}

.techy-legal-intro,
.techy-legal-note,
.techy-legal-cta {
  margin-bottom: 26px;
  padding: 18px;
  border-radius: var(--v2-radius);
  border: 1px solid rgba(197, 169, 126, .28);
  background: rgba(197, 169, 126, .08);
}

.techy-legal-note {
  display: flex;
  gap: 12px;
}

.techy-legal-note i {
  color: var(--v2-gold);
  margin-top: 4px;
}

.techy-legal-intro p,
.techy-legal-note p {
  margin: 0;
}

.techy-legal-section {
  padding: 26px 0;
  border-top: 1px solid rgba(17, 17, 17, .08);
  scroll-margin-top: 110px;
}

.techy-legal-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.techy-legal-section h2 {
  margin: 0 0 14px;
  color: var(--v2-ink);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: 0;
}

.techy-legal-content p,
.techy-legal-content li,
.techy-legal-content td,
.techy-legal-content th {
  color: var(--v2-graphite);
  font-size: 15px;
  line-height: 1.78;
}

.techy-legal-content p {
  margin: 0 0 14px;
}

.techy-legal-content p:last-child {
  margin-bottom: 0;
}

.techy-legal-content a {
  color: #8e6d35;
  font-weight: 800;
  text-decoration: none;
}

.techy-legal-content a:hover,
.techy-legal-content a:focus-visible {
  text-decoration: underline;
}

.techy-legal-content ul,
.techy-legal-content ol {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 22px;
}

.techy-legal-content li::marker {
  color: var(--v2-gold);
  font-weight: 800;
}

.techy-legal-table-wrap {
  overflow-x: auto;
  margin: 14px 0 18px;
  -webkit-overflow-scrolling: touch;
}

.techy-legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  overflow: hidden;
  background: #ffffff;
}

.techy-legal-table th,
.techy-legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17, 17, 17, .08);
  text-align: left;
  vertical-align: top;
}

.techy-legal-table th {
  width: 190px;
  color: var(--v2-ink);
  background: rgba(247, 243, 235, .72);
}

.techy-legal-mini-grid,
.techy-claims-guide {
  display: grid;
  gap: 12px;
  margin: 16px 0 18px;
}

.techy-legal-mini-grid > div,
.techy-claims-guide > div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: rgba(247, 243, 235, .58);
}

.techy-claims-guide > div {
  grid-template-columns: 38px 1fr;
  align-items: start;
}

.techy-claims-guide i {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111111;
  color: var(--v2-gold);
}

.techy-legal-mini-grid strong,
.techy-claims-guide strong {
  color: var(--v2-ink);
  font-size: 15px;
}

.techy-legal-mini-grid p,
.techy-claims-guide span,
.techy-legal-mini-grid small {
  margin: 0;
  color: var(--v2-muted);
  font-size: 13px;
  line-height: 1.6;
}

.techy-legal-section--form {
  padding: 22px;
  margin: 22px 0;
  border: 1px solid rgba(197, 169, 126, .28);
  border-radius: var(--v2-radius);
  background: rgba(247, 243, 235, .62);
}

.techy-legal-v2 .lg-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.techy-legal-v2 .lg-form__row--2 {
  display: grid;
  gap: 14px;
}

.techy-legal-v2 .lg-form__group {
  display: grid;
  gap: 7px;
  margin: 0;
}

.techy-legal-v2 .lg-form__label {
  color: var(--v2-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.techy-legal-v2 .lg-form__input,
.techy-legal-v2 .lg-form__select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: var(--v2-radius);
  background: #ffffff;
  color: var(--v2-ink);
  font: inherit;
  box-sizing: border-box;
}

.techy-legal-v2 .lg-form__textarea {
  min-height: 130px;
  resize: vertical;
}

.techy-legal-v2 .lg-form__input:focus,
.techy-legal-v2 .lg-form__select:focus {
  border-color: var(--v2-gold);
  box-shadow: 0 0 0 4px rgba(197, 169, 126, .13);
  outline: none;
}

.techy-legal-v2 .lg-form__input.is-invalid,
.techy-legal-v2 .lg-form__check.is-invalid {
  border-color: rgba(181, 45, 45, .52);
}

.techy-legal-v2 .lg-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, .10);
  border-radius: var(--v2-radius);
  background: #ffffff;
}

.techy-legal-v2 .lg-form__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--v2-gold);
}

.techy-legal-v2 .lg-form__actions {
  display: grid;
  gap: 10px;
}

.techy-legal-v2 .lg-form__submit {
  width: 100%;
}

.techy-legal-cta {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(40, 34, 25, .94)),
    #111111;
}

.techy-legal-cta h2,
.techy-legal-cta p {
  color: #ffffff;
}

.techy-legal-cta p {
  color: rgba(255, 255, 255, .72);
}

.techy-legal-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.techy-legal-cta .techy-v2-btn--primary {
  background: linear-gradient(135deg, var(--v2-gold), var(--v2-gold-2));
  color: #16120c;
}

.techy-legal-cta .techy-v2-btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .22);
}

@media (min-width: 700px) {
  .techy-contact-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .techy-contact-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .techy-legal-mini-grid,
  .techy-claims-guide,
  .techy-legal-v2 .lg-form__row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .techy-contact-hero__grid,
  .techy-contact-location__grid,
  .techy-contact-final__inner,
  .techy-legal-hero__inner,
  .techy-legal-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .techy-contact-channels {
    grid-template-columns: .72fr 1.28fr;
    align-items: start;
  }

  .techy-contact-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .techy-legal-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
  }

  .techy-legal-index {
    position: sticky;
    top: 96px;
  }

  .techy-legal-index ul {
    display: grid;
  }
}

@media (min-width: 1120px) {
  .techy-contact-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .techy-v2-wrap {
    width: min(100% - 24px, 1180px);
  }

  .techy-contact-hero h1,
  .techy-legal-hero h1 {
    font-size: clamp(34px, 13vw, 48px);
  }

  .techy-contact-hero__actions,
  .techy-legal-cta__actions {
    display: grid;
  }

  .techy-v2-btn,
  .lg-btn-primary {
    width: 100%;
  }

  .techy-contact-brand-card,
  .techy-contact-location__panel,
  .techy-contact-final__inner,
  .techy-legal-content,
  .techy-legal-index {
    padding: 18px;
  }

  .techy-legal-section--form {
    margin-inline: -10px;
    padding: 18px 12px;
  }

  .techy-legal-table {
    min-width: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .techy-page-v2 *,
  .techy-page-v2 *::before,
  .techy-page-v2 *::after {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }
}
