:root {
  --bg: #0b1220;
  --bg-soft: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --border: #1f2937;
  --card: #101827;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #152238 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; }
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}
.brand-logo-img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.brand-logo:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 14px;
}
.nav, .lang-switcher { display: flex; flex-wrap: wrap; gap: 12px; }
.nav a, .lang-switcher a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover, .lang-switcher a:hover { color: var(--text); }
main { padding: 52px 0 96px; }
.hero { padding: 30px 0 24px; }
.hero--main { padding-bottom: 8px; }
.section-block { margin-top: 56px; }
.section-block--tight { margin-top: 44px; }
.section-title {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.section-title--sm { font-size: 1.15rem; margin-bottom: 10px; }
.grid--home-cards { gap: 18px; }
.grid--demo { gap: 18px; }
.from-price {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.card--pitch {
  border-color: rgba(34, 197, 94, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}
.page-head--spaced { margin-bottom: 28px; }
.page-head--spaced p { max-width: 720px; }

.service-sections { display: flex; flex-direction: column; gap: 28px; }
.service-block {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(15, 26, 45, 0.95) 0%, var(--card) 100%);
}
.service-block__title { margin: 0 0 10px; font-size: 1.25rem; }
.service-block__lead { margin: 0 0 16px; color: var(--muted); max-width: 800px; }
.service-block__sub {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.service-block__list { margin: 0; padding-left: 1.15rem; color: var(--text); }
.service-block__list li { margin-bottom: 6px; }

.prices-table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
}
.prices-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.92rem;
}
.prices-table th,
.prices-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}
.prices-table thead th {
  background: rgba(17, 24, 39, 0.9);
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.prices-table tbody tr:last-child td { border-bottom: none; }
.price-cell { font-weight: 800; color: var(--primary); white-space: nowrap; }
.prices-includes { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.prices-includes li { margin-bottom: 4px; }

.price-custom { margin-bottom: 36px; padding: 22px; }
.muted-block { color: var(--muted); margin: 0 0 14px; max-width: 760px; }
.actions--tight { margin-top: 12px; }

.transparency-block {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.06);
}
.transparency-block__text { margin: 0; color: var(--text); max-width: 900px; line-height: 1.65; }

.demo-banner {
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  color: var(--muted);
  font-size: 0.88rem;
  background: rgba(15, 23, 42, 0.5);
}
.demo-pill {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}
.demo-card__title { font-size: 1.08rem; margin: 0 0 12px; }

.ai-site-demo__head { max-width: 760px; }
.ai-site-demo__shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}
.ai-site-demo__form,
.ai-site-demo__preview-wrap {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 26, 45, 0.96) 0%, rgba(16, 24, 39, 0.96) 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}
.ai-site-demo__form {
  display: grid;
  gap: 14px;
  padding: 20px;
  align-content: start;
}
.ai-site-demo__form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  padding: 11px 12px;
  background: #0b1220;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}
.ai-site-demo__generate {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 2px;
  text-align: center;
}
.ai-site-demo__preview-wrap {
  position: relative;
  overflow: hidden;
  padding: 18px;
}
.ai-site-demo__loading {
  position: absolute;
  inset: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.86);
  color: var(--text);
  font-weight: 800;
  backdrop-filter: blur(7px);
}
.ai-site-demo__loading[hidden] { display: none !important; }
.ai-site-demo__spinner {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 3px solid rgba(34, 197, 94, 0.22);
  border-top-color: var(--primary);
  animation: ai-site-spin 0.8s linear infinite;
}
@keyframes ai-site-spin {
  to { transform: rotate(360deg); }
}
.ai-site-demo__preview {
  --preview-accent: var(--primary);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--preview-accent) 24%, transparent), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.72) 0%, rgba(15, 23, 42, 0.96) 100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ai-site-demo__preview--premium {
  border-color: color-mix(in srgb, var(--preview-accent) 36%, rgba(148, 163, 184, 0.18));
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--preview-accent) 30%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(30, 25, 18, 0.95), rgba(10, 14, 24, 0.98));
}
.ai-site-demo__preview--minimal {
  background:
    linear-gradient(180deg, rgba(8, 18, 28, 0.96), rgba(2, 6, 23, 0.98));
}
.ai-site-demo__preview--warm {
  background:
    radial-gradient(circle at 78% 4%, color-mix(in srgb, var(--preview-accent) 28%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(35, 20, 14, 0.95), rgba(11, 18, 32, 0.98));
}
.ai-site-demo__preview--muted {
  opacity: 0.48;
  transform: scale(0.985);
}
.ai-site-demo__browser-bar {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  gap: 7px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.84);
}
.ai-site-demo__browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.46);
}
.ai-site-demo__browser-bar span:first-child { background: rgba(248, 113, 113, 0.8); }
.ai-site-demo__browser-bar span:nth-child(2) { background: rgba(250, 204, 21, 0.8); }
.ai-site-demo__browser-bar span:nth-child(3) { background: rgba(34, 197, 94, 0.8); }
.ai-site-demo__browser-bar div {
  height: 9px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}
