/*
Theme Name: Trädfällning Custom
Theme URI: https://tradfallningalingsas.se
Description: Lightweight custom theme for lead gen
Version: 2.0
*/

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

:root {
  --green: #3d6b47;
  --green-dark: #2d5237;
  --green-light: #f0f7f1;
  --text: #222;
  --text-muted: #555;
  --border: #e0e8e2;
  --white: #fff;
  --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(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.25; font-weight: 700; color: var(--text); }
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); }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===========================
   NAV
=========================== */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  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-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green);
  text-decoration: none;
}

.nav-logo img { height: 48px; width: 48px; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.2s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--green); text-decoration: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* ===========================
   HERO
=========================== */
#hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: url('https://tradfallningtaby.se/wp-content/uploads/2026/03/tradfallning4.jpg') center 30% / cover no-repeat;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,35,20,0.42);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 20px;
}

.hero-content h1 {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 800;
  max-width: 620px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.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);
  font-size: 1rem;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-checks li::before {
  content: '✓';
  color: #6fcf82;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.rating-badge img { height: 80px; width: auto; flex-shrink: 0; }
.rating-badge {
}

/* ===========================
   CTA BUTTONS (Typeform)
=========================== */
.btn {
  display: inline-block;
  background: var(--green);
  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, transform 0.15s;
  text-decoration: none !important;
  letter-spacing: 0.3px;
}
.btn:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green) !important;
}
.btn-outline:hover {
  background: var(--green) !important;
  color: #fff !important;
}

/* ===========================
   TRUST BAR
=========================== */
#trust {
  background: var(--green);
  padding: 16px 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.93);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item::before {
  content: '✓';
  color: #6fcf82;
  font-weight: 700;
}

/* ===========================
   SERVICES GRID
=========================== */
#tjanster {
  padding: 72px 20px;
}
.section-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.section-intro { max-width: 560px; margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 2.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 18px 20px;
}
.service-card h3 { margin-bottom: 0; }

/* ===========================
   ABOUT SECTION
=========================== */
#om-oss {
  background: var(--green-light);
  padding: 72px 20px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid img {
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 1rem; }

/* ===========================
   METHODS SECTION
=========================== */
#metoder {
  padding: 72px 20px;
}
.methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 2rem;
}
.method-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafcfb;
}
.method-card h3 {
  color: var(--green);
  margin-bottom: 0.75rem;
}

/* ===========================
   PRICING / RUT SECTION
=========================== */
#pris {
  background: var(--green-light);
  padding: 72px 20px;
}
.rut-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  margin-top: 1.5rem;
}
.rut-box strong { color: var(--green); }

/* ===========================
   CTA SECTION
=========================== */
#cta-bottom {
  background: var(--green-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;
  color: var(--green) !important;
}
#cta-bottom .btn:hover {
  background: rgba(255,255,255,0.9) !important;
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: #1a2e1e;
  padding: 36px 20px;
  text-align: center;
}
#site-footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}
#site-footer a { color: rgba(255,255,255,0.7); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-height: 280px; }
  .methods-grid { grid-template-columns: 1fr; }
  h2 { font-size: 1.5rem; }
  #hero { min-height: 420px; }
}

/* ===========================
   GALLERY STRIP
=========================== */
#galleri {
  padding: 72px 20px;
  background: #111;
}
#galleri h2 { color: #fff; margin-bottom: 0.5rem; }
#galleri .section-label { color: #6fcf82; }
#galleri > .wrap > p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   LEAD FORM MODAL
=========================== */


/* ── RATINGS ─────────────────────────────────────────────────────────────── */
#ratings {
  background: #f6f9f6;
  padding: 2.5rem 0;
  border-bottom: 1px solid #dde8dc;
}
.ratings-top { text-align: center; margin-bottom: 1.5rem; }
.ratings-top h2 { font-size: 1.35rem; color: var(--dark); margin-bottom: 0.2rem; }
.ratings-top p { color: var(--text-muted); font-size: 0.9rem; }
.ratings-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 2px solid #dde8dc;
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  box-shadow: 0 2px 8px rgba(61,107,71,0.07);
  text-decoration: none;
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.rating-badge:hover {
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(61,107,71,0.15);
  transform: translateY(-2px);
}
.rating-badge img { height: 72px; width: auto; object-fit: contain; }
.rating-badge-info { display: flex; flex-direction: column; }
.rating-badge-label { font-size: 0.85rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.rating-badge-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.rating-badge-google { }
.rating-badge-google .rb-score { font-size: 1.6rem; font-weight: 700; color: var(--green); line-height: 1.1; }
.rating-badge-google .rb-stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 1px; }
.reco-widget-wrap { max-width: 720px; margin: 0 auto; }
@media (max-width: 600px) {
  .ratings-badges { gap: 0.9rem; }
  .rating-badge { padding: 0.7rem 1rem; }
  .rating-badge img { height: 56px; width: auto; }
}

