/* LJC Solutions – page compositions */

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 6rem) clamp(3rem, 1.5rem + 5vw, 6.5rem); position: relative; }
.hero-grid { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 55fr 45fr; } }
.hero-copy .display { max-width: 13em; }
.hero-copy .lead { max-width: 34em; color: var(--muted); margin-bottom: 2rem; }
.helper { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .9375rem; color: var(--muted); }
.helper .icon { width: 18px; height: 18px; color: var(--copper-deep); stroke-width: 2.5; }
.hero-visual { position: relative; }
.hero-panel {
  position: relative; border-radius: var(--radius-l); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  background:
    radial-gradient(90% 70% at 90% 0%, rgba(236, 155, 64, .22), transparent 65%),
    linear-gradient(165deg, #F5ECE1 0%, var(--sand) 60%, #EAD9C5 100%);
  min-height: clamp(360px, 30vw, 500px); display: grid; align-items: end;
}
.hero-panel .payment-choice { max-width: 420px; justify-self: start; box-shadow: var(--shadow); }
.hero-panel::before {
  /* faint dot field echoing the logo grid */
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .55; pointer-events: none;
  background-image: radial-gradient(circle, rgba(175, 175, 175, .55) 2.5px, transparent 3px);
  background-size: 34px 34px; background-position: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%); mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}
.hero-photo { aspect-ratio: 4 / 5; }
.hero-edge { position: absolute; right: -14px; top: 28px; }
.hero-edge .motif { width: 84px; }
@media (min-width: 1000px) { .hero-edge { right: auto; left: -46px; top: auto; bottom: 34px; } }
@media (max-width: 599px) { .hero-edge { display: none; } }

/* ---------- Orientation strip ---------- */
.orient { border-block: 1px solid var(--line); background: var(--paper); }
.orient-list { display: grid; }
@media (min-width: 800px) { .orient-list { grid-template-columns: repeat(3, 1fr); } }
.orient a {
  display: flex; align-items: center; gap: .85rem; min-height: 72px; padding: 1rem 0; text-decoration: none; color: var(--ink); font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.orient a:last-child { border-bottom: 0; }
@media (min-width: 800px) {
  .orient a { border-bottom: 0; padding-inline: 1.5rem; border-left: 1px solid var(--line); }
  .orient a:first-child { border-left: 0; padding-left: 0; }
}
.orient a > .icon:first-child { color: var(--copper-deep); }
.orient .icon-arrow { margin-left: auto; width: 18px; height: 18px; color: var(--copper-deep); transition: transform .18s var(--ease); }
.orient a:hover { color: var(--copper-deep); }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .services-grid { grid-template-columns: 1fr 1fr; } .service-card--lead { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; }
  .service-card--lead { grid-column: 1; grid-row: 1 / span 2; }
}
.service-card--lead { background: var(--ink); color: var(--ivory); border-color: var(--ink); overflow: hidden; min-height: 340px; }
.service-card--lead:hover, .service-card--lead:focus-visible { color: var(--ivory); border-color: var(--ink); }
.service-card--lead h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.2; max-width: 14em; }
.service-card--lead p { color: var(--ink-soft); max-width: 30em; font-size: 1.0625rem; }
.service-card--lead .text-link { color: var(--amber); }
.service-card--lead .service-icon { background: rgba(236, 155, 64, .14); color: var(--amber); }
.service-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .75rem; height: 100%; }
.service-card--lead .motif--card { position: absolute; right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.5rem, 3vw, 2.5rem); width: 140px; opacity: .95; }
.service-card--lead .motif-dot:not(.is-on) { fill: #5C5F5C; }
@media (max-width: 759px) { .service-card--lead .motif--card { position: static; width: 120px; margin-top: 1rem; } }
@media (min-width: 760px) { .service-card--lead .service-card-body { padding-right: 160px; } }
@media (min-width: 1024px) { .service-card--lead .service-card-body { padding-right: 0; padding-bottom: 150px; } .service-card--lead .motif--card { width: 150px; } }

/* ---------- Reasons ---------- */
.reasons { list-style: none; display: grid; margin-top: 2rem; border-top: 1px solid rgba(37, 40, 38, .12); }
.reasons li { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(37, 40, 38, .12); }
.reasons h3 { font-size: 1.125rem; margin-bottom: .15rem; }
.reasons p { color: var(--muted); }
.reason-mark { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--copper); margin: .45rem 0 0 8px; }
.reason-mark::before { content: ""; position: absolute; left: 5px; bottom: 10px; width: 2px; height: 10px; background: var(--copper); }
.reason-mark::after { content: ""; position: absolute; left: 1px; bottom: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }

/* ---------- Horizontal steps (home) ---------- */
.steps-h { list-style: none; display: grid; gap: 2rem; position: relative; }
@media (min-width: 900px) {
  .steps-h { grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-top: 10px; }
  .steps-h::before { content: ""; position: absolute; left: 11px; right: 0; top: 21px; height: 2px; background: var(--line); }
  .steps-h::after {
    content: ""; position: absolute; left: 11px; right: 0; top: 21px; height: 2px;
    background: linear-gradient(90deg, var(--copper), var(--orange) 60%, var(--amber));
    transform-origin: left; transform: scaleX(var(--progress, 1));
  }
}
.step-h { position: relative; padding-left: 2.75rem; }
@media (min-width: 900px) { .step-h { padding: 2.5rem 0 0; } }
.step-node { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--copper); z-index: 1; transition: background-color .3s var(--ease), border-color .3s; }
.step-h.is-active .step-node, .no-motion .step-node { background: var(--orange); }
@media (max-width: 899px) { .step-h::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: -2rem; width: 2px; background: var(--line); } .step-h:last-child::before { display: none; } }
.step-h h3 { margin-bottom: .4rem; }
.step-h p:last-child { color: var(--muted); }

