:root {
  --gas-primary: #f59c1a;   /* Orange från loggan */
  --gas-dark: #1e293b;      /* Mörkblå text */
  --gas-muted: #6b7280;
  --gas-bg: #f3f5f9;
  --gas-card-bg: #ffffff;
  --gas-border: rgba(15,23,42,0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
background: radial-gradient(
    circle at top left,
    rgba(245,156,26,0.08),     /* svagare guldglöd */
    rgba(5,10,20,0.98)         /* djupare midnatt */
);
background-color: rgba(3,6,14,0.96); /* nästan svart-blå */

  color: var(--gas-dark);
  min-height: 100vh;
}

a { text-decoration: none; }

.gas-blur-shell {
  min-height: 100vh;
  padding: 0 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(148,163,184,0.40), transparent 55%),
    radial-gradient(circle at bottom right, rgba(107,114,128,0.45), transparent 55%);
}

.gas-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.gas-shell { max-width: 1200px;  }

/* Navbar */
.gas-navbar {
  border-radius: 0px 0px 14px 14px;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--gas-border);
  backdrop-filter: blur(14px);
  padding-top: .55rem;
  padding-bottom: .55rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  z-index: 1030;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.gas-navbar.navbar-scrolled {
  box-shadow: 0 10px 25px rgba(15,23,42,0.20);
  background-color: rgba(255,255,255,0.98);
}

.navbar-brand {
  padding-left: 0.75rem;
  font-family: 'Inter', sans-serif !important;
}

.navbar-nav .nav-link,
.gas-nav-link,
.gas-navbar {
  font-family: 'Inter', sans-serif !important;
}

.gas-logo { height: 48px; }

.gas-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gas-dark) !important;
  opacity: 0.85;
}

.gas-nav-link:hover {
  opacity: 1;
  color: var(--gas-primary) !important;
}

.gas-navbar .d-flex {
  margin-right: 0.6rem;
}

.navbar-nav {
  padding-right: 0.5rem;
}

.gas-pill-btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
}

.gas-pill-btn-primary {
  background: var(--gas-primary);
  border: none;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(245,156,26,0.25);
}

.gas-pill-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(245,156,26,0.35);
}

.gas-pill-btn-outline {
  border-color: rgba(148,163,184,0.6);
  color: var(--gas-dark);
  background: transparent;
}

.gas-pill-btn-outline:hover {
  background: rgba(248,250,252,0.9);
}

/* Layout cards */
.gas-main-card {
  margin-top: 1.75rem;
  border-radius: 14px 14px 0px 0px;
  background: var(--gas-card-bg);
  border: 1px solid var(--gas-border);
  box-shadow:
    0 24px 60px rgba(15,23,42,0.06),
    0 0 0 1px rgba(148,163,184,0.10);
  padding: 2.25rem 2.25rem 2rem;
}

.gas-main-card h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gas-dark);
}

.gas-subtitle {
  color: var(--gas-muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.gas-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--gas-dark);
  background: radial-gradient(circle at left, rgba(245,156,26,0.22), #ffffff);
}

.gas-highlight-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.20);
}

.gas-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--gas-muted);
}

.gas-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gas-hero-meta i {
  font-size: 0.95rem;
  color: var(--gas-primary);
}

.gas-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gas-muted);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.gas-service-cardz {
  background: linear-gradient(145deg, #ffffff 0%, #f9fafb 30%, #f1f5f9 100%);
  border-radius: 0;
  border: 1px solid rgba(148,163,184,0.3);
  padding: 1.2rem 1.35rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gas-service-card::before {
  content: "";
  position: absolute;
  inset: 0; /* räcker gott, behöver inte svälla utanför kortet */
  background: radial-gradient(circle at top right, rgba(245,156,26,0.18), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease-out;
  pointer-events: none; /* SUPER-viktigt – blockar inte klick längre */
}


.gas-service-cardz:hover::before { opacity: 1;}

.gas-service-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.4rem;
  background: #eef2f7;
  border: 1px solid rgba(148,163,184,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--gas-dark);
}

.gas-service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--gas-dark);
}

.gas-service-card p {
  font-size: 0.85rem;
  color: var(--gas-muted);
  margin-bottom: 0.6rem;
}

