/* Pinco Таджикистан — Site5 (Iskanderkul) */
:root {
  --bg: #eef2f6;
  --bg-soft: rgba(238, 242, 246, 0.94);
  --surface: #fafcfe;
  --ink: #1a2228;
  --ink-soft: #3d4a54;
  --muted: #6b7a86;
  --line: #cdd8e3;
  --mountain: #2d3436;
  --lake: #4a90d9;
  --lake-soft: #e3eef9;
  --lake-dark: #3570b5;
  --copper: #b87333;
  --copper-soft: #f5e8d8;
  --copper-dark: #9a5f28;
  --pin: #e63946;
  --pin-dark: #c42d38;
  --tj-red: #cc0000;
  --tj-green: #006233;
  --radius: 16px;
  --radius-sm: 8px;
  --container: 1160px;
  --header-h: 76px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 18px 48px rgba(45, 52, 54, 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(238, 242, 246, 0.96), rgba(220, 230, 240, 0.9)),
    repeating-linear-gradient(-6deg, rgba(74, 144, 217, 0.03) 0 2px, transparent 2px 24px),
    var(--fon);
  background-position: center top; background-size: cover; background-repeat: no-repeat;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lake-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lake); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; padding: 0.75rem 1rem; background: var(--mountain); 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(--mountain); border-bottom: 3px solid var(--copper);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo img { height: 40px; 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.2); 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.8rem; border-radius: 999px;
  color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 600;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--mountain); background: var(--lake); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.35rem; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-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(--lake); border-color: var(--lake); }
.btn-secondary:hover { background: var(--lake); color: #fff; }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-dark); color: #fff; }
.btn-lake { background: var(--lake); color: #fff; }
.btn-lake:hover { background: var(--lake-dark); color: #fff; }

.hero-diagonal { position: relative; padding: 3.5rem 0 4rem; overflow: hidden; }
.hero-diagonal::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--mountain) 55%, var(--lake) 55%);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}
.hero-diagonal-inner {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.hero-diagonal-copy { color: #fff; }
.hero-diagonal-copy h1 {
  margin: 0 0 1rem; font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.12;
}
.hero-kicker {
  display: inline-block; margin-bottom: 0.85rem; padding: 0.35rem 0.9rem;
  background: var(--copper); color: #fff; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px;
}
.hero-lead { margin: 0 0 1.35rem; max-width: 48ch; font-size: 1.02rem; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-diagonal-visual {
  position: relative; min-height: 300px;
  background: var(--fon) center / cover no-repeat;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 3px solid rgba(255,255,255,0.15);
}
.hero-diagonal-visual::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 40%, rgba(45, 52, 54, 0.75));
}
.hero-stat-pill {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 1;
  display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap;
}
.hero-stat-pill span {
  padding: 0.5rem 0.85rem; background: rgba(250,252,254,0.95);
  border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: var(--ink);
}

.ticker-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--lake); color: #fff; }
.ticker-item { padding: 1.1rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); }
.ticker-item:last-child { border-right: none; }
.ticker-value { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.ticker-label { font-size: 0.75rem; font-weight: 600; opacity: 0.9; }

.rail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rail-card {
  padding: 1.5rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); border-left: 5px solid var(--lake);
  box-shadow: 0 4px 20px rgba(45, 52, 54, 0.04);
}
.rail-card:nth-child(2) { border-left-color: var(--copper); }
.rail-card:nth-child(3) { border-left-color: var(--pin); }
.rail-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 0.75rem;
  background: var(--lake-soft); border-radius: 50%;
  font-size: 1.1rem; font-weight: 800; color: var(--lake-dark);
}
.rail-card h3 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.rail-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.75rem 0;
  background: var(--mountain) var(--fon) center / cover no-repeat; color: #fff;
}
.section-banner::before { content: ""; position: absolute; inset: 0; background: rgba(45, 52, 54, 0.88); }
.section-banner::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--tj-green), var(--copper), 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(--copper);
}
.section-banner h2 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); color: #fff; }
.section-banner p { margin: 0; max-width: 46ch; 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; }

