/* PostEkspress Nordic — design byggd på kundens färgschema
   Färger: mörkblå #0B3056 (primär), expressröd #C1272D (CTA),
   mellanblå #1A62A0 (underrubriker/länkar/ikoner), ljusblå #E8F1F5
   (tonade ytor), mörk text #22252A, ljusgrå #F0F2F5, vit bakgrund.
   Typ: Archivo (rubriker) + Figtree (löptext), Google Fonts. */

:root {
  --c-dark:   #0B3056;
  --c-red:    #C1272D;
  --c-blue:   #1A62A0;
  --c-light:  #E8F1F5;
  --c-text:   #22252A;
  --c-border: #F0F2F5;
  --c-white:  #FFFFFF;
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 14px rgba(11, 48, 86, 0.08);
  --shadow-lg: 0 10px 30px rgba(11, 48, 86, 0.14);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--c-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-dark); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(to bottom, #A3D8F5, #F7FCFF);
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 50;
}
.nav-wrap {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 72px;
}
.brand { margin-left: 1rem; }
.brand img { display: block; height: 46px; width: auto; }

.nav-toggle {
  display: none; border: none; background: transparent; cursor: pointer;
  padding: 0.5rem; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; margin: 4px 0;
  background: var(--c-dark); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: flex; align-items: center; gap: 0.4rem; margin-left: auto; flex-wrap: wrap;
}
.main-nav > a {
  padding: 0.5rem 0.8rem; border-radius: 8px;
  font-weight: 600; color: var(--c-dark); font-size: 0.98rem;
  transition: background .2s ease, color .2s ease;
}
.main-nav > a:hover { background: var(--c-light); text-decoration: none; }
.main-nav > a.active { background: var(--c-light); box-shadow: inset 0 -2px 0 var(--c-blue); }

.lang-switch { margin-left: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--c-dark); }
.lang-switch a { color: var(--c-blue); padding: 0 0.15rem; }
.lang-switch a.cur { color: var(--c-dark); text-decoration: underline; }
.lang-switch span { color: var(--c-border); margin: 0 0.1rem; }

/* ---------- Knappar ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 0.7rem 1.4rem; border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-red { background: var(--c-red); color: #fff; }
.btn-red:hover { background: #a92025; }
/* röda knappar i menyn ska behålla vit text (slår .main-nav > a) */
.main-nav .btn-red { color: #fff; }
.main-nav .btn-red:hover { color: #fff; }
.btn-dark { background: var(--c-dark); color: #fff; }
.btn-dark:hover { background: #091f3a; }
.btn-outline { background: transparent; color: var(--c-dark); border: 2px solid var(--c-dark); }
.btn-outline:hover { background: var(--c-light); }
.btn-nav { margin-left: 0.5rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--c-light);
  padding: clamp(1.5rem, 3vw, 3rem) 0;
}
/* Hero fyller första skärmen; bilden skalas för att synas i helhet */
.hero > .container { max-width: none; padding-left: 8.5%; padding-right: 1.2%; }
.hero-grid { display: grid; grid-template-columns: 0.23fr 0.77fr; gap: 2%; align-items: center; }
.hero .lead { font-size: 1.1rem; max-width: 34em; color: var(--c-dark); }
.hero h1 { color: var(--c-dark); }
.hero-sub { font-family: var(--font-head); font-weight: 700; color: var(--c-blue); font-size: 1.25rem; margin-bottom: 1.2em; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art img {
  width: auto;
  max-width: 100%;
  height: auto;
  /* hela bilden ska rymmas i första vy-ytan (fönsterhöjd minus toppmeny och hero-luft) */
  max-height: calc(100vh - 73px - clamp(3rem, 6vw, 6rem) - 24px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Sektioner ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { max-width: 44em; margin: 0 auto 2rem; text-align: center; }
.section-head p { color: var(--c-text); }
.section-alt { background: var(--c-light); }

/* Förmåner-kort */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--c-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--c-blue); }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: 0.95rem; color: var(--c-text); margin: 0; }

/* Steg */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow);
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-red); color: #fff; font-family: var(--font-head);
  font-weight: 800; margin-bottom: 0.8rem; counter-increment: step;
}
.step .num::after { content: counter(step); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.93rem; margin: 0; }

/* Citat */
.quote {
  background: #fff; border-left: 4px solid var(--c-red);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem; max-width: 46em;
}
.quote blockquote { margin: 0 0 1rem; font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 0.7rem; }
.quote .who img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--c-light);
}
.quote .who cite { font-style: normal; font-weight: 700; color: var(--c-dark); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }

/* CTA-band */
.cta-band { background: var(--c-dark); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd9e6; max-width: 40em; margin: 0 auto 1.5rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 52rem; }
.faq-item {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 0.9rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 1.1rem 1.4rem;
  font-family: var(--font-head); font-weight: 700; color: var(--c-dark);
  list-style: none; position: relative; padding-right: 3rem;
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; font-weight: 800;
  color: var(--c-red); line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { background: var(--c-light); }
.faq-answer { padding: 0 1.4rem 1.2rem; border-top: 1px solid var(--c-border); }
.faq-answer p { margin: 0.9rem 0 0; }
.faq-ul { margin: 0.9rem 0 0; padding-left: 1.3rem; }
.faq-ul li { margin-bottom: 0.45rem; }
.faq-ul li::marker { color: var(--c-blue); }

/* Tjenester: pen.gif i tydlig mediaruta överst */
.media-box {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
  max-width: 880px;
  margin: 0 auto;
}
.media-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
}