.gas-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.gas-tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--gas-dark);
  background: #f9fafb;
}

.gas-client-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gas-client-badge {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed rgba(148,163,184,0.7);
  color: var(--gas-dark);
  background: #ffffff;
  white-space: nowrap;
}

.gas-divider {
  position: relative;
  text-align: center;
  color: var(--gas-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gas-divider::before,
.gas-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 25%;
  height: 1px;
  background: rgba(148,163,184,0.45);
}

.gas-divider::before { left: 0; }
.gas-divider::after { right: 0; }

.gas-divider span {
  padding: 0 0.8rem;
  background: var(--gas-card-bg);
}

.gas-news-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.gas-news-item {
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(148,163,184,0.5);
}

.gas-news-item:last-child { border-bottom: none; }

.gas-news-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gas-dark);
}

.gas-news-meta {
  font-size: 0.75rem;
  color: var(--gas-muted);
}

.gas-news-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid rgba(129,140,248,0.8);
  margin-left: 0.35rem;
  color: #4338ca;
}

.gas-sidebar-card {
  border-radius: 0;
  background: #ffffff;
  border: 1px solid var(--gas-border);
  padding: 1.4rem 1.4rem 1.2rem;
  margin-top: 1.75rem;
  box-shadow: 0 12px 32px rgba(15,23,42,0.06);
}

.gas-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(34,197,94,0.5);
  color: #166534;
  background: linear-gradient(120deg, rgba(22,163,74,0.10), #ecfdf5);
}

