/*
 * Contact page guided form (Direction A): template-parts/contact/form-v2.php
 * and template-parts/contact/done.php.
 *
 * Translated 1:1 from the design snapshot (ContactForm.dc.html, variant a):
 * its .gs-* classes are .gs-cf-* here, and its inline styles live on the
 * extra classes the markup gives those elements (.gs-cf-pane, .gs-cf-head,
 * .gs-cf-chip, ...). Every selector starts with .gs-contact-figma .gs-cf so it
 * beats the Elementor kit and Hello's reset.css (which colours every button
 * and input). Desktop first; the phone screens are the 560px blocks.
 *
 * Without JS the card stays hidden and GF's plain form shows; the script adds
 * .is-enhanced, which visually hides the GF form (never display: none: GF's
 * own scripts need it rendered). Phones get body.gs-cf-focus from step 2 and
 * on the done screen: only the card shows, under a slim bar with Exit.
 */

/* ---------- Base ---------- */

.gs-contact-figma .gs-cf,
.gs-contact-figma .gs-cf * { box-sizing: border-box; }
/* The card, focus bar and done screen rely on [hidden]; theme and card rules
   give buttons, errors and images an explicit display. */
.gs-contact-figma [data-cf] [hidden] { display: none !important; }
.gs-contact-figma .gs-cf { position: relative; width: 100%; font-family: "DM Sans", system-ui, sans-serif; color: #d0d0d0; text-align: left; }
.gs-contact-figma .gs-cf :focus-visible { outline: 2px solid #dba96e; outline-offset: 2px; }
.gs-contact-figma .gs-cf button { margin: 0; text-transform: none; letter-spacing: normal; box-shadow: none; }
.gs-contact-figma .gs-cf .gs-cf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hidden GF form (the real form behind the card) ---------- */

/* Out of sight but still rendered (GF's post-render and conditional logic
   wait for it to be visible; its submit button keeps its display). */
.gs-contact-figma .gs-cf.is-enhanced [data-cf-gf],
.gs-contact-figma .gs-cf.is-booting [data-cf-gf] {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap;
	pointer-events: none;
}

/* No JS at all: GF renders its wrapper with display: none (its script shows
   it), so show it here; with JS the card hides it anyway. */
.gs-contact-figma #gs-contact-form .gs-cf:not(.is-enhanced):not(.is-booting) [data-cf-gf] .gform_wrapper { display: block !important; }

/* No JS: GF's plain form on the dark hero (its orbital theme reads these). */
.gs-contact-figma #gs-contact-form .gs-cf:not(.is-enhanced) .gform_wrapper.gform-theme {
	--gf-color-primary: #b2582e;
	--gf-color-primary-rgb: 178, 88, 46;
	--gf-color-primary-darker: #9a4a25;
	--gf-color-primary-lighter: #b2582e;
	--gf-color-primary-contrast: #ffffff;
	--gf-color-in-ctrl: #20222b;
	--gf-color-in-ctrl-darker: #20222b;
	--gf-color-in-ctrl-lighter: #20222b;
	--gf-color-in-ctrl-contrast: #f8f8f8;
	--gf-color-in-ctrl-primary: #b2582e;
	--gf-color-in-ctrl-primary-darker: #9a4a25;
	--gf-color-in-ctrl-dark-lighter: #b5b5b5;
	--gf-color-in-ctrl-light: #333333;
	--gf-ctrl-border-color: #333333;
	--gf-ctrl-label-color-primary: #d0d0d0;
	--gf-ctrl-label-color-secondary: #d0d0d0;
	--gf-ctrl-desc-color: #b5b5b5;
	--gf-color-out-ctrl-dark: #b5b5b5;
	--gf-color-out-ctrl-dark-darker: #d0d0d0;
	--gf-color-danger: #ff9d8f;
	--gf-radius: 8px;
	font-family: "DM Sans", system-ui, sans-serif;
	color: #d0d0d0;
}

/* ---------- Card ---------- */

.gs-contact-figma .gs-cf .gs-cf-flowcard { width: 100%; margin: 0; padding: 32px; border: 1px solid #595959; border-radius: 32px; background: #131419; display: flex; flex-direction: column; gap: 24px; text-align: left; }
.gs-contact-figma .gs-cf .gs-cf-mbar,
.gs-contact-figma .gs-cf .gs-cf-mstep { display: none; }

/* Chip row: the website chip (step 4 on) and "Step N of 6" with the bars. */
.gs-contact-figma .gs-cf .gs-cf-chiprow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gs-contact-figma .gs-cf .gs-cf-chip { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; padding: 6px 14px 6px 6px; border: 1px solid #333333; border-radius: 100px; background: #20222b; }
.gs-contact-figma .gs-cf .gs-cf-chip__fav { position: relative; flex: 0 0 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.gs-contact-figma .gs-cf .gs-cf-chip__fav svg { display: block; }
.gs-contact-figma .gs-cf .gs-cf-chip__fav img { display: block; width: 18px; height: 18px; max-width: none; border-radius: 4px; object-fit: contain; }
.gs-contact-figma .gs-cf .gs-cf-chip__domain { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 20px; font-weight: 500; color: #f8f8f8; }
.gs-contact-figma .gs-cf .gs-cf-icon-btn,
.gs-contact-figma .gs-cf .gs-cf-icon-btn:focus { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; margin: -4px -8px -4px -2px; padding: 0; border: 0; border-radius: 100px; background: transparent; cursor: pointer; transition: background .2s; }
.gs-contact-figma .gs-cf .gs-cf-icon-btn:hover { background: #2b2b2b; }
.gs-contact-figma .gs-cf .gs-cf-steps { display: flex; align-items: center; gap: 10px; }
.gs-contact-figma .gs-cf .gs-cf-steps__label { font-size: 13px; line-height: 18px; color: #b5b5b5; }
.gs-contact-figma .gs-cf .gs-cf-steps__bars { display: flex; gap: 4px; }
.gs-contact-figma .gs-cf .gs-cf-bar { display: block; width: 24px; height: 4px; border-radius: 100px; background: #333333; }
.gs-contact-figma .gs-cf .gs-cf-bar.on { background: #b2582e; }

/* Step panes */
.gs-contact-figma .gs-cf .gs-cf-pane { display: flex; flex-direction: column; gap: 20px; }
.gs-contact-figma .gs-cf .gs-cf-pane[data-cf-step="5"] { gap: 18px; }
.gs-contact-figma .gs-cf .gs-cf-head h2 { margin: 0 0 6px; padding: 0; font-family: "Russo One", system-ui, sans-serif; font-weight: 400; font-size: 28px; line-height: 36px; letter-spacing: normal; text-transform: none; color: #f8f8f8; }
.gs-contact-figma .gs-cf h2:focus { outline: none; }
.gs-contact-figma .gs-cf .gs-cf-head p { margin: 0; font-size: 15px; line-height: 22px; color: #b5b5b5; }

/* ---------- Controls ---------- */

.gs-contact-figma .gs-cf .gs-cf-lbl { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: 14px; line-height: 22px; font-weight: 500; color: #d0d0d0; vertical-align: baseline; }
.gs-contact-figma .gs-cf .gs-cf-lbl small { font-size: 13px; font-weight: 400; color: #b5b5b5; }
.gs-contact-figma .gs-cf .gs-cf-in { display: block; width: 100%; height: 52px; margin: 0; padding: 0 16px; border-radius: 8px; border: 1px solid #333333; background: #20222b; color: #f8f8f8; font: 400 17px/24px "DM Sans", system-ui, sans-serif; box-shadow: none; transition: border-color .2s; outline: none; appearance: none; -webkit-appearance: none; }
.gs-contact-figma .gs-cf .gs-cf-in::placeholder { color: #b5b5b5; opacity: 1; }
.gs-contact-figma .gs-cf .gs-cf-in:hover { border-color: #595959; }
/* Focus: one 2px tan line (border + 1px inset), no offset outline; red on error. */
.gs-contact-figma .gs-cf .gs-cf-in:focus,
.gs-contact-figma .gs-cf .gs-cf-in:focus-visible { border-color: #dba96e; box-shadow: inset 0 0 0 1px #dba96e; outline: none; }
.gs-contact-figma .gs-cf .gs-cf-in.is-err,
.gs-contact-figma .gs-cf .gs-cf-in.is-err:focus,
.gs-contact-figma .gs-cf .gs-cf-in.is-err:focus-visible { border-color: #ff8a7a; box-shadow: inset 0 0 0 1px #ff8a7a; outline: none; }
.gs-contact-figma .gs-cf .gs-cf-in.has-icon { padding-left: 44px; }
.gs-contact-figma .gs-cf .gs-cf-in.is-empty { color: #b5b5b5; }
.gs-contact-figma .gs-cf select.gs-cf-in { padding-right: 44px; cursor: pointer; }
.gs-contact-figma .gs-cf select.gs-cf-in option { background: #20222b; color: #f8f8f8; }
.gs-contact-figma .gs-cf .gs-cf-in[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.gs-contact-figma .gs-cf .gs-cf-ta { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.gs-contact-figma .gs-cf .gs-cf-field { position: relative; }
.gs-contact-figma .gs-cf .gs-cf-field > svg { position: absolute; left: 14px; top: 16px; pointer-events: none; }
.gs-contact-figma .gs-cf .gs-cf-field > .gs-cf-chev { left: auto; right: 16px; top: 18px; }

.gs-contact-figma .gs-cf .gs-cf-err { display: flex; gap: 6px; align-items: center; margin: 8px 0 0; font-size: 13px; line-height: 18px; color: #ff9d8f; }
.gs-contact-figma .gs-cf .gs-cf-pane > .gs-cf-err { margin-top: -8px; }
.gs-contact-figma .gs-cf .gs-cf-pane > [data-cf-err="name"] { margin-top: -10px; }

/* Buttons (Hello's reset gives every button a pink border and hover). */
.gs-contact-figma .gs-cf .gs-cf-btn,
.gs-contact-figma .gs-cf .gs-cf-btn:focus { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border: 0; border-radius: 100px; background: #b2582e; color: #ffffff; font: 500 16px/24px "DM Sans", system-ui, sans-serif; cursor: pointer; transition: background .2s; white-space: nowrap; text-decoration: none; }
.gs-contact-figma .gs-cf .gs-cf-btn:hover { background: #9a4a25; color: #ffffff; }
.gs-contact-figma .gs-cf .gs-cf-btn svg { flex: 0 0 auto; transition: transform .2s; }
.gs-contact-figma .gs-cf .gs-cf-btn:hover svg { transform: translateX(2px); }
.gs-contact-figma .gs-cf .gs-cf-btn:disabled { opacity: .7; cursor: progress; }
.gs-contact-figma .gs-cf .gs-cf-btn[aria-busy="true"] { opacity: 1; }
.gs-contact-figma .gs-cf .gs-cf-spin { flex: 0 0 16px; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #ffffff; border-radius: 100px; animation: gs-cf-spin .8s linear infinite; }
@keyframes gs-cf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gs-contact-figma .gs-cf .gs-cf-spin { animation-duration: 2.4s; } }

.gs-contact-figma .gs-cf .gs-cf-btn-o,
.gs-contact-figma .gs-cf .gs-cf-btn-o:focus { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid #595959; border-radius: 100px; background: transparent; color: #f8f8f8; font: 500 15px/20px "DM Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.gs-contact-figma .gs-cf .gs-cf-btn-o:hover { border-color: #dba96e; background: transparent; color: #f8f8f8; }

/* Ghost "Back" buttons: every one in the card sits flush left. */
.gs-contact-figma .gs-cf .gs-cf-ghost,
.gs-contact-figma .gs-cf .gs-cf-ghost:focus { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 0; background: none; border: 0; border-radius: 0; color: #f8f8f8; font: 500 15px/20px "DM Sans", system-ui, sans-serif; cursor: pointer; }
.gs-contact-figma .gs-cf .gs-cf-ghost:hover { background: none; color: #dba96e; }

.gs-contact-figma .gs-cf .gs-cf-link,
.gs-contact-figma .gs-cf .gs-cf-link:focus,
.gs-contact-figma .gs-cf .gs-cf-link:hover { display: inline; padding: 0; border: 0; border-radius: 0; background: none; color: #f8f8f8; font: inherit; text-decoration: underline; text-decoration-color: #b2582e; text-underline-offset: 3px; white-space: normal; cursor: pointer; }

/* Actions row: Back (or the count) on the left, the button on the right. */
.gs-contact-figma .gs-cf .gs-cf-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gs-contact-figma .gs-cf .gs-cf-actions .gs-cf-btn { width: 100%; }
.gs-contact-figma .gs-cf .gs-cf-other .gs-cf-actions,
.gs-contact-figma .gs-cf [data-cf-step="6"] .gs-cf-actions { display: block; }
.gs-contact-figma .gs-cf .gs-cf-other .gs-cf-actions .gs-cf-btn { width: auto; }
.gs-contact-figma .gs-cf .gs-cf-count { font-size: 14px; line-height: 20px; color: #b5b5b5; }

/* ---------- Step 1: services ---------- */

.gs-contact-figma .gs-cf .gs-cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gs-contact-figma .gs-cf .gs-cf-card,
.gs-contact-figma .gs-cf .gs-cf-card:focus { display: flex; flex-direction: row; align-items: center; gap: 12px; width: auto; min-height: 64px; padding: 12px 14px; border: 1px solid #333333; border-radius: 14px; background: #20222b; color: #f8f8f8; font: 500 15px/20px "DM Sans", system-ui, sans-serif; text-align: left; white-space: normal; cursor: pointer; transition: border-color .2s; }
.gs-contact-figma .gs-cf .gs-cf-card:hover { border-color: #dba96e; background: #20222b; color: #f8f8f8; }
.gs-contact-figma .gs-cf .gs-cf-card.is-on { border-color: #b2582e; background: #2a1d17; }
.gs-contact-figma .gs-cf .gs-cf-ico { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 100px; border: 1px solid #793427; }
.gs-contact-figma .gs-cf .gs-cf-svc-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.gs-contact-figma .gs-cf .gs-cf-svc-t small { font-size: 12.5px; line-height: 16px; font-weight: 400; color: #b5b5b5; }
.gs-contact-figma .gs-cf .gs-cf-tick { display: flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; margin-left: auto; border: 1.5px solid #595959; border-radius: 6px; transition: background .15s, border-color .15s; }
.gs-contact-figma .gs-cf .gs-cf-tick svg { opacity: 0; }
.gs-contact-figma .gs-cf .is-on .gs-cf-tick { background: #b2582e; border-color: #b2582e; }
.gs-contact-figma .gs-cf .is-on .gs-cf-tick svg { opacity: 1; }

/* ---------- Step 2: budget ---------- */

.gs-contact-figma .gs-cf .gs-cf-list { display: flex; flex-direction: column; border: 1px solid #333333; border-radius: 16px; background: #20222b; overflow: hidden; }
.gs-contact-figma .gs-cf .gs-cf-row,
.gs-contact-figma .gs-cf .gs-cf-row:focus { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 10px 16px; border: 0; border-radius: 0; background: transparent; color: #f8f8f8; font: 500 16px/22px "DM Sans", system-ui, sans-serif; text-align: left; white-space: normal; cursor: pointer; }
.gs-contact-figma .gs-cf .gs-cf-row + .gs-cf-row { border-top: 1px solid #333333; }
.gs-contact-figma .gs-cf .gs-cf-row:hover { background: #262833; color: #f8f8f8; }
.gs-contact-figma .gs-cf .gs-cf-row:focus-visible { outline-offset: -2px; }
.gs-contact-figma .gs-cf .gs-cf-row.is-on { background: #2a1d17; }
.gs-contact-figma .gs-cf .gs-cf-radio { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 100px; border: 1.5px solid #595959; transition: border .15s; }
.gs-contact-figma .gs-cf .gs-cf-row.is-on .gs-cf-radio { border: 6px solid #b2582e; }

/* ---------- Step 4: industry ---------- */

.gs-contact-figma .gs-cf .gs-cf-indlist { display: flex; flex-direction: column; gap: 8px; }
.gs-contact-figma .gs-cf .gs-cf-scroll { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #333333; border-radius: 12px; }
.gs-contact-figma .gs-cf .gs-cf-scroll::-webkit-scrollbar { width: 12px; height: 12px; background: transparent; }
.gs-contact-figma .gs-cf .gs-cf-scroll::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.gs-contact-figma .gs-cf .gs-cf-scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.gs-contact-figma .gs-cf .gs-cf-scroll::-webkit-scrollbar-thumb { background-color: #4a4c55; border: 4px solid transparent; background-clip: padding-box; border-radius: 100px; min-height: 40px; }
.gs-contact-figma .gs-cf .gs-cf-scroll:hover::-webkit-scrollbar-thumb { background-color: #6f717a; }
@supports not selector(::-webkit-scrollbar) { .gs-contact-figma .gs-cf .gs-cf-scroll { scrollbar-width: thin; scrollbar-color: #6f717a transparent; } }
.gs-contact-figma .gs-cf .gs-cf-opt,
.gs-contact-figma .gs-cf .gs-cf-opt:focus { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #d0d0d0; font: 400 15px/22px "DM Sans", system-ui, sans-serif; text-align: left; white-space: normal; cursor: pointer; }
.gs-contact-figma .gs-cf .gs-cf-opt:hover { background: #2b2b2b; color: #f8f8f8; }
/* The industry they picked, when they come back to the list. */
.gs-contact-figma .gs-cf .gs-cf-opt.is-on { background: #2a1d17; color: #f8f8f8; box-shadow: inset 3px 0 0 #b2582e; }
.gs-contact-figma .gs-cf .gs-cf-nomatch { padding: 12px; font-size: 14px; line-height: 22px; color: #b5b5b5; }
.gs-contact-figma .gs-cf .gs-cf-other { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Step 5: contact details ---------- */

.gs-contact-figma .gs-cf .gs-cf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gs-contact-figma .gs-cf .gs-cf-tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid #333333; border-radius: 100px; font-size: 13px; line-height: 18px; color: #d0d0d0; }
.gs-contact-figma .gs-cf .gs-cf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* ---------- Step 6: message ---------- */

.gs-contact-figma .gs-cf .gs-cf-turnstile:not(:empty) { margin-top: 16px; }
/* Hint while Send waits on the security check (empty, and so 0 high, otherwise). */
.gs-contact-figma .gs-cf .gs-cf-tswait { margin: 0; font-size: 13px; line-height: 18px; color: #b5b5b5; }
.gs-contact-figma .gs-cf .gs-cf-tswait:not(:empty) { margin-top: 10px; }
/* Back, Exit and the domain edit while sending. */
.gs-contact-figma .gs-cf.is-sending [data-cf-back],
.gs-contact-figma .gs-cf.is-sending [data-cf-exit],
.gs-contact-figma .gs-cf.is-sending [data-cf-edit-url] { opacity: .4; cursor: default; pointer-events: none; }
.gs-contact-figma .gs-cf .gs-cf-turnstile .gfield { margin: 0; padding: 0; border: 0; }
.gs-contact-figma .gs-cf .gs-cf-turnstile .gfield_label,
.gs-contact-figma .gs-cf .gs-cf-turnstile .gform-field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gs-contact-figma .gs-cf .gs-cf-turnstile .gfield_validation_message,
.gs-contact-figma .gs-cf .gs-cf-turnstile .validation_message { margin: 8px 0 0; padding: 0; border: 0; background: none; font-size: 13px; line-height: 18px; color: #ff9d8f; }
.gs-contact-figma .gs-cf .gs-cf-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gs-contact-figma .gs-cf .gs-cf-claims { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; line-height: 18px; color: #b5b5b5; }
.gs-contact-figma .gs-cf .gs-cf-claims > span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Done screen (GF's confirmation, template-parts/contact/done.php) ---------- */

/* Cancel GF's orbital theme on the confirmation wrapper: the card is ours. */
.gs-contact-figma .gs-cf .gform_confirmation_wrapper,
.gs-contact-figma .gs-cf .gform_confirmation_message { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font: inherit; color: inherit; text-align: inherit; }
.gs-contact-figma .gs-cf .gs-cf-done { width: 100%; padding: 40px 32px; border: 1px solid #595959; border-radius: 32px; background: #131419; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-family: "DM Sans", system-ui, sans-serif; }
.gs-contact-figma .gs-cf .gs-cf-done__check { width: 56px; height: 56px; border-radius: 100px; background: #b2582e; display: flex; align-items: center; justify-content: center; }
.gs-contact-figma .gs-cf .gs-cf-done h2 { margin: 0; padding: 0; font-family: "Russo One", system-ui, sans-serif; font-weight: 400; font-size: 28px; line-height: 36px; letter-spacing: normal; text-transform: none; color: #f8f8f8; }
.gs-contact-figma .gs-cf .gs-cf-done p { margin: 0; padding: 0; font-size: 16px; line-height: 24px; color: #d0d0d0; }
.gs-contact-figma .gs-cf .gs-cf-done strong { font-weight: 700; color: #f8f8f8; overflow-wrap: anywhere; }
.gs-contact-figma .gs-cf .gs-cf-done .gs-cf-done__fix { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; line-height: 22px; color: #b5b5b5; }
.gs-contact-figma .gs-cf .gs-cf-done__fix a,
.gs-contact-figma .gs-cf .gs-cf-done__fix a:hover { color: #f8f8f8; text-decoration: none; font: inherit; }
.gs-contact-figma .gs-cf .gs-cf-done__fix a:hover { color: #dba96e; }
.gs-contact-figma .gs-cf .gs-cf-done__fix svg { display: inline; vertical-align: -2px; margin-left: 6px; }
.gs-contact-figma .gs-cf .gs-cf-done__more { width: 100%; margin-top: 12px; padding-top: 20px; border-top: 1px solid #333333; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gs-contact-figma .gs-cf .gs-cf-done .gs-cf-done__more p { font-size: 15px; line-height: 22px; color: #b5b5b5; }

/* ---------- Phone focus bar (shown only in focus mode, below) ---------- */

.gs-contact-figma .gs-cf .gs-cf-fbar { display: none; }

/* ---------- Hero layout around the card ---------- */

/* Two-column hero: the text column stretched to the old Elementor card's
   height (425px) and pinned the logo row to its bottom. The card's height
   changes per step, so stop the stretch and keep that height as a minimum:
   the logo row stays exactly where it was with the Elementor form. */
@media (min-width: 1241px) {
	.gs-contact-figma .gs-hero__content:has(> .gs-hero__form-embed > .gs-cf) > .gs-hero__intro { align-self: flex-start; min-height: 425px; }
}

/* While the card boots (JS on, card and GF form both out of sight), keep
   the step-1 card's height so nothing below jumps when it appears. */
.gs-contact-figma .gs-cf.is-booting[data-cf-start="1"] { min-height: 640px; }
@media (max-width: 560px) {
	.gs-contact-figma .gs-cf.is-booting[data-cf-start="1"] { min-height: 820px; }
}

/* ---------- Narrow screens: the card goes under the hero text ---------- */

@media (max-width: 1240px) {
	.gs-contact-figma .gs-hero__form-embed > .gs-cf { max-width: 636px; }
}

/* ---------- Phone: app-style screens (design's 560px block) ---------- */

@media (max-width: 560px) {
	.gs-contact-figma .gs-cf .gs-cf-flowcard { position: relative; margin-top: 0; padding: 0 0 96px; border: 0; border-radius: 0; background: transparent; gap: 20px; }
	.gs-contact-figma .gs-cf .gs-cf-flowcard h2,
	.gs-contact-figma .gs-cf .gs-cf-done h2 { margin-top: 12px; font-size: 26px; line-height: 32px; }

	/* Top bar: back circle and Skip, the progress line under them. */
	.gs-contact-figma .gs-cf .gs-cf-mbar { display: flex; flex-wrap: wrap; align-items: center; row-gap: 14px; min-height: 0; padding-top: 8px; }
	.gs-contact-figma .gs-cf .gs-cf-mback,
	.gs-contact-figma .gs-cf .gs-cf-mback:focus,
	.gs-contact-figma .gs-cf .gs-cf-mback:hover { order: 1; display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid #333333; border-radius: 100px; background: #20222b; color: #f8f8f8; cursor: pointer; }
	.gs-contact-figma .gs-cf .gs-cf-mskip,
	.gs-contact-figma .gs-cf .gs-cf-mskip:focus,
	.gs-contact-figma .gs-cf .gs-cf-mskip:hover { order: 2; margin-left: auto; height: 40px; min-height: 40px; padding: 0 4px; border: 0; border-radius: 0; background: none; color: #f8f8f8; font: 500 15px/20px "DM Sans", system-ui, sans-serif; cursor: pointer; }
	.gs-contact-figma .gs-cf .gs-cf-mprog { order: 3; flex: 0 0 100%; display: flex; gap: 4px; }
	.gs-contact-figma .gs-cf .gs-cf-mprog .gs-cf-bar { flex: 1; width: auto; height: 3px; }
	.gs-contact-figma .gs-cf .gs-cf-steps,
	.gs-contact-figma .gs-cf .gs-cf-dback { display: none !important; }

	/* The step label (or the website chip) is the top bar's title. */
	.gs-contact-figma .gs-cf .gs-cf-chiprow { position: absolute; top: 8px; left: 52px; right: 52px; height: 40px; margin: 0; justify-content: center; flex-wrap: nowrap; }
	.gs-contact-figma .gs-cf .gs-cf-mstep { display: block; font-size: 15px; line-height: 20px; font-weight: 600; color: #f8f8f8; }
	.gs-contact-figma .gs-cf .gs-cf-chip:not([hidden]) ~ .gs-cf-mstep { display: none; }
	.gs-contact-figma .gs-cf .gs-cf-chip { max-width: 100%; gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; }
	.gs-contact-figma .gs-cf .gs-cf-chip__fav { flex: 0 0 18px; width: 18px; height: 18px; }
	.gs-contact-figma .gs-cf .gs-cf-chip__domain { font-size: 15px; font-weight: 600; color: #f8f8f8; }
	.gs-contact-figma .gs-cf .gs-cf-chip .gs-cf-icon-btn { width: 44px; height: 44px; flex: 0 0 44px; margin: -12px -12px -12px -10px; }

	/* Tiles become one grouped list. */
	.gs-contact-figma .gs-cf .gs-cf-grid { grid-template-columns: 1fr; gap: 0; border: 1px solid #333333; border-radius: 16px; background: #20222b; overflow: hidden; }
	.gs-contact-figma .gs-cf .gs-cf-card,
	.gs-contact-figma .gs-cf .gs-cf-card:focus { min-height: 60px; padding: 10px 16px; border: 0; border-radius: 0; background: transparent; font-size: 16px; }
	.gs-contact-figma .gs-cf .gs-cf-card + .gs-cf-card { border-top: 1px solid #333333; }
	.gs-contact-figma .gs-cf .gs-cf-card:hover { background: #262833; }
	.gs-contact-figma .gs-cf .gs-cf-card.is-on { background: #2a1d17; }
	.gs-contact-figma .gs-cf .gs-cf-card:focus-visible { outline-offset: -2px; }
	.gs-contact-figma .gs-cf .gs-cf-grid.is-nav .gs-cf-card::after { content: ""; margin-left: auto; flex: 0 0 8px; width: 8px; height: 8px; border-top: 2px solid #b5b5b5; border-right: 2px solid #b5b5b5; transform: rotate(45deg); }
	.gs-contact-figma .gs-cf .gs-cf-two { grid-template-columns: 1fr; }

	/* Primary button pinned to the bottom (step 1: while the services are on screen). */
	.gs-contact-figma .gs-cf.is-inview .gs-cf-actions,
	.gs-contact-figma.gs-cf-focus .gs-cf .gs-cf-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; margin: 0; padding: 12px 20px 20px; border-top: 1px solid #333333; background: #131419; }
	/* The bar lives in the hero (z-index 1); lift the hero over the next
	   section's cards (z-index 1-2), still under the sticky header (50). */
	.gs-contact-figma .gs-hero__content:has(.gs-cf.is-inview) { z-index: 5; }
	.gs-contact-figma .gs-cf .gs-cf-actions > div { flex: 1; }
	.gs-contact-figma .gs-cf .gs-cf-actions .gs-cf-btn,
	.gs-contact-figma .gs-cf .gs-cf-other .gs-cf-actions .gs-cf-btn { width: 100%; height: 56px; }

	.gs-contact-figma .gs-cf .gs-cf-done { padding: 64px 0 0; border: 0; border-radius: 0; background: transparent; gap: 14px; }
}

/* ---------- Phone focus mode (body.gs-cf-focus, step 2 on and the done screen) ---------- */

@media (max-width: 560px) {
	/* Only the card: no site header, hero text, other sections, footer or popups. */
	.gs-contact-figma.gs-cf-focus .gs-page > :not(.gs-hero),
	.gs-contact-figma.gs-cf-focus .gs-hero > :not(.gs-hero__content),
	.gs-contact-figma.gs-cf-focus .gs-hero__intro,
	.gs-contact-figma.gs-cf-focus .elementor-location-popup,
	.gs-contact-figma.gs-cf-focus .elementor-popup-modal { display: none !important; }
	.gs-contact-figma.gs-cf-focus .gs-page > .gs-hero { margin: 0; padding: 0; overflow: visible; background: #131419; }
	.gs-contact-figma.gs-cf-focus .gs-hero__content { display: block; margin: 0; padding: 0 20px; }
	.gs-contact-figma.gs-cf-focus .gs-hero__form-embed { width: 100%; }
	/* Bottom padding: 24px plus the pinned Send bar (89px), so the last row
	   can always scroll clear of the bar. */
	.gs-contact-figma.gs-cf-focus .gs-cf { min-height: 100vh; min-height: 100svh; padding: 0 0 113px; background: #131419; }
	.gs-contact-figma.gs-cf-focus .gs-cf .gs-cf-flowcard { margin-top: 8px; }

	/* Slim bar in place of the header: logo on the left, Exit (an X) on the right. */
	.gs-contact-figma.gs-cf-focus .gs-cf .gs-cf-fbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; margin: 0 -20px; padding: 0 12px 0 20px; border-bottom: 1px solid #2b2b2b; background: #131419; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__logo { display: flex; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__logo svg { display: block; width: 22px; height: 28px; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__label { padding-left: 14px; border-left: 1px solid #333333; font-size: 14px; line-height: 20px; color: #b5b5b5; white-space: nowrap; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__exit,
	.gs-contact-figma .gs-cf .gs-cf-fbar__exit:focus { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 100px; background: transparent; color: #f8f8f8; font: 500 15px/20px "DM Sans", system-ui, sans-serif; cursor: pointer; transition: border-color .2s, color .2s; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__exit:hover { border-color: #dba96e; background: transparent; color: #dba96e; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__exit svg { width: 22px; height: 22px; }
	.gs-contact-figma .gs-cf .gs-cf-fbar__exit-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
