/* bredbandsabb-se.css — "Abonnemangsguiden" design */

/* === FONTS === */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/bredbandsabb-se/outfit-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ba-primary:    #1d5c87;
  --ba-primary-dk: #164a6d;
  --ba-accent:     #17a2b8;
  --ba-accent-dk:  #128597;
  --ba-bg:         #ffffff;
  --ba-section-bg: #edf6fa;
  --ba-text:       #1a2b3c;
  --ba-muted:      #4a6070;
  --ba-border:     #cde4ef;
  --ba-shadow:     0 2px 10px rgba(29,92,135,0.09);
  --ba-radius:     10px;
  --ba-font:       'Outfit', system-ui, -apple-system, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--ba-font);
  color: var(--ba-text);
  background: var(--ba-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ba-primary); text-decoration: none; }
a:hover { color: var(--ba-primary-dk); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === LAYOUT === */
.ba-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.ba-container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.ba-section {
  padding: 60px 0;
}
.ba-section--alt {
  background: var(--ba-section-bg);
}
.ba-section--tight {
  padding: 36px 0;
}

/* === HEADER === */
.ba-header {
  background: var(--ba-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(29,92,135,0.25);
}
.ba-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
}
.ba-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.ba-logo:hover { color: rgba(255,255,255,0.88); }
.ba-logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* === NAV === */
.ba-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ba-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.ba-nav a:hover,
.ba-nav a.ba-nav--active {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* Hamburger */
.ba-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.ba-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}
.ba-mobile-nav {
  display: none;
  background: var(--ba-primary-dk);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ba-mobile-nav.is-open {
  display: block;
}
.ba-mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem;
}
.ba-mobile-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* === BREADCRUMB === */
.ba-breadcrumb {
  background: #1a4f77;
  border-bottom: 1px solid #174669;
  padding: 10px 0;
}
.ba-breadcrumb__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.ba-breadcrumb__inner a {
  color: rgba(255,255,255,0.85);
}
.ba-breadcrumb__inner a:hover {
  color: #fff;
  text-decoration: underline;
}
.ba-breadcrumb__inner span::before {
  content: '';
}

/* === HERO === */
.ba-hero {
  background: linear-gradient(135deg, #1d5c87 0%, #0f3a57 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.ba-hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.ba-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.ba-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.84);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.ba-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats strip */
.ba-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.ba-stat__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.ba-stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* === BUTTONS === */
.ba-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--ba-radius);
  font-family: var(--ba-font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  border: none;
}
.ba-btn--accent {
  background: var(--ba-accent);
  color: #fff;
}
.ba-btn--accent:hover {
  background: var(--ba-accent-dk);
  color: #fff;
  box-shadow: 0 4px 14px rgba(23,162,184,0.30);
}
.ba-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.50);
}
.ba-btn--outline:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.ba-btn--ghost {
  background: #f0f7fc;
  color: var(--ba-primary);
  border: 1px solid var(--ba-border);
}
.ba-btn--ghost:hover {
  background: var(--ba-section-bg);
  color: var(--ba-primary-dk);
}
.ba-btn--sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}
.ba-btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* === SECTION HEAD === */
.ba-section-head {
  margin-bottom: 36px;
}
.ba-section-head__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ba-accent);
  margin-bottom: 8px;
}
.ba-section-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ba-text);
  margin-bottom: 10px;
}
.ba-section-head__deck {
  color: var(--ba-muted);
  font-size: 1rem;
  max-width: 600px;
}

