:root{
  --bg:#ffffff;
  --fg:#0f172a;
  --muted:#657084;
  --card:#ffffff;
  --border:#e6e6ea;
  --brand:#0e7490;
  --hero-overlay:rgba(0,0,0,.38);
}

/* Bas */
*{box-sizing:border-box}
html,body{margin:0; padding:0; font-family:system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif; color:var(--fg); background:var(--bg);}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.container{ width:min(1100px, 92%); margin-inline:auto; }

/* HEADER */
.site-header{
  position:sticky; top:0; z-index:3000; /* över hero/backdrop */
  background:#fff;
  border-bottom:1px solid var(--border);
  padding:10px 16px;
  display:flex; align-items:center; justify-content:space-between;
}
.site-logo img{ height:28px; width:auto; }

/* HAMBURGER – alltid synlig */
.nav-toggle{
  display:inline-flex;
  width:42px; height:42px;
  align-items:center; justify-content:center;
  border:1px solid var(--border);
  border-radius:10px; background:#fff; cursor:pointer; font-size:18px;
}

/* DRAWER + BACKDROP */
.drawer{
  position:fixed; top:0; right:0; height:100vh;
  width:360px; max-width:86vw;
  background:#fff;
  border-left:1px solid var(--border);
  z-index:2500;            /* över hero */
  transform: translateX(100%);
  transition: transform .28s ease;
  display:flex; flex-direction:column;
  outline: none;
}
.menu-open .drawer{ transform: translateX(0); }

.backdrop{
  position:fixed; inset:0; z-index:2000; /* under drawer, över hero */
  background: rgba(2,6,23,0.45);
  opacity:0; pointer-events:none;
  transition: opacity .2s ease;
}
.menu-open .backdrop{ opacity:1; pointer-events:auto; }

.drawer-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; border-bottom:1px solid var(--border);
}
.drawer-header img{ height:22px; width:auto; }
.drawer-close{
  width:40px; height:40px; border:1px solid var(--border);
  border-radius:10px; background:#fff; cursor:pointer; font-size:18px;
}

.drawer-menu{
  list-style:none; margin:0; padding:10px;
  display:flex; flex-direction:column; gap:6px;
  overflow:auto;
}
.drawer-menu a{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:10px; color:var(--fg);
}
.drawer-menu a:hover{ background:#f5f7fb; }
.nav-divider{ height:1px; background:#ececf3; margin:8px 0; }
.nav-section-title{
  padding:6px 12px; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted);
}

/* HERO (exempel – behåll din befintliga stil om du redan har) */
.hero{
  min-height:60vh;
  background-image:
    linear-gradient(180deg, var(--hero-overlay), var(--hero-overlay)),
    url('img/nordbeds.jpg');
  background-size:cover; background-position:center;
  display:grid; place-items:center; text-align:center; color:#fff;
}
.hero-inner{ padding: clamp(32px, 6vw, 72px) 16px; }
.hero-logo{ width:min(280px, 70%); height:auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); margin-left: 46px; }

/* Intro, partners, features – (samma som tidigare version du gillade) */

.intro-copy {
  text-align: left;
  max-width: 800px;
  margin: 50px auto 30px;
  padding: 0 16px;
}

.intro-copy h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 20px;
}

.intro-copy p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.intro-copy p strong {
  font-weight: 700;
}

.partners{ padding: 18px 0 26px; }
.partner-list{
  margin:0; padding:0; list-style:none;
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
}
.partner-list li{
  padding:8px 12px; border:1px solid var(--border); border-radius:999px;
  font-size:14px; color:#334155; background:#fff;
}

/* Produktkort */
/* Produktkort */
.features-grid{
  display:grid; gap:18px; padding: 20px 0 56px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 960px){ .features-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px){ .features-grid{ grid-template-columns: 1fr; } }

.feature{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:26px 18px; /* lite mer padding */
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
  display:flex;
  flex-direction:column;
  align-items:center; /* centrera horisontellt */
  text-align:center;
  gap:14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
}

/* FA-ikon – större, utan bakgrund */
.feature i {
  font-size: 28px;
  color: var(--brand);
  background: none;
  padding: 0;
  display: inline-block;
}

.feature h3{
  margin:4px 0 0;
  font-size:20px;
}
.feature p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}
.feature-cta{
  margin-top:auto;
  color:var(--brand);
  font-weight:600;
  display:inline-flex;
  gap:8px;
}
.feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.feature-btn:hover {
  background: #0c607a; /* lite mörkare brand-färg vid hover */
  transform: translateY(-1px);
}

.feature-btn i {
  font-size: 14px;
  color: #FFF;
}


/* Footer – blå kontaktsektion */
.site-footer {
  background-color: var(--brand);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.5;
}

.contact-form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: system-ui, sans-serif;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  color: #333;
}

.contact-form input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
    margin: 10px 0 10px 0;
}

.contact-form input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,.2);
}

.contact-form .btn {
  display: inline-block;
  width: 100%;
  padding: .9rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #0e7490;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.contact-form .btn:hover {
  background: #0056d2;
}

.contact-form .btn:active {
  transform: scale(0.98);
}

#contact-result {
  margin-top: 1rem;
  font-size: .95rem;
  font-weight: 500;
}

.input-general, 
.contact-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;              /* tar bort standard-pil på vissa browsers */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1rem;
    
}
.contact-form select {
    margin: 0px 0 25px 0;
}
.contact-form select:focus,
.input-general:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
}