:root {
  --accent: #FF6B35;
  --accent-dark: #df5726;
  --bg: #f5f5f5;
  --text: #222222;
  --muted: #666666;
  --dark: #1f1f1f;
  --white: #ffffff;
  --border: #e5e5e5;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.menu, .footer-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
}
.menu a, .footer-menu a { transition: color .25s ease, opacity .25s ease; }
.menu a:hover, .footer-menu a:hover, .site-footer a:hover { color: var(--accent); }
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 20px;
}
.hero {
  color: var(--white);
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,21,21,.72), rgba(255,107,53,.50));
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: 110px 0 90px;
}
.hero-kicker, .section-label {
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero .hero-kicker { color: #ffd4c5; }
.hero h1, .section-heading h2, .page-article h1, .single-article h1, .archive-header h1 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  line-height: 1.1;
  margin: 0 0 18px;
}
.hero h1 { font-size: clamp(36px, 5vw, 64px); }
.hero p { font-size: 18px; color: rgba(255,255,255,.92); max-width: 680px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-dark); }
.countdown-section, .advantages-section, .subscribe-section, .latest-posts-section, .page-section { padding: 72px 0; }
.countdown-card, .subscribe-box, .page-article, .single-article, .sidebar-box, .contact-box, .empty-state {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.countdown-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.countdown > div {
  background: linear-gradient(180deg, rgba(255,107,53,.12), rgba(255,107,53,.03));
  border: 1px solid rgba(255,107,53,.18);
  border-radius: 20px;
  text-align: center;
  padding: 20px 12px;
}
.count-number {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dark);
  animation: pulseTimer 1.8s ease-in-out infinite;
}
.count-label { color: var(--muted); font-size: 14px; }
@keyframes pulseTimer {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: .88; }
}
.section-heading { margin-bottom: 28px; max-width: 720px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 44px); }
.advantages-grid, .post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card, .post-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.advantage-card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,0,0,.12); }
.advantage-card { padding: 28px; }
.advantage-card img { width: 64px; margin-bottom: 18px; }
.advantage-card h3, .post-card h3 { margin: 0 0 12px; font-size: 22px; font-family: 'Montserrat', sans-serif; }
.advantage-card p, .post-card p, .single-content p, .page-article p { color: var(--muted); }
.subscribe-box {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 26px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(255,107,53,.12), rgba(255,255,255,.96));
}
.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}
.subscribe-form input {
  flex: 1 1 260px;
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 18px;
  font-size: 16px;
  background: var(--white);
}
.subscribe-form button { min-height: 54px; }
.form-message { width: 100%; font-size: 14px; font-weight: 600; }
.form-message.success { color: #16803c; }
.form-message.error { color: #b62828; }
.post-card__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__content { padding: 22px; }
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.read-more { color: var(--accent); font-weight: 700; }
.site-footer {
  background: #171717;
  color: rgba(255,255,255,.84);
  padding-top: 54px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.footer-grid h3 { color: var(--white); margin-top: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 34px;
  padding: 18px 0 24px;
}
.page-container, .narrow-container { max-width: 860px; }
.page-article, .single-article { padding: 38px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 360px;
  gap: 24px;
  align-items: start;
}
.sidebar-box, .contact-box, .empty-state { padding: 28px; }
.single-thumb img { width: 100%; border-radius: 18px; margin: 18px 0 24px; }
.single-meta, .archive-description { color: var(--muted); }
.pagination-wrap { margin-top: 24px; }
.not-found-section .empty-state { text-align: center; }
.comments-block { margin-top: 34px; }
@media (max-width: 1024px) {
  .advantages-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown-card, .subscribe-box, .article-layout, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 84px;
    right: 16px;
    left: 16px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .25s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav .menu { flex-direction: column; gap: 14px; }
  .header-inner { position: relative; }
  .hero-inner { min-height: 62vh; padding: 92px 0 72px; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .advantages-grid, .post-grid, .countdown { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .countdown-section, .advantages-section, .subscribe-section, .latest-posts-section, .page-section { padding: 54px 0; }
  .page-article, .single-article, .countdown-card, .subscribe-box, .sidebar-box, .contact-box { padding: 24px; }
}
