/* ============================================================
   SERVICES PAGE — full service grid on dark background
   ============================================================ */
.services {
  position: relative;
  background-size: cover;
  background-position: center;
}

.services__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, 0.82);
}

.services .container {
  position: relative;
  z-index: 1;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.service-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-card);
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.service-card:hover .service-card__image img { transform: scale(1.04); }

.service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,45,0.3);
}

.service-card__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__number {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.service-card__item {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.service-card__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================================
   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; }

.eyebrow--gold { color: var(--gold); }

.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;
}

/* 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; }
}

/* 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);
}
.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);
}

/* Services overview — sector cards (light theme) */
.svc-sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.svc-sector-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.svc-sector-card:hover {
  border-color: rgba(240,165,0,0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,31,56,0.08);
}
.svc-sector-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.svc-sector-card__desc {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.55;
  flex: 1;
}
.svc-sector-card__link {
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* 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;
}