.ai-site-demo__preview-body { padding: 24px; }
.ai-site-demo__eyebrow {
  margin: 0 0 10px;
  color: var(--preview-accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ai-site-demo__preview h3 {
  min-height: 2.5em;
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.ai-site-demo__preview h3::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  background: var(--preview-accent);
  vertical-align: -0.08em;
  animation: ai-site-caret 0.8s steps(2, start) infinite;
}
@keyframes ai-site-caret {
  50% { opacity: 0; }
}
.ai-site-demo__headline {
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
}
.ai-site-demo__copy {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}
.ai-site-demo__preview-actions,
.ai-site-demo__mini-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ai-site-demo__preview-actions button {
  border: none;
  border-radius: 12px;
  padding: 10px 13px;
  background: var(--preview-accent);
  color: #052e16;
  font-family: inherit;
  font-weight: 800;
}
.ai-site-demo__preview-actions button + button {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.84);
  color: var(--text);
}
.ai-site-demo__mini-cards div {
  flex: 1 1 140px;
  min-height: 72px;
  display: flex;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  color: var(--text);
  font-weight: 800;
  background: rgba(148, 163, 184, 0.08);
}
.ai-site-demo__generated-content {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.ai-site-demo__stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ai-site-demo__stat-row div,
.ai-site-demo__feature-grid div {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.26);
}
.ai-site-demo__stat-row div {
  padding: 10px;
}
.ai-site-demo__stat-row strong,
.ai-site-demo__stat-row span {
  display: block;
}
.ai-site-demo__stat-row strong {
  color: var(--preview-accent);
  font-size: 1.05rem;
  line-height: 1.15;
}
.ai-site-demo__stat-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}
.ai-site-demo__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ai-site-demo__feature-grid div {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}
.ai-site-demo__preview--premium .ai-site-demo__mini-cards div,
.ai-site-demo__preview--premium .ai-site-demo__stat-row div,
.ai-site-demo__preview--premium .ai-site-demo__feature-grid div {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.18);
}
.ai-site-demo__preview--minimal .ai-site-demo__mini-cards div,
.ai-site-demo__preview--minimal .ai-site-demo__stat-row div,
.ai-site-demo__preview--minimal .ai-site-demo__feature-grid div {
  background: rgba(56, 189, 248, 0.06);
}
.ai-site-demo__preview--warm .ai-site-demo__mini-cards div,
.ai-site-demo__preview--warm .ai-site-demo__stat-row div,
.ai-site-demo__preview--warm .ai-site-demo__feature-grid div {
  background: rgba(251, 146, 60, 0.08);
  border-color: rgba(251, 146, 60, 0.18);
}
.ai-site-demo__cta {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 18px;
  background: rgba(34, 197, 94, 0.07);
}
.ai-site-demo__cta p {
  margin: 0;
  color: var(--muted);
}
.ai-site-demo__cta strong { color: var(--text); }