/* ---------- Uses ---------- */
.uses { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (min-width: 960px) { .uses { grid-template-columns: 5fr 7fr; } }
.uses-intro .lead { margin-top: 1rem; }
.today-later { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(199, 102, 55, .25); }
.today-later > div { padding: 1.25rem; background: var(--paper); font-size: .97rem; color: var(--muted); }
.today-later > div + div { background: var(--ivory); border-left: 1px solid rgba(199, 102, 55, .25); }
.tl-label { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin-bottom: .35rem !important; }
@media (max-width: 420px) { .today-later { grid-template-columns: 1fr; } .today-later > div + div { border-left: 0; border-top: 1px solid rgba(199, 102, 55, .25); } }
.uses-list, .icon-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .uses-list, .icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.uses-list li, .icon-grid li {
  display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem; border-radius: var(--radius); background: var(--paper);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.35; min-height: 128px; border: 1px solid rgba(221, 215, 206, .7);
}
.uses-list .icon, .icon-grid .icon { width: 28px; height: 28px; color: var(--copper-deep); }
.section--sand .icon-grid li { border-color: transparent; }

/* ---------- Form layout ---------- */
.form-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: 4fr 7fr; } .form-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.form-aside > p { color: var(--muted); margin-top: 1rem; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 1.5rem + 4vw, 5.5rem); }
.page-hero--compact { padding-bottom: clamp(2rem, 1rem + 2vw, 3rem); }
.page-hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .page-hero-grid { grid-template-columns: 7fr 5fr; } }
.page-hero .display { max-width: 14em; }
.page-hero .btn-row { margin-top: 2rem; }
.media-hero { aspect-ratio: 5 / 4; }
.media-hero.photo--panel { min-height: 0; }
@media (max-width: 999px) { .media-hero { aspect-ratio: 16 / 9; } .media-hero.photo--panel { aspect-ratio: 16 / 7; } .media-hero.photo--panel .motif { width: min(40%, 220px); } }
.hero-motif-wrap { display: grid; place-items: center; padding: 2rem; border-radius: var(--radius-l); background: var(--sand); aspect-ratio: 5 / 4; }
.hero-motif-wrap .motif { width: min(60%, 260px); }
@media (max-width: 999px) { .hero-motif-wrap { display: none; } }

/* ---------- How it works timeline ---------- */
.timeline { list-style: none; position: relative; max-width: 1040px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.timeline::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(var(--copper), var(--orange) 60%, var(--amber)); transform-origin: top; transform: scaleY(var(--progress, 1));
}
.timeline-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem 1.75rem; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-marker span {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ivory); border: 2px solid var(--copper); font-family: var(--font-display); font-size: 1.375rem; color: var(--copper-deep);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.timeline-step.is-active .timeline-marker span { background: var(--copper-deep); border-color: var(--copper-deep); color: #fff; }
.timeline-main { padding-top: .35rem; max-width: 38rem; }
.timeline-main .h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: .75rem; }
.timeline-main p:last-child { color: var(--muted); font-size: 1.0625rem; }
.timeline-aside { grid-column: 2; display: flex; gap: .65rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--tint); font-size: .9375rem; color: var(--ink); margin: 0; max-width: 26rem; }
.timeline-aside .icon { width: 20px; height: 20px; color: var(--copper-deep); }
@media (min-width: 900px) {
  .timeline-step { grid-template-columns: 56px 1fr 300px; }
  .timeline-aside { grid-column: 3; align-self: start; margin-top: .5rem; }
}

/* ---------- About ---------- */
.beliefs { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
@media (min-width: 700px) { .beliefs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .beliefs { grid-template-columns: repeat(4, 1fr); } }
.beliefs li { background: var(--paper); padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); display: grid; gap: 1.5rem; align-content: start; min-height: 200px; }
.belief-num { font-family: var(--font-display); font-size: 1rem; color: var(--copper-deep); }
.beliefs p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.35; }
.promise { list-style: none; counter-reset: p; display: grid; gap: 1rem; }
.promise li { counter-increment: p; display: grid; grid-template-columns: 36px 1fr; gap: .75rem; align-items: start; font-weight: 600; }
.promise li::before { content: counter(p); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--copper-deep); font-weight: 800; font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 7fr 4fr; } }
.form-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-bottom: .4rem; }
.form-sub { margin-bottom: 1.5rem; }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-aside .call-box { margin-top: 0; }
.aside-block { padding: 1.5rem 1.75rem; border-radius: var(--radius-l); background: var(--sand); }
.aside-block h2 { margin-bottom: 1rem; }
.next-steps { list-style: none; counter-reset: n; display: grid; gap: .85rem; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: .65rem; }
.next-steps li::before { content: counter(n); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--copper-deep); font-weight: 800; font-size: .875rem; }
.media-small { aspect-ratio: 4 / 3; }

/* ---------- 404 ---------- */
.link-list { list-style: none; display: grid; gap: .5rem; margin-top: 1.5rem; }
.link-list a { min-height: 44px; }
