/* ============================================
   MBS Incasso — Corporate Design System
   ============================================ */

:root {
  --navy-950: #07111c;
  --navy-900: #0b1a2e;
  --navy-800: #12253d;
  --navy-700: #1a3354;
  --navy-600: #24456e;
  --charcoal: #121826;
  --slate: #2f3b4d;
  --slate-light: #4a586c;
  --cream: #eef1f5;
  --cream-dark: #e2e7ee;
  --white: #ffffff;
  --gold: #c4a06a;
  --gold-light: #dfc18f;
  --gold-dark: #9a7848;
  --bronze: #9a7848;
  --border: rgba(196, 160, 106, 0.22);
  --border-light: rgba(11, 26, 46, 0.08);
  --shadow: 0 20px 50px rgba(6, 13, 24, 0.12);
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1140px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.65rem;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--slate);
  max-width: 38rem;
  line-height: 1.7;
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, #f0ece4 0%, var(--cream) 100%);
}

.section-header {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.text-link {
  color: var(--gold-dark);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link:hover {
  color: var(--navy-900);
  border-bottom-color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

.btn--primary {
  background: var(--gold);
  color: var(--navy-950);
}

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

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.btn--outline-dark:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: auto;
  min-height: var(--header-h);
  overflow: visible;
  background: #0a1628;
  /* backdrop-filter clips logo in Chromium — do not use on header */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(184, 149, 106, 0.15);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 13, 24, 0.97);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  height: auto;
  min-height: var(--header-h);
  gap: 1rem;
  overflow: visible;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.logo__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(184, 149, 106, 0.4);
  background: #0b1a2e;
  object-fit: cover;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.logo__mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.logo__mark span {
  color: var(--gold);
}

.logo__sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 184, 150, 0.75);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s var(--ease);
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__list a:hover,
.nav__list a.is-active {
  color: var(--white);
}

.nav__list a:hover::after,
.nav__list a.is-active::after {
  width: 100%;
}

.nav__cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.nav__cta:hover {
  background: var(--gold);
  color: var(--navy-950);
  transform: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 1001;
  flex-shrink: 0;
}

.lang-switch__btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.35rem 0.2rem;
  transition: color 0.2s var(--ease);
}

.lang-switch__btn:hover {
  color: var(--gold-light);
}

.lang-switch__btn.is-active {
  color: var(--gold-light);
}

.lang-switch__sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

