/*
Theme Name: Lundens Custom
Theme URI: https://lundensgard.se
Description: Lundens Gard lead gen theme for tree services
Version: 2.0
*/

/* ============================================================
   RESET AND BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #2d6a2d;
  --green-dark: #1a4d1a;
  --green-mid: #3d7a3d;
  --green-light: #f0f7f0;
  --green-border: #c8e0c8;
  --text: #1a1a1a;
  --text-muted: #555;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth;   overflow-x: hidden;
}
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   NAV
   ============================================================ */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
.nav-tree-icon { font-size: 1.5rem; }
.nav-brand { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.nav-brand-sub { font-size: 0.7rem; color: rgba(255,255,255,0.93); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-phone:hover { background: rgba(255,255,255,0.15); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  border-radius: 6px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
.btn-nav-cta {
  background: var(--white);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.btn-nav-cta:hover { background: #e8f4e8; transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  background: linear-gradient(135deg, #0f2d0f 0%, #1a4d1a 40%, #2d6a2d 100%);
  color: var(--white);
  padding: 80px 20px 80px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 16px;
}
#hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 700px;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-hero-phone:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.btn-hero-cta {
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-cta:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ht-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.ht-item svg { color: #7ddb7d; flex-shrink: 0; }

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust-bar {
  background: var(--green-dark);
  padding: 20px 20px;
}
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.tb-icon { font-size: 1.5rem; flex-shrink: 0; }
.tb-item div { display: flex; flex-direction: column; line-height: 1.3; }
.tb-item strong { font-size: 0.9rem; font-weight: 700; }
.tb-item span { font-size: 0.75rem; color: rgba(255,255,255,0.93); }

/* ============================================================
   SECTIONS - SHARED
   ============================================================ */
section { padding: 70px 0; }
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 8px;
}
.section-h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.section-cta { text-align: center; margin-top: 40px; }
.btn-green {
  background: var(--green);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(45,106,45,0.3);
  display: inline-block;
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ============================================================
   SERVICES
   ============================================================ */
#tjanster { background: var(--green-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon-wrap { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   ABOUT
   ============================================================ */
#om-oss { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.about-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 16px; line-height: 1.25; }
.about-text p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.usp-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.usp-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#recensioner { background: var(--green-light); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 24px;
}
.review-stars { color: #f5a623; font-size: 1rem; margin-bottom: 10px; }
.review-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author div { display: flex; flex-direction: column; }
.review-author strong { font-size: 0.88rem; color: var(--text); }
.review-author span { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   AREAS
   ============================================================ */
#omraden { background: var(--white); }
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.area-chip {
  background: var(--green-light);
  border: 1px solid var(--green-border);
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--green-light); }
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary { background: var(--green-light); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--green-light); }
.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid var(--green-border);
}
.faq-answer p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; padding-top: 14px; }

/* ============================================================
   CTA STRIP
   ============================================================ */
#cta-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 60px 20px;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-text h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.cta-strip-text p { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cta-phone {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s;
}
.btn-cta-phone:hover { transform: translateY(-2px); }
.btn-cta-form {
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.2s;
}
.btn-cta-form:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: #0d1f0d; color: rgba(255,255,255,0.93); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding: 50px 20px 40px;
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links li { font-size: 0.85rem; }
.footer-contact p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-contact a { color: #7ddb7d; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 20px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; }

/* ============================================================
   LEAD FORM MODAL
   ============================================================ */
.lf-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
}
.lf-overlay.open { display: flex; }
.lf-modal {
  background: var(--white);
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.lf-header {
  background: var(--green);
  padding: 16px 20px;
  border-radius: 14px 14px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lf-steps-bar { display: flex; align-items: center; gap: 4px; flex: 1; }
.lf-step-pill {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.93);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.lf-step-pill.active { background: var(--white); color: var(--green); }
.lf-step-pill.done { background: rgba(255,255,255,0.5); color: var(--white); }
.lf-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  transition: background 0.2s;
}
.lf-step-line.done { background: rgba(255,255,255,0.6); }
.lf-step-label { color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.lf-close {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.lf-close:hover { background: rgba(255,255,255,0.3); }
.lf-step { display: none; padding: 24px 20px; }
.lf-step.active { display: block; }
.lf-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; }
.lf-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lf-service {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  border: 2px solid var(--green-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.lf-service:hover, .lf-service.sel {
  border-color: var(--green);
  background: var(--white);
}
.lf-svc-icon { font-size: 1.2rem; }
.lf-field { margin-bottom: 14px; }
.lf-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.lf-field input, .lf-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}
.lf-field input:focus, .lf-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,45,0.1);
}
.lf-field input.err, .lf-field textarea.err { border-color: #e53e3e; }
.req { color: #e53e3e; }
.opt { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }
.lf-trust-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 14px;
}
.lf-trust-strip span { font-size: 0.75rem; color: var(--green); font-weight: 600; }
.lf-trust-strip span::before { content: '✓ '; }
.lf-btn-row { display: flex; gap: 10px; margin-top: 16px; }
.lf-btn-back {
  flex: 1;
  background: #f5f5f5;
  color: var(--text-muted);
  border: 1.5px solid #ddd;
  border-radius: 7px;
  padding: 11px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.lf-btn-back:hover { background: #ebebeb; }
.lf-btn-next {
  flex: 2;
  background: var(--green);
  color: var(--white);
  border-radius: 7px;
  padding: 11px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s;
}
.lf-btn-next:hover { background: var(--green-dark); }
.lf-btn-submit { flex: 2; }
.lf-error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #dc2626;
  margin-bottom: 12px;
}
.lf-success {
  display: none;
  padding: 32px 24px;
  text-align: center;
}
.lf-success.show { display: block; }
.lf-success-icon {
  width: 64px; height: 64px;
  background: var(--green);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lf-success-icon svg {
  width: 36px; height: 36px;
  stroke: var(--white);
  stroke-width: 2.5;
}
.lf-success h3 { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.lf-success p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.lf-next-steps { display: flex; flex-direction: column; gap: 10px; }
.lf-ns-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}
.lf-ns-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--green-dark); flex-direction: column; padding: 12px 20px; gap: 4px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; border-radius: 6px; }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  #hero { padding: 50px 20px; min-height: auto; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-actions { justify-content: center; }
  .lf-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .trust-bar-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-hero-phone, .btn-hero-cta { text-align: center; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .lf-services { grid-template-columns: 1fr; }
}
