/* ------------------------------------------------------------------
   Åkerströms Trädgård & Inredning
   Egen, lokal CSS. Färg/typsnitt enligt grafisk profil
   (original-images/Grafisk profil.jpg). Allt hostas lokalt, inga
   externa typsnitt/CDN-anrop vid sidladdning.
------------------------------------------------------------------ */

/* Lusitana – varumärkets rubrik-/brödtextfont enligt grafisk profil */
@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Lusitana-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Lusitana-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Grönt varumärkesaccent – enligt grafisk profil (original-images/Grafisk profil.jpg) */
  --primary-50:  hsl(91 35% 93%);
  --primary-300: #AABD90;
  --primary-500: #8CAC6F;
  --primary-600: hsl(98 25% 38%);
  --primary-700: #34482E;

  --dark-900: hsl(106 32% 11%);
  --dark-800: hsl(106 26% 16%);
  --dark-700: #34482E;
  --dark-500: hsl(106 16% 32%);

  --ink: var(--dark-700);
  --ink-soft: hsl(100 10% 42%);
  --paper: #ffffff;
  --paper-alt: #F1EFE6;
  --border: hsl(85 15% 86%);

  --overlay: hsla(106 18% 10% / 0.55);

  --font-heading: 'Lusitana', Georgia, 'Times New Roman', serif;
  --font-body: 'Lusitana', Georgia, 'Times New Roman', serif;

  --container: 1160px;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 30, 40, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 90px 0; scroll-margin-top: 150px; }
@media (max-width: 700px) { section { padding: 56px 0; } }

.eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-600);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head { max-width: 700px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--primary-600); color: #fff; }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-1px); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 150px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 130px; width: auto; }
.header-right { display: flex; align-items: center; gap: 28px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--primary-700); }
.header-phone {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.header-phone a { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .header-right { position: fixed; inset: 150px 0 auto 0; background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; padding: 18px 24px 24px; gap: 14px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .18s ease; }
  .header-right.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header-right .header-phone { display: block; }
  .main-nav { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------------- Hero / CTA cover blocks ---------------- */
.cover {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}
.cover::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--overlay);
}
.cover .container { position: relative; z-index: 1; }
.cover-inner { max-width: 620px; }
.cover h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.2; color: #fff; }
.cover blockquote { margin: 0 0 28px; font-size: 18px; font-style: normal; color: rgba(255,255,255,.9); }
#hero { background-image: url('../images/hero.webp'); }
#cta-final { background-image: url('../images/cta.webp'); min-height: auto; padding: 100px 0; }

/* ---------------- Cards / grids ---------------- */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); }
.card h4 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 16px; }

.alt-surface { background: var(--paper-alt); }

/* Services */
.service-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { transform: translateY(-3px); }
.service-card .icon-dot {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-50); color: var(--primary-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 20px; font-weight: 700;
}

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.about-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.about h2 { font-size: clamp(28px, 4vw, 36px); }
.about p { color: var(--ink-soft); font-size: 18px; }

/* Why choose us */
.feature-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: #fff; }

/* Testimonials */
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.testimonial-card .tag { font-weight: 700; font-size: 15px; }
.testimonial-card blockquote { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.testimonial-card .name { font-weight: 700; color: var(--primary-700); margin-top: auto; }

/* Pricing */
.price-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
}
.price-card img { aspect-ratio: 1.178; object-fit: cover; width: 100%; }
.price-card .price-body { padding: 26px; }
.price-card .price-body p { font-size: 16px; }
.price-card .amount {
  display: inline-block; font-weight: 700; color: var(--primary-700);
  background: var(--primary-50); padding: 4px 12px; border-radius: 999px; font-size: 14px; margin: 4px 6px 0 0;
}

/* Instagram feed */
.insta-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 820px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
.insta-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper-alt); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.insta-item:hover img { transform: scale(1.06); }
.insta-fallback {
  border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 40px; text-align: center; color: var(--ink-soft);
}
.insta-fallback .btn { margin-top: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.contact-list .dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary-50); color: var(--primary-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.social-row a:hover { background: var(--primary-50); }
.social-row img { width: 18px; height: 18px; }
.map-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; background: var(--paper-alt);
}
.map-card h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: 10px;
}
.map-embed {
  width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; margin: 14px 0; background: var(--paper-alt);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-card a.btn { margin-top: 18px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--primary-600);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item h4 { font-size: 18px; margin: 0; }
.faq-item p { color: var(--ink-soft); margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--dark-900); color: rgba(255,255,255,.7); padding: 40px 0; text-align: center; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer .container { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.site-footer .footer-credit { font-size: 13px; color: rgba(255,255,255,.5); }
.site-footer .footer-credit a { font-weight: 700; color: rgba(255,255,255,.7); }
.site-footer .footer-credit a:hover { color: var(--primary-500); }
