/* ============================================================
   ПЭТС — Сервисное обслуживание генераторного оборудования
   Site: ooo-pets.ru (production, развёрнут в public_html/landing/)
   Style: industrial-dark (variant 002, выбран 2026-08-24)
   ============================================================ */

/* -------- Tokens -------- */
:root {
  --bg: #0d0d0e;
  --bg-2: #16161a;
  --bg-3: #1f1f24;
  --fg: #f5f5f5;
  --muted: #8b8b94;
  --border: #2a2a30;
  --accent: #ff7a00;
  --accent-2: #ffb35c;
  --accent-soft: rgba(255,122,0,0.12);
  --accent-glow: 0 0 24px rgba(255,122,0,0.35);
  --success: #4ade80;
  --danger: #ef4444;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-cta: 0 0 0 1px rgba(255,122,0,0.4), 0 8px 24px -8px rgba(255,122,0,0.5);
}

/* -------- Reset -------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", ui-sans-serif, -apple-system, "Segoe UI", "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background grid + radial glow */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,122,0,0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255,122,0,0.05), transparent);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* -------- Layout helpers -------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: var(--radius);
  font-family: inherit; font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; text-decoration: none;
  transition: all .15s; cursor: pointer; border: 0; user-select: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 32px -8px rgba(255,122,0,0.7);
}
.btn-ghost {
  background: transparent; color: var(--fg); border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* -------- Nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,14,0.85); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; font-size: 16px; }
.nav__logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg); display: grid; place-items: center;
  font-weight: 900; font-size: 16px;
  box-shadow: var(--accent-glow);
}
.nav__menu { display: flex; gap: 32px; list-style: none; font-size: 14px; color: var(--muted); font-weight: 500; }
.nav__menu a { transition: color .15s; }
.nav__menu a:hover { color: var(--accent); }
.nav__cta { font-size: 14px; height: 38px; padding: 0 16px; }
.nav__burger { display: none; background: transparent; border: 0; color: var(--fg); cursor: pointer; }
.nav__burger svg { width: 24px; height: 24px; }

/* -------- Hero -------- */
.hero { padding: 120px 0 100px; position: relative; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 80%);
}
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.25);
  color: var(--success); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 28px;
}
.status-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 12px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.h1 {
  font-size: clamp(38px, 5.8vw, 68px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.04;
  margin-bottom: 28px; max-width: 880px;
}
.h1__accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede {
  font-size: 19px; color: var(--muted); max-width: 640px;
  margin-bottom: 40px; line-height: 1.55;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------- Metrics -------- */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; margin-top: 80px;
}
.metric { background: var(--bg-2); padding: 28px 24px; }
.metric__num {
  font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, var(--fg), var(--muted));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: "tnum";
}
.metric__num .unit { font-size: 16px; color: var(--accent); font-weight: 600; margin-left: 4px; }
.metric__lbl {
  font-size: 12px; color: var(--muted); margin-top: 8px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* -------- Sections -------- */
section { padding: 100px 0; }
.section-head { margin-bottom: 64px; }
.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.label-tag::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 16px; max-width: 720px;
}
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 640px;
}

/* -------- Services -------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: all .2s;
}
.service:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -16px rgba(255,122,0,0.3);
}
.service__num {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-feature-settings: "tnum";
}
.service h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* -------- Equipment -------- */
.equipment {
  display: grid; grid-template-columns: 2fr 3fr; gap: 32px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.equipment__col h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.equipment__col .p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brand {
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 6px;
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--fg); letter-spacing: -0.01em;
}
.brand--premium {
  background: var(--accent-soft);
  border-color: rgba(255,122,0,0.4);
  color: var(--accent-2);
}

/* -------- Team -------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.member__avatar {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,122,0,0.3), rgba(255,179,92,0.15));
  border: 1px solid rgba(255,122,0,0.3);
  display: grid; place-items: center;
  color: var(--accent-2); font-weight: 700; font-size: 17px;
}
.member h4 { font-size: 15px; font-weight: 600; }
.member__role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.member__exp {
  font-size: 11px; color: var(--accent); font-weight: 600; margin-top: 14px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* -------- Contact / Form -------- */
.contact {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 56px;
  background-image: radial-gradient(ellipse at top, rgba(255,122,0,0.12), transparent 60%);
}
.contact__head { text-align: center; margin-bottom: 40px; }
.contact__head .h2 { margin-left: auto; margin-right: auto; }
.contact__head .section-sub { margin-left: auto; margin-right: auto; }

.form {
  display: grid; gap: 16px; max-width: 540px; margin: 0 auto;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px; color: var(--muted); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-3); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; font-family: inherit; font-size: 15px;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.field__hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.field--required label::after { content: " *"; color: var(--accent); }

.form__footer { margin-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.form__legal { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
.form__legal a { color: var(--accent); }

.form-status {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 14px; display: none;
}
.form-status--ok {
  background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3);
  color: var(--success);
}
.form-status--err {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: var(--danger);
}
.form-status.is-visible { display: block; }

.contact__meta {
  margin-top: 48px; display: flex; gap: 32px; justify-content: center;
  flex-wrap: wrap; color: var(--muted); font-size: 13px;
}
.contact__meta b { color: var(--fg); font-weight: 500; }

.contact__direct {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.contact__direct .btn { height: 38px; font-size: 13px; padding: 0 16px; }

/* -------- Footer -------- */
.footer {
  padding: 48px 0; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13px;
}
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer a { color: var(--muted); transition: color .15s; }
.footer a:hover { color: var(--fg); }

/* -------- Reveal animations -------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .status-pill::before { animation: none; }
}

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .equipment { grid-template-columns: 1fr; padding: 28px; }
  .contact { padding: 40px 24px; }
  .form__row { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .hero { padding: 80px 0 60px; }
  .section-head { margin-bottom: 48px; }
  .nav__menu { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
}
@media (max-width: 520px) {
  .services, .team, .metrics { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}
