:root{
  --bg:#ffffff;
  --text:#2b2b2b;
  --muted:#5c5c5c;

  --brand:#385454;
  --accent:#9f8404;
  --header-bg:#cbd7ee;

  --card:#ffffff;
  --border:rgba(0,0,0,.10);

  --radius:18px;
  --shadow:0 12px 35px rgba(0,0,0,.08);

  --container: 1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.55;
}

/*img{ max-width:100%; display:block; }*/
img{ max-width:100%; height: auto; display:block; }

/*.container{
  width:min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}*/

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
  color: var(--brand);
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  padding:.75rem 1rem;
  background:#000;
  color:#fff;
  z-index:9999;
}
.skip-link:focus{ left:1rem; top:1rem; border-radius:10px; }

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Header */
.site-header{
  background:var(--header-bg);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.8rem 0;
}

.brand{
  display:grid;
  gap:.35rem;
  text-decoration:none;
  color:inherit;
}
.brand-logo{ height:auto; width:min(240px, 55vw); }
.brand-tagline{
  font-size:.9rem;
  color:var(--muted);
  text-shadow: rgba(180, 194, 176, .55) 3px 3px 6px;
}

/* Desktop nav */
.site-nav{
  display:flex;
  align-items:center;
  gap:1rem;
}
.nav-link{
  text-decoration:none;
  color:var(--text);
  font-weight:500;
  padding:.5rem .7rem;
  border-radius:999px;
}
.nav-link:hover{ background:rgba(255,255,255,.65); }
.nav-link.is-current{ font-weight:700; }

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  border:0;
  background:transparent;
  padding:.5rem;
  border-radius:12px;
  cursor:pointer;
}
.nav-toggle:focus-visible{ outline:3px solid rgba(56,84,84,.45); outline-offset:2px; }

.burger{
  display:grid;
  gap:5px;
}
.burger span{
  width:26px;
  height:3px;
  background:#4d4d4d;
  border-radius:999px;
  display:block;
}

.test1 {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2rem;
    padding: 1rem 0 1rem;
}

.qaa {
    padding: 2.5rem 0 1.5rem;
    color: var(--brand);
}

.qaa-block{
  display:grid;
  grid-template-columns: auto auto;
  gap:2rem;
  border-bottom-style: solid;
  padding: 1rem 0 1rem;
  border-width: 1px;
  border-color: #9f8404;
}

.qaa-block-last{
  display:grid;
  grid-template-columns: auto auto;
  gap:2rem;
  border-bottom-style: none;
  padding: 1rem 0 1rem;
}

/* Hero */
.hero{
  /*padding:2.5rem 0 2rem;*/
  /*padding:3rem 0;*/
  padding: 2.5rem 0 2.5rem;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap:2rem;
  align-items:start;
  /*display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:2rem;
  align-items:start;*/
}

.hero-inner h2{
  margin:0 0 1rem;
  color:var(--brand);
}
.hero-kicker{
  /*margin:0 0 .75rem;*/
  margin:0 0 .4rem;
  color:var(--brand);
  /*font-weight:600;*/
  font-size:1.5rem;
  /*align-items:center;*/
}
.hero-lead{
  margin:0 0 1.2rem;
  color:var(--muted);
  /*max-width:62ch;*/
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.85rem 1.2rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.5px;
  border:2px solid transparent;
}
.btn-primary{
  background:var(--brand);
  color:#fff;
}
.btn-primary:hover{ filter:brightness(1.05); }

.hero-cta{ margin:1rem 0 1.5rem; }

.hero-block{
  background:rgba(203,215,238,.35);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:1.25rem;
  box-shadow: var(--shadow);
}
.hero-block h2{
  margin:0 0 .4rem;
  font-size:1.5rem;
  color:var(--brand);
}
.hero-block p{ margin:.35rem 0; }
.muted{ color:var(--muted); }
.center{ text-align:center; }

.steps{
  margin:1rem 0 0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1rem;
}
.step{
  background:rgba(203,215,238,.6);
  border-radius:999px;
  padding:1rem;
  text-align:center;
  border:1px solid rgba(0,0,0,.06);
}
.step-title{
  font-weight:700;
  color:#040404;
}

.hero-media{
  position:sticky;
  top:1.25rem;
}
.hero-photo{
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  border:1px solid var(--border);
  object-fit:cover;
  aspect-ratio: 3 / 4;
}

