/* CODE ERA — editorial studio system */

:root {
  --paper: #ffffff;
  --paper-2: #f7f7f9;
  --ink: #3c3950;
  --ink-soft: #5f727f;
  --muted: #5f727f;
  --line: #e6e6ec;
  --hero: #3c3950;
  --hero-text: #ffffff;
  --hero-muted: #d7d4de;
  --accent: #c16349;
  --accent-dark: #9a4534;
  --font: "Manrope", "Segoe UI", sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Manrope", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 76px;
  --pad: clamp(16px, 4vw, 40px);
  --container: 1200px;
  --radius: 3px;
  --section-y: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.lede { white-space: pre-line; }

[dir="rtl"] body { font-family: var(--arabic); }

img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; }

.latin {
  font-family: var(--font);
  letter-spacing: 0.18em;
  font-weight: 600;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.kicker, .idx, .hero-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

[dir="rtl"] .kicker,
[dir="rtl"] .hero-kicker {
  font-family: var(--arabic);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--pad);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 18px;
  height: 18px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 22%, 28% 22%, 28% 39%, 78% 39%, 78% 61%, 28% 61%, 28% 78%, 100% 78%, 100% 100%, 0 100%);
}
.brand-name { font-size: 0.78rem; }

.nav-links, .footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-links { flex-wrap: wrap; row-gap: 10px; }
.nav-links a, .footer-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover, .footer-links a:hover { opacity: 0.55; }

.nav-end { display: flex; align-items: center; gap: 18px; }

.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 6px 7px;
}
.lang-btn.active { color: var(--ink); }
.lang-btn[data-lang="ar"] { font-family: var(--arabic); letter-spacing: 0; font-size: 0.82rem; }

.nav-cta {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  inset-inline: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(40deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-40deg); }

.nav-panel {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 39;
  background: var(--paper);
  padding: 28px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nav-panel[hidden] { display: none; }
.nav-panel > a {
  text-decoration: none;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.nav-panel .lang-btn { font-size: 0.95rem; min-height: 44px; padding: 10px 12px; }
[dir="rtl"] .nav-panel > a { letter-spacing: 0; }
body.menu-open { overflow: hidden; }

html.i18n-pending body { visibility: visible; }

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  height: auto;
  background: var(--hero);
  color: var(--hero-text);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: min(1240px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding: 48px 0 36px;
}
.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hero);
  z-index: 0;
}
.hero-video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.hero-video { position: absolute; inset: 0; z-index: 1; }
.hero-planes { display: none; }
.hero-bar { position: relative; z-index: 2; }
.plane {
  position: absolute;
  top: -25%;
  bottom: -25%;
  transform: skewX(-18deg);
  animation-name: plane-drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform;
}
.p1 { inset-inline-start: -8%; width: 34%; background: #101010; animation-duration: 26s; }
.p2 { inset-inline-start: 28%; width: 18%; background: #1a1a1a; animation-duration: 34s; animation-direction: alternate-reverse; }
.p3 { inset-inline-start: 52%; width: 70%; background: #0c0c0c; animation-duration: 30s; }
.hero-glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 38% 32% at 72% 38%, rgba(246, 243, 236, 0.10), transparent 68%),
    radial-gradient(ellipse 26% 22% at 16% 72%, rgba(246, 243, 236, 0.06), transparent 70%);
  animation: hero-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-sheen {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(246, 243, 236, 0.07), transparent);
  animation: hero-sheen 16s ease-in-out infinite;
  will-change: transform;
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}
@keyframes plane-drift {
  from { transform: skewX(-18deg) translate3d(0, 0, 0); }
  to { transform: skewX(-18deg) translate3d(3%, 0, 0); }
}
@keyframes hero-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
@keyframes hero-sheen {
  from { transform: translate3d(-40%, 0, 0); }
  to { transform: translate3d(520%, 0, 0); }
}

.hero-copy { max-width: none; }
.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: auto;
  margin: 22px 0 0;
  padding: 0;
}

