:root {
  /* === PALETTE A:  claim minimalism === */
  --color-bg: #ffffff;
  --color-text: #0a0a0a;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --color-accent: #111827;
  --color-accent-hover: #0f172a;
  --color-surface: #f8fafc;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .05);
  --container: 1200px;
}

/* === THEME VARIANTS === */
:root[data-theme="B"] {
  --color-bg: #FFFCF7;
  --color-text: #0a0a0a;
  --color-muted: #666666;
  --color-line: #EAE7E1;
  --color-accent: #1F2937;
  --color-accent-hover: #111827;
  --color-surface: #FFF8EA;
}

:root[data-theme="C"] {
  --color-bg: #ffffff;
  --color-text: #0B1220;
  --color-muted: #5B6472;
  --color-line: #E3E8F0;
  --color-accent: #1D4ED8;
  --color-accent-hover: #1E40AF;
  --color-surface: #F3F6FB;
}

/* Floating theme switcher */
.theme-switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  align-items: center
}

.theme-switcher span {
  font-size: 12px;
  color: var(--color-muted);
  margin-right: 6px
}

.theme-switcher button {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer
}

.theme-switcher button.active {
  border-color: var(--color-accent);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font: 16px/1.6 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg)
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 12px
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px
}

.hidden {
  display: none
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid var(--color-accent);
  backdrop-filter: blur(6px)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.brand {
  font-weight: 600;
  font-size: 40px;
  /* letter-spacing: 1px; */
  opacity: 0.9;
  color: var(--color-accent-hover);
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center
}

.menu a {
  font-size: 14px;
  opacity: .9
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: #cfcfcf;
  line-height: 30px;
  height: 45px;
}

.btn:hover {
  background: var(--color-accent-hover);
  color: #fff
}

.hamburger {
  display: none;
  border: 1px solid var(--color-accent);
  background: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600
}

section {
  border-top: 1px solid transparent
}

.hero {
  padding: 64px 0 56px
}

.grid {
  display: grid;
  gap: 28px
}

@media (min-width: 900px) {
  .hero .grid {
    grid-template-columns:1.1fr .9fr;
    align-items: center
  }
}

h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0
}

@media (min-width: 900px) {
  h1 {
    font-size: 52px
  }
}

.lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--color-muted)
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px
}

.badges {
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px
}

.badge {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  background: #fff
}

.visual {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.visual .ph {
  border: 2px dashed #d7d7d7;
  border-radius: 14px;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  color: #9a9a9a
}

.section {
  padding: 72px 0
}

h2 {
  font-size: 32px;
  margin: 0
}

@media (min-width: 900px) {
  h2 {
    font-size: 40px
  }
}

.text {
  color: var(--color-muted);
  margin-top: 14px;
  max-width: 820px
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 28px
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns:repeat(3, 1fr)
  }
}

.card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow)
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px
}

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

.services .card {
  padding: 22px
}

.services .card h3 {
  font-size: 20px
}

.case {
  display: grid;
  gap: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff
}

@media (min-width: 800px) {
  .case {
    grid-template-columns:350px 1fr;
    align-items: center
  }
}

.case img {
  border-radius: 12px;
  border: 1px solid var(--color-line);
  background: #fafafa
}

.case ul {
  margin: 10px 0 0 18px;
  color: var(--color-muted)
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 18px
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns:repeat(4, 1fr)
  }
}

.step {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff
}

.step .num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px
}

.cta {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px
}

@media (min-width: 900px) {
  .cta {
    grid-template-columns:1.2fr .8fr;
    align-items: center
  }
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  font: inherit
}

textarea {
  min-height: 110px
}

footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-line);
  color: #555
}

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 8px;
  fill: currentColor
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

.border-box {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

a.classic {
  text-decoration: underline;
  color: var(--color-accent);
}

.webform-confirmation {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  text-align: center;
  margin-top: 40px;
}

.webform-confirmation a {
  text-decoration: underline;
  color: var(--color-accent);
}