.section-head-inline { max-width: 760px; }
.before-after-grid,
.pricing-grid,
.process-grid {
  display: grid;
  gap: 18px;
}
.before-after-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.process-grid,
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compare-card,
.process-card,
.pricing-card,
.price-calculator__shell {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}
.compare-card {
  padding: 20px;
  min-height: 100%;
}
.compare-card--before {
  color: #cbd5e1;
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.28), rgba(15, 23, 42, 0.72));
  filter: saturate(0.72);
}
.compare-card--after {
  background:
    radial-gradient(circle at 80% 0%, rgba(34, 197, 94, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(15, 26, 45, 0.98), rgba(11, 18, 32, 0.96));
  border-color: rgba(34, 197, 94, 0.24);
}
.compare-label {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 900;
}
.old-site-mockup,
.new-site-mockup {
  min-height: 190px;
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 18px;
}
.old-site-mockup {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #1f2937;
}
.old-site-line {
  width: 58%;
  height: 12px;
  border-radius: 4px;
  margin-bottom: 10px;
  background: rgba(148, 163, 184, 0.32);
}
.old-site-line--wide { width: 82%; height: 22px; }
.old-site-mockup button {
  margin: 12px 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 4px;
  padding: 6px 12px;
  background: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}
.old-site-boxes,
.new-site-chips { display: flex; gap: 8px; }
.old-site-boxes span {
  flex: 1;
  height: 42px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.16);
}
.new-site-mockup {
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background:
    radial-gradient(circle at 85% 20%, rgba(34, 197, 94, 0.28), transparent 34%),
    #0b1220;
}
.new-site-mockup strong,
.new-site-mockup span { display: block; }
.new-site-mockup strong { font-size: 1.45rem; line-height: 1.2; }
.new-site-mockup span { color: var(--muted); margin-top: 6px; }
.new-site-mockup button {
  justify-self: start;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  background: var(--primary);
  color: #052e16;
  font-weight: 800;
}
.new-site-chips span {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}
.compare-list,
.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: var(--muted);
}
.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.07);
}
.section-cta p { margin: 0; color: var(--text); font-weight: 900; }
.process-card,
.pricing-card {
  position: relative;
  padding: 20px;
  background: linear-gradient(180deg, rgba(15, 26, 45, 0.96), rgba(16, 24, 39, 0.96));
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.process-card:hover,
.pricing-card:hover,
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: 0 22px 58px rgba(34, 197, 94, 0.09), 0 18px 48px rgba(0, 0, 0, 0.26);
}
.process-number {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #052e16;
  background: var(--primary);
  font-weight: 900;
}
.process-card h3,
.pricing-card h3 { margin: 10px 0 8px; }
.process-card p:last-child,
.pricing-card li { color: var(--muted); }
.pricing-card__price {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 900;
}
.pricing-card .btn { margin-top: 18px; text-align: center; }
.price-calculator__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(15, 26, 45, 0.96), rgba(11, 18, 32, 0.96));
}
.price-calculator__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.price-calculator__options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.07);
  cursor: pointer;
}
.price-calculator__options input { accent-color: var(--primary); }
.price-calculator__result {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.08);
}
.price-calculator__result p { margin: 0; color: var(--muted); }
.price-calculator__result strong {
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}
.price-calculator__result .btn { text-align: center; }
.reveal-on-scroll,
.card,
.pricing-card,
.process-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.reveal-on-scroll.is-visible,
.card.is-visible,
.pricing-card.is-visible,
.process-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.form-field--full { grid-column: 1 / -1; }
.form-label { font-weight: 600; color: var(--text); }
.form-optional { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  background: #0b1220;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-actions { margin-top: 18px; }
.contact-alt-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.alert {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}
.alert--success {
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  color: var(--text);
}
.alert--error {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .ai-site-demo__shell { grid-template-columns: 1fr; }
  .ai-site-demo__form,
  .ai-site-demo__preview-wrap { border-radius: 18px; }
  .ai-site-demo__preview-body { padding: 18px; }
  .ai-site-demo__preview-actions,
  .ai-site-demo__cta .actions { flex-direction: column; }
  .ai-site-demo__preview-actions button,
  .ai-site-demo__cta .btn { width: 100%; text-align: center; }
  .ai-site-demo__stat-row,
  .ai-site-demo__feature-grid { grid-template-columns: 1fr; }
  .before-after-grid,
  .process-grid,
  .pricing-grid,
  .price-calculator__shell { grid-template-columns: 1fr; }
  .section-cta {
    display: grid;
    align-items: start;
  }
  .section-cta .actions,
  .price-calculator__options { grid-template-columns: 1fr; }
  .section-cta .btn,
  .pricing-card .btn,
  .price-calculator__result .btn { width: 100%; text-align: center; }
  .prices-table { min-width: 0; }
  .prices-table thead { display: none; }
  .prices-table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
  }
  .prices-table tbody tr:last-child { border-bottom: none; }
  .prices-table td {
    display: block;
    padding: 4px 0;
    border: none;
  }
  .prices-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 4px;
  }
}

.label { color: var(--primary); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .02em; font-size: .92rem; }
h1, h2, h3 { line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 12px; }
.lead { max-width: 760px; color: var(--muted); }
.actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--primary); color: #06270f; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.page-head { margin-bottom: 24px; }
.page-head p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.stack { display: grid; gap: 14px; }