.hero-kicker { color: var(--hero-muted); margin-bottom: 14px; }
.hero-role {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  margin-bottom: 22px;
  max-width: 28ch;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 16ch;
  margin-bottom: 22px;
}
[dir="rtl"] .hero h1 {
  letter-spacing: 0;
  line-height: 1.28;
  font-weight: 600;
  max-width: 18ch;
}
.hero-sub {
  max-width: 42ch;
  color: var(--hero-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
}
.btn.solid { background: var(--hero-text); color: var(--hero); }
.btn.ghost { border-color: rgba(246, 243, 236, 0.35); color: var(--hero-text); }
.btn.ink { background: var(--ink); color: var(--paper); width: 100%; }
.btn.ink.fit { width: auto; padding-inline: 22px; }
.btn:hover { opacity: 0.82; }
.btn:disabled { opacity: 0.5; cursor: wait; }

.hero-bar {
  position: relative;
  z-index: 2;
  margin-top: auto;
  background: var(--hero);
  border-top: 1px solid rgba(246, 243, 236, 0.16);
}
.hero-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-bar p {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-size: 0.92rem;
  color: var(--hero-muted);
}
.hero-bar p + p { border-inline-start: 1px solid rgba(246, 243, 236, 0.16); padding-inline-start: 22px; }
.hero-bar .idx { color: var(--hero-text); }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }

.section-intro { max-width: 100%; margin-bottom: 56px; }
.section-intro h2 { max-width: 14em; }
.section-intro h2, .story h2, .audit h2, .contact-aside h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}
[dir="rtl"] .section-intro h2,
[dir="rtl"] .story h2,
[dir="rtl"] .audit h2,
[dir="rtl"] .contact-aside h2 {
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 600;
}
.lede { color: var(--ink-soft); max-width: 46ch; }

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin-bottom: 8px;
}
.rail a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  padding: 22px 16px;
  min-height: 112px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
}
.rail a + a { border-inline-start: 1px solid var(--line); }
.rail a .latin {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}
@media (hover: hover) {
  .rail a:hover { background: var(--ink); color: var(--paper); }
  .rail a:hover .idx { color: var(--paper); }
}

