/* ===== Client landing preview. Every look comes from the variables set on .lp ===== */
.lp {
  container: lp / inline-size;
  background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  --wrap: 1160px;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3 { font-family: var(--f-head); font-weight: var(--head-w); letter-spacing: var(--head-ls); line-height: 1.12; margin: 0; color: var(--text); }
.lp h1 { font-size: calc(clamp(38px, 5.4cqi, 66px) * var(--hs, 1)); }
.lp h2 { font-size: calc(clamp(30px, 3.6cqi, 44px) * var(--hs, 1)); }
.lp h3 { font-size: 21px; line-height: 1.25; }
.lp p, .lp figure, .lp blockquote { margin: 0; }
.lp a { color: inherit; text-decoration: none; }
.lp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp .muted { color: var(--muted); }
.lp .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.lp .pad { padding: 104px 0; }
.lp .pad-s { padding: 72px 0; }
.lp .alt { background: var(--surface); }
.lp .head { max-width: 640px; margin-bottom: 52px; }
.lp .head--c { margin-left: auto; margin-right: auto; text-align: center; }
.lp .head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.lp .lead { font-size: 19px; color: var(--muted); }

/* Highlighted text (mark in headings) */
.lp mark.hl { background: none; color: inherit; }
.lp[data-hl="color"] mark.hl { color: var(--hl-color); }
.lp[data-hl="marker"] mark.hl { background: linear-gradient(transparent 58%, var(--hl-soft) 58%, var(--hl-soft) 92%, transparent 92%); padding: 0 .06em; }
.lp[data-hl="underline"] mark.hl { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: .08em; text-underline-offset: .14em; }
.lp[data-hl="italic"] mark.hl { font-style: italic; color: var(--p); }

/* Buttons */
.lp .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; font-weight: 600; font-size: 16px; border-radius: var(--r-btn); border: 1.5px solid var(--p); background: var(--p); color: var(--p-ink); box-shadow: var(--sh-s); line-height: 1.2; }
.lp .btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.lp .btn--light { background: var(--p-ink); color: var(--p); border-color: var(--p-ink); }
.lp .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.lp .link { font-weight: 600; color: var(--p); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

.lp .card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); border: var(--card-border); overflow: hidden; }
.lp .ph { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); background: var(--surface); }

/* ---------- Header ---------- */
.lp .hdr { border-bottom: 1px solid var(--line); background: var(--bg); }
.lp .hdr .wrap { display: flex; align-items: center; gap: 32px; height: 80px; }
.lp .logo { font-family: var(--f-head); font-weight: var(--head-w); font-size: 24px; letter-spacing: var(--head-ls); white-space: nowrap; }
.lp .logo i { font-style: normal; color: var(--p); }
.lp .nav { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.lp .hdr--a .nav { margin-left: auto; }
.lp .hdr--b .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
.lp .hdr--b .btn { justify-self: end; }
.lp .hdr .btn { padding: 11px 20px; font-size: 15px; }
.lp .burger { display: none; width: 26px; height: 14px; border-top: 2px solid var(--text); border-bottom: 2px solid var(--text); margin-left: auto; }

/* ---------- Hero ---------- */
.lp .hero-a .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.lp .hero-a .lead, .lp .hero-c .lead { margin: 22px 0 34px; max-width: 520px; }
.lp .hero-a .ph { aspect-ratio: 4 / 4.4; }
.lp .hero-a .proof { margin-top: 40px; display: flex; gap: 36px; font-size: 14px; color: var(--muted); }
.lp .hero-a .proof b { display: block; font-family: var(--f-head); font-size: 28px; color: var(--text); font-weight: var(--head-w); }

.lp .hero-b { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff; }
.lp .hero-b .bgimg { position: absolute; inset: 0; }
.lp .hero-b .bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.15) 70%); }
.lp .hero-b .wrap { position: relative; width: 100%; padding-bottom: 88px; padding-top: 160px; }
.lp .hero-b h1 { color: #fff; max-width: 820px; }
.lp .hero-b .lead { color: rgba(255,255,255,.85); margin: 22px 0 34px; max-width: 560px; }
.lp .hero-b .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }

.lp .hero-c { text-align: center; }
.lp .hero-c .wrap { padding-top: 96px; padding-bottom: 104px; }
.lp .hero-c h1 { max-width: 880px; margin: 0 auto; }
.lp .hero-c .lead { margin-left: auto; margin-right: auto; }
.lp .hero-c .btns { justify-content: center; }
.lp .hero-c .ph { margin-top: 64px; aspect-ratio: 16 / 7; }

/* ---------- Benefits ---------- */
.lp .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.lp .stats > div { padding: 8px 28px; border-left: 1px solid var(--line); }
.lp .stats > div:first-child { border-left: 0; padding-left: 0; }
.lp .stats b { display: block; font-family: var(--f-head); font-weight: var(--head-w); font-size: clamp(40px, 4.4cqi, 56px); line-height: 1; color: var(--p); margin-bottom: 12px; letter-spacing: var(--head-ls); }
.lp .stats span { color: var(--muted); font-size: 15px; }
.lp .ben-a .head { margin-bottom: 56px; }

.lp .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.lp .numcol { border-top: 2px solid var(--text); padding-top: 22px; }
.lp .numcol .n { font-family: var(--f-head); font-size: 15px; color: var(--p); font-weight: 600; display: block; margin-bottom: 18px; }
.lp .numcol h3 { margin-bottom: 12px; }

.lp .ben-c .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.lp .ben-c .head { margin-bottom: 0; }
.lp .checks { list-style: none; margin: 0; padding: 0; }
.lp .checks li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 6px 12px; }
.lp .checks li:first-child { padding-top: 0; }
.lp .checks .n { font-family: var(--f-head); color: var(--p); font-weight: 600; grid-row: span 2; }
.lp .checks b { font-weight: 600; font-size: 18px; }

/* ---------- Services ---------- */
.lp .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp .svc-card .ph-top { aspect-ratio: 4 / 3; }
.lp .svc-card .body { padding: 26px 26px 30px; }
.lp .svc-card h3 { margin-bottom: 10px; }
.lp .svc-card p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.lp[data-shadow="none"] .svc-card { border: 1px solid var(--line); }