/* Tjenester: tjänstekort i tydligare rutor */
.tjenester-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tjenester-cards .card {
  border-top: 4px solid var(--c-blue);
  padding: 1.8rem 1.5rem;
}

/* ---------- Sidhuvud på undersidor ---------- */
.page-head {
  background: var(--c-light); padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.page-head h1 { margin-bottom: 0.3em; }
.page-head p.sub { color: var(--c-blue); font-weight: 600; font-size: 1.15rem; margin: 0; }

/* ---------- Prislista ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 0.85rem 1.2rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.price-table thead th { background: var(--c-dark); color: #fff; font-family: var(--font-head); font-weight: 700; }
.price-table tbody tr:nth-child(even) { background: #F7FAFC; }
.price-table td.price { font-weight: 700; color: var(--c-dark); white-space: nowrap; }
.price-note { margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--c-light); border-radius: var(--radius); }
.price-note strong { color: var(--c-dark); }

/* ---------- Spåra ---------- */
.track-box {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem; max-width: 40rem;
}
.track-form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.track-form input[type="text"] {
  flex: 1; min-width: 220px; padding: 0.75rem 1rem; font-size: 1rem;
  border: 1px solid #cfd8e0; border-radius: 10px; font-family: var(--font-body);
}
.track-form input[type="text"]:focus { outline: 2px solid var(--c-blue); outline-offset: 1px; }
.track-result { margin-top: 1.5rem; }
.track-status {
  padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600;
  background: var(--c-light); color: var(--c-dark);
}
.track-status.error { background: #FBEAEA; color: var(--c-red); }
.track-events { list-style: none; margin: 1rem 0 0; padding: 0; }
.track-events li {
  padding: 0.7rem 1rem; border-left: 3px solid var(--c-blue);
  background: var(--c-border); border-radius: 0 8px 8px 0; margin-bottom: 0.5rem; font-size: 0.95rem;
}
.track-events li .when { color: var(--c-blue); font-weight: 700; margin-right: 0.6rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.8rem;
}
.contact-card h3 { display: flex; align-items: center; gap: 0.5rem; color: var(--c-blue); }
.contact-card p { margin-bottom: 0.5rem; }
.contact-card .big { font-size: 1.15rem; font-weight: 700; color: var(--c-dark); }

/* ---------- Formulär / konto ---------- */
.form-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 30rem; margin: 0 auto;
}
.form-card h1 { font-size: 1.8rem; }
.form-card .sub { color: var(--c-text); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--c-dark); }
.field input {
  width: 100%; padding: 0.7rem 0.9rem; font-size: 1rem; font-family: var(--font-body);
  border: 1px solid #cfd8e0; border-radius: 10px; background: #fff;
}
.field input:focus { outline: 2px solid var(--c-blue); outline-offset: 1px; }
.field .hint { font-size: 0.85rem; color: #6a7480; margin-top: 0.25rem; }
.form-foot { margin-top: 1.2rem; font-size: 0.95rem; }

.alert { padding: 0.9rem 1.1rem; border-radius: 10px; margin-bottom: 1.2rem; font-weight: 600; }
.alert-ok { background: #EAF6EF; color: #1c6b3a; border: 1px solid #bfe3cd; }
.alert-err { background: #FBEAEA; color: var(--c-red); border: 1px solid #f0c8c8; }

/* Mina pakker */
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.info-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem 1.6rem;
}
.info-card h2 { font-size: 1.05rem; color: var(--c-blue); margin-bottom: 0.5rem; }
.info-card .val { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--c-dark); }
.info-card p { margin: 0; font-size: 0.95rem; }

.tabs { display: flex; gap: 0.4rem; border-bottom: 2px solid var(--c-border); margin-bottom: 1.2rem; flex-wrap: wrap; }
.tab-btn {
  border: none; background: transparent; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; font-size: 0.98rem; color: var(--c-blue);
  padding: 0.6rem 1rem; border-radius: 8px 8px 0 0;
}
.tab-btn:hover { background: var(--c-light); }
.tab-btn.active { background: var(--c-light); color: var(--c-dark); box-shadow: inset 0 -2px 0 var(--c-red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.parcel-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.parcel-table th, .parcel-table td { padding: 0.8rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-border); font-size: 0.95rem; }
.parcel-table thead th { background: var(--c-light); color: var(--c-dark); font-family: var(--font-head); }
.empty-note { color: #6a7480; font-style: italic; }

.back-link { display: inline-block; margin-bottom: 1rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: #cdd9e6; margin-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-top: 2.5rem; padding-bottom: 1.5rem;
}
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; margin: 0 0 0.3rem; }
.footer-slogan { margin: 0; font-weight: 600; color: var(--c-light); }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.footer-col a, .footer-col p { color: #cdd9e6; font-size: 0.95rem; margin-bottom: 0.5rem; display: block; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem; padding-bottom: 1.4rem; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsivt ---------- */
@media (max-width: 900px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  /* mobil: symmetrisk luft i hero så bilden centreras */
  .hero > .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-art { justify-content: center; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.8rem 1.25rem 1.2rem;
    border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav .btn { padding: 0.7rem 0.9rem; margin: 0.15rem 0; }
  .lang-switch { margin: 0.5rem 0 0; }
  .cards, .steps, .quotes-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Konto: WooCommerce-liknande layout ---------- */
.account-wrap { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; align-items: start; }
.acct-nav {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.6rem; position: sticky; top: 88px;
}
.acct-nav a {
  display: block; padding: 0.7rem 1rem; border-radius: 8px;
  font-weight: 600; color: var(--c-dark); transition: background .2s ease, color .2s ease;
}
.acct-nav a:hover { background: var(--c-light); text-decoration: none; }
.acct-nav a.active {
  background: var(--c-light); color: var(--c-dark);
  box-shadow: inset 0 -2px 0 var(--c-red);
}
.acct-content { min-width: 0; }
.acct-sub { color: #6a7480; margin-bottom: 1.25rem; }
.acct-card { max-width: none; margin: 0 0 1.5rem; }

/* Ordertabell enligt referens (Pakke | Dato | Status | Pris | Handling) */
.orders-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.orders-table th, .orders-table td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-border); font-size: 0.95rem; }
.orders-table thead th { background: var(--c-light); color: var(--c-dark); font-family: var(--font-head); font-weight: 700; }
.orders-table tbody tr:hover { background: #F7FAFC; }
.status-pill {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700;
}
.status-ready { background: #EAF6EF; color: #1c6b3a; }
.status-way   { background: #FFF4E3; color: #9a6a12; }
.status-done  { background: var(--c-light); color: var(--c-dark); }
.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.88rem; border-width: 1.5px; }

/* Adresskort */
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.addr-card {
  background: #fff; border: 1px solid var(--c-border); border-top: 4px solid var(--c-blue);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem;
}
.addr-card h2 { font-size: 1.1rem; color: var(--c-blue); }
.addr-lines { font-size: 1rem; line-height: 1.6; }
.addr-hint { font-size: 0.88rem; color: #6a7480; margin-bottom: 0; }
.addr-edit-link { font-weight: 700; font-size: 0.9rem; }

/* Fältgrid i kontoinställningar */
.acct-fieldgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.acct-field-zip { max-width: 9rem; }

@media (max-width: 900px) {
  .account-wrap { grid-template-columns: 1fr; }
  .acct-nav { display: flex; flex-wrap: wrap; gap: 0.3rem; position: static; }
  .acct-nav a { margin: 0.1rem; }
  .addr-grid { grid-template-columns: 1fr; }
  .acct-fieldgrid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .orders-table thead { display: none; }
  .orders-table tr { display: block; border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: 0.8rem; padding: 0.4rem 0.6rem; }
  .orders-table td { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--c-border); }
  .orders-table td::before { content: attr(data-label); font-weight: 700; color: var(--c-dark); }
}

/* Förmåner: 2x2-grid i en box */
.benefits-box {
  background: #fff; border: 1px solid var(--c-border); border-top: 4px solid var(--c-blue);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); max-width: 56rem; margin: 0 auto;
}
.bb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.2rem; }
.bb-item { position: relative; padding-left: 1.1rem; }
.bb-item::before {
  content: ''; position: absolute; left: 0; top: 0.5rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-red);
}
.bb-item h3 {
  font-size: 1.05rem; margin: 0 0 0.3rem; color: var(--c-dark);
}
.bb-item p { font-size: 0.92rem; line-height: 1.55; color: var(--c-text); margin: 0; }

/* Steg: horisontell tidslinje i en box */
.steps-box {
  background: #fff; border: 1px solid var(--c-border); border-top: 4px solid var(--c-red);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); max-width: 64rem; margin: 0 auto;
}
.sb-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  counter-reset: step;
}
.sb-grid li { position: relative; counter-increment: step; padding-top: 2.6rem; text-align: center; }
.sb-grid li::before {
  content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--c-red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; box-shadow: 0 0 0 5px #fff;
}
.sb-grid li::after {
  content: ''; position: absolute; top: 1.05rem; left: 50%; right: -50%;
  height: 2px; background: var(--c-light);
}
.sb-grid li:last-child::after { display: none; }
.sb-num { display: none; }
.sb-grid h3 { font-size: 0.98rem; margin: 0 0 0.35rem; color: var(--c-dark); line-height: 1.3; }
.sb-grid p { font-size: 0.88rem; line-height: 1.5; color: var(--c-text); margin: 0; }

@media (max-width: 900px) {
  .bb-grid { grid-template-columns: 1fr; }
  .sb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sb-grid { grid-template-columns: 1fr; }
  .sb-grid li { text-align: left; padding-left: 3rem; padding-top: 0; }
  .sb-grid li::before { top: 0; left: 0; transform: none; }
  .sb-grid li::after { display: none; }
}
