html {
  scroll-behavior: smooth;
}

/* Theme CSS sets body{opacity:0} and fades in via JS on real WP load.
   Force it visible so the page renders inside a plain preview / before if.js runs. */
body {
  opacity: 1 !important;
}

/* ===== Header / floating nav / full-screen overlay =====
   Self-contained pattern (no dependency on the live theme's scroll-triggered if.js). */
:root {
  --if-nav-black: #000;
  --if-nav-white: #fff;
  --if-teal: #2a657d;
  --if-pink: #a60064;
  --if-blue: #006680;
  --if-yellow: #daad52;
  --if-ink: #0f0f10;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  padding: 32px 0 2rem 48px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  height: 34px;
  width: auto;
}

.sf {
  position: fixed;
  top: 32px;
  right: 48px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

body.nav-open .sf {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.sf-top-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1rem 1rem 2rem;
  background: transparent;
  transition: background 800ms ease;
}

.sf.scrolled .sf-top-row {
  background: var(--if-nav-black);
}

body.nav-open .sf-phone {
  max-width: 0 !important;
  opacity: 0 !important;
}

body.nav-open .sf-contact-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  max-height: 0 !important;
}

body.nav-open .sf.scrolled .sf-top-row {
  background: transparent;
}

body.nav-open .sf-top-row {
  background: transparent !important;
}

.sf-phone {
  white-space: nowrap;
  color: var(--if-nav-white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .35s ease, opacity .35s ease;
}

.sf-phone a {
  color: inherit;
  text-decoration: none;
}

.sf.scrolled .sf-phone {
  max-width: 220px;
  opacity: 1;
}

.sf-contact-btn {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity .3s, max-height .35s;
  width: 100%;
}

.sf.scrolled .sf-contact-btn {
  opacity: 1;
  pointer-events: auto;
  max-height: 80px;
}

.sf-contact-btn a {
  background: var(--if-nav-white);
  color: var(--if-nav-black);
  border: 1px solid var(--if-nav-black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  position: relative;
  transition: all 800ms ease;
}

.sf-contact-btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  height: 1px;
  width: 60px;
  background: var(--if-nav-black);
}

.sf-contact-btn a:hover {
  background: var(--if-nav-white);
  color: var(--if-nav-black);
}

.sf-contact-btn a:hover::after {
  background: var(--if-nav-black);
}

.sf-burger {
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  z-index: 10001;
  flex-shrink: 0;
  bottom: 1px;
}

.sf-burger-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  display: block;
  width: 30px;
  height: 2px;
  background: var(--if-nav-white);
  transition: background-color .25s, transform .25s, opacity .25s, top .25s;
}

.sf-burger-bar-top {
  top: calc(50% - 9px);
}

.sf-burger-bar-bottom {
  top: calc(50% + 9px);
}

body.nav-open .sf-burger-bar-mid {
  opacity: 0;
}

body.nav-open .sf-burger-bar-top {
  top: 50%;
  transform: rotate(45deg);
  background: var(--if-nav-white);
}

body.nav-open .sf-burger-bar-bottom {
  top: 50%;
  transform: rotate(-45deg);
  background: var(--if-nav-white);
}

body.nav-open {
  overflow: hidden;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: row;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}

.nav-content-panel {
  flex: 1;
  background: #fff;
  max-height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-content-panel::-webkit-scrollbar {
  display: none;
}

.ncp-header {
  padding: 3rem;
}

.ncp-heading {
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--if-ink);
  margin-bottom: 2rem;
}

.ncp-body {
  font-size: 18px;
  color: #555;
  max-width: 400px;
  margin-bottom: 0.3rem;
}

.ncp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 3rem 3rem;
}

.ncp-item {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  aspect-ratio: 312 / 280;
  background: var(--if-ink);
}

.ncp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.ncp-item:hover img {
  transform: scale(1.05);
}

.ncp-item-label {
  position: absolute;
  bottom: 12px;
  left: 20px;
  z-index: 2;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
}

