:root {
  --bg: #050609;
  --bg-alt: #0b0d12;
  --card: #11141c;
  --card-soft: #151925;
  --border: #222637;
  --accent: #34d399;
  --accent-soft: rgba(52, 211, 153, 0.08);
  --accent-strong: rgba(52, 211, 153, 0.18);
  --text: #f9fafb;
  --muted: #9ca3af;
  --danger: #f97373;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 55%, #000 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  min-height: 100vh;
}

/* CONTAINER */

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

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.7), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, #6ee7b7, #22c55e 40%, #16a34a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #022c22;
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.4), var(--shadow-soft);
}

.logo-text span:first-child {
  font-weight: 600;
  font-size: 15px;
}

.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  opacity: 0.86;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(52, 211, 153, 0.25), transparent 55%);
}

.burger {
  display: none;
  border: none;
  background: none;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* HERO */

.hero {
  padding: 48px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(0, 2.7fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
  white-space: nowrap;
}

.btn.primary {
  background: radial-gradient(circle at 10% 0, #6ee7b7, #22c55e 40%, #16a34a 100%);
  color: #022c22;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(22, 163, 74, 0.5);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.95);
}

.btn-full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.hero-metrics dt {
  font-size: 19px;
  font-weight: 600;
}

.hero-metrics dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* HERO RIGHT */

.hero-media {
  position: relative;
}

.hero-card {
  border-radius: 28px;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.18), transparent 55%),
    linear-gradient(145deg, var(--card), #020617);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-video-placeholder {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(135deg, #1d293b, #020617);
  padding: 18px;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
}

.hero-video-placeholder::before {
  content: "";
  position: absolute;
  inset: -30%;
  background-image: radial-gradient(circle at 10% 0, rgba(148, 163, 184, 0.35), transparent 57%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.hero-video-label {
  position: relative;
  font-size: 13px;
  color: var(--muted);
  max-width: 70%;
}

.play-button {
  position: relative;
  border-radius: 999px;
  width: 54px;
  height: 54px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0, #6ee7b7, #22c55e 40%, #16a34a 100%);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.6);
  cursor: pointer;
  font-size: 20px;
  color: #022c22;
}

.hero-card-body {
  padding: 16px 8px 4px;
}

.hero-card-title {
  font-size: 15px;
  font-weight: 600;
}

.hero-card-text {
  margin: 6px 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-card-list {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero-floating {
  position: absolute;
  inset-inline-end: 0;
  bottom: -14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-tag {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 11px;
  color: var(--muted);
}

/* SECTIONS */

.section {
  padding: 40px 0;
  background: transparent;
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 32%, #000 100%);
  border-block: 1px solid rgba(30, 64, 175, 0.4);
}

.section-header {
  max-width: 640px;
  margin-bottom: 26px;
}

.section-header h2 {
  font-size: 24px;
  margin: 0 0 10px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* GRID / CARDS */

.grid {
  display: grid;
  gap: 18px;
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.12), transparent 55%),
    linear-gradient(145deg, var(--card), var(--card-soft));
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(30, 64, 175, 0.4);
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* HOW */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.8fr);
  gap: 32px;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.steps p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.schema-card {
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.4), transparent 55%),
    linear-gradient(145deg, #020617, #020617);
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.schema-header {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}

.schema {
  position: relative;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.7);
  padding: 18px;
  min-height: 180px;
  overflow: hidden;
}

.schema-earth,
.schema-house {
  position: absolute;
  width: 45%;
  height: 40%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.schema-earth {
  bottom: 12px;
  left: 10px;
  background: radial-gradient(circle at top, #0f172a, #020617);
}

.schema-house {
  top: 12px;
  right: 10px;
  background: radial-gradient(circle at top, #f97316, #b91c1c);
}

.schema-label {
  font-size: 11px;
  text-align: center;
}

.schema-lines {
  position: absolute;
  inset: 32px 25px;
}

.schema-line {
  position: absolute;
  inset-inline: 0;
  height: 3px;
  border-radius: 999px;
  opacity: 0.8;
}

.line-cold {
  top: 36%;
  background: linear-gradient(to right, #0ea5e9, #22c55e);
}

.line-hot {
  bottom: 36%;
  background: linear-gradient(to left, #f97316, #22c55e);
}

.schema-pump {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: radial-gradient(circle at 20% 0, #6ee7b7, #22c55e 45%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #022c22;
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.7);
}

.schema-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* CASES */

.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.chip-active {
  background: var(--accent-strong);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.cases-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 10px;
}

.case-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.case:hover .case-media img {
  transform: scale(1.06);
}

.case-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.case-body p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.case-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--muted);
}

/* TIMELINE */

.timeline {
  border-left: 1px solid rgba(148, 163, 184, 0.45);
  margin-left: 10px;
  padding-left: 18px;
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #6ee7b7, #22c55e 50%, #16a34a 100%);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.timeline-content p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* LEAD */

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: flex-start;
}

.lead-list {
  list-style: disc;
  margin: 12px 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}

.lead-form {
  background: radial-gradient(circle at 0 0, rgba(52, 211, 153, 0.16), transparent 55%),
    linear-gradient(145deg, var(--card), #020617);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  padding: 9px 11px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7280;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4);
  background: rgba(15, 23, 42, 0.98);
}

.form-note {
  margin: 10px 0 4px;
  font-size: 11px;
  color: var(--muted);
}

.form-status {
  margin: 2px 0 0;
  font-size: 12px;
  min-height: 16px;
}

/* FAQ */

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.95);
  padding: 10px 14px;
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "▾";
  float: right;
  font-size: 11px;
  opacity: 0.7;
}

.accordion-item[open] summary::after {
  transform: rotate(180deg);
}

.accordion-body {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* CONTACTS */

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 2.6fr);
  gap: 32px;
  align-items: flex-start;
}

.contacts-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 14px;
}

.contacts-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contacts-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.contacts-text {
  color: var(--text);
}

.contacts-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.contacts-social a {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.contacts-map .map-placeholder {
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(30, 64, 175, 0.4);
  padding: 18px 0 22px;
  background: #020617;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.footer-top {
  opacity: 0.7;
}

/* ANIMATIONS */

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-media {
    order: -1;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-grid,
  .lead-grid,
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-floating {
    position: static;
    margin-top: 10px;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 4px;
  }

  .nav {
    position: fixed;
    inset: 60px 12px auto 12px;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    flex-direction: column;
    padding: 12px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .burger {
    display: flex;
  }

  .section {
    padding-block: 32px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}
