/* stil.css — xapacia.com — дополнительные стили для внутренних страниц */
:root {
  --pine: #16261f;
  --lime: #d3e86b;
  --cream: #f8faf0;
  --pine-mid: #1e3329;
  --pine-light: #2a4438;
  --lime-dim: rgba(211,232,107,0.18);
  --lime-glow: rgba(211,232,107,0.32);
  --text-main: #f0f4e8;
  --text-muted: rgba(240,244,232,0.65);
  --mono: 'Courier New', Courier, monospace;
  --sans: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 4px;
}

/* Inner page shared styles */
.page-hero {
  background: linear-gradient(135deg, #16261f 0%, #1e3329 100%);
  padding: 100px 60px 60px 112px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(211,232,107,.04) 79px, rgba(211,232,107,.04) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(211,232,107,.03) 39px, rgba(211,232,107,.03) 40px);
  pointer-events: none;
}
.page-hero__label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
  display: block;
}
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 20ch;
}
.page-hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.7;
}
.page-content {
  margin-left: 52px;
  background: #16261f;
  min-height: 100vh;
}
.page-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 60px;
}
.page-section + .page-section {
  border-top: 1px solid rgba(211,232,107,.08);
}
.inner-nav {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 52px;
  background: rgba(22,38,31,.95);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  border-right: 1px solid rgba(211,232,107,.12);
}
.inner-nav__logo {
  position: absolute;
  top: 20px;
}
.inner-nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  list-style: none;
}
.inner-nav__links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  writing-mode: vertical-rl;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
  padding: 4px 0;
}
.inner-nav__links li a:hover {
  color: var(--lime);
  background: var(--lime-dim);
  border-left-color: var(--lime);
}

/* Shared content helpers */
.content-block {
  margin-bottom: 40px;
}
.content-block h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.2;
}
.content-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.content-block p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 70ch;
}
.content-block ul, .content-block ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}
.content-block li {
  margin-bottom: 8px;
}
.highlight-box {
  background: #1e3329;
  border: 1px solid rgba(211,232,107,.15);
  border-left: 3px solid var(--lime);
  border-radius: 2px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.highlight-box p {
  margin-bottom: 0;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--lime);
  border: 1px solid rgba(211,232,107,.25);
  border-radius: 2px;
  padding: 4px 12px;
}

/* Inner page form */
.inner-form {
  max-width: 580px;
  background: #1e3329;
  border: 1px solid rgba(211,232,107,.15);
  border-radius: 4px;
  padding: 40px;
}
.inner-form .form-group {
  margin-bottom: 20px;
}
.inner-form .form-group label {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.inner-form .form-group input,
.inner-form .form-group textarea,
.inner-form .form-group select {
  width: 100%;
  background: #16261f;
  border: 1px solid rgba(211,232,107,.2);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.inner-form .form-group input:focus,
.inner-form .form-group textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(211,232,107,.12);
}
.inner-form .form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.inner-form .form-submit {
  width: 100%;
  background: var(--lime);
  color: var(--pine);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s, transform .15s;
}
.inner-form .form-submit:hover {
  background: #c2d85f;
  transform: translateY(-2px);
}

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.two-col-box {
  background: #1e3329;
  border: 1px solid rgba(211,232,107,.12);
  border-radius: 2px;
  padding: 24px;
}
.two-col-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.two-col-box p, .two-col-box li {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Table shared */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.data-table th {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(211,232,107,.15);
}
.data-table td {
  padding: 15px 16px;
  font-size: .92rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(211,232,107,.07);
}
.data-table td:first-child { color: var(--cream); font-weight: 600; }
.data-table tr:hover td { background: rgba(211,232,107,.03); }

/* Breadcrumb */
.breadcrumb {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-muted);
  padding: 0 60px 0 112px;
  padding-top: 20px;
  background: #16261f;
}
.breadcrumb a { color: var(--lime); }
.breadcrumb span { margin: 0 8px; }

/* Responsive */
@media (max-width: 900px) {
  .page-content { margin-left: 44px; }
  .page-hero { padding: 80px 30px 50px 74px; }
  .page-section { padding: 50px 30px; }
  .two-col { grid-template-columns: 1fr; }
  .breadcrumb { padding: 16px 30px 0 74px; }
}
@media (max-width: 600px) {
  .page-content { margin-left: 0; }
  .inner-nav { display: none; }
  .page-hero { padding: 50px 20px 40px; }
  .page-section { padding: 40px 20px; }
  .breadcrumb { padding: 14px 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
