/* =========================
   DESIGN SYSTEM – RISKMONITORIT
   Тёплый светлый стиль, консалтинг
   ========================= */

:root {
  /* Цвета */
  --bg-page: #f4f2ec;         /* тёплый фон */
  --bg-header: rgba(252, 250, 244, 0.96);
  --bg-section: #f8f6f0;
  --bg-section-alt: #ffffff;
  --bg-card: #ffffff;

  --border-soft: #e2ded3;
  --border-strong: #cbbfa8;

  --accent: #145c3f;          /* глубокий зелёный */
  --accent-soft: #e0f1e9;
  --accent-secondary: #c97c3d;/* терракота */

  --text-main: #262626;
  --text-muted: #6b6b6b;
  --text-strong: #141414;

  --shadow-soft: 0 18px 40px rgba(38, 38, 38, 0.12);
  --shadow-subtle: 0 10px 28px rgba(38, 38, 38, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

/* =========================
   BASE
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background:
    linear-gradient(135deg, #f4f2ec 0%, #f7f4eb 50%, #f2eee5 100%);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* =========================
   LAYOUT
   ========================= */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-section);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: left;
}

.section-header h2 {
  font-size: 30px;
  line-height: 1.25;
  color: var(--text-strong);
  margin: 0 0 10px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* =========================
   TYPO
   ========================= */

h1,
h2,
h3,
h4 {
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 22px;
}

p {
  font-size: 16px;
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: var(--bg-header);
  border-bottom: 1px solid rgba(203, 191, 168, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, #fdfaf5 0, #f3e7d6 35%, #d1bfa4 70%, #917658 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(77, 56, 33, 0.35);
}

.brand-mark__dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #145c3f;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
}

.brand-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* NAV */

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 16px;
  color: var(--text-muted);
  padding: 6px 0;
}

.main-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 16px;
  background: #fdfaf5;
  color: var(--text-strong);
  box-shadow: 0 8px 18px rgba(143, 118, 84, 0.26);
}

.nav-cta:hover {
  border-color: var(--accent);
}

/* Burger */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #f5efe1;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: #3f3f3f;
  margin: 0 auto;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text-strong);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.1s ease;
}

.btn i {
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0f3b2b);
  border-color: rgba(20, 92, 63, 0.8);
  color: #fdfaf5;
  box-shadow: 0 10px 28px rgba(20, 92, 63, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(20, 92, 63, 0.55);
}

.btn-outline {
  border-color: var(--border-strong);
  background: #fbf7ef;
  color: var(--text-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
}

.btn-small {
  padding: 9px 16px;
  font-size: 16px;
}

/* =========================
   HERO
   ========================= */

.hero {
  padding-top: 90px;
  padding-bottom: 80px;
  background:
    linear-gradient(120deg, #f9f5ec 0%, #f4f2ec 45%, #f6f3ea 100%);
  border-bottom: 1px solid var(--border-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fbf7ef;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.eyebrow i {
  color: var(--accent);
}

.hero-content h1 {
  margin: 0 0 14px;
  color: var(--text-strong);
}

.accent-text {
  background: linear-gradient(135deg, #145c3f, #c97c3d);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fdfaf5;
  border: 1px solid var(--border-soft);
  font-size: 16px;
  color: var(--text-muted);
}

.hero-meta-item i {
  color: var(--accent-secondary);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.hero-card--main {
  background:
    linear-gradient(135deg, #f0ebe0 0%, #f7f4eb 45%, #f0ece2 100%);
}

.hero-card--main img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.hero-card--overlay {
  position: absolute;
  right: -4%;
  bottom: -12%;
  width: 74%;
  padding: 14px 16px 12px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
}

.hero-card-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f7f3eb;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
}

.hero-pill i {
  color: var(--accent);
}

.hero-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 6px;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-list li + li {
  margin-top: 4px;
}

.hero-card-list i {
  color: var(--accent);
}

/* =========================
   GENERIC GRIDS / CARDS
   ========================= */

.cards-grid {
  display: grid;
  gap: 20px;
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  background: var(--bg-section-alt);
  border-radius: var(--radius-md);
  padding: 20px 20px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
}

.info-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.info-card-icon i {
  color: var(--accent);
  font-size: 18px;
}

.info-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text-strong);
}

.info-card p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}

/* Split layout */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.split-text h2 {
  margin-bottom: 12px;
}

.split-text p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 16px;
}

.split-media {
  position: relative;
}

/* IMAGE CARDS */

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--bg-section-alt);
  box-shadow: var(--shadow-soft);
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Pills / chips */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f7f3eb;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.pill i {
  color: var(--accent-secondary);
}

/* MINI GRID (moduli) */

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.mini-card {
  padding: 14px 14px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
}

.mini-card i {
  font-size: 18px;
  color: var(--accent);
}

.mini-card h3 {
  font-size: 18px;
  margin: 8px 0 4px;
  color: var(--text-strong);
}

.mini-card p {
  font-size: 16px;
  margin: 0;
  color: var(--text-muted);
}

/* =========================
   STEPS
   ========================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  background: #fdfaf5;
  padding: 16px 14px 14px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.step-card h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  color: var(--text-strong);
}

.step-card p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}

/* =========================
   USE CASES
   ========================= */

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.usecase-column {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-subtle);
}

