/*==================================================================
  Landing Page Template — additive styles
  Loads AFTER css/styles.css and reuses its brand variables:
    --brand-bg, --brand-bg-light, --brand-fg, --brand-accent, --brand-hover
  Nothing here overrides the main site; it only styles the
  landing-page-only components below.

  Design notes:
   - Cards: thin border + minimal shadow instead of a heavy drop
     shadow on every card. Shadow only appears on hover, so the
     page reads flatter/quieter at rest.
   - Icon chips: pain points / inclusions / benefits put their icon
     in a small tinted rounded-square instead of a bare colored
     glyph — one consistent visual language instead of three.
   - Hero: real-estate masthead photo with a dark gradient overlay
     for text legibility, fading responsively toward the bottom edge.
   - Typography: Inter for this template — a bolder, tighter-tracked
     hero headline.
   - Motion: every transform/transition respects
     prefers-reduced-motion.
==================================================================*/

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body.lp-modern {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.lp-modern h1,
.lp-modern h2,
.lp-modern h3,
.lp-modern h4,
.lp-modern h5,
.lp-modern h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
}

/*------------------------------------------------------------
  Reusable icon chip — small tinted rounded-square that carries
  an icon. Used for pain points (bad), inclusions (good) and
  benefit cards (accent), so the same visual pattern repeats
  instead of three unrelated bare-icon treatments.
------------------------------------------------------------*/
.lp-icon-chip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: .55rem;
  font-size: .85rem;
}
.lp-icon-chip--bad {
  background: color-mix(in oklab, var(--bs-danger) 12%, transparent);
  color: var(--bs-danger);
}
.lp-icon-chip--good {
  background: color-mix(in oklab, var(--bs-success) 12%, transparent);
  color: var(--bs-success);
}
.lp-icon-chip--accent {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .85rem;
  font-size: 1.3rem;
  background: color-mix(in oklab, var(--brand-accent) 14%, transparent);
  color: var(--brand-bg);
  margin: 0 auto 1.1rem;
}

/*------------------------------------------------------------
  Nav — glass/blur when shrunk instead of a solid block + hard
  shadow, so it reads lighter while scrolling.
------------------------------------------------------------*/
.lp-nav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.lp-nav.navbar-shrink {
  padding-top: .6rem;
  padding-bottom: .6rem;
  background-color: color-mix(in oklab, var(--brand-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.lp-nav .navbar-brand img {
  height: 2.75rem;
  width: auto;
}

.lp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
  background: var(--brand-bg) url("../assets/img/services/masthead-real-estate.jpg") center center / cover no-repeat;
}
@media (min-width: 768px) {
  .lp-hero { padding-top: 9.5rem; padding-bottom: 6rem; }
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--brand-bg) 80%, transparent) 0%, color-mix(in oklab, var(--brand-bg) 55%, transparent) 55%, var(--brand-bg) 100%);
}

/* Paired with .lp-hero--photo below for a stronger black overlay — several
   of these source images are brighter than the real-estate photo the
   original overlay was tuned for. */
.lp-hero--ai-competence      { background-image: url("../assets/img/services/masthead-ai-competence.jpg"); }
.lp-hero--on-prem-ai         { background-image: url("../assets/img/services/service-on-prem-ai.jpg"); }
.lp-hero--azure-ai           { background-image: url("../assets/img/services/masthead-azure-ai.jpg"); }
.lp-hero--process-automation { background-image: url("../assets/img/services/masthead-process-automation.jpg"); }
.lp-hero--custom-software    { background-image: url("../assets/img/services/masthead-custom-software.jpg"); }
.lp-hero--crm-historisation  { background-image: url("../assets/img/services/masthead-crm-historisation.jpg"); }

.lp-hero--photo::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 55%, var(--brand-bg) 100%);
}
.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--brand-accent);
}
.lp-hero h1 {
  font-size: clamp(2.35rem, 1.4rem + 3.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.lp-hero .lead {
  max-width: 46ch;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,.82);
}
.lp-hero-trust {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: 1rem;
}
.lp-hero-visual {
  border-radius: .85rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
  max-width: 100%;
}

/* Glass treatment for the fact-box only inside the hero — the
   same .lp-offer-card is a plain white card everywhere else. */
.lp-hero .lp-offer-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.lp-hero .lp-offer-card::before {
  display: none;
}
.lp-hero .lp-offer-card h3 {
  color: #fff;
}
.lp-hero .lp-offer-card .lp-offer-list li {
  color: rgba(255,255,255,.9);
}
.lp-hero .lp-offer-card .lp-icon-chip--good {
  background: rgba(255,255,255,.12);
  color: var(--brand-accent);
}

/*------------------------------------------------------------
  Trust bar — grayscale at rest, full color on hover/focus.
------------------------------------------------------------*/
.lp-trustbar {
  background: var(--bs-light);
  padding: 2rem 0;
}
.lp-trustbar p {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--bs-gray-600);
  text-align: center;
  margin-bottom: 1.25rem;
}
.lp-trustbar-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.lp-trustbar-logos img {
  width: 7rem;
  height: 2.75rem;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .6;
  transition: filter .2s ease, opacity .2s ease;
}
.lp-trustbar-logos img:hover,
.lp-trustbar-logos img:focus-visible {
  filter: grayscale(0%);
  opacity: 1;
}

