/* Final visual polish for Lorenwick Systems.
   Deliberately limited to hierarchy, spacing, depth and conversion clarity — no redesign. */

/* Typography and section rhythm */
.hero h1,
.section-title,
.why-title,
.pricing-note h2,
.cta-copy h2 {
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  line-height: .99;
  letter-spacing: -.052em;
}

.lead {
  margin-top: 24px;
  line-height: 1.62;
}

.ai-line {
  margin-top: 13px;
  color: #c7d5e2;
  letter-spacing: -.005em;
}

.hero-actions {
  margin-top: 30px;
}

.reassurance {
  margin-top: 23px;
}

.section-title {
  line-height: 1.08;
  letter-spacing: -.04em;
}

/* Buttons: slightly more tactile without becoming flashy */
.btn {
  font-weight: 780;
  letter-spacing: -.01em;
}

.btn-primary {
  box-shadow:
    0 12px 34px rgba(10,119,237,.25),
    0 1px 0 rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 42px rgba(10,119,237,.31),
    0 1px 0 rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* Product UI: improve separation and premium depth */
.workflow-card {
  border-color: rgba(57,124,180,.76);
  box-shadow:
    0 34px 96px rgba(0,0,0,.48),
    0 0 70px rgba(18,126,232,.075),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.workflow-toolbar {
  margin-bottom: 12px;
}

.enquiry-row {
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.enquiry-row:hover {
  transform: translateX(2px);
}

.detail-grid div {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.detail-action {
  border-color: rgba(54,151,235,.32);
}

/* Cards: one consistent premium material */
.info-card,
.why-grid article {
  position: relative;
  overflow: hidden;
}

.info-card::before,
.why-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.025), transparent 36%);
}

.info-card {
  padding: 24px 20px;
  border-color: rgba(39,83,118,.7);
}

.info-card:hover,
.why-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
}

.feature-grid {
  gap: 18px;
}

/* Industry cards: stronger readability while retaining photography */
.industries .industry-card {
  border-color: rgba(75,126,166,.6);
  box-shadow: 0 20px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03);
}

.industries .industry-card::after {
  background: linear-gradient(
    180deg,
    rgba(2,8,13,.03) 8%,
    rgba(3,10,17,.22) 38%,
    rgba(3,10,17,.72) 66%,
    rgba(3,10,17,.98) 90%
  );
}

.industries .industry-card h3 {
  letter-spacing: -.02em;
}

