/* ==========================================================================
   OCD Snickeri & Interiör — statisk kopia av WordPress-sajten (Blocksy +
   Stackable). Mått, färger och brytpunkter är uppmätta från originalet.

   Brytpunkter som i originalet:
     surfplatta  max-width: 999.98px
     mobil       max-width: 689.98px
   ========================================================================== */

/* ---- Typsnitt ----------------------------------------------------------- */
/* Poppins används bara i Google-recensionen, Lato bara i tjänsterubrikerna. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin.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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-700-latin.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: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---- Grund ---------------------------------------------------------------- */
:root {
  /* Blocksy-paletten från originalet */
  --c1: #bda288;   /* accent, länkar, knapp-hover */
  --c3: #777a7d;   /* brödtext */
  --c4: #111518;   /* rubriker, mörka ytor */
  --c5: #e7ebee;   /* ramar, ljus länktext */
  --c6: #f3f5f7;
  --c7: #fbfbfc;   /* ljusa sektioner */
  --c8: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --ease: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --container: min(1290px, 90vw);
  --wide: min(1550px, 90vw);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c8);
  color: var(--c3);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { color: #fff; background: var(--c1); }

h1, h2, h3, h4 { color: var(--c4); margin: 0; }
p { margin: 0 0 24px; }
a { color: var(--c1); transition: color .12s var(--ease); }
img, video, iframe { max-width: 100%; }
button { font-family: inherit; }

.container { width: var(--container); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 10px 16px;
  background: var(--c4);
  color: #fff;
}
.skip-link:focus { left: 16px; top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Stackable-spacers: höjd per brytpunkt, --d / --t / --m */
.sp { height: var(--d); }

/* Stackable-blockens marginal: 24 px, 16 px på mobil */
.blk { margin-bottom: 24px; }
.blk:last-child { margin-bottom: 0; }

/* ---- Knappar ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 3px;
  background: var(--c4);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  text-decoration: none;
  transition: background-color .12s cubic-bezier(0.45, 0.05, 0.55, 0.95), box-shadow .12s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.btn:hover { background: var(--c1); color: #fff; }

.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px #fff;
  font-size: 17px;
  font-weight: 700;
}
.btn--ghost:hover { background: transparent; box-shadow: inset 0 0 0 2px var(--c4); }

/* ---- Sidhuvud ----------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}
/* Portfolio-sidan har ett vitt, icke-transparent sidhuvud i originalet */
.site-header--solid { position: relative; background: #fff; }

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100px;
}

.header-logo { display: flex; align-items: center; }
.header-logo a { display: block; }
.header-logo img { display: block; height: 45px; width: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0 25px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--c5); }

.header-cta {
  justify-self: end;
  padding: 5px 15px;
  border-radius: 3px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .12s var(--ease), color .12s var(--ease);
}
.header-cta:hover { background: var(--c1); color: #fff; }

/* Vitt sidhuvud (sidor utan hero-bild). I originalet var länkarna vita även
   här och syntes inte, så de har fått mörk text. */
.site-header--solid .main-nav a,
.site-header--solid .header-cta { color: var(--c4); }
.site-header--solid .main-nav a:hover,
.site-header--solid .main-nav a[aria-current="page"] { color: var(--c1); }
.site-header--solid .header-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { display: block; fill: currentColor; transition: fill .12s var(--ease); }
.site-header--solid .nav-toggle { color: var(--c4); }

/* ---- Mobilmeny (offcanvas) -------------------------------------------- */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 21, 26, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.offcanvas.is-open { opacity: 1; visibility: visible; }

.offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 65vw;
  height: 100%;
  overflow-y: auto;
  padding: 57px 25px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(18, 21, 25, 0.98);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.offcanvas.is-open .offcanvas__panel { transform: none; }

.offcanvas__close {
  position: absolute;
  top: 11px;
  right: 16px;
  padding: 6px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.offcanvas__close svg { display: block; }
.offcanvas__close { transition: color .12s var(--ease); }
/* Hover bara med mus: på pekskärm fastnar hover-läget efter ett tryck, och
   krysset ligger där hamburgaren nyss trycktes. */
@media (hover: hover) {
  .nav-toggle:hover,
  .offcanvas__close:hover { color: var(--c1); }
}

.offcanvas__logo img { display: block; height: 15px; width: auto; }

.offcanvas__nav ul { list-style: none; margin: 0; padding: 0; }
.offcanvas__nav a {
  display: block;
  padding: 5px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  text-decoration: none;
}
.offcanvas__nav a:hover,
.offcanvas__nav a[aria-current="page"] { color: var(--c1); }

.offcanvas__text { font-size: 15px; line-height: 1.3; }
.offcanvas__text p { margin: 0 0 1.5em; }
.offcanvas__text p:last-child { margin: 0; }
.offcanvas__text strong { color: var(--c3); }
.offcanvas__text a { color: var(--c1); }

.offcanvas__social { display: flex; gap: 15px; }
.offcanvas__social a { display: flex; color: var(--c3); }
.offcanvas__social svg { width: 15px; height: 15px; fill: currentColor; transition: fill .12s var(--ease); }
.offcanvas__social a:hover { color: var(--c1); }

body.no-scroll { overflow: hidden; }

/* ---- Startsidans hero med video --------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 300px 0 200px;
  overflow: hidden;
  background: var(--c3);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c3);
  opacity: .3;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: calc(44% - 17.5px);
}
.hero h1 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 55px;
  font-weight: 800;
  line-height: 1.3;
}
.hero p { margin: 0 0 60px; color: #fff; }

/* ---- Undersidornas hero (bild) ----------------------------------------- */
.page-hero {
  position: relative;
  height: 500px;
  background-color: #f1f1f1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .3;
}
.page-hero--tjanster { background-image: url("../img/tjanster-hero-2560.webp"); }
.page-hero--kontakt { background-image: url("../img/kontakt-hero-1440.webp"); }
.page-hero--kontakt::after { opacity: .2; }
@media (max-width: 999.98px) {
  .page-hero--tjanster { background-image: url("../img/tjanster-hero-1440.webp"); }
}
@media (max-width: 689.98px) {
  .page-hero--tjanster { background-image: url("../img/tjanster-hero-800.webp"); }
  .page-hero--kontakt { background-image: url("../img/kontakt-hero-800.webp"); }
}

/* ---- Instagram-flöde --------------------------------------------------- */
.ig {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding-bottom: 10px;
}
.ig__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  color: var(--c1);
  text-decoration: none;
}
.ig__avatar {
  position: relative;
  flex: none;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
}
.ig__avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.ig__avatar-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  opacity: 0;
  transition: opacity .2s ease;
}
.ig__avatar-hover svg { width: 24px; height: 24px; fill: currentColor; }
.ig__header:hover .ig__avatar-hover { opacity: 1; }
.ig__text { display: flex; flex-direction: column; gap: 4px; }
.ig__name { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--c4); }
.ig__bio { margin: 0; font-size: 14px; line-height: 1.4; }

