/* ===================================================================
   Grossist — designtokens
   =================================================================== */

:root {
  --red: #E30613;
  --red-dark: #B4050F;
  --red-pale: #FDEBEC;
  --yellow: #FFC600;
  --ink: #1A1A1A;
  --white: #FFFFFF;
  --bg-alt: #F7F7F5;
  --border: #ECEAE7;
  --text: #232323;
  --text-muted: #63625F;
  --text-soft: #9B9994;

  --shadow-sm: 0 2px 12px -4px rgba(26, 26, 26, 0.12);
  --shadow-md: 0 16px 34px -16px rgba(26, 26, 26, 0.22);
  --shadow-lg: 0 28px 56px -20px rgba(26, 26, 26, 0.28);

  --font-display: "Nunito", "Helvetica Neue", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1180px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
section { padding: 100px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--yellow); display: inline-block; }
.eyebrow.on-red { color: var(--white); }
.eyebrow.on-red .eyebrow-dot { background: var(--yellow); }

.section-head { max-width: 620px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-lead { font-size: 16.5px; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-size: 15px; font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--red); border: 2px solid var(--white); }
.btn-ghost:hover { background: transparent; color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ===== Header ===== */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 28px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); }
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 14.5px; font-weight: 700; color: var(--text); transition: color 0.2s ease; }
.main-nav a:hover { color: var(--red); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */

.hero { padding: 78px 0 90px; background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%); position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  background: rgba(255,255,255,0.06); border-radius: 50%;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-inner h1 { color: var(--white); font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 20px; }
.hero-lead { color: rgba(255,255,255,0.88); font-size: 17.5px; max-width: 460px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 380px; }

/* ===== Kategorier ===== */

.categories { background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 22px 10px; border-radius: var(--radius-md); transition: background 0.25s ease, transform 0.25s ease; }
.cat-item:hover { background: var(--red-pale); transform: translateY(-4px); }
.cat-item-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red-pale); color: var(--red); }
.cat-item:hover .cat-item-icon { background: var(--red); color: var(--white); }
.cat-item span { font-size: 13.5px; font-weight: 700; color: var(--ink); }

/* ===== Erbjudanden ===== */

.offers { background: var(--bg-alt); }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.offer-card { position: relative; background: var(--white); border-radius: var(--radius-md); padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer-tag { position: absolute; top: 20px; right: 20px; background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; }
.offer-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red-pale); color: var(--red); margin-bottom: 18px; }
.offer-card h3 { font-size: 17px; margin-bottom: 6px; }
.offer-card p { font-size: 14px; }

/* ===== Om oss / varför oss ===== */

.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 8px; }
.why-icon { width: 60px; height: 60px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--red-pale); color: var(--red); }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; }

/* ===== CTA ===== */

.cta-band { background: var(--ink); text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(28px, 3.4vw, 38px); }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 30px; font-size: 16.5px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ===== Footer ===== */

.site-footer { background: var(--white); border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: var(--text-soft); }

/* ===== Reveal ===== */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 260px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .main-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 28px 20px; }
  .main-nav.is-open a { display: block; padding: 10px 0; }
  .header-inner { position: relative; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
}
