/* ============================================================
   sylvara CHARMS — pages.css  v2.0  (FIXED)
   Shared styles for About, Contact, FAQ, Bulk Order pages
   ============================================================ */

/* ── PAGE HERO ── */
.page-hero {
  padding: 72px var(--side-pad) 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(192, 192, 192, 0.05) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--silver-dark) 40%,
    var(--silver-dark) 60%,
    transparent
  );
  opacity: 0.4;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--silver-dim);
  font-family: var(--f-body);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  color: var(--silver-bright);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--shimmer);
  font-weight: 300;
}
.page-hero p {
  font-size: 15px;
  color: var(--silver-dim);
  line-height: 1.75;
  max-width: 520px;
}

/* ── SECTION WRAPPER ── */
.page-section {
  padding: 72px var(--side-pad);
  max-width: 1304px; /* max-w + side-pad*2 */
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}
.page-section-dark {
  background: var(--black-mid);
}
.page-section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* ── HEADINGS ── */
.section-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--silver-dim);
  font-family: var(--f-body);
  margin-bottom: 10px;
  text-align: center;
}
.section-title {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--silver-bright);
  text-align: center;
  letter-spacing: 0.01em;
  margin-bottom: 48px;
}
.section-title em {
  font-style: italic;
  color: var(--shimmer);
  font-weight: 300;
}

/* ── STATS ROW ── */
.stats-row {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  box-sizing: border-box;
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--silver-bright);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  font-family: var(--f-body);
  font-weight: 500;
}

/* ── VALUE CARDS ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 36px 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.value-card:hover {
  border-color: var(--silver-dark);
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.08);
}
.value-card-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--silver);
}
.value-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--silver-bright);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 13px;
  color: var(--silver-dim);
  line-height: 1.75;
}

/* ── CTA STRIP ── */
.cta-strip {
  padding: 72px var(--side-pad);
  text-align: center;
  background: var(--black-mid);
  border-top: 1px solid var(--border);
}
.cta-strip h2 {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--silver-bright);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.cta-strip h2 em {
  font-style: italic;
  color: var(--shimmer);
  font-weight: 300;
}
.cta-strip p {
  font-size: 14px;
  color: var(--silver-dim);
  margin-bottom: 28px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--silver);
  color: var(--black);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: background var(--t);
}
.btn-primary:hover {
  background: var(--silver-bright);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--silver-mid);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-light);
  transition:
    color var(--t),
    border-color var(--t);
}
.btn-ghost:hover {
  color: var(--silver);
  border-color: var(--silver-dark);
}

/* ── CONTACT LAYOUT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: var(--r-md);
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.contact-info-card:hover {
  border-color: var(--silver-dark);
  box-shadow: 0 0 16px rgba(192, 192, 192, 0.07);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--silver);
}
.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.contact-info-card h4 {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--silver-mid);
  font-family: var(--f-body);
}
.contact-info-card p {
  font-size: 14px;
  color: var(--silver-dim);
  line-height: 1.65;
}
.contact-info-card p a {
  color: var(--silver);
  transition: color var(--t);
}
.contact-info-card p a:hover {
  color: var(--silver-bright);
}
.contact-hours {
  font-size: 11px;
  color: var(--silver-dark) !important;
  margin-top: 3px !important;
}

/* ── CONTACT FORM CARD ── */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--r-md);
}
.contact-form-card h2 {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--silver-bright);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.contact-form-card .subtitle {
  font-size: 14px;
  color: var(--silver-dim);
  margin-bottom: 28px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── FORM ELEMENTS ── */
.form-group {
  margin-bottom: 18px;
}
.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--silver-dim);
  font-family: var(--f-body);
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-light);
  background: var(--surface-2);
  color: var(--silver-bright);
  font-family: var(--f-body);
  font-size: 14px;
  outline: none;
  border-radius: var(--r-sm);
  transition:
    border-color var(--t),
    box-shadow var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--silver-dark);
  box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.08);
}
.form-input::placeholder {
  color: var(--silver-dark);
  font-weight: 300;
}
textarea.form-input {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C6C6C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
select.form-input option {
  background: var(--surface-2);
  color: var(--silver-bright);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--silver);
  color: var(--black);
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--t);
}
.form-submit:hover {
  background: var(--silver-bright);
}
.form-submit svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ── FAQ ── */
.faq-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.faq-tab {
  padding: 13px 24px;
  background: none;
  border: none;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--silver-dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--t);
}
.faq-tab.active,
.faq-tab:hover {
  color: var(--silver);
  border-bottom-color: var(--silver);
}
.faq-section {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--silver-bright);
  cursor: pointer;
  gap: 16px;
  font-family: var(--f-body);
  transition: color var(--t);
  user-select: none;
}
.faq-question:hover {
  color: var(--silver);
}
.faq-question svg {
  width: 18px;
  height: 18px;
  stroke: var(--silver-dim);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition:
    transform var(--t),
    stroke var(--t);
}
.faq-item.open .faq-question {
  color: var(--silver);
}
.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--silver);
}
.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--silver-dim);
  line-height: 1.85;
  font-weight: 300;
}
.faq-answer a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-item.open .faq-answer {
  display: block;
}