/* === FAVORITES SECTION (Skärmdump-inspirerad) === */
.ba-favs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ba-fav-card {
  background: var(--ba-section-bg);
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);
  padding: 24px 20px;
  box-shadow: var(--ba-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ba-fav-card:hover {
  box-shadow: 0 6px 20px rgba(29,92,135,0.14);
  transform: translateY(-2px);
}
.ba-fav-card__logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ba-fav-card__logo img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
}
.ba-fav-card__num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ba-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.ba-fav-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ba-primary);
  margin-bottom: 12px;
}
.ba-fav-card__bullets {
  list-style: none;
  margin: 0 0 18px;
  text-align: left;
  width: 100%;
}
.ba-fav-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ba-text);
  padding: 3px 0;
}
.ba-fav-card__bullets li::before {
  content: '›';
  color: var(--ba-accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: -1px;
}
.ba-fav-card__price {
  font-size: 0.82rem;
  color: var(--ba-muted);
  margin-bottom: 16px;
}
.ba-fav-card__price strong {
  color: var(--ba-primary);
  font-size: 1.1rem;
}
.ba-fav-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* === OFFER LIST === */
.ba-offer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ba-offer-card {
  background: #fff;
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);
  box-shadow: var(--ba-shadow);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.15s;
}
.ba-offer-card:hover {
  box-shadow: 0 4px 18px rgba(29,92,135,0.12);
}
.ba-offer-card--best {
  border-color: var(--ba-accent);
  border-width: 2px;
  position: relative;
}
.ba-offer-card--best::before {
  content: 'Bäst pris';
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--ba-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ba-offer-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-offer-card__logo img {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
}
.ba-offer-card__info {}
.ba-offer-card__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ba-text);
  margin-bottom: 6px;
}
.ba-offer-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ba-offer-card__price {
  text-align: right;
}
.ba-price-main {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ba-primary);
  white-space: nowrap;
}
.ba-price-main small {
  font-size: 0.65em;
  font-weight: 500;
}
.ba-price-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--ba-muted);
  margin-top: 3px;
}
.ba-offer-card__action {
  text-align: right;
}

/* === TAGS === */
.ba-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #e8f0f7;
  color: var(--ba-primary);
  border: 1px solid var(--ba-border);
}
.ba-tag--data   { background: #d4edda; color: #155724; border-color: #b8dfc5; }
.ba-tag--speed  { background: #fff3cd; color: #856404; border-color: #ffd97d; }
.ba-tag--fiber  { background: #cce5ff; color: #004085; border-color: #b8daff; }
.ba-tag--mobile { background: #d1ecf1; color: #0c5460; border-color: #b8daff; }
.ba-tag--nobind { background: #d4edda; color: #155724; border-color: #b8dfc5; }

/* === OPERATOR GRID === */
.ba-operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.ba-operator-card {
  background: var(--ba-section-bg);
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  box-shadow: var(--ba-shadow);
}
.ba-operator-card:hover {
  box-shadow: 0 4px 16px rgba(29,92,135,0.14);
  transform: translateY(-2px);
}
.ba-operator-card__logo {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-operator-card__logo img {
  max-height: 38px;
  max-width: 120px;
  object-fit: contain;
}
.ba-operator-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ba-text);
}
.ba-operator-card__from {
  font-size: 0.72rem;
  color: var(--ba-muted);
}
.ba-operator-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ba-primary);
}
.ba-operator-card__price small {
  font-size: 0.7em;
  font-weight: 400;
}

/* === GUIDE CARDS === */
.ba-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ba-guide-card {
  background: #fff;
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);
  padding: 24px;
  text-decoration: none;
  color: var(--ba-text);
  transition: box-shadow 0.15s, border-color 0.15s;
  box-shadow: var(--ba-shadow);
}
.ba-guide-card:hover {
  box-shadow: 0 4px 16px rgba(29,92,135,0.14);
  border-color: var(--ba-accent);
}
.ba-guide-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ba-accent);
  margin-bottom: 8px;
}
.ba-guide-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ba-primary);
  margin-bottom: 8px;
}
.ba-guide-card p {
  font-size: 0.9rem;
  color: var(--ba-muted);
  line-height: 1.5;
}

