/* ============================================================
   SERVICES & SECTOR PAGES — intro, blocks, accordions, chips
   ============================================================ */

/* ============================================================
   STANDARDS & CONTROLS — "How We Work" block below services grid
   ============================================================ */
.standards__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 980px;
}

.standards__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink, #1a2434);
}

.standards__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.standards__list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .standards__list { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES PAGE v2 — intro, quick-nav, big blocks, accordions
   ============================================================ */

/* Intro + jump links */
.svc-intro__lead {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
}

.svc-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}
.svc-quicknav__link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(15,31,56,0.16);
  border-radius: 999px;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.svc-quicknav__link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Big service blocks */
.svc-block {
  padding: 4.5rem 0;
  scroll-margin-top: 6rem;
}

.svc-block__head {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.svc-block__head .divider { margin-left: auto; margin-right: auto; }

/* Modifier kept for markup compatibility; the base .eyebrow (base.css) already
   resolves to --gold-ink on light and --gold on dark, so this matches. */
.eyebrow--gold { color: var(--gold-ink); }

.svc-block__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.2;
  color: var(--navy);
}
.svc-block--flagship .svc-block__title { font-size: clamp(1.8rem, 4.4vw, 2.4rem); }

.svc-block__lead {
  margin-top: 1rem;
  color: var(--gray-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* In-copy links (leads + accordion bodies) — otherwise they inherit the body
   colour with no underline and are invisible as links. */
.svc-block__lead a,
.svc-item__body a,
.svc-step__text a,
.standards .section-lead a {
  color: var(--gold-ink);   /* underlined links on white — --gold-dark is only 2.96:1 */
  text-decoration: underline;
  text-underline-offset: 3px;
}
.svc-block__lead a:hover,
.svc-item__body a:hover,
.svc-step__text a:hover,
.standards .section-lead a:hover { color: var(--navy); }

/* Accordion (native <details>, no JS) */
.svc-accordion {
  max-width: 880px;
  margin: 0 auto;
}

.svc-item {
  border-bottom: 1px solid rgba(15,31,56,0.12);
}
.svc-item:first-child { border-top: 1px solid rgba(15,31,56,0.12); }

.svc-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.15rem 2.75rem 1.15rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  transition: color var(--ease);
}
.svc-item summary::-webkit-details-marker { display: none; }
.svc-item summary:hover { color: var(--gold-dark); }

.svc-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform var(--ease);
}
.svc-item[open] summary::after { content: '\2212'; } /* minus */

.svc-item__body {
  padding: 0 1rem 1.4rem 0;
}
.svc-item__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.svc-item__body li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3a4658;
}
.svc-item__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.svc-item__body strong { color: var(--navy); }

@media (max-width: 768px) {
  .svc-block { padding: 3.25rem 0; }
  .svc-item summary { font-size: 1.1rem; }
}

/* Photo figure inside a svc-block — sits below the lead at accordion width.
   Reuses the shared .photo-wrap; the image keeps its natural aspect. */
.svc-figure {
  max-width: 880px;
  margin: 2.5rem auto 0;
}
.svc-figure .photo-wrap img { height: auto; }
.svc-figure__caption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.6;
  text-align: center;
}

/* Numbered process steps ("how an attendance runs"). */
.svc-steps {
  max-width: 980px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.svc-step {
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.svc-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(240,165,0,0.14);
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.svc-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.svc-step__text {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.6;
}
@media (max-width: 900px) { .svc-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-steps { grid-template-columns: 1fr; } }

/* P&I Correspondent Network — country chips + (future) club logos */
.svc-correspondents {
  max-width: 880px;
  margin: 2.5rem auto 0;
  text-align: center;
}
.svc-correspondents__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}
.svc-correspondents__text {
  margin: 0.6rem auto 1.5rem;
  max-width: 60ch;
  color: var(--gray-mid);
  font-size: 1rem;
  line-height: 1.7;
}
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-chip {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(15,31,56,0.16);
  border-radius: 999px;
  background: var(--white);
}
/* Linked chips (clubs / organisations) — whole chip is the click target. */
a.svc-chip {
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease),
              box-shadow var(--ease), transform var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  a.svc-chip:hover {
    border-color: rgba(240,165,0,0.6);
    box-shadow: 0 4px 14px rgba(15,31,56,0.10);
    transform: translateY(-1px);
  }
}
a.svc-chip:active { transform: translateY(0); }

/* DRI flagship — stats band */
.dri-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  max-width: 880px;
  margin: 0 auto 2.75rem;
  padding-bottom: 0.5rem;
}
.dri-stat { text-align: center; min-width: 130px; }
.dri-stat__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1;
  color: var(--gold-ink);   /* on white — brand --gold fails even the 3:1 large-text bar */
}
.dri-stat__label {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* The services sector grid uses the shared .sector-card — see base.css §8b. */

/* P&I club logo wall */
.club-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.club-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-height: 84px;
}
.club-tile img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.club-tile--text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}
