/* Acante — сайт продаж, по презентации acante-prezentaciya.pptx
   (палитра/структура/тексты владелец выверял сам, дословно). Никаких
   фотографий — только цвет, форма (круги — сквозной мотив) и
   типографика: засечная Playfair Display в заголовках, Inter в тексте
   — контраст между ними и есть половина стиля (слова владельца). */

:root {
  --bordeaux: #6D2E46;
  --pink: #A26769;
  --cream: #ECE2D0;
  --white: #FFFFFF;
  --ink: #2B2B2B;
  --ink-dim: #6E6E6E;
  --red: #B03A2E;
  --yellow: #C9922B;
  --green: #5A8F5A;
  --radius-lg: 20px;
  --radius-md: 14px;
  --maxw: 1080px;
  --shadow: 0 18px 44px -28px rgba(43, 32, 19, 0.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 24px;
  scroll-margin-top: 24px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--ink-dim);
  font-size: 17px;
  margin-bottom: 8px;
}

.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-cta {
  background: var(--white);
  color: var(--bordeaux);
}

.btn-primary {
  background: var(--white);
  color: var(--bordeaux);
  width: 100%;
}

.btn-ghost {
  border-color: rgba(109, 46, 70, 0.35);
  color: var(--bordeaux);
  background: transparent;
  width: 100%;
}

/* ---------- слайд 1 — шапка на бордовом ---------- */
.hero {
  background: var(--bordeaux);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
}

.circle-pink {
  background: var(--pink);
  width: 42vw;
  max-width: 420px;
  aspect-ratio: 1;
  top: -18%;
  right: 8%;
}

.circle-cream {
  background: var(--cream);
  width: 24vw;
  max-width: 240px;
  aspect-ratio: 1;
  top: 46%;
  right: 22%;
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 96px;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-login {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  opacity: 0.9;
}

.hero-content {
  max-width: 640px;
}

.hero-content h1 {
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(19px, 2.4vw, 23px);
  color: var(--cream);
  margin-bottom: 16px;
}

.hero-sections {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--pink);
  margin-bottom: 36px;
}

/* ---------- слайд 2 — боль ---------- */
.pain {
  background: var(--cream);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pain-text h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 20px;
}

.pain-text p {
  color: var(--ink-dim);
  font-size: 16px;
  margin-bottom: 14px;
}

.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow); }
.dot-green { background: var(--green); }
.dot-brand { background: var(--bordeaux); }

.pain-card h3 {
  font-size: 16px;
  margin-bottom: 2px;
}

.pain-card p {
  font-size: 14px;
  color: var(--ink-dim);
}

/* ---------- слайд 3 — возможности ---------- */
.features {
  background: var(--white);
}

.features .section-title {
  text-align: center;
  margin-bottom: 48px;
}

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

.feature-card {
  padding: 8px 4px;
}

.feature-card .dot {
  width: 10px;
  height: 10px;
  margin-bottom: 14px;
}

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

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-dim);
}

/* ---------- слайд 4 — чего нет у других ---------- */
.unique {
  background: var(--cream);
}

.unique-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.numbered-item {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.numbered-item:first-of-type { margin-top: 32px; }

.num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.numbered-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.numbered-item p {
  font-size: 14.5px;
  color: var(--ink-dim);
}

.example-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

.example-card h3 {
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--bordeaux);
}

.example-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.example-card li {
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.example-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

/* ---------- слайд 5 — офлайн ---------- */
.offline {
  background: var(--white);
}

.offline-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.offline-text h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 20px;
}

.offline-text p {
  color: var(--ink-dim);
  font-size: 16px;
  margin-bottom: 14px;
}

.offline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.offline-list li {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
}

.tag {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag-ok { background: var(--green); color: var(--white); }
.tag-warn { background: var(--yellow); color: var(--white); }

/* ---------- слайд 6 — тарифы ---------- */
.pricing {
  background: var(--cream);
  text-align: center;
}

.grid-pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 48px auto 24px;
  text-align: left;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}

.price-card-highlight {
  background: var(--bordeaux);
  color: var(--white);
}

.price-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.price {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink-dim);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-card-highlight .price { color: var(--cream); }

.price span {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
}

.price-card-highlight .price span { color: var(--white); }

.price-card ul {
  list-style: none;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.price-card li {
  font-size: 14.5px;
  color: var(--ink-dim);
  padding-left: 22px;
  position: relative;
}

.price-card-highlight li { color: rgba(255, 255, 255, 0.85); }

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bordeaux);
  font-weight: 700;
}

.price-card-highlight li::before { color: var(--cream); }

.pricing-note {
  color: var(--ink-dim);
  font-size: 14.5px;
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- слайд 7 — как начать ---------- */
.steps {
  background: var(--white);
  text-align: center;
}

.grid-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0 24px;
}

.numbered-item-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0 !important;
}

.numbered-item-center .num { margin-bottom: 6px; }

.steps-note {
  color: var(--ink-dim);
  font-size: 14.5px;
}

/* ---------- слайд 8 — финал + форма ---------- */
.final {
  background: var(--bordeaux);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.final-inner p {
  color: var(--cream);
  font-size: 15.5px;
  margin-bottom: 16px;
}

.final-cta h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.signup-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signup-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--ink-dim);
}

.signup-form input,
.signup-form select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(43, 32, 19, 0.16);
  background: var(--white);
  color: var(--ink);
}

.signup-form input:focus,
.signup-form select:focus {
  outline: 2px solid var(--bordeaux);
  outline-offset: 1px;
}

.field-hint {
  font-size: 12px;
  color: rgba(110, 110, 110, 0.9);
}

.tariff-choice select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236D2E46' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.signup-form .btn-cta {
  background: var(--bordeaux);
  color: var(--white);
}

.form-message {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  min-height: 18px;
}

.form-message[data-state="error"] { color: var(--red); }
.form-message[data-state="success"] { color: var(--green); }

/* ---------- подвал ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--ink-dim);
}

.footer a {
  color: var(--bordeaux);
  text-decoration: none;
}

/* ---------- мобильная версия: карточки в один столбец ---------- */
@media (max-width: 780px) {
  .pain-grid,
  .unique-grid,
  .offline-grid,
  .grid-pricing,
  .final {
    grid-template-columns: 1fr;
  }

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

  .final {
    gap: 40px;
  }

  .hero-inner {
    padding: 24px 20px 72px;
  }

  .section {
    padding: 64px 20px;
  }

  .circle-pink { width: 50vw; top: -22%; right: -18%; }
  .circle-cream { width: 24vw; top: -4%; right: 22%; }
}