.ig__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}
.ig__item a {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: opacity .1s ease-in;
}
.ig__item a:hover { opacity: .85; }
.ig__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ig__icon {
  position: absolute;
  fill: currentColor;
  pointer-events: none;
}
.ig__icon--carousel {
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.9);
}
.ig__icon--play {
  top: 50%;
  left: 50%;
  width: 42px;
  height: 48px;
  margin: -24px 0 0 -19px;
  color: #fff;
}

.ig__actions { text-align: center; }
.ig__more,
.ig__follow a {
  display: inline-block;
  margin-top: 5px;
  padding: 7px 14px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  vertical-align: top;
  cursor: pointer;
  transition: all .1s ease-in;
}
.ig__more { background: #333; }
.ig__follow { display: inline-block; margin-left: 5px; }
.ig__follow a { background: #408bd1; }
.ig__follow svg {
  display: inline-block;
  width: 13px;
  height: 15px;
  margin: 0 7px -1px 0;
  fill: currentColor;
  vertical-align: -2px;
}

/* ---- Google-recension (som Trustindex-widgeten) ------------------------ */
.review {
  width: 100%;
  max-width: 1290px;
  margin: 5px auto 24px;
  font-family: "Poppins", var(--font);
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}
.review__wrap { padding: 12px 16px; }
.review__card {
  position: relative;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.05);
}
.review__header { position: relative; display: flex; }
.review__platform {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
}
.review__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 30px;
}
.review__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.review__name {
  padding-right: 25px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.review__date { color: #6b6b6b; font-size: 13px; line-height: 1.4; }
.review__stars { display: flex; margin: 11px 0; }
.review__stars img { width: 17px; height: 17px; margin-right: 1px; }
.review__verified { width: 15px; height: 15px; margin: 2px 0 0 7px; }
.review__text {
  display: -webkit-box;
  height: 87px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.review__text.is-open { display: block; height: auto; -webkit-line-clamp: unset; }
.review__more { display: block; padding-top: 8px; }
.review__more[hidden] { display: none; }
.review__more button {
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.4;
  opacity: .5;
  cursor: pointer;
}
.review__line {
  display: none;
  position: relative;
  width: 150px;
  height: 3px;
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(94, 94, 94, 0.35);
}
.review__line::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: #5e5e5e;
}

/* ---- Tvåspaltiga sektioner (text + bild) ------------------------------- */
.split { padding: 150px 0; background: #fff; }
.split--tint { background: var(--c7); }
.split--intro { padding: 30px 0; }
.split__row {
  display: flex;
  align-items: center;
  gap: 100px;
}
.split__text,
.split__media { flex: 0 0 calc(50% - 50px); min-width: 0; }
.split__text { padding: 20px; }
.split h1,
.split h2 {
  margin-bottom: 30px;
  font-size: 45px;
  font-weight: 800;
  line-height: 1.3;
}
.split ol,
.split ul { margin: 0 0 24px; padding-left: 40px; }
.split__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* ---- Kontakta oss-rutan ------------------------------------------------- */
.cta {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 60px 80px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--c4);
}
.cta h2 {
  flex: 1 1 calc(70% - 15px);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
}
.cta__action {
  flex: 1 1 calc(30% - 15px);
  display: flex;
  justify-content: flex-end;
}

/* ---- Tjänster-sidan ---------------------------------------------------- */
.svc {
  display: flex;
  align-items: center;
  width: var(--wide);
  min-height: 400px;
  margin: 0 auto 24px;
  padding: 24px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--c7);
}
.svc__row { display: flex; width: 100%; }
.svc__col { flex: 1 1 50%; min-width: 0; padding: 12px; }
.svc h2 {
  font-family: "Lato", sans-serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.5;
}
.svc__col > :last-child { margin-bottom: 0; }
.svc ul { margin: 0 0 24px; padding-left: 40px; }

/* ---- Kontakt-sidan ----------------------------------------------------- */
.contact-intro { padding: 80px 0 20px; }
.contact-intro__col { width: 45%; }
.contact-intro h1 {
  margin-bottom: 10px;
  font-size: 45px;
  font-weight: 800;
  line-height: 1.3;
}
.contact-intro p { margin: 0; color: var(--c4); }

.cards { display: flex; flex-wrap: wrap; gap: 30px; }
.card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 45px 35px 35px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 20px 80px 0 rgba(192, 198, 211, 0.25);
  text-align: center;
}
.card svg {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 25px;
  fill: var(--c1);
}
.card h2 {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.card p { margin: 0; }
.card__link { position: absolute; inset: 0; z-index: 1; }

.contact-row { display: flex; align-items: center; gap: 50px; }
.contact-row > * { flex: 1 1 0; min-width: 0; }
.contact-map iframe { display: block; width: 600px; height: 600px; border: 0; }

.form-field { padding: 10px 0; }
.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--c3);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}
.form-field .req { color: #ff0000; font-weight: 400; }
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid var(--c5);
  border-radius: 3px;
  background: transparent;
  color: var(--c3);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  transition: border-color .12s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea {
  height: 220px;
  padding: 12px 15px;
  line-height: 1.5;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--c1); outline: none; }