[data-lang-block][hidden] {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-light);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background:
    linear-gradient(
      115deg,
      rgba(6, 13, 24, 0.94) 0%,
      rgba(10, 22, 40, 0.88) 42%,
      rgba(15, 31, 56, 0.72) 100%
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8956a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(184, 149, 106, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(30, 58, 95, 0.5), transparent 55%);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  grid-template-areas:
    "content visual"
    "trust trust";
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  grid-area: content;
  max-width: 40rem;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero__visual {
  grid-area: visual;
  animation: fadeUp 1s 0.15s var(--ease) both;
}

.hero__visual-frame {
  position: relative;
  min-height: clamp(380px, 52vh, 520px);
  border: 1px solid rgba(184, 149, 106, 0.28);
  background: var(--navy-950);
  overflow: hidden;
}

.hero__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 24, 0.25) 0%, rgba(6, 13, 24, 0.55) 40%, rgba(6, 13, 24, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 13, 24, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.hero__visual-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.hero__visual-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero__process {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero__process li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__process li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero__process-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  min-width: 2rem;
  line-height: 1;
}

.hero__process-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__process-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.hero__process-text em {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero__visual-link {
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero__visual-link:hover {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.72);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.trust-bar {
  grid-area: trust;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 149, 106, 0.2);
  animation: fadeUp 1s 0.25s var(--ease) both;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-bar__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.trust-bar__value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  background:
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(184, 149, 106, 0.12), transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--gold-light);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  opacity: 0.5;
}

/* ---------- Intro / About teaser ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split__visual {
  position: relative;
  min-height: 380px;
  background: var(--navy-900);
  overflow: hidden;
}

.split__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 13, 24, 0.15) 0%, rgba(6, 13, 24, 0.82) 100%);
  pointer-events: none;
}

.split__visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  color: var(--white);
  z-index: 2;
}

.split__visual-content p {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.3;
  max-width: 16rem;
}

.split__visual-content .accent-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.check-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--slate);
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8956a' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-block {
  padding: 2.25rem 1.85rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.service-block:hover {
  transform: translateY(-4px);
}

.service-block__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1;
}

.service-block p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-block ul li {
  font-size: 0.9rem;
  color: var(--slate-light);
  padding-left: 1rem;
  position: relative;
}

.service-block ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.service-detail {
  display: grid;
  gap: 2.5rem;
}

.service-detail__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail__item:last-child {
  border-bottom: none;
}

.service-detail__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.service-detail__body p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.service-detail__body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
  margin-top: 1.25rem;
}

.service-detail__body ul li {
  font-size: 0.95rem;
  color: var(--slate);
  padding-left: 1.1rem;
  position: relative;
}

.service-detail__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: 0 12px 36px rgba(6, 13, 24, 0.06);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial__author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.testimonial__role {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-top: 0.15rem;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.35rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-600) 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.team-member__photo::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}

.team-member__photo::before {
  display: none;
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member__role {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.team-member__bio {
  font-size: 0.92rem;
  color: var(--slate);
  max-width: 22rem;
  margin-inline: auto;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info__item h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.45rem;
}

.contact-info__item p,
.contact-info__item a {
  color: var(--slate);
  font-size: 1.05rem;
}

.contact-info__item a:hover {
  color: var(--navy-900);
}

.contact-form-wrap {
  background: var(--white);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.form-group label .req {
  color: var(--gold-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 31, 56, 0.15);
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15);
  background: var(--white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #a94442;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #a94442;
  margin-top: 0.35rem;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: rgba(46, 125, 80, 0.08);
  border-left: 3px solid #2e7d50;
  color: #1b5e3a;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.form-success.is-visible {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

.form-fail {
  display: none;
  padding: 1rem 1.15rem;
  background: rgba(169, 68, 66, 0.08);
  border-left: 3px solid #a94442;
  color: #7a2e2c;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.form-fail.is-visible {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-bottom: 1.25rem;
}

/* ---------- Debt Submission Portal ---------- */
.portal-notice {
  padding: 1.15rem 1.35rem;
  background: rgba(15, 31, 56, 0.04);
  border-left: 3px solid var(--gold);
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 52rem;
}

.portal-notice strong {
  color: var(--navy-900);
  font-weight: 600;
}

.portal-form-wrap {
  background: var(--white);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.portal-form-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.portal-form-header h3 {
  margin-bottom: 0.35rem;
}

.portal-form-header p {
  color: var(--slate);
  font-size: 0.95rem;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--border);
  background: rgba(184, 149, 106, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}

.form-row--three {
  grid-template-columns: repeat(3, 1fr);
}

.upload-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.upload-label .req {
  color: var(--gold-dark);
}

.upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 2rem 1.5rem;
  border: 1.5px dashed rgba(15, 31, 56, 0.22);
  background: var(--cream);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.upload-zone:hover,
.upload-zone.is-dragover {
  border-color: var(--gold);
  background: rgba(184, 149, 106, 0.06);
}

.upload-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.upload-zone__icon {
  color: var(--gold-dark);
  display: flex;
}

.upload-zone__title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-900);
}

.upload-zone__hint {
  font-size: 0.8rem;
  color: var(--slate-light);
  max-width: 28rem;
}

.form-group.has-error .upload-zone {
  border-color: #a94442;
}

.upload-list {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.upload-list[hidden] {
  display: none;
}

.upload-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--navy-900);
}

.upload-list__meta {
  color: var(--slate-light);
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.upload-list__remove {
  background: transparent;
  border: none;
  color: var(--slate-light);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.2rem;
  transition: color 0.2s;
}

.upload-list__remove:hover {
  color: #a94442;
}

.portal-consent {
  margin: 0.5rem 0 1.5rem;
}

.portal-consent.has-error .form-error {
  display: block;
}

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.55;
  cursor: pointer;
}

.checkbox-label input {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--gold-dark);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 24, 0.72);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  background: var(--white);
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border-top: 3px solid var(--gold);
  text-align: center;
  animation: fadeUp 0.35s var(--ease);
}

.modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--slate-light);
  cursor: pointer;
  padding: 0.25rem;
}

.modal__close:hover {
  color: var(--navy-900);
}

.modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.15rem;
  color: var(--gold-dark);
  border: 1.5px solid var(--border);
  background: rgba(184, 149, 106, 0.08);
}

.modal__dialog h2 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.modal__dialog p {
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .form-row--three {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .form-row,
  .form-row--three {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background:
    linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 80% at 0% 50%, rgba(184, 149, 106, 0.15), transparent);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 42rem;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--slate);
  margin-bottom: 0.85rem;
}

.legal-content ul {
  margin: 0.75rem 0 1.25rem 1.25rem;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 0.4rem;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--slate-light);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.colophon-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.colophon-table th,
