/* ============================================
   STERNE PARK — PAGE SPECIFIC STYLES
   ============================================ */

/* Hero background */
.hero-sterne-park {
  background:
    linear-gradient(135deg, rgba(9, 31, 44, 0.90) 0%, rgba(12, 53, 71, 0.86) 50%, rgba(19, 75, 99, 0.80) 100%),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&auto=format&fit=crop') center/cover no-repeat;
}

/* Hero Trust Strip */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 32px;
  padding-top: 24px;
  max-width: 800px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-trust-item i {
  color: #4ADE80;
  font-size: 1.1rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .hero-trust-strip { gap: 14px; margin-top: 24px; padding-top: 18px; }
  .hero-trust-item { font-size: 0.9rem; flex: 1 1 100%; }
}

/* ============================================
   UNIQUE SECTION: Mid-Century Diagnostic Chart
   ============================================ */
.diagnostic-section {
  background:
    linear-gradient(180deg, #F4EFE6 0%, #EBE3D4 100%);
  position: relative;
  overflow: hidden;
}
.diagnostic-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(139, 90, 43, 0.06) 29px, rgba(139, 90, 43, 0.06) 30px);
  pointer-events: none;
}
.diagnostic-section .section-header { position: relative; z-index: 1; }
.diagnostic-section .section-label {
  background: #B87333 !important;
  color: #fff !important;
}
.diagnostic-section .section-header h2 { color: #3B2512; }
.diagnostic-section .section-header p { color: #6B4423; }

.diagnostic-chart {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  background: #FDFAF3;
  border: 2px solid #3B2512;
  border-radius: 4px;
  box-shadow:
    0 1px 0 #3B2512 inset,
    0 25px 60px rgba(59, 37, 18, 0.25),
    0 10px 20px rgba(59, 37, 18, 0.15);
  overflow: hidden;
}

.diagnostic-chart-header {
  background: linear-gradient(135deg, #3B2512 0%, #5A3A1F 100%);
  color: #FDFAF3;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px double #B87333;
}
.diagnostic-chart-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.diagnostic-chart-title i {
  font-size: 2rem;
  color: #B87333;
  background: rgba(184, 115, 51, 0.15);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.diagnostic-chart-title h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FDFAF3;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
}
.diagnostic-chart-title span {
  font-size: 0.85rem;
  color: #D4B896;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.diagnostic-chart-stamp {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border: 2.5px solid #D63031;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #D63031;
  transform: rotate(-8deg);
  background: rgba(214, 48, 49, 0.08);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  line-height: 1;
}
.stamp-top, .stamp-bottom {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.stamp-middle {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 4px 0;
  letter-spacing: 1.5px;
}

.diagnostic-list {
  padding: 10px 0;
}

.diagnostic-item {
  display: grid;
  grid-template-columns: 60px 70px 1fr;
  gap: 20px;
  padding: 24px 32px;
  border-bottom: 1px dashed rgba(139, 90, 43, 0.3);
  align-items: start;
  transition: background 0.2s ease;
}
.diagnostic-item:last-child { border-bottom: none; }
.diagnostic-item:hover { background: rgba(184, 115, 51, 0.05); }

.diagnostic-id {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #B87333;
  line-height: 1;
  padding-top: 4px;
  border-right: 2px solid rgba(184, 115, 51, 0.3);
  text-align: center;
  padding-right: 10px;
}

.diagnostic-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #B87333 0%, #8B5A2B 100%);
  color: #FDFAF3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(139, 90, 43, 0.3);
}

.diagnostic-body { min-width: 0; }
.diagnostic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.diagnostic-head h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #3B2512;
  margin: 0;
  line-height: 1.3;
}
.severity {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.sev-critical { background: #D63031; color: #fff; }
.sev-high { background: #F39C12; color: #fff; }
.sev-moderate { background: #1A8FBC; color: #fff; }
.sev-seasonal { background: #27AE60; color: #fff; }

.diagnostic-body p {
  color: #5A3A1F;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.diagnostic-footer {
  background: #3B2512;
  color: #D4B896;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}
.diagnostic-footer i {
  color: #B87333;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.diagnostic-footer a {
  color: #FDFAF3;
  font-weight: 700;
  text-decoration: underline;
}
.diagnostic-footer a:hover { color: #B87333; }

/* Tablet */
@media (max-width: 900px) {
  .diagnostic-chart-header { padding: 20px 24px; }
  .diagnostic-chart-title h3 { font-size: 1.15rem; }
  .diagnostic-item {
    grid-template-columns: 50px 60px 1fr;
    gap: 16px;
    padding: 20px 24px;
  }
  .diagnostic-id { font-size: 1.7rem; }
  .diagnostic-icon { width: 50px; height: 50px; font-size: 1.2rem; }
  .diagnostic-head h4 { font-size: 1.05rem; }
}

/* Mobile */
@media (max-width: 640px) {
  .diagnostic-chart-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .diagnostic-chart-title {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .diagnostic-chart-stamp {
    width: 76px;
    height: 76px;
  }
  .stamp-middle { font-size: 1.1rem; }
  .diagnostic-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 18px;
    text-align: left;
  }
  .diagnostic-id {
    border-right: none;
    border-bottom: 2px solid rgba(184, 115, 51, 0.3);
    text-align: left;
    padding-right: 0;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.5rem;
  }
  .diagnostic-id::after {
    content: "";
    flex: 1;
    height: 2px;
    background: rgba(184, 115, 51, 0.2);
  }
  .diagnostic-icon { width: 46px; height: 46px; font-size: 1.1rem; }
  .diagnostic-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .diagnostic-head h4 { font-size: 1rem; }
  .diagnostic-body p { font-size: 0.9rem; }
  .diagnostic-footer {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }
}