.form-field [aria-invalid="true"] { border-color: #d63637; }
.field-error { display: block; margin-top: 5px; color: #d63637; font-size: 14px; line-height: 1.4; }
.form-hp { position: absolute; left: -9999px; }
.form-submit { padding-top: 10px; }
.form-submit button {
  min-height: 40px;
  padding: 5px 35px;
  border: 0;
  border-radius: 3px;
  background: var(--c1);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  cursor: pointer;
}
.form-submit button:disabled { opacity: .7; cursor: default; }
.form-status {
  margin: 15px 0 0;
  padding: 15px;
  border: 1px solid;
  border-radius: 3px;
  font-size: 15px;
  line-height: 1.5;
}
.form-status[hidden] { display: none; }
.form-status--ok { border-color: #b4d39b; background: #e0ffc7; color: #3c763d; }
.form-status--error { border-color: #d63637; background: #fcf0f1; color: #d63637; }

/* ---- Portfolio, Privacy Policy och enkla textsidor ---------------------- */
.simple-page { padding: 60px 0; }
.simple-page h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}
.simple-page--center h1 { text-align: center; }
.simple-page__head { margin-bottom: 53px; }

.search-form {
  position: relative;
  display: flex;
  width: 400px;
  max-width: 100%;
  height: 40px;
  margin: 40px auto 87px;
  border: 1px solid var(--c5);
  border-radius: 3px;
}
.search-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: var(--c3);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}
.search-form input::placeholder { color: var(--c3); opacity: .8; }
.search-form button {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--c3);
  cursor: pointer;
}
.search-form button svg { display: block; margin: 0 auto; fill: currentColor; }

/* Integritetspolicyn (ny sida, finns inte i originalet) */
.policy { padding: 80px 0 100px; }
.policy__inner { max-width: 750px; }
.policy h1 {
  margin-bottom: 30px;
  font-size: 45px;
  font-weight: 800;
  line-height: 1.3;
}
.policy h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.policy ul { margin: 0 0 24px; padding-left: 22px; }
.policy li { margin-bottom: 6px; }
.policy table { width: 100%; margin: 0 0 24px; border-collapse: collapse; font-size: 15px; }
.policy th,
.policy td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--c5); text-align: left; vertical-align: top; }
.policy th { color: var(--c4); }
.policy .table-scroll { overflow-x: auto; }

