/* ==========================================================================
   Dahlgren Allround – gemensam stilmall för alla mockupsidor
   Utkast av Laiout Digitalbyrå. Kopierad 1:1 från tidigare Lovable-mockup
   (dahlgrenallround.preview-laiout.se), 2026-12-01.
   Variablerna nedan blir Elementors globala färger och typsnitt.
   ========================================================================== */

:root {
  /* Färger (globala färger i Elementor) */
  --background: #f9f9f3;          /* Sidbakgrund */
  --foreground: #113022;          /* Text / mörkgrön */
  --card: #ffffff;                /* Kort */
  --primary: #006d56;             /* Primär grön (knappar, accenter) */
  --primary-hover: #03644e;       /* Primär, hover */
  --primary-foreground: #ffffff;
  --secondary: #e0f0e3;           /* Ljusgrön (aktiv meny, ikoner) */
  --muted-foreground: #5b6b60;    /* Dämpad text */
  --border: #d3ded5;              /* Linjer och ramar */
  --destructive: #d4312a;
  --turquoise: #59c4ad;           /* Gradient start */
  --gradient-end: rgba(127, 185, 118, 0.8); /* Gradient slut */
  --on-image: #ffffff;
  --on-image-muted: #e7ede7;
  --star: #f3b01d;

  /* Märkesfärger (Google / Reko) */
  --google-blue: #1c6ef0;
  --google-red: #e32824;
  --google-yellow: #fdc010;
  --google-green: #2b9c3a;
  --reco-pink: #e3406a;
  --reco-yellow: #f6c919;
  --reco-green: #2eb45c;
  --reco-blue: #3a81d7;
  --reco-info: #2171cc;

  /* Effekter */
  --gradient-garden: linear-gradient(45deg, var(--turquoise), var(--gradient-end));
  --overlay: rgba(0, 18, 9, 0.65);
  --hero-shade: linear-gradient(90deg, rgba(3, 20, 9, 0.83), rgba(3, 20, 9, 0.37) 64%, rgba(3, 20, 9, 0.12));
  --soft-glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-card: 0 8px 30px rgba(19, 39, 26, 0.035);

  /* Typsnitt och mått */
  --font-sans: "Manrope", sans-serif;
  --radius: 20px;
  --radius-pill: 999px;
  --container: 1220px;
}

/* ---------- Grund ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
strong { font-weight: bolder; }
address { font-style: normal; }
small { font-size: 80%; }
::selection { background: var(--secondary); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.wrap { width: min(var(--container), 100% - 96px); margin-inline: auto; }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s, background-color .15s, border-color .15s;
  position: relative;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; pointer-events: none; }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn:disabled { opacity: .5; pointer-events: none; cursor: not-allowed; }

.garden-button {
  background: var(--primary);
  color: var(--primary-foreground);
  min-height: 48px;
  border-radius: var(--radius-pill);
  gap: 12px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
}
.garden-button:hover { background: var(--primary-hover); }
.garden-button-outline { color: var(--on-image); border: 1px solid var(--glass-border); background: transparent; }
.garden-button-outline:hover { background: var(--soft-glass); }
.garden-button-light { background: var(--card); color: var(--foreground); }
.garden-button-light:hover { background: var(--secondary); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0 0; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin-inline: auto 24px;
  background: rgba(249, 249, 243, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 10px 8px 22px;
  box-shadow: 0 12px 40px rgba(10, 26, 16, 0.14);
}
.brand { display: flex; align-items: center; color: var(--foreground); }
.brand-logo { width: auto; height: 48px; }
.nav { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--primary); }
.nav .nav-active { color: var(--primary); background: var(--secondary); border-radius: var(--radius-pill); padding: 7px 13px; }
.nav .garden-button { min-height: 44px; padding: 0 20px; font-size: 12px; color: var(--primary-foreground); }
.mobile-toggle { display: none; width: 36px; height: 36px; border-radius: 6px; }
.mobile-toggle:hover { background: var(--secondary); }
.mobile-toggle svg { width: 16px; height: 16px; }
.mobile-toggle .icon-close,
.mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 660px; overflow: hidden; color: var(--on-image); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: var(--hero-shade); }
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding-top: 130px;
  padding-bottom: 40px;
}
.hero-heading { display: flex; flex-direction: column; }
.hero-name { margin-bottom: 15px; font-size: 57px; font-weight: 700; line-height: 1.13; }
.hero-title { max-width: 670px; font-size: 37px; font-weight: 500; line-height: 1.25; }
.hero-description { max-width: 520px; margin-top: 23px; color: var(--on-image-muted); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; margin-top: 29px; }

/* ---------- Reko-banner ---------- */
.reco-banner { background: var(--card); border-block: 1px solid var(--border); padding: 15px 0; }
.reco-banner-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; }
.reco-stat { display: flex; align-items: center; gap: 9px; white-space: nowrap; color: var(--muted-foreground); font-size: 13px; font-weight: 600; }
.reco-stat strong { color: var(--foreground); font-size: 17px; font-weight: 800; }
.reco-stat + .reco-stat { border-left: 1px solid var(--border); margin-left: 26px; padding-left: 26px; }
.reco-mark { flex: none; width: 25px; height: 25px; }
.reco-slash { margin-left: 1px; color: var(--muted-foreground); font-size: 12px; font-weight: 700; }
.reco-trust { display: inline-flex; gap: 2px; }
.reco-trust i { display: block; width: 9px; height: 13px; border-radius: 3px; background: var(--reco-green); }
.reco-link { transition: color .2s; }
.reco-link:hover { color: var(--primary); }
.reco-brand { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.reco-logo { display: inline-flex; align-items: center; gap: 6px; color: var(--foreground); }
.reco-word { width: auto; height: 24px; }
.reco-info { flex: none; width: 15px; height: 15px; }

/* ---------- Sektioner ---------- */
.section { padding: 85px 0; }
.gradient-section { background: var(--gradient-garden); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 35px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 700; }
.eyebrow svg { width: 15px; height: 15px; }
.section .eyebrow { color: var(--primary); margin-bottom: 12px; }
h2 { font-size: 36px; font-weight: 700; line-height: 1.25; }
.section-intro { max-width: 560px; margin-top: 13px; color: var(--muted-foreground); font-size: 14px; line-height: 1.8; }

/* ---------- Karuseller ---------- */
.carousel-controls { display: flex; flex-shrink: 0; gap: 9px; }
.carousel-button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--foreground); }
.carousel-button:hover { background: var(--secondary); }
.carousel-button:disabled { opacity: .35; }
.carousel-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 20px; }
.carousel-track > * { scroll-snap-align: start; }

