:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --ink: #f3f1ec;
  --ink-soft: #a8a59e;
  --primary: #f3f1ec;
  --primary-ink: #050505;
  --accent: #888;
  --accent-soft: #1a1a1a;
  --line: #222;
  --whatsapp: #25a85a;
  --whatsapp-ink: #04140a;
  --shadow: none;
  --radius: 0;
  --header-h: 56px;
  --max: 880px;
  --sans: "DM Sans", "Noto Sans Armenian", "Noto Sans", sans-serif;
  --serif: Manrope, "Noto Sans Armenian", "Noto Sans", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
  font-weight: 700;
}
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--surface); padding: .5rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.breadcrumbs {
  padding: 14px 20px 0;
  font-size: 12px;
  color: var(--ink-soft);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: .55;
}
.breadcrumbs a { text-decoration: underline; text-underline-offset: 2px; }
.breadcrumbs [aria-current="page"] span { color: var(--ink); }

.faq-section .faq-item {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq-section .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section details p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header-spacer { height: var(--header-h); }
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}
.brand-icon {
  width: 28px;
  height: 37px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
}
.brand-sub {
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}
.lang-switch a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 9px;
  border-radius: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.lang-switch a.is-active {
  background: var(--primary);
  color: var(--primary-ink);
}
.nav-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
  grid-area: 1 / 1;
}
.nav-toggle .icon-close { opacity: 0; }
body.is-nav-open .nav-toggle .icon-open { opacity: 0; }
body.is-nav-open .nav-toggle .icon-close { opacity: 1; }

.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  margin: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}
body.is-nav-open .site-nav {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
html.is-nav-open {
  overscroll-behavior: none;
}
.site-nav-inner {
  padding-top: 8px;
  padding-bottom: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.nav-lang { display: none; }
.site-nav-panel {
  width: min(320px, calc(100% - 16px));
  margin-right: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 6px;
  max-height: none;
  overflow: visible;
}
.site-nav-links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1px;
}
.site-nav-links a {
  display: block;
  padding: 11px 14px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.35;
}
.site-nav-links a:hover {
  background: #161616;
  color: var(--ink);
}
.site-nav-links a[aria-current="page"] {
  background: #161616;
  color: var(--ink);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 0;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { color: inherit; }
.btn-call {
  background: var(--primary);
  color: var(--primary-ink) !important;
  border-color: var(--primary);
}
.btn-call:hover { background: #fff; }
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-ink) !important;
  border-radius: 0;
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink) !important;
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-lg { padding: 14px 20px; font-size: 15px; border-radius: 0; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.header-call { padding: 8px 12px; font-size: 13px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.hero h1 {
  font-size: 34px;
  margin-bottom: 14px;
}
.hero .lead {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 46ch;
  margin: 0;
}
.photo-frame {
  position: relative;
  width: 200px;
}
.photo-frame .doc {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.trust-item {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.section {
  padding: 36px 0 20px;
}
.section-head {
  margin-bottom: 18px;
  max-width: 40rem;
}
.section-head h2 {
  font-size: 26px;
  margin-bottom: 8px;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.grid-2, .grid-3 {
  display: grid;
  gap: 10px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tile {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  text-decoration: none;
  box-shadow: none;
  transition: border-color .15s ease;
}
.tile:hover {
  border-color: #555;
  color: var(--ink);
}
.tile .meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.tile h3 {
  font-size: 17px;
}
.tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.page-hero {
  padding: 28px 0 10px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.prose {
  max-width: 44rem;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 {
  font-size: 22px;
  margin: 1.6rem 0 0.7rem;
}
.prose ul {
  padding-left: 1.2rem;
}
.pain-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 12px 0 18px;
  max-width: 220px;
}
.pain-meter span {
  height: 8px;
  border-radius: 0;
  background: #222;
}
.pain-meter span.on { background: #f3f1ec; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ph {
  aspect-ratio: 1;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #111;
  display: grid;
  place-items: end start;
  padding: 12px;
  color: var(--ink-soft);
  font-size: 12px;
}

.cta-band {
  box-sizing: border-box;
  margin: 28px auto 40px;
  width: calc(100% - 40px);
  max-width: calc(var(--max) - 40px);
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
}
.cta-band h2 { font-size: 22px; margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--ink-soft); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 100px;
  background: var(--bg);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0;
}
.footer-master { margin: 4px 0 10px; color: var(--ink-soft); }
.footer-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}
.muted { color: var(--ink-soft); }
.translit { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.footer-copy {
  max-width: var(--max);
  margin: 24px auto 0;
  padding: 0 20px;
  color: var(--ink-soft);
  font-size: 12px;
}

.mobile-bar {
  display: none;
}

@media (max-width: 760px) {
  .header-actions > .lang-switch,
  .header-call {
    display: none;
  }
  .site-nav {
    background: var(--bg);
  }
  .site-nav-inner {
    display: block;
    padding: 16px 20px 100px;
  }
  .site-nav-panel {
    width: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .nav-lang {
    display: inline-flex;
    margin: 0 0 18px;
  }
  .site-nav-links a {
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav-links a:hover,
  .site-nav-links a[aria-current="page"] {
    background: transparent;
  }
  .site-nav-links a:last-child {
    border-bottom: 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .photo-frame { width: 140px; }
  .hero h1 { font-size: 27px; }
  .trust, .grid-3, .grid-2, .portfolio-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-row .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .mobile-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn {
    flex: 1;
    justify-content: center;
    border-radius: 0;
    padding: 14px 12px;
  }
  body { padding-bottom: 78px; }
}

@media (min-width: 761px) {
  .header-actions > .lang-switch,
  .header-call {
    display: inline-flex;
  }
}
