/* ============================================
   MEGA REALTY — Article / SEO Page Styles
   ============================================ */

.page-hero {
  position: relative;
  padding: 180px 48px 100px;
  background: var(--black);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(111, 30, 28, 0.7) 0%, rgba(26, 25, 23, 0.9) 100%),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80') center/cover no-repeat;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ========== ARTICLE CONTENT ========== */
.article-section {
  padding: 80px 48px 100px;
  background: var(--white);
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 48px 0 16px;
  line-height: 1.25;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 32px 0 10px;
}

.article-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-content .btn-burgundy,
.article-content .btn-primary {
  margin-top: 16px;
}

/* Article card grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0 40px;
}

.article-card {
  background: var(--off-white);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border-color: transparent;
}

.article-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--white);
}

.article-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 8px;
}

.article-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Numbered list style */
.article-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 40px;
}

.article-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  counter-increment: step;
}

.article-step::before {
  content: counter(step);
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--burgundy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.article-step-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 6px;
}

.article-step-content p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Checklist style */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

.checklist-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(138, 199, 17, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

/* Calculator embed */
.calc-embed {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.calc-embed label {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  display: block;
  margin-bottom: 8px;
}

.calc-embed input[type="number"],
.calc-embed input[type="text"],
.calc-embed select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--gray-800);
  margin-bottom: 16px;
  outline: none;
}

.calc-embed input:focus,
.calc-embed select:focus {
  border-color: var(--burgundy);
}

.calc-result {
  background: var(--burgundy);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-top: 16px;
}

.calc-result-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--green);
}

/* Highlight box */
.highlight-box {
  background: rgba(138, 199, 17, 0.08);
  border: 1px solid rgba(138, 199, 17, 0.2);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
}

.highlight-box p {
  color: var(--gray-800);
  font-weight: 500;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-hero { padding: 140px 24px 72px; }
  .article-section { padding: 56px 24px 72px; }
  .article-grid { grid-template-columns: 1fr; }
}