/* === ARTICLE / CONTENT === */
.ba-article {
  color: var(--ba-text);
}
.ba-article-lead-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 2rem;
  aspect-ratio: 1200/630;
  object-fit: cover;
}
.ba-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ba-primary);
  letter-spacing: -0.02em;
}
.ba-article h2:first-child {
  margin-top: 0;
}
.ba-article h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--ba-text);
}
.ba-article p {
  margin-bottom: 16px;
  line-height: 1.7;
}
.ba-article ul, .ba-article ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}
.ba-article ol {
  list-style: decimal;
}
.ba-article li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.ba-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
.ba-article th {
  background: var(--ba-section-bg);
  color: var(--ba-primary);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--ba-border);
}
.ba-article td {
  padding: 10px 14px;
  border: 1px solid var(--ba-border);
}
.ba-article tr:nth-child(even) td {
  background: #f8fbfd;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive table {
  min-width: 480px;
}

/* Page hero (inner pages) */
.ba-page-hero {
  background: linear-gradient(135deg, #1d5c87 0%, #0f3a57 100%);
  color: #fff;
  padding: 48px 0 40px;
}
.ba-page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ba-page-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
}

/* === FAQ === */
.ba-faq {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.ba-faq-item {
  border-bottom: none;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(29,92,135,0.11);
  border-left: 3px solid transparent;
  overflow: hidden;
  transition: border-left-color 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.ba-faq-item:last-child { border-bottom: 1px solid rgba(29,92,135,0.11); }
.ba-faq-item--open {
  border-left-color: var(--ba-accent);
  box-shadow: 0 3px 18px rgba(29,92,135,0.09);
  background: linear-gradient(135deg, rgba(23,162,184,0.035) 0%, #fff 55%);
}
.ba-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 19px 22px;
  font-family: var(--ba-font);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ba-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}
.ba-faq-q:hover { color: var(--ba-primary); }
.ba-faq-item--open .ba-faq-q { color: var(--ba-primary); }
.ba-faq-q__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #b0c8d8;
  transition: transform 0.32s cubic-bezier(0.34,1.4,0.64,1), stroke 0.2s ease;
}
.ba-faq-q:hover .ba-faq-q__icon,
.ba-faq-item--open .ba-faq-q__icon {
  stroke: var(--ba-accent);
}
.ba-faq-q[aria-expanded="true"] .ba-faq-q__icon {
  transform: rotate(45deg);
}
.ba-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  color: var(--ba-muted);
  font-size: 0.93rem;
  line-height: 1.68;
}
.ba-faq-a > p {
  margin: 0;
  padding: 4px 22px 20px;
}
.ba-faq-item--open .ba-faq-a {
  max-height: 400px;
}

/* === FOOTER === */
.ba-footer {
  background: #0f2d45;
  color: rgba(255,255,255,0.75);
  padding: 40px 0 28px;
}
.ba-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.ba-footer__top {
  display: block;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ba-footer__brand {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.ba-footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.5;
}
.ba-footer__links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.ba-footer__col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.ba-footer__col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.ba-footer__col a:hover {
  color: #fff;
}
.ba-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.ba-footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ba-footer__legal a {
  color: rgba(255,255,255,0.6);
}
.ba-footer__legal a:hover {
  color: #fff;
}

/* === UTILITY === */
.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* Intro box */
.ba-intro-box {
  background: var(--ba-section-bg);
  border: 1px solid var(--ba-border);
  border-left: 4px solid var(--ba-accent);
  border-radius: 0 var(--ba-radius) var(--ba-radius) 0;
  padding: 20px 24px;
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Info boxes */
.ba-infobox {
  background: #e8f4fb;
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 0.93rem;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .ba-footer__links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ba-nav { display: none; }
  .ba-hamburger { display: flex; }
  .ba-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .ba-favs-grid { grid-template-columns: 1fr 1fr; }
  .ba-guide-grid { grid-template-columns: 1fr; }
  .ba-footer__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .ba-offer-card {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }
  .ba-offer-card__price {
    text-align: left;
  }
  .ba-offer-card__action {
    grid-column: 1 / -1;
    text-align: center;
  }
  .ba-favs-grid { grid-template-columns: 1fr; }
  .ba-operator-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 500px) {
  .ba-stats-strip { grid-template-columns: 1fr 1fr; }
  .ba-hero { padding: 44px 0 36px; }
  .ba-hero__actions { flex-direction: column; }
  .ba-footer__links { grid-template-columns: 1fr; }
}

/* ============================================================
   ba-row: "Atlas Cards" — vertikala kortgrid (ersätter horisontella rader)
   ============================================================ */

.ba-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 24px;
}

/* Enskilt kort */
.ba-row-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--ba-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 12px rgba(29,92,135,0.07);
}
.ba-row-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(29,92,135,0.13);
}

