:root {
  --primary: #f7941d;
  --primary-dark: #d97e0e;
  --teal: #0d5c60;
  --teal-light: #14767b;
  --bg: #ffffff;
  --bg-light: #f2f2f2;
  --text: #1a1a1a;
  --text-muted: #667085;
  --border: #e3e3e3;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  --container: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 12px; color: var(--text-muted); }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

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

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--wide { width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header__topbar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  height: 38px;
}
.header__topbar .header__phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.header__topbar .header__phone:hover { color: var(--primary); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--teal);
  white-space: nowrap;
}
.logo__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}
.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.nav a:hover { color: var(--primary); }

.nav__group { position: relative; }
.nav__toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle::after {
  content: "▾";
  font-size: 10px;
  color: var(--text-muted);
}
.nav__group:hover .nav__toggle,
.nav__toggle:hover { color: var(--primary); }
.nav__dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 16px;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 200;
}
.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}
.nav__group:hover .nav__dropdown { display: flex; }
.nav__dropdown a {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.nav__dropdown a:hover { background: var(--bg-light); color: var(--primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__phone {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.header__phone:hover { color: var(--primary); }

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch__btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
}
.lang-switch__btn.is-active {
  background: var(--teal);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--teal);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-light), #fff);
  padding: 48px 0 56px;
}
.hero__wrap { position: relative; }
.hero-carousel {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, var(--teal), var(--teal-light));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.carousel__slide > img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1%;
  width: 62%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
  z-index: 0;
}
.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 92, 96, 0.75) 0%, rgba(13, 92, 96, 0.35) 55%, rgba(13, 92, 96, 0) 80%);
  z-index: 1;
}
.hero-carousel__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 48px;
}
.hero-carousel__content h1,
.hero-carousel__content .hero-carousel__title {
  font-size: clamp(28px, 3.6vw, 42px);
  color: #fff;
}
.hero-carousel__title { font-weight: 700; line-height: 1.2; margin: 0 0 12px; }
.hero-carousel__content .hero__text {
  font-size: 17px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-carousel__content .hero__actions {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.hero-carousel__content .hero__actions .btn {
  flex: 1 1 0;
  max-width: 340px;
}
.hero-carousel__content .btn--ghost {
  border-color: #fff;
  color: #fff;
}
.hero-carousel__content .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.hero-carousel__content .hero__note {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
  z-index: 3;
  opacity: 0.85;
}
.carousel__arrow:hover { background: rgba(255, 255, 255, 0.85); opacity: 1; }
.carousel__arrow--prev { left: -30px; }
.carousel__arrow--next { right: -30px; }
.carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}
.carousel__dot.is-active { background: #fff; }

/* Advantages */
.advantages { padding: 72px 0; background: #fff; }
.advantages__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card--advantage {
  flex: 0 0 calc(25% - 15px);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--teal);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.card--advantage h3 { font-size: 17px; }
.card--advantage p { font-size: 14px; margin: 0; }

/* Lead text / definition */
.lead {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
}

/* How it works + example callout */
.how { padding: 72px 0; background: #fff; }
.how__intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}
.callout {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.callout h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--teal);
}
.callout p:last-child { margin-bottom: 0; }

/* Checklist (purpose / documents) */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  max-width: 820px;
  margin: 0 auto;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Solutions */
.solutions { padding: 72px 0; background: var(--bg-light); }
.solutions__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.solutions__item {
  flex: 0 0 calc(33.333% - 13.334px);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px 30px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.solutions__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(20, 33, 61, 0.14);
}
.solutions__item-icon {
  width: 104px;
  height: 104px;
  margin: 0 0 8px -10px;
}
.solutions__item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(13, 92, 96, 0.2));
}
.solutions__item h3 { font-size: 18px; color: var(--teal); }
.solutions__item p { font-size: 14px; }
.solutions__item h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-muted);
  margin: 16px 0 8px;
}
.solutions__item ul { margin-bottom: 8px; }
.solutions__item li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.solutions__item li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.solutions__item--featured {
  background: linear-gradient(150deg, var(--teal), var(--teal-light));
  color: rgba(255, 255, 255, 0.9);
}
.solutions__item--featured h3,
.solutions__item--featured p,
.solutions__item--featured h4 { color: #fff; }
.solutions__item--featured h4 { opacity: .85; }
.solutions__item--featured li { color: rgba(255, 255, 255, 0.8); }
.solutions__item--featured li::before { color: var(--primary); }
.solutions__note {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}
.link-arrow {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}

/* Simple centered note section */
.note-section { padding: 48px 0; background: #fff; }
#definition,
#purpose,
#documents-needed,
#debtor-check { background: var(--bg-light); }
.note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Contacts */
.contacts { padding: 72px 0; background: var(--bg-light); text-align: center; }
.contacts__grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.contacts__item .contacts__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contacts__item .contacts__value {
  font-size: 17px;
  font-weight: 600;
  color: var(--teal);
}

/* Steps */
.steps { padding: 72px 0; background: #fff; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps__item { text-align: center; padding: 0 12px; }
.steps__number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.steps__item h3 { font-size: 17px; }
.steps__item p { font-size: 14px; }

/* Form section */
.form-section {
  padding: 72px 0;
  background: linear-gradient(150deg, var(--teal), var(--teal-light));
  color: #fff;
}
.form-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.form-section__text { max-width: 600px; }
.form-section__widget { width: 100%; max-width: 640px; }
.form-section__text h2 { color: #fff; }
.form-section__text p { color: rgba(255,255,255,0.75); }
.form-section__widget {
  color: var(--text);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* FAQ */
.faq { padding: 72px 0; background: #fff; }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
.faq__item p { margin: 12px 0 0; font-size: 14px; }

/* Footer */
.footer { background: #fff; color: var(--text-muted); border-top: 1px solid var(--border); }
.footer__inner {
  /* display: grid; */
  display: flex;
  justify-content: space-between;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 32px;
}
.logo--footer {
  top: -15px;
  font-size: 21px;
  color: var(--teal);
  margin-bottom: 14px;
}
.footer__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}
.footer__contact a { color: var(--text); }
.footer__contact a:hover { color: var(--primary); }
.footer__contact-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--primary);
}
.footer__contact-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.footer__col h4 { color: var(--text); font-size: 15px; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer__bottom p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1230px) {
  .carousel__arrow--prev { left: 12px; }
  .carousel__arrow--next { right: 12px; }
}
@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav.nav--open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav__group:last-child .nav__dropdown a:last-child { border-bottom: none; }
  .nav__toggle {
    pointer-events: none;
    padding: 12px 0 4px;
    font-weight: 700;
    color: var(--teal);
  }
  .nav__toggle::after { display: none; }
  .nav__dropdown {
    display: flex;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .header { position: sticky; }
  .header__inner { position: relative; }
  .burger { display: flex; }
  .hero-carousel { height: 520px; }
  .carousel__slide > img { width: 32%; opacity: 0.5; }
  .card--advantage { flex-basis: calc(50% - 10px); }
  .solutions__item { flex-basis: 100%; }
  .checklist { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contacts__grid { gap: 24px; }
}

@media (max-width: 560px) {
  .header__inner { height: 64px; }
  .header__actions { gap: 10px; }
  .btn--sm { display: none; }
  .hero-carousel { height: 460px; }
  .carousel__slide > img { display: none; }
  .hero-carousel__overlay { background: linear-gradient(180deg, rgba(13, 92, 96, 0.9) 0%, rgba(13, 92, 96, 0.55) 60%, rgba(13, 92, 96, 0.15) 100%); }
  .hero-carousel__content { padding: 0 24px; }
  .card--advantage { flex-basis: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
}
