/* SMARTair solutions hub — phase 1: hero and page foundation. */
body.page-id-12 {
  --solution-ink: #0b1922;
  --solution-teal: #0797a6;
  --solution-orange: #f15a0a;
  --solution-mist: #eef8f8;
  background: #fff;
}

body.page-id-12 .sa-page-header {
  display: none;
}

body.page-id-12 .entry-content {
  margin: 0;
  max-width: none;
}

body.page-id-12 .entry-content > .sa-solution-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  width: min(1440px, calc(100vw - 48px));
  min-height: 660px;
  margin: 24px auto 88px;
  padding: clamp(48px, 6vw, 92px);
  overflow: hidden;
  border: 1px solid #dce7e8;
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 0%, rgba(7,151,166,.15), transparent 34%),
    linear-gradient(135deg, #f7fbfb 0%, #fff 58%);
}

body.page-id-12 .entry-content > .sa-solution-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -170px -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(7,151,166,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(7,151,166,.045), 0 0 0 88px rgba(7,151,166,.025);
  pointer-events: none;
}

body.page-id-12 .sa-solution-hero > div {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

body.page-id-12 .sa-solution-hero .sa-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--solution-teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.page-id-12 .sa-solution-hero .sa-label::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: var(--solution-orange);
}

body.page-id-12 .sa-solution-hero h2 {
  max-width: 680px;
  margin: 0;
  color: var(--solution-ink);
  font-size: clamp(46px, 4.9vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body.page-id-12 .sa-solution-hero h2 + p {
  max-width: 580px;
  margin: 26px 0 0;
  color: #5f6d74;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

body.page-id-12 .sa-solution-hero .sa-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

body.page-id-12 .sa-solution-hero .sa-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--solution-ink);
  border-radius: 15px;
  background: var(--solution-ink);
  color: #fff;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

body.page-id-12 .sa-solution-hero .sa-button::after {
  content: "\2192";
  margin-left: 14px;
  color: var(--solution-orange);
  font-size: 20px;
}

body.page-id-12 .sa-solution-hero .sa-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11,25,34,.16);
}

body.page-id-12 .sa-solution-hero .sa-button.is-secondary {
  border-color: #d5dfe1;
  background: rgba(255,255,255,.82);
  color: var(--solution-ink);
}

body.page-id-12 .sa-solution-hero > p:last-child {
  position: relative;
  z-index: 1;
  margin: 0;
}

body.page-id-12 .sa-solution-hero .sa-solution-image {
  display: block;
  width: 100%;
  height: clamp(480px, 48vw, 610px);
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(11,25,34,.18);
  content: url("solutions/solution-overview-v2.jpg");
}

/* Phase 2: three deliberately different entrances — not repeated cards. */
body.page-id-12 .sa-solution-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto 110px;
}