.showcase-section { margin-bottom: 48px; }
.showcase-section-title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  margin-bottom: 10px;
}
.showcase-section-intro { color: var(--muted); margin: 0 0 22px; max-width: 720px; }
.showcase-stack { display: flex; flex-direction: column; gap: 28px; }
.showcase-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0f1a2d 0%, var(--card) 100%);
}
@media (min-width: 900px) {
  .showcase-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
  }
}
.showcase-media {
  position: relative;
  min-height: 200px;
  background: #0b1220;
}
.showcase-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.showcase-body { padding: 20px 22px 22px; }
.showcase-title { margin: 0 0 8px; font-size: 1.15rem; }
.showcase-tagline { color: var(--muted); margin: 0 0 18px; font-size: 0.95rem; }
.testimonial {
  border-left: 3px solid rgba(34, 197, 94, 0.55);
  padding-left: 14px;
  margin: 0;
}
.testimonial-label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.testimonial-quote {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}
.testimonial-meta { margin: 0; font-size: 0.88rem; color: var(--muted); }

.cases-section { margin-top: 8px; }
.cases-section-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 16px;
}

.card, .case {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0f1a2d 0%, var(--card) 100%);
  border-radius: 14px; padding: 18px;
}
.case-with-visual {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .case-with-visual {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }
}
.case-visual {
  background: #0b1220;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.case-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  min-height: 180px;
}
.case-visual-caption {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  border-top: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.6);
}
.case-visual-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.case-body {
  padding: 18px;
}
.case-body h3 {
  margin-top: 0;
}
.card p, .case p { color: var(--muted); margin: 0 0 8px; }
.card h3, .case h3 { margin-bottom: 10px; }
.link { color: #7dd3fc; }
.site-footer { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.footer-wrap p { margin: 0; color: var(--muted); }
.footer-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-meta-logo {
  flex-shrink: 0;
  display: block;
  width: 28px;
  height: auto;
  opacity: 0.92;
}
.footer-meta-logo:hover { opacity: 1; }
.footer-links { display: flex; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.telegram-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: #229ed9; color: #fff; text-decoration: none; font-weight: 700;
  padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

.ai-chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(2, 6, 23, 0.42);
  cursor: default;
}
.ai-chat-backdrop[hidden] {
  display: none !important;
}

.ai-chat-widget {
  position: fixed;
  left: 12px;
  bottom: 72px;
  z-index: 50;
  font-family: inherit;
  touch-action: manipulation;
  isolation: isolate;
}
.ai-chat-launcher {
  position: relative;
  z-index: 2;
  border: none; cursor: pointer; font-weight: 800; letter-spacing: 0.04em;
  padding: 7px 10px; border-radius: 999px; font-size: 0.78rem;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.28);
}
.ai-chat-launcher:hover { filter: brightness(1.05); }
.ai-chat-panel {
  position: absolute; left: 0; bottom: 42px;
  z-index: 3;
  width: min(240px, calc(100vw - 24px));
  background: #0f172a; border: 1px solid var(--border); border-radius: 11px;
  box-shadow: 0 12px 28px rgba(0,0,0,.4); overflow: hidden;
  display: flex; flex-direction: column;
  max-height: min(300px, 40vh);
}
.ai-chat-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; padding: 8px 9px; border-bottom: 1px solid var(--border);
  background: rgba(17,24,39,.95);
  cursor: default;
  user-select: none;
}
.ai-chat-head-text { min-width: 0; flex: 1; }
.ai-chat-title { font-weight: 700; font-size: 0.82rem; padding-right: 4px; }
.ai-chat-sub { font-size: 0.68rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.ai-chat-close {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  border: none; background: rgba(15,23,42,.9); color: var(--text);
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  min-width: 36px; min-height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: -4px -4px -4px 0;
  padding: 0;
}
.ai-chat-close:hover { background: rgba(55,65,81,.95); color: #fff; }
.ai-chat-faq-static {
  flex-shrink: 0;
  max-height: min(100px, 22vh);
  overflow-y: auto;
  padding: 6px 8px 8px;
  border-bottom: 1px solid var(--border);
  background: rgba(15,23,42,.95);
}
.ai-chat-welcome-hint {
  margin: 0 0 6px;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
}
.ai-chat-log {
  flex: 1;
  min-height: 48px;
  max-height: min(96px, 22vh);
  overflow-y: auto;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ai-chat-row { display: flex; width: 100%; }
.ai-chat-row--user { justify-content: flex-end; }
.ai-chat-row--assistant { justify-content: flex-start; }
.ai-chat-bubble {
  max-width: 92%; padding: 6px 8px; border-radius: 9px; font-size: 0.76rem;
  white-space: pre-wrap; word-break: break-word;
}
.ai-chat-row--user .ai-chat-bubble {
  background: rgba(34,197,94,.18); border: 1px solid rgba(34,197,94,.35); color: var(--text);
}
.ai-chat-row--assistant .ai-chat-bubble {
  background: rgba(148,163,184,.12); border: 1px solid var(--border); color: var(--text);
}
.ai-chat-bubble--muted { color: var(--muted) !important; font-style: italic; }
.ai-chat-handoff {
  padding: 6px 10px 0; border-top: 1px solid var(--border);
  background: rgba(17,24,39,.35);
}
.ai-chat-handoff-btn {
  width: 100%; border: 1px solid rgba(34,197,94,.45); cursor: pointer; border-radius: 9px;
  padding: 8px 10px; font-weight: 700; font-size: 0.82rem;
  background: rgba(34,197,94,.14); color: var(--primary);
}
.ai-chat-handoff-btn:hover { filter: brightness(1.08); }
.ai-chat-handoff-note {
  margin: 5px 0 0; font-size: 0.72rem; color: var(--muted); line-height: 1.35;
}
.ai-chat-faq-heading {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px;
}
.ai-chat-faq-list {
  display: flex; flex-direction: column; gap: 5px;
}
.ai-chat-faq-item {
  width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 8px; font-size: 0.74rem; line-height: 1.3;
  background: rgba(148,163,184,.08); color: var(--text);
  font-family: inherit;
}
.ai-chat-faq-item:hover {
  border-color: rgba(168,85,247,.45);
  background: rgba(168,85,247,.1);
}

.ai-chat-form {
  display: grid; gap: 6px; padding: 8px 10px 10px; border-top: 1px solid var(--border);
  background: rgba(17,24,39,.65);
}
.ai-chat-form textarea {
  width: 100%; resize: vertical; min-height: 38px; max-height: 100px;
  border-radius: 9px; border: 1px solid var(--border); padding: 8px;
  background: #0b1220; color: var(--text); font-family: inherit; font-size: 0.82rem;
}
.ai-chat-form button {
  justify-self: end; border: none; cursor: pointer; border-radius: 9px;
  padding: 7px 12px; font-weight: 700; font-size: 0.82rem;
  background: var(--primary); color: #06270f;
}
.ai-chat-form button:hover { background: var(--primary-dark); }

@media (max-width: 760px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .ai-chat-widget { left: 10px; bottom: 64px; }
  .ai-chat-panel {
    max-height: min(280px, 38vh);
    width: min(228px, calc(100vw - 20px));
    bottom: 40px;
  }
  .telegram-float { right: 10px; bottom: 10px; font-size: 0.82rem; padding: 9px 12px; z-index: 60; }
}

.ai-chat-widget {
  position: fixed;
  left: auto;
  right: 24px;
  bottom: 96px;
  z-index: 55;
  width: 360px;
  max-width: calc(100vw - 48px);
  font-family: inherit;
  isolation: isolate;
}
.ai-chat-launcher {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(34, 197, 94, 0.42);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  font-size: 1rem;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.98), rgba(34, 197, 94, 0.95));
  color: #052e16;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}
.ai-chat-widget--pulse .ai-chat-launcher {
  animation: ai-chat-pulse 1.8s ease-in-out infinite;
}
@keyframes ai-chat-pulse {
  0%, 100% { box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38), 0 0 0 0 rgba(34, 197, 94, 0.28); }
  50% { box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38), 0 0 0 12px rgba(34, 197, 94, 0); }
}
.ai-chat-widget--open .ai-chat-launcher { display: none; }
.ai-chat-panel {
  position: static;
  width: 100%;
  max-height: min(680px, calc(100vh - 120px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.98) 0%, rgba(11, 18, 32, 0.98) 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}
.ai-chat-panel[hidden] { display: none !important; }
.ai-chat-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.82);
}
.ai-chat-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.36);
  color: #bbf7d0;
  font-size: 0.76rem;
  font-weight: 900;
  background: radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.38), rgba(15, 23, 42, 0.92));
}
.ai-chat-head-text {
  min-width: 0;
  flex: 1;
}
.ai-chat-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin: 0 0 5px;
  padding: 3px 8px;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(34, 197, 94, 0.08);
  font-size: 0.66rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ai-chat-title {
  margin: 0;
  padding: 0;
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
}
.ai-chat-sub {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.ai-chat-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  margin: -4px -4px 0 0;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.32);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.ai-chat-close:hover {
  background: rgba(31, 41, 55, 0.9);
  color: var(--text);
}
.ai-chat-body {
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
}
.ai-chat-log {
  min-height: 112px;
  max-height: 170px;
  overflow-y: auto;
  padding: 0 2px 2px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}