/* ---- Sidfot ------------------------------------------------------------- */
.site-footer { background: var(--c4); }
.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding: 70px 0;
  color: #fff;
}
.footer-col > :not(:first-child) { margin-top: 40px; }
.footer-col p { margin: 0; }
.footer-title { color: #fff; font-weight: 700; }
.footer-title--lg { font-size: 18px; line-height: 1.65; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--c5); text-decoration: none; }

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding: 25px 0;
}
.footer-copy {
  margin: 0 0 30px;
  color: var(--c3);
  font-size: 15px;
  line-height: 1.3;
}
.footer-copy a { color: var(--c3); text-decoration: none; }
.footer-copy a:hover { color: var(--c1); }
.footer-copy button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c3);
  font: inherit;
  cursor: pointer;
  transition: color .12s var(--ease);
}
.footer-copy button:hover { color: var(--c1); }
.footer-social-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
.footer-social { display: flex; gap: 20px; margin-bottom: 30px; }
.footer-social a { display: flex; color: var(--c3); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; transition: fill .12s var(--ease); }
.footer-social a:hover { color: var(--c1); }

/* ---- Cookie-samtycke (samma som avacti.com, i OCD:s färger) ------------ */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 28px);
  z-index: 200;
  width: min(680px, calc(100vw - 32px));
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: var(--c4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  animation: cc-in .4s ease both;
}
@keyframes cc-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.cookie-consent__text {
  flex: 1 1 300px;
  margin: 0;
  color: var(--c5);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-consent__text a { color: var(--c1); text-decoration: underline; }
.cookie-consent__actions { display: flex; flex-shrink: 0; gap: 12px; }
.cookie-consent__btn {
  padding: 10px 22px;
  border: 0;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .12s var(--ease), color .12s var(--ease), box-shadow .12s var(--ease);
}
.cookie-consent__btn--primary { background: var(--c1); color: #fff; }
.cookie-consent__btn--primary:hover { background: #a98c71; }
.cookie-consent__btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(231, 235, 238, 0.35);
  color: #fff;
}
.cookie-consent__btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--c1); color: var(--c1); }
/* display:flex på klassen slår ut [hidden], därför den här regeln */
.cookie-consent__options[hidden] { display: none; }
.cookie-consent__options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cc-opt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  color: var(--c5);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.cc-opt strong { display: block; margin-bottom: 2px; color: #fff; }
.cc-opt input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c1);
  cursor: pointer;
}
.cc-opt input:disabled { opacity: .6; cursor: not-allowed; }

