/* 3-UAE Studio — main stylesheet (v3, light)
   Concept: "filament rack". A clean, bright build plate with vivid filament colors: each service owns a color,
   the brand orange leads, and layer lines (thin horizontal stripes) are the recurring signature.
   One deep-teal panel (the print lab) acts as the printer enclosure. Single light look by design. */
:root {
  --bg: #F2F1EE;
  --bg-2: #E9E7E3;
  --surface: #FFFFFF;
  --raised: #F0EFEC;
  --raised-2: #E2E0DB;
  --line: rgba(35, 34, 32, .09);
  --line-strong: rgba(35, 34, 32, .17);
  --fg: #232322;
  --muted: #5F5C58;
  --faint: #8D8984;

  /* logo colors: charcoal, warm grays, white. Two quiet accents: sand and sage. */
  --accent: #2B2B2C;
  --accent-hot: #43413F;
  --accent-soft: #E7E5E1;
  --accent-text: #2B2B2C;
  --accent-ink: #FFFFFF;
  --sand: #C2A97F;
  --sand-soft: #F2ECE2;
  --sand-text: #7A6443;
  --teal: #5E7F79;
  --teal-soft: #E3EBE8;
  --teal-text: #4A6863;
  --teal-ink: #FFFFFF;
  --slate: #6E8196;
  --stone: #8E8A86;
  --logo-1: #8E8A86;
  --logo-2: #BDB9B5;
  --wa: #25D366;
  --danger: #B5402F;
  --glass: rgba(255, 255, 255, .74);
  --shadow-1: 0 1px 2px rgba(35, 34, 32, .05), 0 10px 30px -16px rgba(35, 34, 32, .22);
  --shadow-2: 0 40px 90px -46px rgba(35, 34, 32, .5);

  --f-display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --f-brand: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 26px;
  --maxw: 1280px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
html[lang="en"] { --f-display: "Archivo", "Segoe UI", system-ui, sans-serif; }

/* the printer enclosure: charcoal with soft light, like the logo photo */
.on-dark {
  --bg: #1F1F20; --surface: #262625; --raised: #2E2D2C; --raised-2: #383735;
  --line: rgba(255, 250, 244, .09); --line-strong: rgba(255, 250, 244, .18);
  --fg: #F2F1EE; --muted: #B5B1AC; --faint: #86827D; --glass: rgba(30, 30, 30, .6);
  --teal-text: #A9C4BE; --accent-text: #D9C3A0;
  color: var(--fg); color-scheme: dark;
}

/* a muted filament color per service, all in the logo's warm-gray family */
.c-or { --c: #6F6B67; --c-soft: #ECEAE6; --c-text: #3E3C39; }
.c-bl { --c: #6E8196; --c-soft: #E6EBF0; --c-text: #4A5C70; }
.c-vi { --c: #8A7F96; --c-soft: #ECE9F0; --c-text: #5F546B; }
.c-ye { --c: #B59A6E; --c-soft: #F2ECE1; --c-text: #74603F; }
.c-te { --c: #6F8F88; --c-soft: #E3ECE9; --c-text: #4A6A64; }
.c-pi { --c: #A8857A; --c-soft: #F2E8E4; --c-text: #74544A; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="en"] body { line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; margin: 0; text-wrap: balance; }
html[lang="en"] :is(h1, h2, h3, h4) { font-stretch: 112%; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--f-mono); font-size: .78rem; color: var(--faint); letter-spacing: .02em; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--fg); color: var(--surface); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* ---------- Logo ---------- */
.lg-ink { fill: currentColor; }
.lg-b1 { fill: var(--logo-1); }
.lg-b2 { fill: var(--logo-2); }
.lg-sub { font-family: var(--f-brand); font-weight: 500; font-stretch: 112%; letter-spacing: .1em; }

/* ---------- Buttons ---------- */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 24px; border-radius: 999px; font-family: var(--f-body); font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, filter .25s ease; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 26px -14px rgba(35, 34, 32, .55); }
.btn-accent:hover { background: var(--accent-hot); transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: var(--teal-ink); box-shadow: 0 12px 26px -14px rgba(74, 104, 99, .6); }
.btn-teal:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn-ink { background: var(--fg); color: var(--surface); }
.btn-ink:hover { transform: translateY(-2px); background: #2A2F2B; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.on-dark .btn-ghost { background: transparent; }
.btn-line { background: transparent; border-color: var(--line-strong); color: var(--fg); }
.btn-line:hover { border-color: var(--teal); color: var(--teal-text); }
.btn-wa { background: var(--wa); color: #05301A; }
.btn-wa:hover { filter: brightness(1.06); transform: translateY(-2px); }
.wa-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .25s ease; }
[dir="rtl"] .arrow:not(.ext) { transform: scaleX(-1); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 700; font-size: .95rem; text-decoration: none; }
.text-link:hover { color: var(--sand-text); }
.text-link:hover .arrow:not(.ext) { transform: translateX(4px); }
[dir="rtl"] .text-link:hover .arrow:not(.ext) { transform: scaleX(-1) translateX(4px); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.5; white-space: nowrap; background: var(--raised); color: var(--muted); }
.badge-demo { color: var(--teal-text); background: var(--teal-soft); }
.badge-internal { color: var(--sand-text); background: var(--sand-soft); }
.badge-mw { font-family: var(--f-mono); letter-spacing: .04em; color: var(--teal-text); background: var(--teal-soft); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--raised); color: var(--muted); }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--glass); color: var(--fg); cursor: pointer; font-size: .86rem; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--teal); color: var(--teal-text); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); align-self: flex-start; gap: 2px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .seg button { display: block; padding: 7px 20px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--muted); background: transparent; border: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease; line-height: 1.4; }
.seg input:checked + span, .seg button[aria-pressed="true"] { background: var(--fg); color: var(--surface); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-sm span, .seg-sm button { padding: 5px 14px; font-size: .84rem; }
.on-dark .seg { background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(244, 245, 241, .78); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid transparent; transition: border-color .3s ease, background-color .3s ease; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .88); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; color: var(--fg); direction: ltr; }
.logo-mark { width: 34px; height: 41px; display: block; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-brand); font-stretch: 125%; }
.brand-word b { font-weight: 800; font-size: 1.32rem; letter-spacing: .01em; }
.brand-word small { font-weight: 500; font-size: .6rem; letter-spacing: .42em; margin-top: 4px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a:not(.btn) { position: relative; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: .94rem; font-weight: 600; transition: color .2s ease, background-color .2s ease; }
.nav a:not(.btn):hover { color: var(--fg); background: var(--raised-2); }
.nav a[aria-current="page"] { color: var(--fg); background: var(--surface); box-shadow: var(--shadow-1); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--sand); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; cursor: pointer; background: var(--surface); border: 1px solid var(--line-strong); color: var(--fg); font-weight: 700; font-size: .88rem; }
.globe { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.js-lang-label[lang="en"] { font-family: var(--f-brand); }
.footer-made { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-lang { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; color: var(--fg); font-weight: 600; font-size: .85rem; cursor: pointer; }
.footer-lang:hover, .lang-btn:hover { border-color: var(--fg); }
.lang-btn:hover { border-color: var(--fg); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fg); transition: transform .25s ease, top .25s ease; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1120px) {
  .menu-btn { display: inline-block; }
  .header-actions { margin-inline-start: auto; }
  .nav { position: absolute; top: 100%; inset-inline: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(18, 22, 19, .35); }
  .nav:not(.open) { display: none; }
  .nav a:not(.btn) { padding: 13px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav a[aria-current="page"]::after { inset-inline: auto; inset-inline-start: 0; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .nav-cta { display: inline-flex; margin-top: 10px; }
}
@media (max-width: 520px) { .header-cta { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 5.5vw, 72px) clamp(40px, 6vw, 84px); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 10%, transparent 72%); }
.hero::after { content: ""; position: absolute; inset: 30% -10% auto; height: 70%; pointer-events: none; background: radial-gradient(ellipse 40% 50% at 22% 50%, rgba(194, 169, 127, .26), transparent 70%), radial-gradient(ellipse 40% 50% at 52% 60%, rgba(142, 138, 134, .22), transparent 70%), radial-gradient(ellipse 40% 50% at 82% 45%, rgba(111, 143, 136, .22), transparent 70%); filter: blur(10px); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-head { display: flex; flex-direction: column; gap: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .94rem; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 127, 121, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(94, 127, 121, 0); } }
.hero-title { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1.3; letter-spacing: 0; max-width: 14em; }
html[lang="en"] .hero-title { font-size: clamp(2.3rem, 5.6vw, 5.1rem); line-height: 1.02; letter-spacing: -.025em; max-width: 17ch; }
.hero-title .line { display: block; overflow: hidden; padding-block: .1em .14em; margin-block: -.1em -.14em; }
.hero-title .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.layered { color: var(--muted); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .layered { background-image: repeating-linear-gradient(180deg, transparent 0 5px, rgba(255, 255, 255, .28) 5px 6.5px), linear-gradient(90deg, #2B2B2C, #6F6B67 55%, #A8A29B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  [dir="rtl"] .layered { background-image: repeating-linear-gradient(180deg, transparent 0 5px, rgba(255, 255, 255, .28) 5px 6.5px), linear-gradient(270deg, #2B2B2C, #6F6B67 55%, #A8A29B); }
}
.hero-sub { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Showcase ---------- */
.showcase { margin-top: clamp(32px, 5vw, 56px); }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.sc-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.sc-tab { position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); cursor: pointer; font-weight: 700; font-size: .92rem; overflow: hidden; transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
.sc-tab:hover { color: var(--fg); border-color: var(--fg); }
.sc-tab[aria-selected="true"] { color: var(--surface); background: var(--fg); border-color: var(--fg); }
.sc-prog { position: absolute; inset-inline: 14px; bottom: 5px; height: 2px; border-radius: 2px; overflow: hidden; }
.sc-tab[aria-selected="true"] .sc-prog { background: rgba(255, 255, 255, .18); }
.sc-prog b { display: block; height: 100%; width: 100%; background: var(--sand); transform-origin: left center; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .sc-prog b { transform-origin: right center; }
.sc-note { font-size: .84rem; color: var(--faint); }
.sc-frame { position: relative; transform: perspective(2000px) rotateX(var(--tilt, 0deg)) scale(var(--tscale, 1)); transform-origin: 50% 0; will-change: transform; }
@media (min-width: 761px) { .sc-frame { padding-inline-end: clamp(56px, 6vw, 84px); } }
.browser { border: 1px solid var(--line-strong); border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-2), 0 0 0 6px rgba(255, 255, 255, .6); }
.br-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--raised); border-bottom: 1px solid var(--line); min-width: 0; }
.br-dots { display: inline-flex; gap: 6px; flex: none; }
.br-dots i { width: 10px; height: 10px; border-radius: 50%; background: #D3D0CB; }
.br-dots i:nth-child(2) { background: #C6C2BC; }
.br-dots i:nth-child(3) { background: #B9B5AF; }
.br-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 4px 12px; border-radius: 8px; overflow: hidden; white-space: nowrap; }
.br-url svg { width: 13px; height: 13px; fill: none; stroke: var(--teal-text); stroke-width: 2; flex: none; }
.br-url span { overflow: hidden; text-overflow: ellipsis; }
.ba { --pos: 50%; position: relative; aspect-ratio: 16 / 9.2; container-type: inline-size; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: var(--raised); }
.ba .mock { transition: opacity .45s ease; }
.ba.swapping .mock { opacity: 0; }
.ba .mock.new { clip-path: inset(0 0 0 var(--pos)); }
[dir="rtl"] .ba .mock.new { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 22px rgba(0, 0, 0, .35); pointer-events: none; z-index: 2; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .3), 0 0 0 6px rgba(255, 255, 255, .55); }
.ba:has(.ba-range:focus-visible) .ba-knob { box-shadow: 0 0 0 3px var(--fg), 0 8px 24px rgba(0, 0, 0, .35); }
.ba-tag { position: absolute; top: 12px; z-index: 2; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--fg); pointer-events: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.tag-old { inset-inline-start: 12px; }
.tag-new { inset-inline-end: 12px; background: var(--accent); color: #fff; }
.ba-range { position: absolute; width: 1px; height: 1px; opacity: 0; bottom: 0; left: 50%; pointer-events: none; }
.ba.is-m { aspect-ratio: 3 / 4.2; }
.ba.is-m .ba-tag { top: auto; bottom: 12px; }
.phone { position: absolute; z-index: 3; width: clamp(140px, 14%, 184px); inset-inline-end: 0; bottom: -30px; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.phone-body { position: relative; width: 100%; aspect-ratio: 9 / 19; border-radius: 30px; padding: 7px; background: #1C1F1D; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 40px 70px -24px rgba(18, 22, 19, .6); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; container-type: inline-size; background: #fff; }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 34%; height: 16px; margin-left: -17%; border-radius: 999px; background: #0A0B0A; z-index: 2; }
.phone-label { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; box-shadow: var(--shadow-1); }
.phone-screen .mock { transition: opacity .45s ease; }
.phone.swapping .mock { opacity: 0; }
.sc-hint { margin-top: 18px; font-size: .88rem; color: var(--faint); display: flex; align-items: center; gap: 10px; }
.sc-hint::before { content: ""; width: 26px; height: 7px; background: repeating-linear-gradient(180deg, var(--sand) 0 1px, transparent 1px 3px); }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
@media (max-width: 1100px) { .phone { width: clamp(120px, 16%, 150px); } }
@media (max-width: 760px) { .phone { display: none; } .sc-frame { --tilt: 0deg !important; --tscale: 1 !important; } .sc-note { order: 2; width: 100%; } }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding-block: 14px; margin-block: -6px 10px; }
.marquee { overflow: hidden; background: radial-gradient(ellipse 60% 140% at 30% 0%, #55514D, #2B2B2C 70%); color: #F2F1EE; padding-block: 18px; transform: rotate(-1.2deg); width: 104%; margin-inline: -2%; box-shadow: 0 18px 40px -26px rgba(35, 34, 32, .7); }
[dir="rtl"] .marquee { transform: rotate(1.2deg); }
.marquee-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: mq-rtl; }
.mq-set { display: flex; align-items: center; gap: 28px; padding-inline-end: 28px; }
.mq-set b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; line-height: 1.2; }
.mq-set i { width: 16px; height: 16px; border-radius: 50%; flex: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.mq-set i.c1 { background: #F2F1EE; } .mq-set i.c2 { background: var(--sand); } .mq-set i.c3 { background: #8FAFA8; }
.mq-set i.c4 { background: #93A4B6; } .mq-set i.c5 { background: #A99FB3; } .mq-set i.c6 { background: #C4A69B; }
.marquee-top { padding-block: 0; margin: 0; }
.marquee-top .marquee, [dir="rtl"] .marquee-top .marquee { transform: none; width: 100%; margin: 0; padding-block: 11px; box-shadow: none; }
.marquee-top .mq-set { gap: 22px; padding-inline-end: 22px; }
.marquee-top .mq-set b { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; }
.marquee-top .mq-set i { width: 10px; height: 10px; }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mq-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section.pt-sm { padding-top: clamp(24px, 3vw, 40px); }
.band { background: var(--bg-2); }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 780px; margin-bottom: clamp(30px, 4.5vw, 52px); }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.08rem; max-width: 40em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--sand-text); }
.kicker::before { content: ""; width: 22px; height: 7px; background: repeating-linear-gradient(180deg, var(--sand) 0 1px, transparent 1px 3px); }
.kicker-teal { color: var(--teal-text); }
.kicker-teal::before { background: repeating-linear-gradient(180deg, var(--teal) 0 1px, transparent 1px 3px); }
.section h2 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); line-height: 1.35; }
html[lang="en"] .section h2 { line-height: 1.1; letter-spacing: -.02em; }
.note { color: var(--faint); font-size: .9rem; }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(24px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.42em + 4px); width: 5px; height: 9px; border: solid var(--teal-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px) clamp(32px, 4vw, 56px); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 90% at 88% 10%, var(--page-soft), transparent 70%); }
[dir="rtl"] .page-hero::before { background: radial-gradient(ellipse 50% 90% at 12% 10%, var(--page-soft), transparent 70%); }
.page-hero::after { content: ""; position: absolute; width: clamp(160px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%; inset-inline-end: -40px; top: -60px; background: repeating-linear-gradient(180deg, var(--page) 0 6px, transparent 6px 12px); opacity: .22; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); mask-image: radial-gradient(circle, #000 60%, transparent 71%); }
.page-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); line-height: 1.32; max-width: 16em; }
html[lang="en"] .page-hero h1 { line-height: 1.06; letter-spacing: -.02em; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--faint); font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--c-soft); color: var(--c-text); font-size: .86rem; font-weight: 700; }

