/* =====================================================================
   Flytt Mani – style.css
   Palette:
     --green-dark:    #2c4a27   (deep forest)
     --green-primary: #3d6b35   (primary action)
     --green-mid:     #4a7e40   (hover)
     --green-light:   #a8d08d   (accent / highlights)
     --green-xlight:  #e9f3e5   (tinted bg)
     --cream:         #f5f0e8   (warm background)
     --beige:         #e8dcc8   (borders / cards)
     --text:          #222222
     --text-muted:    #555555
     --white:         #ffffff
     --footer-bg:     #1a2e18
   ===================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ------------------------------------------------------------------ */
/* 2. TYPOGRAPHY                                                        */
/* ------------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: #2c4a27;
}

/* ------------------------------------------------------------------ */
/* 3. LAYOUT UTILITIES                                                  */
/* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  color: #2c4a27;
  margin-bottom: 0.6rem;
}

.section__sub {
  text-align: center;
  color: #555;
  max-width: 640px;
  margin: 0 auto 2.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* 4. BUTTONS                                                           */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  border-radius: 7px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary – solid green */
.btn--primary {
  background: #3d6b35;
  color: #fff;
  border-color: #3d6b35;
}
.btn--primary:hover,
.btn--primary:focus {
  background: #2c4a27;
  border-color: #2c4a27;
}

/* Outline – white border (for dark/hero backgrounds) */
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn--outline:hover,
.btn--outline:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Green outline (for light backgrounds) */
.btn--green-outline {
  background: transparent;
  color: #3d6b35;
  border-color: #3d6b35;
}
.btn--green-outline:hover,
.btn--green-outline:focus {
  background: #e9f3e5;
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
}

/* ------------------------------------------------------------------ */
/* 5. TOPBAR                                                            */
/* ------------------------------------------------------------------ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #2c4a27;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 1rem;
}

/* Logo */
.topbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.logo-wordmark,
.footer__wordmark {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.logo-wordmark strong,
.footer__wordmark strong {
  color: #a8d08d;
  font-weight: 700;
}

/* Nav */
.topbar__nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.topbar__nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.18s;
  white-space: nowrap;
}

.topbar__nav a:hover {
  color: #fff;
}

/* Phone CTA */
.topbar__phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #3d6b35;
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.18s;
  border: 2px solid #4a7e40;
}

.topbar__phone:hover {
  background: #4a7e40;
}

/* ------------------------------------------------------------------ */
/* 6. HERO                                                              */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  margin-top: 66px; /* topbar height */
  overflow: hidden;
}

.hero__image-wrapper {
  position: absolute;
  inset: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 40, 15, 0.88) 0%,
    rgba(20, 40, 15, 0.70) 55%,
    rgba(20, 40, 15, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3.5rem 1.25rem 4rem;
  max-width: 780px;
}

.hero__kicker {
  display: inline-block;
  background: rgba(61, 107, 53, 0.85);
  color: #a8d08d;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.hero__trust {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ */
/* 7. TJÄNSTER                                                          */
/* ------------------------------------------------------------------ */
.tjanster-section {
  background: #f5f0e8;
}

.tjanster__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.5rem;
}

.tjanst-kort {
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  border-top: 4px solid #3d6b35;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tjanst-kort:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tjanst-kort__ikon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.tjanst-kort h3 {
  font-size: 1.1rem;
  color: #2c4a27;
  margin-bottom: 0.6rem;
}

.tjanst-kort p {
  color: #555;
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ */
/* 8. USP / VARFÖR FLYTT MANI                                          */
/* ------------------------------------------------------------------ */
.usp-section {
  background: #2c4a27;
}

.usp-section .section__title {
  color: #fff;
}

.usp-section .section__sub {
  color: rgba(255, 255, 255, 0.78);
}

.usp__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.usp-kort {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.2s ease;
}

.usp-kort:hover {
  background: rgba(255, 255, 255, 0.12);
}

.usp-kort__ikon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.usp-kort h3 {
  font-size: 1.1rem;
  color: #a8d08d;
  margin-bottom: 0.65rem;
}

.usp-kort p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ */
/* 9. SOCIAL PROOF / RECENSIONER                                       */
/* ------------------------------------------------------------------ */
.social-proof {
  background: #fff;
}

.recensioner__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.recension-kort {
  background: #f5f0e8;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  border-left: 5px solid #3d6b35;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.recension-kort__stars {
  color: #d4900a;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.recension-kort blockquote {
  flex: 1;
}

.recension-kort blockquote p {
  font-style: italic;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.72;
}

.recension-kort figcaption {
  margin-top: 0.25rem;
}

.recension-kort cite {
  font-size: 0.85rem;
  font-weight: 700;
  color: #3d6b35;
  font-style: normal;
}

/* ------------------------------------------------------------------ */
/* 10. FAQ                                                              */
/* ------------------------------------------------------------------ */
.faq-section {
  background: #f5f0e8;
}

.faq__list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  border: 1.5px solid #e0d8c8;
  overflow: hidden;
  transition: border-color 0.18s;
}