.cap {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 18px 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.tech {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 8px;
}
.cap h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 600; margin-bottom: 10px; letter-spacing: -0.03em; }
[dir="rtl"] .cap h3 { letter-spacing: 0; font-weight: 600; }
.cap p, .cap li { color: var(--ink-soft); font-size: 0.98rem; }
.cap ul { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.cap .idx { padding-top: 8px; }
.cap .text-link { display: inline-block; margin-top: 16px; }

.service-page { padding: 0 0 96px; }
.service-page > .container { padding-top: 56px; }
.service-page h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 600;
  max-width: 14em;
  margin: 8px 0 18px;
}
.service-page .lede { max-width: 62ch; color: var(--ink-soft); margin-bottom: 28px; }
.service-block {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 18px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.service-block h2 { font-size: 1.35rem; font-weight: 600; }
.service-block p { color: var(--ink-soft); max-width: 68ch; }
.service-block li {
  color: var(--ink-soft);
  max-width: 68ch;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.service-page .btn { margin-top: 8px; }
.web-kinds-title {
  margin-top: 56px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
}
.web-kinds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.web-kind { padding: 28px 0; border-bottom: 1px solid var(--line); }
.web-kind:nth-child(odd) { padding-inline-end: 32px; border-inline-end: 1px solid var(--line); }
.web-kind:nth-child(even) { padding-inline-start: 32px; }
.web-kind h3 { font-size: 1.45rem; font-weight: 600; margin: 10px 0 8px; }
.web-kind p { color: var(--ink-soft); max-width: 42ch; }
.web-case {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 18px 32px;
  margin-top: 8px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.web-case h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; max-width: 16em; margin-bottom: 12px; }
.web-case p { color: var(--ink-soft); max-width: 62ch; }

.story { padding: clamp(80px, 12vw, 140px) 0; border-top: 1px solid var(--line); }
.story-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
}
.story h2 { max-width: 12em; }
.story p { max-width: 38ch; color: var(--ink-soft); font-size: 1.08rem; }
.story-ink {
  background: var(--hero);
  color: var(--hero-text);
  border-top: 0;
}
.story-ink .kicker, .story-ink p { color: var(--hero-muted); }
.text-link {
  display: inline-block;
  margin-top: 28px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

/* Audit */
.audit {
  background: var(--ink);
  color: var(--hero-text);
  padding: clamp(72px, 10vw, 120px) 0;
}
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.audit .kicker, .audit .lede, .audit .form-label { color: var(--hero-muted); }
.instrument { max-width: 520px; }
.instrument-row { display: flex; gap: 16px; align-items: flex-end; margin-top: 8px; }
.tool-input {
  flex: 1;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246, 243, 236, 0.35);
  border-radius: 0;
  padding: 12px 0;
  color: var(--hero-text);
  outline: none;
  font-family: var(--mono);
}
.tool-input:focus { border-bottom-color: var(--hero-text); }
.tool-input { width: 100%; }
.tool-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.tool-pick {
  background: transparent;
  color: var(--hero-muted);
  border: 1px solid rgba(246, 243, 236, 0.28);
  border-radius: 0;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.tool-pick.is-on { color: var(--hero-text); border-color: var(--hero-text); }
.audit .btn.solid { flex-shrink: 0; }
.tool-result {
  margin-top: 28px;
  border-top: 1px solid rgba(246, 243, 236, 0.16);
  padding-top: 20px;
}
.tool-result[hidden] { display: none; }
.audit-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 16px;
}
.audit-head strong { font-family: var(--mono); font-weight: 500; }
.audit-score {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.audit-meta, .audit-list { display: flex; flex-direction: column; gap: 8px; color: var(--hero-muted); font-size: 0.92rem; }
.audit-list { margin-top: 14px; }
.audit-list b { font-weight: 600; }
.is-ok { color: #d7e7c8; }
.is-bad { color: #f0c2b4; }
.audit-error { color: #f0c2b4; }
.tool-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.tool-card h3 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 10px 0 14px;
}
[dir="rtl"] .tool-card h3 { letter-spacing: 0; }
.tool-card > p { color: var(--hero-muted); max-width: 48ch; }
.tool-paid {
  border-inline-start: 1px solid rgba(246, 243, 236, 0.16);
  padding-inline-start: 40px;
}
.tool-paid ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--hero-muted);
}
.tool-paid li + li { margin-top: 8px; }
.tool-paid .btn { margin-top: 28px; }

/* Method */
.method-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.method-list li {
  padding: 28px 22px 8px 0;
  border-bottom: 1px solid var(--line);
}
.method-list li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.method-list h3 { font-size: 1.25rem; font-weight: 600; margin: 18px 0 10px; }
.method-list p { color: var(--ink-soft); font-size: 0.95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact-aside {
  background: var(--hero);
  color: var(--hero-text);
  padding: clamp(48px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact-aside .kicker { color: var(--hero-muted); }
.contact-aside p { color: var(--hero-muted); max-width: 32ch; }
.cta-line {
  margin-top: 36px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--hero-text) !important;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 12em;
}
[dir="rtl"] .cta-line { letter-spacing: 0; }
.contact-form { padding: clamp(48px, 7vw, 88px); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
[dir="rtl"] .form-label { letter-spacing: 0; text-transform: none; font-size: 0.92rem; }
.form-control {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  outline: none;
}
.form-control:focus { border-bottom-color: var(--ink); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { background: transparent; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.is-ok { color: #1f6b3a; }
.form-status.is-bad { color: #9d2c2c; }

/* Footer */
.footer {
  background: var(--hero);
  color: var(--hero-text);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}
.footer-mark {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.18em !important;
  font-weight: 600;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
}
.footer-lead { color: var(--hero-muted); max-width: 36ch; }
.footer-links { flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-contact a, .footer-links a { color: var(--hero-text); text-decoration: none; }
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-copy { color: var(--hero-muted); font-size: 0.9rem; }
.footer-copy a { color: var(--hero-text); text-decoration: none; }
.map-slot .section-intro { margin-bottom: 0; }
.map-frame {
  display: block;
  width: 100%;
  height: 320px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.map-frame[hidden] { display: none; }

.work-list, .price-list { border-top: 1px solid var(--line); }
.work:not(:has(figure)) { grid-template-columns: minmax(0, 46rem); }
.work {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.work figure { margin: 0; background: var(--paper-2); min-height: 220px; }
.work img { width: 100%; height: 320px; object-fit: cover; display: block; }
.work-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.work h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
[dir="rtl"] .work h3 { letter-spacing: 0; }
.work p { color: var(--ink-soft); max-width: 52ch; }
.work p strong { color: var(--ink); font-weight: 600; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; max-width: none; }
.work-tags span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  padding: 4px 8px;
  color: var(--muted);
}
.shot-todo {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
[dir="rtl"] .rail .latin,
[dir="rtl"] .tech.latin {
  font-family: var(--arabic);
  letter-spacing: 0;
  text-transform: none;
}
.region-toggle { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.region-toggle button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 16px;
  cursor: pointer;
}
.region-toggle button.is-on { background: var(--ink); color: var(--paper); }
.price-note { color: var(--ink-soft); margin-top: 18px; max-width: 62ch; }
.todo-note {
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.85rem;
}
.why-title { font-size: 1.35rem; font-weight: 600; margin: 36px 0 14px; }
.why-list { max-width: 62ch; }
.why-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.quote-cta { margin-top: 18px; }
.story-dialog {
  border: 0;
  padding: 0;
  background: var(--hero);
  color: var(--hero-text);
  width: min(960px, calc(100% - 32px));
  max-height: calc(100% - 32px);
}
.story-dialog::backdrop { background: rgba(7, 7, 7, 0.72); }
.story-dialog video { width: 100%; display: block; background: var(--hero); }
.story-close {
  position: absolute;
  inset-inline-end: 8px;
  top: 8px;
  background: var(--hero);
  color: var(--hero-text);
  border: 1px solid rgba(246, 243, 236, 0.3);
  padding: 8px 12px;
  cursor: pointer;
}
.svc-video {
  margin: 8px 0 28px;
  background: transparent;
  border: 0;
  padding: 0;
  display: block;
}
.svc-video[hidden] { display: none; }
.svc-video .todo-note { display: none; }
.svc-video video {
  width: 100%;
  display: block;
  background: var(--hero);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.more-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.more-tools button, .more-tools input {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
  padding: 10px 14px;
}
.more-tools button.is-on { background: var(--ink); color: var(--paper); }
.more-tools input { min-width: min(100%, 220px); }
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.more-packages {
  margin: 72px 0 18px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
}
.more-group { margin-top: 48px; }
.more-group:first-child { margin-top: 8px; }
.more-group h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  margin: 0 0 18px;
}
.more-card {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  min-height: 100%;
}
.more-card h3 { font-size: 1.2rem; font-weight: 600; text-wrap: balance; }
.more-card p { color: var(--ink-soft); white-space: pre-line; }
.more-card .amount { font-family: var(--mono); color: var(--ink); font-size: 0.92rem; white-space: normal; }
.more-card .btn { margin-top: auto; align-self: stretch; min-height: 44px; }
.more-jump {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 28px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.more-jump h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 600; }
.more-jump p { color: var(--ink-soft); max-width: 62ch; }
.more-card .amount { font-family: var(--mono); color: var(--ink); font-size: 0.92rem; }
.more-card .btn { margin-top: auto; align-self: flex-start; }
.ask-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ask-row .btn { width: auto; flex: 1 1 8rem; margin-top: 0; }
[data-wa][hidden] { display: none !important; }
.wa-float {
  position: fixed;
  z-index: 40;
  bottom: 20px;
  inset-inline-end: 20px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 12px 16px;
  font-weight: 600;
}
.wa-contact { margin-top: 18px; display: inline-flex; }
.quote-list { display: grid; gap: 24px; }
.quote-list blockquote { border-top: 1px solid var(--line); padding-top: 18px; }
.quote-list footer { color: var(--muted); margin-top: 8px; }
.price {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.price h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.price p { color: var(--ink-soft); }
.price .amount {
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: normal;
}
.express-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.express-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}
.express-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
[dir="rtl"] .express-card h3 { letter-spacing: 0; }
.express-card p { color: var(--ink-soft); }
.express-card .amount {
  font-family: var(--mono);
  color: var(--ink);
  margin-top: auto;
}
.express-card form { margin: 0; }
.express-card .btn { width: 100%; }
.pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.pay-rules p { color: var(--ink-soft); max-width: 46ch; }
.pay-rules p + p { margin-top: 16px; }
.pay-rules a { margin-inline-start: 12px; }
.pay-form {
  border: 1px solid var(--line);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pay-math { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-math p { color: var(--ink-soft); }
.pay-math strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 500;
}
.pay-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-actions .btn { flex: 1; width: auto; min-width: 180px; }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.pay-starts { margin-top: 40px; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pay-chips button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  min-height: 44px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  text-align: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
  color: var(--ink-soft);
  max-width: 62ch;
  padding-bottom: 22px;
}
.price .amount { text-align: end; }
.price .amount a { display: inline-block; margin-top: 8px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible,
.audit :focus-visible,
.story-ink :focus-visible,
.contact-aside :focus-visible,
.footer :focus-visible { outline-color: var(--hero-text); }

@media (max-width: 980px) {
  .nav-links, .nav-end .lang-switcher, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .rail, .method-list, .audit-grid, .tool-split, .contact, .story-grid, .hero-bar-grid, .work, .price, .express-grid, .pay-grid, .pay-math, .more-grid, .footer-grid { grid-template-columns: 1fr; }
  .tool-paid {
    border-inline-start: 0;
    padding-inline-start: 0;
    border-top: 1px solid rgba(246, 243, 236, 0.16);
    padding-top: 36px;
  }
  .price .amount { white-space: normal; }
  .rail a + a, .method-list li + li, .hero-bar p + p { border-inline-start: 0; padding-inline-start: 0; }
  .rail a { border-bottom: 1px solid var(--line); min-height: 0; }
  .method-list li { padding-inline: 0; }
  .cap { grid-template-columns: 40px 1fr; }
  .cap ul { grid-column: 2; }
  .form-grid, .instrument-row { grid-template-columns: 1fr; display: grid; }
  .instrument-row { display: grid; }
  .contact-aside, .contact-form { padding: 48px var(--pad); }
}

.cookie-notice {
  position: fixed;
  z-index: 70;
  inset-inline: 0;
  bottom: 0;
  background: var(--hero);
  color: var(--hero-text);
  border-top: 1px solid rgba(246, 243, 236, 0.16);
  padding: 18px var(--pad) 20px;
}
.cookie-notice[hidden] { display: none; }
.cookie-inner {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cookie-notice p {
  color: var(--hero-muted);
  font-size: 0.98rem;
  max-width: 68ch;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
body.has-notice { padding-bottom: 128px; }

.legal { padding: 0 0 96px; }
.legal > .container { padding-top: 56px; }
.legal h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 600;
  max-width: 16em;
  margin: 12px 0 22px;
}
.legal .lede { max-width: 62ch; color: var(--ink-soft); margin-bottom: 48px; }
.legal h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  margin: 40px 0 12px;
}
.legal p { max-width: 68ch; color: var(--ink-soft); margin-bottom: 12px; }
.store {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.store .latin { letter-spacing: 0.04em; font-size: 0.85rem; color: var(--muted); }
.store h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.legal-list { max-width: 68ch; margin-bottom: 8px; }
.legal-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.legal-updated { margin-top: 36px; color: var(--muted); }

@media (max-width: 720px) {
  .cookie-notice { padding: 8px var(--pad) 10px; }
  .cookie-inner { flex-direction: row; align-items: center; gap: 10px; }
  .cookie-notice p {
    flex: 1;
    font-size: 0.78rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: none;
  }
  .cookie-actions { flex-wrap: nowrap; }
  .cookie-actions .btn { min-height: 40px; padding: 0 12px; }
  body.has-notice { padding-bottom: 64px; }
  .store, .service-block, .web-case, .web-kinds { grid-template-columns: 1fr; gap: 8px; }
  .web-kind:nth-child(odd),
  .web-kind:nth-child(even) { padding-inline: 0; border-inline-end: 0; }
}

.hero-media picture { position: absolute; inset: 0; z-index: 0; }
.hero-media picture img { width: 100%; height: 100%; object-fit: cover; }

.page-hero-wrap {
  position: relative;
  width: 100%;
  min-height: max(620px, calc(100vw * 9 / 16));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero);
  color: var(--hero-text);
}
.page-hero-wrap picture.page-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  height: 100%;
  margin: 0;
}
.page-hero-wrap picture.page-hero img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.page-hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.5) 34%, rgba(7, 7, 7, 0) 58%);
}
[dir="rtl"] .page-hero-wrap::after {
  background: linear-gradient(to left, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.5) 34%, rgba(7, 7, 7, 0) 58%);
}
.page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(46%, 560px);
  margin-inline: 0 auto;
  padding: 40px var(--pad);
}
.page-hero-copy h1,
.page-hero-copy .lede,
.page-hero-copy .kicker,
.page-hero-copy .tech { color: var(--hero-text); }
.page-hero-copy .lede,
.page-hero-copy .kicker,
.page-hero-copy .tech { color: var(--hero-muted); }
.page-hero-copy h1 { margin: 8px 0 14px; max-width: none; }
.page-hero-copy .lede { max-width: none; margin-bottom: 0; }

@media (max-width: 767px) {
  .page-hero-wrap {
    min-height: 0;
    width: 100%;
    aspect-ratio: 2 / 3;
    max-height: none;
    margin: 0;
    align-items: flex-start;
  }
  .page-hero-wrap picture.page-hero img { object-position: center bottom; }
  .page-hero-wrap::after,
  [dir="rtl"] .page-hero-wrap::after {
    background: linear-gradient(to bottom, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.4) 28%, rgba(7, 7, 7, 0) 46%);
  }
  .page-hero-copy {
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 16px var(--pad) 0;
    overflow: visible;
  }
  .page-hero-copy h1 { font-size: clamp(1.45rem, 6.2vw, 1.9rem); line-height: 1.25; margin-bottom: 8px; }
  .page-hero-copy .lede { font-size: 0.92rem; }
  .svc-video video { aspect-ratio: 9 / 16; max-height: 78vh; object-fit: cover; object-position: center center; }
  .hero { height: auto; min-height: 0; overflow: hidden; }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 18px var(--pad) 0;
  }
  .hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: none;
    margin: 0;
    order: 2;
  }
  .hero-copy { order: 1; max-width: 100%; }
  .hero-media img,
  .hero-media picture img,
  .hero-video { object-position: center bottom; }
  .hero-kicker { margin-bottom: 4px; }
  .hero-role { font-size: 0.92rem; line-height: 1.3; margin-bottom: 6px; }
  .hero h1 { font-size: clamp(1.45rem, 6.2vw, 1.9rem); line-height: 1.2; margin-bottom: 8px; }
  .hero-sub { font-size: 0.92rem; line-height: 1.4; }
  .hero-actions {
    width: auto;
    margin: 14px 0 0;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: var(--hero-text);
  }
  .hero-actions .btn { min-height: 44px; padding: 0 14px; }
  .hero-actions .btn.ghost { color: var(--hero-text); border-color: rgba(246, 243, 236, 0.35); }
  .hero-actions .btn.solid { background: var(--hero-text); color: var(--hero); }
  .hero-bar { background: var(--hero); }
  body.has-notice .wa-float { display: none; }
}

.has-bg {
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), var(--section-bg);
  background-size: cover;
  background-position: center;
}
.story-ink.has-bg {
  background-image: linear-gradient(rgba(7, 7, 7, 0.78), rgba(7, 7, 7, 0.78)), var(--section-bg);
}
#express.has-bg { min-height: 220px; margin: 28px 0; }

.cap { position: relative; overflow: hidden; }
.cap-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.cap:hover .cap-preview,
.cap:focus-within .cap-preview { opacity: 0.55; }
@media (max-width: 767px) { .cap-preview { display: none; } }

.work-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.work-tabs button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  cursor: pointer;
}
.work-tabs button.is-on { background: var(--ink); color: var(--paper); }
.work-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.work-empty { color: var(--muted); max-width: 62ch; }
.work-badge { color: var(--muted); font-size: 0.92rem; }
.work-shot {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-facts { color: var(--ink-soft); max-width: 62ch; margin-top: 14px; }
.about-facts[hidden] { display: none; }
.about-film { width: min(960px, 100%); margin-top: 28px; background: var(--hero); }
.acct-note { color: var(--muted); max-width: 68ch; font-size: 0.92rem; margin-top: 18px; }
.work-lightbox {
  width: min(960px, calc(100% - 32px));
  border: 0;
  padding: 18px;
  background: var(--paper);
}
.work-lightbox img, .work-lightbox video { width: 100%; max-height: 80vh; object-fit: contain; display: block; margin-top: 12px; }
#tools.audit {
  background: #fff;
  color: var(--ink);
}
#tools .kicker, #tools .lede, #tools .form-label, #tools .tool-card > p, #tools .tool-paid ul, #tools .audit-meta, #tools .audit-list {
  color: var(--ink-soft);
}
#tools .tool-input {
  color: var(--ink);
  border-bottom-color: rgba(17, 17, 17, 0.35);
}
#tools .tool-input:focus { border-bottom-color: var(--ink); }
#tools .tool-pick {
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.28);
}
#tools .tool-pick.is-on { color: #fff; background: var(--ink); border-color: var(--ink); }
#tools .tool-result { border-top-color: rgba(17, 17, 17, 0.14); }
#tools .tool-paid { border-inline-start-color: rgba(17, 17, 17, 0.14); }
#tools .btn.solid { background: var(--ink); color: #fff; }
#tools .is-ok { color: #1d6b32; }
#tools .is-bad, #tools .audit-error { color: #8a2a1f; }
.work-lightbox::backdrop { background: rgba(7, 7, 7, 0.72); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .hero-video { display: none; }
}

