/* Pinco Таджикистан — Site1 (Silk Road Gold) */
:root {
  --bg: #f7f2e8;
  --bg-soft: rgba(247, 242, 232, 0.94);
  --surface: #fffcf6;
  --ink: #2a1520;
  --ink-soft: #4a3540;
  --muted: #7a6b72;
  --line: #e0d5c8;
  --burgundy: #5c1a2e;
  --gold: #c9a227;
  --gold-soft: #f5ecd4;
  --tj-green: #006233;
  --tj-red: #cc0000;
  --pin: #e63946;
  --pin-dark: #c42d38;
  --radius: 12px;
  --radius-sm: 6px;
  --container: 1140px;
  --container-prose: 1700px;
  --container-bonuses: 1500px;
  --header-h: 72px;
  --font-display: "PT Serif", Georgia, serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --shadow: 0 14px 40px rgba(42, 21, 32, 0.1);
  --transition: 0.2s ease;
  --fon: url("../../fon.png");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--ink-soft);
  background-color: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(247, 242, 232, 0.96), rgba(235, 225, 210, 0.92)),
    repeating-linear-gradient(-8deg, rgba(201, 162, 39, 0.04) 0 2px, transparent 2px 22px),
    var(--fon);
  background-position: center top; background-size: cover; background-repeat: no-repeat;
  background-attachment: scroll;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pin); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pin-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pin); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; padding: 0.75rem 1rem; background: var(--burgundy); color: #fff; }
.skip-link:focus { left: 0; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--burgundy); border-bottom: 3px solid var(--gold);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo img { height: 38px; width: auto; }
.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-sm);
  background: transparent; color: #fff; font-family: var(--font-body); font-size: 0.875rem; cursor: pointer;
}
.nav-toggle-bars { display: flex; flex-direction: column; justify-content: center; width: 20px; height: 14px; }
.nav-toggle-bars span, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; display: block; height: 2px; background: #fff; border-radius: 1px; }
.nav-toggle-bars span { margin: 3px 0; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.88); font-size: 0.875rem; font-weight: 600;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--burgundy); background: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.3rem; border: 2px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-primary { background: var(--pin); color: #fff; }
.btn-primary:hover { background: var(--pin-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--pin); border-color: var(--pin); }
.btn-secondary:hover { background: var(--pin); color: #fff; }
.btn-gold { background: var(--gold); color: var(--burgundy); }
.btn-gold:hover { background: #b89220; color: var(--burgundy); }

.hero-center { padding: 3rem 0 2.5rem; text-align: center; }
.hero-center h1 {
  margin: 0 0 1rem; font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.85rem); font-weight: 700; line-height: 1.15; color: var(--ink);
}
.hero-kicker {
  display: inline-block; margin-bottom: 0.75rem; padding: 0.3rem 0.85rem;
  background: var(--gold); color: var(--burgundy); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px;
}
.hero-lead { margin: 0 auto 1.35rem; max-width: 58ch; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--burgundy); color: #fff; border-block: 2px solid var(--gold);
}
.stat-item { padding: 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-value { display: block; font-size: 1.25rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.75rem; font-weight: 600; opacity: 0.9; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card {
  padding: 1.4rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 4px solid var(--gold);
}
.feature-card h3 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); }
.feature-card p { margin: 0 0 0.65rem; font-size: 0.9rem; }
.text-link { font-size: 0.8125rem; font-weight: 700; }

.section-banner {
  position: relative; padding: 2.5rem 0;
  background: var(--burgundy) var(--fon) center / cover no-repeat; color: #fff;
}
.section-banner::before { content: ""; position: absolute; inset: 0; background: rgba(92, 26, 46, 0.88); }
.section-banner::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tj-green), var(--gold), var(--tj-red));
}
.section-banner-inner {
  position: relative; z-index: 1; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.section-banner-kicker { margin: 0 0 0.35rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.section-banner h2 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.75rem); color: #fff; }
.section-banner p { margin: 0; max-width: 44ch; color: rgba(255,255,255,0.88); }
.section-banner .btn-secondary { border-color: #fff; color: #fff; }
.section-banner .btn-secondary:hover { background: var(--pin); border-color: var(--pin); color: #fff; }

.container-prose { width: min(100% - 2rem, var(--container-prose)); margin-inline: auto; }
.container-bonuses { width: min(100% - 2rem, var(--container-bonuses)); margin-inline: auto; }

.content-prose { overflow-wrap: break-word; max-width: 100%; }
.content-prose p { margin: 0 0 1rem; }
.content-prose h2 { margin: 2rem 0 0.65rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 1rem); }
.content-prose h2:first-child { margin-top: 0; }
.content-prose h3 { margin: 1.25rem 0 0.5rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.content-prose ol, .content-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.content-prose li { margin-bottom: 0.35rem; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.step-card {
  padding: 1.2rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-align: center;
}
.step-num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 0.4rem; }
.step-card h3 { margin: 0 0 0.35rem; font-size: 0.9rem; color: var(--ink); }
.step-card p { margin: 0; font-size: 0.82rem; }

/* Inner pages use the same content width as the rest of the site */
.section-banner-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
.nav-toggle-label { font-size: 0.875rem; font-weight: 600; }
.inner-page .page-lead { margin-bottom: 1.75rem; }
.inner-page .content-prose { margin-bottom: 0; }
.contact-form label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.6rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem;
}
.contact-form p { margin: 0 0 0.75rem; }
.split-side ol { margin: 0 0 1rem; padding-left: 1.15rem; font-size: 0.9rem; }
.split-side ol li { margin-bottom: 0.35rem; }
.table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.table-caption { margin: 0 0 0.5rem; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); border: 1px solid var(--line); }
.data-table th, .data-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--burgundy); color: #fff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.data-table tr:last-child td { border-bottom: none; }

