/* Solista Technologies Inc — Plum Professional */
:root {
  --bg: #f7f2f6;
  --bg-deep: #efe5ed;
  --surface: #ffffff;
  --text: #402b3e;
  --muted: #6b5468;
  --accent: #7c456e;
  --accent-dark: #633557;
  --navy: #1f2a44;
  --line: #e3d4e0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --rail: 220px;
  --shadow: 0 1px 2px rgba(64, 43, 62, .05), 0 8px 24px rgba(64, 43, 62, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--text); margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 246, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 2rem;
  height: 72px; padding: 0 2.5rem;
  max-width: 1440px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0 55%, var(--navy) 55% 100%);
  position: relative; flex-shrink: 0;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px 9px 9px 9px;
  border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%;
  border-right-color: transparent; transform: rotate(-35deg);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav ul { list-style: none; display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .45rem .7rem; border-radius: 6px;
  color: var(--text); text-decoration: none; font-size: .92rem;
}
.nav a:hover { background: rgba(124, 69, 110, .08); color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: var(--radius);
  font: 500 .93rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid var(--accent); transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(124, 69, 110, .08); }
.btn-sm { padding: .5rem 1rem; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 500; text-decoration: none; font-size: .92rem; }
.text-link::after { content: " \203A"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Shell: left rail + main ---------- */
.shell {
  display: grid; grid-template-columns: var(--rail) minmax(0, 1fr);
  max-width: 1440px; margin: 0 auto;
}
.rail {
  border-right: 1px solid var(--line);
  padding: 2.5rem 1.5rem 2.5rem 2.5rem;
}
.rail-inner { position: sticky; top: 104px; }
.rail-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.rail ul { list-style: none; display: grid; gap: .15rem; }
.rail a {
  display: block; padding: .32rem 0 .32rem .75rem; border-left: 2px solid transparent;
  color: var(--text); text-decoration: none; font-size: .88rem;
}
.rail a:hover { color: var(--accent); border-left-color: var(--line); }
.rail a.is-active { color: var(--accent); border-left-color: var(--accent); }
.rail-note { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.rail-note a { word-break: break-all; }

main { padding: 3.5rem 4rem 2rem; min-width: 0; }
.wrap { max-width: 1060px; }

section { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }

.eyebrow { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 500; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Stratified section head: label left, title + body right */
.sec-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.sec-head .eyebrow { margin: .55rem 0 0; }
.sec-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.2; margin-bottom: .8rem; }
.sec-head p { color: var(--muted); max-width: 64ch; margin: 0; }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; align-items: center; padding-top: 1rem; }
.hero h1 { font-size: clamp(2.5rem, 3.6vw, 3.4rem); line-height: 1.12; margin-bottom: 1.4rem; max-width: 15ch; }
.hero .lead { margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.25rem; font-size: .86rem; color: var(--muted); list-style: none; }
.hero-facts li { padding-left: 1rem; position: relative; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.frame { position: relative; margin: 0 1.25rem 1.25rem 0; }
.frame::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--accent); border-radius: var(--radius); opacity: .45;
}
.frame img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.frame-crop { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.frame-crop img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; box-shadow: none; border-radius: 0; }
figcaption { font-size: .78rem; color: var(--muted); margin-top: .6rem; }
.frame figcaption { position: relative; }