.call-float {
  position: fixed;
  z-index: 40;
  bottom: 76px;
  inset-inline-end: 20px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  padding: 12px 16px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.wa-float { min-height: 44px; display: inline-flex; align-items: center; }
.call-contact { margin-top: 18px; margin-inline-start: 8px; }
.legal-plain { padding: 128px 0 72px; }
.legal-plain h1 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.4rem); }
.legal-plain p { max-width: 66ch; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 767px) {
  .footer-links a, .nav-links a, .footer-contact a, .cookie-actions .btn, .cookie-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}


/* Corporate layer — tokens above, components here */

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
}
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  text-transform: none;
  letter-spacing: 0;
}

.section-intro h2,
.story h2,
.audit h2,
.contact-aside h2,
.hero h1,
.page-hero-copy h1,
.legal h1,
.legal-plain h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 16em;
}
.section-intro h2,
.story h2,
.audit h2,
.contact-aside h2,
.legal h2,
.more-group h2,
.more-packages {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0;
}
html[dir="ltr"] .section-intro h2,
html[dir="ltr"] .story h2,
html[dir="ltr"] .audit h2,
html[dir="ltr"] .legal h2,
html[dir="ltr"] .more-group h2 {
  letter-spacing: 0.04em;
}

.section,
.audit {
  padding: var(--section-y) 0;
}
#services,
#about,
.contact-form,
.legal,
.service-page {
  background: var(--paper);
}
#work,
#pricing,
#faq,
#tools.audit {
  background: var(--paper-2);
}
.hero-grid,
.cookie-inner {
  width: min(var(--container), calc(100% - var(--pad) * 2));
}

