/* ============================================
   DustBusters Blog Styles
   Complete design system for blog posts
   ============================================ */

/* === CSS VARIABLES (Color Palette) === */
:root {
  /* Primary Blue - основной цвет бренда */
  --primary: hsl(210, 100%, 42%);           /* #0066D6 */
  --primary-foreground: hsl(0, 0%, 100%);    /* #FFFFFF */
  --primary-light: hsl(210, 100%, 96%);      /* #EBF4FF */

  /* Secondary Green - безопасность, чистота */
  --secondary: hsl(156, 48%, 45%);           /* #3BA07F */
  --secondary-foreground: hsl(0, 0%, 100%);  /* #FFFFFF */
  --secondary-light: hsl(156, 48%, 96%);     /* #EEFBF6 */

  /* Accent Orange - CTA кнопки */
  --accent: hsl(25, 95%, 53%);               /* #F97316 */
  --accent-foreground: hsl(0, 0%, 100%);     /* #FFFFFF */

  /* Destructive Red - предупреждения */
  --destructive: hsl(0, 84%, 60%);           /* #EF4444 */

  /* Neutrals */
  --background: hsl(0, 0%, 100%);            /* #FFFFFF */
  --foreground: hsl(215, 25%, 15%);          /* #1E293B */
  --muted: hsl(215, 20%, 96%);               /* #F1F5F9 */
  --muted-foreground: hsl(215, 16%, 47%);    /* #64748B */
  --border: hsl(215, 20%, 88%);              /* #D4DCE8 */
}

/* === TYPOGRAPHY SYSTEM === */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem; /* 16px */
  line-height: 1.75;
  color: var(--muted-foreground);
  background: var(--background);
}

@media (min-width: 1024px) {
  body {
    font-size: 1.125rem; /* 18px */
  }
}

/* Headings */
h1 {
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem; /* 48px */
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.75rem; /* 60px */
  }
}

h2 {
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem; /* 36px */
  }
}

h3 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

/* Strong/Bold text */
strong {
  font-weight: 600;
  color: var(--foreground);
}

/* === 1. HERO SECTION === */
.blog-hero {
  background: linear-gradient(135deg, hsl(210, 100%, 42%) 0%, hsl(210, 90%, 32%) 100%);
  color: white;
  padding: 80px 16px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  max-width: 896px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

@media (min-width: 768px) {
  .blog-hero {
    padding: 80px 32px;
  }
  .blog-hero h1 {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .blog-hero h1 {
    font-size: 60px;
  }
}

.blog-hero p {
  font-size: 20px;
  opacity: 0.95;
  max-width: 672px;
  margin: 0 auto 32px;
  color: white;
}

/* === 2. CTA BUTTON === */
.cta-button {
  background-color: hsl(25, 95%, 53%);
  color: white;
  padding: 12px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px -2px hsla(25, 95%, 53%, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: hsl(25, 95%, 45%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px hsla(25, 95%, 53%, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

/* === 3. CONTENT SECTION === */
.blog-content {
  padding: 48px 16px;
  max-width: 896px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .blog-content {
    padding: 64px 32px;
  }
}

.blog-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: hsl(215, 25%, 15%);
  margin-bottom: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .blog-content h2 {
    font-size: 36px;
  }
}

.blog-content p {
  font-size: 18px;
  line-height: 1.75;
  color: hsl(215, 16%, 47%);
  margin-bottom: 16px;
}

.blog-content strong {
  font-weight: 600;
  color: hsl(215, 25%, 15%);
}

.blog-content ul,
.blog-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.blog-content li {
  margin-bottom: 8px;
  color: hsl(215, 16%, 47%);
  line-height: 1.75;
}

.blog-content a {
  color: hsl(210, 100%, 42%);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.blog-content a:hover {
  color: hsl(210, 100%, 35%);
}

/* === 4. WARNING BOX === */
.warning-box {
  background-color: hsla(0, 84%, 60%, 0.1);
  border: 1px solid hsla(0, 84%, 60%, 0.2);
  border-radius: 12px;
  padding: 32px;
  margin: 32px 0;
}

.warning-box h2,
.warning-box h3 {
  color: hsl(215, 25%, 15%);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 0;
}

.warning-box .icon {
  color: hsl(0, 84%, 60%);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.warning-box ul {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.warning-box li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: hsl(215, 25%, 15%);
}

.warning-box li .check-icon {
  color: hsl(0, 84%, 60%);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* === 5. PROCESS STEPS === */
.process-steps {
  margin: 32px 0;
}

.process-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.process-step .number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: hsl(210, 100%, 42%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: hsl(215, 25%, 15%);
  margin-bottom: 8px;
  margin-top: 0;
}

.process-step p {
  color: hsl(215, 16%, 47%);
  line-height: 1.75;
  margin-bottom: 0;
}

/* === 6. BENEFITS GRID === */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-card {
  border-radius: 12px;
  padding: 24px;
}

.benefit-card.primary {
  background-color: hsla(210, 100%, 42%, 0.05);
  border: 1px solid hsla(210, 100%, 42%, 0.1);
}

.benefit-card.secondary {
  background-color: hsla(156, 48%, 45%, 0.05);
  border: 1px solid hsla(156, 48%, 45%, 0.1);
}

.benefit-card.accent {
  background-color: hsla(25, 95%, 53%, 0.05);
  border: 1px solid hsla(25, 95%, 53%, 0.1);
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
}

.benefit-card.primary h3 {
  color: hsl(210, 100%, 42%);
}

.benefit-card.secondary h3 {
  color: hsl(156, 48%, 45%);
}

.benefit-card.accent h3 {
  color: hsl(25, 95%, 53%);
}

.benefit-card p {
  color: hsl(215, 16%, 47%);
  line-height: 1.6;
  margin-bottom: 0;
}

/* === 7. CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, hsl(210, 100%, 42%) 0%, hsla(210, 100%, 42%, 0.9) 100%);
  color: white;
  padding: 64px 16px;
  text-align: center;
}

.cta-section h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 36px;
  }
}

.cta-section p {
  font-size: 20px;
  opacity: 0.95;
  max-width: 672px;
  margin: 0 auto 32px;
  color: white;
}

.cta-section .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.cta-section .phone-link:hover {
  text-decoration: underline;
}

.cta-section .phone-link svg {
  width: 24px;
  height: 24px;
}

/* === 8. IMAGE STYLING === */
.blog-image {
  max-width: 768px;
  margin: 32px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px hsla(215, 25%, 15%, 0.12);
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-image figcaption {
  text-align: center;
  font-size: 14px;
  color: hsl(215, 16%, 47%);
  margin-top: 8px;
  padding: 0 16px;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 767px) {
  .blog-hero {
    padding: 48px 16px;
  }
  
  .blog-hero h1 {
    font-size: 28px;
  }
  
  .blog-hero p {
    font-size: 18px;
  }
  
  .blog-content {
    padding: 32px 16px;
  }
  
  .blog-content h2 {
    font-size: 24px;
    margin-top: 32px;
  }
  
  .blog-content p {
    font-size: 16px;
  }
  
  .cta-section {
    padding: 48px 16px;
  }
  
  .cta-section h2 {
    font-size: 24px;
  }
  
  .cta-section p {
    font-size: 18px;
  }
  
  .cta-button {
    font-size: 16px;
    padding: 10px 24px;
  }
}

