/* Mehmed Arif Design — preview build. No external fonts or scripts (GDPR-friendly). */
:root {
  --bg: #ffffff;
  --surface: #f3f4f6;
  --ink: #121212;
  --ink-soft: #4a4d55;
  --line: #d9dbe0;
  --line-strong: #121212;
  --accent: #003fc5;
  --accent-ink: #ffffff;
  --accent-soft: #e8eefb;
  --link: #002a80;
  --highlight: #ffd140;
  --brand-red: #ec3013;     /* logo square */
  --brand-red-ink: #ae1800; /* logo subtitle on light backgrounds */
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 0;
  /* Light theme only, also when the visitor's system uses dark mode */
  color-scheme: only light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 6.2vw, 5.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.kicker::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.accent { color: var(--accent); }

/* Preview ribbon */
.preview-bar { background: var(--highlight); color: #121212; font-size: 13px; font-weight: 700; text-align: center; padding: 6px 12px; letter-spacing: .02em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; margin-right: auto; }
.brand { gap: 14px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 5px; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--brand-red-ink); margin-top: 3px; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line-strong); }
.lang a { font-size: 12px; font-weight: 700; padding: 6px 9px; text-decoration: none; color: var(--ink); }
.lang a + a { border-left: 1px solid var(--line-strong); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.nav-links a, .brand-sub, .nav .btn { white-space: nowrap; }
.nav .btn-primary { padding: 13px 18px; }
@media (max-width: 1200px) { .nav { gap: 18px; } .nav-links { gap: 16px; } .nav-links a { font-size: 14px; } }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; flex: none; background: none; border: 1px solid var(--line-strong); color: var(--ink); padding: 0; cursor: pointer; }
.burger, .burger::before, .burger::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: currentColor; transition: transform .2s, background .2s; }
.burger { top: 50%; margin-top: -1px; }
.burger::before, .burger::after { content: ""; left: 0; margin-left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.menu-btn[aria-expanded="true"] .burger { background: transparent; }
.menu-btn[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--font); padding: 16px 22px; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: #121212; }
.btn-white { background: #fff; border-color: #fff; color: #00339e; }
.btn-white:hover { background: #121212; border-color: #121212; color: #fff; }
.btn-paypal { background: var(--highlight); border-color: var(--highlight); color: #121212; }
.btn-paypal:hover { background: #121212; border-color: #121212; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow::after { content: "→"; transition: transform .2s; }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(4px); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.hero h1 .thin { font-weight: 300; display: block; color: var(--ink-soft); font-size: .46em; line-height: 1.2; letter-spacing: -0.015em; margin-top: .55em; max-width: 24ch; }
.hero .lead { margin-top: 28px; }
.hero .btn-row { margin-top: 36px; }
.tagline { margin-top: 18px; font-size: 15px; font-weight: 700; letter-spacing: .02em; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tagline span + span::before { content: "/"; margin-right: 14px; color: var(--accent); }

/* Slideshow */
/* Slides are stacked in one grid cell: the image keeps its 4:5 post format, the caption sits below it (posts carry their own text) */
.slides { position: relative; display: grid; overflow: hidden; background: #121212; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; color: #fff; text-decoration: none; -webkit-user-drag: none; }
.slide.on { opacity: 1; visibility: visible; }
.slide img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; display: block; pointer-events: none; }
.slide-cap { flex: 1; padding: 16px 18px 56px; background: #121212; display: flex; flex-direction: column; gap: 4px; }
.slide-cap strong { font-size: 1.35rem; letter-spacing: -0.01em; }
.slide-cap small { font-size: 13px; opacity: .85; }
.slide-link { font-size: 13px; font-weight: 700; margin-top: 6px; }
.slide:hover .slide-link, .slide:focus-visible .slide-link { text-decoration: underline; }
.badge-new, .need .badge-new, .need.active .badge-new { align-self: flex-start; background: #ffb3a6; color: #000; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; vertical-align: middle; line-height: 1.3; }
.slide .badge-new { background: #fff; }
h3 .badge-new { font-size: 11px; letter-spacing: .1em; margin-left: 8px; position: relative; top: -4px; }
.trust { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.role { font-size: 1.2rem; color: var(--brand-red-ink); font-weight: 700; margin: 10px 0 0; }
.slides figcaption, .fig-cap { font-size: 13px; color: var(--ink-soft); margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; }
.slide-dots { position: absolute; left: 8px; bottom: 6px; display: flex; gap: 2px; z-index: 2; }
/* 44px tall tap target, 4px visible bar */
.slide-dots button { width: 34px; height: 44px; border: 0; padding: 0; background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)) center / 26px 4px no-repeat; cursor: pointer; }
.slide-dots button[aria-current="true"] { background-image: linear-gradient(#fff, #fff); }
.slide-toggle { position: absolute; right: 10px; bottom: 10px; z-index: 2; min-height: 36px; background: rgba(255,255,255,.12); color: #fff; border: 0; font: 700 12px var(--font); padding: 8px 12px; cursor: pointer; }

/* Stats */
.stats { border-top: 2px solid var(--line-strong); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.stats > div { padding: 30px 28px 30px 0; }
.stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 0 0 8px; }
.stat-num sup { color: var(--accent); font-size: .5em; vertical-align: top; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--surface); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.service { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); position: relative; }
.service:nth-child(3n+2), .service:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--line); }
.service .num { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 40px; display: block; }
.service p { color: var(--ink-soft); margin: 10px 0 0; font-size: 15.5px; }
a.service { color: var(--ink); text-decoration: none; display: block; transition: background .2s; }
a.service:hover { background: var(--accent-soft); }
.service .from { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent); }
a.service:hover .from::after { content: " →"; }
.service.cta { display: flex; align-items: flex-end; }
.img-ux { background: #0f1a3a; display: grid; place-items: center; }
.img-ux img { object-fit: contain; filter: none; }

/* Home: package teaser */
.mini-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mini-plan { background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; transition: background .2s; }
.mini-plan:hover { background: var(--accent-soft); }
.mini-plan .badge { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.mini-plan .price { font-size: 2.2rem; margin: 4px 0; }
.mini-plan .muted { font-size: 14px; }
.mini-plan.featured { background: var(--ink); color: var(--bg); }
.mini-plan.featured .muted { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.mini-plan.featured .badge { color: var(--highlight); }

/* "Recommended" stamp on the Medium package (a label only, not a price reduction) */
.plan, .mini-plan { position: relative; }
.stamp { position: absolute; top: -14px; right: 14px; z-index: 2; width: 74px; height: 74px; border-radius: 50%; background: var(--brand-red); color: #fff; display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; padding: 6px; transform: rotate(-12deg); box-shadow: 0 4px 14px rgba(236,48,19,.35); }
.mini-plan .stamp { width: 62px; height: 62px; font-size: 10px; top: -12px; right: 10px; }

/* Pricing: two paths (individual furniture / project packages) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.path { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; position: relative; transition: background .2s; }
.path:hover { background: var(--accent-soft); }
.path-no { position: absolute; top: 18px; right: 20px; font-size: 2.2rem; font-weight: 700; color: var(--brand-red); line-height: 1; }
.path strong { font-size: 1.3rem; padding-right: 40px; }
.path span:not(.path-no) { color: var(--ink-soft); font-size: 15px; }
.path em { font-style: normal; font-weight: 700; color: var(--accent); margin-top: auto; padding-top: 6px; }

/* Pricing: furniture calculator */
.calc { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border: 2px solid var(--ink); margin: 8px 0 8px; scroll-margin-top: 90px; background: var(--bg); }
.calc-main { padding: 28px 30px; }
.calc-main h3 { font-size: 1.6rem; }
.calc-main > .muted { margin: 10px 0 0; font-size: 15px; }
.calc fieldset { border: 0; padding: 0; margin: 28px 0 0; }
.calc legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 13px; }
.calc-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.calc-item { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.calc-item.picked { background: var(--accent-soft); }
.calc-item[hidden] { display: none; }
.calc-filter { margin: 0 0 10px; padding: 10px 12px; background: var(--accent-soft); font-size: 14px; }
.calc-filter a { font-weight: 700; }
.undecided { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 18px 22px; border: 2px dashed var(--line-strong); }
.undecided strong { display: block; font-size: 1.1rem; }
.undecided span { font-size: 14.5px; color: var(--ink-soft); }
.calc-name { font-size: 15px; font-weight: 600; }
.calc-name small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.calc-price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; font: 700 18px var(--font); cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--ink); color: var(--bg); }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }
.calc-other { margin: 14px 0 0; font-size: 14.5px; }
.calc-other a { font-weight: 700; }
.calc-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; }
.calc-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.calc-opt input { width: 18px; height: 18px; accent-color: var(--accent); }
.calc-opt strong { display: block; font-size: 15px; }
.calc-opt small { display: block; font-size: 13px; color: var(--ink-soft); }
.calc-opt b { white-space: nowrap; }
.calc-sum { background: var(--ink); color: var(--bg); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 90px; align-self: start; }
.calc-sum .kicker { color: var(--highlight); }
.calc-lines { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); }
.calc-lines li span:last-child { white-space: nowrap; font-weight: 700; }
.calc-lines .calc-empty { color: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 0; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 0; border-top: 2px solid var(--bg); padding-top: 12px; }
.calc-total strong { font-size: 2.4rem; letter-spacing: -0.03em; }
.calc-note { font-size: 13px; color: color-mix(in srgb, var(--bg) 72%, transparent); margin: 0; }
.calc-sum .btn { justify-content: center; }
.calc-sum .btn-primary { background: var(--highlight); border-color: var(--highlight); color: #121212; }
.calc-sum .btn-primary:hover { background: #fff; border-color: #fff; }
.calc-sum .btn-primary[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.calc-sum .btn:not(.btn-primary) { border-color: var(--bg); color: var(--bg); }
.calc-sum .btn:not(.btn-primary):hover { background: var(--bg); color: var(--ink); }
/* Running total bar for phones (created by site.js) */
.calc-bar { display: none; }
@media (max-width: 900px) {
  .calc-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; width: 100%; border: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--bg); font: 600 15px var(--font); text-align: left; cursor: pointer; transform: translateY(110%); transition: transform .25s ease; }
  .calc-bar.show { transform: none; }
  .calc-bar strong { margin-left: auto; font-size: 1.35rem; letter-spacing: -0.02em; }
  .calc-bar-go { display: inline-grid; place-items: center; width: 32px; height: 32px; background: var(--highlight); color: #121212; font-weight: 700; }
}
@media print { .calc-bar { display: none !important; } }
@media (max-width: 900px) {
  .paths, .calc { grid-template-columns: 1fr; }
  .calc-sum { position: static; }
}
@media (max-width: 600px) {
  .calc-main { padding: 22px 18px; }
  .calc-item { grid-template-columns: auto 1fr auto; }
  .calc-item .qty { grid-column: 2 / -1; justify-self: start; }
}

/* Pricing step 1: what do you need? */
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.need { background: var(--bg); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 6px; text-align: left; color: var(--ink); text-decoration: none; border: 0; font: inherit; cursor: pointer; position: relative; transition: background .2s; }
.need:hover, .need:focus-visible { background: var(--accent-soft); }
.need.active { background: var(--ink); color: var(--bg); }
.need.active span, .need.active em { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.need strong { font-size: 1.05rem; line-height: 1.25; }
.need span { font-size: 14px; color: var(--ink-soft); }
.need em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--accent); margin-top: auto; padding-top: 6px; }
.need .badge-new, .service .badge-new { position: absolute; top: 12px; right: 12px; }
.service h3 .badge-new { position: static; }
.consult { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; padding: 18px 22px; border-left: 4px solid var(--brand-red); background: var(--surface); }
.consult strong { display: block; font-size: 1.1rem; }
.consult span { font-size: 14.5px; color: var(--ink-soft); }
.track-all { margin-top: 16px; font-size: 14px; }
.tracks-on .track[hidden] { display: none; }
.services-4 { grid-template-columns: repeat(4, 1fr); }
.services-4 .service { padding: 24px 20px 26px 0; }
.services-4 .service:nth-child(n) { padding-left: 0; border-left: 0; }
.services-4 .service:not(:nth-child(4n+1)) { padding-left: 20px; border-left: 1px solid var(--line); }
.classes-4 { grid-template-columns: repeat(4, 1fr); }

/* Partner offer */
.offer { position: relative; display: flex; gap: 24px; align-items: flex-start; background: var(--ink); color: var(--bg); padding: 30px 32px; margin-bottom: 28px; border-left: 6px solid var(--brand-red); }
.offer-tag { flex-shrink: 0; background: var(--brand-red); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; transform: rotate(-3deg); }
.offer h3 { font-size: 1.5rem; color: var(--bg); }
.offer ul { margin: 14px 0 0; padding: 0; list-style: none; }
.offer li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; }
.offer li::before { content: "✓"; position: absolute; left: 0; color: var(--highlight); font-weight: 700; }
.offer-note { margin: 12px 0 0; font-size: 13px; color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* Forms (order dialog, partner request) */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--font); padding: 11px 12px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); border-radius: 0; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.form fieldset[hidden] { display: none; }
.checks legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.seg { flex-direction: row !important; gap: 0 !important; border: 1.5px solid var(--line-strong) !important; align-self: flex-start; }
.seg label { padding: 10px 16px; cursor: pointer; font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.seg label:has(input:checked) { background: var(--ink); color: var(--bg); }
.seg input { accent-color: var(--accent); }
/* Payment method in the order form: caption above the two choices */
.seg.pay { flex-wrap: wrap; border: 0 !important; }
.seg.pay legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.seg.pay label { border: 1.5px solid var(--line-strong); }
.seg.pay label + label { border-left: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 14.5px; font-weight: 700; min-height: 1em; }
.form-msg.ok { color: #0a7a3d; }
.form-msg.err { color: var(--brand-red-ink); }
.form-foot { font-size: 12.5px; margin: 0; }
.b2b-form { border: 2px solid var(--ink); padding: 28px 30px; background: var(--bg); }
dialog.modal { border: 0; padding: 0; width: min(640px, 94vw); max-height: 92vh; overflow: auto; background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog.modal::backdrop { background: rgba(10,10,12,.6); }
.modal .form { padding: 26px 28px 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-head h2 { font-size: 1.6rem; }
.modal-x { border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); padding: 6px; }
/* Booking (Cal.com) inside the site */
dialog.booking { width: min(1000px, 96vw); height: min(820px, 92vh); max-height: none; overflow: hidden; display: none; flex-direction: column; }
dialog.booking[open] { display: flex; }
dialog.booking .modal-head { padding: 14px 18px; border-bottom: 1px solid var(--line); }
dialog.booking .modal-head h2 { font-size: 1.25rem; }
dialog.booking .modal-x { min-width: 44px; min-height: 44px; }
dialog.booking iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.booking-alt { margin: 0; padding: 8px 18px; font-size: 13px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { dialog.booking { width: 100vw; height: 100dvh; max-width: 100vw; } }

/* About: signature logo; footer brand and accessibility label */
.signature { display: grid; place-items: center; padding: 8px 0; }
.signature img { width: 100%; max-width: 520px; height: auto; }
.foot-brand { margin: 0 0 14px; display: inline-flex; }
.a11y { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }

/* Legal pages */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal p { color: var(--ink-soft); font-size: 16px; }
.legal .form-actions { margin: -4px 0 24px; }
.wa-qr { margin: 4px 0 18px; display: inline-flex; flex-direction: column; gap: 8px; }
.wa-qr img { width: 160px; height: auto; border: 1px solid var(--line); background: #fff; padding: 6px; }
.wa-qr figcaption { font-size: 13px; color: var(--ink-soft); }
@media print {
  .preview-bar, .site-header, .site-footer, .page-head .lead, .skip { display: none !important; }
  body.print-sample * { visibility: hidden; }
  body.print-sample .form-sample, body.print-sample .form-sample * { visibility: visible; }
  body.print-sample .form-sample { position: absolute; left: 0; top: 0; width: 100%; border: 0; background: #fff; font-size: 12pt; }
}
.legal .form-sample { border: 1px solid var(--line); padding: 18px 20px; background: var(--surface); color: var(--ink); font-size: 15px; }

@media (max-width: 1080px) { .needs, .services-4 { grid-template-columns: repeat(3, 1fr); } .services-4 .service:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; } .classes-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .needs, .services-4 { grid-template-columns: 1fr 1fr; } .check-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .needs, .services-4, .grid2, .check-grid, .classes-4 { grid-template-columns: 1fr; } .offer { flex-direction: column; padding: 24px 20px; } .b2b-form, .modal .form { padding: 22px 18px; } }

/* Pricing: companies / partner conditions */
.b2b { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; padding: 28px 32px; background: var(--surface); border-left: 4px solid var(--ink); }
.b2b > div { max-width: 70ch; }
.b2b h3 { font-size: 1.3rem; }
.b2b p:last-child { margin: 10px 0 0; color: var(--ink-soft); font-size: 15.5px; }

/* Private-client offer */
.promo { display: flex; align-items: center; gap: 18px; background: var(--brand-red); color: #fff; padding: 16px 22px; margin-bottom: 28px; }
.promo-pct { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.promo strong { display: block; font-size: 1.1rem; }
.promo span:not(.promo-pct) { font-size: 14px; color: rgba(255,255,255,.9); }
.promo-price { margin: 0 0 14px; font-size: 13.5px; color: var(--brand-red-ink); font-weight: 700; }
.promo-price b { font-size: 1.15rem; }
.plan.featured .promo-price { color: #ffc4b8; }
.calc-lines .calc-promo span { color: var(--highlight); }

/* Portfolio: numbered projects grouped by size */
.proj-num { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-red-ink); margin: 0 0 8px; display: flex; gap: 10px; align-items: center; }
.proj-num span { color: var(--ink-soft); font-weight: 600; letter-spacing: .04em; }
.stage { position: absolute; left: 8px; bottom: 8px; background: rgba(18,18,18,.78); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 7px; pointer-events: none; }
.subnav .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; }
.proj-group .project:first-of-type { border-top: 0; }

/* Photo source label (client / manufacturer) on top of an image */
.gallery button { position: relative; }
.credit { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(18,18,18,.78); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; pointer-events: none; }
.slide .credit { top: 12px; left: 12px; }

/* Pricing: furniture classes */
.formula { border-left: 4px solid var(--brand-red); background: var(--bg); padding: 18px 22px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 4px; }
.formula strong { font-size: clamp(1rem, 1.8vw, 1.25rem); }
.formula span { font-size: 14px; color: var(--ink-soft); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--bg); min-width: 560px; }
.price-table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 12px 14px; border-bottom: 2px solid var(--line-strong); }
.price-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:nth-child(3) { color: var(--ink-soft); white-space: nowrap; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.cls { display: inline-grid; place-items: center; min-width: 26px; height: 22px; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 700; margin-right: 6px; }
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.classes > div { background: var(--bg); padding: 22px; }
.classes h3 { display: inline; font-size: 1.05rem; }
.classes p { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.examples > div { background: var(--bg); padding: 22px; border-top: 3px solid var(--brand-red); display: flex; flex-direction: column; gap: 10px; }
.examples .ex-no { font-size: 12px; font-weight: 700; color: var(--brand-red-ink); letter-spacing: .1em; }
.examples p { margin: 0; font-size: 15px; }
.examples .ex-title { font-weight: 700; }
.ex-lines { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.ex-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.ex-lines li span:last-child { white-space: nowrap; font-weight: 700; }
.ex-lines .cls { min-width: 22px; height: 19px; font-size: 11px; margin: 0 2px; }
.ex-lines .ex-total { border-bottom: 0; border-top: 2px solid var(--ink); font-size: 1.35rem; font-weight: 700; padding-top: 10px; }
.examples .ex-why { font-size: 14px; color: var(--ink-soft); }
.terms { margin: 0; padding: 0; list-style: none; counter-reset: term; border-top: 2px solid var(--line-strong); }
.terms li { counter-increment: term; padding: 18px 0 18px 48px; border-bottom: 1px solid var(--line); position: relative; }
.terms li::before { content: "§ " counter(term); position: absolute; left: 0; top: 20px; font-size: 13px; font-weight: 700; color: var(--brand-red-ink); }
.terms h3 { font-size: 1.05rem; }
.terms p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }
.stand { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-red-ink); }

/* Portfolio: per-project call to action */
.project-cta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.project-cta p { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.project-cta .btn { padding: 12px 16px; font-size: 14px; }

/* About: CV timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline .tl-years { font-size: 13px; font-weight: 700; color: var(--brand-red-ink); padding-top: 2px; }
.timeline strong { display: block; font-size: 1.05rem; }
.timeline .tl-org { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.timeline p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }
.timeline.compact li { padding: 14px 0; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.service.cta a { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); display: flex; gap: 10px; }
.service.cta a:hover { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 13px; font-weight: 700; padding: 7px 12px; border: 1px solid var(--line-strong); }

/* Work cards */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { text-decoration: none; color: var(--ink); display: block; }
.card .img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .6s; }
.card:hover img, .card:focus-visible img { filter: none; transform: scale(1.03); }
.card h3 { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; }
.card p { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }

/* Process */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--line-strong); }
.step { padding: 22px 20px 0 0; }
.step + .step { padding-left: 20px; border-left: 1px solid var(--line); }
.step .n { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; color: var(--accent); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.partners div { background: var(--bg); padding: 22px; }
.partners small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 8px; }
.partners strong { font-size: 1.02rem; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: var(--ink-soft); max-width: 72ch; }

/* CTA band */
.band { background: var(--accent); color: #fff; }
.band .wrap { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.band h2 { color: #fff; max-width: 18ch; }
.band p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 18px 0 0; }
.band .kicker { color: #fff; }

/* Page header */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 16ch; }
.page-head .lead { margin-top: 24px; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.subnav a { font-size: 14px; font-weight: 700; padding: 10px 14px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); }
.subnav a:hover { background: var(--ink); color: var(--bg); }

/* Projects */
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.project:nth-of-type(even) .gallery { order: 2; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery button { padding: 0; border: 0; background: var(--surface); cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; }
.gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.project .meta { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 12px 0 18px; }
.project p { color: var(--ink-soft); }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); margin-top: 28px; }
.others li { list-style: none; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.others li:nth-child(3n+2), .others li:nth-child(3n) { padding-left: 20px; border-left: 1px solid var(--line); }
.others strong { display: block; margin-bottom: 4px; }
.others span { font-size: 14px; color: var(--ink-soft); }
.others { padding: 0; }
.ux { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ux a { background: var(--bg); padding: 28px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.ux a:hover { background: var(--accent-soft); }
.ux .tag { align-self: flex-start; background: var(--highlight); color: #121212; font-size: 12px; font-weight: 700; padding: 5px 9px; }
.ux h3 { font-size: 1.6rem; margin-top: auto; }
.ux p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
dialog.lightbox::backdrop { background: rgba(10,10,12,.96); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; padding: 12px 0; font-size: 14px; }
.lb-bar button { background: #fff; color: #121212; border: 0; font: 700 14px var(--font); padding: 10px 14px; cursor: pointer; }
.lb-bar .grp { display: flex; gap: 8px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan { background: var(--bg); padding: 30px 24px; display: flex; flex-direction: column; }
.plan.featured { background: var(--ink); color: var(--bg); }
.plan.featured .muted, .plan.featured li, .plan.featured .plan-range, .plan.featured .plan-note { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.plan .badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.plan.featured .badge { color: var(--highlight); }
.plan h3 { font-size: 1.5rem; margin: 10px 0 6px; }
.price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; margin: 18px 0 4px; line-height: 1; }
.price small { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.plan-range { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.plan ul { padding: 0; margin: 0 0 22px; list-style: none; font-size: 14.5px; }
.plan li { padding: 8px 0 8px 22px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); position: relative; color: var(--ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan.featured li::before { color: var(--highlight); }
.plan .label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 6px; }
.plan .btns { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.plan .btns .btn { justify-content: center; padding: 14px 16px; font-size: 14px; }
.plan.featured .btn:not(.btn-paypal) { border-color: var(--bg); color: var(--bg); }
.plan.featured .btn:not(.btn-paypal):hover { background: var(--bg); color: var(--ink); }
.plan-note { font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; }
.hourly { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 32px; align-items: center; border: 2px solid var(--line-strong); padding: 32px; margin-top: 28px; }
.hourly .price { margin: 0; }
.hourly ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }

/* FAQ / details */
.faq { border-top: 2px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 300; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); max-width: 70ch; padding-bottom: 12px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quotes blockquote { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; border-top: 2px solid var(--line-strong); padding-top: 20px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--line-strong); }
.method > div { padding: 26px 24px 0 0; }
.method > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.method p { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mv > div { background: var(--bg); padding: clamp(24px, 4vw, 44px); }
.mv p { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.35; margin: 14px 0 0; letter-spacing: -0.01em; }
.monogram { aspect-ratio: 1; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: clamp(5rem, 14vw, 11rem); font-weight: 700; letter-spacing: -0.06em; }

/* News */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post { background: var(--bg); display: flex; flex-direction: column; scroll-margin-top: 90px; }
.post .cover { aspect-ratio: 16 / 8; background: var(--surface); overflow: hidden; }
.post .cover img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.post .tagline2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: flex; gap: 12px; }
.post .tagline2 span:last-child { color: var(--ink-soft); }
.post h2 { font-size: 1.45rem; letter-spacing: -0.015em; line-height: 1.2; }
.post > .body > p { color: var(--ink-soft); font-size: 15.5px; margin-top: 12px; }
.post details { margin-top: auto; border-top: 1px solid var(--line); }
.post summary { cursor: pointer; font-weight: 700; padding: 14px 0 0; color: var(--accent); list-style: none; }
.post summary::-webkit-details-marker { display: none; }
.post details[open] summary { padding-bottom: 12px; }
.post details p { font-size: 15.5px; }
.post details p:last-child { font-weight: 700; border-left: 3px solid var(--accent); padding-left: 14px; }

/* Footer */
.site-footer { background: var(--surface); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { font-size: 2rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid ul a { color: var(--ink); text-decoration: none; }
.foot-grid ul a:hover { color: var(--accent); text-decoration: underline; }
.social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.social a { font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: 13px; color: var(--ink-soft); }
.legal { font-size: 13px; line-height: 1.9; }
.legal a { color: var(--ink-soft); }

/* Language chooser (root) */
.chooser { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.chooser .btn-row { justify-content: center; margin-top: 28px; }

/* Responsive */
@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(3, 1fr); }
  .process .step:nth-child(4) { padding-left: 0; border-left: 0; }
  .process .step { padding-bottom: 28px; }
  .plans, .mini-plans { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .menu-btn { display: inline-block; }
  .nav-links { display: none; order: 5; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .nav { flex-wrap: wrap; gap: 14px; }
  .nav-links { display: none; order: 5; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn-primary { display: none; }
  .hero-grid, .section-head, .project, .about-grid, .quotes, .hourly, .cv-grid { grid-template-columns: 1fr; }
  .project:nth-of-type(even) .gallery { order: 0; }
  .services, .work, .others, .method { grid-template-columns: 1fr 1fr; }
  .service:nth-child(n), .others li:nth-child(n), .method > div { padding-left: 0 !important; border-left: 0 !important; padding-right: 16px; }
  .method > div { padding-bottom: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .services, .work, .others, .method, .process, .plans, .mini-plans, .posts, .ux, .mv, .partners, .foot-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .classes, .examples { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .process .step { padding-top: 20px; }
  .band .wrap { align-items: flex-start; }
  .btn { padding: 14px 18px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  /* one header row on phones: logo, language switch, burger */
  .nav { gap: 10px; min-height: 64px; }
  .brand { gap: 10px; min-width: 0; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .12em; }
  .lang a { padding: 10px 8px; }
  .promo { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; }
  .qty button { width: 44px; height: 44px; }
  dialog.lightbox { background: #0a0a0c; max-width: 100vw; max-height: 100dvh; }
  .lb-bar { flex-direction: column; align-items: stretch; padding: 10px 12px 14px; font-size: 13px; }
  .lb-bar .grp button { flex: 1; padding: 12px 8px; white-space: nowrap; }
  .nav-links a { padding: 14px 0; font-size: 16px; }
  .slide-cap strong { font-size: 1.15rem; }
}

/* Eco / Eco Plus switch inside the Eco card */
.plan-switch { display: flex; gap: 2px; padding: 3px; margin: 12px 0 2px; border: 1px solid var(--line); border-radius: 999px; }
.plan-switch label { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 7px 8px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.plan-switch input { position: absolute; opacity: 0; pointer-events: none; }
.plan-switch label:has(input:checked) { background: var(--ink); color: var(--bg); }
.plan-switch label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-var { display: flex; flex-direction: column; flex: 1; }
.plan-var[data-var="plus"] { display: none; }
.plan:has(input[value="plus"]:checked) .plan-var[data-var="eco"] { display: none; }
.plan:has(input[value="plus"]:checked) .plan-var[data-var="plus"] { display: flex; }
.mini-plan .mini-sub { font-size: 13px; font-weight: 600; color: var(--accent); }

/* Private client / company choice: cards on the home page, switch on the pricing page */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.aud { background: var(--bg); color: var(--ink); text-decoration: none; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 8px; transition: background .2s; }
.aud:hover { background: var(--accent-soft); }
.aud strong { font-size: 1.5rem; line-height: 1.2; }
.aud span { font-size: 15px; color: var(--ink-soft); }
.aud em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--accent); margin-top: auto; padding-top: 8px; }
.aud-biz { background: var(--ink); color: var(--bg); }
.aud-biz:hover { background: color-mix(in srgb, var(--ink) 88%, var(--accent)); }
.aud-biz span { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.aud-biz em { color: var(--highlight); }
@media (max-width: 700px) { .audience { grid-template-columns: 1fr; } }
.aud-switch { display: inline-flex; gap: 2px; padding: 4px; margin-top: 22px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); }
.aud-switch a { padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.aud-switch a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.aud-switch a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html[data-aud="business"] #business .step-no { display: none; }
.calc-item .cls, .price-table .cls { padding: 0 5px; }
.cls-size { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: 8px; }
.calc-note-top { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 10px; }
.b2b-note { display: flex; flex-direction: column; gap: 6px; margin: 0 0 24px; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--surface); }
.b2b-note strong { font-size: 1.1rem; }
.b2b-note span { font-size: 15px; color: var(--ink-soft); }
.plans-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .plans-3 { grid-template-columns: 1fr; } }
.ik-home { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.ik-home > div { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; }
.field .field-hint { font-weight: 400; font-size: 12.5px; color: var(--ink-soft); }
fieldset[data-calc-only] { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset[data-own-measure] { border: 0; padding: 0; margin: 0; min-width: 0; }
.ik-home .ik-pre { display: block; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.ik-home .ik-btns { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }

/* ---- Softer, standard buttons and tighter spacing (same on desktop and phones) ---- */
:root { --radius: 10px; --radius-sm: 8px; }
.btn, .lb-bar button, .slide-toggle { border-radius: var(--radius); }
.menu-btn, .modal-x, .lang, .qty, .seg, .calc-bar-go { border-radius: var(--radius-sm); overflow: hidden; }
.modal-x { min-width: 40px; min-height: 40px; }
.modal-x:hover { background: var(--surface); }
.lb-bar button:hover { background: #e9e9ec; }
.seg.pay { overflow: visible; }
.seg.pay label:first-of-type { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.seg.pay label:last-of-type { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.field input, .field select, .field textarea { border-radius: var(--radius-sm); }
.undecided, .promo { border-radius: var(--radius); }
dialog.modal, dialog.lightbox { border-radius: 14px; }
dialog.lightbox img { border-radius: 10px 10px 0 0; }

/* Section rhythm: less empty space between sections */
.section { padding: clamp(48px, 6vw, 80px) 0; }
#needs { padding-bottom: clamp(28px, 3.5vw, 44px); }
#needs + #process { padding-top: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line); }
#process .note { margin-top: 28px !important; }

/* Narrow reading column for FAQ and reviews */
.wrap.narrow { max-width: 900px; }
.sec-title { margin-bottom: 24px; }
.sec-title h2 { margin: 6px 0 0; }

/* FAQ: tidy cards, one column */
.faq { border-top: 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 0 20px; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { padding: 18px 36px 18px 0; font-size: 1.02rem; line-height: 1.35; }
.faq summary::after { top: 50%; right: 0; transform: translateY(-50%); line-height: 1; }
.faq details p { margin: 0; padding: 0 0 18px; max-width: none; }

/* Reviews: compact cards instead of full-width quotes */
.quotes { gap: 16px; }
.quotes blockquote { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.5; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--bg); }
.quotes blockquote footer { margin-top: 12px !important; }

@media (max-width: 600px) {
  .quotes { grid-template-columns: 1fr; }
  .faq details { padding: 0 16px; }
  .faq summary { font-size: 1rem; padding: 16px 32px 16px 0; }
  .lb-bar .grp button { border-radius: var(--radius); }
}

/* Day / month / year date picker in the order form */
.date3 { display: grid; grid-template-columns: 1fr 1.8fr 1.2fr; gap: 6px; }
.date3 select { font: 400 16px/1.4 var(--font); padding: 11px 8px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); border-radius: var(--radius-sm); width: 100%; min-width: 0; }
.date3 select:focus { outline: 3px solid var(--accent); outline-offset: 0; }

/* ---- Price calculator in a window, step by step ---- */
dialog.calc-dlg { width: min(1120px, 96vw); max-height: 94vh; padding: 0; }
dialog.calc-dlg .modal-head { position: sticky; top: 0; z-index: 3; background: var(--bg); padding: 14px 20px; border-bottom: 1px solid var(--line); }
dialog.calc-dlg .modal-head h2 { font-size: 1.3rem; }
.calc-dlg-body { padding: 16px 20px 20px; }
.calc-dlg .calc { margin: 0; border-radius: var(--radius); overflow: hidden; }
.calc-dlg .calc-sum { top: 70px; }
.calc-open { margin: 8px 0 16px; }
/* Step navigation: back / running total / continue */
.calc-nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-nav[hidden] { display: none; }
.calc-nav-total { margin-left: auto; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.calc-nav-total strong { color: var(--ink); font-size: 1.2rem; margin-left: 4px; }
.calc-nav [data-calc-next] { order: 3; }
.calc-nav [hidden] { display: none; }
.calc.need-item .calc-items { outline: 2px solid var(--brand-red); outline-offset: 4px; border-radius: 4px; }
/* Client type & delivery inside the dark summary */
.calc-sum .calc-opts { border: 0; padding: 0; margin: 0 0 4px; }
.calc-sum .calc-opts legend { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: color-mix(in srgb, var(--bg) 75%, transparent); margin-bottom: 8px; display: block; }
.calc-sum .calc-opt { border-color: color-mix(in srgb, var(--bg) 25%, transparent); border-radius: var(--radius-sm); color: var(--bg); padding: 10px 12px; }
.calc-sum .calc-opt small { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.calc-sum .calc-opt:has(input:checked) { border-color: var(--highlight); background: color-mix(in srgb, var(--highlight) 14%, transparent); }
.calc-sum .calc-opt input { accent-color: var(--highlight); }
.calc-bar { display: none !important; }
@media (max-width: 900px) {
  dialog.calc-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .calc-dlg-body { padding: 0; }
  .calc-dlg .calc { border: 0; border-radius: 0; }
  .calc-dlg .calc-nav { position: sticky; bottom: 0; z-index: 2; background: var(--bg); margin: 16px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px rgba(0,0,0,.08); }
}
