/* Кофейня «Пульс» — тёмная тема */
:root {
  --bg: #0e0b09;
  --bg-soft: #171210;
  --card: #1d1713;
  --line: #2e241e;
  --text: #f2ece5;
  --muted: #a89a8d;
  --accent: #e8a24a;
  --accent-dark: #c97f2c;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

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

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(14, 11, 9, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
}
.logo-dot { color: var(--accent); }

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }

/* Главный экран */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14,11,9,0.95) 20%, rgba(14,11,9,0.55) 60%, rgba(14,11,9,0.35));
}
.hero-content {
  position: relative;
  max-width: 680px;
  padding: 48px 24px;
  margin-left: 6vw;
}
.hero-tag {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-text {
  color: var(--muted);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #1a1208; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Секции */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 8px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 40px;
}

/* Карточки напитков */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dark);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body { padding: 20px; }
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.card h3 { font-size: 20px; }
.price {
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}
.card-body p { color: var(--muted); font-size: 15px; }

/* Контакты */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-block h4 {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.contact-block p { color: var(--muted); }
.contact-block a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.contact-block a:hover { border-color: var(--accent); color: var(--accent); }

/* Подвал */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Адаптив */
@media (max-width: 860px) {
  .cards, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero-content { margin-left: 0; padding: 32px 24px; }
  .nav a { margin-left: 14px; }
}