/* ---------- Service values (home) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 2.5rem; list-style: none; }
.value h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: .5rem; }
.value p { font-size: .92rem; color: var(--muted); margin-bottom: .6rem; }
.value .benefit { color: var(--text); font-size: .88rem; border-left: 2px solid var(--line); padding-left: .75rem; }
.value-num { font-family: var(--serif); color: var(--accent); font-size: .9rem; display: block; margin-bottom: .35rem; }
.values-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.values-foot p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Use cases ---------- */
.cases { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.case-list { list-style: none; display: grid; gap: 0; }
.case-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.25rem; }
.case-list li:last-child { border-bottom: 1px solid var(--line); }
.case-list h3 { font-size: 1.02rem; line-height: 1.35; }
.case-list p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Delivery method ---------- */
.delivery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.delivery-text p { color: var(--muted); }
.photo-set { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.photo-set img { width: 100%; height: auto; border-radius: var(--radius); }
.photo-set .wide { grid-column: 1 / -1; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.75rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--accent); padding-top: 1rem; }
.steps li::before { content: "0" counter(step); font-family: var(--serif); color: var(--accent); font-size: .9rem; display: block; margin-bottom: .3rem; }
.steps h3 { font-size: 1.05rem; line-height: 1.3; margin-bottom: .35rem; }
.steps .price { font-family: var(--serif); font-size: 1.5rem; color: var(--text); margin-bottom: .4rem; }
.steps .price small { font: .78rem var(--sans); color: var(--muted); }
.steps p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.plan h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.plan .plan-type { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.plan .amount { font-family: var(--serif); font-size: 2.3rem; line-height: 1; margin-bottom: 1.1rem; }
.plan .amount span { font: .9rem var(--sans); color: var(--muted); }
.plan p { font-size: .9rem; color: var(--muted); }
.plan .checks { list-style: none; display: grid; gap: .45rem; margin: .25rem 0 1.5rem; font-size: .88rem; }
.plan .checks li { padding-left: 1.4rem; position: relative; }
.plan .checks li::before { content: ""; position: absolute; left: .15rem; top: .42em; width: .55rem; height: .3rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan.is-featured { border-color: var(--accent); }
.custom-plan {
  margin-top: 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding: 1.5rem; border-radius: var(--radius); background: var(--navy); color: #e9e4ee;
}
.custom-plan h3 { color: #fff; font-size: 1.25rem; margin-bottom: .3rem; }
.custom-plan p { margin: 0; font-size: .92rem; color: #c9c3d3; }
.custom-plan .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.custom-plan .btn-primary:hover { background: var(--bg); color: var(--navy); }
.custom-plan :focus-visible { outline-color: #fff; }

/* ---------- About strip (home) ---------- */
.about-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.about-strip p { color: var(--muted); }

/* ---------- Contact block ---------- */
.contact-panel {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem;
}
.contact-panel h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: .8rem; }
.mail-big { font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.45rem); word-break: break-word; }
.info-list { list-style: none; display: grid; gap: 1rem; font-size: .94rem; }
.info-list dt, .info-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.info-list dd { margin: .15rem 0 0; }
dl.info-list { margin: 0; }
.pay-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: .5rem; }
.pay-list li { padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; background: var(--bg); }

/* ---------- Inner page header ---------- */
.page-head { padding: 1rem 0 2.75rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.page-head .lead { margin-bottom: 0; }
.page-head .btn-row { margin-top: 1.75rem; }
.page-head.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: end; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .84rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Services overview ---------- */
.svc-index { list-style: none; display: grid; gap: 0; }
.svc-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 1.75rem; align-items: center;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.svc-index .svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row img { width: 100%; height: auto; border-radius: 6px; }
.svc-row h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.svc-row h3 a { color: var(--text); text-decoration: none; }
.svc-row h3 a:hover { color: var(--accent); text-decoration: underline; }
.svc-row p { margin: 0 0 .35rem; font-size: .92rem; color: var(--muted); }
.svc-row .benefit { color: var(--text); margin: 0; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 500; background: var(--bg-deep); }
td.num { font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }

.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.cap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cap h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.cap p { margin: 0; font-size: .92rem; color: var(--muted); }

.billing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.billing .cap ul { list-style: none; display: grid; gap: .55rem; font-size: .93rem; }
.billing .cap li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.billing .cap li:last-child { border-bottom: 0; }
.billing .cap li span:last-child { color: var(--muted); text-align: right; }

.industry-tags { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.industry-tags li { border-top: 2px solid var(--accent); padding-top: .75rem; }
.industry-tags h3 { font-size: 1rem; margin-bottom: .35rem; }
.industry-tags p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- About page ---------- */
.prose { max-width: 66ch; }
.prose p { color: var(--muted); }
.prose h2 { font-size: 1.6rem; margin-bottom: .9rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
.principles h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.principles p { margin: 0; font-size: .92rem; color: var(--muted); }
.fact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.fact-card h2 { font-size: 1.3rem; margin-bottom: 1.1rem; }

/* ---------- Contact page ---------- */
.inquiry-list { list-style: none; display: grid; gap: .75rem; }
.inquiry-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text);
}
.inquiry-list a:hover { border-color: var(--accent); }
.inquiry-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; display: block; }
.inquiry-list span.muted { font-size: .86rem; }
.inquiry-list .go { color: var(--accent); font-size: .86rem; white-space: nowrap; }
.checklist { list-style: none; display: grid; gap: .8rem; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; font-size: .95rem; }
.checklist li::before { content: counter(c); width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: .82rem var(--serif); }
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-family: var(--serif); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--muted); font-size: .94rem; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Detail page ---------- */
.detail-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.detail-hero h1 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.16; margin-bottom: 1.1rem; }
.detail-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.benefit-callout { margin: 1.75rem 0; padding: 1.1rem 1.25rem; background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.benefit-callout .info-label { display: block; margin-bottom: .3rem; }
.benefit-callout p { margin: 0; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; padding-top: 1rem; }
.detail-body section:first-child { padding-top: 2.5rem; }
.detail-body h2 { font-size: 1.55rem; margin-bottom: .9rem; }
.detail-body .copy { color: var(--muted); white-space: pre-line; }
.side-card { position: sticky; top: 104px; margin-top: 2.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.side-card h2 { font-size: 1.15rem; margin-bottom: .9rem; }
.side-card ul { list-style: none; display: grid; gap: .1rem; font-size: .88rem; }
.side-card ul a { display: block; padding: .35rem 0; text-decoration: none; color: var(--text); }
.side-card ul a:hover { color: var(--accent); }
.side-card ul a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.mini-steps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.mini-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; font-size: .9rem; }
.mini-steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.02rem; }
.mini-steps span { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 3rem 2.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 2rem; }
.footer-grid h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; font-weight: 600; }
.footer-grid ul { list-style: none; display: grid; gap: .4rem; font-size: .9rem; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid address { font-style: normal; font-size: .9rem; line-height: 1.6; }
.footer-about { font-size: .88rem; color: var(--muted); margin-top: .9rem; max-width: 34ch; }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 1rem; }
  .nav a { padding: .45rem .5rem; font-size: .88rem; }
  main { padding: 3rem 2.75rem 2rem; }
  .industry-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .topbar-inner { height: 64px; padding: 0 1.25rem; }
  .menu-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--text); cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
  }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 12px 24px rgba(64, 43, 62, .08);
  }
  .js .nav:not(.is-open) { display: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: .8rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: .75rem; }
  .nav .btn { width: 100%; padding: .85rem; }

}

