/* Best Replacement Window Brands Page */
@import url('../pages/brand-pages.css');

/* ===================================
   JUMP NAVIGATION
   =================================== */
.jump-nav-section {
  background: #f8f9f6;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 0.75rem 0;
}

.jump-nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.jump-nav-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b7a3b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.jump-link {
  font-size: 0.82rem;
  color: #4a4a4a;
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.jump-link:hover {
  background: #8b9a5b;
  color: #fff;
  border-color: #8b9a5b;
}

/* ===================================
   SPECS GRID (What Matters Section)
   =================================== */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spec-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.spec-card--priority {
  border-color: rgba(139, 154, 91, 0.4);
  background: linear-gradient(180deg, #fafbf8 0%, #fff 100%);
}

.spec-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b9a5b;
  margin-bottom: 0.5rem;
}

.spec-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
}

.spec-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 0 0.75rem;
}

.spec-target {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f0f4e8;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  margin: 0.75rem 0;
}

.spec-target-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5a6a35;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.spec-target-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
}

.spec-note {
  font-size: 0.82rem !important;
  color: #6b6b6b !important;
  font-style: italic;
  margin-top: 0.5rem !important;
}

/* ===================================
   BRAND SECTION HEADERS
   =================================== */
.brand-section-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #f0f4e8;
}

.brand-section-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: #8b9a5b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.brand-section-badge--premium {
  background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
  color: #1a1a1a;
}

.brand-section-badge--texas {
  background: linear-gradient(135deg, #bf0a30 0%, #8b0000 100%);
  color: #fff;
}

.brand-section-header h2 {
  margin: 0.5rem 0 0.75rem;
}

.brand-section-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin: 0;
}

/* ===================================
   BRAND DETAIL GRID
   =================================== */
.brand-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .brand-detail-grid {
    grid-template-columns: 1fr 220px;
    align-items: start;
  }
}

/* ===================================
   WHY LIST
   =================================== */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1rem 0 1.75rem;
}

.why-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  background: rgba(139, 154, 91, 0.15);
  color: #5a6a35;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.15rem;
}

.why-item strong {
  display: block;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
}

/* ===================================
   SERIES CARDS
   =================================== */
.series-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

@media (min-width: 600px) {
  .series-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.series-card {
  background: #f8f9f6;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 1.25rem;
}

.series-card--recommended {
  border-color: rgba(139, 154, 91, 0.35);
  background: linear-gradient(180deg, #f5f7f0 0%, #f8f9f6 100%);
}

.series-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.series-sub {
  font-size: 0.78rem;
  color: #6b7a3b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.series-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 0 0.5rem;
}

.series-card em {
  font-size: 0.83rem;
  color: #6b6b6b;
}

/* ===================================
   HONEST TAKE BOX
   =================================== */
.honest-take {
  background: #f8f9f6;
  border-left: 4px solid #8b9a5b;
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.honest-take h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #5a6a35;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.6rem;
}

.honest-take p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
}

/* ===================================
   BRAND AT A GLANCE SIDEBAR CARD
   =================================== */
.brand-at-a-glance {
  background: #f8f9f6;
  border: 1px solid rgba(139, 154, 91, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.brand-at-a-glance h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7a3b;
  margin: 0 0 0.9rem;
}

.glance-item {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.glance-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.glance-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #8b9a5b;
  margin-bottom: 0.1rem;
}

.glance-value {
  font-size: 0.88rem;
  color: #1a1a1a;
  font-weight: 500;
}

/* ===================================
   DECISION TABLE
   =================================== */
.decision-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
}

.decision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.decision-table th {
  background: #f0f4e8;
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4a5a2a;
}

.decision-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: #3a3a3a;
  vertical-align: top;
  line-height: 1.5;
}

.decision-table tr:last-child td {
  border-bottom: none;
}

.decision-table tr:hover td {
  background: #fafbf8;
}

.decision-table td:nth-child(2) {
  white-space: nowrap;
  font-weight: 600;
}

.decision-table a {
  color: #6b7a3b !important;
  font-weight: 600;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
  .jump-nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .brand-section-header h2 {
    font-size: 1.3rem;
  }

  .brand-detail-grid {
    grid-template-columns: 1fr;
  }

  .decision-table td:nth-child(2) {
    white-space: normal;
  }
}
