:root {
  --paper: #F2EEE8;
  --paper-2: #E7E1D7;
  --paper-3: #DCD4C8;
  --ink: #15171B;
  --ink-2: #24272D;
  --ink-3: #3A3E46;
  --muted: #615D57;
  --muted-dark: #A9A49C;
  --orange: #FF5B1F;
  --orange-deep: #C93C08;
  --line: rgba(21, 23, 27, 0.12);
  --line-dark: rgba(242, 238, 232, 0.14);

  --color-bg: var(--paper);
  --color-text: var(--ink);
  --color-primary: var(--orange);

  --font-display: 'Geologica', 'Onest', system-ui, sans-serif;
  --font-body: 'Onest', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --text-hero: clamp(2.6rem, 1.2rem + 5.6vw, 6.4rem);

  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgba(60, 40, 20, 0.06), 0 12px 32px -12px rgba(60, 40, 20, 0.18);
  --wrap: 1240px;
}

body { font-family: var(--font-body); background: var(--paper); color: var(--ink); overflow-x: hidden; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.02em; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* layer-line texture: signature */
.layers-bg { background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(21,23,27,.045) 5px 6px); }
.layers-bg-dark { background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(242,238,232,.045) 5px 6px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(242, 238, 232, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: var(--space-6); height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: .95; letter-spacing: .04em; text-transform: uppercase; }
.brand__word span { display: block; }
.brand__word span:last-child { color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: var(--space-5); margin-left: auto; }
.nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--ink-3); padding: .4rem 0; }
.nav a:hover { color: var(--orange-deep); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.25rem; border-radius: var(--radius-sm); font-weight: 600; font-size: var(--text-sm); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #ff7440; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { border-color: rgba(21,23,27,.25); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(242,238,232,.35); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--paper); }
.btn svg { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.burger svg { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kicker::before { content: ''; width: 22px; height: 6px; border-radius: 2px; background: var(--orange); }
.hero h1 { font-family: var(--font-display); font-size: var(--text-hero); font-weight: 800; line-height: .92; letter-spacing: -0.035em; margin: var(--space-5) 0 var(--space-6); }
.hero h1 .stack { display: block; }
.hero h1 .stack span { display: block; }
.hero h1 .o { color: var(--orange); }
.hero__lead { font-size: var(--text-lg); color: var(--ink-3); max-width: 34ch; line-height: 1.45; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-8) 0 var(--space-10); }
.hero__media { position: relative; border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; aspect-ratio: 4/3.6; background: var(--paper-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--ink); color: var(--paper); border-radius: var(--radius-md); padding: .7rem .9rem; display: grid; gap: .15rem; }
.hero__tag b { font-family: var(--font-display); font-size: 1.15rem; }
.zruler { position: absolute; right: 1rem; top: 1rem; bottom: 1rem; width: 34px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; color: var(--paper); font-family: var(--font-mono); font-size: 10px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.zruler i { display: block; width: 10px; height: 1.5px; background: currentColor; }
.zruler i:nth-child(5n+1) { width: 18px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: var(--space-5) var(--space-5) var(--space-6) 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: var(--space-5); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.02em; }
.fact span { font-size: var(--text-sm); color: var(--muted); }

/* ticker */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 6px solid var(--orange); }
.ticker__track { display: flex; gap: 2.5rem; padding: 1rem 0; width: max-content; animation: tick 38s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: .02em; }
.ticker__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker__track span::after { content: ''; width: 14px; height: 14px; background: var(--orange); border-radius: 3px; transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--sand { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: end; margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec-head h2 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin-top: var(--space-4); }
.sec-head p { color: var(--muted); max-width: 46ch; justify-self: end; }
.section--dark .sec-head p, .section--dark .kicker { color: var(--muted-dark); }
.num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--orange-deep); }
.section--dark .num { color: var(--orange); }

/* ---------- services ---------- */
.svc-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--ink); color: var(--paper); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: var(--space-6); }
.svc-feature__media { position: relative; min-height: 360px; }
.svc-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-feature__body { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; gap: var(--space-4); }
.svc-feature__body h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.svc-feature__body p { color: #CFCAC2; }
.price { display: inline-flex; align-items: baseline; gap: .35rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.price small { font-family: var(--font-body); font-weight: 500; font-size: var(--text-sm); color: var(--muted); }
.svc-feature .price small { color: var(--muted-dark); }
.ticks { list-style: none; display: grid; gap: .55rem; font-size: var(--text-sm); }
.ticks li { position: relative; padding-left: 1.4rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 4px; border-radius: 1px; background: var(--orange); box-shadow: 0 6px 0 rgba(255,91,31,.45); }

.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); }
.svc { grid-column: span 4; background: #FBF9F6; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.svc--wide { grid-column: span 8; flex-direction: row; }
.svc--wide .svc__media { width: 46%; aspect-ratio: auto; }
.svc__media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); flex: none; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.svc h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); line-height: 1.2; }
.svc p { font-size: var(--text-sm); color: var(--muted); }
.svc .ticks { margin-top: var(--space-2); }
.svc__foot { margin-top: auto; padding-top: var(--space-4); display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px dashed var(--line); }
.svc__foot .link { font-size: var(--text-sm); font-weight: 600; text-decoration: none; color: var(--orange-deep); }
.svc__foot .link:hover { text-decoration: underline; }
.svc--text { background: var(--paper-2); }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 .6rem; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--ink); color: var(--paper); }
.chip--o { background: var(--orange); color: var(--ink); }

