/* Перенос темы из React-проекта: обычный CSS без Tailwind (для виртуального хостинга) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@700;800;900&display=swap");

:root {
  --background: 45 20% 98%;
  --foreground: 30 10% 15%;
  --card: 0 0% 100%;
  --card-foreground: 30 10% 15%;
  --primary: 35 95% 50%;
  --primary-foreground: 0 0% 100%;
  --muted: 40 20% 94%;
  --muted-foreground: 30 10% 40%;
  --border: 40 20% 88%;
  --radius: 0.75rem;
  --sand-light: 45 60% 92%;
  --gravel-dark: 30 20% 25%;
  --gradient-hero: linear-gradient(135deg, hsl(35 95% 50%) 0%, hsl(25 100% 55%) 100%);
  --shadow-card: 0 4px 20px -4px hsl(35 50% 50% / 0.15);
  --shadow-button: 0 4px 14px -2px hsl(35 95% 50% / 0.4);
  --shadow-hover: 0 8px 30px -4px hsl(35 95% 50% / 0.5);
  --container-max: 1400px;
  --bp-md: 768px;
  --bp-lg: 1024px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
}

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

a {
  color: inherit;
}

/* Утилиты */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-primary {
  color: hsl(var(--primary));
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-sand-pattern {
  background-color: hsl(var(--sand-light));
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a855' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.shadow-warm {
  box-shadow: var(--shadow-card);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.btn--sm {
  min-height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  border-radius: calc(var(--radius) - 2px);
}

.btn--xl {
  min-height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}

.btn--lg {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 1rem;
}

.btn--hero {
  background: var(--gradient-hero);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-button);
  font-weight: 700;
}

.btn--hero:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.02);
}

.btn--primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-button);
}

.btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  border: 2px solid hsl(var(--primary));
  background: transparent;
  color: hsl(var(--primary));
}

.btn--outline:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn--outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: hsl(var(--primary-foreground));
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Шапка */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--gravel-dark) / 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.site-header__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground));
}

@media (min-width: 768px) {
  .site-header__title {
    font-size: 1rem;
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__link {
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.site-header__link:hover {
  color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .site-header__link--phone {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .site-header__link--mail {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    hsl(var(--gravel-dark) / 0.95) 0%,
    hsl(var(--gravel-dark) / 0.8) 50%,
    hsl(var(--gravel-dark) / 0.6) 100%
  );
}

.hero__content {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 800;
  color: hsl(var(--primary-foreground));
  margin: 0 0 1.5rem;
  line-height: 1.15;
  max-width: 48rem;
  animation: fadeIn 0.6s ease-out forwards;
}

.hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: slideUp 0.6s ease-out forwards;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
}

.hero__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 36rem;
  margin: 0;
  animation: slideUp 0.6s ease-out 0.2s both;
}

/* Секции */
.section {
  padding: 5rem 0;
}

.section--dark {
  background: hsl(var(--gravel-dark));
  color: hsl(var(--primary-foreground));
}

.section--gradient-sand {
  background: linear-gradient(
    180deg,
    hsl(43 70% 88% / 0.4) 0%,
    hsl(43 70% 88% / 0.6) 100%
  );
}

.section--cases {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(43 70% 75% / 0.2) 100%);
}

.section--cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0.02;
  pointer-events: none;
}

.section--logos {
  padding: 4rem 0;
  background: hsl(var(--muted) / 0.3);
}

.section__title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
}

.section__subtitle {
  text-align: center;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Сетки карточек */
.grid-cards {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

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

.grid-cards--3 {
  max-width: 56rem;
}

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

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

.grid-cards--channels {
  max-width: 64rem;
}

@media (min-width: 768px) {
  .grid-cards--channels {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto 2rem;
}

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

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

/* Карточка */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.card--icon-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card__icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.card__icon-wrap--lg {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
}

.card__icon-wrap--sm {
  width: 2.5rem;
  height: 2.5rem;
}

.equipment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}

.equipment-card span {
  font-weight: 500;
  font-size: 0.875rem;
}

/* Тёмные плашки */
.pill-dark {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
}

.pill-dark p,
.pill-dark span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.pill-dark--row {
  align-items: center;
  padding: 1.25rem;
}

/* Кейсы — details/summary */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

.case-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
}

.case-item[open] {
  box-shadow: var(--shadow-card);
}

.case-item summary {
  list-style: none;
  cursor: pointer;
}

.case-item summary::-webkit-details-marker {
  display: none;
}

.case-summary {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.case-summary__img {
  position: relative;
  width: 10rem;
  min-height: 140px;
  flex-shrink: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .case-summary__img {
    width: 14rem;
    min-height: 160px;
  }
}

.case-summary__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-summary__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, hsl(var(--gravel-dark) / 0.3));
}

.case-summary__icon {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 2rem;
  height: 2rem;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.case-summary__body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .case-summary__body {
    padding: 1rem 2rem;
  }
}

.case-summary__text h3 {
  margin: 0 0 0.375rem;
  font-size: 1rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .case-summary__text h3 {
    font-size: 1.125rem;
  }
}

