/* ===========================================
   LYWÉN KRAN & TRANSPORT - STYLESHEET
   Version: 1.0
   =========================================== */

/* ===========================================
   1. RESET & BASE
   =========================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===========================================
   2. CSS VARIABLER
   =========================================== */

:root {
  /* === FÄRGER - LYWÉN === */
  --color-primary: #58504b;        /* Varm brungrå - kompletterar loggan */
  --color-secondary: #F37021;      /* Orange - exakt från logotypen */
  --color-secondary-dark: #d45f18; /* Mörkare för hover */
  --color-accent: #22c55e;         /* Grön - success/CTA */

  /* Text */
  --color-text-dark: #1f2937;
  --color-text-light: #ffffff;
  --color-text-muted: #6b7280;

  /* Bakgrunder */
  --color-bg-white: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-dark: #58504b;
  --color-bg-darker: #3d3733;

  /* Övrigt */
  --color-border: #e5e7eb;
  --color-error: #ef4444;
  --color-success: #22c55e;

  /* === TYPOGRAFI === */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-heading: var(--font-primary);

  /* Font-storlekar */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* === SPACING === */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* === LAYOUT === */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --section-padding: 5rem;
  --header-height: 80px;

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* === BORDERS === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* === TRANSITIONS === */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ===========================================
   3. TYPOGRAFI
   =========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.5rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-text-light); }

/* ===========================================
   4. LAYOUT
   =========================================== */

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

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--white {
  background-color: var(--color-bg-white);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-text-light);
}

/* Truck overlay decoration */
.section--truck-overlay {
  position: relative;
}

.section--truck-overlay::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: auto;
  aspect-ratio: 1202 / 629;
  background: url('../images/lywen-kran-lastbil-transport-kisa-overlay.png') no-repeat center center;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.section--truck-overlay .container {
  position: relative;
  z-index: 1;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__title {
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-6);
}

.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: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

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

  .section {
    padding: var(--space-12) 0;
  }
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse {
    direction: ltr;
  }
}

/* ===========================================
   5. KOMPONENTER - KNAPPAR
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

.btn--primary:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn--white {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
}

.btn--white:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  border-color: var(--color-text-light);
  color: var(--color-text-light);
}

.btn--outline-white:hover {
  background-color: var(--color-text-light);
  color: var(--color-primary);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn--small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ===========================================
   6. KOMPONENTER - HEADER
   =========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  height: var(--header-height);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-primary);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__text span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Navigation */
.nav__list {
  display: flex;
  gap: var(--space-1);
  align-items: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-weight: 500;
  color: var(--color-text-dark);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__link:hover {
  background-color: var(--color-bg-light);
  color: var(--color-secondary);
}

.nav__link--active {
  color: var(--color-secondary);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  padding: var(--space-2);
  z-index: 100;
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background-color: var(--color-bg-light);
  color: var(--color-secondary);
}

/* Dropdown toggle - hidden on desktop, shown on mobile via media query */
.nav__dropdown-toggle {
  display: none;
}

/* Header phone */
.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-secondary);
}

.header__phone svg {
  width: 20px;
  height: 20px;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 1001;
}

.nav__toggle-bar {
  width: 25px;
  height: 3px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
  .nav__toggle {
    display: flex;
  }

  .header__phone {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-bg-white);
    padding: calc(var(--header-height) + var(--space-6)) var(--space-6) var(--space-6);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  .nav.is-open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: var(--space-4);
    display: none;
  }

  .nav__item.is-open .nav__dropdown {
    display: block;
  }

  .nav__link {
    padding: var(--space-3) var(--space-4);
  }

  /* Dropdown med separat pil-knapp på mobil */
  .nav__item--dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav__item--dropdown > .nav__link {
    flex: 1;
  }

  .nav__dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-bg-light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
  }

  .nav__dropdown-toggle:hover {
    background: var(--color-border);
  }

  .nav__dropdown-arrow {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-text-dark);
    border-bottom: 2px solid var(--color-text-dark);
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
  }

  .nav__item--dropdown.is-open .nav__dropdown-arrow {
    transform: rotate(-135deg);
  }

  .nav__item--dropdown .nav__dropdown {
    flex-basis: 100%;
  }
}

