:root {
  --bg: #08111f;
  --bg-soft: #0f1d31;
  --text: #f4f7fb;
  --muted: #aebbd0;
  --dark: #172033;
  --dark-muted: #5f6d82;
  --line: rgba(255,255,255,.14);
  --gold: #d7b46a;
  --gold-dark: #b79245;
  --gold-soft: rgba(215,180,106,.16);
  --blue-soft: #eef4ff;
  --white: #ffffff;
  --page: #f4f7fb;
  --shadow: 0 24px 60px rgba(0,0,0,.25);
  --shadow-soft: 0 16px 38px rgba(13,25,42,.08);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--page);
  color: var(--dark);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 16px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 6vw, 74px); max-width: 760px; }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 22px; letter-spacing: -.02em; }

.page { overflow-x: clip; background: var(--page); }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.skip-link { position: absolute; left: -999px; top: 12px; background: var(--white); color: var(--dark); padding: 10px 14px; border-radius: 12px; z-index: 100; }
.skip-link:focus { left: 12px; }

.header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); background: rgba(8,17,31,.88); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); min-width: 0; }
.brand-mark { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #08111f; font-weight: 900; letter-spacing: -1px; background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%); box-shadow: 0 10px 30px rgba(215,180,106,.22); }
.brand-name { display: block; font-weight: 900; letter-spacing: .2px; line-height: 1.08; }
.brand-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--white); }
.header-cta { padding: 11px 16px; border-radius: 999px; background: var(--gold); color: #08111f; font-weight: 900; font-size: 14px; white-space: nowrap; }

.hero { position: relative; color: var(--text); padding: 70px 0 58px; background:
  linear-gradient(90deg, rgba(8,17,31,.95) 0%, rgba(8,17,31,.9) 36%, rgba(8,17,31,.62) 100%),
  url("moscow-city-guide-main-hero.webp") center / cover no-repeat,
  #08111f; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, transparent, rgba(8,17,31,.75)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 38px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #dfe8f7; background: rgba(255,255,255,.08); font-size: 14px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(215,180,106,.14); }
.lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--muted); max-width: 760px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 20px; border-radius: 999px; font-weight: 900; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #08111f; box-shadow: 0 16px 34px rgba(215,180,106,.22); }
.btn-secondary { border-color: var(--line); color: var(--white); background: rgba(255,255,255,.08); }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.fact { padding: 14px 15px; border: 1px solid var(--line); border-radius: 18px; color: #dce6f4; background: rgba(255,255,255,.075); font-size: 14px; }
.hero-card { position: relative; padding: 14px; border-radius: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.1); box-shadow: var(--shadow); }
.hero-card figure { margin: 0; }
.hero-card img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; border-radius: 22px; }
.hero-caption { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 15px 8px 3px; color: var(--muted); font-size: 14px; }
.status { color: #08111f; background: #ffffff; border-radius: 999px; padding: 7px 10px; font-weight: 900; font-size: 12px; white-space: nowrap; }

.section { padding: 76px 0; }
.section-white { background: #ffffff; }
.section-dark { background: #0b1627; color: var(--text); }
.section-head { max-width: 850px; margin-bottom: 34px; }
.section-head p { color: var(--dark-muted); font-size: 18px; }
.section-dark .section-head p, .section-dark .text-muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.panel, .info-card, .directory-card, .trust-card, .faq-item { border-radius: var(--radius); background: var(--white); border: 1px solid rgba(23,32,51,.08); box-shadow: var(--shadow-soft); }
.panel { padding: 32px; }
.panel p { color: var(--dark-muted); font-size: 17px; }
.about-image { overflow: hidden; border-radius: 30px; border: 1px solid rgba(23,32,51,.08); box-shadow: var(--shadow-soft); min-height: 100%; }
.about-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.info-card { padding: 26px; }
.info-card p { color: var(--dark-muted); margin-bottom: 0; }
.info-card .num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: #eef3fa; color: #31527e; font-weight: 900; margin-bottom: 16px; }
.directory-card { overflow: hidden; min-height: 100%; }
.directory-card figure { margin: 0; }
.directory-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: linear-gradient(135deg, #dfe7f2, #c5d2e3); }
.directory-card-body { padding: 22px; }
.directory-card-body p { color: var(--dark-muted); margin-bottom: 0; }
.trust-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.trust-image { margin: 0; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft); }
.trust-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trust-card { padding: 24px; background: rgba(255,255,255,.065); border-color: var(--line); color: var(--text); box-shadow: none; }
.trust-card p { color: var(--muted); margin-bottom: 0; }
.trust-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.trust-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: #dfe8f7; }
.trust-list li::before { content: "✓"; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; background: var(--gold-soft); color: var(--gold); font-weight: 900; }
.business-box { display: grid; grid-template-columns: 1.04fr .96fr; gap: 26px; align-items: center; padding: 16px; border-radius: 32px; background: var(--white); box-shadow: var(--shadow-soft); border: 1px solid rgba(23,32,51,.08); }
.business-content { padding: 22px; }
.business-content p { color: var(--dark-muted); font-size: 17px; }
.business-image { margin: 0; overflow: hidden; border-radius: 24px; }
.business-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge { padding: 9px 12px; border-radius: 999px; background: #eef3fa; color: #31527e; font-weight: 900; font-size: 13px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 900; font-size: 20px; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--gold-dark); font-size: 26px; line-height: 1; margin-left: 12px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--dark-muted); margin: -8px 24px 22px; }
.contact-card { border-radius: 32px; padding: 34px; color: var(--text); background: linear-gradient(135deg, rgba(215,180,106,.14), transparent 34%), linear-gradient(135deg, #0b1627 0%, #17243a 100%); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.contact-card p { color: var(--muted); max-width: 760px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-links a { border: 1px solid var(--line); padding: 10px 13px; border-radius: 999px; color: #dfe8f7; background: rgba(255,255,255,.06); font-weight: 800; }
.contact-details { display: grid; gap: 8px; margin: 18px 0 4px; color: #dfe8f7; }
.contact-details span { color: var(--muted); }
.contact-details strong { color: var(--text); }
.footer { padding: 42px 0; background: #07101d; color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.footer a { color: #dfe8f7; }
.footer-desc { margin-top: 14px; max-width: 560px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: flex-end; font-size: 14px; }
.copyright { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-grid, .grid-2, .trust-wrap, .business-box, .footer-grid, .contact-card { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { justify-content: flex-start; }
  .hero { padding-top: 54px; }
  .hero-card { max-width: 720px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 11px; }
  .header-cta { display: none; }
  .hero { padding: 42px 0 40px; background-position: center top; }
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(33px, 10vw, 42px); }
  h2 { font-size: clamp(27px, 8vw, 36px); }
  h3 { font-size: 20px; }
  .lead { font-size: 16px; }
  .eyebrow { font-size: 13px; border-radius: 16px; align-items: flex-start; }
  .hero-actions, .contact-links { width: 100%; }
  .btn { width: 100%; min-height: 48px; }
  .hero-facts, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-card { padding: 10px; border-radius: 22px; }
  .hero-card img, .directory-card img, .business-image img, .trust-image img { border-radius: 16px; aspect-ratio: 16 / 10; }
  .hero-caption { grid-template-columns: 1fr; font-size: 13px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head p { font-size: 16px; }
  .panel, .info-card, .directory-card-body, .trust-card, .contact-card { padding: 22px; }
  .business-box { padding: 10px; border-radius: 24px; }
  .business-content { padding: 14px; }
  .about-image img { min-height: 260px; }
  .faq-item summary { padding: 20px; font-size: 18px; }
  .faq-item p { margin: -6px 20px 20px; }
  .footer { padding: 34px 0; }
  .footer-links { display: grid; grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 22px), var(--max)); }
  h1 { font-size: 31px; }
  .fact { font-size: 13px; }
}

.service-panel { padding: clamp(28px, 5vw, 56px); }


/* inner pages */
.page-hero { position: relative; color: var(--text); padding: 72px 0 54px; background: linear-gradient(110deg, rgba(8,17,31,.96), rgba(8,17,31,.82)), url("/assets/moscow-city-guide-main-hero.webp") center / cover no-repeat, #08111f; }
.page-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 34px; align-items: center; }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { color: #cbd6e8; }
.page-hero-media { margin: 0; overflow: hidden; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); background: rgba(255,255,255,.06); }
.page-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-hero-media figcaption { color: var(--muted); font-size: 13px; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(8,17,31,.6); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: #cbd6e8; font-size: 14px; }
.breadcrumbs a { color: var(--white); font-weight: 800; }
.breadcrumbs span::before { content: "/"; margin-right: 8px; color: var(--gold); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.content-stack { display: grid; gap: 22px; }
.aside-card { position: sticky; top: 96px; border-radius: 28px; padding: 24px; background: var(--white); border: 1px solid rgba(23,32,51,.08); box-shadow: var(--shadow-soft); }
.aside-card h3 { margin-bottom: 12px; }
.aside-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.aside-list a { display: block; padding: 10px 12px; border-radius: 14px; color: #31527e; background: #eef3fa; font-weight: 900; font-size: 14px; }
.page-panel { padding: clamp(24px, 4vw, 38px); }
.page-panel p { color: var(--dark-muted); font-size: 17px; }
.rich-list { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.rich-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--dark-muted); }
.rich-list li::before { content: "✓"; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; background: var(--gold-soft); color: var(--gold-dark); font-weight: 900; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.step-card { padding: 22px; border-radius: 24px; background: var(--white); border: 1px solid rgba(23,32,51,.08); box-shadow: var(--shadow-soft); }
.step-card .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; margin-bottom: 14px; background: #eef3fa; color: #31527e; font-weight: 900; }
.step-card p { color: var(--dark-muted); margin: 0; }
.page-cta { border-radius: 32px; padding: 34px; color: var(--text); background: linear-gradient(135deg, rgba(215,180,106,.16), transparent 34%), linear-gradient(135deg, #0b1627 0%, #17243a 100%); box-shadow: var(--shadow); }
.page-cta p { color: var(--muted); max-width: 880px; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.policy-meta span { padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid var(--line); color: #dfe8f7; font-size: 13px; font-weight: 800; }
.legal-section h2 { font-size: clamp(24px, 3vw, 34px); }
.legal-section + .legal-section { margin-top: 18px; }
.contact-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.contact-strip .info-card { padding: 20px; }
.contact-strip .info-card a { color: #31527e; font-weight: 900; }

@media (max-width: 1080px) {
  .page-hero-grid, .page-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .step-grid, .contact-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .page-hero { padding: 42px 0 38px; }
  .page-hero-grid { gap: 22px; }
  .page-hero-media { border-radius: 22px; }
  .page-panel, .page-cta, .aside-card { padding: 22px; border-radius: 24px; }
  .step-grid, .contact-strip { grid-template-columns: 1fr; }
  .breadcrumbs { font-size: 13px; }
  .policy-meta { display: grid; }
}




/* mobile burger menu */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle:focus-visible,
.nav a:focus-visible,
.header-cta:focus-visible {
  outline: 3px solid rgba(215,180,106,.55);
  outline-offset: 3px;
}
.nav .nav-cta { display: none; }
.header-cta-desktop { display: inline-flex; align-items: center; }

@media (max-width: 1080px) {
  .header-inner { position: relative; }
  .menu-toggle { display: inline-flex; position: relative; margin-left: auto; z-index: 80; }
  .header-cta-desktop { display: none; }
  .nav {
    position: fixed;
    top: 84px;
    left: max(16px, env(safe-area-inset-left));
    right: max(16px, env(safe-area-inset-right));
    z-index: 70;
    display: grid;
    gap: 8px;
    max-height: calc(100dvh - 104px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8,17,31,.98);
    box-shadow: 0 26px 70px rgba(0,0,0,.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(.98);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }
  .header.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    color: #dfe8f7;
    background: rgba(255,255,255,.055);
    font-size: 15px;
    font-weight: 800;
  }
  .nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }
  .nav .nav-cta {
    display: flex;
    justify-content: center;
    color: #08111f;
    background: var(--gold);
    border-color: rgba(215,180,106,.7);
    font-weight: 900;
  }
  .header.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  body.menu-lock { overflow: hidden; touch-action: none; }
}

@media (max-width: 760px) {
  .nav {
    top: 74px;
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    max-height: calc(100dvh - 88px);
    padding: 12px;
    border-radius: 20px;
  }
  .menu-toggle { width: 42px; height: 42px; border-radius: 13px; }
}