.gas-status-pill[data-status="closed"] {
  border-color: rgba(248,113,113,0.7);
  color: #991b1b;
  background: linear-gradient(120deg, rgba(248,113,113,0.12), #fef2f2);
}

.gas-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.gas-status-pill[data-status="closed"] .gas-status-dot { background: #f97373; }

.gas-sidebar-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  color: var(--gas-dark);
}

.gas-sidebar-text {
  font-size: 0.8rem;
  color: var(--gas-muted);
  margin-bottom: 0.8rem;
}

.gas-login-card {
  border-radius: 0;
  border: 1px dashed rgba(148,163,184,0.6);
  padding: 1.1rem 1.1rem 1rem;
  margin-top: 0.8rem;
  background: radial-gradient(circle at top left, #ffffff, #f3f4f6);
}

.gas-login-card label {
  font-size: 0.8rem;
  color: var(--gas-muted);
  margin-bottom: 0.2rem;
}

.gas-login-card .form-control {
  background-color: #ffffff;
  border-radius: 0.4rem;
  border: 1px solid rgba(148,163,184,0.8);
  color: var(--gas-dark);
  font-size: 0.85rem;
}

.gas-login-card .form-control:focus {
  box-shadow: 0 0 0 1px var(--gas-primary);
  border-color: var(--gas-primary);
  background-color: #ffffff;
  color: var(--gas-dark);
}

.gas-login-card .btn {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  background: var(--gas-primary);
  border: none;
  color: #ffffff;
}

.gas-login-card .btn:hover { filter: brightness(1.05); }

.gas-partner-strip {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(148,163,184,0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  justify-content: space-between;
}

.gas-partner-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gas-muted);
  font-weight: 600;
}

.gas-partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.gas-partner-pill {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(148,163,184,0.6);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gas-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
}

.gas-partner-pill span { opacity: 0.95; }

/* Footer-panel i samma bredd som kortet, utan gap */
.gas-footer-wrapper {
  background: linear-gradient(
    180deg,
    rgba(243, 245, 249, 0.9),
    rgba(226, 232, 240, 1)
  );
  border-top: 1px solid rgba(148,163,184,0.25);
  padding: 1.2rem 1.8rem;
  margin-top: 0;
  border-radius: 0px 0px 14px 14px;
}

.gas-footer {
  font-size: 0.85rem;
  color: var(--gas-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-link {
  color: var(--gas-dark);
  opacity: 0.75;
}

.footer-link:hover {
  opacity: 1;
  color: var(--gas-primary);
}

/* HONEYPOT */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .gas-main-card {
    padding: 1.8rem 1.4rem 1.6rem;
  }
  .gas-sidebar-card {
    margin-top: 1.25rem;
  }
  .gas-footer-wrapper {
    padding: 1rem 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .gas-main-card {
    padding: 1.6rem 1.1rem 1.4rem;
  }
}

@media (min-width: 992px) {
  .hero-side-image {
    margin-top: 32px;
  }
}
/* =========================
   Cookie-banner (GDPR / Matomo opt-in)
   ========================= */

.gas-cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.40);
  backdrop-filter: blur(4px);
  z-index: 1040;
}

.gas-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  max-width: 720px;
  width: calc(100% - 2rem);
  z-index: 1050;
  pointer-events: auto;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.gas-cookie-banner.gas-cookie-closed {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.gas-cookie-inner {
  background: #0f172a;
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow:
    0 24px 60px rgba(15,23,42,0.8),
    0 0 0 1px rgba(15,23,42,1);
  padding: 1.3rem 1.4rem 1.1rem;
  color: #e5e7eb;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gas-cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.gas-cookie-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gas-cookie-eyebrow i {
  font-size: 0.9rem;
  color: #fbbf24;
}

.gas-cookie-title {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f9fafb;
}

.gas-cookie-text {
  margin: 0.3rem 0 0.8rem;
  font-size: 0.85rem;
  color: rgba(209,213,219,0.9);
}

.gas-cookie-text strong {
  color: #fefce8;
  font-weight: 600;
}

.gas-cookie-panels {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.gas-cookie-panel {
  background: radial-gradient(circle at top left, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
  border-radius: 0.6rem;
  border: 1px solid rgba(75,85,99,0.8);
  padding: 0.7rem 0.75rem;
}

.gas-cookie-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.gas-cookie-panel-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e7eb;
}

.gas-cookie-chip {
  font-size: 0.68rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  color: rgba(209,213,219,0.95);
}

.gas-cookie-panel-text {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(156,163,175,0.95);
}

.gas-cookie-switch .form-check-input {
  cursor: pointer;
}

.gas-cookie-switch .form-check-input:checked {
  background-color: #f59e0b;
  border-color: #f59e0b;
}

.gas-cookie-switch .form-check-label {
  font-size: 0.75rem;
  color: rgba(209,213,219,0.9);
  margin-left: 0.1rem;
}

.gas-cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.gas-cookie-btn-primary,
.gas-cookie-btn-secondary {
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
}

.gas-cookie-btn-primary {
  background: #f59c1a;
  border: none;
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(245,156,26,0.4);
}

.gas-cookie-btn-primary:hover {
  filter: brightness(1.05);
}

.gas-cookie-btn-secondary {
  background: transparent;
  border: 1px solid rgba(148,163,184,0.7);
  color: #e5e7eb;
}

.gas-cookie-btn-secondary:hover {
  background: rgba(15,23,42,0.9);
}

.gas-cookie-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.gas-cookie-link {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.75rem;
  color: rgba(148,163,184,0.95);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.gas-cookie-link:hover {
  color: #fbbf24;
}

/* Liten knapp för att öppna inställningar igen */
.gas-cookie-settings-btn {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1035;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.92);
  color: #e5e7eb;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  display: inline-flexa;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 10px 25px rgba(15,23,42,0.7);
}

.gas-cookie-settings-btn i {
  font-size: 0.9rem;
  color: #f59e0b;
}

.gas-cookie-settings-btn:hover {
  color: #fefce8;
  border-color: #f59e0b;
}

/* Responsivitet */
@media (max-width: 767.98px) {
  .gas-cookie-banner {
    bottom: 0.5rem;
    width: calc(100% - 1.5rem);
  }

  .gas-cookie-inner {
    padding: 1.1rem 1rem 0.9rem;
  }

  .gas-cookie-panels {
    grid-template-columns: 1fr;
  }

  .gas-cookie-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .gas-cookie-btn-primary,
  .gas-cookie-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .gas-cookie-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Göm flytande cookie-inställningsknapp på små skärmar */
@media (max-width: 575.98px) {
  .gas-cookie-settings-btn {
    display: none;
  }
}


/* === Clients – grid/list === */

.gas-client-grid {
  margin-top: 0.5rem;
}

.gas-client-card {
  background: #ffffff;
  border-radius: 0;
  border: 1px solid var(--gas-border);
  box-shadow: 0 16px 40px rgba(15,23,42,0.06);
  padding: 1.1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gas-client-card-logo-wrap {
  margin-bottom: 0.4rem;
}

.gas-client-card-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(15,23,42,0.10));
}

.gas-client-card-logo-placeholder {
  height: 52px;
  width: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg,#e5e7eb,#f9fafb);
  border: 1px solid rgba(148,163,184,0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gas-dark);
  margin-bottom: 0.4rem;
}

.gas-client-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: var(--gas-dark);
}

.gas-client-card-meta-line {
  font-size: 0.82rem;
  color: var(--gas-muted);
}

.gas-client-card-meta-line .label {
  font-weight: 500;
  margin-right: 0.25rem;
}

.gas-client-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.gas-client-chip {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  background: #f9fafb;
  color: var(--gas-dark);
}

.gas-client-card-intro {
  font-size: 0.85rem;
  color: var(--gas-muted);
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.gas-client-card-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gas-primary);
  text-decoration: none;
}

.gas-client-card-link:hover {
  text-decoration: underline;
}

.gas-client-card-site-link {
  font-size: 0.78rem;
  color: var(--gas-muted);
  text-decoration: none;
}

.gas-client-card-site-link:hover {
  color: var(--gas-primary);
}

/* === Clients – detail === */

.gas-breadcrumb-link {
  color: var(--gas-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.gas-breadcrumb-link:hover {
  color: var(--gas-primary);
}

.gas-client-detail-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gas-dark);
}

.gas-client-detail-intro {
  font-size: 0.95rem;
  color: var(--gas-muted);
  max-width: 38rem;
}

.gas-client-detail-media {
  margin-top: 0.4rem;
}

.gas-client-logo-frame {
  border-radius: 0;
  border: 1px solid rgba(148,163,184,0.6);
  background: #ffffff;
  padding: 1.1rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

.gas-client-detail-logo {
  max-height: 140px;
  width: 100%;
  object-fit: contain;
}

.gas-client-logo-placeholder {
  border-radius: 0;
  border: 1px dashed rgba(148,163,184,0.7);
  background: repeating-linear-gradient(
    -45deg,
    #f9fafb,
    #f9fafb 6px,
    #e5e7eb 6px,
    #e5e7eb 12px
  );
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(15,23,42,0.4);
}

.gas-client-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  font-size: 0.85rem;
}

.gas-client-detail-meta-item .label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--gas-muted);
}