.usecase-column h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text-strong);
}

.usecase-column h3 i {
  color: var(--accent-secondary);
  margin-right: 6px;
}

.usecase-column ul {
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  color: var(--text-muted);
}

/* =========================
   TIMELINE
   ========================= */

.timeline {
  border-left: 2px solid var(--border-soft);
  margin-top: 12px;
}

.timeline-item {
  position: relative;
  padding-left: 26px;
  padding-bottom: 18px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -9px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #c97c3d, #145c3f);
  box-shadow: 0 0 0 4px rgba(201, 124, 61, 0.25);
}

.timeline-content h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--text-strong);
}

.timeline-content p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}

/* =========================
   BENEFITS / STATS
   ========================= */

.checklist {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  color: var(--text-muted);
}

.checklist li + li {
  margin-top: 6px;
}

.checklist i {
  color: var(--accent);
  margin-top: 3px;
}

.stats-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, #fdf7ee, #f3ebe0);
  box-shadow: var(--shadow-soft);
}

.stats-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text-strong);
}

.stats-card p {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--text-muted);
}

.stats-row {
  display: flex;
  gap: 16px;
}

.stat-item {
  padding: 10px 10px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: #ffffff;
}

.stat-value {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 16px;
  color: var(--text-muted);
}

/* =========================
   CTA SECTION
   ========================= */

.section-cta {
  background:
    linear-gradient(135deg, #f4f1ea 0%, #f9f5ee 60%, #f3ede3 100%);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.cta-text h2 {
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--text-strong);
}

.cta-text p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 16px;
}

.cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* FORM */

.cta-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 20px 18px 18px;
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 16px;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  padding: 9px 12px;
  background: #f9f6ef;
  color: var(--text-main);
  font-size: 16px;
  outline: none;
}

.form-row textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(20, 92, 63, 0.4);
  background: #ffffff;
}