.colophon-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.colophon-table th {
  width: 38%;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.9rem;
}

.colophon-table td {
  color: var(--slate);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(184, 149, 106, 0.15);
}

.footer-brand .logo__mark {
  margin-bottom: 0.15rem;
}

.footer-brand p {
  margin-top: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 16rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}

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

.footer-col address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

.footer-trust {
  margin-bottom: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(184, 149, 106, 0.15);
}

.footer-trust__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.35rem;
}

.footer-trust__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-trust__note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 36rem;
  line-height: 1.5;
}

.footer-trust__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.footer-trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(184, 149, 106, 0.22);
  background: rgba(255, 255, 255, 0.02);
  min-height: 100%;
}

.footer-trust__icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.footer-trust__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-trust__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  line-height: 1.3;
}

.footer-trust__desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .footer-trust__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-trust__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPlane {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "trust";
    gap: 2.5rem;
  }

  .hero__visual-frame {
    min-height: 360px;
    max-width: 520px;
  }

  .services-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split__visual {
    min-height: 280px;
    order: -1;
  }

  .service-detail__item {
    grid-template-columns: 70px 1fr;
    gap: 1.25rem;
  }

  .service-detail__body ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    z-index: 1100;
  }

  .header-inner {
    position: relative;
    z-index: 1102;
    gap: 0.65rem;
  }

  .logo {
    order: 1;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1103;
  }

  .logo__icon {
    width: 34px;
    height: 34px;
  }

  .logo__mark {
    font-size: 1.15rem;
  }

  .logo__sub {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: visible;
    max-width: none;
  }

  .lang-switch {
    order: 2;
    position: relative;
    z-index: 1103;
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    position: relative;
    z-index: 1103;
    flex-shrink: 0;
    margin-left: 0;
  }

  .nav {
    order: 4;
    position: fixed;
    inset: 0;
    z-index: 1101;
    margin-left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(6, 13, 24, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .nav__list a {
    font-size: 1.35rem;
    font-family: var(--font-display);
    display: inline-block;
    padding: 0.35rem 0.5rem;
  }

  .nav__list a::after {
    display: none;
  }

  .nav__cta {
    padding: 0.85rem 1.75rem;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "trust";
    gap: 2.25rem;
  }

  .hero__visual-frame {
    min-height: 340px;
  }

  .services-grid,
  .testimonials-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-bar {
    gap: 1.25rem 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .service-detail__item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Incasso survey popup ---------- */
body.survey-open {
  overflow: auto;
}

.survey-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.survey-popup[hidden] {
  display: none;
}

.survey-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 24, 0.72);
  backdrop-filter: blur(5px);
}

.survey-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: var(--white);
  padding: 1.75rem 1.6rem 1.5rem;
  border-top: 3px solid var(--gold);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  animation: fadeUp 0.4s var(--ease);
}

.survey-popup__close {
  position: absolute;
  top: 0.55rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--slate-light);
  cursor: pointer;
}

.survey-popup__close:hover {
  color: var(--navy-900);
}

.survey-popup__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.survey-popup__brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.survey-popup__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.survey-popup__brand span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 0.15rem;
}

.survey-popup__dialog h2 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

.survey-popup__lead {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.survey-step {
  border: none;
  margin: 0 0 1.1rem;
  padding: 0;
}

.survey-step legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.55rem;
}

.survey-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.35rem;
  border: 1px solid var(--border-light);
  background: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--slate);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.survey-option:hover,
.survey-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(184, 149, 106, 0.08);
  color: var(--navy-900);
}

.survey-option input {
  margin-top: 0.2rem;
  accent-color: var(--gold-dark);
}

.survey-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.85rem;
  margin-top: 0.35rem;
}

.survey-privacy {
  font-size: 0.78rem;
  color: var(--slate-light);
  margin: 0.25rem 0 1rem;
  line-height: 1.5;
}

.survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.survey-actions .btn {
  flex: 1 1 auto;
}

.survey-skip {
  background: transparent !important;
}

.survey-fail {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: rgba(169, 68, 66, 0.08);
  border-left: 3px solid #a94442;
  color: #7a2e2c;
  font-size: 0.88rem;
}

.survey-success {
  text-align: center;
  padding: 1rem 0.5rem 0.25rem;
}

.survey-success h3 {
  margin-bottom: 0.65rem;
}

.survey-success p {
  color: var(--slate);
  margin-bottom: 1.35rem;
}

@media (max-width: 560px) {
  .survey-fields {
    grid-template-columns: 1fr;
  }

  .survey-popup__dialog {
    padding: 1.4rem 1.15rem 1.25rem;
  }
}