.gas-client-detail-meta-item .value {
  font-weight: 500;
  color: var(--gas-dark);
}

.gas-client-detail-link {
  color: var(--gas-primary);
  text-decoration: none;
  font-size: 0.85rem;
}

.gas-client-detail-link:hover {
  text-decoration: underline;
}

.gas-client-detail-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gas-muted);
}

.gas-client-detail-body {
  font-size: 0.92rem;
  color: var(--gas-dark);
}

.gas-client-detail-body p {
  margin-bottom: 0.6rem;
}

.gas-client-detail-body ul,
.gas-client-detail-body ol {
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
}

@media (max-width: 991.98px) {
  .gas-client-detail-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* ===== Client detail meta ===== */
.gas-client-title {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.gas-client-lead {
  font-size: 0.95rem;
  color: var(--gas-muted);
  max-width: 42rem;
}

.gas-client-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
  padding: 0.85rem 1rem;
  border-radius: 0.6rem;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.96),
    rgba(226, 232, 240, 0.96)
  );
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.gas-client-meta-item {
  min-width: 160px;
}

.gas-client-meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gas-muted);
  margin-bottom: 0.15rem;
}

.gas-client-meta-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gas-dark);
}

.gas-client-meta-link {
  color: var(--gas-primary);
  text-decoration: none;
}

.gas-client-meta-link:hover {
  text-decoration: underline;
}

/* Bild + besök-knapp */
.gas-client-hero-image img {
  display: block;
  border-radius: 0.75rem;
}

.gas-client-visit-btn {
  display: inline-block;
  margin-top: 0.5rem;
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--gas-primary);
  color: #fff;
  border: none;
  box-shadow: 0 14px 35px rgba(245, 156, 26, 0.35);
}

.gas-client-visit-btn:hover {
  filter: brightness(1.04);
}

/* Brödtext */
.gas-client-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gas-dark);
}

/* Tillbaka-länk under body */
.gas-client-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--gas-muted);
}