/*------------------------------------------------------------
  Problem / agitation list — chip instead of a bare red glyph.
------------------------------------------------------------*/
.lp-pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-pain-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--bs-gray-200);
}
.lp-pain-list li:last-child {
  border-bottom: none;
}

/*------------------------------------------------------------
  Benefit cards — flattened: thin border at rest, shadow +
  lift only on hover/focus.
------------------------------------------------------------*/
.lp-benefit-card {
  height: 100%;
  padding: 2.25rem 1.75rem;
  border-radius: .85rem;
  background: #fff;
  border: 1px solid var(--bs-gray-200);
  box-shadow: 0 1px 2px rgba(15,45,64,.04);
  text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  .lp-benefit-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .lp-benefit-card:hover {
    transform: translateY(-3px);
  }
}
.lp-benefit-card:hover {
  border-color: color-mix(in oklab, var(--brand-accent) 40%, var(--bs-gray-200));
  box-shadow: 0 16px 36px rgba(21,64,94,.1);
}
.lp-benefit-card h4 {
  font-weight: 700;
  margin-bottom: .6rem;
}

/*------------------------------------------------------------
  Numbered process steps — flattened circles connected by a
  thin line on desktop, so the sequence reads at a glance.
  Step count varies per offer; row-cols-md-N controls how many
  columns share the row at tablet+ width (mobile always stacks
  1-per-row, matching the rest of the site). Add/remove .lp-step
  children and set row-cols-md-N to match — no other markup change.
------------------------------------------------------------*/
.lp-steps {
  counter-reset: lp-step;
}
@media (min-width: 768px) {
  .row-cols-md-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-md-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-md-3 > * { flex: 0 0 auto; width: 33.33333333%; }
  .row-cols-md-4 > * { flex: 0 0 auto; width: 25%; }
  .row-cols-md-5 > * { flex: 0 0 auto; width: 20%; }
  .row-cols-md-6 > * { flex: 0 0 auto; width: 16.66666667%; }
}
.lp-step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .lp-steps > [class*="col-"]:not(:last-child) .lp-step::after {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: calc(50% + 2.25rem);
    right: calc(-50% + 2.25rem);
    height: 1px;
    background: var(--bs-gray-300, #dee2e6);
  }
}
.lp-step-num {
  counter-increment: lp-step;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--brand-bg);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}
.lp-step-num::before {
  content: counter(lp-step);
}

/*------------------------------------------------------------
  Testimonial + case study teaser — flattened.
------------------------------------------------------------*/
.lp-testimonial {
  background: #fff;
  border: 1px solid var(--bs-gray-200);
  border-left: 3px solid var(--brand-accent);
  border-radius: .5rem;
  padding: 2.25rem;
  box-shadow: 0 1px 2px rgba(15,45,64,.04);
}
.lp-testimonial blockquote {
  font-size: 1.25rem;
  font-weight: 500;
  font-style: normal;
  color: var(--brand-bg);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.lp-testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.lp-testimonial-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
/* Used in place of a photo when no real client headshot is available/cleared for use */
.lp-testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--brand-bg);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.lp-testimonial-author strong {
  display: block;
  color: var(--brand-bg);
}
.lp-testimonial-author span {
  font-size: .85rem;
  color: var(--bs-gray-600);
}

.lp-case-study {
  height: 100%;
  background: #fff;
  border: 1px solid var(--bs-gray-200);
  border-radius: .75rem;
  padding: 2.25rem;
  box-shadow: 0 1px 2px rgba(15,45,64,.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lp-case-study-tag {
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: .75rem;
}
.lp-case-study--horizontal {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
}
/* The source PNG has ~19% blank margin baked in on every side around the
   circular seal — this frame crops that out visually (scale the image up
   inside a clipped circle) instead of relying on an edited asset file. */
.lp-case-study-badge-frame {
  display: block;
  position: relative;
  height: 12rem;
  width: 12rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}
.lp-case-study-badge {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.4);
}
@media (max-width: 575.98px) {
  .lp-case-study--horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding: 1.25rem;
  }
  .lp-case-study-badge-frame {
    height: 4.5rem;
    width: 4.5rem;
  }
}
.lp-case-study h4 {
  font-weight: 700;
  color: var(--brand-bg);
  margin-bottom: .75rem;
  letter-spacing: -0.01em;
}