/* Bäst pris-variant */
.ba-row-card--best {
  border-color: var(--ba-accent);
  border-width: 2px;
}

/* Badge "Bäst pris" */
.ba-row-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ba-accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 3;
}

/* Gradient-header med logo */
.ba-row-card__header {
  background: linear-gradient(135deg, #1d5c87 0%, #0e8faa 100%);
  padding: 26px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
}
.ba-row-card--best .ba-row-card__header {
  background: linear-gradient(135deg, #145070 0%, #17a2b8 100%);
}

/* Vit logo-platta */
.ba-row-card__logo-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 46px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}
.ba-row-card__logo-wrap img {
  max-height: 34px;
  max-width: 110px;
  object-fit: contain;
  display: block;
}
.ba-row-card__logo-text {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ba-primary);
}

/* Operatörsnamn */
.ba-row-card__name {
  padding: 14px 20px 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ba-text);
  text-align: center;
}

/* Spec-lista */
.ba-row-card__specs {
  padding: 10px 20px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ba-row-card__spec {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--ba-muted);
  line-height: 1.3;
}
.ba-row-card__spec-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--ba-accent);
}
.ba-row-card__spec-label { }
.ba-row-card__spec-val {
  font-weight: 600;
  color: var(--ba-text);
  white-space: nowrap;
}

/* Divisor innan prissektionen */
.ba-row-card__divider {
  border: none;
  border-top: 1px solid var(--ba-border);
  margin: 0;
}

/* Prissektionen */
.ba-row-card__price-box {
  background: #eaf5fb;
  padding: 14px 20px 10px;
  text-align: center;
}
.ba-row-card__price-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ba-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ba-row-card__price-unit {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ba-muted);
  margin-left: 1px;
}
.ba-row-card__price-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ba-primary);
  margin-top: 5px;
  line-height: 1.4;
}

/* CTA-knapp */
.ba-row-card__cta {
  padding: 12px 20px 16px;
}
.ba-row-card__cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #e8840a;
  color: #fff;
  font-family: var(--ba-font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.02em;
}
.ba-row-card__cta-btn:hover {
  background: #c97009;
  transform: scale(1.015);
  color: #fff;
  text-decoration: none;
}

/* Responsivt */
@media (max-width: 980px) {
  .ba-row-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ba-row-grid { grid-template-columns: 1fr; }
  .ba-row-card { flex-direction: column; border-radius: 12px; }
  .ba-row-card__header { border-radius: 10px 10px 0 0; padding: 16px 20px; min-height: 70px; }
  .ba-row-card__logo-wrap { height: 44px; }
  .ba-row-card__logo-wrap img { max-height: 36px; }
  .ba-row-card__name { font-size: 1rem; padding: 12px 16px 4px; text-align: left; }
  .ba-row-card__specs { padding: 4px 16px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .ba-row-card__spec { font-size: 0.8rem; }
  .ba-row-card__divider { margin: 0 16px; }
  .ba-row-card__price-box { padding: 12px 16px 8px; text-align: center; }
  .ba-row-card__price-num { font-size: 2rem; }
  .ba-row-card__cta { padding: 8px 16px 14px; }
  .ba-row-card__cta-btn { font-size: 0.9rem; }
  .ba-row-card__badge { top: 8px; right: 10px; font-size: 0.65rem; padding: 3px 8px; }
}
