:root {
  --color-bg: #FAFAF9;
  --color-bg-secondary: #F5F5F0;
  --color-bg-dark: #0C0A09;
  --color-primary: #D97706;
  --color-primary-hover: #B85C04;
  --color-text-on-dark: #FAFAF9;
  --color-text-on-dark-secondary: #A8A29E;
  --color-border-on-dark: rgba(255,255,255,0.08);
  --color-text-primary: #0C0A09;
  --color-text-secondary: #57534E;
  --color-text-muted: #78716C;
  --color-border-light: #E7E5E4;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-black: 900;
  --font-medium: 500;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --header-height: 56px;
  --footer-height: 48px;
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background: var(--color-bg);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

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

/* ========== Header ========== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-dark);
  min-height: var(--header-height);
  border-bottom: 1px solid var(--color-border-on-dark);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo {
  flex-shrink: 0;
}

.header__title {
  font-weight: var(--font-black);
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--color-text-on-dark);
  white-space: nowrap;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.header__phone:hover {
  opacity: 0.8;
}

.header__phone-text {
  font-weight: var(--font-medium);
  font-size: 14px;
  white-space: nowrap;
}

/* ========== Main ========== */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ========== Section titles ========== */

.section-title {
  font-size: 22px;
  font-weight: var(--font-black);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ========== Hero ========== */

.hero {
  background: linear-gradient(180deg, #FAFAF9 0%, #F5F5F0 100%);
  padding: 48px 16px 40px;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.hero__inner {
  max-width: 600px;
  margin: 0 auto;
}

.hero__title {
  font-size: 26px;
  font-weight: var(--font-black);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  align-items: center;
}

.hero__cta {
  display: inline-block;
  font-weight: var(--font-medium);
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
  width: 100%;
  max-width: 340px;
  text-align: center;
}

.hero__cta--primary {
  background: var(--color-primary);
  color: white;
}

.hero__cta--primary:hover {
  background: var(--color-primary-hover);
}

.hero__cta--secondary {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-light);
}

.hero__cta--secondary:hover {
  background: #E7E5E4;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  display: block;
  font-size: 16px;
  font-weight: var(--font-black);
  color: var(--color-primary);
  margin-bottom: 2px;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
}



/* ========== Services (accordion) ========== */

.services {
  padding: 40px 16px;
  background: var(--color-bg);
}

.services__inner {
  max-width: 600px;
  margin: 0 auto;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services__item {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.services__item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: var(--font-black);
  text-align: left;
  color: var(--color-text-primary);
  line-height: 1.4;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.services__item-header:hover {
  background: var(--color-bg-secondary);
}

.services__item-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--color-text-muted);
}

.services__item.is-open .services__item-icon {
  transform: rotate(180deg);
}

.services__item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.services__item.is-open .services__item-body {
  max-height: 500px;
  padding: 0 20px 20px;
}

.services__item-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.services__item-features {
  list-style: none;
  margin-bottom: 12px;
}

.services__item-features li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}

.services__item-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.5;
}

.services__item-price {
  font-size: 15px;
  font-weight: var(--font-black);
  color: var(--color-primary);
}

/* ========== Price Widget ========== */

.price-widget {
  padding: 40px 16px;
  background: var(--color-bg-secondary);
}

.price-widget__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.price-widget__inner > #app_standart_data_widget {
  min-height: 60vh;
  width: 100%;
}

/* ========== Process ========== */

.process {
  padding: 40px 16px;
  background: var(--color-bg);
}

.process__inner {
  max-width: 600px;
  margin: 0 auto;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process__step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.process__step:last-child {
  border-bottom: none;
}

.process__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 14px;
  font-weight: var(--font-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__step-body {
  flex: 1;
  min-width: 0;
}

.process__step-title {
  font-size: 15px;
  font-weight: var(--font-black);
  margin-bottom: 4px;
}

.process__step-text {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ========== FAQ ========== */

.faq {
  padding: 40px 16px;
  background: var(--color-bg-secondary);
}

.faq__inner {
  max-width: 600px;
  margin: 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: var(--font-medium);
  text-align: left;
  color: var(--color-text-primary);
  line-height: 1.4;
  gap: 12px;
}

.faq__question:hover {
  background: var(--color-bg-secondary);
}

.faq__question span {
  flex: 1;
}

.faq__icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--color-text-muted);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__answer p {
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.faq__question[aria-expanded="true"] + .faq__answer {
  max-height: 300px;
}

/* ========== CTA ========== */

.cta {
  padding: 48px 16px;
  background: var(--color-bg-dark);
  text-align: center;
}

.cta__inner {
  max-width: 500px;
  margin: 0 auto;
}

.cta__title {
  font-size: 22px;
  font-weight: var(--font-black);
  letter-spacing: -0.02em;
  color: var(--color-text-on-dark);
  margin-bottom: 12px;
}

.cta__text {
  font-size: 14px;
  color: var(--color-text-on-dark-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.cta__btn {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: var(--font-medium);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: opacity 0.2s;
  width: 100%;
  max-width: 340px;
  text-align: center;
}

.cta__btn:hover {
  opacity: 0.9;
}

.cta__btn--primary {
  background: var(--color-primary);
  color: white;
}

.cta__btn--secondary {
  background: rgba(255,255,255,0.1);
  color: var(--color-text-on-dark);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ========== Footer ========== */

.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border-on-dark);
  min-height: var(--footer-height);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 12px;
  font-weight: var(--font-medium);
  color: var(--color-text-on-dark);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__link--secondary {
  color: var(--color-text-on-dark-secondary);
}

/* ========== Tablet ========== */

@media (min-width: 600px) {
  .hero__title {
    font-size: 32px;
  }

  .cta__actions {
    flex-direction: row;
    justify-content: center;
  }

  .cta__btn {
    width: auto;
  }
}

/* ========== Desktop ========== */

@media (min-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header__inner {
    padding: 0 32px;
  }

  .header__title {
    font-size: 18px;
  }

  .header__phone-text {
    font-size: 16px;
  }

  .hero {
    padding: 64px 32px 48px;
  }

  .hero__title {
    font-size: 36px;
  }

  .section-title {
    font-size: 26px;
  }

  .services, .process, .faq {
    padding: 48px 32px;
  }

  .price-widget {
    padding: 48px 32px;
  }

  .cta {
    padding: 56px 32px;
  }

  .cta__title {
    font-size: 26px;
  }

  .footer__inner {
    padding: 16px 32px;
    gap: 32px;
  }

  .footer__link {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .header__inner {
    padding: 0 48px;
  }

  .hero {
    padding: 80px 48px 56px;
  }

  .services, .process, .faq {
    padding: 56px 48px;
  }

  .price-widget {
    padding: 56px 48px;
  }

  .cta {
    padding: 64px 48px;
  }

  .footer__inner {
    padding: 16px 48px;
  }
}