.gas-client-back-link i {
  font-size: 1.1rem;
}

.gas-client-back-link:hover {
  color: var(--gas-primary);
}

/* Responsiv tweak */
@media (max-width: 767.98px) {
  .gas-client-meta {
    padding: 0.75rem 0.8rem;
  }
}
/* Meta-kort på kund-detaljsida */
.gas-client-meta-card {
  margin-top: 1rem;
  border-radius: 0.9rem;
  background: #eef2ff;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;    /* <<< gör att de hamnar under varandra */
  gap: 0.75rem;
}

.gas-client-meta-item {
  display: flex;
  flex-direction: column;
}

.gas-client-meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gas-muted);
  font-weight: 600;
}

.gas-client-meta-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gas-dark);
}

.gas-client-meta-link {
  color: var(--gas-primary);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.gas-client-meta-link:hover {
  text-decoration: underline;
}
.gas-client-meta-card::before {
  pointer-events: none;   /* så pseudo-elementet inte blockerar länkar */
}
.client-info-box {
    display: block !important;
}

.client-info-row {
    margin-bottom: 1rem;
}

.client-info-row:last-child {
    margin-bottom: 0;
}
/* Services-page layout */
.gas-service-grid {
  margin-top: 0.5rem;
}

.gas-service-card-lg {
  padding: 1.4rem 1.5rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at top left, #ffffff 0, #f9fafb 38%, #eef2ff 100%);
  box-shadow:
    0 18px 40px rgba(15,23,42,0.10),
    0 0 0 1px rgba(148,163,184,0.20);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}

.gas-service-card-lg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at top right, rgba(245,156,26,0.20), transparent 55%),
    radial-gradient(circle at bottom left, rgba(59,130,246,0.16), transparent 55%);
  opacity: 0;
  transition: opacity .22s ease-out;
  pointer-events: none;
}

.gas-service-card-lg:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 55px rgba(15,23,42,0.16),
    0 0 0 1px rgba(248,180,76,0.4);
  border-color: rgba(248,180,76,0.7);
}

.gas-service-card-lg:hover::after {
  opacity: 1;
}

.gas-service-thumb-wrap {
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.35);
  background: #0f172a;
}

.gas-service-thumb {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.gas-service-title {
  letter-spacing: -0.02em;
}

.gas-service-intro {
  color: var(--gas-muted);
}

.gas-service-body {
  color: #1f2933;
}

.gas-service-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.05);
}

.gas-service-meta-pill i {
  font-size: .9rem;
  color: var(--gas-primary);
}

@media (max-width: 767.98px) {
  .gas-service-card-lg {
    padding: 1.1rem 1.1rem 1.0rem;
  }

  .gas-service-thumb {
    height: 130px;
  }
}

/* SERVICE CARDS */
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 26px;
  transition: all .25s ease;
  height: 100%;
}

.service-card:hover {
  border-color: #d97706;
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.service-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-body {
  color: #555;
  font-size: .95rem;
  min-height: 60px;
}

.service-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  background: #0d6efd;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.service-btn:hover {
  background: #0b5ed7;
  color: white;
}

/* SINGLE PAGE */
.service-back {
  display: inline-block;
  margin-bottom: 20px;
  color: #0d6efd;
  font-weight: 500;
}

.service-single-header {
  margin-bottom: 20px;
}

.service-single-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service-single-body {
  font-size: 1.05rem;
  line-height: 1.65rem;
}
/* Se till att dold cookie-overlay inte fångar klick */
.gas-cookie-backdrop[hidden],
.gas-cookie-banner[hidden] {
  display: none !important;
}

.gas-cookie-banner.gas-cookie-closed {
  pointer-events: none;
}

h1 {
    font-size: 30px !important;
    line-height: 1.2;
}

/* ===== Bildlayouter för content (TinyMCE m.m.) ===== */

/* Grundstil för alla dessa bildtyper */
.img-right-frame,
.img-right-rounded,
.img-left-frame,
.img-left-rounded {
  border: 3px solid #B5B5B5;   /* ljusgrå ram */
  padding:3px;                /* liten “passepartout” */
  max-width: 100%;
  height: auto;
}

/* Högerställda bilder */
.img-right-frame,
.img-right-rounded {
  float: right;
  margin: 0 0 20px 20px;       /* 20px mot texten + under bilden */
}