/* ==========================================================================
   Surfplatta
   ========================================================================== */
@media (max-width: 999.98px) {
  .sp { height: var(--t, var(--d)); }

  .header-row { grid-template-columns: 1fr auto; height: 70px; }
  .header-logo img { height: 15px; }
  .main-nav,
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 250px 0 150px; }
  .hero__content { width: 100%; text-align: center; }
  .hero h1 { font-size: 40px; }

  .page-hero { height: 400px; }

  .split { padding: 70px 0; }
  .split__row { flex-direction: column; align-items: stretch; gap: 0; }
  .split__text,
  .split__media { flex: none; }
  .split__text { text-align: center; }
  .split h1,
  .split h2 { font-size: 30px; }
  .split__media img { height: 600px; object-fit: cover; }

  .cta h2 { font-size: 25px; }
  .btn--ghost { font-size: 15px; }

  .contact-intro { padding: 250px 0 150px; }
  .contact-intro__col { width: 100%; text-align: center; }
  .contact-intro h1 { font-size: 40px; }
  .card { flex: 0 1 calc(50% - 15px); }
  .contact-row { flex-direction: column; align-items: stretch; }
  .contact-row > * { flex: none; }

  .footer-main { grid-template-columns: repeat(2, 1fr); padding: 50px 0; }
  .footer-bottom { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-social-wrap { align-items: center; }
}

@media (max-width: 800px) {
  .ig__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  /* Som i originalet: 4 inlägg på mobil */
  .ig__item:nth-child(n+5) { display: none; }
  .ig__avatar { width: 50px; height: 50px; }
  .ig__name { font-size: 16px; line-height: 1.3; }
  .ig__bio { font-size: 13px; line-height: 1.3; }
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 689.98px) {
  :root { --container: 88vw; --wide: 88vw; }

  .sp { height: var(--m, var(--t, var(--d))); }
  .blk { margin-bottom: 16px; }
  .blk:last-child { margin-bottom: 0; }

  .header-logo img,
  .offcanvas__logo img { height: 30px; }
  .offcanvas__panel { width: 90vw; }
  .offcanvas__social { gap: 20px; }
  .offcanvas__social svg { width: 30px; height: 30px; }

  .hero { padding: 150px 0 100px; }
  .hero__content { text-align: left; }
  .hero h1 { font-size: 45px; }

  .page-hero { height: 250px; }

  .review__wrap { padding: 12px 0; }
  .review__line { display: block; }

  .split__text { text-align: left; }

  .cta { flex-direction: column; padding: 50px 40px; text-align: center; }
  .cta h2,
  .cta__action { flex: none; width: 100%; }
  .cta__action { justify-content: center; }

  .svc { padding: 16px; margin-bottom: 16px; }
  .svc__row { flex-direction: column; }
  .svc__col { flex: none; padding: 8px; }
  .svc h2 { font-size: 30px; }

  .contact-intro { padding: 40px 0 0; }
  .contact-intro__col { text-align: left; }
  .contact-intro h1 { font-size: 30px; }
  .card { flex: 0 1 100%; }

  .footer-main { grid-template-columns: 1fr; padding: 40px 0; }
  .footer-bottom { padding: 15px 0; }
  .footer-copy { margin-bottom: 0; }

  .policy h1 { font-size: 30px; }

  .cookie-consent__actions { flex-wrap: wrap; width: 100%; }
  .cookie-consent__btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
