/* ТОВ «СОФТ БЛЮ» — лендінг */
:root {
  --bg: #f6f8fc;
  --bg-alt: #eef2f9;
  --surface: #ffffff;
  --ink: #0f1729;
  --muted: #4a5a73;
  --accent: #1e4fa8;
  --accent-soft: #e8f0ff;
  --border: #d2dbe8;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(15, 23, 41, 0.08);
  --max: 68rem;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg) 50%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.55rem);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 79, 168, 0.35);
}

.btn-primary:hover {
  background: #163a87;
  color: #fff;
  box-shadow: 0 6px 24px rgba(30, 79, 168, 0.45);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.focus-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.cols-2 {
  columns: 2;
  column-gap: 2.5rem;
}

@media (max-width: 720px) {
  .cols-2 {
    columns: 1;
  }
}

.cols-2 p {
  break-inside: avoid;
}

/* Service blocks */
.service-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 12px rgba(15, 23, 41, 0.04);
}

.service-block h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
  color: var(--ink);
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent-soft);
}

/* Two col CTA */
.two-col-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .two-col-cta {
    grid-template-columns: 1fr;
  }
}

.two-col-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.5rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Contact */
.section-contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.contact-intro {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 46ch;
}

.contact-list {
  margin: 0;
}

.contact-list > div {
  margin-bottom: 1.1rem;
}

.contact-list > div:last-child {
  margin-bottom: 0;
}

.contact-list dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-note {
  background: var(--surface);
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  background: var(--ink);
  color: #b8c2d4;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0 0 0.5rem;
}

.footer-legal {
  max-width: 60ch;
  line-height: 1.6;
  opacity: 0.9;
  font-size: 0.82rem;
  margin-top: 0.75rem !important;
  color: #9aa6bb;
}

.site-footer a {
  color: #dbe4f4;
}
