/* Portland gutter guard installation cost page styles */

.pgg-pricing {
  padding: 80px 0;
  background: var(--white);
}

.pgg-section-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--gray-700);
  line-height: 1.7;
}

.pgg-pricing-table-wrap {
  max-width: 980px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid rgba(192, 200, 208, 0.65);
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(10, 37, 64, 0.07);
}

.pgg-pricing-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.pgg-pricing-table th {
  padding: 15px 20px;
  background: var(--sapphire);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pgg-pricing-table td {
  padding: 20px;
  border-top: 1px solid rgba(192, 200, 208, 0.45);
  color: var(--gray-700);
  vertical-align: top;
}

.pgg-pricing-table td:first-child {
  color: var(--sapphire);
  font-weight: 800;
}

.pgg-pricing-range {
  color: var(--sapphire);
  font-weight: 800;
  white-space: nowrap;
}

.pgg-pricing-note {
  max-width: 980px;
  margin: 18px auto 0;
  padding: 16px 20px;
  border-left: 3px solid var(--chrome-solid);
  background: var(--off-white);
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.pgg-materials {
  padding: 80px 0;
  background: var(--off-white);
}

.pgg-material-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(192, 200, 208, 0.65);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 3px 16px rgba(10, 37, 64, 0.07);
}

.pgg-material-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
}

.pgg-material-table caption {
  padding: 16px 20px;
  color: var(--sapphire);
  font-weight: 800;
  text-align: left;
}

.pgg-material-table th {
  padding: 15px 20px;
  background: var(--sapphire);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: top;
}

.pgg-material-table td {
  padding: 20px;
  border-top: 1px solid rgba(192, 200, 208, 0.45);
  color: var(--gray-700);
  line-height: 1.6;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.pgg-material-table td:first-child,
.pgg-material-price {
  color: var(--sapphire);
  font-weight: 800;
}

.pgg-material-note {
  max-width: 1000px;
  margin: 18px auto 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.pgg-material-cta-wrap {
  max-width: 1000px;
  margin: 24px auto 0;
}

.pgg-material-cta {
  display: inline-flex;
  justify-content: center;
  text-align: center;
}

.pgg-drivers {
  padding: 80px 0;
  background: var(--off-white);
}

.pgg-driver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.pgg-driver-card {
  padding: 22px;
  background: var(--white);
  border-top: 3px solid var(--chrome-solid);
  border-radius: 8px;
  color: var(--gray-700);
  line-height: 1.55;
}

.pgg-driver-card::before {
  display: block;
  margin-bottom: 8px;
  color: var(--chrome-solid);
  content: '◆';
  font-size: 0.8rem;
}

.pgg-includes {
  padding: 80px 0;
  background: var(--sapphire);
  color: var(--white);
}

.pgg-includes .pgs-section-title {
  color: var(--white);
}

.pgg-includes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 36px;
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
}

.pgg-includes-list li {
  position: relative;
  padding: 0 0 0 30px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.pgg-includes-list li::before {
  position: absolute;
  top: 0.25em;
  left: 0;
  color: var(--chrome-solid);
  content: '✓';
  font-weight: 800;
}

.pgg-comparison {
  padding: 80px 0;
  background: var(--off-white);
}

.pgg-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.pgg-comparison-card {
  padding: 26px;
  background: var(--white);
  border-radius: 10px;
  border-bottom: 3px solid var(--chrome-solid);
}

.pgg-comparison-label {
  margin-bottom: 8px;
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pgg-comparison-value {
  margin-bottom: 12px;
  color: var(--sapphire);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.pgg-comparison-text {
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.pgg-faq {
  padding: 80px 0;
  background: var(--white);
}

.pgg-faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid rgba(192, 200, 208, 0.65);
}

.pgg-faq-item {
  border-bottom: 1px solid rgba(192, 200, 208, 0.65);
}

.pgg-faq-question {
  display: block;
  width: 100%;
  padding: 20px 42px 20px 0;
  position: relative;
  color: var(--sapphire);
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}

.pgg-faq-question::-webkit-details-marker { display: none; }

.pgg-faq-question::after {
  position: absolute;
  top: 19px;
  right: 4px;
  color: var(--chrome-solid);
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
}

.pgg-faq-item[open] .pgg-faq-question::after { content: '−'; }

.pgg-faq-answer {
  max-width: 720px;
  padding: 0 42px 22px 0;
  color: var(--gray-700);
  line-height: 1.7;
}

.pgg-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .pgg-pricing,
  .pgg-materials,
  .pgg-drivers,
  .pgg-includes,
  .pgg-comparison,
  .pgg-faq { padding: 64px 0; }

  .pgg-includes-list,
  .pgg-comparison-grid {
    grid-template-columns: 1fr;
  }

  .pgg-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pgg-cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  .pgg-material-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }

  .pgg-material-table,
  .pgg-material-table tbody,
  .pgg-material-table tr,
  .pgg-material-table td {
    display: block;
    width: 100%;
  }

  .pgg-material-table tr + tr {
    border-top: 1px solid rgba(192, 200, 208, 0.65);
  }

  .pgg-material-table td {
    border-top: 0;
    padding: 14px 18px;
  }

  .pgg-material-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--gray-500);
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .pgg-material-cta {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .pgg-pricing-table th,
  .pgg-pricing-table td {
    padding: 14px;
  }

  .pgg-pricing-range {
    white-space: normal;
  }
}
