/* Contact page layout and responsive styling. */
.ta-contact-page { overflow: hidden; background: #fff; color: var(--ta-navy); }
.ta-contact-container { position: relative; z-index: 1; }

.ta-contact-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 0 0 1.5rem 1.5rem; background: var(--ta-navy); padding: 8rem 0 6rem; color: #fff; box-shadow: 0 1.25rem 2.5rem rgba(0,35,84,.15); }
.ta-contact-hero-shapes { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ta-contact-hero-shapes i { position: absolute; display: block; transform: skewX(20deg); transform-origin: top left; }
.ta-contact-hero-shapes i:first-child { right: -10%; top: -20%; width: 70%; height: 120%; border-left: 1px solid rgba(255,255,255,.05); background: linear-gradient(135deg,rgba(0,188,203,.2),rgba(0,188,203,.05),transparent); }
.ta-contact-hero-shapes i:nth-child(2) { right: -5%; top: 0; width: 40%; height: 100%; background: linear-gradient(to bottom,rgba(0,188,203,.1),transparent); }
.ta-contact-hero-shapes b { position: absolute; right: 15%; top: 10%; width: 31.25rem; height: 31.25rem; border-radius: 50%; background: rgba(0,188,203,.2); filter: blur(7.5rem); }
.ta-contact-hero-grid { display: grid; gap: 3rem; align-items: end; }
.ta-contact-hero-copy h1,
.ta-contact-page h2 { margin: 0; color: var(--ta-navy); font-weight: 800; }
.ta-contact-hero-copy h1 { max-width: 56rem; color: #fff; font-size: clamp(2.5rem,6vw,4rem); line-height: 1.12; letter-spacing: -.04em; }
.ta-contact-hero-copy h1 em { color: var(--ta-teal); font-style: normal; }
.ta-contact-hero-copy p { max-width: 48rem; margin: 1.75rem 0 0; color: rgba(255,255,255,.8); font-size: clamp(1rem,1.5vw,1.25rem); font-weight: 500; line-height: 1.6; }
.ta-contact-details { position: relative; z-index: 1; display: grid; gap: 1.25rem; }
.ta-contact-details a { display: flex; align-items: center; gap: 1rem; border-left: 2px solid var(--ta-teal); padding-left: 1.5rem; color: #fff; transition: color .2s ease; }
.ta-contact-details a:hover { color: var(--ta-teal); }
.ta-contact-details > a > span:first-child { display: grid; width: 3rem; height: 3rem; flex: 0 0 3rem; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: rgba(255,255,255,.1); color: var(--ta-teal); }
.ta-contact-details .ta-icon { display: block; width: 1.5rem; height: 1.5rem; }
.ta-contact-details .ta-contact-detail-copy { display: block; width: auto; height: auto; min-width: 0; flex: 1 1 auto; grid-row: auto; place-items: initial; border: 0; border-radius: 0; background: transparent; color: inherit; }
.ta-contact-details small,
.ta-contact-details strong { display: block; }
.ta-contact-details small { color: rgba(255,255,255,.6); font-size: .875rem; font-weight: 700; line-height: 1.25; }
.ta-contact-details strong { margin-top: .25rem; color: #fff; font-size: clamp(1.1875rem,2vw,1.375rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ta-contact-details a:hover strong { color: var(--ta-teal); }

.ta-contact-section { position: relative; overflow: hidden; padding: clamp(4rem,8vw,8rem) 0; background: #fff; }
.ta-contact-section-heading { max-width: 48rem; }
.ta-contact-section h2 { font-size: clamp(2.25rem,5vw,3.5rem); line-height: 1.14; letter-spacing: -.035em; }
.ta-contact-section-heading p,
.ta-contact-message-copy p { max-width: 42rem; margin: 1.5rem 0 0; color: rgba(0,35,84,.7); font-size: 1.125rem; font-weight: 500; line-height: 1.625; }
.ta-contact-route-list { margin-top: 3rem; border-top: 1px solid rgba(0,35,84,.15); }
.ta-contact-route-list article { display: grid; gap: 1rem; border-bottom: 1px solid rgba(0,35,84,.15); padding: 2rem 0; }
.ta-contact-route-list b { color: var(--ta-teal-dark); font-size: .8125rem; font-weight: 700; line-height: 1.2; letter-spacing: .15em; }
.ta-contact-route-list h3 { margin: 0; color: var(--ta-navy); font-size: clamp(1.375rem,3vw,1.75rem); font-weight: 700; line-height: 1.26; letter-spacing: -.015em; }
.ta-contact-route-list p { margin: 0; color: rgba(0,35,84,.7); font-size: 1.125rem; font-weight: 500; line-height: 1.625; }
.ta-contact-route-list a { display: inline-flex; align-items: center; gap: .5rem; width: max-content; color: var(--ta-teal); font-size: .875rem; font-weight: 800; transition: color .2s ease; }
.ta-contact-route-list a:hover { color: var(--ta-navy); }
.ta-contact-route-list .ta-icon { width: 1rem; height: 1rem; }

.ta-contact-message-shape { position: absolute; left: -14%; top: -22%; width: 40%; height: 150%; transform: skewX(-17deg); border-right: 1.125rem solid #fff; background: rgba(224,244,244,.8); }
.ta-contact-message-grid { position: relative; z-index: 1; display: grid; gap: 3rem; }
.ta-contact-form { display: grid; gap: 1.25rem; }
.ta-contact-form label { display: block; color: var(--ta-navy); font-size: .875rem; font-weight: 800; }
.ta-contact-form input,
.ta-contact-form textarea,
.ta-contact-form select { display: block; width: 100%; margin-top: .5rem; border: 1px solid rgba(0,35,84,.15); border-radius: .75rem; background-color: #fff; padding: .875rem 1rem; color: var(--ta-navy); font-size: 1rem; font-weight: 500; line-height: 1.5; outline: 0; }
.ta-contact-form textarea { resize: vertical; }
.ta-contact-form select { appearance: auto; padding-right: 1rem; }
.ta-contact-form input:focus,
.ta-contact-form textarea:focus,
.ta-contact-form select:focus { border-color: var(--ta-teal); box-shadow: 0 0 0 3px rgba(0,188,203,.12); }
.ta-contact-form .ta-button { margin-top: 0; }

@media (min-width: 640px) {
  .ta-contact-details a { padding-left: 2rem; }
  .ta-contact-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ta-contact-form-full { grid-column: 1 / -1; }
}

@media (min-width: 1260px) {
  .ta-contact-hero-grid,
  .ta-contact-message-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 4rem; }
  .ta-contact-hero-copy { grid-column: span 8 / span 8; }
  .ta-contact-details { grid-column: span 4 / span 4; }
  .ta-contact-message-copy { grid-column: span 4 / span 4; }
  .ta-contact-form { grid-column: span 8 / span 8; }
  .ta-contact-route-list { margin-top: 4rem; }
  .ta-contact-route-list article { grid-template-columns: repeat(12,minmax(0,1fr)); align-items: center; column-gap: 2rem; padding: 2.5rem 0; }
  .ta-contact-route-list b { grid-column: span 1 / span 1; }
  .ta-contact-route-list h3 { grid-column: span 4 / span 4; }
  .ta-contact-route-list p { grid-column: span 4 / span 4; }
  .ta-contact-route-list a { grid-column: span 3 / span 3; justify-self: end; }
}

@media (max-width: 767px) {
  .ta-contact-hero { padding: 7.5rem 0 4rem; }
  .ta-contact-section { padding: 4.25rem 0; }
  .ta-contact-section-heading p,
  .ta-contact-message-copy p,
  .ta-contact-route-list p { font-size: 1rem; }
}