body.page-id-12 .sa-solution-cards::before {
  content: "Vælg den verden, du arbejder i";
  grid-column: 1 / -1;
  margin: 0 0 18px;
  color: var(--solution-ink);
  font-size: clamp(34px, 3.7vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}

body.page-id-12 .sa-solution-cards > p {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #edf3f3;
}

body.page-id-12 .sa-solution-cards > p:empty { display: none; }

body.page-id-12 .sa-solution-cards > p .sa-solution-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

/* WordPress wraps the standalone card images in their own linked card. */
body.page-id-12 .sa-solution-cards > p > .sa-solution-card {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  opacity: 0;
}
body.page-id-12 .sa-solution-cards > p > .sa-solution-card::after { display: none; }
body.page-id-12 .sa-solution-cards > p > .sa-solution-card > .sa-solution-image {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid #dbe4e5;
  border-radius: 24px;
  background: #f4f8f8;
  color: var(--solution-ink);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(11,25,34,.14);
}

body.page-id-12 .sa-solution-card > .sa-solution-image,
body.page-id-12 .sa-solution-card > p:has(.sa-solution-image) {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

body.page-id-12 .sa-solution-card > p:has(.sa-solution-image) .sa-solution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-id-12 .sa-solution-card > div {
  padding: clamp(26px, 3.3vw, 48px);
}

body.page-id-12 .sa-solution-card h3 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
}

body.page-id-12 .sa-solution-card h3::before {
  display: block;
  margin-bottom: 16px;
  color: var(--solution-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.page-id-12 .sa-solution-card > div > p {
  max-width: 570px;
  margin: 0;
  color: #647279;
  font-size: 17px;
  line-height: 1.55;
}

body.page-id-12 .sa-solution-card::after {
  content: "Se løsningen  \2192";
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: var(--solution-teal);
  font-size: 14px;
  font-weight: 900;
}

/* Erhverv: a wide cinematic image with a dark glass text panel. */
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) {
  grid-column: 1 / -1;
  min-height: 560px;
  color: #fff;
}
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) .sa-solution-image {
  content: url("solutions/solution-office-v2.jpg");
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7,20,29,.93) 0%, rgba(7,20,29,.66) 43%, transparent 75%);
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) > div {
  width: min(610px, 70%);
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) h3::before { content: "01 · Medarbejdere og zoner"; }
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) > div > p { color: rgba(255,255,255,.76); }
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1)::after { color: #fff; }

/* Ejendomme: image and information sit side by side. */
body.page-id-12 .sa-solution-cards > p:nth-child(2) { grid-column: 1 / 6; }
body.page-id-12 .sa-solution-cards > p:nth-child(2) {
  background: url("solutions/solution-property-v2.jpg") center / cover no-repeat;
}
body.page-id-12 .sa-solution-cards > p:nth-child(2) .sa-solution-image {
  content: url("solutions/solution-property-v2.jpg");
}
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2) {
  grid-column: 6 / -1;
  background: var(--solution-mist);
}
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2) h3::before { content: "02 · Beboere og fællesarealer"; }

/* Hotel: reverse the rhythm and finish in the dark brand colour. */
body.page-id-12 .sa-solution-cards > p:nth-child(4) { grid-column: 7 / -1; grid-row: 4; }
body.page-id-12 .sa-solution-cards > p:nth-child(4) {
  background: url("solutions/solution-hotel-v2.jpg") center / cover no-repeat;
}
body.page-id-12 .sa-solution-cards > p:nth-child(4) .sa-solution-image {
  content: url("solutions/solution-hotel-v2.jpg");
}
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) {
  grid-column: 1 / 7;
  grid-row: 4;
  border-color: var(--solution-ink);
  background: var(--solution-ink);
  color: #fff;
}
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) h3::before { content: "03 · Gæster og daglig drift"; }
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) > div > p { color: #aebbc0; }
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3)::after { color: #fff; }

@media (max-width: 980px) {
  body.page-id-12 .entry-content > .sa-solution-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 54px;
  }
  body.page-id-12 .sa-solution-hero > div { max-width: 760px; }
  body.page-id-12 .sa-solution-hero .sa-solution-image { height: 480px; }
  body.page-id-12 .sa-solution-cards > p:nth-child(2),
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2),
  body.page-id-12 .sa-solution-cards > p:nth-child(4),
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) { grid-column: 1 / -1; grid-row: auto; }
  body.page-id-12 .sa-solution-cards > p:nth-child(4) { order: 5; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) { order: 6; }
}

@media (max-width: 640px) {
  body.page-id-12 .entry-content > .sa-solution-hero {
    width: calc(100vw - 24px);
    gap: 34px;
    margin: 12px auto 54px;
    padding: 34px 22px 22px;
    border-radius: 22px;
  }
  body.page-id-12 .sa-solution-hero h2 { font-size: clamp(39px, 12vw, 54px); }
  body.page-id-12 .sa-solution-hero h2 + p { font-size: 17px; }
  body.page-id-12 .sa-solution-hero .sa-support-actions { display: grid; }
  body.page-id-12 .sa-solution-hero .sa-button { width: 100%; }
  body.page-id-12 .sa-solution-hero .sa-solution-image { height: 360px; border-radius: 16px; }
  body.page-id-12 .sa-solution-cards { width: calc(100vw - 24px); gap: 12px; margin-bottom: 70px; }
  body.page-id-12 .sa-solution-cards::before { margin: 0 8px 12px; font-size: 38px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card { min-height: 340px; border-radius: 19px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) { min-height: 500px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) > div { width: 100%; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1)::before { background: linear-gradient(0deg, rgba(7,20,29,.96), rgba(7,20,29,.18) 80%); }
  body.page-id-12 .sa-solution-cards > p .sa-solution-image { min-height: 300px; }
  body.page-id-12 .sa-solution-card::after { position: static; display: block; padding: 0 26px 26px; }
}

/* Phase 4: guided choice, proof and conversion. */
body.page-id-12 .sa-fit-guide {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 6vw, 92px);
  align-items: start;
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 100px) 0;
  border-top: 1px solid #dfe7e7;
}

