/* ======================================================================
   partnerfaq.css · RunLaundry FAQ page (light‑mode‑only edition)
   ======================================================================= */

/*──────── 0) BRAND & SURFACE TOKENS ───────────────────────────────────*/
:root {
  --primary       : #5563ff;
  --radius-md     : 8px;
  --radius-lg     : 12px;

  --surface-body  : #f7fbff;
  --surface-card  : #ffffff;
  --surface-nav   : #f1f5f9;
  --shadow-soft   : 0 2px 8px rgba(0,0,0,.06);

  --text-head     : #0f172a;  /* gray‑900 */
  --text-body     : #334155;  /* gray‑700 */
  --text-muted    : #64748b;  /* gray‑600 */
}

/*──────── 1) GLOBAL LAYOUT ────────────────────────────────────────────*/
body.partnerprogram {
  background: var(--surface-body);
}
.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1rem;
}

/*──────── 2) HERO ────────────────────────────────────────────────────*/
.faq-hero {
  padding: 6rem 0 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #a5b9ff 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  text-align: center;
}
.faq-hero .hero-content {
  max-width: 620px;
  margin: 0 auto;
}
.faq-hero h1 {
  font-size: 3.25rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: .4rem;
}
.faq-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.9);
}
@media (max-width: 600px) {
  .faq-hero {
    padding: 4rem 0 1.5rem;
  }
  .faq-hero h1 {
    font-size: 2.25rem;
  }
  .faq-hero p  {
    font-size: 1rem;
  }
}

/*──────── 3) CONTROLS PANEL ──────────────────────────────────────────*/
.faq-controls {
  position: sticky;
  top: var(--header-height, 72px);
  background: var(--surface-nav);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  flex-wrap: wrap;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}

/* Keyword search */
.faq-search {
  position: relative;
  flex: 1;
  max-width: 360px;
  margin: 0;
}
.faq-search input {
  width: 100%;
  padding: .65rem 3rem;
  border: 1px solid #dbe2ea;
  border-radius: 2rem;
  background: #ffffff;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
}
.faq-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(85,99,255,.15);
}
.faq-search i.bx-search {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
}
.faq-search .clear-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
}

/* Quick‑links nav (desktop) */
.faq-toc {
  flex: 2;
  display: block;
}
.faq-toc ul {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
}
.faq-toc a {
  font: 500 .95rem/1 var(--font-body, 'Inter', sans-serif);
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .15s;
}
.faq-toc a:hover,
.faq-toc a:focus {
  color: var(--primary);
}

/* Category select (mobile) */
.faq-select { display: none; }

/*──────── responsive swaps ───────────────────────────────────────────*/
@media (max-width: 640px) {
  .faq-toc { display: none; }

  .faq-select{
    display:block;
    flex:1;
    width:100%;
    padding:.65rem 2.5rem .65rem 1rem;
    border:1px solid #dbe2ea;
    border-radius:2rem;
    font:500 1rem/1 var(--font-body,'Inter',sans-serif);
    background:#ffffff;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='12' height='12'>\
<path d='M4 6l4 4 4-4' fill='%2364748b'/>\
</svg>");
    background-repeat:no-repeat;
    background-position:right 1rem center;
    background-size:.75rem .75rem;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.05);
    transition:border-color .15s,box-shadow .15s;
    margin:0;
  }
  .faq-select:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(85,99,255,.15);
  }
}
@media (min-width: 641px) {
  .faq-select { display: none; }
}

/*──────── 4) CATEGORY HEADINGS ─────────────────────────────────────*/
.faq-category {
  margin: 3rem 0 1.5rem;
  padding-left: .5rem;
  border-left: 4px solid var(--primary);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-head);
}

/*──────── 5) ACCORDION BLOCK ───────────────────────────────────────*/
.faq {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  margin: 3rem 0 6rem;
}
.faq-item {
  border: 1px solid #eceff5;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  margin-bottom: 1rem;
  transition: box-shadow .25s;
}
.faq-item[open] { box-shadow: var(--shadow-soft); }

.faq-item > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-weight: 600;
  color: var(--text-head);
  cursor: pointer;
  transition: background .2s;
}
.faq-item > summary:hover,
.faq-item > summary:focus {
  background: rgba(85,99,255,.06);
}
.faq-item > summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "";
  width: .7rem;
  height: .7rem;
  border: 2px solid currentColor;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  transition: transform .25s;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); }

.faq-item > p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.55;
  transition: max-height .3s ease, opacity .3s ease;
}
.faq-item[open] > p {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

/*──────── responsive accordion ──────────────────────────────────────*/
@media (max-width: 600px) {
  .faq-item > summary { padding: 1rem 1.25rem; }
  .faq-category      { font-size: 1.25rem; }
}

/*----------------------------------------------
  Center controls without shrinking the bar
----------------------------------------------*/
@media (min-width: 768px){
  .faq-controls{
    margin:0;
    justify-content:center;
  }
  .faq-controls > *{
    flex:0 0 auto;
  }
  .faq-toc ul{
    justify-content:center;
  }
}

/* Sticky Apply‑Now pill */
#applyNowBar .btn-apply{
  position:relative;
  display:inline-block;
  margin-bottom:12px;
  padding:.75rem 2rem;
  border:none;
  border-radius:999px;
  background:#3d46ff;
  color:#fff;
  font:600 1rem/1 'Inter',sans-serif;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.12);

  /* 🔽 NEW ‑‑ remove underline */
  text-decoration:none;
}




/* ───────── 5) ACCORDION BLOCK ───────────────────────────────────────*/

/* before */
.faq-item > p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.55;
  transition: max-height .3s ease, opacity .3s ease;
}

/* after: add some top padding */
.faq-item > p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0.75rem 1.5rem 0;   /* ← 0.75rem top, 1.5rem sides, 0 bottom */
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.55;
  transition: max-height .3s ease, opacity .3s ease;
}

.faq-item[open] > p {
  max-height: 500px;
  opacity: 1;
  /* restore bottom padding when open */
  padding: 0.75rem 1.5rem 1.25rem; /* top, sides, bottom */
}


/*──────────────────────────────────────────────────────────────
  FAQ ▸ Ramp‑up list  – neat indent + brand‑blue bullets
──────────────────────────────────────────────────────────────*/
.faq-item ul {
  list-style: none;          /* remove default bullets          */
  margin: 0 0 1rem 0;        /* keep list inside the card copy  */
  padding-left: 3.25rem;     /* INDENT the whole list           */
}

.faq-item ul li {
  position: relative;
  margin-bottom: .35rem;     /* even vertical spacing            */
  line-height: 1.45;
}

.faq-item ul li::before {
  content: "";
  position: absolute;
  left: -1.25rem;            /* shift dot into that indent       */
  top: .6em;                 /* vertically centre bullet         */
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--primary);/* brand‑blue bullet                */
}

/* 1) Universal body padding inside each FAQ answer  */
.faq-item > *:not(summary) {
  padding-right: 1.5rem;            /* ✅ matches existing left inset */
}

/* 2) Bullet lists – keep extra left indent, add right inset */
.faq-item ul {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0 1.5rem 0 3.25rem;      /*     ↑ right   ↑ left  */
}

/* bullets stay centred thanks to the absolute ::before dot */