@media (max-width: 1023px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  main { padding: 2rem 1.5rem 1.5rem; }
  section { padding: 2.5rem 0; }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: .5rem; margin-bottom: 1.75rem; }
  .sec-head .eyebrow { margin: 0; }
  .hero, .cases, .delivery, .about-strip, .contact-panel, .two-col, .detail-hero, .detail-body, .page-head.split, .billing { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .values-grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-card { position: static; margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  main { padding: 1.5rem 1rem 1rem; }
  .brand-sub { display: none; }
  .hero h1 { font-size: 2.05rem; max-width: none; }
  .page-head h1 { font-size: 2rem; }
  .detail-hero h1 { font-size: 1.85rem; }
  .values-grid, .plans, .steps, .cap-grid, .principles, .mini-steps, .industry-tags { grid-template-columns: minmax(0, 1fr); }
  .case-list li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .svc-row { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: start; }
  .svc-row .btn { grid-column: 1 / -1; justify-self: start; }
  .custom-plan { grid-template-columns: minmax(0, 1fr); }
  .contact-panel { padding: 1.5rem; }
  .frame { margin: 0 .75rem .75rem 0; }
  .frame::before { inset: .75rem -.75rem -.75rem .75rem; }
  th, td { padding: .75rem .8rem; }
  .footer-inner { padding: 2.5rem 1rem 1.25rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 auto; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
