/* page.css — общие стили внутренних страниц (contacts, privacy и др.) */

/* ===== PAGE HERO ===== */

.page-hero {
  padding: 120px 0 72px;
  background: var(--ink-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(197,255,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-400);
  margin-bottom: 24px;
}
.page-hero .breadcrumbs a {
  color: var(--ink-400);
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.15s ease;
}
.page-hero .breadcrumbs a:hover {
  color: var(--lime);
  border-bottom: none !important;
}
.page-hero .breadcrumbs .sep {
  color: var(--ink-600);
}
.page-hero .breadcrumbs .current {
  color: var(--ink-200);
}
.page-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 16px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 16px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
  }
}
.hero-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) {
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}
.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-200);
}
.hero-benefit-item svg {
  color: var(--lime);
  flex-shrink: 0;
}
.hero-skill-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-card, 16px);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.hero-skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lime);
}
.hero-skill-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin: 0;
}
.hero-skill-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-400);
  margin: 0;
}
.hero-skill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lime);
  color: var(--ink-950);
  padding: 12px 18px;
  border-radius: var(--r-pill, 999px);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 14px rgba(197, 255, 26, 0.25);
}
.hero-skill-btn:hover {
  transform: translateY(-1px);
  background: var(--lime-400, #b5ff51);
  box-shadow: 0 6px 20px rgba(197, 255, 26, 0.4);
}
.hero-skill-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero--light {
  background: var(--white);
  color: var(--ink-950);
  padding: 120px 0 56px;
  isolation: isolate;
}
.page-hero--light::after { display: none; }

.page-hero-dots {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.page-hero--light .page-hero-eyebrow {
  color: #4D7C0F;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-hero--light .page-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #65A30D;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.22);
  flex: none;
}
.page-hero--light .page-hero-title {
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--ink-950);
}
.page-hero--light .page-hero-sub {
  color: var(--ink-600);
  font-size: 15px;
}

.page-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: none;
}
.page-hero-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--ink-200);
  padding: 2px 0;
  transition: color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.page-hero-link:hover {
  color: #4D7C0F;
  border-bottom-color: #65A30D;
}
.page-hero-link svg { transform: rotate(-45deg); }

@media (max-width: 720px) {
  .page-hero--light { padding: 100px 0 32px; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .page-hero-meta { flex-direction: row; align-items: center; }

  .contacts-section { padding: 40px 0 48px; }
  .contacts-layout { margin-top: 28px; gap: 24px; }
}

/* ===== PROSE (политика конфиденциальности) ===== */

.prose-section {
  padding: 80px 0 96px;
}
.prose {
  max-width: 760px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-950);
  margin: 48px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 16px;
}
.prose ul, .prose ol {
  padding-left: 20px;
  margin: 0 0 16px;
}
.prose li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.prose strong { color: var(--ink-950); font-weight: 600; }
.prose a {
  color: var(--ink-950);
  border-bottom: 1.5px solid var(--lime);
}
.prose a:hover { border-bottom-color: var(--ink-950); }
.prose .updated-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  padding: 8px 14px;
  background: var(--ink-100);
  border-radius: var(--r-2);
}

/* ===== CONTACTS ===== */

.contacts-section {
  padding: 0 0 96px;
}
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 800px) {
  .contacts-layout { grid-template-columns: 1fr; }
}

/* Info cards */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-4);
  background: var(--white);
}
.contact-card-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  border-radius: var(--r-2);
  border: 1.5px solid var(--ink-200);
  color: var(--ink-950);
}
.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.contact-card-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-950);
  text-decoration: none;
  border-bottom: none;
}
.contact-card-value:hover { border-bottom: none; text-decoration: underline; }
.contact-hours {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-500);
  padding: 14px 22px;
  background: var(--ink-100);
  border-radius: var(--r-3);
  line-height: 1.6;
}

/* Contact form */
.contact-form-wrap {
  background: var(--ink-50);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-5);
  padding: 36px;
  box-shadow: var(--edge-shadow);
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--r-3);
  background: var(--white);
  color: var(--ink-950);
  transition: border-color var(--dur-2) var(--ease-out);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink-950);
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}
.contact-form .btn { margin-top: 4px; }
.contact-form-status {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.4;
}
.contact-form-status:empty { display: none; }
.contact-form-status.is-error   { color: #C0341A; }
.contact-form-status.is-success { color: #4D7C0F; }
.contact-form-note {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}