.ai-chat-row--user {
  justify-content: flex-end;
}
.ai-chat-row--assistant {
  justify-content: flex-start;
}
.ai-chat-mini-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
  font-size: 0.62rem;
  font-weight: 900;
  background: rgba(34, 197, 94, 0.12);
}
.ai-chat-bubble {
  max-width: 84%;
  padding: 9px 11px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ai-chat-bubble--typing {
  color: var(--muted);
  font-style: italic;
}
.ai-chat-live-label {
  align-self: flex-start;
  margin: 0 0 2px 34px;
  padding: 4px 8px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(34, 197, 94, 0.07);
  font-size: 0.66rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ai-chat-row--user .ai-chat-bubble {
  border-bottom-right-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.38);
  background: rgba(34, 197, 94, 0.17);
  color: var(--text);
}
.ai-chat-row--assistant .ai-chat-bubble {
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.1);
  color: var(--text);
}
.ai-chat-inline-cta {
  max-width: 84%;
  padding: 10px;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  background: rgba(34, 197, 94, 0.08);
}
.ai-chat-inline-cta p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.4;
}
.ai-chat-inline-cta button {
  width: 100%;
  min-height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #052e16;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}
.ai-chat-inline-cta button:hover {
  background: var(--primary-dark);
}
.ai-chat-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 12px;
}
.ai-chat-quick-btn {
  width: 100%;
  min-height: 38px;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.83rem;
  line-height: 1.35;
  background: rgba(15, 23, 42, 0.86);
  color: var(--text);
  font-family: inherit;
}
.ai-chat-quick-btn:hover,
.ai-chat-quick-btn:focus-visible {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
  outline: none;
}
.ai-chat-request {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.28);
}
.ai-chat-request[hidden] { display: none !important; }
.ai-chat-request-form {
  display: grid;
  gap: 10px;
}
.ai-chat-request-form label {
  display: grid;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
}
.ai-chat-request-form input,
.ai-chat-request-form textarea,
.ai-chat-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 10px 11px;
  background: #0b1220;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
}
.ai-chat-request-form textarea,
.ai-chat-form textarea {
  resize: vertical;
}
.ai-chat-request-form button,
.ai-chat-form button,
.ai-chat-appointment {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 13px;
  font-weight: 800;
  font-size: 0.86rem;
  background: var(--primary);
  color: #052e16;
  font-family: inherit;
}
.ai-chat-request-form button:hover,
.ai-chat-form button:hover,
.ai-chat-appointment:hover {
  background: var(--primary-dark);
}
.ai-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.9);
}
.ai-chat-form textarea {
  min-height: 42px;
  max-height: 110px;
}
.ai-chat-actions {
  padding: 0 12px 12px;
  background: rgba(15, 23, 42, 0.9);
}
.ai-chat-appointment {
  width: 100%;
  min-height: 42px;
}

@media (min-width: 821px) {
  .ai-chat-widget {
    right: 24px;
    bottom: 96px;
  }
}

@media (max-width: 820px) {
  .ai-chat-widget {
    left: 12px;
    right: 12px;
    bottom: 80px;
    width: auto;
    max-width: none;
  }
  .ai-chat-panel {
    max-height: 75vh;
    border-radius: 18px;
  }
  .ai-chat-log {
    min-height: 120px;
    max-height: 210px;
  }
  .ai-chat-launcher {
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 420px) {
  .ai-chat-widget {
    left: 12px;
    right: 12px;
  }
  .ai-chat-head {
    padding: 14px 13px 12px;
  }
  .ai-chat-body {
    padding: 12px;
  }
  .ai-chat-form {
    grid-template-columns: 1fr;
  }
  .ai-chat-form button {
    width: 100%;
  }
}