/* Size table */
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.size-table thead tr {
  background: var(--silver);
}
.size-table thead th {
  padding: 11px 16px;
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--black);
  font-family: var(--f-body);
}
.size-table tbody tr {
  border-bottom: 1px solid var(--border);
}
.size-table tbody tr:last-child {
  border-bottom: none;
}
.size-table tbody tr:nth-child(even) {
  background: var(--surface-2);
}
.size-table td {
  padding: 11px 16px;
  color: var(--silver-dim);
  font-size: 13px;
}
.size-table tbody td:first-child {
  color: var(--silver);
  font-weight: 600;
  font-family: var(--f-mono);
}

/* ── SHARED BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: all var(--t);
  text-decoration: none;
}
.btn-dark {
  background: var(--silver);
  color: var(--black);
}
.btn-dark:hover {
  background: var(--silver-bright);
}
.btn-outline {
  background: transparent;
  color: var(--silver-mid);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  color: var(--silver);
  border-color: var(--silver-dark);
}
.btn-block {
  width: 100%;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .page-section {
    padding: 56px 32px;
  }
  .page-hero {
    padding: 56px 32px 48px;
  }
  .cta-strip {
    padding: 56px 32px;
  }
}

@media (max-width: 900px) {
  .page-hero {
    padding: 48px 20px 40px;
  }
  .page-section {
    padding: 48px 20px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-form-card {
    padding: 24px 20px;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stats-row {
    flex-wrap: wrap;
  }
  .stat-item {
    min-width: 50%;
  }
  /* Keep right border on even items, remove on last */
  .stat-item:nth-child(even) {
    border-right: none;
  }
  .stat-item {
    border-bottom: 1px solid var(--border);
  }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .faq-tabs {
    gap: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .faq-tab {
    padding: 11px 16px;
    font-size: 10px;
    flex-shrink: 0;
  }
  .cta-strip {
    padding: 48px 20px;
  }
  .cta-strip h2 {
    font-size: 28px;
  }
  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 40px 16px 36px;
  }
  .page-hero h1 {
    font-size: clamp(28px, 8vw, 44px);
  }
  .page-section {
    padding: 36px 16px;
  }
  .section-title {
    font-size: 26px;
    margin-bottom: 28px;
  }
  .cta-strip h2 {
    font-size: 24px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stat-item {
    min-width: 50%;
  }
  .contact-form-card {
    padding: 20px 16px;
  }
  .contact-form-card h2 {
    font-size: 24px;
  }
  .form-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 36px 16px 32px;
  }
  .stat-item {
    min-width: 100%;
    border-right: none !important;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}