/* ── INNER PAGES ─────────────────────────────────────────────────────────── */
#page-hero {
  background: var(--green);
  padding: 5rem 1.5rem 3rem;
  text-align: center;
}
#page-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0;
}
#page-content { padding: 3rem 0 4rem; }
.page-wrap { max-width: 760px; }
.page-body { font-size: 1.05rem; line-height: 1.8; color: var(--text); margin-bottom: 2.5rem; }
.page-body h2 { font-size: 1.4rem; color: var(--dark); margin: 2rem 0 0.75rem; }
.page-body p { margin-bottom: 1rem; }
.page-body ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.page-body ul li { margin-bottom: 0.4rem; }
.page-body a { color: var(--green); }
.page-cta-box {
  background: var(--green-light);
  border: 2px solid #c5dcc8;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.page-cta-box h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 0.5rem; }
.page-cta-box p { color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── Hero trust badges ─────────────────────────── */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 6px 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.hero-badge-chip:hover { background: rgba(255,255,255,0.25); }
.hero-badge-chip img { border-radius: 3px; display: block; height: 28px !important; width: auto !important; flex-shrink: 0; }
.google-g {
  width: 24px; height: 24px;
  background: #fff;
  color: #4285F4;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.nav-phone { color: #fff; font-weight: 700; font-size: 0.88rem; text-decoration: none; display: flex; align-items: center; gap: 6px; letter-spacing: 0.2px; }
.nav-phone:hover { text-decoration: underline; }
@media (max-width: 600px) { .nav-phone { color: #fff; font-weight: 700; font-size: 0.88rem; text-decoration: none; display: flex; align-items: center; gap: 6px; letter-spacing: 0.2px; } }


/* Nav wordmark */
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-brand-text { display:flex; flex-direction:column; line-height:1.15; }
.nav-brand-name { font-size:1.3rem; font-weight:800; color:#fff; letter-spacing:-0.01em; }
.nav-brand-sub { font-size:0.58rem; font-weight:600; color:rgba(255,255,255,0.8); letter-spacing:0.13em; text-transform:uppercase; }
@media (max-width:480px) { .nav-brand-sub { display:none; } .nav-brand-name { font-size:1.05rem; } }


/* Nav fix */
#site-nav { background: #3d6b47 !important; }
#site-nav .nav-links a, #site-nav .nav-cta { color: #fff; }
.nav-brand-name { color: #fff !important; font-size: 1.2rem !important; }
.nav-brand-sub { display: none !important; }

/* Google Reviews Section */
#google-reviews { background: #f7f9f7; padding: 70px 20px; }
#google-reviews .wrap { max-width: 1100px; margin: 0 auto; }
.gr-header { display: flex; align-items: center; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.gr-google-badge { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 18px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); flex-shrink: 0; }
.gr-g { width: 44px; height: 44px; background: #4285F4; color: #fff; font-size: 1.4rem; font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: arial, sans-serif; }
.gr-score { font-size: 1.8rem; font-weight: 800; color: #1a1a1a; line-height: 1; }
.gr-stars { color: #fbbc04; font-size: 1.1rem; letter-spacing: 1px; }
.gr-count { font-size: 0.78rem; color: #666; margin-top: 2px; }
.gr-title-block h2 { margin: 0 0 6px; font-size: 1.6rem; color: #1a2e1a; }
.gr-title-block p { margin: 0; color: #555; font-size: 0.95rem; }
.gr-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.gr-card { background: #fff; border-radius: 12px; padding: 22px 20px; box-shadow: 0 2px 14px rgba(0,0,0,0.07); display: flex; flex-direction: column; }
.gr-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gr-avatar { width: 40px; height: 40px; border-radius: 50%; background: #3d6b47; color: #fff; font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gr-name { font-weight: 700; font-size: 0.9rem; color: #1a1a1a; }
.gr-stars-sm { color: #fbbc04; font-size: 0.82rem; letter-spacing: 1px; margin-top: 2px; }
.gr-logo { margin-left: auto; width: 28px; height: 28px; background: #4285F4; color: #fff; font-size: 0.85rem; font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: arial, sans-serif; flex-shrink: 0; }
.gr-text { font-size: 0.88rem; color: #444; line-height: 1.65; flex: 1; margin: 0 0 12px; font-style: italic; }
.gr-date { font-size: 0.75rem; color: #999; margin-top: auto; }
.gr-cta { text-align: center; }
.gr-cta-link { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #3d6b47; color: #3d6b47; font-weight: 700; font-size: 0.95rem; border-radius: 8px; padding: 12px 24px; text-decoration: none; transition: all .2s; }
.gr-cta-link:hover { background: #3d6b47; color: #fff; }
.gr-g-sm { width: 26px; height: 26px; font-size: 0.85rem; }
@media (max-width: 768px) { .gr-cards { grid-template-columns: 1fr; } .gr-header { flex-direction: column; gap: 20px; } }

/* Nav CTA — white pill so it pops on dark green nav */
.nav-cta { background: #fff !important; color: #3d6b47 !important; font-weight: 700 !important; }
.nav-cta:hover { background: #f0f7f1 !important; color: #2d5236 !important; }

/* Hero button — white with strong contrast */
#hero .btn { background: #fff !important; color: #3d6b47 !important; font-weight: 800 !important; font-size: 1.05rem !important; box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important; letter-spacing: 0.4px !important; }
#hero .btn:hover { background: #f0f7f1 !important; color: #2d5236 !important; transform: translateY(-2px) !important; box-shadow: 0 6px 24px rgba(0,0,0,0.3) !important; }

/* Hero social proof strip */
.hero-social-proof { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.hsp-avatars { display: flex; }
.hsp-av { width: 32px; height: 32px; border-radius: 50%; background: #3d6b47; border: 2px solid rgba(255,255,255,0.8); color: #fff; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-left: -8px; }
.hsp-av:first-child { margin-left: 0; }
.hsp-text-block { display: flex; flex-direction: column; gap: 1px; }
.hsp-stars { color: #fbbc04; font-size: 0.85rem; letter-spacing: 1px; text-shadow: none; }
.hsp-label { font-size: 0.78rem; color: rgba(255,255,255,0.9); font-weight: 500; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

/* Owner trust card */
.owner-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #f4f8f4;
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  border-left: 4px solid #3d6b47;
}
.owner-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border: 3px solid #3d6b47;
  box-shadow: 0 4px 12px rgba(61,107,71,0.18);
}
.owner-quote {
  font-style: italic;
  color: #2d4a33;
  margin: 0 0 0.6rem;
  font-size: 1rem;
  line-height: 1.55;
}
.owner-name { font-weight: 700; color: #3d6b47; font-size: 0.95rem; }
.owner-title { font-size: 0.82rem; color: #666; margin-top: 2px; }
@media (max-width: 540px) {
  .owner-card { flex-direction: column; text-align: center; padding: 1.2rem; }
  .owner-photo { width: 72px; height: 72px; }
}

/* ── CTA buttons: pop ── */
.btn {
  display: inline-block;
  background: #27ae60 !important;
  color: #fff !important;
  padding: 15px 38px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 18px rgba(39,174,96,0.38) !important;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s !important;
  text-decoration: none !important;
}
.btn:hover {
  background: #1e9c54 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 22px rgba(39,174,96,0.45) !important;
  text-decoration: none !important;
}
#hero .btn {
  background: #fff !important;
  color: #1e7a40 !important;
  box-shadow: 0 5px 22px rgba(0,0,0,0.28) !important;
  font-size: 1.1rem !important;
  padding: 16px 40px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}
#hero .btn:hover {
  background: #f0f8f3 !important;
  color: #155530 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.32) !important;
}

/* ── Mobile nav hamburger ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  margin-right: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.22s;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: #2d5a3d;
    flex-direction: column;
    padding: 1rem 0;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: #fff !important;
    padding: 12px 24px !important;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links a:last-child { border-bottom: none; }
  #site-nav { position: relative; }
}

/* ═══════════════ LEAD FORM REDESIGN ═══════════════ */
.lf-overlay {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,0.6); backdrop-filter:blur(3px);
  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 cubic-bezier(.22,.68,0,1.2);
}
@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; }
}

/* Header */
.lf-header {
  background:linear-gradient(135deg,#2d5a3d 0%,#3d6b47 100%);
  padding:20px 24px 18px; border-radius:20px 20px 0 0;
  color:#fff; position:relative;
}
.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;
  transition:background 0.25s, transform 0.2s;
}
.lf-step-pill.active { background:#fff; color:#2d5a3d; transform:scale(1.12); }
.lf-step-pill.done   { background:rgba(255,255,255,0.9); color:#2d5a3d; }
.lf-step-line {
  flex:1; height:2px; background:rgba(255,255,255,0.2); transition:background 0.3s;
}
.lf-step-line.done { background:rgba(255,255,255,0.7); }
.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; transition:background 0.2s;
}
.lf-close:hover { background:rgba(255,255,255,0.3); }

/* Steps */
.lf-step { display:none; padding:22px 24px 24px; }
.lf-step.active { display:block; }
.lf-step.slide-in { animation:lfFadeIn 0.22s ease; }
@keyframes lfFadeIn { from{opacity:0;transform:translateX(16px)} to{opacity:1;transform:none} }

.lf-sub { color:#666; font-size:0.9rem; margin-bottom:18px; }

/* Service grid */
.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;
  transition:all 0.18s; position:relative; overflow:hidden;
}
.lf-service:hover { border-color:#3d6b47; background:#f4f8f4; transform:translateY(-1px); }
.lf-service.selected { border-color:#3d6b47; background:#f4f8f4; }
.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-service-check {
  position:absolute; top:6px; right:8px; font-size:0.8rem;
  color:#3d6b47; font-weight:800; opacity:0; transition:opacity 0.18s;
}
.lf-service.selected .lf-service-check { opacity:1; }

/* Inputs */
.lf-input-wrap { position:relative; }
.lf-input-icon {
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  font-size:1rem; pointer-events:none; line-height:1;
}
.lf-field { margin-bottom:14px; }
.lf-field label { display:block; font-size:0.83rem; font-weight:600; color:#333; margin-bottom:5px; }
.lf-optional { color:#aaa; font-weight:400; }
.required { color:#e44; }
.lf-field input, .lf-field textarea {
  width:100%; border:1.5px solid #ddd; border-radius:10px;
  padding:12px 14px 12px 38px; font-size:1rem; font-family:inherit;
  color:#222; transition:border-color 0.2s, box-shadow 0.2s; background:#fafafa;
}
.lf-field textarea { padding-left:14px; resize:none; min-height:100px; background:#fafafa; }
.lf-field input:focus, .lf-field textarea:focus {
  outline:none; border-color:#3d6b47; background:#fff;
  box-shadow:0 0 0 3px rgba(61,107,71,0.1);
}

/* Trust strip */
.lf-trust-strip {
  display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 4px;
  font-size:0.78rem; color:#666;
}
.lf-trust-strip span { white-space:nowrap; }

/* What's next */
.lf-what-next {
  background:#f4f8f4; border-radius:10px; padding:12px 14px;
  margin-bottom:14px; font-size:0.85rem; color:#3d6b47;
  display:flex; gap:8px; align-items:flex-start;
}
.lf-what-next strong { display:block; margin-bottom:2px; font-size:0.82rem; color:#2d5a3d; }

/* Buttons */
.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; font-size:0.95rem; transition:background 0.18s;
}
.lf-btn-back:hover { background:#e8e8e8; }
.lf-btn-next {
  flex:1; background:#27ae60; color:#fff; border:none; border-radius:10px;
  padding:14px 20px; font-weight:700; cursor:pointer;
  font-family:inherit; font-size:1rem;
  transition:background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow:0 4px 14px rgba(39,174,96,0.35);
}
.lf-btn-next:hover { background:#1e9c54; transform:translateY(-1px); box-shadow:0 6px 18px rgba(39,174,96,0.42); }
.lf-btn-next:disabled { opacity:0.7; cursor:not-allowed; transform:none; }
.lf-btn-submit { letter-spacing:0.3px; }

/* Spinner */
.lf-spinner {
  display:inline-block; width:14px; height:14px; border-radius:50%;
  border:2px solid rgba(255,255,255,0.35); border-top-color:#fff;
  animation:lfSpin 0.6s linear infinite; vertical-align:middle; margin-right:6px;
}
@keyframes lfSpin { to { transform:rotate(360deg); } }

/* Shake */
@keyframes lfShake {
  0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 60%{transform:translateX(6px)}
}
.lf-shake { animation:lfShake 0.5s ease; }

/* Error */
.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;
}

/* Success */
.lf-success { display:none; padding:32px 24px 28px; text-align:center; }
.lf-success.show { display:block; animation:lfFadeIn 0.3s ease; }
.lf-success-icon {
  width:64px; height:64px; margin:0 auto 16px;
  background:#27ae60; border-radius:50%; display:flex;
  align-items:center; justify-content:center;
  animation:lfPop 0.4s cubic-bezier(.22,.68,0,1.4);
}
@keyframes lfPop { from{transform:scale(0)} to{transform:scale(1)} }
.lf-success-icon svg { width:36px; height:36px; stroke:#fff; stroke-width:3; }
.lf-success h3 { font-size:1.3rem; color:#1a2e1e; margin-bottom:8px; }
.lf-success #lf-success-name { color:#555; font-size:0.95rem; margin-bottom:24px; }
.lf-next-steps { text-align:left; display:flex; flex-direction:column; gap:10px; }
.lf-next-step {
  display:flex; align-items:center; gap:12px;
  font-size:0.88rem; color:#333; background:#f4f8f4;
  border-radius:10px; padding:10px 14px;
}
.lf-ns-num {
  width:24px; height:24px; border-radius:50%; background:#3d6b47; color:#fff;
  font-weight:700; font-size:0.78rem; display:flex; align-items:center;
  justify-content:center; flex-shrink:0;
}
