/* =====================================================================
   Solutions Page (acf/solutions-page)
   Ported from TMD_Solutions.html. Field-driven so every solution page
   (Strategy and Creative, etc.) can use it. Mockup CSS is scoped under
   .solutions-page — its :root tokens, body font and global resets now
   live on the block. Mockup's bare .sweep is .mtg-hero__sweep; keyframes
   are prefixed solutions-page-*. Contact form styles target the CF7
   form's own .cf7-contact3 markup (same as the Contact page form).
   ===================================================================== */

.solutions-page {
    --ink: #19323C; --deep: #10232B; --paper: #F3F7F0; --white: #F3F7F0;
    --voltage: #4D9ECE; --strike: #F2545B; --mist: #DDE7F3;
    --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    /* Side padding grows past 56px on screens wider than 1920px so section
       backgrounds stay full-bleed while content caps at 1808px. */
    --pad-x: max(clamp(24px, 4.2vw, 56px), calc((100% - 1808px) / 2));
    --pad-y: clamp(88px, 9vw, 140px);
  }
.solutions-page *, .solutions-page *::before, .solutions-page *::after { box-sizing: border-box; }
html:has(.solutions-page) { scroll-behavior: smooth; }
.solutions-page { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-wrap: pretty; }
.solutions-page img { max-width: 100%; display: block; }
.solutions-page a { color: var(--voltage); text-decoration: none; }
.solutions-page a:hover { color: var(--strike); }
.solutions-page a:focus-visible { outline: 2px solid var(--strike); outline-offset: 4px; border-radius: 4px; }
.solutions-page ::selection { background: var(--voltage); color: #F3F7F0; }
/* No max-width / margin:auto on the root — the theme's .alignfull handles the
   full-bleed breakout (overriding its margins pushed the Lander hero off-screen).
   overflow-x: clip (not hidden) so the sticky FAQ heading + contact intro work. */
.solutions-page { position: relative; overflow-x: clip; }
.solutions-page .mtg-eyebrow { margin: 0 0 24px; font-family: var(--mono); font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--voltage); }
.solutions-page .mtg-eyebrow--light { color: var(--mist); }
.solutions-page .mtg-h2 { margin: 0; font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 4.4vw, 70px); line-height: 1.02; letter-spacing: -0.035em; color: var(--ink); }
.solutions-page .mtg-h2 em { font-style: italic; color: var(--voltage); }
.solutions-page .mtg-h2--light { color: #F3F7F0; }
.solutions-page .mtg-h2--light em { color: var(--strike); }
.solutions-page .mtg-body { margin: 0 0 22px; font-family: var(--sans); font-size: 19px; line-height: 1.6; font-weight: 500; color: rgba(25,50,60,.72); }
.solutions-page .mtg-body:last-child { margin-bottom: 0; }
.solutions-page .mtg-body--light { color: rgba(243,247,240,.78); }

  /* Buttons — ↗ primary / commitment, → secondary / find out more */
.solutions-page .mtg-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border-radius: 999px; font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.solutions-page .mtg-btn--primary { background: var(--strike); color: #F3F7F0; }
.solutions-page .mtg-btn--primary:hover { background: var(--voltage); color: #F3F7F0; transform: translateY(-2px); }
.solutions-page .mtg-btn--ghost { border: 1.5px solid rgba(243,247,240,.5); color: #F3F7F0; }
.solutions-page .mtg-btn--ghost:hover { background: #F3F7F0; color: var(--ink); border-color: #F3F7F0; }
.solutions-page .mtg-btn--ink { background: var(--ink); color: #F3F7F0; }
.solutions-page .mtg-btn--ink:hover { background: var(--voltage); color: #F3F7F0; transform: translateY(-2px); }
.solutions-page .mtg-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 17px; font-weight: 600; padding-bottom: 4px; border-bottom: 1.5px solid currentColor; }

  /* ---------- HERO ---------- */
.solutions-page .mtg-hero { position: relative; isolation: isolate; width: 100%; max-width: 100%; contain: paint; min-height: 100vh; min-height: 100svh; background: var(--ink); color: #F3F7F0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad-x) 52px; }
.solutions-page .mtg-hero__bg { position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; filter: grayscale(.35); }
.solutions-page .mtg-hero__tint { position: absolute; inset: 0; mix-blend-mode: multiply; background:
      radial-gradient(ellipse at 15% 10%, rgba(77,158,206,.85), transparent 60%),
      radial-gradient(ellipse at 85% 90%, rgba(242,84,91,.7), transparent 55%), #2A4550;
    animation: solutions-page-breathe 13s ease-in-out infinite; }
.solutions-page .mtg-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,50,60,.55) 0%, rgba(25,50,60,.15) 36%, rgba(25,50,60,.4) 62%, rgba(25,50,60,.92) 100%); }
.solutions-page .mtg-hero__pinstripe { position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(243,247,240,.06) 0 1px, transparent 1px 3px); background-size: 100% 3px; pointer-events: none; }
.solutions-page .mtg-hero__inner { position: relative; z-index: 2; }
.solutions-page .mtg-hero__title { margin: 0 0 56px; display: flex; align-items: flex-end; gap: .22em; font-weight: 800; font-size: clamp(64px, 10vw, 176px); line-height: .9; letter-spacing: -0.045em; }
.solutions-page .mtg-hero__title .mtg-hero__first { white-space: nowrap; }
.solutions-page .mtg-hero__gap { flex: 1 1 auto; min-width: .8em; height: .07em; margin-bottom: .19em; background: linear-gradient(90deg, rgba(243,247,240,.9), var(--strike)); transform-origin: left center; animation: solutions-page-gap-open 1.4s cubic-bezier(.2,.7,.2,1) .3s both; }
.solutions-page .mtg-hero__sweep { display: inline-block; width: max-content; padding: 0 .12em .22em .1em; margin: 0 0 -.22em -.1em; font-style: italic; color: var(--strike);
    background: linear-gradient(90deg, var(--strike) 0 40%, var(--voltage) 50%, var(--strike) 60% 100%); background-size: 300% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: solutions-page-sweep 13s linear infinite; }
.solutions-page .mtg-hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.solutions-page .mtg-hero__lede { margin: 0 0 30px; max-width: 700px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; color: rgba(243,247,240,.95); }
.solutions-page .mtg-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.solutions-page .mtg-hero__scroll { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 16px; letter-spacing: .18em; text-transform: uppercase; color: rgba(243,247,240,.72); white-space: nowrap; }
.solutions-page .mtg-hero__scroll:hover { color: #F3F7F0; }
.solutions-page .mtg-hero__scroll span { display: inline-block; animation: solutions-page-bob 1.9s ease-in-out infinite; }
@keyframes solutions-page-sweep { 0%, 7.7% { background-position: 100% 0; } 16.2%, 100% { background-position: 0% 0; } }
@keyframes solutions-page-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
@keyframes solutions-page-gap-open { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes solutions-page-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

    /* ---------- TALK (mirrors contact-form-3 block) ---------- */
.solutions-page .mtg-talk { position: relative; width: 100%; padding: 8.125rem var(--pad-x) 8.75rem; background: #F3F7F0; border-top: 1px solid rgba(25,50,60,.1); }
.solutions-page .mtg-talk__container { display: grid; grid-template-columns: minmax(23.75rem, .85fr) minmax(32.5rem, 1.15fr); align-items: start; gap: 6.25rem; }
.solutions-page .mtg-talk__intro-inner { position: sticky; top: 9.375rem; }
.solutions-page .mtg-talk__eyebrow { margin: 0 0 1.625rem; font-family: var(--mono); font-size: 1rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #4D9ECE; }
.solutions-page .mtg-talk__heading { margin: 0 0 1.875rem; font-family: var(--sans); font-size: clamp(3rem, 4.8vw, 4.75rem); font-weight: 800; line-height: .98; letter-spacing: -0.04em; color: #19323C; }
.solutions-page .mtg-talk__accent { font-style: italic; color: #4D9ECE; }
.solutions-page .mtg-talk__description { margin: 0; max-width: 26.25rem; font-size: 1.375rem; font-weight: 500; line-height: 1.45; color: rgba(25,50,60,.68); }
.solutions-page .mtg-chat { display: flex; align-items: center; gap: 18px; margin-top: 2.75rem; padding: 12px 26px 12px 12px; max-width: 26.25rem; border-radius: 999px; border: 1.5px solid rgba(25,50,60,.25); color: #19323C; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.solutions-page .mtg-chat:hover { background: #19323C; border-color: #19323C; color: #F3F7F0; }
.solutions-page .mtg-chat img { flex: none; width: 60px; height: 60px !important; border-radius: 50%; object-fit: cover; }
.solutions-page .mtg-chat b { display: block; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.015em; }
.solutions-page .mtg-chat span { font-size: .9375rem; font-weight: 500; opacity: .72; }
.solutions-page .mtg-chat .mtg-chat__arrow { margin-left: auto; font-size: 1.375rem; opacity: 1; color: #F2545B; transition: transform .2s ease; }
.solutions-page .mtg-chat:hover .mtg-chat__arrow { transform: translate(3px, -3px); }

  /* Form — same class names/styles as the CF7 contact3 form, so the shortcode output drops straight in */
.solutions-page .cf7-contact3 { display: flex; flex-direction: column; gap: 2.125rem; font-family: var(--sans); }
.solutions-page .cf7-contact3 p { margin: 0; }
.solutions-page .cf7-contact3__row--two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.875rem; }
.solutions-page .cf7-contact3__group label { display: block; margin-bottom: .625rem; font-size: .875rem; font-weight: 600; color: #19323C; }
.solutions-page .cf7-contact3__required { color: #F2545B; }
.solutions-page .cf7-contact3 input[type="text"], .solutions-page .cf7-contact3 input[type="email"], .solutions-page .cf7-contact3 input[type="tel"], .solutions-page .cf7-contact3 textarea {
    width: 100%; box-sizing: border-box; padding: .75rem 0; border: none; border-bottom: 1.5px solid rgba(25,50,60,.25); border-radius: 0; background: transparent; color: #19323C; font-family: var(--sans); font-size: 1.0625rem; outline: none; transition: border-color .2s ease; }
.solutions-page .cf7-contact3 input:focus, .solutions-page .cf7-contact3 textarea:focus { border-bottom-color: #4D9ECE; }
.solutions-page .cf7-contact3 textarea { min-height: 7.5rem; resize: vertical; }
/* Theme/Bootstrap give inputs fixed heights, margins and shadows, and CF7's
   textarea defaults to rows="10" — pin them to the mockup's sizing. */
.solutions-page .cf7-contact3 :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
    -webkit-appearance: none; appearance: none;
    display: block; height: auto; min-height: 0; margin: 0; line-height: 1.4; box-shadow: none;
}
.solutions-page .cf7-contact3 textarea { height: 7.5rem; min-height: 7.5rem; }
.solutions-page .cf7-contact3__submit-group { margin-top: .5rem; }
.solutions-page .cf7-contact3 button.cf7-contact3__submit-btn { display: inline-flex; align-items: center; gap: .75rem; padding: 1.1875rem 1.875rem; border: none; border-radius: 999px; background: #F2545B; color: #F3F7F0; font-family: var(--sans); font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.solutions-page .cf7-contact3 button.cf7-contact3__submit-btn svg { transition: transform .2s ease; }
.solutions-page .cf7-contact3 button.cf7-contact3__submit-btn:hover { background: #4D9ECE; transform: translateY(-2px); }
.solutions-page .cf7-contact3 button.cf7-contact3__submit-btn:hover svg { transform: translate(3px, -3px); }
@media (max-width: 75rem) {
.solutions-page .mtg-talk__container { grid-template-columns: 1fr; gap: 2.5rem; }
.solutions-page .mtg-talk__intro-inner { position: static; }
  
}
@media (max-width: 48rem) {
.solutions-page .mtg-talk { padding: 3.75rem 1.25rem 4.375rem; }
.solutions-page .cf7-contact3__row--two-col { grid-template-columns: 1fr; gap: 1.25rem; }
  
}


  /* ---------- HERO (solutions) ---------- */
.solutions-page .mtg-hero video.mtg-hero__bg { object-fit: cover; }
.solutions-page .mtg-hero__title--plain { display: block; font-size: clamp(56px, 8.4vw, 150px); max-width: 12ch; }
.solutions-page .mtg-hero__title--plain .mtg-hero__sweep { display: inline-block; }
.solutions-page .mtg-hero__actions .mtg-btn--primary:hover { background: var(--voltage); }

  /* ---------- CLIENT LOGOS ---------- */
.solutions-page .sc-logos { background: var(--paper); padding: 56px var(--pad-x); border-bottom: 1px solid rgba(25,50,60,.1); }
.solutions-page .sc-logos__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.solutions-page .sc-logos__label { margin: 0; font-family: var(--mono); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: rgba(25,50,60,.55); white-space: nowrap; }
.solutions-page .sc-logos ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 32px clamp(40px, 6vw, 96px); flex-wrap: wrap; }
.solutions-page .sc-logos a { display: block; opacity: .7; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.solutions-page .sc-logos a:hover { opacity: 1; filter: none; }
.solutions-page .sc-logos img { height: 64px !important; width: auto; }

  /* ---------- APPROACH ---------- */
.solutions-page .sc-approach { background: var(--paper); padding: var(--pad-y) var(--pad-x); }
.solutions-page .sc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.solutions-page .sc-row + .sc-row { margin-top: clamp(80px, 8vw, 128px); }
.solutions-page .sc-row--flip .sc-row__media { order: 2; }
.solutions-page .sc-row__media { position: relative; width: 100%; max-width: 600px; justify-self: center; border-radius: 20px; overflow: hidden; background: var(--mist); aspect-ratio: 598 / 509; }
.solutions-page .sc-row__media img { width: 100%; height: 100% !important; object-fit: cover; }
.solutions-page .sc-row__num { position: absolute; left: 20px; bottom: 16px; font-weight: 800; font-size: clamp(72px, 7vw, 120px); line-height: .85; letter-spacing: -0.05em; color: #F3F7F0; text-shadow: 0 8px 40px rgba(25,50,60,.35); }
.solutions-page .sc-row .mtg-h2 { margin-bottom: 28px; }
.solutions-page .sc-row h3 { margin: 0 0 24px; font-weight: 800; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); }
.solutions-page .sc-row .mtg-body--lead { font-size: 21px; font-weight: 600; color: var(--ink); }
.solutions-page .sc-steps-head { margin: clamp(96px, 9vw, 140px) 0 56px; padding-top: 48px; border-top: 1px solid rgba(25,50,60,.14); display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.solutions-page .sc-steps-head p { margin: 0; }

  /* ---------- FAQ ---------- */
.solutions-page .sc-faq { background: var(--ink); color: #F3F7F0; padding: var(--pad-y) var(--pad-x); }
.solutions-page .sc-faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.solutions-page .sc-faq__head { position: sticky; top: 48px; }
.solutions-page .sc-faq__list { border-top: 1px solid rgba(243,247,240,.16); }
.solutions-page .sc-faq details { border-bottom: 1px solid rgba(243,247,240,.16); }
.solutions-page .sc-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: #F3F7F0; transition: color .2s ease; }
.solutions-page .sc-faq summary::-webkit-details-marker { display: none; }
.solutions-page .sc-faq summary:hover { color: var(--strike); }
.solutions-page .sc-faq summary:focus-visible { outline: 2px solid var(--strike); outline-offset: 4px; border-radius: 4px; }
.solutions-page .sc-faq__icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(243,247,240,.3); transition: background .2s ease, border-color .2s ease, transform .3s ease; }
.solutions-page .sc-faq__icon::before, .solutions-page .sc-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.solutions-page .sc-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s ease; }
.solutions-page .sc-faq details[open] .sc-faq__icon { background: var(--strike); border-color: var(--strike); color: var(--ink); }
.solutions-page .sc-faq details[open] .sc-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.solutions-page .sc-faq__answer { padding: 0 64px 32px 0; }
.solutions-page .sc-faq__answer p { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 500; color: rgba(243,247,240,.75); }

  /* ---------- INSIGHTS ---------- */
.solutions-page .sc-insights { background: var(--paper); padding: var(--pad-y) var(--pad-x); }
.solutions-page .sc-insights__head { margin: 0 0 56px; }
.solutions-page .sc-insights__grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 520px)); justify-content: center; gap: 32px; }
.solutions-page .sc-card { display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; background: #F3F7F0; border: 1px solid rgba(25,50,60,.12); color: var(--ink); transition: border-color .25s ease, transform .25s ease; }
.solutions-page .sc-card:hover { color: var(--ink); border-color: var(--voltage); transform: translateY(-4px); }
.solutions-page .sc-card__img { aspect-ratio: 601 / 385; overflow: hidden; background: var(--mist); }
.solutions-page .sc-card__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.solutions-page .sc-card:hover .sc-card__img img { transform: scale(1.04); }
.solutions-page .sc-card__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 32px 36px 36px; }
.solutions-page .sc-card__tag { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--voltage); }
.solutions-page .sc-card h3 { margin: 0; font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -0.03em; }
.solutions-page .sc-card p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(25,50,60,.7); }
.solutions-page .sc-card__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--voltage); }
.solutions-page .sc-card:hover .sc-card__more { color: var(--strike); }
.solutions-page .mtg-talk__heading--long { font-size: clamp(2.5rem, 3.6vw, 3.75rem); line-height: 1.02; }
  /* ---------- CONTACT extras (radio pills, like contact3 inquiry pills) ---------- */
.solutions-page .cf7-contact3 p.cf7-contact3__title { margin: 0 0 1rem; font-size: .875rem; font-weight: 600; color: #19323C; }
.solutions-page .cf7-contact3__pills { display: flex; flex-wrap: wrap; gap: .75rem; }
.solutions-page .cf7-contact3__pills label { display: inline-block; margin: 0; }
.solutions-page .cf7-contact3__pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.solutions-page .cf7-contact3__pills .wpcf7-list-item-label { display: inline-block; padding: .875rem 1.75rem; border-radius: 999px; border: 1.5px solid rgba(25,50,60,.25); color: #19323C; cursor: pointer; font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.solutions-page .cf7-contact3__pills input:checked + .wpcf7-list-item-label { background: #4D9ECE; border-color: #4D9ECE; color: #F3F7F0; }
.solutions-page .cf7-contact3__pills input:focus-visible + .wpcf7-list-item-label { outline: 2px solid #4D9ECE; outline-offset: 2px; }
@media (max-width: 1024px) {
.solutions-page .sc-row, .solutions-page .sc-faq__grid { grid-template-columns: 1fr; }
.solutions-page .sc-row--flip .sc-row__media { order: 0; }
.solutions-page .sc-faq__head { position: static; }
  
}
@media (max-width: 720px) {
.solutions-page .mtg-hero__title--plain { font-size: clamp(48px, 14vw, 80px); }
.solutions-page .sc-insights__grid { grid-template-columns: minmax(0, 520px); }
.solutions-page .sc-logos img { height: 44px !important; }
.solutions-page .sc-logos__inner { gap: 20px; }
.solutions-page .sc-logos ul { gap: 20px 32px; }
.solutions-page .sc-faq__answer { padding-right: 0; }
.solutions-page .mtg-btn { padding: 16px 24px; font-size: 17px; }
  
}
@media (prefers-reduced-motion: reduce) {
.solutions-page .mtg-hero__sweep, .solutions-page .mtg-hero__tint, .solutions-page .mtg-hero__scroll span { animation: none; }
.solutions-page .mtg-hero__sweep { background: none; -webkit-text-fill-color: var(--strike); }
.solutions-page .mtg-btn, .solutions-page .sc-card, .solutions-page .sc-card__img img, .solutions-page .sc-faq__icon, .solutions-page .sc-faq__icon::after, .solutions-page .mtg-chat { transition: none; }
  
}


/* =====================================================================
   Theme-hardening (same fixes as the MTG blocks)
   ===================================================================== */
/* Every text element declares the brand font (don't rely on the theme). Low
   specificity, so class rules like .mtg-eyebrow (mono) still win. */
.solutions-page :is(h1, h2, h3, h4, p, li, summary, label, button, input, textarea, blockquote) { font-family: var(--sans); }
.solutions-page :is(h1, h2, h3) { text-transform: none; }

/* Theme underlines links on hover with a stronger rule; an underline on an <a>
   runs under ALL its text and can't be cancelled from children — kill it on
   the link itself. */
.solutions-page a,
.solutions-page a:hover,
.solutions-page a:focus,
.solutions-page a:active,
.solutions-page a * { text-decoration: none !important; }

/* Neutralise theme list defaults */
.solutions-page ul,
.solutions-page ol { list-style: none; margin: 0; padding: 0; }
.solutions-page li { margin: 0; padding: 0; }
.solutions-page li::before,
.solutions-page li::marker { content: none; }

/* Headings: margins/padding explicit so theme h2/h3 spacing can't leak in */
.solutions-page .mtg-hero__title,
.solutions-page .mtg-h2,
.solutions-page .sc-row h3,
.solutions-page .sc-card h3 { padding: 0; }
.solutions-page .mtg-hero__title { color: #F3F7F0; }

/* WYSIWYG step/approach body — style the tags so editors never add classes */
.solutions-page .sc-row__copy p:not([class]) { margin: 0 0 22px; font-size: 19px; line-height: 1.6; font-weight: 500; color: rgba(25,50,60,.72); }
.solutions-page .sc-row__copy p:not([class]):last-child { margin-bottom: 0; }
.solutions-page .sc-row__copy strong,
.solutions-page .sc-row__copy b { color: var(--ink); font-weight: 700; }
.solutions-page .sc-row__copy a { border-bottom: 1.5px solid currentColor; }

/* Reduced motion: hide the autoplaying video; the poster image (if set) or
   the ink background shows instead. */
.solutions-page .mtg-hero__poster { display: none; }
@media (prefers-reduced-motion: reduce) {
    .solutions-page video.mtg-hero__bg { display: none; }
    .solutions-page .mtg-hero__poster { display: block; }
    .solutions-page .mtg-hero__gap { animation: none; }
}

/* =====================================================================
   CF7 extras — output the plugin adds around the .cf7-contact3 markup
   ===================================================================== */
.solutions-page .wpcf7 form { margin: 0; }
.solutions-page .cf7-contact3 .wpcf7-form-control-wrap { display: block; }
.solutions-page .cf7-contact3 .wpcf7-list-item { margin: 0; }
.solutions-page .cf7-contact3 .wpcf7-not-valid { border-bottom-color: var(--strike) !important; }
.solutions-page .cf7-contact3 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--strike); }
.solutions-page .wpcf7 .wpcf7-response-output { margin: 24px 0 0; padding: 16px 20px; border: 1.5px solid rgba(25,50,60,.25); border-radius: 12px; font-family: var(--sans); font-size: 16px; color: var(--ink); }
.solutions-page .wpcf7 form.sent .wpcf7-response-output { border-color: var(--voltage); }
.solutions-page .wpcf7 form.invalid .wpcf7-response-output,
.solutions-page .wpcf7 form.failed .wpcf7-response-output { border-color: var(--strike); }
.solutions-page .wpcf7-spinner { margin: 0 0 0 16px; vertical-align: middle; }
.solutions-page .cf7-contact3 button.cf7-contact3__submit-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }


/* =====================================================================
   CF7 solutions form (cf7-solutions-form.txt) — real CF7 output
   ===================================================================== */
/* CF7's auto-paragraphing can inject <br>s between a label and its field */
.solutions-page .cf7-contact3 br { display: none; }
.solutions-page .cf7-contact3__group > label { display: block; margin-bottom: .625rem; font-size: .875rem; font-weight: 600; color: #19323C; }

/* Radio: CF7 wraps each option as span.wpcf7-list-item > label > input + span */
.solutions-page .cf7-contact3__pills .wpcf7-radio { display: flex; flex-wrap: wrap; gap: .75rem; }
.solutions-page .cf7-contact3__pills .wpcf7-list-item { display: inline-block; margin: 0; }
.solutions-page .cf7-contact3__pills .wpcf7-list-item label { position: relative; display: inline-block; margin: 0; cursor: pointer; }

/* Turnstile sits above the submit button */
.solutions-page .cf7-contact3__turnstile:not(:empty) { margin-bottom: 1.5rem; }

/* Submit: CF7's [submit] renders an <input>, which can't hold the arrow SVG,
   so the arrow is a background image that nudges up-right on hover (same
   motion as the mockup's button). Longhand background-* so hover only
   swaps the colour. */
/* Submit: CF7's [submit] renders an <input>. Plain pill, no arrow. */
.solutions-page .mtg-talk__form .cf7-contact3 input.cf7-contact3__submit-btn.wpcf7-submit {
    -webkit-appearance: none; appearance: none;
    display: inline-block; width: auto; height: auto; margin: 0;
    padding: 1.1875rem 1.875rem;
    border: none; border-radius: 999px; box-shadow: none;
    background: #F2545B;
    color: #F3F7F0; font-family: var(--sans); font-size: 1.1875rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.solutions-page .mtg-talk__form .cf7-contact3 input.cf7-contact3__submit-btn.wpcf7-submit:hover {
    background-color: #4D9ECE; color: #F3F7F0;
    transform: translateY(-2px);
}
.solutions-page .mtg-talk__form .cf7-contact3 input.cf7-contact3__submit-btn.wpcf7-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.solutions-page .mtg-talk__form .cf7-contact3 input.cf7-contact3__submit-btn.wpcf7-submit:disabled { opacity: .6; cursor: default; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .solutions-page .mtg-talk__form .cf7-contact3 input.cf7-contact3__submit-btn.wpcf7-submit { transition: none; }
}
