:root {
  --green-dark: #085041;
  --green: #0F6E56;
  --green-mid: #1D9E75;
  --green-light: #E1F5EE;
  --blue: #185FA5;
  --blue-light: #E6F1FB;
  --text: #1d2b26;
  --text-muted: #5a6b64;
  --bg: #fafbfa;
  --white: #ffffff;
  --border: #e2e8e5;
  --radius: 10px;
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 { font-weight: 600; line-height: 1.25; }

a { color: var(--blue); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img { height: 52px; width: auto; display: block; }

.main-nav { display: flex; gap: 1.75rem; align-items: center; }
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--green-mid); color: var(--green); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius);
  border: none !important;
}
.nav-cta:hover { background: var(--green-dark); }

.menu-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--green); cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 7rem 1.5rem;
  background: linear-gradient(rgba(8,80,65,0.78), rgba(13,59,102,0.72)), url('../images/hero.jpg') center/cover no-repeat;
}
.hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; opacity: 0.92; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--white); color: var(--green); }
.btn-primary:hover { background: var(--green-light); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }

/* ===== SECTIONS ===== */
section { padding: 4.5rem 0; }
.section-label {
  color: var(--green-mid);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.section-intro { color: var(--text-muted); max-width: 640px; margin-bottom: 2.5rem; }

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(8,80,65,0.08); transform: translateY(-2px); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 26px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 0.9rem; }
.service-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green);
}

/* ===== PROCESS STRIP ===== */
.process { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.process-step { text-align: center; }
.process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.9rem;
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 14px; color: var(--text-muted); }

/* ===== OM OSS ===== */
.om-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}
.om-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(8,80,65,0.12);
}
.om-img figcaption { font-size: 13px; color: var(--text-muted); margin-top: 0.6rem; text-align: center; }
.check-list { list-style: none; margin: 1.25rem 0; }
.check-list li {
  padding: 7px 0 7px 32px;
  position: relative;
  font-size: 15px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-mid);
  font-weight: 700;
  font-size: 17px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--green);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 3rem 2rem;
}
.cta-banner h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; }

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.kontakt-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.kontakt-row { display: flex; gap: 14px; align-items: flex-start; padding: 0.7rem 0; }
.kontakt-row .icon { font-size: 20px; line-height: 1.4; }
.kontakt-row a { text-decoration: none; }
.kontakt-row .label { font-size: 12.5px; color: var(--text-muted); }

form .form-row { margin-bottom: 1.1rem; }
form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; }
form input, form textarea, form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.15);
}

/* ===== NETTBUTIKK ===== */
.shop-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}
.shop-placeholder .icon { font-size: 52px; margin-bottom: 1rem; }
.shop-placeholder h2 { margin-bottom: 0.6rem; }
.shop-placeholder p { color: var(--text-muted); max-width: 460px; margin: 0 auto 1.5rem; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-dark);
  color: #b9dfd2;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 0.9rem; }
.footer-grid a { color: #b9dfd2; text-decoration: none; display: block; padding: 3px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { font-size: 14px; }
.footer-logo img { height: 44px; margin-bottom: 0.8rem; background: var(--white); padding: 6px 10px; border-radius: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 3.5rem 0;
}
.page-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.page-header p { opacity: 0.9; margin-top: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .om-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .hero { padding: 5rem 1.5rem; }
  section { padding: 3rem 0; }
}