.nav-links-panel {
  width: 25%;
  min-width: 280px;
  background: var(--if-nav-black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10rem 2rem 4rem 4rem;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  position: relative;
}

.nav-close {
  display: none;
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  background: none;
  border: none;
  color: var(--if-nav-white);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  font-family: 'Barlow Condensed', sans-serif;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nav-links li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.45px;
  text-transform: uppercase;
  color: var(--if-nav-white);
  text-decoration: none;
  display: block;
  line-height: 1.2;
  transition: color 300ms ease;
}

.nav-links li a:hover,
.nav-links li a.is-active {
  color: var(--if-teal);
}

.nav-privacy {
  padding-bottom: 4rem;
}

.nav-privacy a {
  font-size: 18px;
  font-weight: 500;
  color: var(--if-nav-white);
  text-decoration: none;
}

.nav-social {
  display: flex;
  gap: 24px;
  padding-top: 4rem;
}

.nav-social a {
  font-size: 18px;
  font-weight: 500;
  color: var(--if-nav-white);
  text-decoration: none;
}

.nav-social a:hover {
  color: var(--if-teal);
}

@media (max-width: 900px) {
  .sf {
    top: 20px;
    right: 20px;
  }

  .sf-phone,
  .sf.scrolled .sf-phone,
  .sf-contact-btn,
  .sf.scrolled .sf-contact-btn {
    max-width: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .sf-top-row {
    background: var(--if-nav-black);
    padding: 8px;
    gap: 0;
  }

  body.nav-open .sf-top-row {
    background: transparent !important;
  }

  body.nav-open .sf-burger-bar-top,
  body.nav-open .sf-burger-bar-bottom {
    background: var(--if-nav-black);
  }

  .site-header {
    padding: 20px 0 2rem 20px;
  }

  .brand-logo img {
    height: 26px;
  }

  .nav-overlay {
    flex-direction: column;
  }

  .nav-content-panel {
    flex: 0 0 auto;
    max-height: 45vh;
  }

  .ncp-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem 1.5rem;
    gap: 8px;
  }

  .nav-links-panel {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 55vh;
    padding: 5rem 2rem 2rem;
  }

  .nav-close {
    top: 1rem;
    right: 1rem;
  }

  .nav-links li a {
    font-size: 22px;
  }
}

/* Reset the theme's aggressive global heading/input sizing inside our new sections only. */
.if-contact h1,
.if-contact h2,
.if-contact h3,
.if-contact h4,
.if-contact h5,
.if-contact h6 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: normal;
  line-height: 1.1;
  margin: 0;
  padding: 0;
}

.if-contact p {
  margin: 0;
}

.if-contact * {
  box-sizing: border-box;
}

.if-contact input,
.if-contact textarea {
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: normal;
}

