:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --panel: #151518;
  --panel-soft: #1d1d21;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f6f2ed;
  --muted: #b8b0a9;
  --accent: #d83a32;
  --accent-strong: #ff5147;
  --gold: #c7a35d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(216, 58, 50, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(199, 163, 93, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 13, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-select {
  position: relative;
}

.language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.language-flag {
  flex: 0 0 auto;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 1px 4px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.flag-fr {
  background: linear-gradient(90deg, #1f3f8f 0 33.33%, #fff 33.33% 66.66%, #d3292f 66.66% 100%);
}

.flag-gb {
  background:
    linear-gradient(32deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 52%, #fff 52% 58%, transparent 58% 100%),
    linear-gradient(148deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 52%, #fff 52% 58%, transparent 58% 100%),
    linear-gradient(90deg, transparent 0 38%, #fff 38% 45%, #c8102e 45% 55%, #fff 55% 62%, transparent 62% 100%),
    linear-gradient(0deg, transparent 0 32%, #fff 32% 42%, #c8102e 42% 58%, #fff 58% 68%, transparent 68% 100%),
    #012169;
}

.flag-cd {
  background:
    radial-gradient(circle at 22% 24%, #f7d618 0 9%, transparent 10%),
    linear-gradient(145deg, transparent 0 38%, #f7d618 38% 46%, #ce1021 46% 54%, #f7d618 54% 62%, transparent 62% 100%),
    #007fff;
}

.language-code {
  min-width: 22px;
}

.language-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.75;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151518;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.language-select.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-select.is-open .language-arrow {
  transform: translateY(2px) rotate(225deg);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.language-option .language-flag {
  width: 25px;
  height: 17px;
}

.language-option:hover,
.language-option.is-active {
  background: var(--accent);
  color: #fff;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 34px rgba(216, 58, 50, 0.24);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--text);
}

.section-band,
.home-slider,
.promise,
.compliance,
.security,
.brochure,
.contact {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.home-slider {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 0;
  overflow: hidden;
  background: #050506;
}

.slides-track {
  position: relative;
  min-height: calc(100vh - 76px);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
  opacity: 0;
  animation: slideShow 28s infinite;
}

.slide:nth-child(2) {
  animation-delay: 7s;
}

.slide:nth-child(3) {
  animation-delay: 14s;
}

.slide:nth-child(4) {
  animation-delay: 21s;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.64) 38%, rgba(0, 0, 0, 0.36) 100%),
    rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
}

.slide img {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: cover;
  filter: blur(2.5px) saturate(0.9) brightness(0.72);
  transform: scale(1.02);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.slide-content h1 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 72px);
}

.slide-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 30px;
  color: rgba(246, 242, 237, 0.82);
  font-size: 19px;
  line-height: 1.7;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 5vw, 72px);
  bottom: 32px;
  display: flex;
  gap: 10px;
}

.slider-dots span {
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

.slider-dots span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  animation: dotFill 28s infinite;
}

.slider-dots span:nth-child(2)::after {
  animation-delay: 7s;
}

.slider-dots span:nth-child(3)::after {
  animation-delay: 14s;
}

.slider-dots span:nth-child(4)::after {
  animation-delay: 21s;
}

@keyframes slideShow {
  0%,
  25% {
    opacity: 1;
  }

  29%,
  100% {
    opacity: 0;
  }
}

@keyframes dotFill {
  0% {
    transform: scaleX(0);
  }

  25% {
    transform: scaleX(1);
  }

  25.1%,
  100% {
    transform: scaleX(0);
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, Times New Roman, serif;
  line-height: 1.05;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.8vw, 64px);
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.hero-lead,
.brochure-copy p,
.contact p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.dashboard-shell {
  position: relative;
  min-height: 430px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 114px 1fr;
  gap: 18px;
  min-height: 350px;
}

.dashboard-grid aside {
  padding: 18px 14px;
  border-radius: 6px;
  background: #0f1014;
}

.dashboard-grid aside b {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-strong);
}

.dashboard-grid aside i,
.table-lines i,
.invoice-lines i {
  display: block;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-row article,
.promise-grid article,
.module-grid article,
.metric-stack article,
.security-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.stat-row article {
  padding: 16px;
}

.stat-row strong {
  display: block;
  font-size: 26px;
}

.stat-row span,
.metric-stack span {
  color: var(--muted);
  font-size: 13px;
}

.chart-panel,
.wide-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 180px;
  margin-top: 16px;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    #101115;
}

.chart-panel span,
.wide-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--accent-strong), var(--gold));
}

.table-lines {
  margin-top: 18px;
}

.table-lines i:nth-child(2n) {
  width: 76%;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.promise-grid,
.module-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promise-grid article,
.module-grid article,
.security-grid article {
  padding: 26px;
}

.number {
  color: var(--gold);
  font-weight: 800;
}

.promise-grid p,
.module-grid p,
.security-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modules,
.insights {
  background:
    linear-gradient(90deg, rgba(216, 58, 50, 0.12), transparent 34%),
    #111114;
}

.module-grid article span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: rgba(216, 58, 50, 0.18);
  color: var(--accent-strong);
  font-weight: 900;
}

.compliance,
.brochure,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.invoice-card {
  min-height: 330px;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f7f4ee, #d8d2c7);
  color: #171717;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.invoice-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.invoice-top span {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.invoice-lines i {
  height: 13px;
  background: rgba(0, 0, 0, 0.13);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  gap: 5px;
  margin-top: 26px;
}

.qr-grid b {
  height: 22px;
  background: #171717;
}

.invoice-shot {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #f7f7f7;
  box-shadow: var(--shadow);
}

.invoice-shot img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: 4px;
}

.invoice-shot figcaption {
  margin-top: 12px;
  color: #3b3b3b;
  font-size: 13px;
  line-height: 1.5;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) 1fr;
  gap: 22px;
  align-items: stretch;
}

