:root {
  --bg: #0c1016;
  --bg-elev: #171d28;
  --bg-deep: #080b10;
  --text: #f4f0e6;
  --muted: #cfc6b4;
  --gold: #e2c27a;
  --gold-deep: #c6a15a;
  --ink: #14110c;
  --line: rgba(226, 194, 122, 0.32);
  --line-soft: rgba(244, 240, 230, 0.12);
  --serif: "Frank Ruhl Libre", "Times New Roman", "Noto Serif Hebrew", serif;
  --sans: "Segoe UI", Arial, "Helvetica Neue", "Noto Sans Hebrew", sans-serif;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

html:lang(ru),
html:lang(en) {
  --serif: "Source Serif 4", "Times New Roman", Times, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--gold); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: -4rem;
  z-index: 60;
  background: var(--bg-elev);
  color: var(--text);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 16, 22, 0.92);
  backdrop-filter: blur(14px);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: none;
  padding: 5px;
  background: #f6f3ec;
  border-radius: 0.75rem;
  box-shadow: 0 0 0 1px var(--gold);
}
.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
}

.brand-role {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.langs {
  display: flex;
  flex: none;
  gap: 0.1rem;
}

.langs a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.35rem;
  border-radius: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  touch-action: manipulation;
}

.langs a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
  color: var(--gold);
}

.hero {
  position: relative;
  padding: 1.35rem 0 2.6rem;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% 42%, rgba(8, 10, 16, 0.94) 0%, rgba(8, 10, 16, 0.88) 52%, rgba(8, 10, 16, 0.78) 100%),
    url("/assets/hero-sm.webp");
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

.portrait { margin: 0; justify-self: center; order: -1; }

.portrait img {
  width: min(196px, 54vw);
  height: auto;
  border-radius: 1.15rem;
  background: #111;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 4px var(--gold),
    0 18px 40px rgba(0, 0, 0, 0.45);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.kicker::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: var(--gold);
  flex: none;
}

h1 {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.15rem, 7vw, 4.1rem);
  line-height: 1.12;
  color: var(--text);
  letter-spacing: 0;
}

.lead {
  margin-top: 0.75rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.cta {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  touch-action: manipulation;
}

.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn-call { background: var(--gold); color: var(--ink); }
.btn-call:hover { background: #f0d7a0; }
.btn-wa { background: #0f6e56; color: #fff; }
.btn-wa:hover { background: #12866a; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(244, 240, 230, 0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.section { padding: 2.8rem 0; }

.sec-title {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--text);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gold);
}

.sec-intro {
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
  max-width: 40rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 0.85rem;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-block-start: 2px solid var(--gold);
  border-radius: 0.95rem;
  padding: 1.1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.card p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.legal {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}

.social-grid {
  display: grid;
  gap: 0.85rem;
}

.social-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-block-start: 3px solid var(--gold);
  border-radius: 1rem;
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  margin-bottom: 0.35rem;
}

.icon-badge svg { width: 1.35rem; height: 1.35rem; }
.social-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
}
.social-card p { color: var(--muted); }
.social-card .btn { margin-top: 0.55rem; width: 100%; }

.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: 0.8rem;
  padding: 0.15rem 1rem;
  margin-top: 0.6rem;
}

.faq summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  touch-action: manipulation;
}

.faq-q {
  flex: 1;
  min-width: 0;
  text-align: start;
}
bdi { unicode-bidi: isolate; }

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--gold);
  flex: none;
}

.faq details[open] summary::after { content: "\2212"; }

.faq details p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  padding: 0.4rem 1.15rem 1.15rem;
  box-shadow: var(--shadow);
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.contact-links a:hover { color: var(--gold); }
.contact-links svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--gold); }
.phone-row { font-size: 1.45rem; letter-spacing: 0.01em; }
.where {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.fact { margin-top: 0.35rem; color: var(--text); }
.fact-k {
  display: block;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 700;
}
.fact-v { display: block; font-size: 1.08rem; }

.hours {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}
.hours li {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  padding: 0.15rem 0;
  font-size: 1.05rem;
}
.hours-time { font-variant-numeric: tabular-nums; }

.map-block { margin-top: 1rem; }
.map-load {
  width: 100%;
  min-height: 200px;
  border-radius: 0.85rem;
  border: 1px dashed var(--gold);
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.72), rgba(12, 16, 22, 0.88)),
    url("/assets/hero-sm.webp") center / cover;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.map-load:hover { border-style: solid; }
.map-block iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 0.85rem;
  background: var(--bg-deep);
}
.map-directions { margin: 0.45rem 0 0; }
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}
.map-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--gold);
}

.site-footer {
  padding: 0.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); color: var(--gold); }

.callbar {
  position: fixed;
  z-index: 40;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(8, 11, 16, 0.96);
  border-top: 1px solid var(--line);
}

.callbar .btn { border-radius: 0.8rem; min-height: 48px; }

.narrow { max-width: 44rem; }

@media (min-width: 720px) {
  .brand-badge { width: 64px; height: 64px; }
  .cta { display: flex; flex-wrap: wrap; }
  .btn { min-width: 220px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .social-card .btn { width: auto; min-width: 210px; }
}

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .hero {
    padding: 3.4rem 0 4.2rem;
    background-image:
      radial-gradient(ellipse at 46% 48%, rgba(8, 10, 16, 0.94) 0%, rgba(8, 10, 16, 0.86) 48%, rgba(8, 10, 16, 0.74) 100%),
      url("/assets/hero.webp");
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 3rem;
  }
  .portrait { order: 0; justify-self: end; }
  .portrait img { width: min(100%, 380px); }
  .section { padding: 4.25rem 0; }
  .cards.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .social-grid,
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .callbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
}

@media print {
  .callbar, .skip, .langs, .cta { display: none; }
  body { padding: 0; background: #fff; color: #111; }
  .site-header { position: static; }
  a, h1, h2, h3, .card, .sec-title { color: #111; }
}
