:root {
  --bg-main: #0e1116;
  --bg-card: #161b22;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: #2d3748;
  --radius: 16px;
  --transition: all 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  padding-bottom: 70px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Навигация */
header {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 17, 22, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.header-contacts {
  display: flex;
  align-items: center;
}

/* Кнопка телефона в шапке */
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 8px 16px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: -0.2px;
  transition: var(--transition);
}

.phone-btn:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  flex-shrink: 0;
}

.phone-number {
  white-space: nowrap;
}

@media(max-width: 480px) {
  .phone-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
    gap: 6px;
  }
  .phone-icon {
    width: 22px;
    height: 22px;
  }
  .phone-icon svg {
    width: 13px;
    height: 13px;
  }
}

/* Главный экран (Hero) */
.hero {
  padding: 36px 0 30px;
}

.badge {
  display: inline-block;
  max-width: 100%;
  padding: 6px 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media(min-width: 768px) {
  h1 {
    font-size: 2.5rem;
    line-height: 1.15;
  }
  .hero {
    padding: 60px 0 40px;
  }
}

h1 span {
  color: var(--accent);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 650px;
  margin-bottom: 24px;
}

@media(min-width: 768px) {
  .hero-sub {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 40px;
}

@media(min-width: 768px) {
  .hero-card {
    padding: 24px;
  }
}

.hero-card-title {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media(min-width: 640px) {
  .form-group {
    flex-direction: row;
  }
}

.input-link {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #090c10;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.input-link:focus {
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: center;
}

.btn-accent {
  background: var(--accent);
  color: #000;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-viber {
  background: #7360f2;
  color: #fff;
}

.btn-viber:hover {
  background: #5f4cd0;
}

.btn-secondary {
  background: var(--border);
  color: #fff;
}

.btn-secondary:hover {
  background: #3e4c63;
}

/* Тарифы */
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

@media(min-width: 768px) {
  .section-title {
    font-size: 1.85rem;
    margin-bottom: 10px;
  }
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

@media(min-width: 768px) {
  .tariffs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
  }
}

.tariff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

@media(min-width: 768px) {
  .tariff-card {
    padding: 30px;
  }
}

.tariff-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.08);
}

.tariff-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tariff-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

.tariff-list {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tariff-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.tariff-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Bento Grid */
.grid-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

@media(min-width: 640px) {
  .grid-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media(min-width: 1024px) {
  .grid-bento {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 60px;
  }
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.bento-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.bento-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* География выезда */
.geo-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 40px;
}

@media(min-width: 768px) {
  .geo-box {
    padding: 30px;
    margin-bottom: 60px;
  }
}

.geo-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.geo-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.geo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  background: #090c10;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

/* Подвал */
footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media(min-width: 768px) {
  footer {
    padding: 40px 0;
    font-size: 0.85rem;
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-disclaimer {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Мобильный бар */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #090c10;
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  z-index: 999;
}

@media(min-width: 768px) {
  .mobile-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

.bar-btn {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.bar-phone {
  background: var(--accent);
  color: #000;
}

.bar-tg {
  background: #229ed9;
  color: #fff;
}

.bar-viber {
  background: #7360f2;
  color: #fff;
}