.case-badge {
  display: inline-block;
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.case-region {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.25rem;
}

@media (min-width: 768px) {
  .case-region {
    font-size: 0.875rem;
  }
}

.case-short {
  display: none;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground) / 0.7);
  margin: 0;
}

@media (min-width: 768px) {
  .case-short {
    display: block;
  }
}

.case-more {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .case-more {
    display: inline-flex;
  }
}

.case-body {
  padding: 0 1.25rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .case-body {
    padding: 0 2rem 1.5rem;
  }
}

.case-body__inner {
  padding-top: 1rem;
}

.case-body p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin: 0 0 1rem;
}

/* Карусель логотипов */
.logo-strip-wrap {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  overflow: hidden;
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  will-change: transform;
}

.logo-strip__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7rem;
  padding: 0 2rem;
}

.logo-strip__item img {
  max-height: 5rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-strip__item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.logo-strip__item span {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  color: hsl(var(--muted-foreground) / 0.4);
  white-space: nowrap;
  user-select: none;
}

.logo-fade--l,
.logo-fade--r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  pointer-events: none;
  z-index: 2;
}

.logo-fade--l {
  left: 0;
  background: linear-gradient(90deg, hsl(var(--muted) / 0.3), transparent);
}

.logo-fade--r {
  right: 0;
  background: linear-gradient(270deg, hsl(var(--muted) / 0.3), transparent);
}

/* Контакты */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: linear-gradient(180deg, hsl(43 70% 75% / 0.4) 0%, hsl(43 70% 75% / 0.6) 100%);
}

.contact-bg-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
}

.contact-bg-texture {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-size: cover;
  pointer-events: none;
}

.contact-form-wrap {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
}

.contact-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
}

/* Формы */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group--grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-group--grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input, var(--border)));
  background: hsl(var(--background));
  font: inherit;
  color: hsl(var(--foreground));
}

.form-input:focus,
.form-textarea:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 1px;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form--modal .form-input,
.form--modal .form-textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.form--modal .form-input::placeholder,
.form--modal .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form--modal .form-label {
  color: #fff;
}

.toggle-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.toggle-btn:hover {
  background: hsl(var(--muted) / 0.8);
}

.toggle-btn.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.form--modal .toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.form--modal .toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.form--modal .toggle-btn.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.privacy-row input {
  margin-top: 0.25rem;
}

.privacy-row label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}

.form--modal .privacy-row label {
  color: rgba(255, 255, 255, 0.8);
}

.privacy-row a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.form-error {
  color: #b91c1c;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Модалка */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  background: hsl(var(--gravel-dark));
  border: 1px solid hsl(35 25% 45%);
  border-radius: var(--radius);
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.modal-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  margin: 0 0 1rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-wrap {
  position: relative;
}

/* Футер */
.site-footer {
  background: hsl(var(--gravel-dark));
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.site-footer__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__inner > p:first-child {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin: 0 0 0.5rem;
}

.site-footer__tag {
  color: hsl(var(--primary) / 0.8);
  margin: 0 0 1rem;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .site-footer__contacts {
    flex-direction: row;
    justify-content: center;
  }
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.site-footer a:hover {
  color: hsl(var(--primary));
}

.privacy-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-link:hover {
  color: hsl(var(--primary));
}

/* SVG sizing helpers */
.icon {
  display: block;
  flex-shrink: 0;
}
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }
.icon--eq { width: 2.5rem; height: 2.5rem; }

/* Декоративные позиции иконок фона */
.deco-icon {
  position: absolute;
  color: hsl(var(--gravel-dark));
}

.contact-deco .deco-icon {
  color: hsl(var(--gravel-dark));
}

.footer-deco-icon {
  position: absolute;
  color: hsl(var(--primary));
}

/* Документ (политика) */
.doc-page {
  min-height: 100vh;
  padding: 5rem 0;
}

.doc {
  max-width: 56rem;
  margin: 0 auto;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.doc h1 {
  color: hsl(var(--foreground));
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 2rem;
}

.doc h2 {
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

.doc p {
  margin: 0 0 1rem;
}

.doc ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.doc li {
  margin-bottom: 0.5rem;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1rem 0;
}

.doc td {
  border: 1px solid hsl(var(--border));
  padding: 0.75rem;
  vertical-align: top;
}

.doc table tr td:first-child {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.doc a {
  color: hsl(var(--primary));
}

.doc-back {
  display: inline-block;
  margin-top: 3rem;
  color: hsl(var(--primary));
  font-weight: 500;
}

.doc-back:hover {
  opacity: 0.85;
}

/* Thank you */
.thank-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.thank-card {
  text-align: center;
  max-width: 32rem;
}

.thank-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: hsl(var(--primary));
}

.thank-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.thank-card p {
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.5rem;
}

.thank-card .btn {
  margin-top: 2rem;
}

/* Центрирование финального CTA */
.final-cta {
  text-align: center;
}

.final-cta .pill-dark {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.final-cta__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.text-light-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