.form-note {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.form-note a {
  color: var(--accent);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  background: #171614;
  margin-top: 40px;
  color: #f5f0e7;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0 20px;
}

.footer-brand .brand-title {
  color: #f5f0e7;
}

.footer-brand .brand-subtitle {
  color: #b2a798;
}

.footer-text {
  font-size: 16px;
  color: #d1c6b4;
  margin: 8px 0 14px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(209, 198, 180, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #f5f0e7;
}

.footer-social a:hover {
  border-color: var(--accent-secondary);
  color: #fff;
}

.footer-col h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #f5f0e7;
}

.footer-links,
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.footer-links li + li,
.footer-contacts li + li {
  margin-top: 6px;
}

.footer-links a {
  color: #d1c6b4;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contacts i {
  margin-right: 6px;
  color: var(--accent-secondary);
}

.footer-bottom {
  border-top: 1px solid #2c2a27;
  padding: 8px 0 12px;
  background: #141311;
}

.footer-bottom-inner {
  font-size: 16px;
  color: #b6ab9c;
  text-align: center;
}

/* =========================
   COOKIE BANNER
   ========================= */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 18px;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner--hidden {
  display: none;
}

.cookie-banner-inner {
  pointer-events: auto;
  max-width: 900px;
  width: calc(100% - 32px);
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: #fdf7ee;
  padding: 12px 16px;
  box-shadow: 0 18px 46px rgba(33, 27, 19, 0.32);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-text {
  flex: 1 1 220px;
  font-size: 16px;
  color: var(--text-main);
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-link {
  font-size: 16px;
  color: var(--accent-secondary);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .cta-inner,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    margin-top: 10px;
  }

  .hero-card--overlay {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usecase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* mobile menu */
  .main-nav {
    position: fixed;
    inset-inline: 18px;
    top: 64px;
    border-radius: 18px;
    padding: 14px 14px 12px;
    background: #fdf7ee;
    border: 1px solid var(--border-strong);
    box-shadow: 0 18px 46px rgba(38, 38, 38, 0.28);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 560px) {
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .three-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-row {
    flex-direction: column;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =======================================================
   ДЕКОР ДЛЯ КАЖДОГО БЛОКА (SECTION-SPECIFIC STYLING)
   ======================================================= */

/* ---------- БЛОК 1: HERO (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, #fdf7ee 0, transparent 55%),
    radial-gradient(circle at bottom right, #e0f1e9 0, transparent 55%),
    linear-gradient(120deg, #f9f5ec 0%, #f4f2ec 45%, #f6f3ea 100%);
}

.hero::before {
  /* мягкое пятно в правом верхнем углу */
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(20, 92, 63, 0.18), transparent 65%);
  pointer-events: none;
}

.hero::after {
  /* диагональная «сеточка» слева */
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 320px;
  height: 220px;
  background-image:
    linear-gradient(to right, rgba(203, 191, 168, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(203, 191, 168, 0.3) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
  transform: rotate(-8deg);
  pointer-events: none;
}

/* ---------- БЛОК 2: ABOUT (#about) ---------- */

#about {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to right, #f4f0e8 0%, #f8f6f0 40%, #f8f6f0 100%);
}

#about::before {
  /* вертикальная цветная полоса слева */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #145c3f, #c97c3d);
  opacity: 0.9;
}

#about::after {
  /* мягкие круги на фоне справа */
  content: "";
  position: absolute;
  right: -80px;
  bottom: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 124, 61, 0.25), transparent 65%),
    radial-gradient(circle at 70% 70%, rgba(20, 92, 63, 0.22), transparent 65%);
  pointer-events: none;
}

/* подчёркиваем левую колонку текста */
#about .split-text {
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  background: rgba(253, 250, 245, 0.85);
  border: 1px solid rgba(226, 222, 211, 0.9);
}

/* ---------- БЛОК 3: ПРОБЛЕМЫ / ФЛУССИ (#flussi) ---------- */

#flussi {
  background: #fdfaf5;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

#flussi .section-header {
  text-align: center;
}

#flussi .cards-grid {
  position: relative;
}

/* декоративная горизонтальная линия за карточками */
#flussi .cards-grid::before {
  content: "";
  position: absolute;
  inset: 38px 8px auto 8px;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0,
    rgba(203, 191, 168, 0.7) 18%,
    rgba(203, 191, 168, 0.7) 82%,
    transparent 100%);
  pointer-events: none;
}

#flussi .info-card {
  position: relative;
  border-left: 4px solid transparent;
  transition: border-color 0.18s ease, transform 0.12s ease,
    box-shadow 0.18s ease;
}

#flussi .info-card:nth-child(1) {
  border-left-color: #145c3f;
}

#flussi .info-card:nth-child(2) {
  border-left-color: #c97c3d;
}

#flussi .info-card:nth-child(3) {
  border-left-color: #b06a2f;
}

#flussi .info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(38, 38, 38, 0.14);
}

/* ---------- БЛОК 4: КАК РАБОТАЕТ AI (#soluzioni) ---------- */

#soluzioni {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f8f6f0 0%, #f7f2e7 40%, #f8f6f0 100%);
}

#soluzioni::before {
  /* круглая «печать» в углу */
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(148, 140, 120, 0.9);
  box-shadow: 0 0 0 12px rgba(248, 246, 240, 0.9);
  opacity: 0.35;
  pointer-events: none;
}

#soluzioni .steps-grid {
  position: relative;
  z-index: 1;
}

/* подчёркиваем четные шаги лёгким фоном */
#soluzioni .step-card:nth-child(2n) {
  background: #ffffff;
}

/* ---------- БЛОК 5: МОДУЛИ ПЛАТФОРМЫ (#moduli) ---------- */

#moduli {
  background: #f8f6f0;
}

#moduli .split {
  align-items: stretch;
}

/* медиа-карточка с «рамкой» */
#moduli .split-media .image-card {
  position: relative;
}

#moduli .split-media .image-card::before {
  content: "";
  position: absolute;
  inset: 12px -18px -12px 18px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(154, 141, 120, 0.6);
  pointer-events: none;
}