/* About */
.about{
  padding:3rem 0;
}
.about-inner{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:2rem;
  align-items:center;
}
.about-image{
  border-radius:35px;
  width:min(320px, 70vw);
  aspect-ratio:1/1;
  object-fit:cover;
  margin-inline:auto;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-copy h2{
  margin:0 0 .5rem;
  color:var(--brand);
}
.about-copy p{ margin:.5rem 0; }
.link{
  color:var(--brand);
  font-style:italic;
  text-decoration:underline;
}

/* Services */
.services{
  padding:3rem 0;
}
.section-head h2{
  margin:0 0 1rem;
  color:var(--brand);
}

.card-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1.2rem;
}
.card{
  display:grid;
  background:var(--card);
  border-radius: var(--radius);
  border:1px solid var(--border);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card--split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}
.card__media{
  margin: 0;
  background: #eee;
  object-fit: scale-down;
}

.card__media img{
  width:100%;
  height:480px;
  object-fit:fill;
}

.card__body{
  padding: 24px 22px;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 45px rgba(0,0,0,.12);
}
.contact-list{
  display: grid;
  gap: 34px;
  margin: 34px 0 0;
}
.contact-list dt{
  font-weight: 700;
  color: #111;
}
.contact-list dd{
  margin: 2px 0 0;
  color: var(--subtle);
}

.card-media img{
  width:100%;
  height:280px;
  object-fit:cover;
}
.card-body{
  padding:1rem 1rem 1.1rem;
}
.card-body h3{
  margin:0;
  font-size:1.25rem;
  color:var(--brand);
}

/* Grid helpers */
.grid{
  display: grid;
}
.grid--2{
  grid-template-columns: 1.1fr .9fr;
}
.gap-lg{ gap: 26px; }
.align-start{ align-items: start; }

.prose{
  max-width: 780px;
  margin: 0 auto 26px;
  color: var(--subtle);
}
.prose p{ margin: 0 0 12px; }

/* Photo stack */
.photo-stack{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.photo-stack img{
  border: 10px solid rgba(0,0,0,.1);
  border-radius: 30px;
  aspect-ratio: 1 / 1;
  object-fit: fill;
}

/* Map */
.map-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 360px;
}
.map-card iframe{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Profile */
.profile{
  padding:3rem 0 3.5rem;
  /*background: rgba(203,215,238,.18);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);*/
}
.profile-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1.5rem 2rem;
  align-items:start;
}
.profile-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:1rem 1.2rem;
  box-shadow: var(--shadow);
}
.profile-name{
  margin:0 0 .15rem;
  color:var(--brand);
}
.profile-role{
  margin:0;
  color:var(--muted);
  font-weight:600;
}

.profile-photo{
  border-radius: calc(var(--radius) + 8px);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit:cover;
  width:100%;
  max-height:520px;
}
.profile-copy p{ margin:.5rem 0; }
.profile-cta{ grid-column: 1 / -1; }

/* Footer */
.site-footer{
  padding:1.4rem 0;
  background:#fff;
}
.footer-inner{
  text-align:center;
  border-top:1px solid var(--border);
  padding-top:1rem;
}
.footer-line{
  margin:0 0 .6rem;
  color:var(--accent);
  font-weight:600;
}
.footer-link{
  color:var(--accent);
  text-decoration:none;
}
.footer-link:hover{ text-decoration:underline; }
.sep{ margin:0 .5rem; color:rgba(0,0,0,.35); }
.footer-small{
  margin:0;
  font-size:.85rem;
  color:#333;
}

/* Responsive */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media{ position:static; }
  .about-inner{ grid-template-columns: 1fr; }
  .card-grid{ grid-template-columns: 1fr; }
  .card-media img{ height:240px; }
  .steps{ grid-template-columns: 1fr; }
  .profile-inner{ grid-template-columns: 1fr; }

  .nav-toggle{ display:inline-flex; }
  .site-nav{
    position: fixed;
    inset: 72px 0 auto 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1rem 1rem;
    display:none;
    flex-direction:column;
    gap:.25rem;
    z-index:1000;
  }
  .site-nav.is-open{ display:flex; }
  .nav-link{ width:100%; text-align:center; padding:.9rem; }
}

/* ==============================
   Fix: missing variable alias
   (styles.css uses --subtle but :root doesn’t define it)
   ============================== */
:root{
  --subtle: var(--muted);
}

/* ==============================
   Tjänster page additions
   ============================== */

.services-hero{
  padding: 3rem 0;
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
    url("./onewebmedia/IMG_1478___serialized1_edited2.JPG") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.services-hero-inner{ text-align: center;}
.services-hero-lead{
  margin: .2rem auto 1.1rem;
  max-width: 70ch;
  color: var(--brand);
}

.services-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  justify-content:center;
}

