:root {
  --ink: #1f2933;
  --muted: #627184;
  --line: #d8e0e8;
  --panel: #ffffff;
  --soft: #f4f7f9;
  --dark: #2f3a3d;
  --orange: #f4a12d;
  --teal: #1a9aa5;
  --green: #496d46;
  --shadow: 0 18px 45px rgba(29, 40, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 224, 232, 0.8);
  background: rgba(244, 247, 249, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

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

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lang-button {
  min-width: 44px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.lang-button.active {
  color: #fff;
  background: var(--dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 56px) 36px;
  background:
    linear-gradient(115deg, rgba(47, 58, 61, 0.94) 0%, rgba(47, 58, 61, 0.86) 46%, rgba(244, 247, 249, 0.72) 46.2%),
    url("assets/business-card.jpg") center right / cover;
}

.hero-content {
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.4vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions,
.tabs,
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: #172026;
  background: var(--orange);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.contact-panel,
.app-panel {
  border: 1px solid rgba(216, 224, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1.82 / 1;
  object-fit: cover;
}

.contact-panel img.contact-logo {
  object-fit: contain;
  padding: 34px;
  background:
    radial-gradient(circle at 78% 24%, rgba(242, 161, 46, 0.18), transparent 30%),
    #263134;
}

.contact-lines {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.contact-lines a,
address a {
  color: var(--teal);
  font-weight: 750;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-band div {
  padding: 24px clamp(18px, 4vw, 56px);
  background: #fff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-grid p,
.steps span {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.process-section {
  color: #fff;
  background: var(--dark);
}

.process-section .section-heading .eyebrow {
  color: var(--orange);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 210px;
  padding: 62px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--orange);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.64fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #fff;
}

.app-panel {
  padding: 18px;
}

.tabs {
  margin-bottom: 16px;
}

.tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  color: #fff;
  border-color: var(--dark);
  background: var(--dark);
}

.account-form,
.contact-form {
  display: none;
  gap: 14px;
}

.account-form.active,
.contact-form {
  display: grid;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 154, 165, 0.13);
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.status-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  line-height: 1.55;
}

.contact-section {
  background: #eef3f6;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 26px;
}

.contact-form,
address,
.messaging-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-side {
  display: grid;
  gap: 16px;
}

address {
  display: grid;
  align-content: start;
  gap: 12px;
  font-style: normal;
}

address strong {
  font-size: 1.3rem;
}

.messaging-card {
  display: grid;
  gap: 18px;
}

.messaging-card-heading {
  display: grid;
  gap: 6px;
}

.messaging-card-heading strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.messaging-card-heading span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.messaging-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.messaging-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.messaging-qr img {
  width: min(100%, 128px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.messaging-qr span {
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.7);
  background: #172026;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(47, 58, 61, 0.93), rgba(47, 58, 61, 0.82)),
      url("assets/business-card.jpg") center / cover;
  }

  .service-grid,
  .steps,
  .trust-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .language-switch {
    width: 100%;
    justify-content: space-between;
  }

  .lang-button {
    flex: 1;
  }


  h1 {
    font-size: clamp(2.3rem, 13vw, 3.9rem);
  }

  .service-grid,
  .steps,
  .trust-band,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .messaging-qr {
    padding: 10px;
  }
}
