@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700;800;900&family=Barlow+Condensed:ital,wght@0,700;0,800;0,900;1,700;1,800;1,900&display=swap");

:root {
  --brand-primary: #446868;
  --brand-primary-deep: #263f3f;
  --brand-accent: #ffc36b;
  --brand-ink: #1b1f1e;
  --brand-paper: #f6f2e8;
  --brand-white: #ffffff;
  --brand-mist: #dce6e0;
  --shadow-soft: 0 24px 80px rgba(27, 31, 30, 0.16);
  --shadow-card: 0 14px 40px rgba(27, 31, 30, 0.11);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 195, 107, 0.18), transparent 28rem),
    linear-gradient(180deg, #f8f4ea, var(--brand-paper));
  color: var(--brand-ink);
  font-family: "Barlow", "Trebuchet MS", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(246, 242, 232, 0.92);
  border-bottom: 1px solid rgba(68, 104, 104, 0.15);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 138px;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--brand-primary-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a,
.header-call {
  text-decoration: none;
}

.header-call {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 900;
  box-shadow: var(--shadow-card);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  width: min(1320px, calc(100% - 36px));
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 116px) 0;
}

.hero-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 38px;
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(68, 104, 104, 0.15);
  border-radius: 38px;
  box-shadow: var(--shadow-card);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-accent);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brand-primary);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  font-family: "Barlow Condensed", "Barlow", "Trebuchet MS", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  color: var(--brand-primary-deep);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

h2 {
  color: var(--brand-primary-deep);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

h3 {
  color: var(--brand-primary-deep);
  font-size: 1.35rem;
}

.hero-panel p:not(.eyebrow),
.section-heading p,
.system-grid p,
.process-grid p,
.proof-split p {
  color: rgba(27, 31, 30, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--brand-accent);
  color: var(--brand-ink);
  box-shadow: 0 16px 38px rgba(255, 195, 107, 0.28);
}

.button-outline {
  border: 1px solid rgba(68, 104, 104, 0.42);
  color: var(--brand-primary-deep);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--brand-white);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 5vw, 56px);
  background: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 900;
}

.trust-strip span {
  padding: 8px 18px;
}

.section,
.proof-split {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 36px;
}

.system-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.system-grid article,
.process-grid article,
.proof-split > div {
  overflow: hidden;
  background: var(--brand-white);
  border: 1px solid rgba(68, 104, 104, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.system-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.system-grid div,
.process-grid article,
.proof-split > div {
  padding: 24px;
}

.diagnostic-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: clamp(72px, 9vw, 118px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(135deg, rgba(68, 104, 104, 0.96), rgba(38, 63, 63, 0.98)),
    var(--brand-primary);
  color: var(--brand-white);
}

.diagnostic-band h2,
.diagnostic-band p {
  color: var(--brand-white);
}

.diagnostic-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.diagnostic-band ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.diagnostic-band li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.09);
  border-left: 4px solid var(--brand-accent);
  border-radius: 14px;
  font-weight: 800;
}

.diagnostic-band img,
.proof-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid strong {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-accent);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.proof-split {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.gallery-grid img:first-child,
.gallery-grid img:nth-child(2) {
  height: 420px;
}

.final-cta {
  padding: clamp(80px, 10vw, 132px) 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 195, 107, 0.2), transparent 22rem),
    linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
  color: var(--brand-white);
  text-align: center;
}

.final-cta h2 {
  color: var(--brand-white);
}

.final-cta p {
  max-width: 680px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  gap: 6px;
  padding: 34px clamp(18px, 5vw, 64px);
  background: var(--brand-ink);
  color: var(--brand-white);
}

