/*
Theme Name: EWIB Trades
Description: Block theme for the EWIB specialist trades brand pilot. Stage 1: tokens, header, hero, get started band, interim footer.
Version: 0.9.1
Requires at least: 6.4
Requires PHP: 7.4
Author: East West Insurance Brokers
Text Domain: ewib-trades
License: Proprietary
*/

/* ---------- Base ---------- */
.wp-site-blocks { position: relative; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--wp--preset--color--sky);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Header (white strip, sits above the hero) ---------- */
.ift-header {
  background: #FFFFFF;
  padding: 16px clamp(20px, 4vw, 40px);
  gap: 24px;
  border-bottom: 1px solid var(--wp--preset--color--mist);
}
.ift-logo-img { margin: 0; flex-shrink: 0; }
.ift-logo-img img { display: block; height: auto; }
.ift-nav a { font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.ift-nav a:hover { color: var(--wp--preset--color--slate); }
.ift-header .wp-block-button__link { padding: 12px 22px; font-size: 0.9rem; white-space: nowrap; }
.ift-btn-navy .wp-block-button__link { background: var(--wp--preset--color--navy); color: #FFFFFF; }
@media (max-width: 600px) {
  .ift-header { gap: 12px; }
  .ift-header .ift-logo-img img { width: 112px !important; }
  .ift-header .wp-block-button__link { padding: 10px 14px; font-size: 0.8rem; }
}


/* Phone buttons */
.ift-header-actions { gap: 10px; flex-wrap: nowrap; }
.ift-btn-phone .wp-block-button__link {
  background: #FFFFFF; color: var(--wp--preset--color--navy);
  border: 2px solid var(--wp--preset--color--navy);
}
.ift-btn-phone .wp-block-button__link:hover { background: var(--wp--preset--color--mist); }
.ift-btn-phone .wp-block-button__link::before,
.ift-btn-phone-light .wp-block-button__link::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.ift-btn-phone-light .wp-block-button__link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E"); }
@media (max-width: 600px) {
  /* Phone shows as an icon only; the number stays readable for screen readers */
  .ift-btn-phone .wp-block-button__link { font-size: 0 !important; padding: 10px 12px !important; }
  .ift-btn-phone .wp-block-button__link::before { margin-right: 0; width: 18px; height: 18px; }
}

/* ---------- Buttons ---------- */
.ift-btn-outline-light .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.ift-btn-outline-light .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.12); }
.wp-block-button__link:hover { filter: brightness(0.96); }