/*------------------------------------------------------------
  Single offer / inclusion card — a thin accent bar on top
  instead of a heavy 2px accent border + glow shadow all round.
------------------------------------------------------------*/
.lp-offer-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bs-gray-200);
  border-radius: .85rem;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(15,45,64,.06);
}
.lp-offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-hover));
}
.lp-offer-card h3 {
  font-weight: 700;
  color: var(--brand-bg);
  letter-spacing: -0.01em;
}
/* Used on the Get Started offer card's recap line in place of a redundant
   repeated-offer-name heading — same brand blue as the h3 above, just as
   the lead-in text rather than a separate title. */
.lp-offer-recap {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-bg);
  letter-spacing: -0.01em;
}
.lp-offer-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}
.lp-offer-list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .5rem 0;
}
.lp-offer-reassurance {
  font-size: .85rem;
  color: var(--bs-gray-600);
  text-align: center;
  margin-top: 1rem;
}

/*------------------------------------------------------------
  FAQ accordion — flat borders, no color-block on open state.
------------------------------------------------------------*/
.lp-faq .accordion-item {
  border: 1px solid var(--bs-gray-200);
  border-radius: .75rem !important;
  overflow: hidden;
  margin-bottom: .85rem;
}
.lp-faq .accordion-button {
  font-weight: 600;
  color: var(--brand-bg);
}
.lp-faq .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--brand-bg);
  box-shadow: none;
  border-bottom: 1px solid var(--bs-gray-200);
}
.lp-faq .accordion-button:focus {
  box-shadow: 0 0 0 .2rem color-mix(in oklab, var(--brand-accent) 30%, transparent);
}

/*------------------------------------------------------------
  Final CTA band — a soft warm-neutral tint, not another navy
  block or a full gold fill. It sits right after the navy "Get
  Started" section, so contrasting by brightness (dark → light)
  reads as a distinct closing moment without needing more color
  intensity than the rest of the page. Gold is kept for the one
  thing that should pull the eye here: the button — plus a very
  restrained glow behind the headline for a bit of depth.
------------------------------------------------------------*/
.lp-final-cta {
  position: relative;
  overflow: hidden;
  background: color-mix(in oklab, var(--brand-accent) 7%, #fbfaf8);
  color: var(--brand-bg);
  text-align: center;
  padding: 6rem 0;
}
.lp-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 22rem at 50% -10%, color-mix(in oklab, var(--brand-accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.lp-final-cta .container {
  position: relative;
}
.lp-final-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand-accent) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand-accent) 35%, transparent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--brand-accent) 65%, var(--brand-bg));
}
.lp-final-cta h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--brand-bg);
}
.lp-final-cta p {
  color: var(--bs-gray-600);
  max-width: 55ch;
  margin: 0 auto 2rem;
}

/*------------------------------------------------------------
  Lead form
------------------------------------------------------------*/
.lp-form-section {
  background-color: var(--brand-bg);
  background-image: url("../assets/img/map-image.jpg");
  background-repeat: no-repeat;
  background-position: left;
}
.lp-form-section .section-heading,
.lp-form-section .section-subheading {
  color: #fff;
}
.lp-form .form-group {
  margin-bottom: 1.25rem;
}
.lp-form .form-control,
.lp-form .form-select {
  padding: 1rem 1.25rem;
  height: auto;
  border-radius: .6rem;
}
.lp-form .form-control:focus,
.lp-form .form-select:focus {
  border-color: var(--brand-accent);
  box-shadow: none;
}

/*------------------------------------------------------------
  Sticky mobile CTA bar
------------------------------------------------------------*/
.lp-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: color-mix(in oklab, var(--brand-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .75rem 1rem;
  box-shadow: 0 -1px 0 rgba(255,255,255,.08);
  transform: translateY(100%);
}
@media (prefers-reduced-motion: no-preference) {
  .lp-sticky-cta {
    transition: transform .25s ease;
  }
}
.lp-sticky-cta.show {
  transform: translateY(0);
}
.lp-sticky-cta .btn {
  width: 100%;
}
@media (min-width: 992px) {
  .lp-sticky-cta { display: none; }
}