/* Pricing and closing CTA should feel like deliberate conversion moments */
.pricing-note {
  border-color: rgba(56,125,181,.78);
  box-shadow:
    0 26px 68px rgba(0,0,0,.27),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.pricing-note h2 {
  letter-spacing: -.035em;
}

.final-cta {
  border-color: rgba(52,126,185,.78);
  box-shadow:
    0 34px 86px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.demo-form {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 14px 34px rgba(0,0,0,.12);
}

.demo-form input,
.demo-form textarea {
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: rgba(77,166,242,.72);
  box-shadow: 0 0 0 3px rgba(22,140,255,.08);
  background: #081b2c;
}

/* Fine separators make the long page feel intentionally structured */
.benefit-strip,
.industries,
.site-footer {
  position: relative;
}

.benefit-strip::after,
.industries::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(74%, 1100px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(65,143,205,.18), transparent);
  pointer-events: none;
}

/* Final QA refinements: legibility, focus and touch behavior */
html { scrollbar-gutter: stable; }
section[id] { scroll-margin-top: 92px; }
.search-chip,
.filter-chip { min-height: 38px; display:flex; align-items:center; }
.enquiry-row { min-height: 62px; }
.detail-grid dd { overflow-wrap:anywhere; }
.demo-form input { min-height: 46px; }
.demo-form textarea { min-height: 108px; }
.form-note { line-height: 1.45; }
.footer-links a { padding-block: 4px; text-underline-offset: .2em; }
.detail-link { text-underline-offset: .2em; }

@media (min-width: 1201px) {
  .hero-grid {
    align-items: center;
  }

  .workflow-wrap {
    transform: translateY(4px);
  }
}

@media (max-width: 620px) {
  .hero h1 {
    line-height: 1.01;
    letter-spacing: -.047em;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .info-card {
    padding: 21px 18px;
  }

  .enquiry-row:hover {
    transform: none;
  }

  .final-cta { gap: 24px; }
  .demo-form { padding: 17px; }
  .footer-links { gap: 10px 18px; }
  .footer-links a { min-height: 36px; display:inline-flex; align-items:center; }
}

@media (hover: none) {
  .btn:hover,
  .enquiry-row:hover,
  .info-card:hover,
  .why-grid article:hover,
  .industries .industry-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .enquiry-row:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .info-card:hover,
  .why-grid article:hover {
    transform: none;
  }
}

/* Recovery pass — Step 4, batch 1: restore working-site hero and benefit rhythm. */

.hero {
  padding-top: 48px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.hero::before {
  display: none;
}

.hero-grid {
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: none;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(48px,4.6vw,68px);
  line-height: 1.015;
  letter-spacing: -.047em;
}

.hero h1 span {
  background: none;
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
}

.lead {
  max-width: 650px;
  margin-top: 22px;
  color: #c9d6e3;
  font-size: 17px;
  line-height: 1.58;
}

.ai-line {
  margin-top: 12px;
  color: #aebfd0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
}

.hero-actions {
  margin-top: 28px;
}

.reassurance {
  margin-top: 21px;
}

.hero-copy::after {
  width: 72px;
  margin-top: 30px;
  background: linear-gradient(90deg,var(--blue),transparent);
}

.workflow-label {
  margin-left: 16px;
  background: #0a1c2f;
  border-color: #1b5790;
  color: #8dc8ff;
  box-shadow: none;
}

.workflow-card {
  min-height: 425px;
  grid-template-columns: 145px 1fr 292px;
  border-color: #1d5b94;
  background: linear-gradient(145deg,#071421,#0a1928);
  box-shadow: 0 24px 65px rgba(0,0,0,.34), 0 0 46px rgba(22,133,255,.075);
}

.workflow-sidebar {
  padding: 16px 12px;
  background: transparent;
}

.workflow-brand {
  margin: 0 6px 14px;
}

.benefit-strip {
  padding: 18px 0;
  background: linear-gradient(180deg,rgba(10,25,42,.9),rgba(7,18,31,.9));
  border-block: 1px solid rgba(255,255,255,.07);
}

.benefit-grid article {
  padding: 10px 24px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(22,133,255,.1);
  border: 1px solid rgba(73,162,255,.16);
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .workflow-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}


/* Recovery pass — Step 4, batch 2: restore features and how-it-works rhythm. */

.section-pad.compact {
  padding-top: 46px;
  padding-bottom: 54px;
}

.split-grid {
  grid-template-columns: 1fr 1.03fr;
  gap: 48px;
}

.section-title {
  margin-bottom: 20px;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.feature-grid {
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.info-card {
  min-height: 188px;
  padding: 22px 18px;
  border: 1px solid #1b334b;
  border-radius: 13px;
  background: linear-gradient(160deg,#0b1a2a,#08131f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.info-card::before {
  background: none;
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: #28557e;
  background: linear-gradient(160deg,#0b1a2a,#08131f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(22,133,255,.13);
  border: 1px solid rgba(73,162,255,.18);
}

.info-card h3 {
  margin: 16px 0 5px;
  font-size: 17px;
}

.info-card p {
  color: #afbed0;
  font-size: 13px;
  line-height: 1.55;
}

.how {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.steps {
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}

.steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 9px;
  color: #9ab0c5;
  font-size: 22px;
}

.step-num {
  width: 46px;
  height: 46px;
  margin-bottom: 15px;
  border-radius: 14px;
  background: linear-gradient(180deg,#1b90ff,#0b6de0);
  border: 1px solid rgba(127,192,255,.25);
  box-shadow: 0 8px 22px rgba(22,133,255,.16);
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
}

.steps p {
  color: #aebdd0;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .how {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 34px 0 0;
  }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
  }

  .steps li:not(:last-child)::after {
    display: none;
  }

  .step-num {
    margin: 0;
  }
}

@media (max-width: 620px) {
  .section-title {
    font-size: 27px;
  }

  .info-card {
    padding: 22px 18px;
  }
}


/* Recovery pass — Step 4, batch 3: approved dark photo-led industry section. */

.industries {
  padding-top: 34px;
  padding-bottom: 42px;
  background:
    linear-gradient(180deg,rgba(3,13,23,.18),rgba(4,16,27,.34));
  border-block: 1px solid rgba(255,255,255,.045);
}

.industry-layout {
  grid-template-columns: .72fr 1.28fr;
  gap: 42px;
  align-items: end;
}

.industry-copy .section-title {
  max-width: 440px;
}

.industry-copy p:last-child {
  max-width: 440px;
  color: #aebdd0;
  line-height: 1.58;
}

.industries .industry-grid {
  gap: 14px;
  align-items: stretch;
}

.industries .industry-card {
  position: relative;
  min-height: 202px;
  overflow: hidden;
  padding: 104px 16px 16px;
  border: 1px solid rgba(75,126,166,.6);
  border-radius: 10px;
  background: #071522;
  color: #fff;
  box-shadow: 0 20px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03);
  isolation: isolate;
}

.industries .industry-card::before {
  inset: 0;
  height: auto;
  opacity: .92;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(.82) contrast(1.05) brightness(.72);
  transform: scale(1.015);
  transition: transform .3s ease, filter .3s ease;
}

.industries .industry-card::after {
  inset: 0;
  top: 0;
  height: auto;
  background: linear-gradient(
    180deg,
    rgba(2,8,13,.03) 8%,
    rgba(3,10,17,.22) 38%,
    rgba(3,10,17,.72) 66%,
    rgba(3,10,17,.98) 90%
  );
}

.industries .industry-card > span {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 0 7px;
  border: 1px solid rgba(79,177,255,.32);
  border-radius: 9px;
  background: rgba(22,140,255,.18);
  color: #65baff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 18px rgba(22,140,255,.12);
  backdrop-filter: blur(8px);
}

.industries .industry-card > span svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industries .industry-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 3px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

.industries .industry-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #d6e2ec;
  font-size: 11px;
  line-height: 1.38;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

.industries .industry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76,164,234,.78);
  box-shadow: 0 22px 52px rgba(0,0,0,.34), 0 0 0 1px rgba(21,132,228,.09);
}

.industries .industry-card:hover::before {
  transform: scale(1.045);
  filter: saturate(.9) contrast(1.06) brightness(.78);
}

@media (max-width: 1180px) {
  .industries .industry-layout {
    grid-template-columns: .82fr 1.18fr;
  }

  .industries .industry-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .industries {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .industries .industry-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .industries .industry-copy p:last-child {
    max-width: 700px;
  }

  .industries .industry-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .industries .industry-card {
    min-height: 190px;
    padding-top: 94px;
  }
}

@media (max-width: 460px) {
  .industries .industry-grid {
    grid-template-columns: 1fr;
  }

  .industries .industry-card {
    min-height: 184px;
    padding-top: 90px;
  }
}


/* Recovery pass — Step 4, batch 4: restore lower conversion area. */

.why-section {
  padding: 6px 0 38px;
}

.why-title {
  margin: 0 0 12px;
  font-size: 20px;
}

.why-grid {
  gap: 14px;
}

.why-grid article {
  padding: 17px;
  border: 1px solid #1a324b;
  border-radius: 11px;
  background: #0a1726;
  box-shadow: none;
}

.why-grid article::before {
  background: none;
}

.why-grid article:hover {
  transform: translateY(-2px);
  border-color: #28557e;
  background: #0a1726;
  box-shadow: none;
}

.why-grid article > span {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(22,133,255,.13);
}

.why-grid h3 {
  font-size: 14px;
  line-height: 1.25;
}

.why-grid p {
  margin-top: 4px;
  color: #98abc0;
  font-size: 12px;
}

.pricing-note {
  position: static;
  overflow: visible;
  margin-top: 8px;
  margin-bottom: 28px;
  padding: 28px 30px;
  border: 1px solid #234765;
  border-radius: 14px;
  background: linear-gradient(110deg,#0b1928,#0d2439);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.pricing-note h2 {
  margin: 0 0 5px;
  font-size: 27px;
  letter-spacing: normal;
}

.pricing-note p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: #adbed0;
}

.final-cta {
  margin-bottom: 42px;
  padding: 32px;
  grid-template-columns: .78fr 1.22fr;
  gap: 38px;
  border: 1px solid #24537d;
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 20%,rgba(22,135,255,.19),transparent 26%),
    linear-gradient(110deg,#0b1a2b,#0c2d4b);
  box-shadow:
    0 24px 62px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.cta-copy p:last-child {
  max-width: 460px;
  color: #c0cede;
}

.demo-form {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(4,13,23,.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.demo-form input,
.demo-form textarea {
  border-color: #2d4d6d;
  background: #091725;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: #4d8ec5;
  background: #091725;
  box-shadow: 0 0 0 3px rgba(22,140,255,.08);
}

@media (max-width: 1200px) {
  .final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .pricing-note {
    display: grid;
    padding: 22px;
  }

  .final-cta {
    padding: 22px;
    gap: 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .demo-form {
    padding: 17px;
  }
}


/* Step 7 — restrained premium polish after restoration. */

/* Keep secondary copy comfortably readable against the near-black foundation. */
.info-card p,
.steps p {
  color: #b7c5d3;
}

.why-grid p {
  color: #a7b8c9;
}

.industry-copy p:last-child,
.pricing-note p:not(.eyebrow) {
  color: #b7c5d3;
}

.cta-copy p:last-child {
  color: #c8d4df;
}

/* Bring the restored dark cards onto one restrained material system. */
.info-card,
.why-grid article {
  border-color: #203a53;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

/* The close should feel deliberate rather than glow-heavy. */
.final-cta {
  border-color: #244d70;
  background:
    radial-gradient(circle at 85% 20%,rgba(22,135,255,.12),transparent 28%),
    linear-gradient(110deg,#0b1a2b,#0b2945);
  box-shadow:
    0 20px 52px rgba(0,0,0,.23),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.pricing-note {
  border-color: #254761;
}