/* Vänsterställda bilder */
.img-left-frame,
.img-left-rounded {
  float: left;
  margin: 0 20px 20px 0;       /* 20px mot texten + under bilden */
}

/* Rundade varianter */
.img-right-rounded,
.img-left-rounded {
  border-radius: 12px;         /* snyggt men inte cirkel-galet */
}

/* Lite snällare på mobila – inga knäppa floats i smal vy */
@media (max-width: 768px) {
  .img-right-frame,
  .img-right-rounded,
  .img-left-frame,
  .img-left-rounded {
    float: none;
    display: block;
    margin: 0 0 16px 0;        /* ren stackad layout på mobil */
  }
}

/* ===========================
   LOGIN DROPDOWN / SHEET
   =========================== */
.gas-login-panel {
  position: fixed;
  z-index: 9999;
  display: none;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(10, 10, 40, 0.25);
}

.gas-login-panel-inner {
  padding: 1.5rem 1.75rem 1.75rem;
}

.gas-login-panel.show {
  display: block;
}

.gas-login-close {
  font-size: 1rem;
  color: #333;
}
.gas-login-close:hover {
  color: #000;
}

/* Lås scroll när login är öppen (mobil/desktop) */
body.gas-login-open {
  overflow: hidden;
}

/* DESKTOP: centrera rutan lite ovanför mitten */
@media (min-width: 992px) {
  .gas-login-panel {
    width: min(380px, 100% - 2rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 35px)); /* 35px högre än mitten */
  }
}

/* MOBIL: fullbredd sheet högst upp */
@media (max-width: 991.98px) {
  .gas-login-panel {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 0 18px 18px;
  }

  .gas-login-panel-inner {
    padding-top: 1.25rem;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
  }
}

/* ===============================
   FORM FIELD 2.7 UPGRADE — GAS 2027 STYLE
   =============================== */

.gas-main-card input.form-control,
.gas-main-card textarea.form-control,
.gas-main-card select.form-select {
  background: #ffffff;
  border: 1.6px solid rgba(0, 0, 0, 0.12);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all .18s ease;
}

/* Hover – diskret highlight */
.gas-main-card input.form-control:hover,
.gas-main-card textarea.form-control:hover,
.gas-main-card select.form-select:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

/* Focus – snygg modern glow */
.gas-main-card input.form-control:focus,
.gas-main-card textarea.form-control:focus,
.gas-main-card select.form-select:focus {
  border-color: #4e8cff;
  box-shadow: 0 0 0 3px rgba(78, 140, 255, 0.18);
  outline: none;
  background: #ffffff;
}

/* Placeholder färg — lite tydligare */
.gas-main-card ::placeholder {
  color: rgba(0,0,0,0.45);
}

/* Offert-layout */
.gas-offer-main {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.gas-offer-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.03);
}

.gas-offer-card .form-control,
.gas-offer-card .form-select {
  background: #f9fafb;
  border-radius: 10px;
  border: 1.5px solid rgba(148, 163, 184, 0.7);
  padding: 0.7rem 0.9rem;
  transition: all .18s ease;
}

.gas-offer-card .form-control:focus,
.gas-offer-card .form-select:focus {
  border-color: #fb9b28;
  box-shadow: 0 0 0 3px rgba(251, 155, 40, 0.25);
  background: #ffffff;
  outline: none;
}

/* Sidebar */
.gas-offer-aside {
  background: radial-gradient(circle at top left, #fff7ea, #ffffff);
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.8rem;
  border: 1px solid rgba(251, 155, 40, 0.18);
}

.gas-offer-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.gas-offer-steps li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.gas-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: #111827;
  color: #fff;
}

/* Mobil justering */
@media (max-width: 991.98px) {
  .gas-offer-card {
    padding: 1.25rem 1.25rem 1.6rem;
  }
  .gas-offer-aside {
    margin-top: 0.5rem;
  }
}


/* Login-backdrop (samma stil som cookie-backdrop) */
.gas-login-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45); /* mörk midnatt blå-svart */
  backdrop-filter: blur(4px);
  z-index: 9990; /* precis under login-panel (9999) */
  display: none;
}

.gas-login-backdrop.show {
  display: block;
}