/* ===========================================
   7. KOMPONENTER - HERO
   =========================================== */

.hero {
  padding-top: var(--header-height);
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero/hero-startsida.jpg') center/cover no-repeat;
  opacity: 0.4;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-text-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.hero__title {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}

.hero__title span {
  color: var(--color-secondary);
}

.hero__subtitle {
  font-size: var(--text-xl);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__features {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  opacity: 0.9;
}

.hero__feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__features {
    justify-content: center;
  }
}

/* ===========================================
   8. KOMPONENTER - KORT (TJÄNSTER)
   =========================================== */

.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-light);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__content {
  padding: var(--space-6);
}

.card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-text-dark);
}

.card__icon svg {
  width: 30px;
  height: 30px;
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-secondary);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-3);
}

.card__link svg {
  width: 16px;
  height: 16px;
}

/* Card variant - horizontal */
.card--horizontal {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.card--horizontal .card__image {
  aspect-ratio: auto;
  height: 100%;
}

@media (max-width: 768px) {
  .card--horizontal {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   9. KOMPONENTER - USP BAR
   =========================================== */

.usp-bar {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--space-5) 0;
}

.usp-bar__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.usp-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
}

.usp-bar__icon {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .usp-bar__grid {
    gap: var(--space-4);
  }

  .usp-bar__item {
    font-size: var(--text-sm);
  }
}

/* ===========================================
   10. KOMPONENTER - STATISTIK
   =========================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat__number {
  display: block;
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-lg);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .stat__number {
    font-size: var(--text-4xl);
  }
}

/* ===========================================
   11. KOMPONENTER - CTA SEKTION
   =========================================== */

.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-darker) 100%);
  color: var(--color-text-light);
  text-align: center;
  padding: var(--space-16) 0;
}

.cta__title {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.cta__text {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================
   12. KOMPONENTER - FOOTER
   =========================================== */

.footer {
  background: var(--color-bg-darker);
  color: var(--color-text-light);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__logo {
  margin-bottom: var(--space-4);
}

.footer__logo img {
  height: 50px;
}

.footer__text {
  opacity: 0.8;
  font-size: var(--text-sm);
  max-width: 300px;
}

.footer__heading {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: var(--color-text-light);
}

.footer__links li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  opacity: 0.8;
  transition: all var(--transition-fast);
  font-size: var(--text-sm);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--color-secondary);
}

.footer__contact {
  font-style: normal;
  font-size: var(--text-sm);
}

.footer__contact p {
  margin-bottom: var(--space-2);
  opacity: 0.8;
}

.footer__contact a {
  color: var(--color-secondary);
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  opacity: 0.7;
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a:hover {
  opacity: 1;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__text {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* ===========================================
   13. KOMPONENTER - FORMULÄR
   =========================================== */

.form__group {
  margin-bottom: var(--space-4);
}

.form__label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
  background: var(--color-bg-white);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__input.is-error,
.form__textarea.is-error {
  border-color: var(--color-error);
}

.form__error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* ===========================================
   14. KOMPONENTER - BREADCRUMB
   =========================================== */

.breadcrumb {
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  opacity: 0.5;
}

.breadcrumb__link {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  color: var(--color-secondary);
}

.breadcrumb__current {
  color: var(--color-text-dark);
}

.breadcrumb--centered {
  margin-top: -3rem;
  margin-bottom: var(--space-8);
}

.breadcrumb--centered .breadcrumb__list {
  justify-content: center;
}

/* ===========================================
   15. KOMPONENTER - PAGE HEADER
   =========================================== */

.page-header {
  padding-top: var(--header-height);
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding-bottom: var(--space-12);
}

.page-header__content {
  padding-top: var(--space-12);
}

.page-header__title {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.page-header__subtitle {
  font-size: var(--text-xl);
  opacity: 0.9;
  max-width: 600px;
}

/* Page Header med bakgrundsbild */
.page-header--image {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-header--image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.page-header--image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.3) 0%, var(--color-bg-dark) 100%);
}

.page-header--image .container {
  position: relative;
  z-index: 1;
}

.page-header--image .page-header__content {
  padding-top: 0;
}

.page-header--image .page-header__subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-header--tradplockning::before {
  background-image: url('../images/tradplockning/tradplockning-kran-lywen-kisa-flerbostadshus.webp');
}

@media (max-width: 768px) {
  .page-header--image {
    min-height: 50vh;
  }
}

/* ===========================================
   16. KOMPONENTER - FEATURE LIST
   =========================================== */

.feature-list {
  margin: var(--space-6) 0;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.feature-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

/* ===========================================
   17. KOMPONENTER - PROCESS STEPS
   =========================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--color-secondary);
  color: var(--color-text-dark);
  font-size: var(--text-2xl);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-4);
}

.step__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.step__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ===========================================
   18. UTILITIES
   =========================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* ===========================================
   19. ANIMATIONS
   =========================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   20. KOMPONENTER - FAQ
   =========================================== */

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  background: var(--color-bg-white);
  overflow: hidden;
}

.faq__question {
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-secondary);
  transition: transform var(--transition-fast);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__question:hover {
  background-color: var(--color-bg-light);
}

.faq__answer {
  padding: 0 var(--space-5) var(--space-4);
  color: var(--color-text-muted);
}

/* ===========================================
   21. KOMPONENTER - KONTAKT INFO
   =========================================== */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.contact-info__icon svg {
  width: 24px;
  height: 24px;
}

.contact-info__item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.contact-info__item p {
  margin-bottom: var(--space-1);
}

/* ===========================================
   22. KOMPONENTER - CHECKBOX
   =========================================== */

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
}

.form__checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-secondary);
  cursor: pointer;
}