/* ---------- materials ---------- */
.mat-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-8); }
.mat-filter button { min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line-dark); color: var(--paper); font-size: var(--text-sm); font-weight: 500; }
.mat-filter button:hover { border-color: var(--paper); }
.mat-filter button[aria-pressed='true'] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.mat { background: var(--ink); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); transition: opacity .25s; }
.mat.is-dim { opacity: .22; }
.mat__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.mat__name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1; }
.mat__full { font-size: var(--text-xs); color: var(--muted-dark); margin-top: .35rem; }
.mat__spool { width: 40px; height: 40px; flex: none; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 26%, var(--c, var(--orange)) 27% 100%); box-shadow: inset 0 0 0 3px rgba(0,0,0,.25), 0 0 0 1px var(--line-dark); }
.mat p { font-size: var(--text-sm); color: #CFCAC2; }
.meters { display: grid; gap: .4rem; margin: var(--space-2) 0; }
.meter { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: .6rem; font-size: 12px; color: var(--muted-dark); }
.meter__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.meter__bar i { height: 6px; border-radius: 1px; background: rgba(242,238,232,.12); }
.meter__bar i.on { background: var(--orange); }
.mat__use { font-size: var(--text-sm); }
.mat__use b { color: var(--paper); font-weight: 600; }
.mat__use span { color: #CFCAC2; }
.mat__foot { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.mat__foot .price small { color: var(--muted-dark); }
.mat__temp { font-family: var(--font-mono); font-size: 12px; color: var(--orange); }
.mat-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-10); }
.mat-note div { border-top: 2px solid var(--orange); padding-top: var(--space-4); }
.mat-note h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: .4rem; }
.mat-note p { font-size: var(--text-sm); color: #CFCAC2; }

/* ---------- prices ---------- */
.price-table { width: 100%; border-top: 2px solid var(--ink); }
.price-table tr { border-bottom: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; padding: 1rem .75rem 1rem 0; vertical-align: top; font-size: var(--text-sm); }
.price-table th { font-weight: 600; font-size: var(--text-base); width: 38%; }
.price-table td.p { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); white-space: nowrap; text-align: right; padding-right: 0; }
.price-table td.d { color: var(--muted); }
.price-table .grp td { padding-top: 2rem; font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); border-bottom: 0; }
.price-cols { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.price-aside { position: sticky; top: 90px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); }
.price-aside h3 { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.05; }
.price-aside p { font-size: var(--text-sm); color: #CFCAC2; }

/* ---------- works ---------- */
.works { columns: 3 280px; column-gap: var(--space-5); }
.work { break-inside: avoid; margin-bottom: var(--space-5); background: #FBF9F6; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.work img { width: 100%; height: auto; }
.work figcaption { padding: var(--space-4) var(--space-5) var(--space-5); display: grid; gap: .3rem; }
.work figcaption b { font-size: var(--text-base); }
.work figcaption span { font-size: var(--text-sm); color: var(--muted); }
.work .mono { color: var(--orange-deep); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: var(--space-6) var(--space-5) var(--space-6) 0; }
.step::before { content: ''; display: block; height: 10px; border-radius: 2px; background: var(--ink-3); margin-bottom: var(--space-5); width: calc(40% + var(--i) * 15%); }
.step:last-child::before { background: var(--orange); }
.step b { display: block; font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: .4rem; }
.step p { font-size: var(--text-sm); color: #CFCAC2; }
.step .mono { color: var(--orange); }

/* ---------- districts ---------- */
.geo { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.map { position: relative; background: #FBF9F6; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.map svg { width: 100%; height: auto; }
.map__legend { display: flex; flex-wrap: wrap; gap: 1rem; padding: .9rem 1.2rem; border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--muted); }
.map__legend span { display: inline-flex; align-items: center; gap: .4rem; }
.map__legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.district { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-bottom: 1px solid var(--line); }
.district:nth-child(odd) { border-right: 1px solid var(--line); }
.district:nth-child(even) { padding-left: var(--space-4); }
.district b { display: flex; justify-content: space-between; gap: .5rem; font-size: var(--text-base); }
.district b em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--orange-deep); font-weight: 500; white-space: nowrap; }
.district span { font-size: var(--text-sm); color: var(--muted); }
.geo-text { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--muted); display: grid; gap: .8rem; }

/* ---------- points ---------- */
.points { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.point { border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: var(--space-4); position: relative; overflow: hidden; }
.point--a { background: var(--orange); color: var(--ink); }
.point--b { background: var(--ink); color: var(--paper); }
.point__label { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; }
.point h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.point p { font-size: var(--text-sm); }
.point--b p { color: #CFCAC2; }
.point__big { position: absolute; right: -0.05em; bottom: -0.22em; font-family: var(--font-display); font-weight: 900; font-size: clamp(7rem, 16vw, 12rem); line-height: 1; opacity: .12; pointer-events: none; }
.point__actions { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; }
.point--a .btn--ink:hover { background: var(--ink-3); }

/* ---------- order ---------- */
.order { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form { background: #FBF9F6; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: var(--space-6); }
.form fieldset { border: 0; display: grid; gap: var(--space-3); }
.form legend { font-weight: 700; font-size: var(--text-base); margin-bottom: var(--space-3); display: flex; gap: .6rem; align-items: center; }
.form legend .num { font-size: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 .95rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: all var(--transition-interactive); }
.opt span:hover { border-color: var(--ink-3); }
.opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: .65rem .85rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); font-size: var(--text-base); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field small { font-size: 12px; color: var(--muted); }
.field input[type=file] { padding: .55rem; font-size: var(--text-sm); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--text-sm); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.consent button { color: var(--ink); text-decoration: underline; font-size: inherit; padding: 0; }
.err { color: #B3261E; font-size: var(--text-sm); font-weight: 600; min-height: 1.2em; }

.summary { position: sticky; top: 90px; background: var(--ink); color: var(--paper); border-radius: var(--radius-xl); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: var(--space-4); }
.summary h3 { font-family: var(--font-display); font-size: var(--text-lg); }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: var(--text-sm); }
.summary dt { color: var(--muted-dark); }
.summary dd { text-align: right; }
.total { border-top: 1px solid var(--line-dark); padding-top: var(--space-4); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.total b { font-family: var(--font-display); font-size: var(--text-2xl); letter-spacing: -0.03em; line-height: 1; }
.total span { font-size: var(--text-xs); color: var(--muted-dark); max-width: 16ch; }
.pay { display: grid; gap: .6rem; padding: var(--space-4); border-radius: var(--radius-md); background: var(--ink-2); }
.pay__row { display: flex; align-items: center; gap: .6rem; font-size: var(--text-sm); }
.pay__logo { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 .6rem; border-radius: 6px; background: #005BFF; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .01em; }
.pay small { color: var(--muted-dark); font-size: 12px; }
.result { display: none; background: var(--orange); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-4); font-size: var(--text-sm); gap: .6rem; }
.result.show { display: grid; }
.result b { font-family: var(--font-display); font-size: var(--text-lg); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: var(--text-base); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: .9rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--orange-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.15rem; color: var(--muted); font-size: var(--text-sm); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 5rem) 0 var(--space-8); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--space-8); padding-bottom: var(--space-10); border-bottom: 1px solid var(--line-dark); }
.footer .brand__word span:last-child { color: var(--muted-dark); }
.footer h4 { font-size: var(--text-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-dark); margin-bottom: var(--space-4); font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: .5rem; font-size: var(--text-sm); }
.footer a { text-decoration: none; color: #DAD5CD; }
.footer a:hover { color: var(--orange); }
.footer p { font-size: var(--text-sm); color: #CFCAC2; }
.req { font-size: var(--text-sm); color: #CFCAC2; display: grid; gap: .3rem; }
.req b { color: var(--paper); font-weight: 600; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: var(--space-6); font-size: var(--text-xs); color: var(--muted-dark); }
.footer__bottom button { color: var(--muted-dark); text-decoration: underline; font-size: inherit; }
.footer__bottom button:hover { color: var(--paper); }
.bigword { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 13vw, 12rem); letter-spacing: -0.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(242,238,232,.3); margin-top: var(--space-10); white-space: nowrap; overflow: hidden; padding-bottom: .06em; line-height: .9; }

/* dialogs */
dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(760px, 100% - 2rem); max-height: 86vh; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(21,23,27,.6); backdrop-filter: blur(3px); }
.dlg { padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: .8rem; font-size: var(--text-sm); }
.dlg h2 { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; }
.dlg h3 { font-size: var(--text-base); margin-top: .6rem; }
.dlg p, .dlg li { color: var(--ink-3); max-width: none; }
.dlg ol, .dlg ul { padding-left: 1.2rem; display: grid; gap: .3rem; }
.dlg__close { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: .75rem .75rem 0; background: var(--paper); }
.dlg__close button { width: 44px; height: 44px; border-radius: var(--radius-sm); font-size: 1.6rem; line-height: 1; }
.dlg__close button:hover { background: var(--paper-2); }

/* reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero h1 .stack span { clip-path: inset(0 0 100% 0); animation: layerIn .9s cubic-bezier(.7,0,.2,1) forwards; }
.js .hero h1 .stack span:nth-child(2) { animation-delay: .18s; }
.js .hero h1 .stack span:nth-child(3) { animation-delay: .36s; }
@keyframes layerIn { to { clip-path: inset(0 0 0 0); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header .btn--primary { display: none; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
  .nav.open a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-base); }
  .mat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .sec-head, .svc-feature, .geo, .order, .faq, .price-cols, .points { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .svc { grid-column: span 6; }
  .svc--wide { grid-column: span 12; }
  .summary, .price-aside { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(4) { border-top: 1px solid var(--line); }
  .mat-note { grid-template-columns: 1fr; }
  .hero__media { border-radius: var(--radius-xl); margin-bottom: var(--space-8); aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .svc, .svc--wide { grid-column: span 12; flex-direction: column; }
  .svc--wide .svc__media { width: 100%; aspect-ratio: 16/10; }
  .mat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; padding-block: var(--space-4); }
  .dlist { grid-template-columns: 1fr; }
  .district:nth-child(odd) { border-right: 0; }
  .district:nth-child(even) { padding-left: 0; }
  .row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .price-table th { width: auto; }
  .price-table td.d { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .svc-feature__media { min-height: 240px; }
}
.link-btn { color: #DAD5CD; font-size: var(--text-sm); padding: 0; text-align: left; }
.link-btn:hover { color: var(--orange); }

[hidden] { display: none !important; }
.svc--text { grid-column: span 12; }
.svc--text .svc__body { display: grid; grid-template-columns: 1fr 1.4fr; gap: .75rem 2.5rem; align-items: start; }
.svc--text .svc__top, .svc--text h3, .svc--text p { grid-column: 1; }
.svc--text .ticks { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: 1fr 1fr; margin-top: 0; }
.svc--text .svc__foot { grid-column: 1 / -1; }
.mat__name.is-long { font-size: 1.2rem; line-height: 1.1; }
@media (max-width: 640px) { .svc--text .svc__body { grid-template-columns: 1fr; } .svc--text .ticks { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; } }
.price { flex-wrap: wrap; white-space: nowrap; column-gap: .35rem; }
.price small { white-space: normal; }

/* ===== v2: multipage, slider, chat, simple order, b2b ===== */
.h2 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: var(--space-3); }
.lead { font-size: var(--text-lg); color: var(--ink-3); line-height: 1.5; }
.section--dark .lead { color: #CFCAC2; }
.mini-h { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-4); }
.fh { font-size: var(--text-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-dark); margin-bottom: var(--space-4); font-weight: 500; }
.cols2 { grid-template-columns: 1fr; }
.footer__bottom .docs { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer__bottom .docs a { color: var(--muted-dark); text-decoration: underline; }
.inline-link { color: var(--orange-deep); text-decoration: underline; font-size: inherit; padding: 0; font-weight: 600; }
.btn--block { width: 100%; }

/* crumbs + page hero */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--space-6); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange-deep); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.phero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem); }
.phero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem); font-weight: 800; line-height: .98; letter-spacing: -0.035em; margin: var(--space-4) 0 var(--space-5); max-width: 18ch; }
.phero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.phero__img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.price--big { font-size: var(--text-xl); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.two--text { align-items: start; }
.two__img { border-radius: var(--radius-xl); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ticks--big { font-size: var(--text-base); gap: .9rem; }
.ticks--dark li { color: var(--ink-3); }
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.use { border-top: 3px solid var(--ink); padding-top: var(--space-4); display: grid; gap: .35rem; }
.use:first-child { border-color: var(--orange); }
.use b { font-size: var(--text-lg); }
.use span { font-size: var(--text-sm); color: var(--muted); }
.prose { max-width: 72ch; display: grid; gap: 1rem; }
.prose h2 { font-size: var(--text-lg); margin-top: 1rem; }
.prose ol, .prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.prose p, .prose li { color: var(--ink-3); }

/* service cards (home) */
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.scard { display: flex; flex-direction: column; text-decoration: none; background: #FBF9F6; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard:first-child { grid-column: span 2; flex-direction: row; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.scard:first-child .scard__img { width: 52%; aspect-ratio: auto; }
.scard:first-child .scard__body > span:not(.chip):not(.scard__foot) { color: #CFCAC2; }
.scard:first-child .chip { background: var(--orange); color: var(--ink); }
.scard__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.scard__body .chip { width: max-content; }
.scard__body b { font-size: var(--text-lg); line-height: 1.2; }
.scard__body > span:not(.chip):not(.scard__foot) { font-size: var(--text-sm); color: var(--muted); }
.scard__foot { margin-top: auto; padding-top: var(--space-4); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.scard__go { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--text-sm); font-weight: 600; color: var(--orange-deep); }
.scard:first-child .scard__go { color: var(--orange); }
.scard__go svg { width: 16px; height: 16px; }

/* materials slider */
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--space-5)) / 3); gap: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: var(--space-3); scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track .mat { scroll-snap-align: start; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--ink-2); }
.slider__track .mat.is-hidden { display: none; }
.slider__nav { display: flex; align-items: center; gap: .75rem; margin-top: var(--space-6); flex-wrap: wrap; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-dark); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.slider__btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.slider__btn svg { width: 20px; height: 20px; }
.slider__count { color: var(--muted-dark); min-width: 4.5rem; text-align: center; }
.slider__nav .btn { margin-left: auto; }
.mat-filter { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 2px; }
.mat-filter::-webkit-scrollbar { display: none; }
.mat-filter button { flex: none; }