/* ---------- Hero ---------- */
.ift-hero { padding-top: 64px !important; padding-bottom: 64px !important; }
.ift-hero .wp-block-cover__inner-container { width: 100%; }
/* Left-to-right navy fade so the headline stays readable over the worker in the background */
.ift-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(17, 45, 61, 0.88) 0%, rgba(17, 45, 61, 0.6) 42%, rgba(17, 45, 61, 0) 68%) !important;
  opacity: 1 !important;
}
.ift-hero-inner { max-width: 1240px; margin: 0 auto; width: 100%; }
.ift-hero-cols { gap: clamp(32px, 5vw, 72px); }
.ift-hero-copy > * { max-width: 620px; }
.ift-eyebrow { color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 20px; }
.ift-h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 24px; }
.ift-lead { color: #fff; font-size: 1.125rem; line-height: 1.5; max-width: 34em; margin: 0 0 32px; }
.ift-hero .wp-block-buttons { gap: 14px; margin-bottom: 40px; }

.ift-trust { gap: 28px; }
.ift-trust p {
  display: flex; align-items: center; gap: 10px; margin: 0;
  color: #fff; font-size: 0.9rem; font-weight: 600; line-height: 1.3; max-width: 15em;
}
.ift-trust p::before {
  content: ""; flex: 0 0 30px; width: 30px; height: 30px;
  background: center / contain no-repeat;
}
.ift-trust-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6l7-3z%22/%3E%3Cpath d=%22M9 12l2 2 4-4%22/%3E%3C/svg%3E"); }
.ift-trust-people::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%228%22 r=%223%22/%3E%3Ccircle cx=%2216.5%22 cy=%229%22 r=%222.5%22/%3E%3Cpath d=%22M2.5 20c0-3.3 2.5-6 5.5-6s5.5 2.7 5.5 6%22/%3E%3Cpath d=%22M14 14.6c.8-.4 1.6-.6 2.5-.6 2.7 0 5 2.4 5 5.5%22/%3E%3C/svg%3E"); }
.ift-trust-chat::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.5c4.7 0 8.5 3.4 8.5 7.6s-3.8 7.6-8.5 7.6c-1.2 0-2.3-.2-3.3-.6L4 20l1.3-3.8C4.2 14.8 3.5 13 3.5 11.1 3.5 6.9 7.3 3.5 12 3.5z%22/%3E%3Cpath d=%22M8.5 11h.01M12 11h.01M15.5 11h.01%22/%3E%3C/svg%3E"); }

@media (max-width: 781px) {
  .ift-hero { padding-top: 40px !important; padding-bottom: 40px !important; }
  .ift-hero .wp-block-cover__background { background: rgba(17, 45, 61, 0.72) !important; }
  .ift-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
  .ift-hero .wp-block-button__link { width: 100%; text-align: center; }
  .ift-trust { flex-direction: column; align-items: flex-start; gap: 14px; }
}


/* ---------- Hero three-zone layout (desktop): copy | subject | form ---------- */
@media (min-width: 1101px) {
  .ift-hero .ift-hero-inner { max-width: 1600px; }
  .ift-hero .ift-hero-cols {
    display: grid !important;
    grid-template-columns: minmax(0, 480px) minmax(80px, 1fr) minmax(420px, 500px);
    gap: 0 !important;
    align-items: center;
  }
  .ift-hero .ift-hero-cols > .wp-block-column:first-child { grid-column: 1; }
  .ift-hero .ift-hero-cols > .wp-block-column:last-child { grid-column: 3; }
  .ift-hero .ift-form-card { max-width: none; margin-left: 0; }
  .ift-hero .ift-h1 { font-size: clamp(2.5rem, 3.7vw, 3.6rem); }
  /* Overlay protects the copy zone, then clears so the subject stays visible */
  .ift-hero .wp-block-cover__background {
    background: linear-gradient(90deg, rgba(17, 45, 61, 0.9) 0%, rgba(17, 45, 61, 0.82) 34%, rgba(17, 45, 61, 0.35) 45%, rgba(17, 45, 61, 0) 56%) !important;
  }
}
/* Tablet landscape: two columns, form on the right */
@media (min-width: 782px) and (max-width: 1100px) {
  .ift-hero .ift-hero-cols {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px !important;
    align-items: center;
  }
  .ift-hero .ift-form-card { max-width: none; }
}
/* Mobile: form stacks under the copy; keep the people near the top of the frame */
@media (max-width: 781px) {
  .ift-hero .wp-block-cover__image-background { object-position: 72% 20% !important; }
}

/* ---------- Get started form card (inside hero) ---------- */
.ift-form-card {
  background: #FFFFFF;
  color: var(--wp--preset--color--navy);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(17, 45, 61, 0.28);
  padding: clamp(24px, 3vw, 32px) !important;
  max-width: 440px;
  margin-left: auto;
  scroll-margin-top: 24px;
}
.ift-form-card h2 { font-size: 1.6rem; margin: 0 0 16px; color: var(--wp--preset--color--navy); }
.ift-placeholder {
  border: 2px dashed var(--wp--preset--color--slate);
  border-radius: 12px;
  padding: 24px;
  color: var(--wp--preset--color--slate);
  font-weight: 600;
}
@media (max-width: 781px) {
  .ift-form-card { max-width: none; margin-left: 0; }
}

/* Compact form: tighter spacing so the card, and therefore the hero, is shorter */
.ift-hero { padding-top: 48px !important; padding-bottom: 48px !important; }
.ift-form-card { padding: 24px !important; }
.ift-form-card h2 { font-size: 1.4rem; margin-bottom: 12px; }
.ift-tabs { margin-bottom: 14px; }
.ift-tab { min-height: 44px; }
.ift-form-card .forminator-ui .forminator-row { margin-bottom: 12px !important; }
.ift-form-card .forminator-ui .forminator-label { margin-bottom: 4px !important; line-height: 1.3; }
.ift-form-card .forminator-ui .forminator-input,
.ift-form-card .forminator-ui select { padding-top: 8px; padding-bottom: 8px; }

/* Review / quote tabs */
.ift-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--wp--preset--color--mist);
  border-radius: 12px; padding: 4px; margin-bottom: 20px;
}
.ift-tab {
  font: inherit; font-size: 0.85rem; font-weight: 700; line-height: 1.25;
  min-height: 48px; padding: 8px 10px; border: 0; border-radius: 9px;
  background: transparent; color: var(--wp--preset--color--navy); cursor: pointer;
}
.ift-tab[aria-selected="true"] { background: var(--wp--preset--color--slate); color: #FFFFFF; }
.ift-tab:focus-visible { outline: 3px solid var(--wp--preset--color--navy); outline-offset: 2px; }
.ift-panel[hidden] { display: none !important; }

/* Forminator inside the card: light touch, keeps Forminator's own validation styles */
.ift-form-card .forminator-ui .forminator-label { color: var(--wp--preset--color--navy); font-weight: 600; font-size: 0.85rem; }
.ift-form-card .forminator-ui .forminator-input,
.ift-form-card .forminator-ui select,
.ift-form-card .forminator-ui textarea { border-radius: 8px; min-height: 44px; font-family: inherit; }
.ift-form-card .forminator-ui .forminator-button-submit {
  width: 100%; min-height: 48px; border-radius: 999px;
  background: var(--wp--preset--color--slate); color: #FFFFFF; font-weight: 700; font-family: inherit;
}
.ift-form-card .forminator-ui .forminator-button-submit:hover { background: var(--wp--preset--color--navy); }

/* ---------- Shared section styles ---------- */
.ift-section { padding-top: clamp(56px, 7vw, 96px) !important; padding-bottom: clamp(56px, 7vw, 96px) !important; }
.ift-section h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; margin: 0; }
.ift-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--slate); margin: 0 0 10px; }
[class*="ift-ico-"]::before {
  content: ""; display: inline-block; flex: 0 0 auto; width: 36px; height: 36px;
  background: center / contain no-repeat;
}
.ift-ico-hvac::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 2v4M12 18v4M4.9 4.9l2.8 2.8M16.3 16.3l2.8 2.8M2 12h4M18 12h4M4.9 19.1l2.8-2.8M16.3 7.7l2.8-2.8%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E"); }
.ift-ico-bolt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M13 2L4 14h7l-1 8 9-12h-7z%22/%3E%3C/svg%3E"); }
.ift-ico-drop::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 2.5S5.5 10 5.5 14.5a6.5 6.5 0 0 0 13 0C18.5 10 12 2.5 12 2.5z%22/%3E%3C/svg%3E"); }
.ift-ico-toolbox::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%227%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2%22/%3E%3C/svg%3E"); }
.ift-ico-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6l7-3z%22/%3E%3C/svg%3E"); }
.ift-ico-document::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 3v5h5M9 13h6M9 17h6M9 9h2%22/%3E%3C/svg%3E"); }
.ift-ico-people::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%228%22 r=%223%22/%3E%3Ccircle cx=%2216.5%22 cy=%229%22 r=%222.5%22/%3E%3Cpath d=%22M2.5 20c0-3.3 2.5-6 5.5-6s5.5 2.7 5.5 6%22/%3E%3Cpath d=%22M14 14.6c.8-.4 1.6-.6 2.5-.6 2.7 0 5 2.4 5 5.5%22/%3E%3C/svg%3E"); }
.ift-ico-growth::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20V14M9.5 20V10M15 20V12M20.5 20V5%22/%3E%3Cpath d=%22M3 20.5h18%22/%3E%3C/svg%3E"); }
.ift-ico-chat::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3.5c4.7 0 8.5 3.4 8.5 7.6s-3.8 7.6-8.5 7.6c-1.2 0-2.3-.2-3.3-.6L4 20l1.3-3.8C4.2 14.8 3.5 13 3.5 11.1 3.5 6.9 7.3 3.5 12 3.5z%22/%3E%3C/svg%3E"); }
.ift-ico-pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z%22/%3E%3Ccircle cx=%2212%22 cy=%229.5%22 r=%222.5%22/%3E%3C/svg%3E"); }

