/* page: Contact */
/* this page's own frame widths (pipeline/responsive.py) */
@media (max-width: 767.98px) { body.page-contact { --u: min(calc(var(--vw) / 375), 1.3px); } }
/* Contact — values from the Figma frames (375 mobile base, 1920 desktop from 768px). */
.page-contact h1, .page-contact h2, .page-contact p, .page-contact dl, .page-contact dd { margin: 0; }
.page-contact h1, .page-contact h2 { font-weight: 400; }
.page-contact em { font-style: normal; font-weight: 300; }

.ct-hero { position: relative; display: flex; flex-direction: column; background: #07101e; color: #e6f1f4; overflow: hidden; }
.ct-hero__img { display: none; }
.ct-hero__img-m { display: block; width: 100%; height: calc(280 * var(--u)); object-fit: cover; }
.ct-hero__ov { position: absolute; left: 0; right: 0; top: 0; height: calc(280 * var(--u)); background: linear-gradient(180deg, #07101e8c 0%, #07101e00 35%, #07101e00 75%, #07101e 100%); }
.ct-hero__copy { position: relative; display: flex; flex-direction: column; gap: calc(16 * var(--u)); padding: calc(8 * var(--u)) calc(24 * var(--u)) calc(40 * var(--u)); }
.ct-hero h1 { font-size: max(12px, calc(40 * var(--u))); line-height: calc(48 * var(--u)); letter-spacing: calc(-1.2 * var(--u)); color: #e6f1f4; }
.ct-hero h1 em { color: #8fdce0; }
.ct-hero p { font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); opacity: .74; }

.ct-msg { display: flex; flex-direction: column; background: #fff; }
.ct-details { display: contents; }
.ct-details h2 { order: 1; padding: calc(40 * var(--u)) calc(24 * var(--u)) calc(24 * var(--u)); font-size: max(12px, calc(32 * var(--u))); line-height: calc(38.4 * var(--u)); letter-spacing: calc(-0.8 * var(--u)); color: #0b1626; }
.ct-details h2 em { color: #1c7880; }
.ct-form { order: 2; display: flex; flex-direction: column; gap: calc(24 * var(--u)); padding: 0 calc(24 * var(--u)) calc(40 * var(--u)); }
.ct-list { order: 3; display: flex; flex-direction: column; padding: calc(40 * var(--u)) calc(24 * var(--u)); background: #f0f4f5; }
.ct-list > div { display: flex; flex-direction: column; gap: calc(8 * var(--u)); padding: calc(16 * var(--u)) 0; }
.ct-list dt { font-size: max(12px, calc(12 * var(--u))); font-weight: 500; line-height: calc(18 * var(--u)); letter-spacing: calc(2.4 * var(--u)); text-transform: uppercase; color: #1c7880; }
.ct-list dd { font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); color: #0b1626; }

.ct-row { display: flex; flex-direction: column; gap: calc(24 * var(--u)); }
.field { display: flex; flex-direction: column; gap: calc(2 * var(--u)); padding: calc(14 * var(--u)) calc(20 * var(--u)); background: #f0f4f5; border-radius: calc(8 * var(--u)); box-shadow: inset 0 0 0 calc(1 * var(--u)) transparent; transition: box-shadow .25s; cursor: text; }
.field:focus-within { box-shadow: inset 0 0 0 calc(1 * var(--u)) #1c7880; }
.field .lbl { font-size: max(12px, calc(12 * var(--u))); font-weight: 500; line-height: calc(18 * var(--u)); letter-spacing: calc(2.4 * var(--u)); text-transform: uppercase; color: #56656f; }
.field input, .field textarea { width: 100%; border: 0; padding: 0; background: none; font: inherit; font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); color: #0b1626; outline: none; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #0b1626; opacity: .45; }
.field--area { min-height: calc(160 * var(--u)); }
.field--area textarea { min-height: calc(102 * var(--u)); }
.consent { position: relative; display: flex; align-items: center; gap: calc(12 * var(--u)); font-size: max(12px, calc(14 * var(--u))); line-height: calc(21 * var(--u)); color: #56656f; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: calc(22 * var(--u)); height: calc(22 * var(--u)); margin: 0; }
.consent .box { flex: 0 0 calc(22 * var(--u)); width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: calc(6 * var(--u)); border: 1.5px solid #56656f; transition: background-color .2s, border-color .2s; }
.consent input:checked + .box { background: #1c7880 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / calc(16 * var(--u)) no-repeat; border-color: #1c7880; }
.consent input:focus-visible + .box { outline: 2px solid #1c7880; outline-offset: calc(2 * var(--u)); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.captcha { display: flex; align-items: center; gap: calc(12 * var(--u)); width: calc(304 * var(--u)); min-height: calc(78 * var(--u)); padding: 0 calc(16 * var(--u)); background: #f0f4f5; border: 1px solid #d5dee2; border-radius: calc(4 * var(--u)); }
.captcha__box { width: calc(24 * var(--u)); height: calc(24 * var(--u)); background: #fff; border: 2px solid #56656f; border-radius: calc(4 * var(--u)); }
.captcha__txt { flex: 1; font-size: max(12px, calc(14 * var(--u))); line-height: calc(21 * var(--u)); color: #0b1626; }
.captcha__logo { width: calc(93 * var(--u)); height: calc(48 * var(--u)); }
.ct-form .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.btn-dark-pill { display: inline-flex; align-items: center; justify-content: center; min-height: calc(56 * var(--u)); padding: 0 calc(28 * var(--u)); border-radius: calc(999 * var(--u)); font-size: max(12px, calc(16 * var(--u))); font-weight: 500; line-height: calc(24 * var(--u)); letter-spacing: calc(-0.2 * var(--u)); background: #07101e; color: #e6f1f4; transition: background-color .3s; }
.btn-dark-pill:hover { background: #1c7880; }

@media (min-width: 768px) {
  .ct-hero { min-height: calc(560 * var(--u)); justify-content: flex-end; padding: 0 calc(240 * var(--u)) calc(104 * var(--u)); }
  .ct-hero__img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .ct-hero__img-m { display: none; }
  .ct-hero__ov { height: auto; bottom: 0; background: linear-gradient(90deg, #07101ee0 0%, #07101e59 55%, #07101e00 100%); }
  .ct-hero__copy { padding: 0; gap: calc(24 * var(--u)); }
  .ct-hero h1 { font-size: max(12px, calc(56 * var(--u))); line-height: calc(67.2 * var(--u)); letter-spacing: calc(-1.7 * var(--u)); white-space: nowrap; }
  .ct-hero p { width: calc(582 * var(--u)); font-size: max(12px, calc(20 * var(--u))); line-height: calc(30 * var(--u)); letter-spacing: calc(-0.2 * var(--u)); }

  .ct-msg { flex-direction: row; align-items: flex-start; gap: calc(120 * var(--u)); padding: calc(104 * var(--u)) calc(240 * var(--u)); }
  .ct-details { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; gap: calc(40 * var(--u)); }
  .ct-details h2 { padding: 0; font-size: max(12px, calc(40 * var(--u))); line-height: calc(48 * var(--u)); letter-spacing: calc(-1 * var(--u)); }
  .ct-list { padding: 0; background: none; border-top: 1px solid #d5dee2; width: calc(560 * var(--u)); }
  .ct-list > div { flex-direction: row; gap: calc(24 * var(--u)); padding: calc(24 * var(--u)) 0; border-bottom: 1px solid #d5dee2; }
  .ct-list dt { width: calc(125 * var(--u)); flex-shrink: 0; }
  .ct-list dd { flex: 1 1 0; min-width: 0; }
  .ct-form { width: calc(760 * var(--u)); flex-shrink: 0; gap: calc(32 * var(--u)); padding: 0; }
  .ct-row { flex-direction: row; gap: calc(16 * var(--u)); }
  .ct-row .field { flex: 1 1 0; min-width: 0; }
}

/* Two-colour headings: the accent is the heading's colour (as in Figma); the plain words override it. */
.page-contact h1, .page-contact h2 { color: var(--acc, #1c7880); }
.page-contact h1 em, .page-contact h2 em { color: inherit; }

.ct-hero h1 { --acc: #8fdce0; } .ct-hero h1 .w { color: #e6f1f4; } .ct-details h2 .w { color: #0b1626; }

/* Popup + button styles for old pages that open a popup. */
.x-modal h2, .x-modal p { margin: 0; font-weight: 400; }
/* buttons */
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); min-height: calc(56 * var(--u)); padding: 0 calc(28 * var(--u)); border: 0; border-radius: calc(999 * var(--u)); font: inherit; font-size: max(12px, calc(16 * var(--u))); font-weight: 500; line-height: calc(24 * var(--u)); letter-spacing: calc(-0.2 * var(--u)); white-space: nowrap; cursor: pointer; transition: background-color .3s, box-shadow .3s, color .3s; }
.x-btn--dark { background: #07101e; color: #e6f1f4; }
.x-btn--dark:hover { background: #1c7880; }
.x-btn--light { background: #e0e9ec; color: #0b1626; }
.x-btn--light:hover { box-shadow: inset 0 0 0 calc(1 * var(--u)) #1c7880; }
.x-btn--ice { background: #e6f1f4; color: #07101e; }
.x-btn--ice:hover { background: #8fdce0; box-shadow: 0 0 calc(40 * var(--u)) rgba(143, 220, 224, .35); }
.x-btn--sm { min-height: calc(44 * var(--u)); padding: 0 calc(20 * var(--u)); }
.x-btn--block { width: 100%; }
.x-link { color: #1c7880 !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* popup (modal) */
.x-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: calc(24 * var(--u)); background: rgba(7, 16, 30, .8); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.x-modal.is-open { opacity: 1; visibility: visible; }
.x-modal__box { display: flex; flex-direction: column; align-items: center; gap: calc(24 * var(--u)); width: 100%; max-width: calc(560 * var(--u)); padding: calc(32 * var(--u)) calc(24 * var(--u)); border-radius: calc(16 * var(--u)); background: #fff; text-align: center; box-shadow: 0 calc(16 * var(--u)) calc(48 * var(--u)) calc(-8 * var(--u)) #07101e2e; transform: translateY(calc(16 * var(--u))); transition: transform .4s var(--ease, ease); }
.x-modal.is-open .x-modal__box { transform: none; }
.x-modal__icon { display: block; width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.x-modal h2 { align-self: stretch; margin: 0; font-size: max(12px, calc(32 * var(--u))); font-weight: 300; line-height: calc(38.4 * var(--u)); letter-spacing: calc(-0.8 * var(--u)); color: #0b1626; }
.x-modal p { align-self: stretch; margin: 0; font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); color: #56656f; }
.x-modal .x-btn { align-self: stretch; }

@media (min-width: 768px) {
  .x-modal__box { padding: calc(48 * var(--u)); }
  .x-modal h2 { font-size: max(12px, calc(40 * var(--u))); line-height: calc(48 * var(--u)); letter-spacing: calc(-1 * var(--u)); }
}
