:root {
  --yellow: #f2cf10;
  --yellow-dark: #d7b80b;
  --ink: #22242a;
  --ink-soft: #343740;
  --text: #2a2d34;
  --muted: #69707a;
  --line: #dde2e8;
  --bg: #f5f3ee;
  --bg-soft: #fffdf8;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.72);
  --shadow: 0 14px 40px rgba(28, 35, 48, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #faf8f2 0%, #f5f3ee 100%);
  line-height: 1.58;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(50, 54, 61, 0.95);
  color: var(--white);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(20, 24, 33, 0.12);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #171717;
  font-weight: 800;
  font-size: 1.42rem;
  padding: 14px 24px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(242, 207, 16, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: 0.22s ease;
}
.nav-toggle span { margin: 5px 0; }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: rgba(255,255,255,0.92);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active { background: rgba(255,255,255,0.12); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 22px;
  border-radius: 12px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--yellow);
  color: #111;
  box-shadow: 0 10px 22px rgba(242, 207, 16, 0.2);
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.btn-dark {
  background: var(--ink-soft);
  color: var(--white);
}
.btn-dark:hover { background: #292c33; transform: translateY(-1px); }

.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(242, 207, 16, 0.28), transparent 32%),
    radial-gradient(circle at right center, rgba(255,255,255,0.08), transparent 28%),
    linear-gradient(135deg, #535863 0%, #454a54 38%, #3d4149 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.18;
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 42px;
  padding: 86px 0;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.01;
  margin: 0 0 18px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.hero-copy p,
.page-hero .lead {
  font-size: 1.12rem;
  max-width: 700px;
  color: rgba(255,255,255,0.93);
  margin: 0 0 24px;
}

.hero-actions,
.helper-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions { margin-bottom: 28px; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span,
.inline-pill,
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
}
.breadcrumbs { margin-bottom: 14px; }
.inline-pill { margin-bottom: 14px; }

.hero-panel,
.page-hero-panel {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 42px rgba(20, 26, 38, 0.16);
}

.hero-panel h2,
.hero-panel h3,
.page-hero-panel h2,
.page-hero-panel h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.hero-panel p,
.page-hero-panel p,
.page-hero-panel li,
.hero-panel li { color: rgba(255,255,255,0.9); }
.page-hero-panel ul,
.hero-panel ul { margin: 18px 0 0; padding-left: 18px; }

.topic-preview,
.city-quick-links {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.topic-preview a,
.city-quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  font-weight: 700;
}

.topic-preview a:hover,
.city-quick-links a:hover { background: rgba(255,255,255,0.16); }
.topic-preview small { display: block; font-weight: 400; color: rgba(255,255,255,0.8); margin-top: 4px; }

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: #40444d; color: var(--white); }
.section-soft { background: #fff8d8; border-top: 1px solid #f0e2a0; border-bottom: 1px solid #f0e2a0; }

.section-header { margin-bottom: 30px; }
.section-header.center { text-align: center; }
.section-kicker {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8d939c;
  margin-bottom: 12px;
}
.section-dark .section-kicker { color: rgba(255,255,255,0.7); }
.section-header h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.section-header p { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 760px; }
.section-dark .section-header p,
.section-dark p.muted { color: rgba(255,255,255,0.84); }

.trust-strip {
  background: #fff7cf;
  border-top: 1px solid #f0e2a0;
  border-bottom: 1px solid #f0e2a0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 0;
}
.trust-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid #eee39f;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}
.trust-card strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.trust-card span { color: var(--muted); }

.grid-2,
.grid-3,
.grid-4,
.page-grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.page-grid { grid-template-columns: 1.05fr 0.95fr; }

.card,
.topic-card,
.city-card,
.testimonial,
.faq-item,
.step,
.mini-card,
.small-testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.topic-card,
.city-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.topic-card-top,
.city-card-top {
  background: linear-gradient(135deg, rgba(242, 207, 16, 0.18), rgba(255,255,255,0.98));
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.topic-card h3,
.city-card h3,
.mini-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.topic-card p,
.city-card p,
.mini-card p,
.muted { color: var(--muted); }

.topic-card ul,
.city-card ul { margin: 0; padding: 20px 24px 0 42px; }
.topic-card li + li,
.city-card li + li { margin-top: 8px; }
.topic-card-footer,
.city-card-footer { padding: 24px; margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

.feature-list,
.benefit-list,
.topic-list { display: grid; gap: 16px; }
.feature-item,
.benefit-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.feature-icon,
.step-number {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
}

.feature-item h3,
.step h3,
.testimonial h3,
.faq-item h3,
.benefit-item h3 { margin: 0 0 8px; }
.feature-item p,
.step p,
.testimonial p,
.faq-item p,
.benefit-item p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 24px; }

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.topic-tags a,
.topic-tags span {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { padding: 26px; position: relative; }
.testimonial::before {
  content: "“";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 3.2rem;
  color: rgba(242, 207, 16, 0.28);
  line-height: 1;
}
.testimonial-rating { color: #d4a80b; letter-spacing: 0.08em; font-size: 0.92rem; font-weight: 800; margin-bottom: 16px; }
.testimonial-author { margin-top: 16px; font-weight: 800; }
.testimonial-role { font-size: 0.9rem; color: var(--muted); }

.small-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.small-testimonial { padding: 22px; }
.small-testimonial .name { margin-top: 14px; font-weight: 800; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.faq-item { padding: 24px; }

.note-box {
  background: #fff8d8;
  border: 1px solid #f0e2a0;
  border-radius: 16px;
  padding: 18px;
  color: #5f5a47;
}

.cta-band {
  background: linear-gradient(135deg, #4d525d 0%, #373b43 100%);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  box-shadow: 0 18px 40px rgba(20, 26, 38, 0.14);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,0.84); max-width: 720px; }

.footer {
  background: #383c44;
  color: #fff;
  padding: 54px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr 0.95fr;
  gap: 22px;
}
.footer h3,
.footer h4 { margin-top: 0; margin-bottom: 14px; }
.footer p,
.footer li,
.footer a { color: rgba(255,255,255,0.84); }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 10px; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.66);
  font-size: 0.95rem;
}

.text-center { text-align: center; }

@media (max-width: 1100px) {
  .hero-inner,
  .page-hero-inner,
  .footer-grid,
  .trust-grid,
  .grid-4,
  .page-grid { grid-template-columns: 1fr 1fr; }

  .grid-3,
  .steps,
  .testimonials-grid,
  .small-testimonials,
  .faq-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(50, 54, 61, 0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 28px rgba(20, 24, 33, 0.16);
    padding: 14px 16px 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nav-menu.open { display: flex; }
  .nav-links,
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-links a,
  .nav-actions .btn { width: 100%; justify-content: center; }

  .hero-inner,
  .page-hero-inner,
  .grid-2,
  .grid-3,
  .grid-4,
  .page-grid,
  .steps,
  .testimonials-grid,
  .small-testimonials,
  .faq-grid,
  .footer-grid,
  .trust-grid { grid-template-columns: 1fr; }

  .hero-inner,
  .page-hero-inner { padding: 66px 0; }

  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .brand { font-size: 1.18rem; padding: 12px 16px; }
  .hero-copy h1,
  .page-hero h1 { line-height: 1.04; }
  .section { padding: 62px 0; }
  .section-tight { padding: 44px 0; }

  .hero-panel,
  .page-hero-panel,
  .testimonial,
  .faq-item,
  .step,
  .feature-item,
  .benefit-item,
  .small-testimonial,
  .cta-band,
  .mini-card { padding: 20px; }

  .btn,
  .button,
  .city-card-footer .btn,
  .topic-card-footer .btn,
  .helper-row .btn,
  .hero-actions .btn { width: 100%; }

  .hero-actions,
  .city-card-footer,
  .topic-card-footer,
  .helper-row { flex-direction: column; }
}