/* ---------- Industry tiles ---------- */
.ift-section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 24px; margin-bottom: 32px; }
.ift-section-head .ift-kicker { grid-column: 1 / -1; }
.ift-section-head > * { margin: 0 !important; }
.ift-section-link a { font-weight: 700; color: var(--wp--preset--color--navy); }
.ift-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ift-tiles > * { margin: 0 !important; }
.ift-tile {
  position: relative; background: #FFFFFF; border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(17, 45, 61, 0.08);
}
.ift-tile-img { margin: 0 !important; }
.ift-tile-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ift-tile-label { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 16px 18px; font-weight: 700; }
.ift-tile-label a { color: var(--wp--preset--color--navy); text-decoration: none; flex: 1; }
.ift-tile-label a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.ift-tile-label::after {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14M13 6l6 6-6 6%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.ift-tile:hover { box-shadow: 0 10px 28px rgba(17, 45, 61, 0.16); }
.ift-tile:focus-within { outline: 3px solid var(--wp--preset--color--sky); outline-offset: 3px; }
@media (max-width: 1024px) { .ift-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .ift-tiles { grid-template-columns: 1fr; }
  .ift-section-head { grid-template-columns: 1fr; }
}

/* ---------- Why choose us ---------- */
.ift-why-section { border-top: 1px solid var(--wp--preset--color--mist); }
.ift-why { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px !important; }
.ift-why > * { margin: 0 !important; }
.ift-why-item { padding: 0 24px; border-left: 1px solid #D9E3EA; }
.ift-why-item:first-child { padding-left: 0; border-left: 0; }
.ift-why-item h3 { display: flex; flex-direction: column; gap: 12px; font-size: 1.05rem; margin: 0 0 8px; }
.ift-why-item p { margin: 0; color: var(--wp--preset--color--slate); font-size: 0.95rem; }
@media (max-width: 1024px) {
  .ift-why { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .ift-why-item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .ift-why { grid-template-columns: 1fr; }
  .ift-why-item { padding: 0; border-left: 0; }
}

/* ---------- Real people ---------- */
.ift-people { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ift-people > * { margin: 0 !important; }
.ift-people-img img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 10% 40%; }
.ift-people-copy { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); align-self: center; }
.ift-people-copy h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin: 0 0 32px; max-width: 16em; }
.ift-points { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
.ift-points > * { margin: 0 !important; }
.ift-point { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 700; font-size: 0.9rem; padding: 0 12px; border-left: 1px solid #C9D6DF; }
.ift-point:first-child { border-left: 0; }
@media (max-width: 781px) {
  .ift-people { grid-template-columns: 1fr; }
  .ift-people-img img { min-height: 260px; aspect-ratio: 4 / 3; }
  .ift-points { grid-template-columns: 1fr; gap: 16px; }
  .ift-point { flex-direction: row; text-align: left; border-left: 0; padding: 0; }
}

/* ---------- Three steps ---------- */
.ift-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px !important; }
.ift-steps > * { margin: 0 !important; }
.ift-step { display: flex; align-items: center; gap: 16px; position: relative; }
.ift-step-num {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; margin: 0 !important;
  border: 2px solid var(--wp--preset--color--navy); display: grid; place-items: center; font-weight: 800;
}
.ift-step h3 { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; margin: 0; }
.ift-step:not(:last-child)::after {
  content: ""; width: 20px; height: 20px; margin-left: auto; flex: 0 0 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23112D3D%22 stroke-width=%221.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14M13 6l6 6-6 6%22/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 900px) {
  .ift-steps { grid-template-columns: 1fr; gap: 20px; }
  .ift-step:not(:last-child)::after { display: none; }
}

/* ---------- Closing CTA ---------- */
.ift-cta, .ift-cta .ift-kicker, .ift-cta h2 { color: #FFFFFF; }
.ift-cta .ift-kicker { opacity: 0.85; }
.ift-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ift-cta-inner > * { margin: 0 !important; }

/* ---------- Footer ---------- */
.ift-footer { padding-top: 56px !important; padding-bottom: 32px !important; font-size: 0.9rem; }
.ift-footer, .ift-footer a, .ift-footer h3 { color: #FFFFFF; }
.ift-footer a { text-decoration: none; }
.ift-footer a:hover { text-decoration: underline; }
.ift-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.ift-footer-top > * { margin: 0 !important; }
.ift-footer-col h3 { font-size: 0.95rem; margin: 0 0 10px; }
.ift-footer-col p { line-height: 2; margin: 0; opacity: 0.9; }
.ift-footer-brand p { margin: 16px 0 0; opacity: 0.9; max-width: 22em; }
.ift-footer-legal { padding-top: 24px; }
.ift-footer-legal p { font-size: 0.8rem; line-height: 1.6; opacity: 0.85; max-width: 70em; }
.ift-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.ift-footer-links a { margin-left: 18px; }
@media (max-width: 781px) {
  .ift-footer-top { grid-template-columns: 1fr 1fr; }
  .ift-footer-brand { grid-column: 1 / -1; }
  .ift-footer-links a { margin: 0 18px 0 0; }
}

/* Full-width pill submit button (Forminator's own styles are more specific, so these use !important) */
.ift-form-card .forminator-ui .forminator-button.forminator-button-submit {
  width: 100% !important; min-height: 48px !important; border-radius: 999px !important;
  background: var(--wp--preset--color--slate) !important; color: #FFFFFF !important;
  font-weight: 700 !important; font-family: inherit !important; justify-content: center;
}
.ift-form-card .forminator-ui .forminator-button.forminator-button-submit:hover { background: var(--wp--preset--color--navy) !important; }