.nav {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  width: 56px;
  height: 40px;
  background: url("/assets/brand-mark.png") center / contain no-repeat;
  clip-path: none;
}
.nav-links a:hover,
.footer-links a:hover,
.text-link {
  color: var(--accent);
  opacity: 1;
}
.text-link { text-decoration: none; font-weight: 700; }
.nav-cta,
.btn,
a[data-i18n="btn_start"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .btn,
html[dir="rtl"] a[data-i18n="btn_start"] {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
.btn.ghost,
.btn.line {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn.solid,
.btn.ink,
.nav-cta,
a[data-i18n="btn_start"] {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn.ink { width: 100%; }
.btn.ink.fit,
.service-page .btn.ink.fit { width: auto; }
.nav-cta:hover,
.btn.solid:hover,
.btn.ink:hover,
a[data-i18n="btn_start"]:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
  opacity: 1;
  transform: translateY(-2px);
}
.btn.ghost:hover,
.btn.line:hover {
  background: var(--accent);
  color: #ffffff;
  opacity: 1;
  transform: translateY(-2px);
}
.hero-actions .btn.ghost,
.page-hero-copy .btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}
.hero-actions .btn.ghost:hover,
.page-hero-copy .btn.ghost:hover {
  background: #ffffff;
  color: var(--hero);
  border-color: #ffffff;
}
.hero-actions .btn.solid,
.hero-actions .btn.solid:hover { color: #ffffff; }
.section > .section-cta,
.audit > .section-cta {
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  margin-top: 48px;
}
.service-block .section-cta { grid-column: 1 / -1; margin-top: 24px; width: auto; }
.section-cta .btn { width: auto; }

#services > .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
#services .section-intro,
#services .more-jump,
#services .section-cta { grid-column: 1 / -1; }
.cap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e6e6ec;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: none;
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.cap:hover {
  box-shadow: 0 12px 32px rgba(60, 57, 80, 0.08);
  transform: translateY(-2px);
}
.cap:hover .cap-preview,
.cap:focus-within .cap-preview { opacity: 0; }
.cap-icon {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.cap .idx { color: var(--accent); }
.more-card,
.express-card,
.web-kind,
.more-jump {
  background: #ffffff;
  border: 1px solid #e6e6ec;
  border-radius: var(--radius);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.more-card:hover,
.express-card:hover,
.web-kind:hover,
.more-jump:hover {
  box-shadow: 0 12px 32px rgba(60, 57, 80, 0.08);
  transform: translateY(-2px);
}
.price-list,
.work-list { border-top: 0; display: grid; gap: 16px; }
.price,
.work {
  background: #ffffff;
  border: 1px solid #e6e6ec;
  border-radius: var(--radius);
  padding: 32px;
}
.work figure,
.work-shot { border-radius: var(--radius); overflow: hidden; min-width: 0; max-width: 100%; }
.work img { min-width: 0; max-width: 100%; }
.work-list > .work,
.price-list > .price { min-width: 0; max-width: 100%; }
.price .amount,
.more-card .amount { color: var(--accent); }
.region-toggle button.is-on,
.work-tabs button.is-on,
.more-tools button.is-on,
#tools .tool-pick.is-on,
#tools .btn.solid {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.form-control:focus,
#tools .tool-input:focus { border-bottom-color: var(--accent); }
:focus-visible { outline-color: var(--accent); }

.footer {
  background: #3c3950;
  color: #ffffff;
}
.footer-lead { color: #d7d4de; }
.footer-contact a,
.footer-links a { color: #ffffff; }
.footer-links a:hover,
.footer-contact a:hover { color: #f0c2b4; }

.wa-float {
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius);
  transition: background-color 200ms ease, transform 200ms ease;
}
.wa-float:hover { background: var(--accent-dark); transform: translateY(-2px); }
.call-float {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.call-float:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

#location[hidden],
#testimonials[hidden],
.svc-video[hidden],
.about-facts[hidden],
.map-frame[hidden] { display: none !important; }

@media (max-width: 767px) {
  .section,
  .audit { padding: 64px 0; }
  #services > .container,
  .more-grid,
  .express-grid,
  .footer-grid,
  .work,
  .price { grid-template-columns: 1fr; }
  .hero h1,
  .page-hero-copy h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.15; }
  .hero-actions .btn { padding: 14px 32px; }
  .cap { grid-template-columns: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #services > .container,
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.nav-links a,
.nav-cta { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1240px) {
  .nav { gap: 12px; }
  .nav-links { gap: 12px; flex-wrap: nowrap; }
  .nav-links a { font-size: 0.84rem; }
  .nav-end { gap: 8px; }
  .nav-cta {
    padding: 10px 14px;
    letter-spacing: 0.04em;
  }
}
@media (max-width: 980px) {
  .nav-links,
  .nav-end .lang-switcher,
  .nav-end > .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .nav-cta:hover,
  .cap:hover,
  .more-card:hover,
  .wa-float:hover,
  .call-float:hover { transform: none; }
}
