/* Field-service page composition. Shared colour, font and spacing tokens remain in theme.json. */
.qotg-fs-hero { padding-block:96px; border-bottom:none !important; border-top:none !important; }
.qotg-fs-hero h1 { font-size:var(--wp--preset--font-size--solution-display); line-height:1.08; letter-spacing:-.035em; max-width:none; margin-top:24px; }
.qotg-field .qotg-eyebrow { font-size:16px; letter-spacing:0; font-weight:400; }
.qotg-fs-hero .qotg-eyebrow::before { content:''; display:inline-block; width:12px; height:12px; background:var(--wp--preset--color--orange); margin-right:10px; }
.qotg-fs-hero .qotg-lead { max-width:720px; margin-top:28px; }
.qotg-fs-hero .qotg-actions {
  margin-top: 32px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 14px !important;
}
.qotg-fs-hero .wp-block-button__link {
  padding: 10px 24px !important;
  min-height: 42px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
}
/* Solutions Subpages Audiences / Marquee: styled to match Homepage marquee & statement */
.qotg-fs-audiences {
  padding-block: clamp(72px, 8vw, 120px) !important;
  background: var(--wp--preset--color--canvas) !important;
  border: none !important;
  overflow: clip !important;
}
.qotg-fs-audiences .qotg-shell {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}
.qotg-fs-audiences .qotg-centre {
  order: 2 !important;
  width: 100% !important;
  text-align: left !important;
}
.qotg-fs-audiences .qotg-marquee {
  order: 1 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden !important;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent) !important;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent) !important;
  padding-block: 10px !important;
}
.qotg-fs-audiences .qotg-marquee-items {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  width: max-content !important;
}
.qotg-fs-audiences .qotg-marquee-items p {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: auto !important;
  flex-shrink: 0 !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
  color: var(--wp--preset--color--ink) !important;
  padding: 0 clamp(24px, 2.8vw, 44px) !important;
  border: none !important;
  white-space: nowrap !important;
  margin: 0 !important;
}
.qotg-fs-audiences .qotg-marquee-items p::after {
  content: '•' !important;
  margin-left: clamp(24px, 2.8vw, 44px) !important;
  color: var(--wp--preset--color--border) !important;
  opacity: 0.7 !important;
  font-size: 0.75em !important;
}
.qotg-fs-audiences .qotg-marquee-track {
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  animation: qotg-marquee 35s linear infinite !important;
}
.qotg-fs-audiences:hover .qotg-marquee-track,
.qotg-fs-audiences:focus-within .qotg-marquee-track,
.qotg-fs-audiences.is-paused .qotg-marquee-track {
  animation-play-state: paused !important;
}
.qotg-fs-context {
  font-size: clamp(34px, 4.4vw, 56px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  font-weight: 500 !important;
  max-width: 960px !important;
  margin-top: clamp(64px, 8vw, 104px) !important;
  margin-bottom: 0 !important;
  margin-inline: 0 auto 0 0 !important;
  text-align: left !important;
  color: var(--wp--preset--color--ink) !important;
  text-transform: none !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.qotg-marquee-toggle {
  display: none !important;
}
@keyframes qotg-marquee {
  to { transform: translateX(-50%); }
}
.qotg-fs-stage { padding:0; }
.qotg-fs-stage-frame { border:1px solid var(--wp--preset--color--border); border-radius:var(--wp--custom--radius--stage); overflow:clip; }
.qotg-fs-section-heading { display:grid; grid-template-columns:1fr 1fr; gap:96px; align-items:center; }
.qotg-field h2 { font-size:var(--wp--preset--font-size--statement); line-height:1.125; }
.qotg-fs-section-heading h2 { margin-top:16px; }
.qotg-fs-section-heading .qotg-lead { font-size:18px; }
.qotg-fs-record-frame { margin-top:64px; padding:0; background:transparent; border:none; box-shadow:none; }
.qotg-fs-record-frame .qotg-image { border:none; border-radius:var(--wp--custom--radius--stage); overflow:hidden; box-shadow:0 14px 44px rgba(0,0,0,0.07); }
.qotg-fs-record-frame .qotg-image img { border-radius:inherit; display:block; width:100%; height:auto; }
.qotg-fs-benefit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:64px; margin-top:80px; }
.qotg-fs-benefit h3 { font-size:18px; margin:24px 0 12px; }
.qotg-fs-benefit > p:last-child { font-size:16px; color:var(--wp--preset--color--muted); }
.qotg-fs-costs { padding-top:0; }
.qotg-fs-panel-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px 32px; }
.qotg-fs-panel { display:flex; flex-direction:column; background:transparent; border:none; box-shadow:none; min-width:0; padding:0; box-sizing:border-box; }
.qotg-fs-panel:hover { border:none; box-shadow:none; }
.qotg-fs-panel .qotg-image { width:100%; aspect-ratio:16 / 10; overflow:hidden; border-radius:var(--wp--custom--radius--stage); border:none; box-shadow:0 10px 32px rgba(0,0,0,0.06); background:#ffffff; transition:transform var(--wp--custom--motion--control) var(--wp--custom--motion--ease), box-shadow var(--wp--custom--motion--control) var(--wp--custom--motion--ease); }
.qotg-fs-panel:hover .qotg-image { transform:translateY(-2px); box-shadow:0 16px 44px rgba(0,0,0,0.1); }
.qotg-fs-panel img { width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }
.qotg-fs-panel-copy { padding:20px 0 0; display:flex; flex-direction:column; }
.qotg-fs-panel .qotg-number { display:none; }
.qotg-fs-panel h3 { font-size:22px; font-weight:600; line-height:1.25; letter-spacing:-0.015em; margin:0 0 10px 0; color:var(--wp--preset--color--ink); }
.qotg-fs-panel-copy > p:last-child { font-size:15px; line-height:1.55; color:var(--wp--preset--color--muted); margin:0; }
.qotg-fs-team { padding-block:clamp(80px,8vw,128px); }
.qotg-fs-team-split { display:grid; grid-template-columns:1fr 1.15fr; align-items:center; gap:clamp(48px,6vw,96px); }
.qotg-fs-team-title .qotg-eyebrow { display:inline-flex; align-items:center; font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--wp--preset--color--muted); margin-bottom:20px; }
.qotg-fs-team-title .qotg-eyebrow::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--wp--preset--color--orange); margin-right:10px; }
.qotg-fs-team-title h2 { font-size:clamp(36px,4.2vw,54px); line-height:1.1; letter-spacing:-0.035em; font-weight:600; color:var(--wp--preset--color--ink); margin:0; max-width:480px; }
.qotg-fs-team-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.qotg-fs-team-card { display:flex; flex-direction:column; padding:32px 28px; background:var(--wp--preset--color--cream); border:none!important; border-radius:var(--wp--custom--radius--card,20px); box-shadow:0 2px 12px rgba(0,0,0,0.02); transition:transform var(--wp--custom--motion--control) var(--wp--custom--motion--ease),box-shadow var(--wp--custom--motion--control) var(--wp--custom--motion--ease),background-color var(--wp--custom--motion--control) var(--wp--custom--motion--ease); }
.qotg-fs-team-card:hover { transform:translateY(-2px); box-shadow:0 10px 28px rgba(0,0,0,0.05); background:#f4f5f7; }
.qotg-fs-team-card .qotg-number { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--wp--preset--color--muted); letter-spacing:0.04em; margin:0; line-height:1; }
.qotg-fs-team-card .qotg-number::before { content:''; display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--wp--preset--color--orange); margin-right:2px; }
.qotg-fs-team-card h3 { font-size:20px; font-weight:600; line-height:1.3; letter-spacing:-0.015em; margin:20px 0 10px; color:var(--wp--preset--color--ink); }
.qotg-fs-team-card > p:last-child { font-size:14.5px; line-height:1.55; color:var(--wp--preset--color--muted); margin:0; }
/* Connected Workflow Section: Clean White Background, Stage Removed, Bigger Image, M3 Antigravity Style */
.qotg-fs-connected {
  background: var(--wp--preset--color--canvas, #ffffff) !important;
  color: var(--wp--preset--color--ink, #121212) !important;
  padding-block: clamp(100px, 11vw, 160px) !important;
  border: none !important;
}
.qotg-fs-connected-split {
  display: grid !important;
  grid-template-columns: 1.18fr 1fr !important;
  gap: clamp(48px, 6vw, 92px) !important;
  align-items: center !important;
}
.qotg-fs-connected-visual {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.qotg-fs-connected-visual .qotg-image {
  border-radius: 28px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  background: #f8f9fa !important;
  margin: 0 !important;
}
.qotg-fs-connected-visual .qotg-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 28px !important;
  object-fit: cover !important;
}
.qotg-fs-connected-copy > .qotg-reveal > .qotg-eyebrow,
.qotg-fs-connected-copy .qotg-eyebrow {
  color: var(--wp--preset--color--orange, #f25c05) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
  display: inline-block !important;
}
.qotg-fs-connected-copy h2 {
  font-size: clamp(38px, 4.6vw, 54px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
  font-weight: 500 !important;
  color: #121212 !important;
  margin: 0 0 20px 0 !important;
}
.qotg-fs-connected-copy .qotg-lead {
  font-size: clamp(17px, 1.8vw, 20px) !important;
  line-height: 1.55 !important;
  color: #5f6368 !important;
  margin: 0 0 36px 0 !important;
}
.qotg-fs-connected-list {
  margin-top: 36px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
}
.qotg-fs-connected-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  align-items: flex-start !important;
}
.qotg-fs-connected-item .qotg-number {
  display: none !important;
}
.qotg-fs-connected-item h3 {
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #121212 !important;
  margin: 0 !important;
}
.qotg-fs-connected-item > div > p,
.qotg-fs-connected-item p {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #5f6368 !important;
  margin: 0 !important;
}
/* 01-05 Capability strip removed per user instruction */
.qotg-fs-capabilities { display:none !important; }

/* Clean CTA matching homepage CTA */
.qotg-fs-final {
  background-color:var(--wp--preset--color--canvas) !important;
  color:var(--wp--preset--color--ink) !important;
  border-top:none !important;
  border-bottom:none !important;
  border-block:none !important;
  padding-block:clamp(96px, 10vw, 150px) !important;
  text-align:center;
}
.qotg-fs-final h2 {
  font-size:var(--wp--preset--font-size--closing, clamp(38px, 4.5vw, 56px)) !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  color:var(--wp--preset--color--ink) !important;
  max-width:900px !important;
  margin:0 auto !important;
}
.qotg-fs-final:not(:has(.qotg-lead)) h2::after {
  content:"Quote, schedule, invoice and keep your business organised from one place.";
  display:block;
  font-size:18px;
  line-height:1.6;
  font-weight:400;
  letter-spacing:normal;
  color:var(--wp--preset--color--muted);
  max-width:540px;
  margin:18px auto 0;
}
.qotg-fs-final .qotg-lead {
  max-width:540px !important;
  margin:20px auto 36px !important;
  color:var(--wp--preset--color--muted) !important;
  font-size:18px !important;
  line-height:1.6 !important;
}
.qotg-fs-final .qotg-actions {
  margin-top:32px !important;
  justify-content:center !important;
  gap:16px !important;
}
.qotg-fs-final .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--wp--preset--color--orange, #f25c05) !important;
  background-color: var(--wp--preset--color--orange, #f25c05) !important;
  color: #ffffff !important;
  border: 1px solid var(--wp--preset--color--orange, #f25c05) !important;
  border-radius: 9999px !important;
  padding: 12px 32px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}
.qotg-fs-final .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--wp--preset--color--ember, #E5531A) !important;
  background-color: var(--wp--preset--color--ember, #E5531A) !important;
  border-color: var(--wp--preset--color--ember, #E5531A) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(243, 122, 34, 0.35) !important;
}
.qotg-fs-final .is-style-outline .wp-block-button__link {
  color: var(--wp--preset--color--ink, #121212) !important;
  border: 1px solid var(--wp--preset--color--border, #dadce0) !important;
  background: transparent !important;
  border-radius: 9999px !important;
  padding: 12px 32px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
}
.qotg-fs-final .is-style-outline .wp-block-button__link:hover {
  border-color: #c6c9cc !important;
  background: #f8f9fa !important;
  color: #121212 !important;
  transform: translateY(-1px) !important;
}
.qotg-fs-final .qotg-reassurance {
  display:none !important;
}
@media (prefers-reduced-motion:no-preference) {
 @supports ((animation-timeline:view()) and (animation-range:entry)) {
  .qotg-fs-stage .qotg-image { animation:qotg-parallax linear both; animation-timeline:view(); animation-range:entry 0% entry 100%; }
 }
}
@media (max-width:1100px) {
 .qotg-fs-section-heading, .qotg-fs-team-split, .qotg-fs-connected-split { gap:48px; }
 .qotg-fs-benefit-grid { gap:32px; }
 .qotg-fs-panel-copy { padding:var(--wp--custom--component--padding); }
 .qotg-fs-capability { flex-direction:column; text-align:center; gap:8px; }
}
@media (max-width:781px) {
 .qotg-fs-hero { padding-block:56px; }
 .qotg-fs-hero h1 { font-size:var(--wp--preset--font-size--solution-display); margin-top:24px;  line-height:1.08;  letter-spacing:-.035em; }
 .qotg-fs-hero .qotg-lead { font-size:20px; }
 .qotg-fs-hero .qotg-actions { gap:12px; }
 .qotg-fs-hero .wp-block-button__link { padding-inline:24px; }
 .qotg-fs-audiences { padding-block: 48px 64px !important; }
 .qotg-fs-audiences .qotg-marquee-items p { width: auto !important; font-size: 18px !important; min-height: auto !important; padding: 0 16px !important; }
 .qotg-fs-audiences .qotg-marquee-items p::after { margin-left: 16px !important; }
 .qotg-fs-context { font-size: clamp(26px, 6.5vw, 36px) !important; margin-top: 40px !important; max-width: 100% !important; }
 .qotg-fs-stage { padding-block: 0 48px !important; }
 .qotg-fs-stage-frame {
   height: auto !important;
   min-height: 0 !important;
   max-height: none !important;
   padding: 24px 20px !important;
   border-radius: var(--wp--custom--radius--stage, 24px) !important;
   box-sizing: border-box !important;
 }
 .qotg-fs-stage-frame .qotg-image,
 .qotg-fs-stage-frame .wp-block-image {
   margin: 0 !important;
   width: 100% !important;
   max-width: 100% !important;
 }
 .qotg-fs-stage-frame .qotg-image img,
 .qotg-fs-stage-frame .wp-block-image img {
   width: 100% !important;
   max-width: 100% !important;
   height: auto !important;
   display: block !important;
   border-radius: 14px !important;
 }
 .qotg-fs-section-heading, .qotg-fs-benefit-grid, .qotg-fs-panel-grid, .qotg-fs-team-split, .qotg-fs-connected-split { grid-template-columns:1fr; }
 .qotg-fs-section-heading { gap:24px; }
 .qotg-fs-record-frame { padding:0; margin-top:40px; }
 .qotg-fs-benefit-grid { margin-top:48px; gap:32px; }
 .qotg-fs-benefit h3 { margin-top:20px; }
 .qotg-fs-panel-copy { padding:16px 0 0; }
 .qotg-fs-panel-copy > p:last-child { font-size:16px; }
 .qotg-fs-team { padding-block:48px 64px; }
 .qotg-fs-team-split { gap:36px; }
 .qotg-fs-team-title h2 { font-size:clamp(30px,7vw,40px); }
 .qotg-fs-team-grid { grid-template-columns:1fr; gap:16px; }
 .qotg-fs-team-card { padding:24px 20px; border-radius:var(--wp--custom--radius--card,20px); border:none!important; }
 .qotg-fs-team-card h3 { font-size:18px; margin:16px 0 8px; }
 .qotg-fs-team-card > p:last-child { font-size:14px; }
 .qotg-fs-connected { padding-block: clamp(64px, 8vw, 96px) !important; }
 .qotg-fs-connected-split { grid-template-columns: 1fr !important; gap: 40px !important; }
 .qotg-fs-connected-visual { padding: 0 !important; background: transparent !important; }
 .qotg-fs-connected-visual .qotg-image { border-radius: 20px !important; }
 .qotg-fs-connected-copy h2 { font-size: clamp(30px, 7vw, 40px) !important; margin-bottom: 16px !important; }
 .qotg-fs-connected-copy .qotg-lead { font-size: 16px !important; margin-bottom: 24px !important; }
 .qotg-fs-connected-list { gap: 20px !important; margin-top: 24px !important; }
 .qotg-fs-connected-item { gap: 4px !important; }
 .qotg-fs-connected-item h3 { font-size: 17px !important; }
 .qotg-fs-connected-item > div > p { font-size: 14.5px !important; }
 .qotg-fs-final { padding-block:80px !important; }
 .qotg-fs-final .qotg-actions { flex-direction:column !important; align-items:stretch !important; gap:12px !important; }
 .qotg-fs-final .wp-block-button__link { width:100% !important; }
 .qotg-fs-final .qotg-reassurance { display:none !important; }
}
@media (max-width:360px) { .qotg-fs-hero .qotg-actions { flex-direction:column; align-items:stretch; } .qotg-fs-hero .wp-block-button__link { width:100%; } }
.editor-styles-wrapper .qotg-fs-record-frame { background-size:24px 24px; }
