:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #4d4d4d;
  --accent: #2e7d32;
  --accent-light: #4caf50;
  --accent-bg: #e8f5e9;
  --border: #e4e4e4;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --container: 1140px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none !important;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  flex-shrink: 0;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: var(--accent-light);
}

/* Hero */

.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(76, 175, 80, 0.12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.08), transparent 35%),
    var(--bg);
  padding: 110px 0 120px;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Sections */

.section {
  padding: 80px 0;
}

.section-alt {
  background: #f7faf7;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 44px;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}

/* Cards (services) */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(46, 125, 50, 0.12);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Benefits */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--accent);
  margin-bottom: 8px;
}

.benefit h3 {
  font-size: 17px;
  font-weight: 700;
}

.benefit p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Debtors */

.debtor-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, var(--accent-bg), #f1f8e9);
  border: 1px solid #c8e6c9;
  border-radius: var(--radius);
  padding: 40px;
}

.debtor-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.debtor-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 640px;
}

.debtor-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.debtor-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}

.debtor-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8l2.5 2.5L12 5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.debtor-action {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Contacts */

.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
}

.contact-value {
  font-size: 17px;
  font-weight: 600;
}

.link {
  color: var(--accent);
}

/* Footer */

.footer {
  background: #10170f;
  color: #cfd8cb;
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
}

.footer-company {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.footer-col a {
  color: #cfd8cb;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-note {
  color: #8f998b;
  font-size: 13.5px;
}

.footer-copy {
  border-top: 1px solid #26352a;
  padding-top: 22px;
  font-size: 13px;
  color: #8f998b;
}

/* Policy pages */

.page-main {
  padding: 70px 0 90px;
}

.page-header {
  padding: 60px 0 30px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.page-lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
}

.page-body {
  max-width: 860px;
}

.page-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
  color: var(--accent);
}

.page-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.page-body p,
.page-body li {
  font-size: 15.5px;
  color: var(--text-secondary);
}

.page-body p {
  margin-bottom: 12px;
}

.page-body ul,
.page-body ol {
  margin: 0 0 16px 22px;
}

.page-body li {
  margin-bottom: 8px;
}

.page-body table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

.page-body th,
.page-body td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 4px;
}

.page-body th {
  background: #f7faf7;
  font-weight: 600;
  color: var(--text);
  width: 240px;
}

.page-body td {
  color: var(--text-secondary);
}

.crumb {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 20px;
  display: inline-block;
}

.crumb:hover {
  text-decoration: underline;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #ffffff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 18px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: cookie-in 0.4s ease;
}

@keyframes cookie-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner p {
  font-size: 14px;
  color: var(--text);
  max-width: 720px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-accept {
  border: none;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-accept:hover {
  background: var(--accent-light);
}

.cookie-more {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}

.cookie-more:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 960px) {
  .cards,
  .benefits,
  .contacts {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  .header-inner {
    height: 64px;
  }

  .logo-text {
    font-size: 15px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 150;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    padding: 8px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding: 64px 0 72px;
    background:
      radial-gradient(circle at 90% 10%, rgba(76, 175, 80, 0.12), transparent 45%),
      var(--bg);
  }

  .hero-content h1 {
    font-size: 30px;
    letter-spacing: -0.3px;
  }

  .hero-subtitle {
    font-size: 16.5px;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .cards,
  .benefits,
  .contacts,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px 20px;
  }

  .debtor-box {
    flex-direction: column;
    gap: 24px;
    padding: 26px 22px;
  }

  .debtor-action {
    width: 100%;
  }

  .debtor-action .btn {
    width: 100%;
  }

  .contacts {
    gap: 16px;
  }

  .footer {
    padding: 44px 0 28px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  }

  .cookie-banner p {
    font-size: 13.5px;
  }

  .cookie-actions {
    gap: 12px;
  }

  .cookie-accept {
    flex: 1;
    padding: 12px 20px;
  }

  .page-main {
    padding: 44px 0 64px;
  }

  .page-header {
    padding: 28px 0 18px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-lead {
    font-size: 15.5px;
  }

  .page-body h2 {
    font-size: 20px;
    margin: 32px 0 12px;
  }

  .page-body table {
    min-width: 480px;
    font-size: 14px;
  }

  .crumb {
    margin-bottom: 14px;
  }
}

@media (max-width: 400px) {
  .logo-badge {
    width: 36px;
    height: 36px;
  }

  .hero-content h1 {
    font-size: 27px;
  }
}