.if-contact .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.if-contact .icon-sm {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.if-contact .icon-solid {
  stroke: none;
  fill: currentColor;
}

/* ===== 1. Hero ===== */
.if-hero {
  background: linear-gradient(to right, rgba(15, 15, 16, 0.8) 0%, transparent 100%), url('images/team/culture.jpeg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 8rem 3rem 6rem;
  text-align: left;
}

.if-hero .eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--if-yellow);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.if-hero h1 {
  font-size: clamp(40px, 6vw, 77px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 780px;
  margin: 0 0 1.75rem;
}

.if-hero h1 .hollow {
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
}

.if-hero .fit-signal {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0;
}

.hero-cta-btn {
  display: inline-block;
  margin: 2.25rem 0 0;
  padding: 16px 32px;
  background: var(--if-pink);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: opacity 0.15s ease;
}

.hero-cta-btn:hover {
  opacity: 0.9;
}

.hero-cta-note {
  margin: 0;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== 2. Credibility strip ===== */
.if-credibility {
  background: var(--if-yellow);
  padding: 2.2rem;
}

.if-credibility .grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.if-credibility .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--if-ink);
  line-height: 1;
}

.if-credibility .num > span:not(.num-value) {
  font-size: 56px;
}

.if-credibility .pct-sign {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
}

.if-credibility .cap {
  font-size: 16px;
  font-weight: 650;
  color: var(--if-ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 10px;
  line-height: 1.45;
}

/* ===== 3. Trust strip ===== */
.if-trust {
  background: #fff;
  padding: 0 3rem 4rem;
}

.if-trust .inner {
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid #e8e8e8;
  padding-top: 2rem;
}

.if-trust .lbl {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.logo-carousel.static .logo-row {
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  will-change: transform;
}

.if-trust .client {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 40px;
}

.if-trust .client img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.75;
  transition: opacity .2s ease;
}

.if-trust .client:hover img {
  opacity: 1;
}

.if-trust .client-text {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
}

.if-trust .meta {
  margin-top: 1.1rem;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  flex-wrap: wrap;
}

.if-trust .stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.if-trust .stars .icon {
  color: var(--if-yellow);
}

.if-trust .stars .rating {
  margin-left: 6px;
  font-weight: 500;
}

.if-trust .sep {
  color: #ccc;
}

.if-trust .award {
  font-weight: 500;
}

/* ===== 4. Form section ===== */
.if-form-section {
  background: #fafaf7;
  padding: 3rem 1.5rem;
}

.if-form-section .wrap {
  max-width: 700px;
  margin: 0 auto;
  border-top: 4px solid var(--if-pink);
  border-left: 1px solid #e5e5e0;
  border-right: 1px solid #e5e5e0;
  border-bottom: 1px solid #e5e5e0;
  padding: 2rem 2rem 2.5rem;
}

.if-form-section .eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--if-blue);
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.if-form-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2.25rem;
  color: var(--if-ink);
  text-align: center;
}

.if-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2rem;
  padding: 16px 0;
  border-top: 1px solid #e5e5e0;
  border-bottom: 1px solid #e5e5e0;
}

.if-preview-strip .item {
  text-align: center;
  padding: 0 6px;
}

.if-preview-strip .item+.item {
  border-left: 1px solid #e5e5e0;
}

.if-preview-strip .icon {
  color: var(--if-pink);
  display: block;
  margin: 0 auto 8px;
}

.if-preview-strip .title {
  font-size: 16px;
  font-weight: 500;
  color: var(--if-ink);
  line-height: 1.3;
  margin-bottom: 3px;
}

.if-preview-strip .desc {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  line-height: 1.4;
}

.if-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 1.75rem;
  justify-content: center;
}

.if-chips label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 0;
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.if-chips input {
  accent-color: var(--if-pink);
  margin: 0;
}

.if-chips label:has(input:checked) {
  border-color: var(--if-pink);
  background: var(--if-pink);
  color: #fff;
}

.if-chips label:has(input:checked) input {
  accent-color: #fff;
}

.if-field {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 10px;
  background: #fff;
  display: block;
}

.if-field:focus {
  outline: none;
  border-color: var(--if-blue);
}

.if-name-row {
  display: flex;
  gap: 10px;
}

.if-name-row .if-field {
  margin-bottom: 10px;
}

textarea.if-field {
  resize: vertical;
  margin-bottom: 1.25rem;
}

.if-reassurance {
  background: #eef5f7;
  border: 1px solid #c8dde3;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.if-reassurance .badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--if-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.if-reassurance .badge .icon {
  color: #fff;
}

