/* FDR public services editorial v1.
   Scoped to catalogue/detail presentation; service visibility and booking logic remain server-side. */

.fdr-services-v1 {
  --svc-navy: #0f3342;
  --svc-petrol: #145064;
  --svc-blue: #1976d2;
  --svc-sky: #edf7fb;
  --svc-ivory: #fbf8f2;
  --svc-paper: #ffffff;
  --svc-ink: #112f3a;
  --svc-muted: #607784;
  --svc-line: #d9e6eb;
  --svc-soft-line: #e9f0f2;
  color: var(--svc-ink);
  background: #fff;
}

.fdr-services-v1 *,
.fdr-services-v1 *::before,
.fdr-services-v1 *::after { box-sizing: border-box; }

.fdr-services-shell {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

.fdr-services-eyebrow {
  margin: 0;
  color: var(--svc-petrol);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fdr-services-hero {
  padding: 48px 0 42px;
  border-bottom: 1px solid var(--svc-line);
  background:
    radial-gradient(circle at 88% 0%, rgba(87, 197, 229, .18), transparent 24rem),
    linear-gradient(180deg, #f7fbfc 0%, #fff 100%);
}

.fdr-services-back {
  display: inline-flex;
  color: var(--svc-petrol);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.fdr-services-hero-grid {
  display: grid;
  gap: 28px;
  align-items: end;
  margin-top: 28px;
}

.fdr-services-hero h1,
.fdr-service-detail-hero h1 {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--svc-ink);
  font-size: clamp(2.7rem, 8vw, 5.35rem);
  font-weight: 950;
  line-height: .93;
  letter-spacing: -.06em;
}

.fdr-services-hero-copy,
.fdr-service-detail-copy {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--svc-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.fdr-services-hero-note {
  padding: 22px;
  border: 1px solid var(--svc-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 47, 58, .06);
}

.fdr-services-hero-note strong {
  display: block;
  margin-top: 7px;
  color: var(--svc-ink);
  font-size: 1.08rem;
}

.fdr-services-hero-note p {
  margin: 8px 0 0;
  color: var(--svc-muted);
  font-size: .78rem;
  line-height: 1.6;
}

.fdr-services-meta-bar {
  border-bottom: 1px solid var(--svc-line);
  background: var(--svc-ivory);
}

.fdr-services-meta-grid {
  display: grid;
  gap: 1px;
  background: var(--svc-line);
}

.fdr-services-meta-item {
  min-height: 96px;
  padding: 18px 20px;
  background: var(--svc-ivory);
}

.fdr-services-meta-item small {
  color: var(--svc-petrol);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fdr-services-meta-item strong {
  display: block;
  margin-top: 6px;
  color: var(--svc-ink);
  font-size: .9rem;
}

.fdr-services-meta-item span {
  display: block;
  margin-top: 4px;
  color: var(--svc-muted);
  font-size: .7rem;
  line-height: 1.45;
}

.fdr-services-catalogue {
  padding: 54px 0 70px;
}

.fdr-services-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.fdr-services-section-head h2 {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--svc-ink);
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.fdr-services-count {
  color: var(--svc-muted);
  font-size: .75rem;
  font-weight: 800;
}

.fdr-services-grid {
  display: grid;
  gap: 16px;
}

.fdr-service-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--svc-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 47, 58, .055);
}

.fdr-service-card::after {
  content: attr(data-card-number);
  position: absolute;
  right: -6px;
  top: -22px;
  color: rgba(20, 80, 100, .055);
  font-size: 8rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.08em;
}

.fdr-service-card-top,
.fdr-service-card-body,
.fdr-service-card-actions {
  position: relative;
  z-index: 1;
}

.fdr-service-card-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.fdr-service-card-index,
.fdr-service-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 900;
}

.fdr-service-card-index {
  background: var(--svc-navy);
  color: #fff;
  letter-spacing: .08em;
}

.fdr-service-chip {
  border: 1px solid var(--svc-line);
  background: var(--svc-ivory);
  color: var(--svc-muted);
}

.fdr-service-card-body {
  margin-top: 54px;
}

.fdr-service-card h3 {
  max-width: 310px;
  margin: 0;
  color: var(--svc-ink);
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.fdr-service-card p {
  margin: 12px 0 0;
  color: var(--svc-muted);
  font-size: .82rem;
  line-height: 1.65;
}

.fdr-service-price {
  display: inline-flex;
  margin-top: 14px;
  color: var(--svc-petrol);
  font-size: .76rem;
  font-weight: 900;
}

.fdr-service-card-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.fdr-services-primary,
.fdr-services-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 17px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.fdr-services-primary {
  border: 1px solid var(--svc-blue);
  background: var(--svc-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 118, 210, .16);
}

.fdr-services-secondary {
  border: 1px solid var(--svc-line);
  background: #fff;
  color: var(--svc-ink);
}

.fdr-services-empty {
  padding: 42px 24px;
  border: 1px dashed #c7d7dc;
  border-radius: 28px;
  background: var(--svc-ivory);
  text-align: center;
}

.fdr-services-empty strong {
  display: block;
  color: var(--svc-ink);
  font-size: 1.2rem;
}

.fdr-services-empty p {
  margin: 8px 0 0;
  color: var(--svc-muted);
  font-size: .8rem;
}

.fdr-services-help {
  padding: 58px 0;
  border-top: 1px solid var(--svc-line);
  background: var(--svc-sky);
}

.fdr-services-help-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.fdr-services-help h2 {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--svc-ink);
  font-size: clamp(2rem, 6vw, 3.45rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.fdr-services-help p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--svc-muted);
  line-height: 1.65;
}

.fdr-services-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* Detail */
.fdr-service-detail-hero {
  padding: 46px 0 54px;
  border-bottom: 1px solid var(--svc-line);
  background:
    radial-gradient(circle at 88% 5%, rgba(87, 197, 229, .18), transparent 24rem),
    linear-gradient(180deg, #f8fbfc 0%, #fff 100%);
}

.fdr-service-detail-grid {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.fdr-service-detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.fdr-service-detail-fact {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--svc-line);
  border-radius: 13px;
  background: #fff;
  color: var(--svc-muted);
  font-size: .72rem;
  font-weight: 850;
}

.fdr-service-next-card {
  padding: 24px;
  border: 1px solid var(--svc-line);
  border-radius: 26px;
  background: var(--svc-navy);
  color: #fff;
  box-shadow: 0 20px 48px rgba(15, 51, 66, .16);
}

.fdr-service-next-card .fdr-services-eyebrow { color: #8ed7e8; }
.fdr-service-next-card h2 { margin: 8px 0 0; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.04em; }
.fdr-service-next-card p { margin: 11px 0 0; color: rgba(255,255,255,.7); font-size: .8rem; line-height: 1.65; }
.fdr-service-next-card .fdr-services-primary { width: 100%; margin-top: 18px; border-color: #fff; background: #fff; color: var(--svc-navy); box-shadow: none; }

.fdr-service-detail-body {
  padding: 50px 0 70px;
}

.fdr-service-detail-columns {
  display: grid;
  gap: 16px;
}

.fdr-service-info-card {
  padding: 24px;
  border: 1px solid var(--svc-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17,47,58,.05);
}

.fdr-service-info-card.soft { background: var(--svc-ivory); box-shadow: none; }
.fdr-service-info-card h2 { margin: 0; color: var(--svc-ink); font-size: 1.35rem; letter-spacing: -.03em; }
.fdr-service-info-card p { margin: 12px 0 0; color: var(--svc-muted); font-size: .8rem; line-height: 1.65; }

.fdr-service-info-list {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.fdr-service-info-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--svc-muted);
  font-size: .79rem;
  line-height: 1.6;
}

.fdr-service-info-list li::before {
  content: "✓";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #eaf7ef;
  color: #397649;
  font-weight: 950;
}

.fdr-service-arrival {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--svc-line);
  border-radius: 16px;
  background: #fff;
}

.fdr-service-arrival strong { color: var(--svc-ink); font-size: .78rem; }
.fdr-service-arrival p { margin-top: 6px; }

.fdr-services-v1 a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .fdr-services-meta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fdr-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fdr-service-card-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fdr-service-detail-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .fdr-services-hero-grid,
  .fdr-service-detail-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  }

  .fdr-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fdr-services-help-grid { grid-template-columns: minmax(0, 1.3fr) auto; }
}
