/* ==========================================================================
   Cloud 476 – base.css
   Site-wide grund: tokens, reset, typografi, nav, footer, knappar, sektionsrubrik.
   Laddas på ALLA sidor. Sidspecifik styling ligger i egna filer.
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream:     #f7f2eb;
  --cream2:    #ede7dc;
  --navy:      #0d1b3e;
  --plum:      #3b1f5e;
  --rose:      #c9637a;
  --rose-soft: #e8a0b0;
  --lilac:     #b89fd4;
  --text:      #1a1a2e;
  --muted:     #6b7280;
  --white:     #ffffff;
  --border:    rgba(0,0,0,0.09);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
/* Gard mot Elementors globala kit (elementor-kit-5) som sätter blå body-bakgrund
   via en klass-selektor. `html body[class]` (0,1,2) slår den utan !important.
   Rotorsak: gammal Elementor global bakgrund – kan rensas i Elementor → Site Settings. */
html body[class] { background: var(--cream); }

/* Rubrik-default + gard mot Kadence element-selektorer (mina laddas efter parent → vinner på lika specificitet) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--navy);
  line-height: 1.15;
}

/* ── NAV ── */
nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 52px; height: 68px;
  background: rgba(247,242,235,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.01em; color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--rose); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13px; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }
.mvp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: white;
  border-radius: 20px; padding: 5px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
}
.mvp-pill svg { flex-shrink: 0; }

/* ── KNAPPAR ── */
.btn-primary {
  background: var(--rose); color: white; border: none;
  border-radius: 8px; padding: 10px 22px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.btn-primary:hover { background: #b3566a; }
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(13,27,62,.2);
  color: var(--navy); border-radius: 8px;
  padding: 10px 22px; font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: inherit; transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--navy); }

/* Länkar som ser ut som knappar: aldrig understrykning/ärvd temafärg */
.btn-primary, .btn-ghost, .cruise-btn, .podcast-link,
.nav-links a, .flinks a, .blog-more a { text-decoration: none; }
a.btn-primary, a.btn-ghost { display: inline-flex; align-items: center; justify-content: center; }

/* ── SEKTIONSRUBRIK (delad komponent) ── */
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.sec-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.01em;
}
.sec-rule { flex: 1; height: 1px; background: var(--border); }

/* ── SERVICE-KORT (delas av startsida + konsulting) ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.scard:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.07); }
.scard.featured { background: var(--navy); border-color: var(--navy); }
.scard-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; background: var(--cream2);
}
.scard.featured .scard-icon { background: rgba(255,255,255,.1); }
.scard-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--navy);
}
.scard.featured .scard-title { color: white; }
.scard-desc { font-size: 13px; line-height: 1.6; color: var(--muted); }
.scard.featured .scard-desc { color: rgba(255,255,255,.58); }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer {
  background: var(--navy); padding: 40px 52px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.flogo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 800; color: white; text-decoration: none; }
.flogo span { color: var(--rose-soft); }
.flinks { display: flex; gap: 28px; }
.flinks a { color: rgba(255,255,255,.4); text-decoration: none; font-size: 12px; font-weight: 500; }
.flinks a:hover { color: white; }
.ftag { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── RESPONSIVT (delat) ── */
@media (max-width: 880px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  footer { padding: 32px 20px; }
}
