:root {
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --card: #10243d;
  --text: #f5f8fc;
  --muted: #b8c5d6;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ffc43d;
  --accent-dark: #e2a70f;
  --blue: #46a0ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(70, 160, 255, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(255, 196, 61, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav,
.section,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #06111f;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand small,
.eyebrow,
.hero-card span,
.proof-list span,
.steps span,
.contact-card span {
  color: var(--muted);
}

.brand strong {
  letter-spacing: 0.02em;
}

.brand span:last-child {
  display: grid;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a,
.button,
.language-switcher button,
.nav-toggle,
.card,
.trust-item,
.steps li,
.proof-list div {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

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

.nav-phone {
  padding: 8px 14px;
  border: 1px solid rgba(255, 196, 61, 0.45);
  border-radius: 999px;
  color: var(--accent) !important;
  font-weight: 900;
}

.nav-phone:hover {
  border-color: var(--accent);
  background: rgba(255, 196, 61, 0.08);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--accent);
  color: #07111f;
}

.nav-toggle {
  display: none;
}

.section {
  padding: 104px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 380px;
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 76px);
}

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

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

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(2.65rem, 6.5vw, 5.35rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.65vw, 1.24rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #07111f;
}

.button.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

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

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.hero-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 36, 61, 0.92), rgba(16, 36, 61, 0.62));
  box-shadow: var(--shadow);
}

.hero-card div,
.proof-list div,
.steps li,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-card div {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.hero-card strong {
  font-size: 1.35rem;
}

.intro,
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  border-top: 1px solid var(--line);
}

.intro p,
.split p,
.card p,
.cta p {
  color: var(--muted);
}

.intro > p,
.split p,
.cta p {
  max-width: 760px;
}

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

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

.card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 36, 61, 0.72);
}

.card:nth-child(even) {
  background: rgba(14, 48, 80, 0.72);
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.trust-item {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 196, 61, 0.075);
}

.trust-item strong {
  color: var(--accent);
}

.trust-item span {
  color: var(--muted);
}

.proof-list {
  display: grid;
  gap: 16px;
}

.proof-list div {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.process {
  border-top: 1px solid var(--line);
}

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

.steps li {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 78px 28px 28px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #07111f;
  content: counter(steps);
  font-weight: 900;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: start;
  gap: 64px;
  border-top: 1px solid var(--line);
}

.contact-form,
.contact-card {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 36, 61, 0.88);
}

.contact-form {
  gap: 18px;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.form-note,
.form-status {
  color: var(--muted);
  font-weight: 500;
}

.contact-form label > span {
  color: var(--text);
  font-weight: 800;
}

.contact-form label > span span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.72);
  color: var(--text);
  font: inherit;
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 196, 61, 0.12);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  margin: -4px 0 0;
  font-size: 0.94rem;
}

.form-note a {
  color: var(--accent);
  font-weight: 900;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
}

.form-status.success {
  color: #76e5a0;
}

.form-status.error {
  color: #ff9a9a;
}

.contact-form-shell {
  position: relative;
}

.form-success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 18px;
  text-align: center;
  background: rgba(7, 17, 31, 0.93);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition:
    opacity 320ms ease,
    transform 320ms ease,
    visibility 320ms ease;
  pointer-events: none;
}

.contact-form-shell.is-success .form-success {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.contact-form-shell.is-success .contact-form {
  opacity: 0.12;
  filter: blur(2px);
  transition:
    opacity 320ms ease,
    filter 320ms ease;
}

.form-success__inner {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.form-success__check {
  width: 76px;
  height: 76px;
  margin-bottom: 4px;
}

.form-success__circle {
  fill: none;
  stroke: #25d366;
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}

.form-success__tick {
  fill: none;
  stroke: #25d366;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
}

.contact-form-shell.is-success .form-success__circle {
  animation: drawCircle 480ms ease forwards;
}

.contact-form-shell.is-success .form-success__tick {
  animation: drawTick 320ms ease 420ms forwards;
}

.form-success__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
}

.form-success__sub {
  margin: 0;
  color: var(--muted);
  max-width: 32ch;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawTick {
  to {
    stroke-dashoffset: 0;
  }
}

.hp-field {
  position: absolute;
  left: -10000px;
}

.company-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.company-details span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-link {
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 900;
}

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.floating-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 17, 31, 0.88);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    opacity 200ms ease,
    visibility 200ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.floating-button:hover {
  transform: translateY(-2px);
}

.floating-call {
  display: none;
  background: var(--accent);
  color: #07111f;
}

.floating-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.floating-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

.floating-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.floating-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-top:hover {
  border-color: rgba(255, 196, 61, 0.55);
  color: var(--accent);
}

@media (max-width: 920px) {
  .hero,
  .intro,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 72px;
  }

  .cards,
  .steps,
  .trust {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body {
    padding-bottom: 78px;
  }

  .nav,
  .section,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 74px;
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    flex: 0 0 auto;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
  }

  .nav-toggle[aria-expanded="true"] {
    border-color: rgba(255, 196, 61, 0.55);
    background: rgba(255, 196, 61, 0.09);
    color: var(--accent);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 17, 31, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    visibility: hidden;
    transition:
      max-height 260ms ease,
      opacity 180ms ease,
      padding 260ms ease,
      transform 220ms ease,
      visibility 0ms linear 260ms;
  }

  .language-switcher {
    justify-self: end;
    padding: 3px;
  }

  .language-switcher button {
    min-width: 32px;
    min-height: 32px;
    font-size: 0.76rem;
  }

  .nav-links.is-open {
    max-height: 380px;
    padding: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition:
      max-height 260ms ease,
      opacity 180ms ease,
      padding 260ms ease,
      transform 220ms ease,
      visibility 0ms;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 13px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-phone {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    padding: 13px 14px !important;
    background: rgba(255, 196, 61, 0.1);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.45rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-card,
  .contact-form {
    border-radius: 20px;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .card,
  .steps li {
    min-height: auto;
  }

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

  .floating-actions {
    right: 14px;
    bottom: 14px;
    grid-auto-flow: row;
    justify-items: center;
  }

  .floating-call {
    display: grid;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .nav {
    width: min(100% - 20px, 1120px);
    gap: 8px;
  }

  .nav-toggle {
    padding: 0 11px;
  }

  .language-switcher button {
    min-width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
