/* Kjora – Frakt och leverans
   Ren, responsiv layout som matchar klasserna i Frakt.html. */

@font-face { font-family: "Butler"; src: url("Font/Butler-Free-Med.otf"); font-display: swap; }
@font-face { font-family: "Bank"; src: url("Font/F25_Bank_Printer.otf"); font-display: swap; }
@font-face { font-family: "Creato"; src: url("Font/CreatoDisplay-Light.otf"); font-display: swap; }

:root {
  --brown: #28190f;
  --brown-soft: #3a2a20;
  --cream: #f5deb3;
  --sand: #daa786;
  --white: #fffaf4;
  --content-width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--brown-soft) url("Bilder/Mönster4.png") repeat;
  font-family: "Creato", Arial, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* Navigering */
.navbar {
  width: 100%;
  min-height: 88px;
  padding: 10px clamp(18px, 5.2vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(40, 25, 15, .92);
  position: relative;
  z-index: 2;
}
.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img { width: clamp(105px, 12vw, 165px); height: 66px; object-fit: contain; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.5vw, 38px); min-width: 0; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  color: white;
  font: 14px "Bank", Arial, sans-serif;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a img { width: 27px; height: 27px; object-fit: contain; }

/* Sidhuvud */
.frakt-main { width: 100%; flex: 1 0 auto; }
.page-heading {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 0 30px;
  text-align: center;
}
.page-heading h1, .section-heading h2 {
  margin: 0;
  color: var(--cream);
  font-family: "Butler", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}
.page-heading h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: .035em; }
.page-heading p { margin: 14px 0 22px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; }
.heading-line { width: min(440px, 65%); height: 2px; margin: 0 auto; background: var(--cream); }

/* Tre steg */
.delivery-steps {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 4px auto 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 42px);
}
.delivery-step { min-width: 0; padding: 22px 18px 24px; text-align: center; }
.step-icon {
  width: 66px; height: 66px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border: 1px solid rgba(245, 222, 179, .65);
  border-radius: 50%;
  background: rgba(40, 25, 15, .22);
  font-size: 30px;
}
.step-icon.check-icon { color: var(--cream); font-size: 35px; }
.delivery-step h2 { max-width: 270px; margin: 0 auto; color: white; font-size: clamp(16px, 1.45vw, 20px); font-weight: 400; line-height: 1.45; }

/* Fraktinformation */
.shipping-info {
  width: 100%;
  padding: clamp(28px, 5vw, 64px) max(24px, calc((100% - var(--content-width)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  color: var(--brown);
  background: var(--white);
}
.shipping-copy { max-width: 510px; }
.shipping-title { margin: 0 0 14px; font: 400 clamp(25px, 2.6vw, 36px)/1.25 "Butler", Georgia, serif; }
.shipping-time { margin: 0 0 18px; font: 17px/1.6 "Bank", Arial, sans-serif; }
.shipping-note { margin: 0; font-size: 17px; line-height: 1.8; }
.shipping-image { width: 100%; height: clamp(230px, 28vw, 360px); object-fit: cover; border-radius: 4px; }

/* Tillverkningsprocess */
.process-section { width: min(var(--content-width), calc(100% - 48px)); margin: 0 auto; padding: clamp(48px, 6vw, 78px) 0 72px; }
.section-heading { margin-bottom: 34px; text-align: center; }
.section-heading h2 { font-size: clamp(30px, 3vw, 42px); }
.section-heading p { margin: 12px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.process-content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: flex; align-items: center; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(245, 222, 179, .28); }
.process-list li:first-child { border-top: 1px solid rgba(245, 222, 179, .28); }
.process-list li span { flex: 0 0 42px; color: var(--cream); font: 22px "Butler", Georgia, serif; }
.process-list li p { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.process-image { width: 100%; height: clamp(260px, 30vw, 390px); object-fit: cover; border-radius: 4px; }

/* Footer */
footer {
  width: 100%;
  margin-top: auto;
  padding: clamp(32px, 4vw, 56px) clamp(22px, 8vw, 120px);
  display: grid;
  grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 46px);
  background: var(--brown);
  color: white;
}
footer > div { min-width: 0; }
footer .footer-brand img { width: clamp(100px, 9vw, 145px); height: auto; object-fit: contain; }
.footer-brand p { margin: 13px 0 0; font: 16px/1.5 "Butler", Georgia, serif; }
footer h4 { margin: 0 0 16px; color: rgba(255,255,255,.65); font: 14px "Bank", Arial, sans-serif; letter-spacing: .1em; }
footer a { display: block; width: fit-content; max-width: 100%; margin: 0 0 10px; color: white; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; transition: color .2s ease; }
footer a:hover { color: var(--cream); }

@media (max-width: 900px) {
  .navbar { gap: 18px; padding-inline: 24px; }
  .nav-logo img { width: 105px; height: 58px; }
  .nav-links { gap: clamp(10px, 1.8vw, 18px); }
  .nav-links a { font-size: 12px; }
  .shipping-info { padding-inline: 28px; }
  footer { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 6%; }
  footer .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .navbar { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 12px 16px; }
  .nav-logo img { width: 96px; height: 52px; }
  .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; gap: 10px 14px; }
  .nav-links a { font-size: 10px; letter-spacing: .025em; }
  .nav-links a img { width: 23px; height: 23px; }
  .page-heading { width: calc(100% - 32px); padding-top: 36px; }
  .page-heading h1 { font-size: clamp(30px, 8vw, 40px); }
  .delivery-steps { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 4px; margin-bottom: 32px; }
  .delivery-step { padding: 14px 10px; }
  .step-icon { width: 56px; height: 56px; margin-bottom: 12px; font-size: 26px; }
  .delivery-step h2 { font-size: 17px; }
  .shipping-info { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px; }
  .shipping-title { font-size: 29px; }
  .shipping-time, .shipping-note { font-size: 16px; }
  .shipping-image { height: auto; aspect-ratio: 4 / 3; }
  .process-section { width: calc(100% - 32px); padding: 42px 0 48px; }
  .section-heading { margin-bottom: 24px; }
  .process-content { grid-template-columns: 1fr; gap: 28px; }
  .process-list li { gap: 14px; padding: 14px 0; }
  .process-list li span { flex-basis: 34px; font-size: 20px; }
  .process-list li p { font-size: 16px; }
  .process-image { height: auto; aspect-ratio: 4 / 3; }
  footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding: 30px 18px; }
  footer .footer-brand { grid-column: 1 / -1; }
  footer h4 { font-size: 12px; }
  footer a { font-size: 12px; }
}

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