/* =========================================
   OBS MEDIA — style.css
   ========================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --green:       #2D6A4F;
  --green-light: #40916C;
  --green-pale:  #D8F3DC;
  --green-mid:   #B7E4C7;
  --green-dark:  #1B4332;
  --black:       #0D1117;
  --ink:         #1A2332;
  --muted:       #6B7685;
  --line:        #E8ECF0;
  --bg:          #FFFFFF;
  --bg-alt:      #F7F9F8;
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --radius-xl:   40px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,.06);
  --shadow-md:   0 8px 40px rgba(0,0,0,.09);
  --shadow-lg:   0 24px 80px rgba(0,0,0,.12);
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --nav-h:       72px;
  --max-w:       1160px;
  --transition:  all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.7; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
input, textarea, button, select { font: inherit; outline: none; border: none; background: none; }

/* ── Container ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 24px rgba(45,106,79,.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 32px rgba(45,106,79,.4);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ── Section labels ── */
.varde-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 400;
}
.section-header { margin-bottom: 60px; }

/* ──────────────────────────────────────────
   NAV
────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.nav-logo span { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}
.hero-bg-shape {
  position: absolute;
  top: -120px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, var(--green-pale) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 32px 120px;
}
.hero-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 36px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--ink);
  font-weight: 400;
  max-width: 780px;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--green); font-style: italic; }
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-phone {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--green-mid);
  padding-bottom: 2px;
  transition: var(--transition);
}
.hero-phone:hover { color: var(--green); border-color: var(--green); }

/* ──────────────────────────────────────────
   VÄRDE
────────────────────────────────────────── */
.varde {
  padding: 120px 0;
  background: var(--bg-alt);
}
.varde-inner { max-width: 640px; }
.varde-text {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
}

/* ──────────────────────────────────────────
   TJÄNSTER
────────────────────────────────────────── */
.tjanster { padding: 120px 0; background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  cursor: default;
}
.card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}
.card p { font-size: .95rem; color: var(--muted); line-height: 1.7; }

/* ──────────────────────────────────────────
   BILDSEKTION
────────────────────────────────────────── */
.bildsektion {
  padding: 60px 0 80px;
  background: var(--bg);
}
.bild-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 500px;
  box-shadow: var(--shadow-lg);
}
.bild-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bild-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 48px 52px;
}
.bild-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: #fff;
  max-width: 520px;
  line-height: 1.5;
}

/* ──────────────────────────────────────────
   PROCESS
────────────────────────────────────────── */
.process {
  padding: 120px 0;
  background: var(--bg-alt);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}
.process-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  transition: var(--transition);
}
.process-step:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.step-number {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--green-mid);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}
.process-step p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.process-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 56px;
}
.process-line::after {
  content: '';
  display: block;
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--green-mid), transparent);
  transform: rotate(90deg);
  width: 36px;
  height: 2px;
  margin-top: 0;
  align-self: center;
  background: linear-gradient(90deg, var(--green-mid), transparent);
}

/* ──────────────────────────────────────────
   OFFERT / FORMULÄR
────────────────────────────────────────── */
.offert {
  padding: 120px 0;
  background: var(--bg);
}
.offert-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.offert-desc {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.offert-contact { display: flex; flex-direction: column; gap: 10px; }
.offert-phone, .offert-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: var(--transition);
}
.offert-phone:hover, .offert-email:hover { color: var(--green); }

/* Form */
.form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .95rem;
  color: var(--ink);
  transition: var(--transition);
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #B0B8C4; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}

/* ──────────────────────────────────────────
   GRUNDARE
────────────────────────────────────────── */
.grundare {
  padding: 120px 0;
  background: var(--bg-alt);
}
.grundare-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: center;
}
.grundare-img-wrap {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg);
  outline: 2px solid var(--green-mid);
  flex-shrink: 0;
}
.grundare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grundare-quote {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 20px;
  margin-bottom: 32px;
  font-style: italic;
}
.grundare-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
}
.grundare-title {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 60px 0 36px;
  color: rgba(255,255,255,.7);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}
.footer-logo span { color: var(--green-light); }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.45); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.footer-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--green-light); }
.footer-loc { font-size: .9rem; color: rgba(255,255,255,.4); }
.footer-bottom {
  padding-top: 28px;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ──────────────────────────────────────────
   RESPONSIV
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-line { display: none; }
  .offert-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --max-w: 100%; }
  .container { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-inner { padding: 80px 20px 100px; }
  .hero-title { font-size: 2.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .bild-wrap { height: 300px; border-radius: var(--radius-md); }
  .bild-overlay { padding: 28px 24px; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .offert-inner { grid-template-columns: 1fr; }
  .form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .grundare-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .grundare-img-wrap { margin: 0 auto; }
  .footer-inner { flex-direction: column; text-align: left; }
  .footer-links { text-align: left; }
  .varde { padding: 80px 0; }
  .tjanster, .process, .offert, .grundare { padding: 80px 0; }
  .hero-actions { gap: 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
}

/* ──────────────────────────────────────────
   SCROLL FADE-IN ANIMATION
────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag, .hero-title, .hero-sub, .hero-actions, .hero-phone {
  animation: fadeUp .7s ease both;
}
.hero-tag    { animation-delay: .05s; }
.hero-title  { animation-delay: .15s; }
.hero-sub    { animation-delay: .25s; }
.hero-actions{ animation-delay: .35s; }
.hero-phone  { animation-delay: .45s; }