:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #162033;
  --muted: #667085;
  --border: #d8dee9;
  --accent: #25328f;
  --accent-2: #1b246d;
  --accent-warm: #ffb020;
  --accent-warm-soft: #fff2cc;
  --ok: #0f7b4f;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 35%, #ffffff 100%);
  color: var(--text);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-2);
}

.site-header {
  padding: 18px 20px;
}

.site-nav {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  color: var(--text);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav-links .nav-cta {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
}

.info-hero {
  padding: 58px 20px 44px;
}

.info-hero-inner {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-warm-soft);
  color: #8a4b00;
  font-size: 13px;
  font-weight: 850;
}

.info-hero h1 {
  max-width: 820px;
  margin: 18px auto 0;
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.info-hero .lead {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(23, 59, 122, 0.22);
}

.button:hover {
  background: var(--accent-2);
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button-secondary:hover {
  background: #f8f9fc;
  color: var(--accent-2);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.summary-grid,
.step-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.content-section,
.next-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

.card-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-warm-soft);
  color: #8a4b00;
  font-weight: 900;
}

.card h2,
.card h3 {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.content-section {
  margin-top: 22px;
  padding: clamp(26px, 5vw, 46px);
}

.content-section h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.content-section > p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 52px;
  border-radius: 14px;
  background: #f8f9fc;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 15px;
  color: var(--ok);
  font-weight: 900;
}

.topic-grid {
  margin-top: 24px;
}

.topic-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
}

.topic-card:hover {
  border-color: var(--accent);
  color: var(--text);
}

.topic-card strong {
  display: block;
  font-size: 18px;
}

.topic-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.next-step {
  margin-top: 22px;
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(37, 50, 143, 0.98), rgba(27, 36, 109, 0.96));
  color: #ffffff;
}

.next-step h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: -0.04em;
}