/* tabs */
.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: var(--space-2); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 46px; padding: 0 1rem; font-weight: 600; font-size: var(--text-sm); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { color: var(--ink); border-color: var(--orange); }
.price-table { border-top: 0; }

/* delivery tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.tier { border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: .6rem; background: #FBF9F6; border: 1px solid var(--line); color: var(--ink); }
.tier b { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; }
.tier p { font-size: var(--text-sm); color: var(--muted); }
.tier .mono { color: var(--orange-deep); }
.tier--a { background: var(--orange); border-color: var(--orange); }
.tier--a p, .tier--a .mono { color: var(--ink); }
.tier--d { background: var(--ink-2); color: var(--paper); border-color: var(--line-dark); }
.tier--d p { color: #CFCAC2; }
.tier--d .mono { color: var(--orange); }
.section--dark .tier:not(.tier--a):not(.tier--d) { background: var(--paper); }

.points--stack { grid-template-columns: 1fr; gap: var(--space-4); margin-bottom: var(--space-6); }
.points--stack .point { padding: var(--space-6); }
.points--stack .point h3 { font-size: var(--text-lg); }
.points--stack .point__big { font-size: 7rem; }
.dchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.dchip { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: #FBF9F6; text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.dchip:hover { border-color: var(--ink); }
.dchip em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--orange-deep); }
.map svg a text { cursor: pointer; }
.map svg a:hover text { fill: var(--orange-deep); }

/* b2b */
.b2b { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-xl); background: var(--paper-2); align-items: start; }
.b2b__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.b2b__col { background: #FBF9F6; border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
.b2b__col:last-child { background: var(--ink); color: var(--paper); }
.b2b__col b { font-size: var(--text-lg); }

/* cta band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-xl); background: var(--orange); }
.cta-band p { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); max-width: 46ch; line-height: 1.3; }
.cta-band__btns { display: flex; gap: .6rem; flex-wrap: wrap; }

/* materials page */
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cmp { min-width: 820px; }
.cmp th, .cmp td { padding: .8rem 1rem; text-align: left; font-size: var(--text-sm); border-bottom: 1px solid var(--line); white-space: nowrap; }
.cmp thead th { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; background: var(--paper-2); }
.cmp td.c { color: var(--orange); letter-spacing: 2px; }
.cmp td.p { font-weight: 700; }
.mrows { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.mrow { background: #FBF9F6; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); }
.mrow__head { display: flex; gap: 1rem; align-items: center; }
.mrow__head h2 { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; }
.mrow__head span { font-size: var(--text-xs); color: var(--muted); }
.mrow__body { display: grid; gap: .6rem; font-size: var(--text-sm); color: var(--ink-3); }
.mat-note--light div p { color: var(--muted); }
.contact-list { display: grid; gap: var(--space-6); }
.contact-list p { margin-top: .4rem; font-size: var(--text-base); }

/* order: modes */
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: var(--space-6); max-width: 760px; }
.mode button { text-align: left; padding: 1rem 1.2rem; border-radius: var(--radius-lg); border: 1.5px solid var(--line); background: #FBF9F6; display: grid; gap: .2rem; }
.mode button b { font-size: var(--text-base); }
.mode button span { font-size: var(--text-sm); color: var(--muted); }
.mode button[aria-selected='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mode button[aria-selected='true'] span { color: var(--muted-dark); }
.order[data-mode='simple'] .only-calc { display: none !important; }
.order[data-mode='calc'] .only-simple { display: none !important; }
legend.sub { margin-top: var(--space-4); }
.opt-l { font-weight: 400; color: var(--muted); font-size: 12px; }
.hints { display: flex; flex-wrap: wrap; gap: .4rem; }
.hints button { min-height: 36px; padding: 0 .8rem; border-radius: 999px; background: var(--paper-2); font-size: 13px; color: var(--ink-3); }
.hints button:hover { background: var(--orange); color: var(--ink); }
.drop { position: relative; display: grid; justify-items: center; gap: .4rem; text-align: center; padding: 1.6rem 1rem; border: 2px dashed rgba(21,23,27,.22); border-radius: var(--radius-lg); background: var(--paper); cursor: pointer; transition: all var(--transition-interactive); }
.drop:hover, .drop.is-over { border-color: var(--orange); background: #FFF3EC; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 30px; height: 30px; color: var(--orange-deep); }
.drop b { font-size: var(--text-sm); }
.drop span { font-size: 12px; color: var(--muted); }
.filelist { list-style: none; display: grid; gap: .4rem; }
.filelist li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem .75rem; border-radius: var(--radius-sm); background: var(--paper-2); font-size: var(--text-sm); }
.filelist li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist li small { color: var(--muted); flex: none; }
.filelist button { width: 32px; height: 32px; border-radius: 6px; font-size: 1.2rem; flex: none; }
.filelist button:hover { background: var(--paper-3); }
.company { display: grid; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--paper-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.next { list-style: none; counter-reset: n; display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.next li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: .2rem .8rem; }
.next li::before { content: counter(n, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: 12px; color: var(--ink); background: var(--orange); border-radius: 6px; height: 26px; display: grid; place-items: center; }
.next b { font-size: var(--text-sm); }
.next span { font-size: var(--text-sm); color: #CFCAC2; }
.pay__logo--ink { background: var(--paper); color: var(--ink); }

/* chat */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; }
.chat__fab { position: relative; display: inline-flex; align-items: center; gap: .55rem; height: 54px; padding: 0 1.2rem 0 1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: var(--text-sm); box-shadow: 0 10px 30px -8px rgba(21,23,27,.5); }
.chat__fab:hover { background: var(--ink-3); }
.chat__fab svg { width: 22px; height: 22px; color: var(--orange); }
.chat__fab .chat__online-dot { position: absolute; top: 1px; right: 3px; display: block; width: 13px; height: 13px; border: 3px solid var(--ink); border-radius: 50%; background: #22C55E; box-sizing: content-box; }
#chatStatus { display: inline-flex; align-items: center; gap: .35rem; }
#chatStatus::before { content: ''; display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #22C55E; }
.chat[data-state='open'] .chat__fab { display: none; }
.chat__panel { width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 40px)); background: var(--paper); border-radius: var(--radius-xl); box-shadow: 0 24px 60px -12px rgba(21,23,27,.45); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat__panel[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--ink); color: var(--paper); }
.chat__ava { width: 38px; height: 38px; border-radius: 10px; background: var(--ink-3); display: grid; place-items: center; flex: none; }
.chat__ava svg { width: 26px; height: 26px; }
.chat__head b { display: block; font-size: var(--text-sm); }
.chat__head small { font-size: 12px; color: var(--muted-dark); }
.chat__x { margin-left: auto; width: 40px; height: 40px; border-radius: 8px; color: var(--paper); font-size: 1.5rem; }
.chat__x:hover { background: var(--ink-3); }
.chat__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.msg { max-width: 85%; padding: .65rem .85rem; border-radius: 14px; font-size: var(--text-sm); line-height: 1.45; white-space: pre-line; }
.msg--bot { background: #FBF9F6; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--orange); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--orange-deep); font-weight: 600; }
.msg--typing { color: var(--muted); }
.chat__quick { display: flex; gap: .4rem; padding: 0 1rem .6rem; flex-wrap: wrap; }
.chat__quick button { font-size: 12px; min-height: 32px; padding: 0 .7rem; border-radius: 999px; border: 1px solid var(--line); background: #FBF9F6; }
.chat__quick button:hover { border-color: var(--ink); }
.chat__form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: #FBF9F6; }
.chat__form input { flex: 1; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 .8rem; background: var(--paper); font-size: 16px; }
.chat__form input:focus { outline: none; border-color: var(--ink); }
.chat__form button { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.chat__form button svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .scards { grid-template-columns: 1fr 1fr; }
  .slider__track { grid-auto-columns: calc((100% - var(--space-5)) / 2); }
  .uses { grid-template-columns: 1fr 1fr; }
  .b2b { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .phero__grid, .two, .tiers, .mrows { grid-template-columns: 1fr; }
  .scard:first-child { flex-direction: column; }
  .scard:first-child .scard__img { width: 100%; aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  .scards { grid-template-columns: 1fr; }
  .scard:first-child { grid-column: auto; }
  .slider__track { grid-auto-columns: 86%; }
  .slider__nav .btn { margin-left: 0; width: 100%; }
  .uses, .b2b__cols { grid-template-columns: 1fr; }
  .mode { grid-template-columns: 1fr; }
  .chat { right: 12px; bottom: 12px; }
  .chat__fab span { display: none; }
  .chat__fab { width: 56px; padding: 0; justify-content: center; }
  .chat__panel { height: calc(100dvh - 24px); }
}
.scard:last-child { grid-column: 1 / -1; flex-direction: row; background: var(--orange); border-color: var(--orange); }
.scard:last-child .scard__img { width: 34%; aspect-ratio: auto; min-height: 220px; }
.scard:last-child .scard__body { justify-content: center; }
.scard:last-child .scard__body b { font-size: var(--text-xl); font-family: var(--font-display); }
.scard:last-child .scard__body > span:not(.chip):not(.scard__foot) { color: var(--ink); max-width: 52ch; }
.scard:last-child .scard__go { color: var(--ink); }
@media (max-width: 640px) { .scard:last-child { flex-direction: column; } .scard:last-child .scard__img { width: 100%; aspect-ratio: 16/10; min-height: 0; } }
.chat__head small { display: block; line-height: 1.35; }