.metric-stack {
  display: grid;
  gap: 14px;
}

.metric-stack article {
  padding: 20px;
}

.metric-stack strong,
.metric-stack span {
  display: block;
}

.metric-stack strong {
  margin-bottom: 8px;
}

.wide-chart {
  height: auto;
  min-height: 330px;
  margin: 0;
}

.security {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) 1fr;
  gap: 42px;
}

.brochure {
  background: #f4f2ee;
  color: #111;
}

.brochure .eyebrow {
  color: #a72520;
}

.brochure-copy p {
  color: #555;
}

.brochure img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.contact {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(216, 58, 50, 0.18), transparent 38%),
    #0a0a0c;
}

address {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
}

.contact address {
  max-width: 520px;
  margin-top: 28px;
  font-size: 17px;
}

address a {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

address a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.demo-form {
  scroll-margin-top: 100px;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.demo-form h3 {
  margin: 0 0 4px;
  font-family: Georgia, Times New Roman, serif;
  font-size: 26px;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status-success {
  border: 1px solid rgba(124, 179, 66, 0.35);
  background: rgba(124, 179, 66, 0.14);
  color: #dff3cb;
}

.form-status-error {
  border: 1px solid rgba(216, 58, 50, 0.38);
  background: rgba(216, 58, 50, 0.14);
  color: #ffd8d5;
}

.demo-form.sent-success .form-status-success,
.demo-form.sent-error .form-status-error {
  display: block;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  min-height: 44px;
  padding: 11px 12px;
  outline: none;
}

.demo-form textarea {
  resize: vertical;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(216, 58, 50, 0.16);
}

.demo-form button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(216, 58, 50, 0.24);
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .compliance,
  .brochure,
  .contact,
  .security,
  .insight-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .promise-grid,
  .module-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 16px 18px;
  }

  .header-cta {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .language-select,
  .language-current {
    width: 100%;
  }

  .language-menu {
    left: 0;
    right: 0;
  }

  .home-slider,
  .slides-track {
    min-height: 620px;
  }

  .slide {
    padding: 48px 18px 78px;
  }

  .slide-content h1 {
    font-size: 34px;
  }

  .slide-content p:not(.eyebrow) {
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
  }

  .section-band,
  .promise,
  .compliance,
  .security,
  .brochure,
  .contact {
    padding: 52px 18px;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

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

  .dashboard-grid aside {
    display: none;
  }

  .stat-row,
  .promise-grid,
  .module-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .dashboard-shell {
    min-height: 0;
  }

  .invoice-card {
    transform: none;
  }
}