body.page-id-12 .sa-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--solution-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.page-id-12 .sa-fit-intro h2,
body.page-id-12 .sa-solution-cta h2 {
  margin: 0;
  color: var(--solution-ink);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}

body.page-id-12 .sa-fit-intro p {
  margin: 22px 0 0;
  color: #65737a;
  font-size: 17px;
  line-height: 1.65;
}

body.page-id-12 .sa-fit-panel {
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid #dbe5e5;
  border-radius: 22px;
  background: #f8fbfb;
}

body.page-id-12 .sa-fit-step + .sa-fit-step { margin-top: 28px; }

body.page-id-12 .sa-fit-step > span {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #53636b;
  font-size: 13px;
  font-weight: 850;
}

body.page-id-12 .sa-fit-step > span b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--solution-ink);
  color: #fff;
  font-size: 11px;
}

body.page-id-12 .sa-fit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.page-id-12 .sa-fit-options button {
  min-height: 45px;
  padding: 0 17px;
  border: 1px solid #cfdadb;
  border-radius: 10px;
  background: #fff;
  color: var(--solution-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

body.page-id-12 .sa-fit-options button[aria-pressed="true"] {
  border-color: var(--solution-teal);
  background: var(--solution-teal);
  color: #fff;
}

body.page-id-12 .sa-fit-result {
  margin-top: 34px;
  padding: 28px;
  border-radius: 16px;
  background: var(--solution-ink);
  color: #fff;
}

body.page-id-12 .sa-fit-result > span {
  color: #70d0d8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.page-id-12 .sa-fit-result h3 {
  margin: 9px 0 8px;
  color: #fff;
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.05;
}

body.page-id-12 .sa-fit-result p {
  max-width: 650px;
  margin: 0;
  color: #b9c5ca;
  line-height: 1.55;
}

body.page-id-12 .sa-fit-actions,
body.page-id-12 .sa-solution-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.page-id-12 .sa-fit-actions a,
body.page-id-12 .sa-solution-cta-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 10px;
  background: var(--solution-orange);
  color: #fff;
  font-weight: 850;
}

body.page-id-12 .sa-fit-actions a span,
body.page-id-12 .sa-solution-cta-actions a span { margin-left: 12px; }

body.page-id-12 .sa-fit-actions a.is-quiet {
  border: 1px solid rgba(255,255,255,.24);
  background: transparent;
}

body.page-id-12 .sa-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto clamp(70px, 8vw, 112px);
  border-top: 1px solid #dce5e5;
  border-bottom: 1px solid #dce5e5;
}

body.page-id-12 .sa-proof-strip article {
  padding: 36px 34px 38px;
}

body.page-id-12 .sa-proof-strip article + article { border-left: 1px solid #dce5e5; }

body.page-id-12 .sa-proof-strip strong {
  color: var(--solution-teal);
  font-size: 12px;
  letter-spacing: .12em;
}

body.page-id-12 .sa-proof-strip h3 {
  margin: 16px 0 9px;
  color: var(--solution-ink);
  font-size: 20px;
}

body.page-id-12 .sa-proof-strip p {
  margin: 0;
  color: #65737a;
  line-height: 1.55;
}

body.page-id-12 .sa-solution-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: end;
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto 88px;
  padding: clamp(42px, 5vw, 68px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7,151,166,.42), transparent 34%),
    var(--solution-ink);
}