.next-step p {
  max-width: 660px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.next-step .hero-actions {
  margin-top: 24px;
}

.next-step .button {
  background: #ffffff;
  color: var(--accent);
  box-shadow: none;
}

.site-footer {
  padding: 30px 20px 44px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-footer a {
  font-weight: 750;
}

@media (max-width: 820px) {
  .summary-grid,
  .step-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .site-nav-links a:not(.nav-cta) {
    display: none;
  }

  .info-hero {
    padding-top: 42px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 16px;
  }

  main {
    width: min(100% - 28px, 1080px);
  }

  .info-hero {
    padding-inline: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

/* Visual refinement for information hub */

.info-hero {
  padding: 38px 20px 30px;
}

.info-hero-inner {
  max-width: 860px;
}

.info-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  max-width: 760px;
}

.info-hero .lead {
  max-width: 650px;
  font-size: 17px;
}

.summary-grid {
  margin-top: 10px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  right: -36px;
  top: -40px;
  background: var(--accent-warm-soft);
  opacity: 0.7;
}

.card h2,
.card p,
.card-number {
  position: relative;
  z-index: 1;
}

.content-section {
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.content-section.compact-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.content-section.age-highlight {
  background:
    linear-gradient(145deg, #fff8df, #fffdf5);
  border-color: #f3d778;
}

.age-highlight strong {
  color: #8a4b00;
}

.journey {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.journey-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 16px;
  background: #f8f9fc;
}

.journey-step-number {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.journey-step h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.journey-step p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.quick-link {
  padding: 20px;
  border-radius: 16px;
  background: #f8f9fc;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}

.quick-link strong {
  display: block;
}

.quick-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.next-step {
  box-shadow: 0 18px 40px rgba(27, 36, 109, 0.24);
}

@media (max-width: 700px) {
  .quick-links {
    grid-template-columns: 1fr;
  }

  .journey-step {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .journey-step-number {
    width: 40px;
    height: 40px;
  }
}

/* Navigation refinement */

.site-nav {
  min-height: 48px;
}

.site-nav-links {
  gap: 10px;
}

.site-nav-links a:not(.nav-cta) {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 750;
}

.site-nav-links a:not(.nav-cta):hover,
.site-nav-links a[aria-current="page"] {
  background: rgba(37, 50, 143, 0.07);
  color: var(--accent);
}

.site-nav-links .nav-cta {
  padding: 10px 14px;
  border-radius: 11px;
}

.site-nav-links a:not(.nav-cta) {
  font-size: 15px;
  padding: 11px 13px;
}

.site-nav-links .nav-cta {
  font-size: 15px;
  padding: 11px 14px;
}

/* Provider presentation */

.provider-section {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(37, 50, 143, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(243, 246, 255, 0.98)
    );
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.provider-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.provider-section-header h2 {
  margin: 0;
  font-size: clamp(23px, 3.5vw, 31px);
  letter-spacing: -0.035em;
}

.provider-section-header p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.provider-list {
  display: grid;
  gap: 14px;
}

.provider-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

.provider-card-main {
  min-width: 0;
}

.provider-card-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.provider-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f7ef;
  color: var(--ok);
  font-size: 12px;
  font-weight: 850;
}

.provider-location {
  margin: 8px 0 0;
  color: var(--text);
  font-weight: 750;
}

.provider-details {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.provider-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.provider-action:hover {
  background: var(--accent-2);
  color: #ffffff;
}

@media (max-width: 700px) {
  .provider-section-header {
    display: block;
  }

  .provider-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .provider-action {
    width: 100%;
  }
}

/* Fulfillment mode presentation */

.fulfillment-callout {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 15px;
}

.fulfillment-icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 21px;
  font-weight: 900;
}

.fulfillment-content strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.fulfillment-content p {
  margin: 6px 0 0;
  line-height: 1.55;
}

/* direct_booking */

.fulfillment-direct {
  border: 1px solid #85d4b0;
  background:
    linear-gradient(135deg, #eafaf2 0%, #f8fffb 100%);
}

.fulfillment-direct .fulfillment-icon {
  background: #0f7b4f;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 123, 79, 0.22);
}

.fulfillment-direct .fulfillment-content strong {
  color: #075c3a;
}

.fulfillment-direct .fulfillment-content p {
  color: #386553;
}

/* partner_lead */

.fulfillment-partner {
  border: 1px solid #a8b5e8;
  background:
    linear-gradient(135deg, #eef1ff 0%, #fafbff 100%);
}

.fulfillment-partner .fulfillment-icon {
  background: var(--accent);
  color: #ffffff;
}

.fulfillment-partner .fulfillment-content strong {
  color: var(--accent-2);
}

.fulfillment-partner .fulfillment-content p {
  color: #4f5e85;
}

/* market_demand */

.fulfillment-demand {
  border: 1px solid #f0ca72;
  background:
    linear-gradient(135deg, #fff8df 0%, #fffdf5 100%);
}

.fulfillment-demand .fulfillment-icon {
  background: #9a5b00;
  color: #ffffff;
}

.fulfillment-demand .fulfillment-content strong {
  color: #744400;
}

.fulfillment-demand .fulfillment-content p {
  color: #755f31;
}

.provider-card .provider-action {
  align-self: end;
}

@media (max-width: 700px) {
  .fulfillment-callout {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .fulfillment-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Anchor navigation */

#sa-fungerar-det,
#korkortstillstand {
  scroll-margin-top: 24px;
}

/* Official next actions */

.official-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.official-action-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #ffffff;
}

.official-action-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.official-action-card > p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.official-action-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 13px;
  background: #f8f9fc;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.official-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.official-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 11px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.official-action-button:hover {
  background: var(--accent-2);
  color: #ffffff;
}

.official-action-button.secondary {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--accent);
}

.official-action-button.secondary:hover {
  background: #f8f9fc;
  color: var(--accent-2);
}

.local-options {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.local-options strong {
  display: block;
  font-size: 14px;
}

.local-options p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.local-option-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.local-option-links a {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #f8f9fc;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

#hitta-utbildning,
#myndighetssteg {
  scroll-margin-top: 24px;
}

@media (max-width: 760px) {
  .official-actions {
    grid-template-columns: 1fr;
  }

  .official-action-buttons {
    flex-direction: column;
  }

  .official-action-button {
    width: 100%;
  }
}

/* Driving licence journey and provider benefits */

.journey-forward {
  margin-top: 22px;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(37, 50, 143, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(
      135deg,
      rgba(238, 241, 255, 0.96),
      rgba(255, 255, 255, 0.98)
    );
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.journey-forward h2 {
  margin: 14px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.journey-forward > p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.licence-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 800;
}

.licence-path strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--accent);
  color: #ffffff;
}

.licence-path span {
  color: var(--muted);
}

.journey-forward small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.provider-benefit {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #f0ca72;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #fff8df 0%, #fffdf5 100%);
}

.provider-benefit-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8a4b00;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.provider-benefit strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.provider-benefit p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Dedicated driving permit guide */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.permit-steps .card {
  min-height: 165px;
}

.permit-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.permit-status-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

.permit-status-label {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.permit-status-card h3 {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.permit-status-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.permit-status-approved {
  border-color: #98d9ba;
  background: #f5fff9;
}

.permit-status-approved .permit-status-label {
  background: #dff6e9;
  color: #075c3a;
}

.permit-status-applied {
  border-color: #a8b5e8;
  background: #f8f9ff;
}

.permit-status-applied .permit-status-label {
  background: #e8ebff;
  color: var(--accent-2);
}

.permit-status-not-applied {
  border-color: #f0ca72;
  background: #fffdf6;
}

.permit-status-not-applied .permit-status-label {
  background: var(--accent-warm-soft);
  color: #8a4b00;
}

.permit-official-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
}

.faq-list summary {
  position: relative;
  padding: 17px 48px 17px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .permit-status-grid,
  .permit-official-actions {
    grid-template-columns: 1fr;
  }
}

.card-link,
.inline-guide-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.card-link:hover,
.inline-guide-link:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* Dedicated AM theory test guide */

.theory-steps .card {
  min-height: 165px;
}

.theory-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.theory-facts div {
  padding: 20px;
  border: 1px solid rgba(37, 50, 143, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(238, 241, 255, 0.98),
      rgba(255, 255, 255, 0.98)
    );
  text-align: center;
}

.theory-facts strong {
  display: block;
  color: var(--accent);
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.04em;
}

.theory-facts span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.theory-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.theory-check-list > div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #f8f9fc;
}

.theory-check-list strong,
.theory-check-list span {
  display: block;
}

.theory-check-list span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.support-callout {
  margin-top: 22px;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid #a8b5e8;
  border-radius: var(--radius);
  background:
    linear-gradient(
      135deg,
      rgba(238, 241, 255, 0.98),
      rgba(255, 255, 255, 0.98)
    );
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.support-callout h2 {
  margin: 14px 0 0;
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.support-callout > p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.support-warning {
  padding: 14px 16px;
  border: 1px solid #f0ca72;
  border-radius: 13px;
  background: #fff8df;
  color: #694100 !important;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.support-options article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #ffffff;
}

.support-options strong,
.support-options span {
  display: block;
}

.support-options span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 820px) {
  .theory-facts,
  .theory-check-list,
  .support-options {
    grid-template-columns: 1fr;
  }
}

/* Dedicated AM age guide */

.age-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.age-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 108px;
  width: 3px;
  border-radius: 999px;
  background: #d9def4;
}

.age-timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.age-marker {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 18px;
  background: var(--accent);
  color: #ffffff;
  text-align: center;
}

.age-marker strong {
  font-size: 23px;
  line-height: 1.1;
}

.age-marker span {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  opacity: 0.86;
}

.age-timeline-content {
  min-width: 0;
}

.age-status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent-warm-soft);
  color: #8a4b00;
  font-size: 12px;
  font-weight: 850;
}

.age-timeline-content h2 {
  margin: 12px 0 0;
  font-size: clamp(22px, 3.5vw, 31px);
  letter-spacing: -0.03em;
}

.age-timeline-content p {
  max-width: 690px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.age-timeline-content a {
  display: inline-flex;
  margin-top: 13px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.age-timeline-content a:hover {
  text-decoration: underline;
}

.age-before .age-marker {
  background: #667085;
}

.age-practical {
  border-color: #f0ca72;
  background: #fffdf6;
}

.age-practical .age-marker {
  background: #c87500;
}

.age-fifteen {
  border-color: #98d9ba;
  background: #f7fffa;
}

.age-fifteen .age-marker {
  background: var(--ok);
}

.age-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.age-summary-grid article {
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #f8f9fc;
}

.age-summary-grid strong {
  display: block;
  line-height: 1.4;
}

.age-summary-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.age-example {
  border-color: #f0ca72;
  background:
    linear-gradient(135deg, #fff8df 0%, #fffdf5 100%);
}

.age-example h2 {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .age-timeline::before {
    display: none;
  }

  .age-timeline-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .age-marker {
    min-height: auto;
    align-items: flex-start;
    text-align: left;
  }

  .age-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   Local AM provider page
   --------------------------------------------------------- */

.provider-page-hero .fulfillment-badge {
  margin-top: 1.1rem;
}

.fulfillment-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.fulfillment-direct {
  color: #12355b;
  background: #fff0b8;
  border: 1px solid rgba(240, 184, 0, 0.45);
}

.provider-role-grid,
.local-info-section,
.provider-course-section,
.before-course-section,
.price-information-section,
.provider-benefit-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.7rem 0;
}

.provider-role-cards,
.local-info-grid,
.provider-course-grid,
.before-course-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.provider-role-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-role-card,
.local-info-card,
.provider-course-card,
.before-course-card,
.price-information-card,
.provider-benefit-card {
  border: 1px solid rgba(18, 53, 91, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(18, 53, 91, 0.07);
}

.provider-role-card,
.local-info-card,
.provider-course-card,
.before-course-card {
  padding: 1.4rem;
}

.provider-role-card-highlight {
  background:
    linear-gradient(
      145deg,
      rgba(255, 240, 184, 0.68),
      rgba(255, 255, 255, 0.95)
    );
  border-color: rgba(240, 184, 0, 0.42);
}

.provider-role-label,
.local-info-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #5d6d7e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provider-role-card h3,
.local-info-card h3,
.provider-course-card h3,
.before-course-card h3 {
  margin: 0 0 0.55rem;
}

.provider-role-card p,
.local-info-card p,
.provider-course-card p,
.before-course-card p {
  margin-bottom: 0;
}

.local-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.local-info-card address {
  margin: 0.55rem 0;
  color: #24364a;
  font-style: normal;
  font-weight: 700;
  line-height: 1.65;
}

.local-contact-list {
  margin-top: 0.8rem;
}

.local-contact-list a {
  color: #12355b;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.local-info-card-location {
  position: relative;
  overflow: hidden;
}

.local-info-card-location::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 209, 72, 0.2);
}

.provider-course-grid,
.before-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.provider-course-card,
.before-course-card {
  position: relative;
}

.provider-course-card .card-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  color: #12355b;
  background: #ffd148;
  font-size: 0.82rem;
  font-weight: 900;
}

.booking-route-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto;
}

.booking-route-content {
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 209, 72, 0.22),
      transparent 34%
    ),
    #12355b;
  box-shadow: 0 18px 44px rgba(18, 53, 91, 0.2);
}

.booking-route-content .eyebrow {
  color: #ffd148;
}

.booking-route-content h2 {
  color: #ffffff;
}

.booking-route-content p {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.86);
}

.booking-route-content .button {
  margin-top: 0.5rem;
  color: #12355b;
  background: #ffd148;
  border-color: #ffd148;
}

.price-information-card {
  padding: 1.5rem;
  background: #f7f9fc;
}

.price-information-card p:last-child {
  margin-bottom: 0;
}

.provider-benefit-card {
  padding: clamp(1.5rem, 4vw, 2.3rem);
  background:
    linear-gradient(
      135deg,
      rgba(255, 209, 72, 0.28),
      rgba(255, 255, 255, 0.98)
    );
  border-color: rgba(240, 184, 0, 0.38);
}

.provider-benefit-card h2 {
  margin-top: 0.35rem;
}

.provider-benefit-card p {
  max-width: 760px;
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .provider-role-cards,
  .local-info-grid {
    grid-template-columns: 1fr;
  }

  .provider-course-grid,
  .before-course-grid {
    grid-template-columns: 1fr;
  }

  .provider-role-grid,
  .local-info-section,
  .provider-course-section,
  .before-course-section,
  .price-information-section,
  .provider-benefit-section {
    padding: 2rem 0;
  }

  .provider-role-card,
  .local-info-card,
  .provider-course-card,
  .before-course-card {
    padding: 1.2rem;
  }

  .booking-route-section {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

/* ---------------------------------------------------------
   Local provider page – visual hierarchy pass
   --------------------------------------------------------- */

.provider-page main {
  padding-bottom: 1rem;
}

.provider-page .section-heading {
  margin-bottom: 1.1rem;
}

.provider-page .section-heading .eyebrow,
.provider-page .booking-route-content .eyebrow,
.provider-page .provider-benefit-card .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.7rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff0b8;
  color: #5d4700;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
}

.provider-page .section-heading h2 {
  margin-top: 0.55rem;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

/* Hero */

.provider-page .provider-page-hero {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 209, 72, 0.18),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(239, 243, 255, 0.94),
      rgba(246, 248, 255, 0.84)
    );
}

.provider-page .provider-page-hero .info-hero-inner {
  max-width: 780px;
}

.provider-page .provider-page-hero h1 {
  max-width: 670px;
  margin-left: auto;
  margin-right: auto;
}

.provider-page .fulfillment-badge {
  margin: 1rem auto 0;
  padding: 0.62rem 0.95rem;
  background: #fff0b8;
  border: 1px solid #e6bb32;
  box-shadow: 0 7px 18px rgba(154, 113, 0, 0.1);
}

/* Shared stronger card base */

.provider-page .provider-role-card,
.provider-page .local-info-card,
.provider-page .provider-course-card,
.provider-page .before-course-card,
.provider-page .price-information-card,
.provider-page .provider-benefit-card {
  border-width: 1px;
  box-shadow: 0 12px 28px rgba(18, 53, 91, 0.08);
}

/* Roles – blue platform, yellow provider */

.provider-page .provider-role-card {
  min-height: 155px;
  padding: 1.55rem;
}

.provider-page .provider-role-card:first-child {
  background: #f1f4ff;
  border-color: #b9c4e6;
}

.provider-page .provider-role-card:first-child .provider-role-label {
  color: #334477;
}

.provider-page .provider-role-card-highlight {
  background: #fff9e7;
  border-color: #dfb536;
}

.provider-page .provider-role-card-highlight .provider-role-label {
  color: #765a00;
}

/* Provider and location – stronger local identity */

.provider-page .local-info-card {
  min-height: 210px;
  padding: 1.55rem;
}

.provider-page .local-info-card:first-child {
  background:
    linear-gradient(
      145deg,
      #f3f6ff,
      #ffffff
    );
  border-color: #bac5e6;
}

.provider-page .local-info-card-location {
  background:
    linear-gradient(
      145deg,
      #f1faf3,
      #ffffff
    );
  border-color: #9ec9a9;
}

.provider-page .local-info-card-location::after {
  width: 150px;
  height: 150px;
  right: -45px;
  bottom: -45px;
  background: rgba(84, 148, 100, 0.12);
}

.provider-page .local-info-label {
  width: fit-content;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 53, 91, 0.08);
  color: #34455a;
  letter-spacing: 0.03em;
}

/* Course journey – like the age guide */

.provider-page .provider-course-grid {
  gap: 0.85rem;
}

.provider-page .provider-course-card {
  min-height: 235px;
  padding: 1.5rem;
  border-width: 1.5px;
}

.provider-page .provider-course-card:nth-child(1) {
  background: #f3f5ff;
  border-color: #aeb9dc;
}

.provider-page .provider-course-card:nth-child(2) {
  background: #fff9e9;
  border-color: #dcae2f;
}

.provider-page .provider-course-card:nth-child(3) {
  background: #f1faf3;
  border-color: #8fc29b;
}

.provider-page .provider-course-card .card-number {
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.provider-page .provider-course-card:nth-child(1) .card-number {
  color: #ffffff;
  background: #68759e;
}

.provider-page .provider-course-card:nth-child(2) .card-number {
  color: #ffffff;
  background: #b98116;
}

.provider-page .provider-course-card:nth-child(3) .card-number {
  color: #ffffff;
  background: #4b875b;
}

/* Before course – three clearly different requirements */

.provider-page .before-course-card {
  min-height: 205px;
  padding: 1.45rem;
  border-width: 1.5px;
}

.provider-page .before-course-card:nth-child(1) {
  background: #fff9e8;
  border-color: #d9ad2e;
}

.provider-page .before-course-card:nth-child(2) {
  background: #f1f4ff;
  border-color: #aeb9dd;
}

.provider-page .before-course-card:nth-child(3) {
  background: #f2faf4;
  border-color: #9ac5a5;
}

.provider-page .before-course-card h3::before {
  display: block;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.provider-page .before-course-card:nth-child(1) h3::before {
  content: "Måste ordnas";
  color: #6d5000;
  background: #ffe79c;
}

.provider-page .before-course-card:nth-child(2) h3::before {
  content: "Ålderskrav";
  color: #334477;
  background: #dfe5fa;
}

.provider-page .before-course-card:nth-child(3) h3::before {
  content: "För minderåriga";
  color: #346440;
  background: #dcefe1;
}

/* Direct booking section */

.provider-page .booking-route-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.provider-page .booking-route-content {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.3rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(255, 209, 72, 0.28),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #21345f,
      #17294f
    );
}

.provider-page .booking-route-content .eyebrow {
  color: #5d4700;
  background: #ffe386;
}

.provider-page .booking-route-content h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
}

.provider-page .booking-route-content .button {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.16);
}

/* Price information */

.provider-page .price-information-card {
  padding: 1.7rem;
  background:
    linear-gradient(
      135deg,
      #f2f5fc,
      #ffffff
    );
  border-color: #c5cee1;
}

/* Provider benefit */

.provider-page .provider-benefit-card {
  padding: clamp(1.8rem, 4vw, 2.7rem);
  background:
    radial-gradient(
      circle at right center,
      rgba(255, 209, 72, 0.22),
      transparent 35%
    ),
    #fff9e8;
  border: 1.5px solid #dbae30;
}

.provider-page .provider-benefit-card .eyebrow {
  color: #664d00;
  background: #ffe486;
}

/* Final CTA stronger */

.provider-page .final-cta {
  margin-top: 2.5rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid #c0c9df;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      #f2f5ff,
      #ffffff
    );
  box-shadow: 0 12px 30px rgba(18, 53, 91, 0.08);
}

/* Mobile */

@media (max-width: 800px) {
  .provider-page .provider-role-card,
  .provider-page .local-info-card,
  .provider-page .provider-course-card,
  .provider-page .before-course-card {
    min-height: 0;
  }

  .provider-page .provider-course-card,
  .provider-page .before-course-card {
    padding: 1.35rem;
  }

  .provider-page .booking-route-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}
