/* Simeon Panda inspired styling */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --accent: #fff;
  --accent-warm: #e8b923;
  --text: #ffffff;
  --text-muted: #999999;
  --border: #2a2a2a;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation - Simeon Panda style */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  display: none;
}

.nav-logo-text {
  display: inline-block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-social-button {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}

.nav-social-button:hover {
  color: var(--accent);
  border-color: var(--text-muted);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

.nav-mobile-links {
  list-style: none;
  padding: 16px 24px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px 20px;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-mobile {
    display: block;
  }
}

/* Hero - slideshow like Simeon Panda */
.hero {
  min-height: calc(100vh - 80px);
  height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  padding-top: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-slides {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot:hover,
.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-warm);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Section titles - bold uppercase */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 48px;
  color: var(--text);
}

/* About */
.about-section {
  background: url("/media/fon1.jpeg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.about-image {
  flex-shrink: 0;
  width: 320px;
  max-width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
    padding: 60px 24px;
  }
  .about-image { width: 100%; max-width: 320px; }
}

/* Sections */
section {
  padding: 80px 0;
}

/* Services - card grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-4px);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Prices */
.prices {
  background: var(--surface);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 36px;
  text-align: center;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.price-card:hover {
  border-color: var(--text-muted);
}

.price-card.featured {
  border-color: var(--accent-warm);
  position: relative;
}

.price-card.featured::before {
  content: 'Популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-warm);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
}

.price-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
}

.price-card .amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-warm);
  margin-bottom: 4px;
}

.price-card .period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  width: 100%;
}

.price-card li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: 700;
}

.price-card .btn {
  margin-top: auto;
  align-self: center;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
}

.review-card .quote {
  font-size: 1.05rem;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
}

.review-card .author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bg);
}

.review-card .name {
  font-weight: 600;
}

.review-card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form */
.form-section {
  padding: 80px 0 80px;
}

.form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px;
}

.form-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.form-section .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-muted);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-wrapper .btn {
  width: 100%;
  padding: 18px;
  margin-top: 8px;
}

/* Newsletter - Simeon Panda style */
.newsletter-section {
  background: var(--surface);
  padding: 80px 0;
}

.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-box h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
}

.newsletter-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--text-muted);
}

.newsletter-form .btn {
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Footer - Simeon Panda style */
footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  display: none;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-contact:hover {
  color: var(--accent);
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-social {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Blog preview on main page */
.blog-preview {
  background: var(--surface);
  padding: 80px 0;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.blog-preview-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.blog-preview-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-4px);
}

.blog-preview-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-preview-image-placeholder {
  background: var(--surface-hover);
}

.blog-preview-body {
  padding: 24px;
}

.blog-preview-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 8px;
}

.blog-preview-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.3;
}

.blog-preview-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-preview-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-preview-more {
  text-align: center;
}

/* Blog list page - Simeon Panda style */
.blog-page {
  padding-top: 80px;
  min-height: 100vh;
}

.blog-hero-simeon {
  padding: 48px 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.blog-title-simeon {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.blog-search-inline {
  display: flex;
  gap: 8px;
}

.blog-search-input {
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  min-width: 200px;
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--text-muted);
}

.blog-search-btn {
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--text);
  color: var(--bg);
  border: none;
  cursor: pointer;
}

.blog-search-btn:hover {
  background: var(--accent-warm);
}

.blog-filters-simeon {
  padding: 0 0 32px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-pill {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: capitalize;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.filter-pill:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.filter-pill.active {
  background: var(--accent-warm);
  color: var(--bg);
  border-color: var(--accent-warm);
}

.blog-list-simeon {
  padding: 0 0 80px;
}

.articles-list-simeon {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.article-row-simeon {
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}

.article-row-simeon:last-of-type {
  border-bottom: none;
}

.article-row-link {
  display: flex;
  gap: 32px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}

.article-row-link:hover .article-row-title {
  color: var(--accent-warm);
}

.article-row-link:hover .article-row-readmore {
  color: var(--accent-warm);
}

.article-row-image {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.article-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-row-content {
  flex: 1;
  min-width: 0;
}

.article-row-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.article-row-meta span:not(:last-child)::after {
  content: ' · ';
  margin-left: 2px;
  color: var(--text-muted);
}

.article-row-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.3;
  transition: color 0.2s;
}

.article-row-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-row-readmore {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

/* Pagination - Simeon Panda (1 2 3 … 6 Next) */
.pagination-simeon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination-prev,
.pagination-next {
  padding: 10px 20px;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination-prev:hover,
.pagination-next:hover {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
}

.pagination-numbers {
  display: flex;
  gap: 4px;
  align-items: center;
}

.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination-num:hover {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
}

.pagination-num.active {
  background: var(--accent-warm);
  color: var(--bg);
  border-color: var(--accent-warm);
}

.pagination-ellipsis {
  padding: 0 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .article-row-link {
    flex-direction: column;
  }

  .article-row-image {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .blog-hero-simeon {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search-inline {
    flex-direction: column;
  }
}

.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.blog-empty p {
  margin-bottom: 24px;
}

.nav-link-active {
  color: var(--accent) !important;
}

/* Article detail page */
.article-page {
  padding-top: 80px;
  min-height: 100vh;
}

.article-full {
  padding-bottom: 80px;
}

.article-header {
  padding: 48px 0 32px;
}

.article-back {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.article-back:hover {
  color: var(--accent);
}

.article-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 12px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-featured {
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 48px;
}

.article-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 720px;
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-heading);
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.article-content p {
  margin-bottom: 1em;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.article-tag {
  padding: 6px 14px;
  font-size: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.article-tag:hover {
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

.article-footer-content {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.article-actions {
  margin-top: 48px;
}

/* Popup */
.site-popup {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
  padding: 16px;
}

.site-popup.open {
  opacity: 1;
  pointer-events: auto;
}

.site-popup__card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
}

.site-popup__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.site-popup__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.site-popup__icon.is-success {
  background: #2e7d32;
}

.site-popup__icon.is-error {
  background: #c62828;
}

.site-popup__icon.is-success::after {
  content: "✓";
}

.site-popup__icon.is-error::after {
  content: "!";
}

.site-popup__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.site-popup__text {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.site-popup__action {
  min-width: 140px;
}

/* Form checkbox inline layout */
.checkbox-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.checkbox-inline input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.checkbox-dash {
  color: var(--text-muted);
}

.checkbox-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-link:hover {
  color: var(--accent-warm);
}