/* Tjänstekort */
.service-card { display: flex; flex-direction: column; flex: 0 0 calc(30.303% - 18.1818px); min-width: 0; overflow: hidden; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.service-image { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-image { transform: scale(1.035); }
.service-content { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.service-content h3 { font-size: 19px; font-weight: 700; }
.service-content p { flex: 1; margin-top: 10px; color: var(--muted-foreground); font-size: 12px; line-height: 1.9; }
.service-content .garden-button { align-self: flex-start; margin-top: 20px; }

/* ---------- Delad layout (bild + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.split-photo { width: 100%; height: 440px; object-fit: cover; border-radius: 26px; }
.split h2 { max-width: 460px; font-size: 39px; }
.split p { margin-top: 21px; font-size: 14px; line-height: 1.95; }
.split .garden-button { margin-top: 27px; }
#om-oss .split { grid-template-columns: 1fr .82fr; }
#om-oss .split-photo { height: 560px; }

/* ---------- Omdömen ---------- */
.reviews-heading { display: flex; align-items: center; gap: 16px; }
.google-reviews-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 17px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); }
.google-badge-g { flex: none; width: 19px; height: 19px; }
.google-badge-word { flex: none; width: 45px; height: 15px; }
.google-badge-sep { width: 1px; height: 16px; background: var(--border); }
.google-badge-text { color: var(--muted-foreground); font-size: 11px; font-weight: 700; }
.review-card { flex: 0 0 calc(33.3333% - 13.3333px); padding: 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--secondary); font-size: 13px; font-weight: 700; }
.review-top strong { font-size: 12px; }
.review-top small { display: block; margin-top: 3px; color: var(--muted-foreground); font-size: 10px; }
.google-g { flex: none; width: 22px; height: 22px; margin-left: auto; }
.stars { display: flex; gap: 3px; margin: 22px 0 14px; color: var(--google-yellow); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.review-card p { font-size: 13px; line-height: 1.85; }
.sample-note { margin-top: 20px; color: var(--muted-foreground); font-size: 11px; }

/* ---------- Om oss ---------- */
.about-numbers { display: flex; gap: 50px; margin-top: 30px; }
.about-numbers strong { font-size: 37px; font-weight: 700; }
.about-numbers span { display: block; margin-top: 4px; font-size: 11px; }

/* ---------- Referenser ---------- */
.reference { position: relative; flex: 0 0 calc(41.6667% - 16.6667px); min-width: 0; height: 310px; overflow: hidden; border-radius: var(--radius); }
.reference img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.reference:hover img { transform: scale(1.04); }
.reference-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 45px 24px 24px; background: linear-gradient(transparent, var(--overlay)); color: var(--on-image); }
.reference-caption h3 { font-size: 18px; }
.reference-caption p { margin-top: 6px; font-size: 11px; }