.lp .rows { display: grid; gap: 72px; }
.lp .rowx { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lp .rowx:nth-child(even) .ph { order: 2; }
.lp .rowx .ph { aspect-ratio: 5 / 4; }
.lp .rowx h3 { font-size: clamp(24px, 2.4cqi, 30px); margin-bottom: 14px; }
.lp .rowx p { color: var(--muted); margin-bottom: 24px; }

.lp .menu { max-width: 860px; margin: 0 auto; }
.lp .menu__item { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.lp .menu__item h3 { display: flex; align-items: baseline; gap: 16px; }
.lp .menu__item .price { font-family: var(--f-head); font-size: 22px; color: var(--p); font-weight: var(--head-w); }
.lp .menu__item p { color: var(--muted); font-size: 16px; max-width: 620px; }
.lp .menu .btns { justify-content: center; margin-top: 44px; }

/* ---------- Process ---------- */
.lp .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.lp .step { position: relative; padding-top: 64px; }
.lp .step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: var(--r-btn); display: grid; place-items: center; background: var(--p); color: var(--p-ink); font-weight: 600; font-family: var(--f-head); }
.lp .step::after { content: ""; position: absolute; top: 22px; left: 60px; right: 0; height: 1px; background: var(--line-strong); }
.lp .step:last-child::after { display: none; }
.lp .step h3 { margin-bottom: 10px; }
.lp .step p { color: var(--muted); font-size: 16px; }

.lp .proc-b .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.lp .proc-b .head { position: sticky; top: 40px; align-self: start; }
.lp .tline { border-left: 1px solid var(--line-strong); padding-left: 40px; display: grid; gap: 44px; }
.lp .tline > div { position: relative; }
.lp .tline > div::before { content: ""; position: absolute; left: -46px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 5px var(--bg); }
.lp .tline small { display: block; color: var(--p); font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.lp .tline h3 { margin-bottom: 8px; }
.lp .tline p { color: var(--muted); }

/* ---------- About ---------- */
.lp .about-a .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lp .about-a .ph { aspect-ratio: 4 / 5; }
.lp .about-a h2 { margin-bottom: 22px; }
.lp .about-a p { color: var(--muted); margin-bottom: 16px; }
.lp .about-a .sign { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 40px; }
.lp .about-a .sign b { display: block; font-family: var(--f-head); font-size: 30px; font-weight: var(--head-w); color: var(--p); }
.lp .about-a .sign span { font-size: 14px; color: var(--muted); }

.lp .about-b { text-align: center; }
.lp .about-b .statement { font-family: var(--f-head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: clamp(28px, 3.4cqi, 42px); line-height: 1.25; max-width: 900px; margin: 0 auto 30px; }
.lp .about-b .muted { max-width: 620px; margin: 0 auto; }
.lp .about-b .pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 64px; }
.lp .about-b .pair .ph { aspect-ratio: auto; height: 420px; }

/* ---------- Gallery ---------- */
.lp .gal-a .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp .gal-a .ph { aspect-ratio: 1; }
.lp .gal-b .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.lp .gal-b .ph:first-child { grid-row: span 2; }
.lp .gal-c .strip { display: flex; gap: 16px; overflow: hidden; padding-left: max(40px, calc((100cqi - var(--wrap)) / 2 + 40px)); }
.lp .gal-c .ph { flex: 0 0 340px; height: 440px; }
.lp .gal-c .ph:nth-child(even) { height: 380px; margin-top: 60px; }

/* ---------- Testimonials ---------- */
.lp .tst-a .head { margin-bottom: 44px; }
.lp .tst-a .grid3 { align-items: stretch; }
.lp .quote-card { padding: 30px 30px 26px; display: flex; flex-direction: column; text-align: left; }
.lp .quote-card .qmark { font-family: var(--f-head); font-size: 64px; line-height: .8; height: 34px; color: var(--p); margin-bottom: 10px; }
.lp .quote-card blockquote { margin: 0 0 24px; font-size: 16.5px; line-height: 1.65; flex: 1; }
.lp .quote-card .who { padding-top: 20px; border-top: 1px solid var(--line); }
.lp .who { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.lp .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--hl-soft); color: var(--text); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: 0 0 auto; }
.lp .who span { display: block; color: var(--muted); font-size: 14px; }
.lp[data-shadow="none"] .quote-card { border: 1px solid var(--line); }

.lp .tst-b { text-align: center; }
.lp .tst-b .big { font-family: var(--f-head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: clamp(26px, 3cqi, 38px); line-height: 1.3; max-width: 900px; margin: 0 auto 36px; }
.lp .tst-b .big::before { content: "\201C"; display: block; font-size: 90px; line-height: .6; color: var(--p); margin-bottom: 14px; }
.lp .tst-b .who { justify-content: center; text-align: left; }
.lp .tst-b .dots { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.lp .tst-b .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.lp .tst-b .dots i:first-child { background: var(--p); width: 24px; border-radius: 4px; }

/* ---------- Pricing ---------- */
.lp .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.lp .plan { padding: 36px 32px; display: flex; flex-direction: column; }
.lp[data-shadow="none"] .plan { border: 1px solid var(--line); }
.lp .plan h3 { font-size: 19px; }
.lp .plan .amount { font-family: var(--f-head); font-size: 50px; font-weight: var(--head-w); line-height: 1; margin: 20px 0 6px; letter-spacing: var(--head-ls); }
.lp .plan .amount small { font-size: 16px; color: var(--muted); font-family: var(--f-body); font-weight: 400; letter-spacing: 0; }
.lp .plan ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 10px; font-size: 15.5px; flex: 1; }
.lp .plan li { padding-left: 18px; position: relative; }
.lp .plan li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.lp .plan .btn { width: 100%; }
.lp .plan.is-feat { background: var(--p); color: var(--p-ink); border-color: var(--p); }
.lp .plan.is-feat h3, .lp .plan.is-feat .amount { color: var(--p-ink); }
.lp .plan.is-feat .muted, .lp .plan.is-feat .amount small { color: var(--p-ink); opacity: .75; }
.lp .plan.is-feat li::before { background: var(--p-ink); }
.lp .plan .tag { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--p-ink); color: var(--p); margin-bottom: 14px; }

.lp .ptable { max-width: 860px; margin: 0 auto; border-top: 2px solid var(--text); }
.lp .ptable > div { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.lp .ptable h3 { font-size: 20px; }
.lp .ptable p { color: var(--muted); font-size: 15.5px; }
.lp .ptable .amount { font-family: var(--f-head); font-size: 28px; font-weight: var(--head-w); color: var(--p); white-space: nowrap; }

/* ---------- Team ---------- */
.lp .team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp .team .ph { aspect-ratio: 3 / 4; margin-bottom: 18px; }
.lp .team h3 { font-size: 19px; }
.lp .team p { color: var(--muted); font-size: 15px; }
.lp .team-b .wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: center; }
.lp .team-b .head { margin-bottom: 0; }
.lp .team-b .faces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.lp .team-b .face { display: flex; align-items: center; gap: 18px; }
.lp .team-b .face .ph { width: 92px; height: 92px; border-radius: 50%; flex: 0 0 auto; box-shadow: none; }
.lp .team-b h3 { font-size: 18px; }
.lp .team-b p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.lp .faq-a .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.lp .acc details { border-bottom: 1px solid var(--line); }
.lp .acc details:first-child { border-top: 1px solid var(--line); }
.lp .acc summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--f-head); font-weight: var(--head-w); font-size: 20px; line-height: 1.3; }
.lp .acc summary::-webkit-details-marker { display: none; }
.lp .acc summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-family: var(--f-body); font-size: 26px; font-weight: 300; color: var(--p); transition: transform .2s; }
.lp .acc details[open] summary::after { transform: rotate(45deg); }
.lp .acc details p { padding: 0 40px 26px 0; color: var(--muted); }
.lp .faq-b .qa { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; }
.lp .faq-b h3 { font-size: 19px; margin-bottom: 10px; }
.lp .faq-b p { color: var(--muted); font-size: 16px; }

