:root {
  --bg: #fffaf5;
  --bg2: #fff5f0;
  --accent: #a86d52;
  --accent-h: #8b5a40;
  --text: #3d2b1f;
  --muted: #8b7a70;
  --border: rgba(212,168,122,0.3);
  --card-bg: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,250,245,0.85) 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
.nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(168,109,82,0.08);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-dot { font-size: 10px; }

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(168,109,82,0.1);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--accent);
  margin-left: auto;
}

/* CONTAINER */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* HERO */
.hero {
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 60%, #ffe8dc 100%);
  padding: 80px 0 70px;
  text-align: center;
}

.hero-deco {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4a87a, transparent);
  margin: 0 auto 28px;
  border-radius: 2px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 .ru {
  display: block;
  font-size: 22px;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

.hero-tagline {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* SECTIONS */
.section {
  padding: 64px 0;
}

.section:nth-child(even) {
  background: rgba(255,245,240,0.5);
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c9a882;
  margin-bottom: 12px;
}

.section h2 {
  font-size: 30px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.3;
}

.lead {
  font-size: 17px;
  color: #5a4a42;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(168,109,82,0.06);
  transition: all 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(168,109,82,0.12);
  border-color: rgba(168,109,82,0.3);
}

.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* TWO COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.notice-block {
  background: linear-gradient(135deg, rgba(255,235,205,0.7) 0%, rgba(255,225,185,0.5) 100%);
  border-left: 4px solid #d4a87a;
  padding: 20px 24px;
  border-radius: 10px;
  font-size: 14px;
  color: #6b5a50;
}

.notice-block strong {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.notice-block ul {
  list-style: none;
  padding: 0;
}

.notice-block ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.notice-block ul li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: #d4a87a;
}

/* IFRAME PAGES */
.iframe-wrap {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 12px rgba(168,109,82,0.07);
}

.iframe-wrap iframe {
  width: 100%;
  min-height: 600px;
  display: block;
  border: none;
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 100%);
  padding: 50px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 34px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 15px;
  color: var(--muted);
}

/* FOOTER */
.footer {
  background: #2a1f17;
  color: rgba(255,255,255,0.7);
  padding: 32px 0 24px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-weight: 600;
  color: #f5c5a0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.footer-links a:hover { color: #f5c5a0; }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  text-align: center;
}

.fine-print {
  font-size: 13px;
  color: var(--muted);
}

.fine-print a { color: var(--accent); }

/* MOBILE */
@media (max-width: 680px) {
  .hero h1 { font-size: 32px; }
  .hero h1 .ru { font-size: 17px; }
  .hero { padding: 56px 0 50px; }
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: white; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
