/* РЕМУТУ — корпоративний лендінг, українська локаль */
:root {
  --bg: #0c1117;
  --bg-alt: #121922;
  --surface: #161f2c;
  --text: #e8edf4;
  --muted: #9aa8bc;
  --accent: #e8b84a;
  --accent-soft: rgba(232, 184, 74, 0.15);
  --line: rgba(255, 255, 255, 0.08);
  --blue: #2563eb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --narrow: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #f0c65c;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue), #1d4ed8);
  border-radius: 10px;
  font-size: 1.1rem;
  color: #fff;
}

.logo-text {
  font-size: 1.05rem;
}

.nav {
  display: none;
  gap: 1.35rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem 1rem;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: var(--surface);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 184, 74, 0.08), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.08rem;
  color: #c5d0e3;
  max-width: 52ch;
}

.accent {
  color: var(--accent);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, var(--blue), #1d4ed8);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
  color: #fff !important;
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text) !important;
}

.btn-ghost:hover {
  border-color: rgba(232, 184, 74, 0.4);
  color: var(--accent) !important;
}

.btn-light {
  background: #fff;
  color: #0c1117 !important;
  white-space: nowrap;
}

.btn-light:hover {
  background: #f3f4f6;
  color: #0c1117 !important;
}

.hero-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero-card {
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), #0f1620);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1px;
}

.hero-card-inner {
  padding: 1.5rem 1.35rem;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent);
}

.hero-card-title {
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-accent {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), var(--bg-alt));
  border-block: 1px solid var(--line);
}

.intro {
  font-size: 1.08rem;
  color: #c5d0e3;
}

.section-intro {
  max-width: 75ch;
  margin-bottom: 2rem;
  font-size: 1.02rem;
}

.split-head {
  margin-bottom: 2rem;
  max-width: 70ch;
}

.split-lead {
  font-size: 1.05rem;
  margin: 0;
}

.columns {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .columns {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.col p {
  margin-bottom: 1rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(232, 184, 74, 0.35);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--text);
}

/* Audience */
.audience-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.audience h3 {
  color: var(--text);
}

/* Benefits */
.benefits {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .benefits {
    grid-template-columns: 1fr minmax(220px, 0.38fr);
    align-items: start;
  }
}

.benefits-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  color: var(--muted);
}

.benefits-list li {
  margin-bottom: 1rem;
  padding-left: 0.35rem;
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

.benefits-list strong {
  color: var(--text);
}

.benefits-aside {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(232, 184, 74, 0.25);
  font-size: 0.98rem;
}

.benefits-aside p {
  color: #d4dce8;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.35rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-step:last-child {
  border-bottom: none;
}

.step-num {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.timeline-step h3 {
  color: var(--text);
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq {
  max-width: 800px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.15rem 1.1rem;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

/* CTA */
.cta-band {
  background: linear-gradient(120deg, #1e3a5f, #0c1117 55%, #1a2e1a);
  border-block: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.cta-inner h2 {
  color: var(--text);
  margin-bottom: 0.35rem;
}

.cta-inner p {
  max-width: 55ch;
  color: #c5d0e3;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.legal-name {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.contact-dl {
  margin: 0;
}

.contact-dl dt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 1rem;
}

.contact-dl dt:first-child {
  margin-top: 0;
}

.contact-dl dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.contact-dl a {
  font-weight: 700;
}

.email-placeholder {
  font-style: italic;
  color: #8a9ab0;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-card h3 {
  color: var(--text);
  margin-top: 1rem;
}

.contact-card h3:first-child {
  margin-top: 0;
}

/* Footer */
.site-footer {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-inner a:hover {
  color: var(--accent);
}
