/*
Theme Name: Husbesiktning Custom
Version: 1.0
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --blue: #1a5276; --blue-dark: #154360; --blue-light: #eaf2ff; --text: #222; --text-muted: #555; --border: #d5e8f5; --max-w: 960px; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 1rem; line-height: 1.75; color: var(--text); background: #fff; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.25; font-weight: 700; }
h2 { font-size: 1.9rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
#site-nav { position: sticky; top: 0; z-index: 100; background: var(--blue); padding: 0 20px; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { font-weight: 800; font-size: 1.1rem; color: #fff; text-decoration: none; }
.nav-cta { background: #fff; color: var(--blue) !important; padding: 10px 22px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; cursor: pointer; border: none; font-family: inherit; }
.btn { display: inline-block; background: var(--blue); color: #fff !important; padding: 14px 36px; border-radius: 6px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; font-family: inherit; transition: background 0.2s; box-shadow: 0 4px 14px rgba(26,82,118,0.3); }
.btn:hover { background: var(--blue-dark) !important; }
#hero { min-height: 520px; display: flex; align-items: center; background: linear-gradient(135deg, #1a5276 0%, #2471a3 60%, #1a5276 100%); }
.hero-content { max-width: var(--max-w); margin: 0 auto; padding: 80px 20px; }
.hero-content h1 { color: #fff; font-size: 2.4rem; font-weight: 800; max-width: 620px; margin-bottom: 1rem; }
.hero-content > p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 520px; margin-bottom: 1.5rem; }
.hero-checks { list-style: none; margin-bottom: 2rem; }
.hero-checks li { color: rgba(255,255,255,0.92); padding: 3px 0; display: flex; align-items: center; gap: 8px; }
.hero-checks li::before { content: '\2713'; color: #85c1e9; font-weight: 700; }
#trust { background: var(--blue-dark); padding: 14px 20px; }
.trust-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: center; }
.trust-item { color: rgba(255,255,255,0.9); font-size: 0.88rem; font-weight: 500; }
.trust-item::before { content: '\2713'; color: #85c1e9; font-weight: 700; margin-right: 4px; }
.section-label { text-transform: uppercase; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 0.5rem; }
#tjanster { padding: 72px 20px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 2rem 0; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 28px; transition: box-shadow 0.2s; }
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.service-card h3 { color: var(--blue); }
#om-oss { background: var(--blue-light); padding: 72px 20px; }
#pris { padding: 72px 20px; }
.rut-box { background: var(--blue-light); border: 1px solid var(--border); border-radius: 10px; padding: 32px; margin-top: 1.5rem; }
#faq { padding: 72px 20px; background: #f8f9fa; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.faq-item { background: #fff; border-radius: 12px; border: 1px solid #dce6f0; overflow: hidden; }
.faq-item summary { padding: 1.3rem 1.5rem; font-weight: 600; font-size: 1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #1a1a1a; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: #888; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1.5rem 1.3rem; color: #555; line-height: 1.8; margin: 0; }
#cta-bottom { background: var(--blue-dark); padding: 72px 20px; text-align: center; }
#cta-bottom h2 { color: #fff; margin-bottom: 1rem; }
#cta-bottom p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; }
#cta-bottom .btn { background: #fff !important; color: var(--blue) !important; }
#site-footer { background: #0d2b40; padding: 32px 20px; text-align: center; }
#site-footer p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }
@media (max-width: 768px) { .hero-content h1 { font-size: 1.8rem; } .services-grid { grid-template-columns: 1fr; } h2 { font-size: 1.5rem; } }
.lf-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:1000; align-items:flex-end; justify-content:center; }
.lf-overlay.open { display:flex; }
.lf-modal { background:#fff; width:100%; max-width:540px; border-radius:20px 20px 0 0; position:relative; max-height:92vh; overflow-y:auto; animation:lfSlideUp 0.32s ease; }
@keyframes lfSlideUp { from{transform:translateY(60px);opacity:0} to{transform:translateY(0);opacity:1} }
@media(min-width:600px){ .lf-overlay{align-items:center;padding:20px} .lf-modal{border-radius:20px} }
.lf-header { background:linear-gradient(135deg,#154360 0%,#1a5276 100%); padding:20px 24px 18px; border-radius:20px 20px 0 0; position:relative; }
.lf-step-label { font-size:1.1rem; font-weight:700; color:#fff; }
.lf-close { position:absolute; top:14px; right:16px; background:rgba(255,255,255,0.15); border:none; border-radius:50%; width:30px; height:30px; cursor:pointer; color:#fff; font-size:0.9rem; display:flex; align-items:center; justify-content:center; }
.lf-step { display:none; padding:22px 24px 24px; }
.lf-step.active { display:block; }
.lf-sub { color:#666; font-size:0.9rem; margin-bottom:18px; }
.lf-services { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.lf-service { border:2px solid #e8e8e8; border-radius:12px; padding:14px 10px; cursor:pointer; text-align:center; background:#fff; }
.lf-service:hover, .lf-service.selected { border-color:var(--blue); background:var(--blue-light); }
.lf-service-icon { font-size:1.6rem; display:block; margin-bottom:5px; }
.lf-service-name { font-size:0.88rem; font-weight:600; color:#222; display:block; }
.lf-field { margin-bottom:14px; }
.lf-field label { display:block; font-size:0.83rem; font-weight:600; color:#333; margin-bottom:5px; }
.lf-field input, .lf-field textarea { width:100%; border:1.5px solid #ddd; border-radius:10px; padding:12px 14px; font-size:1rem; font-family:inherit; color:#222; background:#fafafa; }
.lf-field textarea { resize:none; min-height:100px; }
.lf-field input:focus, .lf-field textarea:focus { outline:none; border-color:var(--blue); }
.lf-btn-row { display:flex; gap:10px; }
.lf-btn-back { background:#f2f2f2; color:#555; border:none; border-radius:10px; padding:14px 18px; font-weight:600; cursor:pointer; font-family:inherit; }
.lf-btn-next { flex:1; background:var(--blue); color:#fff; border:none; border-radius:10px; padding:14px 20px; font-weight:700; cursor:pointer; font-family:inherit; font-size:1rem; }
.lf-error { background:#fff0f0; border:1px solid #f5c6c6; color:#c00; border-radius:8px; padding:10px 14px; font-size:0.87rem; margin-top:8px; display:none; }
.lf-success { display:none; padding:32px 24px 28px; text-align:center; }
.lf-success.show { display:block; }
.lf-success-icon { width:64px; height:64px; margin:0 auto 16px; background:var(--blue); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.lf-success-icon svg { width:36px; height:36px; stroke:#fff; stroke-width:3; }
.lf-success h3 { font-size:1.3rem; color:#1a2e4e; margin-bottom:8px; }
.lf-steps-bar { display:flex; align-items:center; gap:0; margin-bottom:14px; }
.lf-step-pill { width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,0.2); color:#fff; display:flex; align-items:center; justify-content:center; font-size:0.78rem; font-weight:700; flex-shrink:0; }
.lf-step-pill.active { background:#fff; color:#154360; }
.lf-step-pill.done { background:rgba(255,255,255,0.9); color:#154360; }
.lf-step-line { flex:1; height:2px; background:rgba(255,255,255,0.2); }
.lf-step-line.done { background:rgba(255,255,255,0.7); }

.testimonials {
  background: #1a2744;
  padding: 4rem 0;
}
.testimonials .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.testimonials .section-label {
  color: #7eb3e8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.testimonials h2 {
  color: #ffffff;
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}
.testimonials .testimonials-intro {
  color: #b0c4de;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: #243357;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.testimonial-stars {
  color: #f0b429;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.testimonial-text {
  color: #d8e6f5;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}
.testimonial-author {
  color: #7eb3e8;
  font-size: 0.85rem;
  font-weight: 600;
}
