:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6fb;
  --bg-elev: #eef3f9;
  --bg-card: #ffffff;
  --bg-soft: #e7eef7;
  --header-bg: rgba(243, 246, 251, 0.9);
  --switch-bg: rgba(255, 255, 255, 0.86);
  --wizard-bg: #ffffff;
  --wizard-rail: linear-gradient(180deg, #eef3fa, #e4ebf5);
  --input-bg: #ffffff;
  --line: rgba(20, 32, 51, 0.12);
  --text: #142033;
  --muted: #5b6d82;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --ok: #18794e;
  --warn: #b45309;
  --danger: #c24141;
  --shadow: 0 16px 36px rgba(20, 32, 51, 0.08);
  --hero-overlay:
    linear-gradient(90deg, rgba(243, 246, 251, 0.62) 0%, rgba(243, 246, 251, 0.22) 48%, rgba(20, 32, 51, 0.18) 100%),
    linear-gradient(180deg, rgba(243, 246, 251, 0.08), rgba(243, 246, 251, 0.28));
  --radius: 22px;
  --header-h: 76px;
  --container: 1160px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07101c;
  --bg-elev: #0b1730;
  --bg-card: #102038;
  --bg-soft: #132744;
  --header-bg: rgba(7, 16, 28, 0.78);
  --switch-bg: rgba(16, 32, 56, 0.7);
  --wizard-bg: rgba(16, 32, 56, 0.9);
  --wizard-rail: linear-gradient(180deg, #102744, #0c1a2e);
  --input-bg: #0a1628;
  --line: rgba(147, 197, 253, 0.16);
  --text: #e8f0fe;
  --muted: #8faecf;
  --accent: #4a9eff;
  --accent-2: #93c5fd;
  --accent-ink: #07101c;
  --accent-soft: rgba(74, 158, 255, 0.12);
  --ok: #3dd68c;
  --warn: #ffc857;
  --danger: #ff8a8a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --hero-overlay:
    linear-gradient(90deg, rgba(7, 16, 28, 0.92) 0%, rgba(7, 16, 28, 0.72) 48%, rgba(7, 16, 28, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 16, 28, 0.18), rgba(7, 16, 28, 0.78));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header .container {
  width: min(100% - 32px, 1280px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  height: 42px;
  width: auto;
  max-width: min(240px, 58vw);
}

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

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

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

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

.lang-switch {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--switch-bg);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 40px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
}

.lang-switch button.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--switch-bg);
  color: var(--text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="light"] .icon-sun,
html[data-theme="dark"] .icon-moon {
  display: none;
}

.brand-mark-dark {
  display: none;
}

html[data-theme="dark"] .brand-mark-light {
  display: none;
}

html[data-theme="dark"] .brand-mark-dark {
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - var(--header-h)));
  display: grid;
  align-items: center;
  overflow: visible;
  padding: 56px 0 72px;
}

.hero-media {
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 32px 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 32, 51, 0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

html[data-theme="dark"] .hero-copy {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy h1 {
  text-wrap: balance;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

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

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card .card-media {
  height: 180px;
  position: relative;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .card-body {
  padding: 24px;
}

.service-card p {
  color: var(--muted);
  margin-top: 0;
}

.more-link {
  color: var(--accent-2);
  font-weight: 700;
}

.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.detail.is-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.detail.is-reverse .detail-media {
  order: 2;
}

.detail-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.quote {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 16px 16px 0;
  color: var(--accent-2);
  font-weight: 600;
}

.note-box {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: 16px;
  color: var(--muted);
}

.store-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 20px;
}

.mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-card {
  padding: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.contact {
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 34%),
    var(--bg-elev);
}

.wizard {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--wizard-bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 560px;
}

.wizard-rail {
  padding: 28px 22px;
  background: var(--wizard-rail);
  border-right: 1px solid var(--line);
}

.assistant-chip {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.assistant-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  font-weight: 800;
}

.assistant-chip strong {
  display: block;
}

.assistant-chip span,
.wizard-rail > p {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.step-btn {
  text-align: left;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}

.step-btn small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.step-btn.is-done {
  color: var(--ok);
}

.wizard-main {
  padding: 32px;
}

.panel[hidden] {
  display: none;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}

.option {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
}

.option.is-selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: var(--accent-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field span,
.field label {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

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

input.is-invalid,
textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}

.service-options.is-invalid {
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--danger);
  padding: 8px;
}

.service-options.is-invalid .option {
  border-color: rgba(255, 138, 138, 0.55);
}

.field-hint {
  color: var(--danger);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
}

input:focus,
textarea:focus,
.option:focus-visible,
.step-btn:focus-visible,
.btn:focus-visible,
.lang-switch button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.wizard-actions,
.wizard-next {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wizard-actions {
  margin-top: 24px;
}

.recaptcha-notice {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.recaptcha-notice a {
  color: inherit;
  text-decoration: underline;
}

.grecaptcha-badge {
  visibility: hidden;
}

.form-error {
  color: var(--danger);
  min-height: 0;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-error.is-visible {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 138, 138, 0.12);
}

.success {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(61, 214, 140, 0.14);
  color: var(--ok);
  font-size: 2rem;
  margin: 0 auto 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  color: var(--muted);
  margin: 0 0 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(220px, 280px) minmax(280px, 1fr);
  gap: 32px 48px;
  align-items: start;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  align-content: start;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.footer-brand {
  display: flex;
  align-items: flex-start;
}

.footer-brand img {
  height: 52px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 440px;
}

.footer-copy strong,
.footer-copy p {
  margin: 0;
}

.footer-copy strong + p,
.footer-copy p + p {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .store-grid,
  .detail,
  .detail.is-reverse,
  .wizard {
    grid-template-columns: 1fr;
  }

  .detail.is-reverse .detail-media {
    order: 0;
  }
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 45;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    margin-left: 0;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

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

@media (max-width: 720px) {
  .cards,
  .service-options,
  .form-grid,
  .feature-grid,
  .footer-inner,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .wizard-main,
  .wizard-rail {
    padding: 22px 18px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 64px;
  }

  .hero-copy {
    padding: 22px 20px;
  }

  .section {
    padding: 64px 0;
  }

  .brand img {
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