.site-footer span {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-call {
    justify-self: end;
  }

  .service-hero,
  .section-heading,
  .diagnostic-band,
  .proof-split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand img {
    width: 106px;
  }

  .header-call {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .service-hero {
    width: calc(100% - 28px);
    min-height: auto;
    padding: 40px 0 72px;
  }

  .hero-media img {
    height: 420px;
  }

  .hero-panel {
    padding: 24px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .system-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:first-child,
  .gallery-grid img:nth-child(2) {
    height: 280px;
  }
}

/* Shared public-page header, matched to the homepage preview. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr auto;
  gap: clamp(16px, 2.4vw, 30px);
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 106px;
  margin: 0;
  padding: 10px clamp(18px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(27, 31, 30, 0.96), rgba(68, 104, 104, 0.96)),
    var(--brand-primary);
  border: 0;
  border-bottom: 1px solid rgba(255, 195, 107, 0.34);
  border-radius: 0;
  box-shadow: 0 18px 42px rgba(27, 31, 30, 0.18);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(220px, 25vw, 350px);
  height: auto;
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a {
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--brand-accent);
}

.header-call {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 62px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 38, 29, 0.34);
  color: var(--brand-white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

.header-call-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.header-call-number {
  color: var(--brand-accent);
  font-size: 1.02rem;
  line-height: 1.1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(190px, 1fr) auto;
    min-height: 92px;
  }

  .main-nav {
    display: none;
  }

  .header-call {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 10px;
    min-height: 82px;
    padding: 10px 14px;
  }

  .brand img {
    width: clamp(160px, 48vw, 230px);
    max-height: 68px;
  }

  .header-call {
    min-width: 0;
    min-height: 50px;
    padding: 9px 12px;
  }

  .header-call-label {
    font-size: 0.58rem;
  }

  .header-call-number {
    font-size: 0.86rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 8px;
    min-height: 76px;
    padding: 9px 10px;
    overflow: hidden;
  }

  .brand img {
    width: min(46vw, 180px);
    max-height: 60px;
  }

  .header-call {
    justify-self: end;
    min-height: 46px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .header-call-label {
    font-size: 0.52rem;
  }

  .header-call-number {
    font-size: 0.76rem;
  }
}

/* Brand typography refresh: bolder and closer to the LRC logo. */
body {
  font-family: "Barlow", "Trebuchet MS", sans-serif;
}

h1,
h2,
h3,
.eyebrow,
.section-kicker,
.main-nav,
.button,
button,
.header-call,
.hero-card span,
.trust-strip span,
.site-footer {
  font-family: "Barlow Condensed", "Barlow", "Trebuchet MS", sans-serif;
}

h1,
h2 {
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.035em;
}

h1 {
  line-height: 0.84;
}

h2 {
  line-height: 0.92;
}

h3 {
  font-weight: 800;
  letter-spacing: -0.012em;
}

.eyebrow,
.section-kicker,
.main-nav,
.button,
button,
.header-call,
.hero-card span,
.trust-strip span {
  letter-spacing: 0.08em;
}

/* Keep page links visible in the preview pane instead of hiding them on tablet widths. */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(170px, 1fr) auto;
    grid-template-areas:
      "brand call"
      "nav nav";
    gap: 8px 14px;
    min-height: auto;
    overflow: visible;
  }

  .brand {
    grid-area: brand;
  }

  .header-call {
    grid-area: call;
    justify-self: end;
  }

  .main-nav {
    grid-area: nav;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
  }

  .main-nav a {
    padding: 3px 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: minmax(140px, 1fr) auto;
    grid-template-areas:
      "brand call"
      "nav nav";
  }

  .main-nav {
    gap: 6px 10px;
    font-size: 0.7rem;
  }
}

/* Header trust line with slogan and license numbers. */
.site-header {
  grid-template-columns: minmax(410px, 1.05fr) minmax(320px, auto) auto;
}

.brand {
  gap: clamp(12px, 1.8vw, 22px);
}

.brand img {
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  padding-left: clamp(10px, 1.4vw, 18px);
  border-left: 1px solid rgba(255, 195, 107, 0.32);
  line-height: 1.05;
}

.brand-licenses {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Barlow", "Trebuchet MS", sans-serif;
  font-size: clamp(0.62rem, 0.82vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(360px, 1fr) auto;
  }
}

@media (max-width: 760px) {
  .brand img {
    width: clamp(150px, 35vw, 220px);
  }

  .brand-text {
    min-width: 0;
    padding-left: 10px;
  }

  .brand-licenses {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 8px;
  }

  .brand-text {
    display: none;
  }
}