body.page-id-12 .sa-solution-cta h2 { color: #fff; }

body.page-id-12 .sa-solution-cta p {
  max-width: 680px;
  margin: 18px 0 0;
  color: #bac6ca;
  font-size: 17px;
  line-height: 1.6;
}

body.page-id-12 .sa-solution-cta-actions { justify-content: flex-end; }

body.page-id-12 .sa-solution-cta-actions a.is-secondary {
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
}

@media (max-width: 900px) {
  body.page-id-12 .sa-fit-guide { grid-template-columns: 1fr; }
  body.page-id-12 .sa-fit-intro { max-width: 720px; }
  body.page-id-12 .sa-proof-strip { grid-template-columns: 1fr; }
  body.page-id-12 .sa-proof-strip article + article { border-top: 1px solid #dce5e5; border-left: 0; }
  body.page-id-12 .sa-solution-cta { grid-template-columns: 1fr; align-items: start; }
  body.page-id-12 .sa-solution-cta-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body.page-id-12 .sa-fit-guide { width: calc(100vw - 24px); gap: 28px; padding: 52px 0; }
  body.page-id-12 .sa-fit-intro h2,
  body.page-id-12 .sa-solution-cta h2 { font-size: 36px; }
  body.page-id-12 .sa-fit-panel { padding: 20px; border-radius: 17px; }
  body.page-id-12 .sa-fit-options { display: grid; grid-template-columns: 1fr; }
  body.page-id-12 .sa-fit-options button { width: 100%; }
  body.page-id-12 .sa-fit-result { padding: 23px 20px; }
  body.page-id-12 .sa-fit-actions,
  body.page-id-12 .sa-solution-cta-actions { display: grid; }
  body.page-id-12 .sa-fit-actions a,
  body.page-id-12 .sa-solution-cta-actions a { width: 100%; }
  body.page-id-12 .sa-proof-strip { width: calc(100vw - 24px); margin-bottom: 58px; }
  body.page-id-12 .sa-proof-strip article { padding: 28px 22px; }
  body.page-id-12 .sa-solution-cta { width: calc(100vw - 24px); margin-bottom: 58px; padding: 34px 24px; border-radius: 17px; }
}

/* Phase 3: visual rhythm, depth and lightweight motion. */
body.page-id-12 main {
  overflow: clip;
  background:
    radial-gradient(circle at 8% 26%, rgba(7,151,166,.06), transparent 25%),
    linear-gradient(#fff 0 54%, #f7faf9 54% 100%);
}

body.page-id-12 .entry-content > .sa-solution-hero {
  isolation: isolate;
  margin-bottom: 74px;
  box-shadow: 0 22px 70px rgba(11,25,34,.07);
}

body.page-id-12 .entry-content > .sa-solution-hero::after {
  content: "Én platform · flere adgangsbehov";
  position: absolute;
  right: clamp(46px, 6vw, 92px);
  bottom: clamp(46px, 6vw, 92px);
  z-index: 3;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(11,25,34,.78);
  box-shadow: 0 10px 26px rgba(11,25,34,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

body.page-id-12 .sa-solution-cards {
  position: relative;
  gap: 28px;
  padding-bottom: 34px;
}

body.page-id-12 .sa-solution-cards::before {
  max-width: 820px;
  margin-bottom: 5px;
}

body.page-id-12 .sa-solution-cards::after {
  content: "Tre miljøer. Samme sikre overblik.";
  grid-column: 1 / -1;
  grid-row: 2;
  margin: -8px 0 24px;
  color: #68767d;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}

body.page-id-12 .sa-solution-cards > p,
body.page-id-12 .sa-solution-cards > .sa-solution-card {
  box-shadow: 0 18px 48px rgba(11,25,34,.075);
}

body.page-id-12 .sa-solution-cards > p::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 16px;
  pointer-events: none;
}

body.page-id-12 .sa-solution-cards > p:nth-child(2)::before,
body.page-id-12 .sa-solution-cards > p:nth-child(4)::before {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--solution-ink);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(11,25,34,.12);
  backdrop-filter: blur(10px);
}

body.page-id-12 .sa-solution-cards > p:nth-child(2)::before { content: "02"; }
body.page-id-12 .sa-solution-cards > p:nth-child(4)::before { content: "03"; }

body.page-id-12 .sa-solution-cards > .sa-solution-card {
  min-height: 430px;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) {
  grid-row: 3;
  min-height: 600px;
}

body.page-id-12 .sa-solution-cards > p:nth-child(2),
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2) {
  grid-row: 4;
}

body.page-id-12 .sa-solution-cards > p:nth-child(4),
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) {
  grid-row: 5;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(7,151,166,.15), transparent 36%),
    var(--solution-mist);
}

body.page-id-12 .sa-solution-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 20px;
  border-radius: 99px;
  background: var(--solution-orange);
}