.faq-accordion { max-width: 820px; }
.faq-accordion details {
  margin-bottom: 0.65rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-accordion summary { padding: 1rem 1.15rem; font-weight: 700; font-size: 0.9rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion details[open] summary { background: var(--gold-soft); }
.faq-accordion details p { margin: 0; padding: 0 1.15rem 1rem; font-size: 0.875rem; }

.cta-band {
  padding: 2.5rem 0; background: linear-gradient(135deg, var(--burgundy), #3d1220);
  color: #fff; border-top: 3px solid var(--gold); text-align: center;
}
.cta-band h2 { margin: 0 0 0.5rem; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.7rem); color: #fff; }
.cta-band p { margin: 0 0 1.15rem; color: rgba(255,255,255,0.88); }

.section { padding: 2.75rem 0; }
.section-tight { padding: 2.25rem 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-title { margin: 0 0 1.25rem; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; color: var(--ink); }
.section-intro { margin: -0.5rem 0 1.5rem; max-width: 62ch; }
.page-kicker { margin: 0 0 0.5rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.page-title { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; color: var(--ink); }
.page-lead { margin: 0 0 2rem; max-width: 65ch; font-size: 1.05rem; }

.site-footer { padding: 2rem 0 0; background: var(--burgundy); color: rgba(255,255,255,0.8); border-top: 3px solid var(--gold); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.25rem; }
.footer-brand strong { display: block; margin-bottom: 0.4rem; font-family: var(--font-display); color: #fff; }
.footer-brand p { margin: 0; max-width: 36ch; font-size: 0.8125rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 0.8125rem; font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { padding-bottom: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.footer-legal-nav a { color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 600; }
.footer-legal-nav a:hover { color: var(--gold); }
.footer-bottom { padding: 0.85rem 0 1.25rem; }
.footer-bottom p { margin: 0; font-size: 0.75rem; color: rgba(255,255,255,0.4); }

.author-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.author-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.author-photo { width: 130px; height: 130px; margin: 0 auto 0.85rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.author-card h2 { margin: 0 0 0.2rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.author-role { margin: 0 0 0.65rem; font-size: 0.75rem; font-weight: 700; color: var(--burgundy); text-transform: uppercase; letter-spacing: 0.05em; }
.author-card p { margin: 0; font-size: 0.875rem; text-align: left; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.contact-list strong { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; margin-bottom: 0.15rem; }
.contact-box { padding: 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.side-title { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }

.legal-section h2 { margin: 1.75rem 0 0.65rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.legal-section h2:first-child { margin-top: 0; }
.legal-section p, .legal-section li { font-size: 0.9rem; }
.legal-section ul, .legal-section ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.split-layout { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 2rem; }
.split-side { padding: 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--gold); }
.side-links { margin: 0 0 1rem; padding: 0; list-style: none; }
.side-links li { margin-bottom: 0.4rem; }
.side-cta { width: 100%; }

@media (max-width: 900px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .feature-grid, .steps-row, .author-grid, .split-layout, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    padding: 1rem; background: var(--burgundy); border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-cta { width: 100%; margin-top: 0.5rem; }
  .stat-strip { grid-template-columns: 1fr; }
  .section-banner-inner { flex-direction: column; align-items: flex-start; }
}