.btn-outline{
  border-color: rgba(56,84,84,.35);
  background: rgba(255,255,255,.65);
  color: var(--brand);
}
.btn-outline:hover{
  background: rgba(255,255,255,.85);
}

/* Section spacing (tjänster uses .services-section) */
.services-section{
  padding: 3rem 0;
}

/* Two-column layout */
.services-grid{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Media card */
.services-media{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  background:#eee;
  position:relative;
}
.services-media img{
  width:100%;
  height:min(520px, 70vh);
  object-fit:cover;
  display:block;
}

.services-caption{
  position:absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  padding: .45rem .75rem;
  font-weight: 800;
  color: var(--brand);
}

.services-content h2{
  margin: 0 0 .5rem;
  color: var(--brand);
}
.services-prose p{
  margin: .5rem 0;
  color: var(--text);
}
.services-prose h3{
  margin: 1.2rem 0 .45rem;
  color: var(--brand);
}

/* Pricing list */
.price-list{
  list-style:none;
  padding:0;
  margin:.6rem 0 0;
  display:grid;
  gap:.6rem;
}
.price-list li{
  display:flex;
  justify-content:space-between;
  gap: 1rem;
  border-bottom: 1px dashed rgba(0,0,0,.18);
  padding-bottom:.55rem;
}
.price-list li:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.price-list strong{ white-space:nowrap; }

.services-cta{ margin-top: 1rem; }

.services-divider{
  border:0;
  height:1px;
  background: #9f8404;
  margin: 2.2rem 0 0;
}

/* Center bullet list for UTBUD */
.bullet-center{
  list-style:none;
  padding:0;
  margin:.6rem 0 1rem;
  text-align:center;
}
.bullet-center li{ padding: .15rem 0; }

/* Responsive */
@media (max-width: 900px){
  .services-grid{ grid-template-columns: 1fr; }
  .services-media img{ height: 360px; }
}

/* =========================================
   OM (om.html) – page-specific additions
   Klistra längst ner i styles.css
========================================= */

.about-hero {
  padding: 3.25rem 0;
  background: #fff;
}

.about-hero-grid {
  align-items: center;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0.35rem 0 1rem;
}

.about-hero-content .lead {
  font-size: 1.05rem;
  max-width: 55ch;
}

.about-hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.image-stack {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

.image-stack img {
  display: block;
  width: 100%;
  height: auto;
}

.image-stack__main {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-stack__inset {
  position: absolute;
  left: -10%;
  bottom: -12%;
  width: min(52%, 260px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 6px solid #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

/* Sections */
.page-section {
  padding: 3.25rem 0;
}

.page-section--muted {
  background: rgba(203, 215, 238, 0.18);
}

.page-section--sand {
  background: #feefd8;
}

.page-section--blue {
  background: rgba(203, 215, 238, 0.27);
}

.section-title {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section-title--center {
  text-align: center;
}

/* Duration layout with vertical line */
.duration {
  display: grid;
  grid-template-columns: 1fr 20px 2fr;
  gap: 1.25rem;
  align-items: start;
}

.duration__left {
    display: flex;
    justify-content: left;
    align-items: center;
}

.duration__line {
    width: 2px;
    border-radius: 999px;
    background: #2f2f2f;
    /*min-height: 220px;*/
    min-height: 370px;
    margin: 0 auto;
}

/* Expectations */
.expectations {
  align-items: start;
}

.benefits {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.benefits li {
  margin: 0.35rem 0;
  font-style: italic;
}

/* Break image (parallax-ish look without JS) */
.break-image {
  min-height: 380px;
  background-image: url("./onewebmedia/20200916_145110.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Link cards */
.link-cards {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.link-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.link-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.link-card__text {
  margin: 0 0 0.75rem;
}

.link-card__link {
  font-weight: 600;
  text-decoration: none;
}

.link-card__link:hover {
  text-decoration: underline;
}

/* About more image */
.about-more__media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.about-more__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Center actions */
.center-actions {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}

/* Affiliations */
.affiliations {
  margin-top: 1.5rem;
}

.affiliations__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.affiliations__list a {
  text-decoration: none;
  font-weight: 600;
}

.affiliations__list a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .duration {
    grid-template-columns: 1fr;
  }

  .duration__line {
    display: none;
  }

  .image-stack__inset {
    left: 6%;
    bottom: 6%;
    width: min(52%, 220px);
  }
}