body.page-id-12 .sa-solution-card::after {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(7,151,166,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 8px 20px rgba(11,25,34,.06);
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1)::after,
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3)::after {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.1);
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1)::before {
  background:
    linear-gradient(90deg, rgba(7,20,29,.95) 0%, rgba(7,20,29,.68) 45%, rgba(7,20,29,.08) 78%),
    linear-gradient(0deg, rgba(7,20,29,.34), transparent 38%);
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:hover .sa-solution-image,
body.page-id-12 .sa-solution-cards > p:hover .sa-solution-image {
  transform: scale(1.025);
}

body.page-id-12 .sa-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s ease, transform .72s cubic-bezier(.2,.7,.2,1);
}

body.page-id-12 .sa-reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.page-id-12 .sa-solution-cards > :nth-child(3) { transition-delay: .05s; }
body.page-id-12 .sa-solution-cards > :nth-child(4) { transition-delay: .1s; }
body.page-id-12 .sa-solution-cards > :nth-child(5) { transition-delay: .05s; }
body.page-id-12 .sa-solution-cards > :nth-child(6) { transition-delay: .1s; }

@media (max-width: 980px) {
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1),
  body.page-id-12 .sa-solution-cards > p:nth-child(2),
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2),
  body.page-id-12 .sa-solution-cards > p:nth-child(4),
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) { grid-row: auto; }
  body.page-id-12 .sa-solution-cards::after { grid-row: auto; }
}