.if-reassurance .head {
  font-size: 15px;
  font-weight: 700;
  color: #003a49;
  line-height: 1.3;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.if-reassurance .body {
  font-size: 16px;
  font-weight: 500;
  color: #2a5966;
  line-height: 1.55;
}

.if-send-btn {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  background: var(--if-pink);
  color: #fff;
  border: none;
  outline: none;
  margin: 0;
  padding: 16px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.if-send-btn::after,
.if-send-btn::before {
  content: none !important;
  display: none !important;
}

.if-send-btn:hover,
.if-send-btn:active,
.if-send-btn:focus {
  opacity: 0.92;
  color: #fff;
}

.if-send-btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.wpcf7-spinner {
  display: none !important;
}

.if-form-status {
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  margin-top: 12px;
  min-height: 1px;
}

.if-form-status.is-error {
  color: #c0392b;
}

.if-form-status.is-success {
  color: #1e7d3c;
}

/* Visually-hidden but still submitted, so the form keeps parity with the live CF7 config. */
.if-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 5. Alex signature ===== */
.if-signature {
  background: #fff;
  padding: 1rem 1.5rem 3.5rem;
}

.if-signature .inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.if-signature .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.if-signature img.avatar {
  object-fit: contain;
  background: #f0f0f0;
}

.if-signature .avatar-fallback {
  background: var(--if-pink);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.if-signature .name {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--if-ink);
  line-height: 1.2;
}

.if-signature .line {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  margin-top: 4px;
  line-height: 1.5;
}

/* ===== 4b. Alternative contact methods ===== */
.if-alt-contact {
  background: #fff;
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}

.if-alt-contact .lbl {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.alt-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.alt-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--if-ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--if-ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.alt-contact-btn:hover {
  background: var(--if-ink);
  color: #fff;
}

.alt-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--if-pink);
  flex-shrink: 0;
}

.alt-contact-icon .icon {
  width: 14px;
  height: 14px;
  fill: #fff;
  stroke: none;
}

/* ===== 6. Escape hatch ===== */
.if-escape {
  display: none;
  background: #fff;
  padding: 0 1.5rem 4rem;
  text-align: center;
}

.if-escape .inner {
  max-width: 540px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.if-escape h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--if-ink);
  margin-bottom: 10px;
}

.if-escape p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.if-escape a {
  font-size: 16px;
  font-weight: 500;
  color: var(--if-blue);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.if-escape a:hover {
  text-decoration: underline;
}

/* ===== 7. AI Assessment band ===== */
.if-assessment {
  display: none;
  background: var(--if-blue);
  color: #fff;
  padding: 5.5rem 1.5rem;
  text-align: center;
}

.if-assessment .eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--if-yellow);
  margin-bottom: 18px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.if-assessment h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.if-assessment .lede {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.if-assessment .facts {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  flex-wrap: wrap;
}

.if-assessment .facts .fact {
  display: flex;
  align-items: center;
  gap: 6px;
}

.if-assessment .facts .icon {
  color: var(--if-yellow);
}

.if-assessment .facts .sep {
  color: rgba(255, 255, 255, 0.3);
}

.if-assessment .assess-btn {
  background: var(--if-yellow);
  color: var(--if-ink);
  border: none;
  padding: 14px 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
}

.if-assessment .assess-btn:hover {
  opacity: 0.92;
}

.if-assessment .spots {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 14px;
  letter-spacing: 0.06em;
}

/* ===== Mobile breakpoints ===== */
@media screen and (max-width:768px) {
  .if-hero {
    padding: 5.5rem 1.25rem 3.5rem;
  }

  .if-hero .fit-signal {
    font-size: 15px;
  }

  .if-credibility {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .if-credibility .grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .if-credibility .num {
    font-size: 40px;
  }

  .if-credibility .num > span:not(.num-value) {
    font-size: 40px;
  }

  .logo-row {
    gap: 40px;
  }

  .if-trust .client img {
    max-width: 110px;
  }

  .if-form-section {
    padding: 4rem 1.5rem;
  }

  .if-preview-strip {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .if-preview-strip .item+.item {
    border-left: none;
    border-top: 1px solid #e5e5e0;
    padding-top: 16px;
  }

  .if-name-row {
    flex-direction: column;
    gap: 0;
  }

  .if-signature .inner {
    flex-direction: column;
    text-align: center;
  }

  .if-assessment {
    padding: 4rem 1.5rem;
  }

  .if-assessment .facts {
    gap: 12px;
    font-size: 16px;
  font-weight: 500;
  }

  .if-chips {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .if-chips label {
    flex: 1 1 auto;
    white-space: normal;
    text-align: center;
  }
}

@media screen and (max-width:420px) {
  .if-credibility .grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }
}