/* ---------- Kontaktband ---------- */
.contact-band { padding: 74px 0; text-align: center; }
.contact-band .eyebrow { justify-content: center; }
.contact-band h2 { font-size: 40px; }
.contact-band p { margin-top: 17px; font-size: 14px; }
.contact-band .garden-button { margin-top: 27px; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: clamp(72px, 9vw, 116px); }
.faq .section-head { justify-content: center; margin-bottom: 40px; }
.faq .section-head > div { text-align: center; }
.faq .eyebrow { justify-content: center; }
.faq .section-intro { margin-inline: auto; color: rgba(17, 48, 34, 0.78); }
.faq-list { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq-item { overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.faq-item h3 { font-size: 14px; font-weight: 700; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; padding: 20px 24px; border: 0; background: transparent; color: var(--foreground); text-align: left; font-size: 14px; font-weight: 700; transition: background .2s; }
.faq-q:hover { background: rgba(224, 240, 227, 0.55); }
.faq-q svg { flex: none; width: 18px; height: 18px; color: var(--primary); }
.faq-q .icon-minus { display: none; }
.faq-item[data-open="true"] .icon-plus { display: none; }
.faq-item[data-open="true"] .icon-minus { display: block; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; }
.faq-a p { overflow: hidden; margin: 0; padding: 0 24px; color: var(--muted-foreground); font-size: 13px; line-height: 1.9; }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-item[data-open="true"] .faq-a p { padding-bottom: 22px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  margin-top: 46px;
  padding: 66px 0 30px;
  background: linear-gradient(180deg, #e4f1e5, #eff5ec);
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -22px 60px rgba(19, 39, 26, 0.06);
}
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-garden); opacity: .55; border-radius: 38px 38px 0 0; }
.footer-forest { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; min-width: 900px; height: auto; opacity: .07; pointer-events: none; }
.footer-inner { position: relative; display: grid; gap: 36px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: grid; gap: 16px; max-width: 430px; }
.footer .brand-logo { height: 48px; }
.footer-tagline { color: var(--muted-foreground); font-size: 13px; line-height: 1.9; }
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-heading { margin-bottom: 14px; color: var(--foreground); text-transform: uppercase; letter-spacing: 1.4px; font-size: 11px; font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; font-size: 12px; }
.footer-company ul { gap: 9px; }
.footer-col li span { color: var(--muted-foreground); }
.footer-col a { color: var(--muted-foreground); transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 10px; }
.footer-credit { justify-self: end; width: auto; height: 58px; }

/* ---------- Responsivt ---------- */
@media (min-width: 1500px) {
  .hero { height: 700px; }
}

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { margin-inline: auto; }
  .nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .mobile-nav.is-open {
    position: fixed;
    top: 88px;
    left: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 25px;
    background: var(--background);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 26px;
    font-size: 14px;
    box-shadow: 0 18px 50px rgba(10, 26, 16, 0.18);
  }
  .mobile-nav .garden-button { align-self: flex-start; }
  .brand-logo { height: 50px; }
  .split { gap: 40px; }
  .service-card { flex-basis: calc(33.3333% - 13.3333px); }
  .service-image { height: 210px; }
  .hero-name { font-size: 51px; }
  .hero-title { font-size: 34px; }
  .reco-stat + .reco-stat { margin-left: 16px; padding-left: 16px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding: 14px 0 0; }
  .brand-logo { height: 36px; }
  .mobile-nav.is-open { top: 74px; }

  .hero { height: 700px; }
  .hero-inner { padding-top: 95px; padding-bottom: 45px; }
  .hero-name { font-size: 40px; }
  .hero-title { font-size: 29px; }
  .hero-description { max-width: 340px; font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }

  .reco-banner { padding: 12px 0; }
  .reco-banner-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .reco-stat, .reco-stat + .reco-stat { border-left: 0; margin-left: 0; padding-left: 0; font-size: 12px; }
  .reco-stat strong { font-size: 15px; }
  .reco-mark { width: 21px; height: 21px; }
  .reco-word { height: 20px; }
  .reco-brand { grid-column: 1 / -1; justify-self: center; margin-left: 0; }

  .section { padding: 58px 0; }
  h2 { font-size: 29px; }
  .section-head { gap: 12px; }
  .section-intro { font-size: 12px; }
  .section .eyebrow { font-size: 9px; }
  .carousel-button { width: 36px; height: 36px; }
  .carousel-controls { gap: 6px; }
  .service-card { flex-basis: 83%; }
  .service-image { height: 230px; }

  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-photo { height: 330px; }
  .split h2 { font-size: 31px; }
  .split p { font-size: 13px; }
  .planning .split-photo { order: 2; }
  #om-oss .split { grid-template-columns: 1fr; }
  #om-oss .split-photo { height: 430px; }

  .review-card { flex-basis: 91%; }
  .reviews-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .reference { flex-basis: 83%; height: 320px; }
  .about-numbers { gap: 35px; }
  .contact-band h2 { font-size: 31px; }

  .footer { margin-top: 32px; padding: 44px 0 24px; border-radius: 28px 28px 0 0; }
  .footer::before { border-radius: 28px 28px 0 0; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 26px; }
  .footer-company { grid-column: span 2; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .carousel-viewport { scroll-behavior: auto; }
}