@media (max-width: 640px) {
  body.page-id-12 main { background: #fff; }
  body.page-id-12 .entry-content > .sa-solution-hero { margin-bottom: 48px; box-shadow: none; }
  body.page-id-12 .entry-content > .sa-solution-hero::after {
    right: 34px;
    bottom: 34px;
    max-width: calc(100% - 68px);
    padding: 10px 13px;
    font-size: 10px;
  }
  body.page-id-12 .sa-solution-cards { gap: 14px; padding-bottom: 0; }
  body.page-id-12 .sa-solution-cards::after { margin: -4px 8px 18px; font-size: 17px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card { min-height: 330px; box-shadow: none; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) { min-height: 520px; }
  body.page-id-12 .sa-solution-cards > p { min-height: 280px; box-shadow: none; }
  body.page-id-12 .sa-solution-card > div { padding: 30px 24px 92px; }
  body.page-id-12 .sa-solution-card::after { position: absolute; right: auto; left: 24px; bottom: 24px; padding: 0 15px; }
  body.page-id-12 .sa-solution-cards > p:nth-child(2)::before,
  body.page-id-12 .sa-solution-cards > p:nth-child(4)::before { top: 20px; left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-12 .sa-reveal { opacity: 1; transform: none; transition: none; }
  body.page-id-12 .sa-solution-cards .sa-solution-image { transition: none; }
}

/* Phase 3.1 rebuild — compact, calm and deliberate. */
body.page-id-12 main {
  background: #fff;
}

body.page-id-12 .entry-content > .sa-solution-hero {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 4vw, 66px);
  width: 100%;
  min-height: 540px;
  margin: 0 auto 72px;
  padding: clamp(48px, 5.2vw, 78px) max(32px, calc((100vw - 1320px) / 2));
  border: 0;
  border-bottom: 1px solid #e2e9e9;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(110deg, #f0f9f9 0%, #fff 62%);
}

body.page-id-12 .entry-content > .sa-solution-hero::before,
body.page-id-12 .entry-content > .sa-solution-hero::after {
  display: none;
}

body.page-id-12 .sa-solution-hero > div {
  max-width: 560px;
}

body.page-id-12 .sa-solution-hero .sa-label {
  margin-bottom: 18px;
  font-size: 12px;
}

body.page-id-12 .sa-solution-hero h2 {
  max-width: 560px;
  font-size: clamp(40px, 3.65vw, 58px);
  line-height: 1.01;
  letter-spacing: -.045em;
}

body.page-id-12 .sa-solution-hero h2 + p {
  max-width: 535px;
  margin-top: 22px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.58;
}

body.page-id-12 .sa-solution-hero .sa-support-actions {
  margin-top: 28px;
}

body.page-id-12 .sa-solution-hero .sa-button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 11px;
}

body.page-id-12 .sa-solution-hero .sa-solution-image {
  height: clamp(380px, 36vw, 485px);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(11,25,34,.12);
}

body.page-id-12 .sa-solution-cards {
  gap: 18px;
  width: min(1280px, calc(100vw - 48px));
  margin-bottom: 84px;
  padding: 0;
}

body.page-id-12 .sa-solution-cards::before {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: -.04em;
}

body.page-id-12 .sa-solution-cards::after {
  margin: -10px 0 20px;
  font-size: 18px;
}

body.page-id-12 .sa-solution-cards > p,
body.page-id-12 .sa-solution-cards > .sa-solution-card {
  border-radius: 18px;
  box-shadow: none;
}

body.page-id-12 .sa-solution-cards > p::after,
body.page-id-12 .sa-solution-cards > p::before {
  display: none;
}

body.page-id-12 .sa-solution-cards > p:nth-child(2)::before,
body.page-id-12 .sa-solution-cards > p:nth-child(4)::before {
  display: none;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card {
  min-height: 0;
  border-color: #dce5e5;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:hover {
  transform: translateY(-3px);
  border-color: #bfd2d4;
  box-shadow: 0 16px 36px rgba(11,25,34,.09);
}

body.page-id-12 .sa-solution-card > div {
  padding: 30px;
}

body.page-id-12 .sa-solution-card h3 {
  margin-bottom: 10px;
  font-size: clamp(28px, 2.4vw, 38px);
}

body.page-id-12 .sa-solution-card h3::before {
  margin-bottom: 12px;
  font-size: 10px;
}

body.page-id-12 .sa-solution-card h3::after {
  width: 34px;
  margin-top: 15px;
}

body.page-id-12 .sa-solution-card > div > p {
  font-size: 16px;
}

body.page-id-12 .sa-solution-card::after {
  right: 24px;
  bottom: 24px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* One strong lead story with two smaller, contrasting paths. */
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) {
  grid-column: 1 / 8;
  grid-row: 3 / 5;
  min-height: 520px;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) > div {
  width: min(520px, 78%);
  padding: 36px;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1)::before {
  background: linear-gradient(90deg, rgba(7,20,29,.93), rgba(7,20,29,.56) 54%, rgba(7,20,29,.05) 86%);
}

body.page-id-12 .sa-solution-cards > p:nth-child(2) {
  grid-column: 8 / -1;
  grid-row: 3;
  min-height: 250px;
}

body.page-id-12 .sa-solution-cards > p:nth-child(2) .sa-solution-image,
body.page-id-12 .sa-solution-cards > p:nth-child(4) .sa-solution-image {
  min-height: 250px;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2) {
  grid-column: 8 / -1;
  grid-row: 4;
  min-height: 252px;
  background: #edf7f7;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2) > div {
  padding: 27px 30px 64px;
}

body.page-id-12 .sa-solution-cards > p:nth-child(4) {
  grid-column: 1 / 6;
  grid-row: 5;
  min-height: 330px;
}

body.page-id-12 .sa-solution-cards > p:nth-child(4) .sa-solution-image {
  min-height: 330px;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) {
  grid-column: 6 / -1;
  grid-row: 5;
  min-height: 330px;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) > div {
  padding: 34px 36px 78px;
}

body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1)::after,
body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3)::after {
  border: 0;
  background: transparent;
}