/* ---------- CTA ---------- */
.lp .cta-a { background: var(--p); color: var(--p-ink); text-align: center; }
.lp .cta-a h2 { color: var(--p-ink); max-width: 760px; margin: 0 auto 18px; }
.lp .cta-a p { opacity: .85; max-width: 560px; margin: 0 auto 34px; font-size: 18px; }
.lp .cta-a .btns { justify-content: center; }
.lp .cta-a .btn--ghost { color: var(--p-ink); border-color: currentColor; opacity: .9; }

.lp .cta-b .box { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; display: flex; align-items: center; color: #fff; box-shadow: var(--sh); }
.lp .cta-b .bgimg { position: absolute; inset: 0; }
.lp .cta-b .bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.2)); }
.lp .cta-b .inner { position: relative; padding: 64px; max-width: 640px; }
.lp .cta-b h2 { color: #fff; margin-bottom: 16px; }
.lp .cta-b p { color: rgba(255,255,255,.85); margin-bottom: 30px; }

.lp .cta-c .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.lp .cta-c .mini { display: flex; gap: 10px; padding: 8px; background: var(--card); border-radius: calc(var(--r-btn) + 6px); box-shadow: var(--sh); border: 1px solid var(--line); }
.lp .cta-c .mini span { flex: 1; padding: 12px 14px; color: var(--muted); font-size: 16px; }
.lp .cta-c .note { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Contact + footer ---------- */
.lp .ct-a .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; }
.lp .ct-a .head { margin-bottom: 36px; }
.lp .cinfo { display: grid; gap: 22px; }
.lp .cinfo small { display: block; color: var(--muted); font-size: 14px; margin-bottom: 2px; }
.lp .cinfo b { font-weight: 500; font-size: 18px; }
.lp .ct-a .wrap { align-items: start; }
.lp .fakeform { padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.lp .fakeform h3 { grid-column: 1 / -1; margin-bottom: 6px; }
.lp[data-shadow="none"] .fakeform { border: 1px solid var(--line); }
.lp .fakeform .f { border: 1px solid var(--line-strong); border-radius: min(var(--r-btn), 12px); padding: 14px 16px; color: var(--muted); font-size: 15px; line-height: 1.3; background: var(--bg); }
.lp .fakeform .f--wide, .lp .fakeform .btn { grid-column: 1 / -1; }
.lp .fakeform .f--area { height: 140px; }
.lp .fakeform .btn { justify-self: start; margin-top: 4px; }
.lp .map { margin-top: 36px; height: 240px; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--sh); }
.lp .map iframe { display: block; width: 100%; height: 100%; border: 0; }
.lp[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }

.lp .ftr { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 15px; }
.lp .ftr .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.lp .ftr h3 { font-family: var(--f-body); font-size: 14px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.lp .ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.lp .ftr .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }

.lp .ct-b { text-align: center; }
.lp .ct-b .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.lp .ct-b .trio > div { padding: 30px 24px; }
.lp .ct-b .trio small { display: block; color: var(--muted); margin-bottom: 6px; font-size: 14px; }
.lp .ct-b .trio b { font-weight: 500; font-size: 18px; }
.lp[data-shadow="none"] .ct-b .trio > div { border: 1px solid var(--line); }
.lp .ftr--b { text-align: center; }
.lp .ftr--b .nav { justify-content: center; margin: 22px 0 30px; flex-wrap: wrap; }

/* ===== Narrow preview (mobile frame or small screens) ===== */
@container lp (max-width: 760px) {
  .lp { font-size: 16px; }
  .wrap { padding: 0 20px !important; }
  .pad { padding: 72px 0 !important; }
  .pad-s { padding: 56px 0 !important; }
  .head { margin-bottom: 36px !important; }
  .nav { display: none !important; }
  .burger { display: block !important; }
  .hdr .wrap { height: 66px !important; display: flex !important; gap: 16px !important; }
  .hdr .btn { display: none !important; }
  .hdr--b .logo { margin-right: auto; }
  .hero-a .wrap, .ben-c .wrap, .proc-b .wrap, .about-a .wrap, .faq-a .wrap, .cta-c .wrap, .ct-a .wrap, .team-b .wrap { grid-template-columns: 1fr !important; gap: 40px !important; }
  .hero-a .wrap { padding-top: 48px !important; padding-bottom: 64px !important; }
  .hero-a .proof { gap: 24px !important; }
  .hero-b { min-height: 560px !important; }
  .hero-b .wrap { padding-bottom: 56px !important; }
  .hero-c .wrap { padding-top: 56px !important; padding-bottom: 72px !important; }
  .hero-c .ph { aspect-ratio: 4 / 3 !important; margin-top: 40px !important; }
  .stats { grid-template-columns: 1fr 1fr !important; gap: 32px 0 !important; }
  .stats > div:nth-child(odd) { border-left: 0 !important; padding-left: 0 !important; }
  .cols3, .grid3, .plans, .faq-b .qa, .ct-b .trio { grid-template-columns: 1fr !important; gap: 28px !important; }
  .rowx { grid-template-columns: 1fr !important; gap: 24px !important; }
  .rowx:nth-child(even) .ph { order: 0 !important; }
  .rows { gap: 48px !important; }
  .steps { grid-template-columns: 1fr !important; gap: 32px !important; }
  .step { padding-top: 0 !important; padding-left: 64px; }
  .step::after { display: none; }
  .proc-b .head { position: static !important; }
  .about-b .pair { grid-template-columns: 1fr !important; margin-top: 40px !important; }
  .about-b .pair .ph { height: 260px !important; }
  .gal-a .grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .gal-b .grid { grid-template-columns: 1fr 1fr !important; grid-template-rows: 220px 140px 140px !important; gap: 10px !important; }
  .gal-b .ph:first-child { grid-row: auto !important; grid-column: span 2; }
  .gal-c .strip { padding-left: 20px !important; }
  .gal-c .ph { flex-basis: 240px !important; height: 320px !important; }
  .gal-c .ph:nth-child(even) { height: 280px !important; margin-top: 40px !important; }
  .team { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .team-b .faces { grid-template-columns: 1fr !important; gap: 20px !important; }
  .ptable > div { grid-template-columns: 1fr auto !important; gap: 8px 16px !important; }
  .ptable p { grid-column: 1 / -1; grid-row: 2; }
  .menu__item { grid-template-columns: 1fr auto !important; }
  .cta-b .inner { padding: 36px 24px !important; }
  .cta-c .mini { flex-direction: column; }
  .fakeform { padding: 24px !important; grid-template-columns: 1fr !important; }
  .ftr .cols { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .ftr .cols > div:first-child { grid-column: 1 / -1; }
  .ftr .bottom { flex-direction: column; gap: 6px; }
}

/* ===== Motion: hover effects + scroll reveal ===== */
.lp .btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.lp .btn:hover { transform: translateY(-2px); box-shadow: var(--sh-h); }
.lp .btn:not(.btn--ghost):not(.btn--light):hover { filter: brightness(1.08); }
.lp .btn--ghost:hover { border-color: var(--p); color: var(--p); }
.lp .hero-b .btn--ghost:hover, .lp .cta-a .btn--ghost:hover { color: inherit; background: rgba(255,255,255,.12); border-color: currentColor; }

.lp .nav a { transition: color .2s ease; }
.lp .nav a:hover { color: var(--text); }

.lp .link { transition: color .2s ease, padding-right .25s ease; }
.lp .link::after { content: " →"; display: inline-block; transition: transform .25s ease; }
.lp .link:hover::after { transform: translateX(4px); }

.lp .ph img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.lp .ph:hover img, .lp .card:hover .ph img, .lp .rowx:hover .ph img { transform: scale(1.05); }
.lp .team-b .face .ph img { transition-duration: .5s; }

.lp .card, .lp .ct-b .trio > div { transition: transform .3s ease, box-shadow .3s ease; }
.lp .svc-card:hover, .lp .quote-card:hover, .lp .plan:hover, .lp .ct-b .trio > div:hover { transform: translateY(-5px); box-shadow: var(--sh-h); }

.lp .numcol { transition: border-color .3s ease; }
.lp .numcol:hover { border-top-color: var(--p); }
.lp .menu__item h3, .lp .acc summary, .lp .ptable h3 { transition: color .2s ease; }
.lp .menu__item:hover h3, .lp .acc summary:hover, .lp .ptable > div:hover h3 { color: var(--p); }
.lp .step::before { transition: transform .3s ease; }
.lp .step:hover::before { transform: scale(1.08); }
.lp .checks li { transition: padding-left .3s ease; }
.lp .checks li:hover { padding-left: 6px; }

.lp .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.lp .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition: none !important; animation: none !important; }
  .lp .rv { opacity: 1; transform: none; }
  .lp .btn:hover, .lp .card:hover, .lp .ph:hover img { transform: none !important; }
}

/* ---------- Hero: full height ---------- */
.lp .hero-d { position: relative; min-height: max(560px, calc(100vh - 132px)); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.lp .hero-d .bgimg { position: absolute; inset: 0; }
.lp .hero-d .bgimg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.45), rgba(0,0,0,.7)); }
.lp .hero-d .wrap { position: relative; padding-top: 80px; padding-bottom: 110px; }
.lp .hero-d h1 { color: #fff; max-width: 900px; margin: 0 auto; font-size: calc(clamp(40px, 6.2cqi, 78px) * var(--hs, 1)); }
.lp .hero-d .lead { color: rgba(255,255,255,.86); margin: 24px auto 36px; max-width: 580px; }
.lp .hero-d .btns { justify-content: center; }
.lp .hero-d .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.lp .hero-d .btn--ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: #fff; }
.lp .hero-d .scrollcue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lp .hero-d .scrollcue::after { content: ""; width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.9), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.lp .hero-d .wrap > * { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
.lp .hero-d .wrap > :nth-child(2) { animation-delay: .12s; }
.lp .hero-d .wrap > :nth-child(3) { animation-delay: .24s; }
.lp .hero-d .bgimg img { animation: heroZoom 14s ease-out both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@container lp (max-width: 760px) {
  .hero-d { min-height: 640px !important; }
  .hero-d .wrap { padding-bottom: 96px !important; }
}

/* ---------- Hero: split on primary color ---------- */
.lp .hero-e { background: var(--p); color: var(--p-ink); }
.lp .hero-e h1 { color: var(--p-ink); }
.lp .hero-e .lead { color: var(--p-ink); opacity: .82; }
.lp .hero-e .proof { color: var(--p-ink); }
.lp .hero-e .proof > div { opacity: .8; }
.lp .hero-e .proof b { color: var(--p-ink); }
.lp .hero-e .btn--ghost { color: var(--p-ink); border-color: var(--p-ink); background: transparent; }
.lp .hero-e .btn--ghost:hover { color: var(--p-ink); border-color: var(--p-ink); background: rgba(255,255,255,.1); }
.lp .hero-e .btn--light:hover { filter: none; }
.lp[data-hl="color"] .hero-e mark.hl { color: var(--hl-on-p); }
.lp[data-hl="italic"] .hero-e mark.hl { color: var(--hl-on-p); }
.lp[data-hl="marker"] .hero-e mark.hl { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--p-ink) 24%, transparent) 58%, color-mix(in srgb, var(--p-ink) 24%, transparent) 92%, transparent 92%); }
.lp[data-hl="underline"] .hero-e mark.hl { text-decoration-color: var(--hl-on-p); }

