/* Shared components for the dark Capra pages built on capra-connect/connect-v2.css
   (homepage and supplier partnership page). Everything stays scoped to .cc. */

/* Hero variants ------------------------------------------------------------ */

.cc-hero--home::before {
  background:
    radial-gradient(64% 50% at 50% 36%, rgba(14, 27, 44, 0.7), rgba(14, 27, 44, 0) 100%),
    linear-gradient(180deg, rgba(14, 27, 44, 0.76) 0%, rgba(14, 27, 44, 0.46) 34%, rgba(14, 27, 44, 0.56) 70%, #08121d 100%),
    url("/images/business/hero-background-capra.webp") center 38% / cover no-repeat;
}

.cc-hero--partner::before {
  background:
    radial-gradient(60% 52% at 50% 46%, rgba(14, 27, 44, 0.7), rgba(14, 27, 44, 0) 100%),
    linear-gradient(180deg, rgba(14, 27, 44, 0.64) 0%, rgba(14, 27, 44, 0.44) 40%, rgba(14, 27, 44, 0.64) 80%, #08121d 100%),
    url("/images/construction/site-dumper-finance.webp") center 60% / cover no-repeat;
}

.cc-hero--compact {
  padding-bottom: clamp(80px, 9vw, 128px);
}

.cc-hero--compact::before,
.cc-hero--compact::after {
  bottom: 0;
}

/* Section helpers ------------------------------------------------------------ */

.cc-section--tight {
  padding-top: 0;
}

.cc-section-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin-top: clamp(40px, 5vw, 56px);
}

.cc-label {
  color: var(--cc-clay);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Two audiences ---------------------------------------------------------------- */

.cc-audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cc-audience {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  background: var(--cc-panel);
}

.cc-audience-visual {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-bottom: 1px solid var(--cc-line);
  background: var(--cc-visual);
}

.cc-audience-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-audience-visual img {
  filter: saturate(0.85);
}

.cc-audience-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 29, 0.08) 0%, rgba(8, 18, 29, 0.2) 55%, rgba(14, 27, 44, 0.7) 100%);
  content: "";
}

.cc-audience-visual--suppliers img {
  object-position: center 62%;
}

.cc-audience-visual--business img {
  object-position: center 40%;
}

.cc-audience-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 32px 32px;
}

