:root {
  --bg: #ffffff;
  --text: #161616;
  --muted: #60646c;
  --line: #e9eaed;
  --soft: #f7f7f5;
  --header-bg: rgba(255, 255, 255, 0.92);
  --card-bg: #ffffff;
  --accent: #f35b12;
  --accent-dark: #b83a08;
  --button-text: #ffffff;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --bg: #101112;
  --text: #f3f1ed;
  --muted: #b8b3ad;
  --line: #2a2c2f;
  --soft: #17191b;
  --header-bg: rgba(16, 17, 18, 0.9);
  --card-bg: #121416;
  --accent: #ff6a1f;
  --accent-dark: #ff8a4a;
  --button-text: #101112;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body::selection {
  background: rgba(243, 91, 18, 0.18);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 84px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  border-color: var(--accent);
}

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

.lang-toggle,
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(243, 91, 18, 0.5);
}

.lang-toggle-icon {
  font-size: 20px;
  line-height: 1;
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(243, 91, 18, 0.16);
}

[data-theme="dark"] .theme-toggle-icon::after {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--card-bg);
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: calc(100svh - 84px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.4rem, 16vw, 11.2rem);
  line-height: 0.88;
  font-weight: 830;
  letter-spacing: 0;
}

.hero-title-i {
  position: relative;
  display: inline-block;
}

.hero-title-i::before {
  position: absolute;
  top: 0.02em;
  left: 50%;
  width: 0.256em;
  height: 0.256em;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  transform: translateX(-50%);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 720;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(243, 91, 18, 0.45);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--button-text);
}

.button.secondary {
  background: var(--card-bg);
  color: var(--text);
}

.hero-mark {
  justify-self: end;
  width: min(37vw, 430px);
  min-width: 260px;
  aspect-ratio: 1;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 42px rgba(243, 91, 18, 0.14));
}

[data-theme="dark"] .brand img,
[data-theme="dark"] .hero-mark img,
[data-theme="dark"] .not-found img {
  filter: drop-shadow(0 18px 34px rgba(255, 106, 31, 0.18));
}

.section {
  padding: clamp(64px, 10vw, 124px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.intro,
.security {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro > div,
.security-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.intro > div p {
  margin-top: 0;
  margin-bottom: clamp(12px, 2vw, 20px);
}

.intro > div p:last-child {
  margin-bottom: 0;
}

.intro > div h2 {
  color: var(--text);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 6vw, 58px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  min-height: 270px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card-bg);
}

.service span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 780;
}

.service p,
.steps span,
.contact p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.steps li {
  display: grid;
  gap: 18px;
  min-height: 190px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--soft);
}

.steps strong {
  font-size: 1.1rem;
}

.security {
  background: var(--soft);
}

.security-copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.contact {
  display: grid;
  justify-items: center;
  padding: clamp(72px, 12vw, 140px) 20px;
  text-align: center;
}

.contact h2 {
  max-width: 900px;
  margin-bottom: 20px;
}

.contact p {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: 1.12rem;
}

.contact-trigger {
  width: min(360px, 100%);
}

.contact-form-panel {
  width: min(680px, 100%);
  margin-top: 20px;
}

.contact-status {
  width: min(680px, 100%);
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(243, 91, 18, 0.24);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(243, 91, 18, 0.08);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-status.is-error {
  border-color: rgba(184, 58, 8, 0.3);
  background: rgba(184, 58, 8, 0.08);
}

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
  text-align: left;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field label {
  font-size: 0.94rem;
  font-weight: 640;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--text);
  font: inherit;
}

.contact-field textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-captcha-shell {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--soft);
}

.contact-form .button {
  width: 100%;
}

.contact-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  border-color: var(--line);
  background: #c7c9ce;
  color: #4a4d53;
}

.contact-helper {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.error-page {
  position: relative;
  min-height: 100svh;
}

.error-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(40px, 8vw, 84px) 20px;
  text-align: center;
}

.not-found img {
  width: min(220px, 56vw);
  height: auto;
  margin-bottom: 28px;
  object-fit: contain;
}

.not-found h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 9vw, 7rem);
}

.not-found p:not(.section-kicker) {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

:focus-visible {
  outline: 3px solid rgba(243, 91, 18, 0.28);
  outline-offset: 4px;
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
  }

  .hero,
  .intro,
  .security {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-mark {
    justify-self: start;
    width: min(72vw, 360px);
    min-width: 0;
  }

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

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

  .brand {
    width: 54px;
    height: 54px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .nav {
    gap: 11px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

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

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

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

  .site-footer {
    gap: 4px;
  }
}