/* ---------- Worlds (home) ---------- */
.worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.world { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
.world-vis { position: relative; height: 260px; overflow: hidden; }
.world-web .world-vis { background: linear-gradient(160deg, #EFEDE9, #DEDAD4); }
.world-3d .world-vis { background: linear-gradient(160deg, #E8EFEC, #D0DED9); display: grid; place-items: center; }
.world-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 28px 30px; flex: 1; }
.world-tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; font-weight: 500; padding: 3px 9px; border-radius: 6px; }
.world-web .world-tag, .lc-web .world-tag { background: var(--accent-soft); color: var(--fg); }
.world-3d .world-tag, .lc-3d .world-tag { background: var(--teal-soft); color: var(--teal-text); }
.world h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.world-body > p { color: var(--muted); }
.world-list { list-style: none; margin: 4px 0 8px; padding: 0; width: 100%; display: flex; flex-direction: column; }
.world-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: color .2s ease, padding .25s var(--ease); }
.world-list li:last-child a { border-bottom: 1px solid var(--line); }
.world-web .world-list a:hover { color: var(--sand-text); padding-inline-start: 8px; }
.world-3d .world-list a:hover { color: var(--teal-text); padding-inline-start: 8px; }
.mini-site { position: absolute; width: 58%; aspect-ratio: 16 / 10.5; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 40px -20px rgba(35, 34, 32, .5), 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .6s var(--ease); }
.mini-screen { position: absolute; inset: 0; container-type: inline-size; }
.mini-site.m1 { inset-inline-start: 6%; top: 18%; transform: rotate(-6deg); }
.mini-site.m2 { inset-inline-start: 22%; top: 10%; z-index: 2; transform: rotate(1deg); }
.mini-site.m3 { inset-inline-start: 38%; top: 24%; transform: rotate(7deg); }
.world-web:hover .m1 { transform: rotate(-9deg) translateX(-14px); }
.world-web:hover .m3 { transform: rotate(10deg) translateX(14px); }
.world-web:hover .m2 { transform: translateY(-8px); }
@media (max-width: 900px) { .worlds { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .world-vis { height: 210px; } .world-body { padding: 22px 20px 24px; } }

/* layer stack (shared by worlds + bento) */
.vp { position: relative; width: 150px; height: 170px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.vp.vp-lg { width: 200px; height: 220px; }
.vp-stack { display: flex; flex-direction: column-reverse; align-items: center; gap: 1.5px; margin-bottom: 8px; }
.vp-stack i { display: block; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #4A6863, #7E9F98 45%, #C9DCD7 60%, #4A6863); transition: transform .25s ease, opacity .25s ease; }
.vp-lg .vp-stack i { height: 5px; }
.vp-stack.multi i { background: linear-gradient(90deg, rgba(0, 0, 0, .14), rgba(255, 255, 255, .35) 55%, rgba(0, 0, 0, .14)), var(--lc, var(--teal)); }
.vp-stack i.off { transform: scaleX(.2); opacity: 0; }
.vp-nozzle { position: absolute; top: 0; left: 50%; width: 16px; height: 22px; margin-left: -8px; background: #5E6661; clip-path: polygon(0 0, 100% 0, 100% 55%, 62% 100%, 38% 100%, 0 55%); opacity: 0; transition: opacity .3s ease; }
.vp-bed { width: 140px; height: 7px; border-radius: 4px; background: #CBD0CA; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); }
.vp-lg .vp-bed { width: 190px; }
.printing .vp-nozzle { opacity: 1; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: border-color .35s ease, transform .35s ease, opacity .8s var(--ease), box-shadow .35s ease; scroll-margin-top: calc(var(--header-h) + 20px); }
.tile:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 24px 50px -30px var(--c); }
.tile:target { border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft), var(--shadow-1); }
.tile-vis { flex: 1; min-height: 190px; display: grid; place-items: center; padding: 24px; background: var(--c-soft); }
.tile-txt { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.tile-tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; color: var(--c-text); }
.tile h2, .tile h3 { font-size: 1.28rem; line-height: 1.45; }
html[lang="en"] .tile h2 { line-height: 1.2; }
.tile p { color: var(--muted); font-size: .97rem; max-width: 34em; }
.tile-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; }
.tile-list li { position: relative; padding-inline-start: 18px; font-size: .92rem; color: var(--fg); }
.tile-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tile-link { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; color: var(--c-text); text-decoration: none; align-self: flex-start; }
.tile-link:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .tile-link:hover .arrow { transform: scaleX(-1) translateX(4px); }
.t-design { grid-column: span 2; grid-row: span 2; }
.t-redesign, .t-print, .t-model { grid-column: span 2; flex-direction: row; align-items: stretch; }
.t-redesign .tile-vis, .t-print .tile-vis, .t-model .tile-vis { flex: 0 0 40%; min-height: 220px; }
.t-redesign .tile-txt, .t-print .tile-txt, .t-model .tile-txt { flex: 1; justify-content: center; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-design { grid-row: auto; } }
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-design, .t-redesign, .t-print, .t-model { grid-column: auto; }
  .t-redesign, .t-print, .t-model { flex-direction: column; }
  .t-redesign .tile-vis, .t-print .tile-vis, .t-model .tile-vis { flex: none; min-height: 180px; }
}
.vd { position: relative; width: 100%; max-width: 460px; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; background: #F6F0E7; box-shadow: 0 30px 60px -30px rgba(35, 34, 32, .45); display: flex; flex-direction: column; }
.vd-bar { display: flex; gap: 5px; padding: 9px 12px; background: #EDE5D8; }
.vd-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D3C7B5; }
.vd-body { flex: 1; display: flex; flex-direction: column; gap: 9%; padding: 6% 7%; }
.vd-nav { display: flex; align-items: center; gap: 6%; }
.vd-nav b { width: 16%; height: 10px; border-radius: 3px; background: #24170F; }
.vd-nav i { width: 9%; height: 6px; border-radius: 3px; background: #B9A994; }
.vd-nav i:first-of-type { margin-inline-start: auto; }
.vd-nav em { width: 14%; height: 16px; border-radius: 999px; background: #24170F; }
.vd-hero { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 8%; align-items: center; }
.vd-txt { display: flex; flex-direction: column; gap: 9px; }
.vd-txt i { height: 12px; border-radius: 4px; background: #24170F; }
.vd-txt i.s { width: 60%; height: 7px; background: #9C8B77; }
.vd-txt b { width: 42%; height: 18px; border-radius: 999px; background: #2B2B2C; margin-top: 4px; }
.vd-img { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #8E4F24 0 34%, #fff 35% 48%, #EADFCF 49%); }
.vd-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.vd-row i { height: 26px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(36, 23, 15, .08); }
.vd * { transition: background-color .5s ease, box-shadow .5s ease; }
.vd-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; background-image: linear-gradient(rgba(110, 129, 150, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 129, 150, .2) 1px, transparent 1px); background-size: 16px 16px; }
.t-design:hover .vd, .t-design:focus-within .vd { background: #fff; }
.t-design:hover .vd-grid, .t-design:focus-within .vd-grid { opacity: 1; }
.t-design:hover .vd-body *, .t-design:focus-within .vd-body * { background: transparent !important; box-shadow: none; outline: 1.5px dashed #6E8196; outline-offset: -1px; }
.vr { position: relative; display: flex; align-items: center; gap: 14px; }
.vr-card { width: 110px; aspect-ratio: 4 / 5; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 7px; transition: transform .5s var(--ease), opacity .5s ease; }
.vr-card b { font-size: .74rem; font-weight: 700; }
.vr-card i { display: block; height: 8px; border-radius: 2px; }
.vr-card i.s { width: 60%; }
.vr-old { background: #fff; border-radius: 4px; color: #fff; padding: 0; gap: 0; overflow: hidden; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35); }
.vr-old b { padding: 5px 8px; background: #4e342e; font-family: Tahoma, sans-serif; font-weight: bold; }
.vr-old i { background: #d6d6d6; height: 5px; margin: 6px 8px 0; border-radius: 2px; }
.vr-old i:first-of-type { height: 46px; margin: 0; border-radius: 0; background: radial-gradient(circle at 30% 40%, rgba(255, 210, 140, .6) 0 6px, transparent 7px), linear-gradient(135deg, #3b2314, #7a4a24); }
.vr-old i.s { width: 50%; height: 10px; margin: auto auto 8px; background: #43a047; }
.vr-new { background: #fff; color: #33424F; box-shadow: 0 20px 40px -18px rgba(74, 92, 112, .55); }
.vr-new i { background: #33424F; }
.vr-new i.s { background: var(--slate); height: 14px; border-radius: 999px; width: 50%; margin-top: auto; }
.vr-arrow { width: 22px; height: 22px; color: var(--slate); }
.t-redesign:hover .vr-old { transform: scale(.88) rotate(-4deg); opacity: .55; }
.t-redesign:hover .vr-new { transform: scale(1.08) rotate(2deg); }
.vh { width: 100%; max-width: 250px; display: flex; flex-direction: column; gap: 10px; }
.vh-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -10px rgba(95, 84, 107, .45); font-size: .84rem; }
.vh-row b { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; }
.vh-row svg { width: 15px; height: 15px; fill: none; stroke: #8A7F96; stroke-width: 2; flex: none; }
.vh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); flex: none; }
.vh-bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; padding: 0 4px; }
.vh-bars i { flex: 1; border-radius: 2px; background: rgba(138, 127, 150, .55); height: var(--h, 60%); transition: height .6s var(--ease); }
.vm { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 250px; display: flex; flex-direction: column; gap: 8px; }
.vm li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -10px rgba(116, 96, 63, .45); font-size: .86rem; color: var(--muted); }
.vm i { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; transition: background-color .3s ease, border-color .3s ease; }
.vm i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.vm li.done i { background: #B59A6E; border-color: #B59A6E; }
.vm li.done i::after { transform: rotate(45deg) scale(1); }
.vm li.done { color: var(--fg); }
.vc { position: relative; width: 120px; height: 120px; perspective: 600px; }
.vc-cube { position: absolute; inset: 0; transform-style: preserve-3d; animation: spin 14s linear infinite; }
.vc-cube i { position: absolute; inset: 0; border: 1.5px solid rgba(168, 133, 122, .8); background: rgba(168, 133, 122, .06); }
.vc-cube i:nth-child(1) { transform: translateZ(60px); } .vc-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(60px); }
.vc-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(60px); } .vc-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(60px); }
.vc-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(60px); } .vc-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); }
.vc-cube.in { inset: 30px; animation-direction: reverse; animation-duration: 9s; }
.vc-cube.in i { border-color: rgba(111, 143, 136, .9); }
.vc-cube.in i:nth-child(1) { transform: translateZ(30px); } .vc-cube.in i:nth-child(2) { transform: rotateY(180deg) translateZ(30px); }
.vc-cube.in i:nth-child(3) { transform: rotateY(90deg) translateZ(30px); } .vc-cube.in i:nth-child(4) { transform: rotateY(-90deg) translateZ(30px); }
.vc-cube.in i:nth-child(5) { transform: rotateX(90deg) translateZ(30px); } .vc-cube.in i:nth-child(6) { transform: rotateX(-90deg) translateZ(30px); }
@keyframes spin { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.t-model:hover .vc-cube { animation-duration: 5s; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border: solid var(--fg); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Work ---------- */
.work-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 4vw, 44px); }
.work-top .section-head { margin-bottom: 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.chip-btn { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); font-size: .9rem; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.chip-btn:hover { color: var(--fg); border-color: var(--fg); }
.chip-btn[aria-pressed="true"] { background: var(--fg); color: var(--surface); border-color: var(--fg); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wcard { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: inherit; text-decoration: none; transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease, opacity .5s ease; }
.wcard:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -36px rgba(18, 22, 19, .45); }
.wcard.filtered-out { display: none; }
.wcard.featured { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.wc-devices { position: relative; flex: 0 0 58%; min-height: 380px; display: flex; align-items: center; justify-content: center; padding: 40px 48px; background: linear-gradient(150deg, #EFEDE9, #F2ECE2 55%, #E3EBE8); overflow: hidden; }
.dev-laptop { position: relative; width: 86%; }
.dev-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 12px 12px 0 0; overflow: hidden; border: 8px solid #1C1F1D; border-bottom-width: 12px; container-type: inline-size; background: #fff; }
.dev-base { display: block; height: 12px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(#C9CDC7, #9DA39C); box-shadow: 0 24px 40px -16px rgba(18, 22, 19, .5); }
.dev-phone { position: absolute; width: 21%; inset-inline-end: 7%; bottom: 13%; aspect-ratio: 9 / 19; border-radius: 22px; padding: 5px; background: #1C1F1D; box-shadow: 0 30px 50px -18px rgba(18, 22, 19, .6); }
.dev-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; container-type: inline-size; background: #fff; }
.wc-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 30px; justify-content: center; min-width: 0; }
.wc-body h2 { font-size: 1.7rem; }
.wc-body p { color: var(--muted); font-size: .98rem; }
.wc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wcard.demo { cursor: pointer; }
.wc-prev { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; background: linear-gradient(150deg, var(--raised), var(--raised-2)); }
.wc-prev-dark { background: linear-gradient(150deg, #EFEDE9, #E3EBE8); }
.wc-prev .dev-screen { position: absolute; inset: 8% 9% -4% 9%; aspect-ratio: auto; border-width: 6px; border-radius: 12px 12px 0 0; transition: transform .6s var(--ease); }
.wc-prev .dev-phone { width: 19%; inset-inline-end: 5%; bottom: -10%; border-radius: 18px; padding: 4px; transition: transform .6s var(--ease); }
.wc-prev .dev-phone-screen { border-radius: 14px; }
.wcard:hover .wc-prev .dev-screen { transform: translateY(-6px) scale(1.015); }
.wcard:hover .wc-prev .dev-phone { transform: translateY(-14px); }
.wc-open { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18, 21, 18, .22); opacity: 0; transition: opacity .3s ease; z-index: 2; }
.wc-open span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--fg); color: var(--surface); font-weight: 700; font-size: .9rem; transform: translateY(8px); transition: transform .35s var(--ease); }
.wc-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wcard.demo:hover .wc-open { opacity: 1; }
.wcard.demo:hover .wc-open span { transform: none; }
.wc-hit { position: absolute; inset: 0; z-index: 3; background: transparent; border: 0; padding: 0; cursor: pointer; border-radius: inherit; }
.wc-hit:focus-visible { outline: 3px solid var(--fg); outline-offset: -3px; }
.wcard.demo:has(.wc-hit:focus-visible) .wc-open { opacity: 1; }
.wc-demo-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.wc-demo-body h3 { font-size: 1.2rem; }
.wc-demo-body p { color: var(--muted); font-size: .94rem; }
.wc-demo-body .text-link { margin-top: auto; padding-top: 4px; }
.wc-sector { font-size: .82rem; color: var(--faint); font-weight: 600; }
.wcard.slot { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; padding: 22px 26px; border: 2px dashed var(--line-strong); background: transparent; box-shadow: none; }
.wcard.slot:hover { border-color: var(--sand); }
.slot-plus { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sand-soft); font-size: 1.6rem; color: var(--sand-text); transition: transform .35s ease, background-color .35s ease, color .35s ease; }
.wcard.slot:hover .slot-plus { transform: rotate(90deg); background: var(--accent); color: #fff; }
.slot-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.slot-title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.slot-text { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .work-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work-grid.cols-3 > :first-child { grid-column: 1 / -1; } }
@media (max-width: 960px) { .wcard.featured { flex-direction: column; } .wc-devices { flex: none; min-height: 0; padding: 32px 24px 40px; } }
@media (max-width: 700px) { .work-grid, .work-grid.cols-3 { grid-template-columns: minmax(0, 1fr); } .wcard.slot { flex-direction: column; align-items: flex-start; } }

/* ---------- Dialog ---------- */
.dlg { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-l); background: var(--surface); color: var(--fg); box-shadow: 0 60px 120px -40px rgba(18, 22, 19, .6); overflow: auto; }
.dlg::backdrop { background: rgba(18, 22, 19, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgIn .35s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg-head { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 14px 18px; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dlg-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.dlg-title h3 { font-size: 1.2rem; }
.dlg-sector { color: var(--faint); font-size: .86rem; }
.dlg-actions { display: flex; align-items: center; gap: 10px; }
.dlg-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); cursor: pointer; display: grid; place-items: center; }
.dlg-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dlg-close:hover { border-color: var(--fg); }
.dlg-stage-wrap { padding: 20px; display: flex; justify-content: center; background: var(--bg-2); }
.dlg-stage { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); transition: max-width .45s var(--ease); max-width: 100%; box-shadow: var(--shadow-1); }
.dlg-stage:not(.mobile) { max-width: min(100%, calc((100vh - 220px) * 1.7)); }
.dlg-stage.mobile { max-width: min(380px, calc((100vh - 240px) * .53)); border-radius: 30px; border: 8px solid #1C1F1D; }
.dlg-stage.mobile .br-bar { display: none; }
.dlg-stage .ba { aspect-ratio: 16 / 9.4; }
.dlg-stage.mobile .ba { aspect-ratio: 9 / 17; }
.dlg-foot { padding: 12px 20px 16px; font-size: .84rem; color: var(--faint); }

/* ---------- 3D teaser (home) ---------- */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-l); overflow: hidden; background: radial-gradient(ellipse 70% 80% at 30% 30%, #57534F, #232323 72%); box-shadow: var(--shadow-2); }
[dir="rtl"] .teaser { background: radial-gradient(ellipse 70% 80% at 70% 30%, #57534F, #232323 72%); }
.teaser-view { position: relative; min-height: 460px; }
.teaser-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.teaser-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(28px, 4vw, 56px); justify-content: center; }
.teaser-txt h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.25; }
.teaser-txt > p { color: var(--muted); }
.on-dark .ticks li::before { background: rgba(169, 196, 190, .16); }
@media (max-width: 900px) { .teaser { grid-template-columns: minmax(0, 1fr); } .teaser-view { min-height: 360px; } }

/* ---------- Print lab (3D page) ---------- */
.lab { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-2); scroll-margin-top: calc(var(--header-h) + 20px); }
.lab-view { position: relative; min-height: 580px; background: radial-gradient(ellipse 70% 60% at 50% 35%, #55514D, #232323 72%); }
.lab-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.lab-view canvas.grabbing { cursor: grabbing; }
.lab-hud { position: absolute; top: 16px; inset-inline: 16px; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--muted); pointer-events: none; }
.lab-hud > span { padding: 5px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lab-hud b { color: var(--fg); font-weight: 500; }
.lab-hud .hud-status { color: var(--accent-text); }
.lab-hud .hud-status.done { color: var(--teal-text); }
.lab-controls { position: absolute; bottom: 16px; inset-inline: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.lab-hint { position: absolute; top: 54px; inset-inline: 16px; font-size: .8rem; color: var(--faint); pointer-events: none; }
.lab-panel { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: clamp(22px, 3.4vw, 40px); }
.lab-panel h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; }
html[lang="en"] .lab-panel h2 { line-height: 1.15; }
.lab-panel > p { color: var(--muted); }
.lab-panel .form { width: 100%; }
@media (max-width: 960px) { .lab { grid-template-columns: minmax(0, 1fr); } .lab-view { min-height: 440px; } }
@media (max-width: 480px) { .lab-view { min-height: 400px; } .lab-hud > span:nth-child(2), .lab-hud > span:nth-child(3) { display: none; } }

.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }
.prod { display: flex; flex-direction: column; border-radius: var(--r-m); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); min-width: 0; transition: border-color .35s ease, opacity .8s var(--ease), transform .8s var(--ease); }
.prod:hover { border-color: var(--teal); }
.prod-plate { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden; background-color: #DDE1DB; background-image: radial-gradient(ellipse at 50% 85%, rgba(255, 255, 255, .7), transparent 60%), linear-gradient(rgba(18, 22, 19, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 22, 19, .06) 1px, transparent 1px); background-size: auto, 20px 20px, 20px 20px; }
.prod-plate svg { width: 74%; transition: transform .6s var(--ease); filter: drop-shadow(0 14px 14px rgba(18, 22, 19, .3)); }
.p-body { fill: var(--f); }
.prod:hover .prod-plate svg { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
.prod-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.prod-cat { font-size: .8rem; color: var(--teal-text); font-weight: 700; }
.prod-body h3 { font-size: 1.12rem; line-height: 1.45; }
.prod-body p { color: var(--muted); font-size: .94rem; }
.prod-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { font-size: .9rem; color: var(--muted); }
.price b { font-family: var(--f-display); font-size: 1.55rem; color: var(--fg); font-weight: 700; margin-inline-end: 2px; font-variant-numeric: tabular-nums; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-form { padding: clamp(20px, 3.4vw, 34px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field-row > .field { flex: 0 0 auto; }
.field-row > .field.grow { flex: 1 1 200px; }
.field label, .field legend { font-size: .92rem; font-weight: 700; color: var(--fg); padding: 0; }
.field small { color: var(--faint); font-weight: 500; }
.field input[type="text"], .field input[type="url"], .field input[type="tel"], .field input[type="number"], .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--fg); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.lab-panel .field input:focus, .form-teal .field :is(input, textarea):focus { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 600; }
.sw-name { font-style: normal; font-weight: 600; color: var(--teal-text); margin-inline-start: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { position: relative; cursor: pointer; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw span { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--surface), 0 0 0 3px transparent; transition: box-shadow .2s ease, transform .2s ease; }
.sw span.silk { background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85), transparent 38%), var(--c); }
.sw span.multi { background: conic-gradient(#D7263D, #FF6A1F, #F5C518, #1F9D55, #2463EB, #8E44AD, #D7263D); }
.sw em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sw:hover span { transform: scale(1.08); }
.sw input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--surface), 0 0 0 5px var(--teal); }
.sw input:focus-visible + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--bg); }
.stepper button { width: 44px; height: 46px; border: 0; background: transparent; color: var(--fg); font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: var(--raised-2); }
.stepper input[type="number"] { width: 52px; min-height: 46px; border: 0; border-radius: 0; text-align: center; padding: 0; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { box-shadow: none !important; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .2s ease; }
.pills-sm .pill span { padding: 7px 13px; font-size: .84rem; }
.pill:hover span { color: var(--fg); border-color: var(--fg); }
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill-teal input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field.invalid .pill span { border-color: var(--danger); }
.form-result { padding: 16px; border-radius: 14px; background: #E5F8EC; border: 1px solid rgba(37, 211, 102, .45); display: flex; flex-direction: column; gap: 12px; }
.form-result p { font-size: .94rem; font-weight: 600; }
.form-result .row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Process ---------- */
.track { position: relative; }
.track-line { position: absolute; top: 0; inset-inline: 0; height: 3px; border-radius: 3px; background: var(--raised-2); }
.track-line i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; border-radius: 3px; background: linear-gradient(90deg, #2B2B2C, #8E8A86, var(--sand)); transform-origin: left center; transform: scaleX(var(--tp, 0)); }
[dir="rtl"] .track-line i { transform-origin: right center; background: linear-gradient(270deg, #2B2B2C, #8E8A86, var(--sand)); }
.track-line b { position: absolute; top: -9px; inset-inline-start: calc(var(--tp, 0) * 100%); width: 21px; height: 21px; margin-inline-start: -10px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 4px 14px rgba(35, 34, 32, .3); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 36px 22px 8px 0; min-width: 0; }
[dir="rtl"] .step { padding: 36px 0 8px 22px; }
.step-n { font-family: var(--f-mono); font-size: .8rem; color: var(--faint); transition: color .3s ease; }
.step.lit .step-n { color: var(--sand-text); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .track-line { top: 0; bottom: 0; inset-inline-start: 9px; inset-inline-end: auto; width: 3px; height: auto; }
  .track-line i, [dir="rtl"] .track-line i { transform-origin: center top; transform: scaleY(var(--tp, 0)); background: linear-gradient(180deg, #2B2B2C, #8E8A86, var(--sand)); }
  .track-line b { top: calc(var(--tp, 0) * 100%); inset-inline-start: -9px; margin: -10px 0 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .step, [dir="rtl"] .step { padding: 6px 0 22px; padding-inline-start: 40px; }
}

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(48px, 7vw, 96px); }
.cta-inner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-l); background: radial-gradient(ellipse 70% 120% at 15% 0%, #66615C, #2B2B2C 68%); color: #F2F1EE; box-shadow: 0 40px 80px -40px rgba(35, 34, 32, .7); }
[dir="rtl"] .cta-inner { background: radial-gradient(ellipse 70% 120% at 85% 0%, #66615C, #2B2B2C 68%); }
.cta-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(255, 255, 255, .05) 9px 11px); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
[dir="rtl"] .cta-inner::after { -webkit-mask-image: linear-gradient(270deg, transparent 40%, #000); mask-image: linear-gradient(270deg, transparent 40%, #000); }
.cta-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; max-width: 34em; }
.cta-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.25; }
.cta-copy p { font-size: 1.08rem; color: #C9C5C0; }
.cta-inner .btn-ink { background: #fff; color: var(--fg); }
.cta-inner .btn-ink:hover { background: var(--sand-soft); }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.story-txt p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.story-vis { padding: 32px; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.layers { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.layers span { display: block; width: var(--w); height: 18px; border-radius: 9px; background: linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(255, 255, 255, .35) 55%, rgba(0, 0, 0, .12)), var(--c); }
.layers-cap { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: .74rem; color: var(--faint); letter-spacing: .06em; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.value-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-text); margin-bottom: 6px; }
.value-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.18rem; }
.value p { color: var(--muted); font-size: .95rem; }
.link-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.link-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: var(--r-l); text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .3s ease; }
.lc-web { background: linear-gradient(150deg, #F6F5F2, #E6E3DE); }
.lc-3d { background: linear-gradient(150deg, #EEF3F1, #D8E4E0); }
.link-card b { font-family: var(--f-display); font-size: 1.5rem; }
.link-card > span:not(.world-tag) { color: var(--muted); }
.link-card .arrow { position: absolute; inset-inline-end: 28px; top: 28px; width: 24px; height: 24px; }
.link-card:hover { transform: translateY(-3px); }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .values, .link-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Start & contact ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.start-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { padding: 26px; border-radius: var(--r-l); background: linear-gradient(160deg, #F6F3EE, #EFEAE1); border: 1px solid var(--line); }
.side-card h2 { font-size: 1.3rem; margin-bottom: 16px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.ns-n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: .9rem; }
.next-steps b { display: block; margin-bottom: 2px; }
.next-steps p { color: var(--muted); font-size: .94rem; }
.contact-list { margin: 0; display: grid; }
.contact-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .92rem; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--sand-text); }
@media (max-width: 900px) { .start-grid { grid-template-columns: minmax(0, 1fr); } .start-side { position: static; } }
.contact-cards { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; }
.ccard { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); text-decoration: none; color: var(--fg); transition: transform .3s ease, border-color .3s ease; min-width: 0; }
a.ccard:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.cc-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--raised); margin-bottom: 8px; }
.cc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-label { font-size: .86rem; color: var(--muted); font-weight: 600; }
.cc-val { font-size: 1.05rem; word-break: break-word; }
.cc-wa { background: linear-gradient(150deg, #2BDB6E, #1FB866); color: #04301A; border: 0; }
.cc-wa .cc-ico { background: rgba(255, 255, 255, .35); }
.cc-wa .cc-label { color: rgba(4, 48, 26, .75); }
.cc-wa .cc-val { font-size: 1.35rem; }
.cc-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px calc(24px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, #2B2B2C, #8E8A86, #C2A97F, #8FAFA8, #93A4B6); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: block; width: 210px; color: var(--fg); }
.logo-full { display: block; width: 100%; height: auto; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 30em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font-size: .8rem; font-weight: 700; color: var(--faint); letter-spacing: .04em; margin-bottom: 4px; }
.footer-col a { color: var(--fg); text-decoration: none; font-size: .95rem; width: fit-content; }
.footer-col a:hover { color: var(--sand-text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: .85rem; padding-bottom: 64px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; z-index: 70; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #05301A; text-decoration: none; font-weight: 700; font-size: .95rem; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .65), 0 4px 12px rgba(18, 22, 19, .2); transition: transform .25s ease; }
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.wa-float svg .fill { fill: currentColor; stroke: none; }
@media (max-width: 640px) { .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-label { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal.pending { opacity: 1; transform: none; }
  .sc-frame { --tilt: 0deg !important; --tscale: 1 !important; }
  .marquee-track { animation: none; }
}