.cc-audience-body h3 {
  margin-top: 12px;
  font-size: clamp(24px, 1.2vw + 12px, 30px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.cc-audience-body > p:not(.cc-label) {
  margin-top: 12px;
  color: var(--cc-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cc-audience-body .cc-checks {
  margin: 24px 0 32px;
}

.cc-audience-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: auto;
}

/* Pain cards with product proof ------------------------------------------------ */

.cc-pain-grid .cc-card-visual {
  flex: 0 0 280px;
}

.cc-pain-grid .cc-card-body .cc-label {
  display: block;
  margin-bottom: 12px;
}

/* Why suppliers move: each reason set against what a standard broker offers ---------- */

.cc-why :is(.cc-ways-grid, .cc-why-rows) .cc-why-vs {
  margin-top: 24px;
  color: rgba(244, 239, 230, 0.58);
  font-size: 14px;
  line-height: 1.45;
}

.cc-why-vs span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cc-why-vs s {
  text-decoration-color: rgba(199, 160, 122, 0.75);
  text-decoration-thickness: 1px;
}

.cc-why .cc-ways-grid .cc-why-vs + h3 {
  margin-top: 16px;
}

/* The remaining reasons sit in a quiet panel that opens on demand. */

.cc-why-more {
  margin-top: clamp(40px, 5vw, 56px);
  border: 1px solid var(--cc-line-strong);
  border-radius: 8px;
  background: var(--cc-panel);
}

.cc-why-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: clamp(18px, 2vw, 22px) clamp(20px, 2.4vw, 28px);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.cc-why-more summary::-webkit-details-marker {
  display: none;
}

.cc-why-more-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-why-more-title {
  color: var(--cc-strong);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.cc-why-more-list {
  color: var(--cc-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.cc-why-more-toggle {
  display: inline-flex;
  min-height: 44px;
  flex: none;
  align-items: center;
  gap: 12px;
  color: var(--cc-text);
  font-size: 14.5px;
  font-weight: 600;
}

.cc-why-more summary:hover .cc-why-more-toggle > span:not(.cc-plus) {
  text-decoration: underline;
  text-decoration-color: var(--cc-clay);
  text-underline-offset: 5px;
}

.cc-why-more-hide,
.cc-why-more[open] .cc-why-more-show,
.cc-why-more[open] .cc-why-more-list {
  display: none;
}

.cc-why-more[open] .cc-why-more-hide {
  display: inline;
}

.cc-why-more[open] .cc-plus::after {
  transform: rotate(0deg);
}

.cc-why-rows {
  margin: 0;
  padding: 0 clamp(20px, 2.4vw, 28px) 4px;
  list-style: none;
}

.cc-why-rows li {
  display: grid;
  grid-template-columns: 44px minmax(0, 0.75fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 16px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--cc-line-strong);
}

.cc-why .cc-why-rows .cc-why-vs {
  margin-top: 2px;
}

.cc-why-row-copy h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
}

.cc-why-row-copy p {
  max-width: 60ch;
  margin-top: 8px;
  color: var(--cc-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.cc-why-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--cc-line-strong);
}

.cc-why-foot > p {
  color: var(--cc-strong);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cc-why-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}

@media (max-width: 900px) {
  .cc-why-rows li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px 16px;
  }

  .cc-why-rows li > :not(.cc-icon-tile) {
    grid-column: 2;
  }

  .cc-why-rows .cc-icon-tile {
    grid-row: 1 / span 2;
  }
}

/* Product links ------------------------------------------------------------------ */

.cc-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.cc-product {
  display: flex;
  min-height: 176px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  background: var(--cc-panel);
  color: var(--cc-text);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.cc-product:hover {
  border-color: var(--cc-clay);
  background: var(--cc-panel-raised);
}

.cc-product strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cc-product span {
  margin-top: 8px;
  color: var(--cc-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.cc-product svg {
  width: 18px;
  height: 18px;
  margin-top: auto;
  padding-top: 16px;
  box-sizing: content-box;
  color: var(--cc-clay);
}

/* Team ------------------------------------------------------------------------------ */

.cc-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}

.cc-person-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  background: var(--cc-panel);
}

.cc-person-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.cc-person-card-body {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.cc-person-card-body h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cc-person-card-body .cc-label {
  margin-top: 8px;
}

.cc-person-card-body > p:not(.cc-label) {
  margin-top: 16px;
  color: var(--cc-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.cc-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.cc-contact-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 4px;
  color: var(--cc-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.cc-contact-links a:hover {
  border-color: var(--cc-text);
}

/* Callback form ------------------------------------------------------------------- */

.cc .home-callback-section.cc-section {
  padding: clamp(60px, 6.5vw, 100px) 0;
  overflow: visible;
  background: none;
}

.cc .home-callback-section::before,
.cc .home-callback-section::after {
  content: none;
}

.cc .home-callback-form {
  padding: 0;
}

.cc-callback-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.cc-callback-copy h2 {
  font-size: clamp(34px, 3vw + 8px, 52px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.cc-callback-copy > p {
  margin-top: 16px;
  color: var(--cc-muted);
  font-size: 17px;
  line-height: 1.6;
}

.cc-callback-points {
  display: grid;
  gap: 16px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.cc-callback-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 4px 16px;
}

.cc-callback-points .cc-icon-tile {
  grid-row: span 2;
}

.cc-callback-points strong {
  color: var(--cc-text);
  font-size: 16px;
}

.cc-callback-points span:not(.cc-icon-tile) {
  color: var(--cc-muted);
  font-size: 15px;
  line-height: 1.5;
}

.cc-callback-copy > .cc-callback-direct {
  color: var(--cc-muted);
  font-size: 15px;
}

.cc-callback-direct a {
  color: var(--cc-text);
  font-weight: 700;
}

.cc-form-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--cc-line-strong);
  border-radius: 8px;
  background: var(--cc-panel-raised);
}

.cc-form-card h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
}

.cc-form-card .cc-form-sub {
  margin-top: 8px;
  color: var(--cc-faint);
  font-size: 14px;
}

.cc-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.cc-form-fields label {
  display: grid;
  gap: 8px;
}

.cc-form-fields .cc-wide {
  grid-column: 1 / -1;
}

.cc-form-fields span {
  color: rgba(244, 239, 230, 0.82);
  font-size: 13.5px;
  font-weight: 600;
}

.cc-form-fields :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: 12px 12px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 4px;
  background: #0a1522;
  color: var(--cc-text);
  font-family: var(--f-sans);
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 160ms ease;
}

.cc-form-fields textarea {
  min-height: 112px;
  resize: vertical;
}

.cc-form-fields :is(input, select, textarea):focus {
  border-color: var(--cc-clay);
  outline: none;
}

.cc-form-fields select {
  color-scheme: dark;
}

.cc .cc-form-submit {
  width: 100%;
  margin-top: 24px;
  border: 0;
  cursor: pointer;
}

.cc .cc-form-submit:disabled {
  cursor: progress;
  opacity: 0.7;
}

.cc-form-error {
  min-height: 20px;
  margin-top: 12px;
  color: var(--cc-clay);
  font-size: 14px;
}

.cc-form-note {
  margin-top: 4px;
  color: var(--cc-faint);
  font-size: 12.5px;
  text-align: center;
}

.cc-form-success {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 6px;
  color: var(--cc-text);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Partnership page --------------------------------------------------------------------- */

.cc-partner-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--cc-line-strong);
}

.cc-partner-roles article {
  padding: 32px 32px 32px 0;
}

.cc-partner-roles article + article {
  padding-left: 32px;
  border-left: 1px solid var(--cc-line);
}

.cc-partner-roles h3 {
  margin-top: 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.cc-partner-roles p:not(.cc-label) {
  margin-top: 12px;
  color: var(--cc-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.cc-terms-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--cc-line-strong);
}

.cc-terms-strip strong {
  color: var(--cc-strong);
  font-size: 18px;
  font-weight: 600;
}

.cc-terms-strip span {
  color: var(--cc-faint);
  font-size: 13.5px;
}

.cc-included {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cc-included article {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  background: var(--cc-panel);
}

.cc-included h3 {
  margin-top: 24px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.cc-included p {
  margin-top: 8px;
  color: var(--cc-muted);
  font-size: 15px;
  line-height: 1.6;
}

.cc-included .cc-text-link {
  margin-top: auto;
  padding-top: 12px;
}

.cc-choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.cc-choices p {
  color: var(--cc-faint);
  font-size: 14px;
}

.cc-choices a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 999px;
  color: var(--cc-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.cc-choices a:hover {
  border-color: var(--cc-clay);
}

.cc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.cc-steps li {
  padding: 28px;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  background: var(--cc-panel);
  counter-increment: steps;
}

.cc-steps li::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--cc-line-strong);
  border-radius: 50%;
  color: var(--cc-clay);
  content: counter(steps);
  font-family: var(--f-mono);
  font-size: 14px;
}

.cc-steps strong {
  display: block;
  margin-top: 20px;
  color: var(--cc-strong);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.cc-steps span {
  display: block;
  margin-top: 8px;
  color: var(--cc-muted);
  font-size: 15px;
  line-height: 1.6;
}

.cc-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  max-width: 980px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--cc-line-strong);
  border-radius: 8px;
  background: var(--cc-panel-raised);
}

.cc-contact-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.cc-contact-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.cc-contact-card--joined {
  max-width: none;
  margin-top: 16px;
}

.cc-contact-card-body :is(h2, .cc-contact-title) {
  margin-top: 12px;
  font-size: clamp(28px, 2vw + 12px, 40px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.cc-contact-card-body > p:not(.cc-label) {
  margin-top: 16px;
  color: var(--cc-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cc-contact-card-body .cc-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.cc-contact-card-body .cc-contact-links {
  margin-top: 16px;
  padding-top: 0;
}

/* Partner application ------------------------------------------------------------------- */

.cc-partner-hero {
  padding-bottom: clamp(72px, 8vw, 120px);
}

.cc-partner-hero::before,
.cc-partner-hero::after {
  bottom: 0;
}

.cc-partner-hero::before {
  background:
    linear-gradient(90deg, rgba(14, 27, 44, 0.92) 0%, rgba(14, 27, 44, 0.76) 52%, rgba(14, 27, 44, 0.62) 100%),
    linear-gradient(180deg, rgba(14, 27, 44, 0.4) 0%, rgba(14, 27, 44, 0.28) 60%, #08121d 100%),
    url("/images/business/dealer-page-closing-cta.webp") center 30% / cover no-repeat;
}

.cc-partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 480px);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.cc-partner-copy {
  text-align: left;
}

.cc-partner-copy .page-breadcrumb {
  margin-bottom: 32px;
}

.cc .cc-partner-copy h1 {
  max-width: 12ch;
  margin: 24px 0 0;
  font-size: clamp(44px, 4.6vw, 72px);
}

.cc .cc-partner-copy .cc-hero-lede {
  max-width: 52ch;
  margin: 24px 0 0;
}

.cc-partner-terms {
  margin-top: 28px;
  padding: 20px 0;
  border-block: 1px solid var(--cc-line-strong);
}

.cc-partner-terms strong {
  color: var(--cc-strong);
  font-size: 16px;
}

.cc-partner-terms p + p {
  margin-top: 8px;
  color: var(--cc-faint);
  font-size: 14px;
  line-height: 1.5;
}

.cc-partner-terms a {
  color: var(--cc-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(244, 239, 230, 0.35);
  text-underline-offset: 4px;
}

.cc-partner-copy .cc-partner-next-label {
  margin-top: 28px;
}

.cc-partner-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.cc-partner-contact img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.cc-partner-contact p {
  color: var(--cc-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.cc-partner-contact a {
  color: var(--cc-text);
  font-weight: 600;
}

/* The application form stays a light card on the dark page. */

.cc .partner-onboarding-shell {
  position: static;
  grid-column: auto;
  grid-row: auto;
  width: auto;
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fbfaf6;
  color: #0e1b2c;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
  scroll-margin-top: 96px;
}

.cc .partner-onboarding-shell :is(h1, h2, h3) {
  color: #0e1b2c;
}

.cc-steps--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cc-steps--five li {
  padding: 24px;
}

.cc-ways-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 1100px) {
  .cc-partner-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
    margin-inline: auto;
  }

  .cc-steps--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-ways-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cc-partner-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .cc-partner-copy {
    display: contents;
  }

  .cc-partner-copy > * {
    order: 1;
  }

  .cc .partner-onboarding-shell {
    order: 2;
    width: 100%;
    margin: 32px 0 0;
  }

  .cc-partner-copy > .cc-partner-next-label,
  .cc-partner-copy > .cc-checks,
  .cc-partner-copy > .cc-partner-contact {
    order: 3;
  }

  .cc-partner-copy .cc-partner-next-label {
    margin-top: 40px;
  }

  .cc .cc-partner-copy h1 {
    font-size: clamp(40px, 11vw, 48px);
  }

  .cc-partner-hero::before {
    background:
      linear-gradient(180deg, rgba(14, 27, 44, 0.88) 0%, rgba(14, 27, 44, 0.82) 45%, rgba(14, 27, 44, 0.92) 80%, #08121d 100%),
      url("/images/business/dealer-page-closing-cta.webp") center 30% / cover no-repeat;
  }

  .cc-steps--five li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 16px;
    padding: 20px;
  }

  .cc-steps--five li::before {
    grid-row: span 2;
  }

  .cc-steps--five strong {
    margin-top: 4px;
    font-size: 17px;
  }

  .cc-steps--five span {
    margin-top: 0;
  }

  .cc-partner-hero .cc-pill {
    align-self: flex-start;
  }

  .cc-steps--five,
  .cc-ways-grid--four {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-why .cc-ways-grid article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
  }

  .cc-why .cc-ways-grid article > :not(.cc-icon-tile) {
    grid-column: 2;
  }

  .cc-why .cc-ways-grid .cc-icon-tile {
    grid-row: 1 / span 3;
  }

  .cc-why .cc-ways-grid .cc-why-vs {
    margin-top: 0;
  }

  .cc-why .cc-ways-grid .cc-why-vs + h3 {
    margin-top: 12px;
  }

  .cc-why-more summary {
    align-items: flex-start;
    padding: 16px 20px;
  }

  .cc-why-more-show,
  .cc-why-more[open] .cc-why-more-hide {
    display: none;
  }

  .cc-why-more-toggle {
    min-width: 24px;
    min-height: 24px;
    margin-top: 2px;
    justify-content: flex-end;
  }

  .cc-why-rows {
    padding: 0 20px 4px;
  }

  .cc-why-rows li {
    padding: 24px 0;
  }

  .cc-why-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Tablet ------------------------------------------------------------------------------------ */

@media (max-width: 1023px) {
  .cc-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-included {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cc-team {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }

  .cc-callback-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Phone ------------------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .cc-hero--home::before {
    background:
      linear-gradient(180deg, rgba(14, 27, 44, 0.84) 0%, rgba(14, 27, 44, 0.7) 40%, rgba(14, 27, 44, 0.78) 75%, #08121d 100%),
      url("/images/business/home-hero-mobile-20261004.webp") center 30% / cover no-repeat;
    background-image:
      linear-gradient(180deg, rgba(14, 27, 44, 0.84) 0%, rgba(14, 27, 44, 0.7) 40%, rgba(14, 27, 44, 0.78) 75%, #08121d 100%),
      image-set(url("/images/business/home-hero-mobile-20261004.avif") type("image/avif"), url("/images/business/home-hero-mobile-20261004.webp") type("image/webp"));
  }

  .cc-hero--partner::before {
    background:
      linear-gradient(180deg, rgba(14, 27, 44, 0.8) 0%, rgba(14, 27, 44, 0.66) 40%, rgba(14, 27, 44, 0.78) 75%, #08121d 100%),
      url("/images/construction/site-dumper-finance.webp") 62% 60% / cover no-repeat;
  }

  .cc-hero--compact {
    padding-bottom: 64px;
  }

  .cc-hero--compact::before,
  .cc-hero--compact::after {
    bottom: 0;
  }

  .cc-audiences,
  .cc-products,
  .cc-included,
  .cc-steps,
  .cc-partner-roles,
  .cc-form-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-audience-visual {
    height: 200px;
  }

  .cc-audience-body {
    padding: 24px;
  }

  .cc-product {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 16px;
    padding: 16px 20px;
  }

  .cc-product span {
    grid-column: 1;
    margin-top: 0;
    font-size: 14px;
  }

  .cc-product svg {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    padding: 0;
  }

  .cc-pain-grid .cc-card-visual {
    flex-basis: 240px;
  }

  .cc-person-card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }

  .cc-person-card img {
    min-height: 220px;
  }

  .cc-person-card-body {
    padding: 20px;
  }

  .cc-person-card-body > p:not(.cc-label) {
    font-size: 14.5px;
  }

  .cc-contact-links a {
    padding: 0 8px;
    font-size: 13px;
  }

  .cc-partner-roles article,
  .cc-partner-roles article + article {
    padding: 24px 0;
    border-left: 0;
  }

  .cc-partner-roles article + article {
    border-top: 1px solid var(--cc-line);
  }

  .cc-contact-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-contact-card img {
    min-height: 0;
    height: 280px;
    object-position: center 20%;
  }

  .cc-contact-card-body .cc-actions {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .cc-callback-points {
    margin: 24px 0;
  }
}

/* Keep single-contact layouts balanced while a profile is withdrawn. */
.cc-team:has(> .cc-person-card:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.cc-contact-card:not(:has(> img)) { grid-template-columns: minmax(0, 1fr); }
