/* ===== Variables ===== */
:root {
  --color-bg: #0a0e17;
  --color-bg-light: #111827;
  --color-bg-card: #1a2234;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-accent-glow: rgba(245, 158, 11, 0.25);
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-border: rgba(255, 255, 255, 0.08);
  --font: 'Manrope', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent {
  color: var(--color-accent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #0a0e17;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.logo__icon {
  font-size: 28px;
}

.logo__accent {
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.header__phone:hover {
  opacity: 0.8;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    var(--color-bg);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='%23ffffff' fill-opacity='0.02'%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");
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.stat__value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
}

.stat__label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.hero__card-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero__card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero__card p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--color-bg-light);
}

.section--accent {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, var(--color-bg) 100%);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 16px;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  position: relative;
  text-align: center;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.price-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card--featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--color-bg-card) 100%);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #0a0e17;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
}

.price-card__header {
  margin-bottom: 24px;
}

.price-card__title {
  font-size: 20px;
  font-weight: 700;
}

.price-card__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.price-card__price {
  margin-bottom: 24px;
}

.price-card__from {
  font-size: 14px;
  color: var(--color-text-muted);
  vertical-align: super;
}

.price-card__amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-accent);
}

.price-card__currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
}

.price-card__features {
  flex: 1;
  margin-bottom: 28px;
}

.price-card__features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: 20px;
}

.price-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.pricing__note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== Order Form ===== */
.order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.order__contacts {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.order__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.order__contact:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.order__form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #4b5563;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form__note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--color-accent);
  transition: var(--transition);
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== Contacts ===== */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contacts__list {
  margin-top: 32px;
}

.contacts__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.contacts__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contacts__item a {
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.contacts__item a:hover {
  color: var(--color-accent);
}

.contacts__map {
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 300px;
}

.footer__links h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 6px 0;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.modal__content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal__content p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ===== Menu ===== */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.menu-tab {
  padding: 10px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  color: var(--color-text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.menu-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.menu-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #0a0e17;
}

.menu-category {
  display: none;
}

.menu-category.active {
  display: block;
}

.menu-category__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

.product-card__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.product-card__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-accent);
  flex-shrink: 0;
}

.menu-order-cta {
  margin-top: 48px;
  text-align: center;
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.menu-order-cta p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.menu-order-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.contact-card--telegram:hover {
  border-color: #29b6f6;
}

.contact-card__icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.contact-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.contact-card__value {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card--telegram .contact-card__value {
  color: #29b6f6;
}

.contact-card__hint {
  font-size: 12px;
  color: var(--color-text-muted);
}

.float-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn--phone {
  background: var(--color-accent);
  color: #0a0e17;
}

.float-btn--telegram {
  background: #29b6f6;
  color: #fff;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__card {
    max-width: 400px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .order {
    grid-template-columns: 1fr;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-light);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: var(--transition);
    border-left: 1px solid var(--color-border);
    margin-left: 0;
  }

  .nav.active {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .header__phone {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__stats {
    gap: 24px;
  }

  .stat__value {
    font-size: 22px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .order__contacts {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
