/*
 * GlobalTech public forms (FormRenderer). Everything is scoped under .gtf so it works with or without Bootstrap.
 * Brand tokens fall back to the live site values when the theme does not define --gt-* variables.
 */
.gtf {
    --gtf-primary: var(--gt-primary, #6e29f6);
    --gtf-primary-dark: var(--gt-primary-dark, #5a1fd6);
    --gtf-accent: var(--gt-secondary, #009be9);
    --gtf-text: var(--gt-heading, #1b1d1d);
    --gtf-muted: var(--gt-body, #6a6a6a);
    --gtf-border: #8f8f97;
    --gtf-border-strong: #6b6b73;
    --gtf-line: #e7e6e6;
    --gtf-soft: #f7f7f8;
    --gtf-error: #c62828;
    --gtf-error-bg: #fdecec;
    --gtf-ok: #1b7f4b;
    --gtf-ok-bg: #e8f6ee;
    --gtf-radius: 10px;
    --gtf-font: var(--gt-font-body, "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
    --gtf-font-heading: var(--gt-font-heading, "Mona Sans", "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
    position: relative;
    width: 100%;
    margin: 0 auto;
    color: var(--gtf-muted);
    font-family: var(--gtf-font);
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

.gtf *, .gtf *::before, .gtf *::after { box-sizing: border-box; }
.gtf .visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gtf [hidden] { display: none !important; }

/* ---------- Card layouts ---------- */
/* A calm card: white, a hairline edge drawn as a ring (a window that holds the form, like the home page's, removes it
   together with the shadow), a soft neutral shadow. */
.gtf__card { background: #fff; border-radius: 20px; }
.gtf--card { max-width: 640px; }
.gtf--card .gtf__card { padding: clamp(24px, 4vw, 40px); box-shadow: 0 0 0 1px var(--gtf-line), 0 1px 2px rgba(17, 17, 26, 0.04), 0 14px 36px -14px rgba(17, 17, 26, 0.14); }
.gtf--card .gtf__head { text-align: center; margin-bottom: 26px; }
.gtf--banner { max-width: 900px; }
.gtf--banner .gtf__card { overflow: hidden; box-shadow: 0 0 0 1px var(--gtf-line), 0 1px 2px rgba(17, 17, 26, 0.04), 0 14px 36px -14px rgba(17, 17, 26, 0.14); }
.gtf--banner .gtf__head { margin: 0; padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) 26px; border-bottom: 1px solid var(--gtf-line); }
.gtf--banner .gtf__title { font-size: clamp(26px, 1.4rem + 1.2vw, 36px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.gtf--banner .gtf__intro { font-size: 16px; line-height: 1.6; max-width: 720px; }
.gtf--banner .gtf__body { padding: 28px clamp(24px, 4vw, 40px) clamp(28px, 4vw, 40px); }
.gtf--compact { max-width: 440px; font-size: 14px; line-height: 20px; }
.gtf--compact .gtf__card { padding: 22px 22px 24px; border-radius: 18px; box-shadow: 0 0 0 1px var(--gtf-line), 0 12px 32px -12px rgba(17, 17, 26, 0.24); }
.gtf--compact .gtf__head { margin-bottom: 12px; }
.gtf--compact .gtf__title { font-size: 20px; line-height: 26px; font-weight: 600; }
.gtf--compact .gtf__eyebrow { font-size: 12px; }
.gtf--compact .gtf__intro { font-size: 14px; }
.gtf--compact .gtf__fields { gap: 12px; }
.gtf--compact .gtf__input { min-height: 42px; padding: 9px 12px; font-size: 14px; border-radius: 10px; }
.gtf--compact .gtf__label { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.gtf--compact .gtf__submit { display: flex; width: 100%; justify-content: center; padding: 12px 20px; }
.gtf--compact .gtf__check { font-size: 12.5px; line-height: 18px; }
/* Optional small label above the title (option "eyebrow" of FormRenderer::render): plain text in the dark brand colour,
   like the labels of the rest of the site. A card with this label or with the option "accent" gets a few touches of
   its own further down ("Designed card"); the accent option no longer draws a bar of its own. */
.gtf__eyebrow { display: block; margin: 0 0 10px; padding: 0; color: var(--gtf-primary-dark); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.gtf--has-eyebrow .gtf__head { text-align: left; }
.gtf--has-eyebrow .gtf__title { font-size: clamp(24px, 1.2rem + 1vw, 32px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; }
.gtf--plain .gtf__card { background: transparent; border-radius: 0; box-shadow: none; padding: 0; }
.gtf--plain .gtf__head { margin-bottom: 18px; }

.gtf__head { margin: 0 0 20px; }
.gtf__logo { display: block; max-width: 230px; height: auto; margin: 0 auto 14px; }
.gtf__title { margin: 0 0 10px; font-family: var(--gtf-font-heading); font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; color: var(--gtf-text); text-wrap: balance; }
.gtf__intro { margin: 0; font-size: 15px; line-height: 1.6; color: var(--gtf-muted); text-wrap: pretty; }
.gtf__intro a, .gtf__help a, .gtf__check a, .gtf__paragraph a { color: var(--gtf-primary); text-decoration: underline; text-underline-offset: 2px; }
.gtf__intro a:hover, .gtf__help a:hover, .gtf__check a:hover { color: var(--gtf-primary-dark); }

/* ---------- Grid ---------- */
.gtf__fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 18px; align-items: start; }
.gtf__field { grid-column: span 6; min-width: 0; margin: 0; padding: 0; border: 0; }
.gtf__field--half { grid-column: span 3; }
.gtf__field--third { grid-column: span 2; }
@media (max-width: 640px) {
    .gtf__field--half, .gtf__field--third { grid-column: span 6; }
    .gtf--banner .gtf__head { padding: 24px 20px 20px; }
    .gtf--banner .gtf__body { padding: 22px 20px 26px; }
}

/* ---------- Labels, controls ---------- */
.gtf__label { display: block; margin: 0 0 6px; padding: 0; float: none; width: auto; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gtf-text); }
.gtf__req { color: var(--gtf-error); margin-left: 0; }
.gtf .gtf__input {
    display: block; width: 100%; min-height: 48px; margin: 0; padding: 11px 14px;
    font: inherit; font-size: 15px; line-height: 24px; color: var(--gtf-text);
    background-color: #fff; border: 1px solid var(--gtf-border); border-radius: var(--gtf-radius);
    box-shadow: 0 1px 2px rgba(17, 17, 26, 0.05); transition: border-color .15s ease, box-shadow .15s ease;
}
.gtf .gtf__input::placeholder { color: #75757d; opacity: 1; }
.gtf .gtf__input:hover { border-color: var(--gtf-border-strong); }
.gtf .gtf__input:focus { outline: 2px solid transparent; outline-offset: 2px; border-color: var(--gtf-primary); box-shadow: 0 0 0 1px var(--gtf-primary), 0 0 0 5px rgba(110, 41, 246, 0.16); }
.gtf textarea.gtf__input { min-height: 130px; resize: vertical; }
.gtf select.gtf__input {
    appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236e29f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.gtf .gtf__file { padding: 9px 12px; min-height: 50px; cursor: pointer; }
.gtf .gtf__file::file-selector-button { margin: 0 12px 0 0; padding: 7px 14px; border: 0; border-radius: 8px; background: var(--gtf-soft); color: var(--gtf-primary); font: inherit; font-weight: 600; cursor: pointer; }
.gtf .gtf__file:hover::file-selector-button { background: #eeeef1; }
.gtf__hint, .gtf__help { margin-top: 6px; font-size: 12.5px; line-height: 18px; color: var(--gtf-muted); }
.gtf__hint + .gtf__help { margin-top: 2px; }
.gtf__heading + .gtf__help { margin-top: 4px; font-size: 14px; line-height: 20px; }
.gtf__heading { margin: 8px 0 0; font-family: var(--gtf-font-heading); font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; color: var(--gtf-text); }
h4.gtf__heading { font-size: 18px; }
.gtf__paragraph { margin: 0; font-size: 14.5px; }

.gtf__error { margin-top: 6px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--gtf-error); }
.gtf .has-error .gtf__input, .gtf .gtf__input[aria-invalid="true"] { border-color: var(--gtf-error); }
.gtf .has-error .gtf__input:focus, .gtf .gtf__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 1px var(--gtf-error), 0 0 0 5px rgba(198, 40, 40, 0.24); }

/* ---------- Checks / radios ---------- */
.gtf input[type="checkbox"], .gtf input[type="radio"] { accent-color: var(--gtf-primary); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.gtf__check, .gtf__choice { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 22px; color: var(--gtf-text); font-weight: 500; }
.gtf__check-text { display: block; }
.gtf__nowrap { white-space: nowrap; }
#gtf-newsletter .gtf__submit { display: flex; width: 100%; justify-content: center; }
.gtf__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 18px; }
fieldset.gtf__field { min-inline-size: 0; }

/* ---------- Service groups (book-now) ---------- */
.gtf-svc-list { display: grid; gap: 14px; margin-top: 14px; }
.gtf-svc { border: 1px solid #d6d6da; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.gtf-svc:hover { border-color: #b4b4bc; }
.gtf-svc.is-selected { border-color: var(--gtf-primary); background: #fbf9ff; box-shadow: 0 0 0 1px var(--gtf-primary); }
.gtf-svc__card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; cursor: pointer; }
.gtf-svc__card input { width: 20px; height: 20px; margin-top: 2px; }
.gtf-svc__text { flex: 1; min-width: 0; display: block; }
.gtf-svc__text strong { display: block; font-family: var(--gtf-font-heading); font-size: 17px; line-height: 24px; letter-spacing: -0.01em; font-weight: 600; color: var(--gtf-text); }
.gtf-svc__text small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 19px; color: var(--gtf-muted); }
.gtf-svc__chevron { flex: none; align-self: flex-start; width: 10px; height: 10px; margin: 8px 4px 0 0; border-right: 2px solid var(--gtf-primary); border-bottom: 2px solid var(--gtf-primary); transform: rotate(45deg); transition: transform .2s ease; }
.gtf-svc.is-open .gtf-svc__chevron { transform: rotate(-135deg); }
.gtf-svc__sub { padding: 6px 18px 18px 52px; border-top: 1px solid var(--gtf-line); }
.gtf.is-js .gtf-svc:not(.is-open) .gtf-svc__sub { display: none; }
.gtf-svc__sub-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 10px; }
.gtf-svc__sub-title { font-size: 14px; font-weight: 600; color: var(--gtf-text); }
.gtf-svc__all { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--gtf-primary); cursor: pointer; }
.gtf-svc__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 18px; }
.gtf-svc__opt { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 22px; color: var(--gtf-text); cursor: pointer; }
.gtf__summary { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--gtf-line); border-radius: 10px; background: var(--gtf-soft); font-size: 14px; color: var(--gtf-text); }
.gtf__summary strong { display: block; margin-bottom: 4px; }
.gtf__summary p { margin: 0; white-space: pre-line; color: var(--gtf-muted); }
@media (max-width: 560px) { .gtf-svc__sub { padding-left: 18px; } .gtf-svc__card { gap: 12px; padding: 14px 14px 14px 16px; } }
/* keyboard focus on a service card shows on the whole card, not only on its small checkbox */
.gtf-svc:has(.gtf-svc__card input:focus-visible) { border-color: var(--gtf-primary); box-shadow: 0 0 0 1px var(--gtf-primary), 0 0 0 5px rgba(110, 41, 246, 0.16); }

/* ---------- Phones: 16px controls (no iOS zoom), 44px tap rows ---------- */
@media (max-width: 767.98px) {
    .gtf .gtf__input, .gtf select.gtf__input, .gtf textarea.gtf__input, .gtf--compact .gtf__input { font-size: 16px; }
    .gtf__check { min-height: 44px; padding: 6px 0; align-items: flex-start; }
    .gtf__check-text a { display: inline-block; padding: 4px 0; }
}

/* ---------- Status ---------- */
.gtf__alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: var(--gtf-error-bg); color: var(--gtf-error); border: 1px solid #f3c1c1; font-size: 14px; font-weight: 500; }
.gtf__alert p { margin: 0; }
.gtf__alert ul { margin: 6px 0 0; padding-left: 18px; }
.gtf__status { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 18px; padding: 20px 22px; border-radius: 14px; background: var(--gtf-ok-bg); color: #14532d; border: 1px solid #bfe3cd; }
.gtf__status:focus { outline: 2px solid var(--gtf-ok); outline-offset: 2px; }
.gtf__status-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gtf-ok); color: #fff; font-weight: 700; display: grid; place-items: center; }
.gtf__status-text { margin: 3px 0 0; font-size: 16px; line-height: 24px; font-weight: 500; }
.gtf__status--closed { background: var(--gtf-soft); color: var(--gtf-text); border-color: var(--gtf-line); }
.gtf__status--closed:last-child { margin-bottom: 0; }

/* ---------- Actions ---------- */
.gtf__actions { margin-top: 26px; text-align: center; }
.gtf--banner .gtf__actions, .gtf--plain .gtf__actions { text-align: left; }
.gtf__submit {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 180px; min-height: 50px; padding: 13px 28px; border: 0; border-radius: var(--gtf-radius); cursor: pointer;
    font: inherit; font-size: 16px; font-weight: 600; line-height: 22px; color: #fff;
    background: var(--gtf-primary);
    box-shadow: 0 1px 2px rgba(17, 17, 26, 0.08); transition: background-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.gtf__submit:hover { background: var(--gtf-primary-dark); }
.gtf__submit:focus-visible { outline: 2px solid var(--gtf-primary); outline-offset: 3px; box-shadow: none; }
.gtf__submit[disabled], .gtf__submit[disabled]:hover { opacity: .82; cursor: progress; background: var(--gtf-primary); }
/* phones: one full-width button on every form; cards (not the newsletter's, not the home page's window) a little
   narrower at the sides, for a shorter page */
@media (max-width: 640px) {
    .gtf__submit { display: flex; width: 100%; }
    .gtf--card:where(:not(.gtf--accent, .gtf--has-eyebrow)) .gtf__card { padding: 24px 20px 26px; }
}
/* Windows high-contrast mode draws no shadows: the button and the cards get a real edge there */
@media (forced-colors: active) {
    .gtf__submit { border: 1px solid ButtonText; }
    .gtf--card .gtf__card, .gtf--banner .gtf__card { border: 1px solid CanvasText; }
    .gt-popup .gtf.gtf--card .gtf__card { border: 0; }
}
.gtf__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: gtf-spin .7s linear infinite; }
.gtf__submit.is-loading .gtf__spinner { display: inline-block; }
.gtf__legal { margin: 14px 0 0; font-size: 11.5px; line-height: 16px; color: #6a6a6a; text-align: center; }
.gtf__legal a { color: inherit; text-decoration: underline; }
.gtf__captcha { margin-top: 18px; min-height: 78px; } /* room for the "I'm not a robot" box before it loads (no jump) */
@keyframes gtf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .gtf *, .gtf *::before, .gtf *::after { transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Designed card: a card with the label above the title or the option "accent" (today only the newsletter
   on /contacts/) ----------
   Its texts on the left (the label rule above), a little more room, smaller fine print, the full-width button of
   #gtf-newsletter, and on phones first and last name side by side. Everything else is the look of every form. */
.gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__title { margin-bottom: 14px; }
.gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__intro { font-size: 15.5px; line-height: 1.6; }
.gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__fields { gap: 18px 16px; }
.gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__paragraph { font-size: 13px; line-height: 1.55; color: #6a6a6a; }
.gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__actions { margin-top: 22px; }
/* phones: a little tighter, and first and last name stay side by side (a shorter page); below 360 px they stack */
@media (max-width: 640px) {
    .gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__head { margin-bottom: 22px; }
    .gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__intro { font-size: 15px; line-height: 1.55; }
    .gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__fields { gap: 16px 12px; }
}
@media (min-width: 360px) and (max-width: 640px) { .gtf--card:is(.gtf--accent, .gtf--has-eyebrow) .gtf__field--half { grid-column: span 3; } }

/* Honeypot: off-screen (not display:none, which some bots detect). */
.gtf__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* reCAPTCHA v3 badge is covered by the legal text. */
.grecaptcha-badge { visibility: hidden; }

/* ---------- Job detail page (/jobs/{slug}/) ---------- */
.gtj { --gtf-primary: var(--gt-primary, #6e29f6); color: var(--gt-body, #6a6a6a); font-family: var(--gt-font-body, "Albert Sans", system-ui, sans-serif); font-size: 16px; line-height: 1.6; }
.gtj *, .gtj *::before, .gtj *::after { box-sizing: border-box; }
.gtj__wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }
.gtj__hero { padding: 56px 0 48px; background: linear-gradient(135deg, #4b1db5, var(--gtf-primary) 60%, #009be9); color: #fff; }
.gtj__back { display: inline-block; margin-bottom: 18px; color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 14px; }
.gtj__back:hover { color: #fff; text-decoration: underline; }
.gtj__eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .8); }
.gtj__title { margin: 0 0 18px; font-family: var(--gt-font-heading, "Mona Sans", system-ui, sans-serif); font-size: clamp(30px, 5vw, 48px); line-height: 1.12; font-weight: 700; color: #fff; }
.gtj__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; }
.gtj__meta-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.gtj__cta { display: inline-block; padding: 13px 30px; border-radius: 12px; background: #fff; color: var(--gtf-primary); font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(10, 8, 40, .25); }
.gtj__cta:hover { transform: translateY(-1px); }
.gtj__body { padding: 44px 0 20px; max-width: 860px; }
.gtj__summary { font-size: 19px; line-height: 1.55; color: var(--gt-heading, #1b1d1d); margin: 0 0 28px; }
.gtj__section { margin: 0 0 30px; }
.gtj__section h2 { margin: 0 0 12px; font-family: var(--gt-font-heading, "Mona Sans", system-ui, sans-serif); font-size: 26px; color: var(--gt-heading, #1b1d1d); }
.gtj__rich ul, .gtj__rich ol { padding-left: 22px; }
.gtj__rich li { margin-bottom: 6px; }
.gtj__rich a { color: var(--gtf-primary); }
.gtj__closed { display: flex; flex-direction: column; gap: 4px; margin: 0 0 28px; padding: 16px 20px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3dca4; color: #6b4e00; }
.gtj__closed a { color: inherit; text-decoration: underline; }
.gtj__apply { padding: 48px 0 72px; margin-top: 24px; background: #f5f8f6; scroll-margin-top: 80px; }
