/* ============================================
   ПТО АНАДЫРЬ — Мужская, богатая палитра
   Deep black + bronze/gold accent + warm off-white
   ============================================ */

:root {
  /* Основная палитра — глубокий чёрный с бронзой */
  --bg:            #0f0f14;   /* базовый фон, почти чёрный с холодным подтоном */
  --bg-elev:       #16161d;   /* приподнятые поверхности */
  --surface:       #1a1a22;   /* карточки */
  --surface-2:     #22222c;   /* карточки на карточках */
  --border:        #2a2a35;   /* тонкие границы */
  --border-strong: #3a3a48;

  /* Акцент — тёплая бронза/золото */
  --accent:        #c9a961;   /* основной акцент */
  --accent-2:      #b8944a;   /* тёмный оттенок акцента */
  --accent-soft:   rgba(201, 169, 97, 0.12);
  --accent-glow:   rgba(201, 169, 97, 0.28);

  /* Текст */
  --text:          #f5f2ed;   /* основной, тёплый off-white */
  --text-mute:     #a8a8b0;   /* второстепенный */
  --text-dim:      #6f6f78;   /* приглушённый */

  /* Функциональные */
  --success:       #6fbf7a;
  --error:         #d76c6c;

  /* Радиусы, тени, тайминги */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --ease:      cubic-bezier(.22, .61, .36, 1);

  /* Шрифты */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ==================== АНИМАЦИИ ==================== */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== КНОПКИ ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #1a1408;
  box-shadow: 0 4px 20px rgba(201, 169, 97, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 97, 0.4);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  width: 100%;
}

/* ==================== ШАПКА ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: var(--accent); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all .25s var(--ease);
}
.header-phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.phone-icon {
  color: var(--accent);
  font-size: 15px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all .3s var(--ease);
}

/* ==================== ГЕРОЙ ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,15,20,0.95) 0%, rgba(15,15,20,0.75) 50%, rgba(15,15,20,0.5) 100%),
    linear-gradient(180deg, rgba(15,15,20,0.4) 0%, rgba(15,15,20,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}
.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--accent);
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-mute);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-facts {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.fact-num {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.fact-lbl {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ==================== СЕКЦИИ ==================== */
.section {
  padding: 100px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 620px;
}

/* ==================== О ПУНКТЕ ==================== */
.section-about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .35s var(--ease);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* ==================== ЦЕНЫ ==================== */
.section-prices {
  background: var(--bg-elev);
}
.price-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.price-row {
  display: grid;
  grid-template-columns: 120px 1fr 160px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  transition: background .2s var(--ease);
}
.price-row:last-child { border-bottom: none; }
.price-row:not(.price-head):hover { background: var(--surface-2); }

.price-head {
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
}
.price-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.price-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  letter-spacing: -0.01em;
}
.price-row-highlight {
  background: rgba(201, 169, 97, 0.04);
  position: relative;
}
.price-row-highlight::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.price-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
  font-style: normal;
}

/* ==================== ДОКУМЕНТЫ ==================== */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.docs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.docs-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-weight: 500;
  transition: all .25s var(--ease);
}
.docs-list li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==================== ЗАПИСЬ ==================== */
.section-booking {
  background: var(--bg-elev);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.booking-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.booking-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
}
.booking-contact:hover {
  border-color: var(--accent);
}
.booking-contact .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 18px;
  flex-shrink: 0;
}
.booking-contact span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.booking-contact b {
  font-size: 15px;
  font-weight: 600;
}
.booking-contact small {
  font-size: 12.5px;
  color: var(--text-mute);
}

.booking-form {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
input, select, textarea {
  font: inherit;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  transition: all .2s var(--ease);
  width: 100%;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { resize: vertical; min-height: 80px; }
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a961' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mute);
  cursor: pointer;
  line-height: 1.5;
}
.form-agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-status {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  min-height: 20px;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* ==================== КАРТА ==================== */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
}
.map-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.map-block {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.map-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.map-value {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.map-value a { color: var(--text); border-bottom: 1px solid var(--border-strong); }
.map-value a:hover { color: var(--accent); border-color: var(--accent); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 440px;
  background: var(--surface);
}
.map-frame iframe {
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* ==================== ПРОВЕРКА ДК ==================== */
.section-check {
  background: var(--bg-elev);
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.check-cert {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.check-cert::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cert-header {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cert-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cert-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.check-cert p {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 12px; }

/* ==================== ОБРАТНЫЙ ЗВОНОК ==================== */
.callback-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.callback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ==================== ФУТЕР ==================== */
.site-footer {
  background: #0a0a0f;
  border-top: 1px solid var(--border);
  padding: 72px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-desc {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.5;
}
.footer-col a { color: var(--text-mute); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .about-grid,
  .docs-grid,
  .booking-grid,
  .map-grid,
  .check-grid,
  .callback-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .section { padding: 72px 0; }
}

@media (max-width: 700px) {
  .container { padding: 0 18px; }
  .header-inner { gap: 12px; padding: 12px 0; }
  .header-phone .phone-text { display: none; }
  .header-phone { padding: 10px; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-facts { gap: 24px; }
  .about-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-row {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 18px 20px;
  }
  .price-row > div:nth-child(2) { grid-column: 2; grid-row: 1; font-size: 14px; }
  .price-row > div:nth-child(1) { grid-row: 1 / 3; }
  .price-val {
    grid-column: 2; grid-row: 2;
    text-align: left;
    font-size: 18px;
  }
  .price-head > div:nth-child(3) { display: none; }
  .booking-form, .callback-form, .check-cert { padding: 24px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