body.page-id-12 .sa-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 980px) {
  body.page-id-12 .entry-content > .sa-solution-hero {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }
  body.page-id-12 .sa-solution-hero > div { max-width: 700px; }
  body.page-id-12 .sa-solution-hero h2 { max-width: 680px; }
  body.page-id-12 .sa-solution-hero .sa-solution-image { height: 460px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1),
  body.page-id-12 .sa-solution-cards > p:nth-child(2),
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2),
  body.page-id-12 .sa-solution-cards > p:nth-child(4),
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) { min-height: 480px; }
}

@media (max-width: 640px) {
  body.page-id-12 .entry-content > .sa-solution-hero {
    width: 100%;
    gap: 28px;
    margin: 0 0 46px;
    padding: 34px 18px 24px;
    border-radius: 0;
  }
  body.page-id-12 .sa-solution-hero h2 { font-size: clamp(36px, 10.7vw, 46px); }
  body.page-id-12 .sa-solution-hero h2 + p { margin-top: 18px; font-size: 16px; }
  body.page-id-12 .sa-solution-hero .sa-support-actions { gap: 9px; margin-top: 24px; }
  body.page-id-12 .sa-solution-hero .sa-solution-image { height: 300px; border-radius: 13px; }
  body.page-id-12 .sa-solution-cards { width: calc(100vw - 24px); gap: 12px; margin-bottom: 58px; }
  body.page-id-12 .sa-solution-cards::before { margin: 0 4px; font-size: 34px; }
  body.page-id-12 .sa-solution-cards::after { margin: -4px 4px 14px; font-size: 16px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) { min-height: 440px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(1) > div { width: 100%; padding: 26px 24px 74px; }
  body.page-id-12 .sa-solution-cards > p:nth-child(2),
  body.page-id-12 .sa-solution-cards > p:nth-child(4) { min-height: 235px; }
  body.page-id-12 .sa-solution-cards > p:nth-child(2) .sa-solution-image,
  body.page-id-12 .sa-solution-cards > p:nth-child(4) .sa-solution-image { min-height: 235px; }
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2),
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) { min-height: 285px; }
  body.page-id-12 .sa-solution-card > div,
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(2) > div,
  body.page-id-12 .sa-solution-cards > .sa-solution-card:nth-of-type(3) > div { padding: 26px 23px 70px; }
}

/* Phase 4.1: let the opening image and section actually reach the screen edges. */
body.page-id-12 .entry-content > .sa-solution-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  width: 100vw;
  min-height: 570px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 0 max(32px, calc((100vw - 1320px) / 2));
  align-items: stretch;
}

body.page-id-12 .sa-solution-hero > div {
  align-self: center;
  max-width: 650px;
  padding: 54px clamp(32px, 4vw, 74px) 54px 0;
}

body.page-id-12 .sa-solution-hero > p:last-child {
  height: 100%;
  min-height: 570px;
}

body.page-id-12 .sa-solution-hero .sa-solution-image {
  height: 100%;
  min-height: 570px;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  body.page-id-12 .entry-content > .sa-solution-hero {
    grid-template-columns: 1fr;
    padding: 0;
  }
  body.page-id-12 .sa-solution-hero > div {
    max-width: none;
    padding: 48px 32px 38px;
  }
  body.page-id-12 .sa-solution-hero > p:last-child,
  body.page-id-12 .sa-solution-hero .sa-solution-image {
    height: 440px;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body.page-id-12 .entry-content > .sa-solution-hero {
    width: 100vw;
    margin: 0 0 46px calc(50% - 50vw);
    padding: 0;
  }
  body.page-id-12 .sa-solution-hero > div { padding: 34px 18px 28px; }
  body.page-id-12 .sa-solution-hero > p:last-child,
  body.page-id-12 .sa-solution-hero .sa-solution-image { height: 310px; }
}