.dual-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.dual-intro-panel {
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.dual-intro-panel.accent { background: var(--lake-soft); border-color: rgba(74, 144, 217, 0.25); }
.dual-intro-panel h2 { margin: 0 0 0.65rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.dual-intro-panel p { margin: 0; font-size: 0.95rem; }

.content-prose { overflow-wrap: break-word; }
.content-prose p { margin: 0 0 1rem; }
.content-prose h2 {
  margin: 2.25rem 0 0.75rem; font-family: var(--font-display);
  font-size: 1.4rem; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 1rem);
}
.content-prose h2:first-child { margin-top: 0; }
.content-prose h3 { margin: 1.35rem 0 0.55rem; font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.content-prose ol, .content-prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.pay-card {
  padding: 1.15rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-align: center;
}
.pay-card strong { display: block; margin-bottom: 0.3rem; font-size: 0.9rem; color: var(--ink); }
.pay-card span { font-size: 0.78rem; color: var(--muted); }

.timeline { position: relative; padding-left: 2rem; max-width: 640px; }
.timeline::before {
  content: ""; position: absolute; left: 0.55rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px; background: var(--copper);
}
.timeline-step { position: relative; padding-bottom: 1.75rem; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2rem; top: 0.15rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--copper); border: 3px solid var(--bg);
}
.timeline-step h3 { margin: 0 0 0.35rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.timeline-step p { margin: 0; font-size: 0.9rem; }

.quote-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote-card {
  padding: 1.35rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 4px solid var(--copper);
}
.quote-card blockquote {
  margin: 0 0 0.75rem; font-family: var(--font-display);
  font-size: 0.95rem; font-style: italic; color: var(--ink); line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 0.65rem; }
.quote-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--copper); }
.quote-author strong { display: block; font-size: 0.85rem; color: var(--ink); }
.quote-author span { font-size: 0.72rem; color: var(--muted); }

.faq-accordion { max-width: 800px; }
.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(--lake-soft); }
.faq-accordion details p { margin: 0; padding: 0 1.15rem 1rem; font-size: 0.875rem; }

.cta-split {
  padding: 2.75rem 0; background: linear-gradient(120deg, var(--mountain), #1e3a5f);
  color: #fff; border-top: 4px solid var(--copper);
}
.cta-split-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-split h2 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.75rem); color: #fff; }
.cta-split p { margin: 0; max-width: 50ch; 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.95rem); font-weight: 700; color: var(--ink); }
.section-intro { margin: -0.5rem 0 1.5rem; max-width: 62ch; font-size: 1rem; }
.page-kicker { margin: 0 0 0.5rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); }
.page-title { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.45rem); font-weight: 700; color: var(--ink); }
.page-lead { margin: 0 0 2rem; max-width: 65ch; font-size: 1.05rem; }

.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); border-radius: var(--radius-sm); overflow: hidden; }
.data-table th, .data-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--mountain); color: #fff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.data-table tr:last-child td { border-bottom: none; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card {
  padding: 1.35rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 4px solid var(--lake);
}
.feature-card h3 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.feature-card p { margin: 0; font-size: 0.9rem; }

.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(--copper);
}
.side-title { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.side-links { margin: 0 0 1rem; padding: 0; list-style: none; }
.side-links li { margin-bottom: 0.4rem; }
.side-links a { color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; }
.side-cta { width: 100%; }

.site-footer { padding: 2rem 0 0; background: var(--mountain); color: rgba(255,255,255,0.8); border-top: 3px solid var(--copper); }
.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: 34ch; 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(--copper); }
.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(--copper); }
.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(--copper); }
.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(--lake); 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); }

.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; }

@media (max-width: 900px) {
  .hero-diagonal-inner, .dual-intro, .rail-grid, .pay-grid, .quote-strip,
  .feature-grid, .author-grid, .split-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-diagonal::before { clip-path: none; }
  .ticker-strip { grid-template-columns: 1fr 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(--mountain); 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; }
  .ticker-strip { grid-template-columns: 1fr; }
  .section-banner-inner, .cta-split-inner { flex-direction: column; align-items: flex-start; }
}
