/* ─── FAQs Page Custom Styles ──────────────────────────────────────── */

/* ── Page sections ── */
.faq-section {
  padding: 80px 0 60px;
}

.faq-section-alt {
  padding: 60px 0 80px;
  background: #f9f7f6;
}

/* ── Section eyebrow (reuse from about.css pattern) ── */
.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.faq-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #CB6015;
  flex-shrink: 0;
}
.faq-eyebrow span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #CB6015;
}

/* ── Section heading ── */
.faq-heading {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 12px;
}
.faq-heading .accent-blue  { color: #0047BB; }
.faq-heading .accent-orange { color: #CB6015; }

.faq-intro {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 640px;
}

/* ── Accordion ── */
.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #e0ddd9;
  background: transparent;
  border-radius: 0 !important;
}
.faq-accordion .accordion-item:first-child {
  border-top: 1px solid #e0ddd9;
}

.faq-accordion .accordion-button {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: transparent;
  padding: 22px 0;
  box-shadow: none;
  gap: 16px;
  align-items: flex-start;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: #0047BB;
  background: transparent;
  box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
  outline: none;
}
.faq-accordion .accordion-button::after {
  display: none; /* hide Bootstrap chevron; we use a custom one */
}

/* Question number badge */
.faq-accordion .accordion-button .faq-num {
  font-family: 'Teko', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  color: #CB6015;
  min-width: 36px;
  flex-shrink: 0;
  padding-top: 2px;
}
.faq-accordion .accordion-button:not(.collapsed) .faq-num {
  color: #0047BB;
}

/* Custom +/- toggle icon */
.faq-accordion .accordion-button .faq-toggle {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid #CB6015;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  color: #CB6015;
  font-size: 1rem;
  line-height: 1;
}
.faq-accordion .accordion-button:not(.collapsed) .faq-toggle {
  background: #0047BB;
  border-color: #0047BB;
  color: #fff;
  transform: rotate(45deg);
}

.faq-accordion .accordion-body {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  line-height: 1.85;
  color: #3a3a3a;
  padding: 0 0 24px 52px;
}
.faq-accordion .accordion-body p {
  margin-bottom: 14px;
}
.faq-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}
.faq-accordion .accordion-body ul,
.faq-accordion .accordion-body ol {
  padding-left: 0;
  list-style: none;
  margin-bottom: 14px;
}
.faq-accordion .accordion-body ul li,
.faq-accordion .accordion-body ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: #3a3a3a;
}
.faq-accordion .accordion-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 3px;
  background: #CB6015;
  border-radius: 2px;
}
.faq-accordion .accordion-body ol {
  counter-reset: faq-ol;
}
.faq-accordion .accordion-body ol li {
  counter-increment: faq-ol;
}
.faq-accordion .accordion-body ol li::before {
  content: counter(faq-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #0047BB;
  font-size: 0.92rem;
}

/* Inline callout pills inside answers */
.faq-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-right: 4px;
}
.faq-tag-blue   { background: #0047BB; color: #fff; }
.faq-tag-orange { background: #CB6015; color: #fff; }

/* ── Stone Selection Table ── */
.faq-table-section {
  padding: 70px 0;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}
.faq-table-section::before {
  content: 'STONE';
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  font-family: 'Teko', sans-serif;
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.faq-table-section .faq-eyebrow span { color: #CB6015; }
.faq-table-section .faq-eyebrow::before { background: #CB6015; }

.faq-table-section .faq-heading {
  color: #ffffff;
}
.faq-table-section .faq-heading .accent-orange { color: #CB6015; }

.faq-selection-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.faq-selection-table thead tr {
  border-bottom: 2px solid #CB6015;
}
.faq-selection-table thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CB6015;
  padding: 12px 16px 12px 0;
  text-align: left;
}
.faq-selection-table thead th:last-child {
  padding-right: 0;
}

.faq-selection-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.faq-selection-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}
.faq-selection-table tbody td {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  padding: 18px 16px 18px 0;
  vertical-align: top;
  line-height: 1.5;
}
.faq-selection-table tbody td:last-child {
  padding-right: 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}
.faq-selection-table tbody td:first-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.faq-selection-table .stone-name {
  font-family: 'Teko', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  display: block;
  line-height: 1.1;
}

/* ── Ordering Checklist ── */
.faq-checklist-section {
  padding: 70px 0 80px;
}
.faq-checklist-section .faq-heading {
  margin-bottom: 40px;
}
.faq-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.faq-step-num {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #e8e4df;
  flex-shrink: 0;
  min-width: 56px;
  text-align: right;
  transition: color 0.3s;
}
.faq-step:hover .faq-step-num {
  color: #CB6015;
}
.faq-step-body {
  border-left: 3px solid #e0ddd9;
  padding-left: 24px;
  padding-top: 4px;
  transition: border-color 0.3s;
}
.faq-step:hover .faq-step-body {
  border-color: #0047BB;
}
.faq-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 6px;
}
.faq-step-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}
.faq-step-desc ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.faq-step-desc ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}
.faq-step-desc ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #CB6015;
  font-weight: 700;
}

/* ── Formula callout card ── */
.faq-formula-card {
  background: #f0f4ff;
  border-left: 4px solid #0047BB;
  padding: 24px 28px;
  margin-top: 40px;
}
.faq-formula-card .formula-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0047BB;
  margin-bottom: 8px;
}
.faq-formula-card .formula-text {
  font-family: 'Teko', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.2;
}
.faq-formula-card .formula-note {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: #75787B;
  margin-top: 6px;
  margin-bottom: 0;
}

/* ── CTA strip ── */
.faq-cta-strip {
  background: #CB6015;
  padding: 48px 0;
}
.faq-cta-strip h3 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.faq-cta-strip p {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}
.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.faq-cta-btn:hover {
  background: #fff;
  color: #CB6015;
}
.faq-cta-btn:visited { color: #fff; }
.faq-cta-btn:hover:visited { color: #CB6015; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .faq-accordion .accordion-body {
    padding-left: 0;
  }
  .faq-step-num {
    font-size: 2.2rem;
    min-width: 40px;
  }
  .faq-selection-table thead th,
  .faq-selection-table tbody td {
    font-size: 0.82rem;
    padding-right: 10px;
  }
}