.faq-item[open] {
  border-color: #3d6b35;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: #2c4a27;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: background 0.15s;
  font-family: 'Open Sans', sans-serif;
}

/* Remove default marker */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

/* Custom +/− indicator */
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #3d6b35;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background: #f9f6f0;
}

.faq-item div {
  border-top: 1.5px solid #e0d8c8;
}

.faq-item div p {
  padding: 1rem 1.5rem 1.25rem;
  color: #444;
  font-size: 0.94rem;
  line-height: 1.72;
}

/* ------------------------------------------------------------------ */
/* 11. KONTAKT                                                          */
/* ------------------------------------------------------------------ */
.kontakt-section {
  background: #fff;
}

.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

.kontakt__info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.kontakt__cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kontakt__phone-btn {
  font-size: 1.1rem;
}

.kontakt__caption {
  font-size: 0.84rem;
  color: #777;
  padding-left: 0.1rem;
}

.kontakt__highlights {
  background: #f5f0e8;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-left: 4px solid #3d6b35;
}

.kontakt__highlights p {
  font-size: 0.94rem;
  color: #2c4a27;
  font-weight: 600;
}

/* Form wrapper */
.kontakt__form-wrapper {
  background: #f5f0e8;
  border-radius: 12px;
  padding: 2.25rem 2rem;
}

.kontakt__form-wrapper h3 {
  font-size: 1.35rem;
  color: #2c4a27;
  margin-bottom: 1.5rem;
}

/* Form */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
}

.form-group label span {
  color: #c0392b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid #c8bfa8;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.94rem;
  color: #222;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3d6b35;
  box-shadow: 0 0 0 3px rgba(61, 107, 53, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 0.8rem;
  color: #777;
  text-align: center;
  line-height: 1.5;
}

.form-note a {
  color: #3d6b35;
  font-weight: 600;
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* 12. FOOTER                                                           */
/* ------------------------------------------------------------------ */
.footer {
  background: #1a2e18;
  color: #bbb;
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  line-height: 1.5;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.5rem;
}

.footer__nav h4,
.footer__contact h4 {
  font-family: 'Open Sans', sans-serif;
  color: #a8d08d;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.18s;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer__contact a {
  color: #a8d08d;
  font-weight: 700;
  transition: color 0.18s;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__contact__note {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ------------------------------------------------------------------ */
/* 13. RESPONSIVE – Tablet (≤ 960px)                                  */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .topbar__nav {
    display: none; /* hide nav links on tablet/mobile */
  }

  .kontakt__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ */
/* 14. RESPONSIVE – Mobile (≤ 640px)                                  */
/* ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .section__title {
    font-size: 1.55rem;
  }

  .section__sub {
    font-size: 0.97rem;
    margin-bottom: 2rem;
  }

  /* Topbar */
  .topbar__inner {
    height: 58px;
  }

  .logo-wordmark {
    font-size: 1.15rem;
  }

  .topbar__phone {
    font-size: 0.88rem;
    padding: 0.45rem 0.75rem;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
    margin-top: 58px;
  }

  .hero__h1 {
    font-size: 1.7rem;
  }

  .hero__sub {
    font-size: 0.97rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids → single column */
  .tjanster__grid,
  .usp__grid,
  .recensioner__grid {
    grid-template-columns: 1fr;
  }

  /* Form row → stack */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* 15. ACCESSIBILITY                                                    */
/* ------------------------------------------------------------------ */
:focus-visible {
  outline: 3px solid #a8d08d;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