.form__checkbox a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* ===========================================
   23. KOMPONENTER - PROSE (för text-tungt innehåll)
   =========================================== */

.prose {
  line-height: 1.8;
}

.prose h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.prose h4 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.prose p {
  margin-bottom: var(--space-4);
}

.prose ul,
.prose ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--color-secondary-dark);
}

.prose .lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* ===========================================
   24. KOMPONENTER - LINKS
   =========================================== */

.link {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.link:hover {
  color: var(--color-secondary-dark);
  text-decoration: underline;
}

/* ===========================================
   25. UTILITIES - TEXT
   =========================================== */

.text-sm {
  font-size: var(--text-sm);
}

.text-lg {
  font-size: var(--text-lg);
}

/* ===========================================
   26. KOMPONENTER - CARD VARIANTS
   =========================================== */

.card--hover {
  text-decoration: none;
  display: block;
}

.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card--hover .card__title {
  transition: color var(--transition-fast);
}

.card--hover:hover .card__title {
  color: var(--color-secondary);
}

/* ===========================================
   27. KOMPONENTER - SERVICE PAGE
   =========================================== */

.service-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 800px;
}

.service-features {
  margin: var(--space-8) 0;
}

.service-features h3 {
  margin-bottom: var(--space-4);
}

/* ===========================================
   28. KOMPONENTER - SOCIAL FEED
   =========================================== */

.social-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.social-feed__column {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-feed__column .btn {
  margin-top: auto;
}

.social-feed__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: var(--color-text-dark);
}

.social-feed__icon {
  width: 28px;
  height: 28px;
  color: var(--color-secondary);
}

.social-feed__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-feed__placeholder-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
}

/* Instagram Grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  width: 100%;
  max-width: 360px;
}

.instagram-grid__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: block;
}

.instagram-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.instagram-grid__item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .social-feed {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .social-feed__column {
    padding: var(--space-4);
  }

  .instagram-grid {
    max-width: 300px;
  }
}

/* ===========================================
   29. KOMPONENTER - SOCIAL ICONS (Footer)
   =========================================== */

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  transform: translateY(-3px);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

/* ===========================================
   30. PRINT STYLES
   =========================================== */

/* ===========================================
   FORM ALERTS
   =========================================== */

.form__alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.form__alert--success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form__alert--error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* ===========================================
   PRINT STYLES
   =========================================== */

@media print {
  .header,
  .footer,
  .cta,
  .nav__toggle {
    display: none;
  }

  .page-header {
    padding-top: 0;
    background: none;
    color: var(--color-text-dark);
  }

  .page-header__title {
    color: var(--color-text-dark);
  }

  body {
    font-size: 12pt;
  }
}