/* Section background toggled by the client (zebra) */
.lp .sec.is-bg > section:not(.cta-a) { background: var(--surface); }

/* ---------- Services: text-only cards ---------- */
.lp .svc-txt .grid3 { gap: 24px; }
.lp .txt-card { padding: 34px 30px 36px; }
.lp .txt-card h3 { margin-bottom: 12px; }
.lp .txt-card p { color: var(--muted); font-size: 16px; }
.lp[data-shadow="none"] .txt-card { border: 1px solid var(--line); }
.lp .txt-card { transition: transform .3s ease, box-shadow .3s ease; }
.lp .txt-card:hover { transform: translateY(-5px); box-shadow: var(--sh-h); }

/* ---------- Services: text grid divided by thin lines ---------- */
.lp .tgrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.lp .tgrid > article { padding: 36px 36px 40px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: background-color .3s ease; }
.lp .tgrid > article:nth-child(3n) { border-right: 0; }
.lp .tgrid > article:nth-last-child(-n+3) { border-bottom: 0; }
.lp .tgrid > article:nth-child(3n+1) { padding-left: 0; }
.lp .tgrid > article:nth-child(3n) { padding-right: 0; }
.lp .tgrid h3 { margin-bottom: 12px; transition: color .2s ease; }
.lp .tgrid p { color: var(--muted); font-size: 16px; }
.lp .tgrid > article:hover h3 { color: var(--p); }
@container lp (max-width: 760px) {
  .tgrid { grid-template-columns: 1fr !important; }
  .tgrid > article { padding: 26px 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--line-strong) !important; }
  .tgrid > article:first-child { padding-top: 0 !important; }
  .tgrid > article:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
}