/* мини-карточки модулей с разными акцентами */
#moduli .mini-card:nth-child(1) {
  border-top: 3px solid #145c3f;
}

#moduli .mini-card:nth-child(2) {
  border-top: 3px solid #c97c3d;
}

#moduli .mini-card:nth-child(3) {
  border-top: 3px solid #b06a2f;
}

#moduli .mini-card:nth-child(4) {
  border-top: 3px solid #4b5563;
}

/* ---------- БЛОК 6: CASI D’USO (#casi-uso) ---------- */

#casi-uso {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, #fdf7ee 0, transparent 55%),
    #ffffff;
}

#casi-uso::before {
  /* лёгкий декоративный блок в левом краю */
  content: "";
  position: absolute;
  left: -80px;
  top: 20%;
  width: 220px;
  height: 260px;
  background:
    linear-gradient(135deg, rgba(20, 92, 63, 0.12), rgba(201, 124, 61, 0.14));
  opacity: 0.35;
  filter: blur(2px);
  pointer-events: none;
}

#casi-uso::after {
  /* диагональные полосы справа */
  content: "";
  position: absolute;
  right: -80px;
  bottom: -40px;
  width: 260px;
  height: 220px;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(203, 191, 168, 0.4),
    rgba(203, 191, 168, 0.4) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity: 0.4;
  pointer-events: none;
}

#casi-uso .usecase-column {
  position: relative;
}

/* маленький кружок в правом верхнем углу карточки */
#casi-uso .usecase-column::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c97c3d;
  opacity: 0.85;
}

/* ---------- БЛОК 7: COMPLIANCE (#compliance) ---------- */

#compliance {
  background: #f4f1ea;
}

#compliance .section-header {
  text-align: center;
}

#compliance .timeline {
  position: relative;
  margin-top: 18px;
  padding-left: 4px;
}

/* светлая «карточка» вокруг таймлайна */
#compliance .timeline::before {
  content: "";
  position: absolute;
  inset: -14px -18px -14px 0;
  border-radius: var(--radius-md);
  background: #fdfaf5;
  border: 1px solid var(--border-soft);
  z-index: -1;
}

/* разные оттенки точек таймлайна */
#compliance .timeline-item:nth-child(1) .timeline-dot {
  background: radial-gradient(circle at 30% 20%, #145c3f, #267357);
}

#compliance .timeline-item:nth-child(2) .timeline-dot {
  background: radial-gradient(circle at 30% 20%, #c97c3d, #a35f27);
}

#compliance .timeline-item:nth-child(3) .timeline-dot {
  background: radial-gradient(circle at 30% 20%, #4b5563, #111827);
}

/* ---------- БЛОК 8: BENEFICI (#benefici) ---------- */

#benefici {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, #fdf7ee 0, transparent 60%),
    #ffffff;
}

#benefici::before {
  /* дуга в левом верхнем углу */
  content: "";
  position: absolute;
  left: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 14px solid rgba(201, 124, 61, 0.25);
  border-color: rgba(201, 124, 61, 0.25) transparent transparent transparent;
  transform: rotate(-12deg);
  pointer-events: none;
}

/* подчёркиваем список преимуществ рамкой */
#benefici .split-text {
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  background: #f9f4ea;
  border: 1px solid var(--border-soft);
}

/* stats-card уже есть, добавим полоску сверху */
#benefici .stats-card {
  border-top: 4px solid #145c3f;
}

/* ---------- БЛОК 9: CTA / КОНТАКТ (#contatto) ---------- */

#contatto.section-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, #e0f1e9 0, transparent 60%),
    radial-gradient(circle at bottom right, #fbe4cf 0, transparent 60%),
    linear-gradient(135deg, #f4f1ea 0%, #f9f5ee 60%, #f3ede3 100%);
}

/* два больших «планетарных» круга в фоне */
#contatto.section-cta::before,
#contatto.section-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#contatto.section-cta::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 10%;
  background: radial-gradient(circle, rgba(20, 92, 63, 0.23), transparent 65%);
}

#contatto.section-cta::after {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: 5%;
  background: radial-gradient(circle, rgba(201, 124, 61, 0.23), transparent 65%);
}

/* подчёркиваем форму лёгкой тенью */
#contatto .cta-form {
  position: relative;
}

#contatto .cta-form::before {
  content: "";
  position: absolute;
  inset: -6px -10px auto;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(196, 185, 166, 0.7);
  pointer-events: none;
}
