/* ===========================================================
   Allt i 1 Tryckeri — styles.css
   Färger enligt grafisk profil:
   Marinblå #1E3A5F · Terrakotta #C1653C · Gräddvit #F4F2EE
   Typsnitt: Poppins
=========================================================== */

:root {
  --navy: #1E3A5F;
  --navy-dark: #152a45;
  --terracotta: #C1653C;
  --terracotta-dark: #a24f2d;
  --cream: #F4F2EE;
  --white: #ffffff;
  --ink: #23303f;
  --muted: #5c6b7a;
  --border: #e2ddd3;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 30px -12px rgba(30, 58, 95, 0.25);
  --max-width: 1160px;
  --font: "Poppins", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--muted); }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  border-color: rgba(30,58,95,0.25);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(30,58,95,0.06); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 34px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.96rem;
}
.main-nav a:hover { color: var(--terracotta); }
.main-nav a.is-active { color: var(--terracotta); }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background: linear-gradient(180deg, #fbfaf7 0%, var(--cream) 100%);
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.5; filter: blur(1px); mix-blend-mode: multiply; }
.shape-a { width: 260px; height: 260px; background: var(--navy); opacity: 0.12; top: -60px; right: 8%; }
.shape-b { width: 180px; height: 180px; background: var(--navy); opacity: 0.08; top: 120px; right: 18%; }
.shape-c { width: 220px; height: 220px; background: var(--terracotta); opacity: 0.14; top: 60px; right: -40px; }

.hero-inner { position: relative; }
.eyebrow {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 0.4em;
}
.hero-lead {
  font-size: 1.1rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 40px;
}
.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { color: var(--navy); font-size: 1.3rem; }
.hero-stats span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Hero video (startsidan) ---------- */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-video video,
.hero-video .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21,42,69,0.92) 0%, rgba(21,42,69,0.72) 42%, rgba(21,42,69,0.35) 100%);
}
.hero-video .hero-inner {
  position: relative;
  z-index: 2;
  padding: 90px clamp(16px, 5vw, 64px);
}
.hero-video .eyebrow { color: #f2b493; }
.hero-video h1 { color: #fff; }
.hero-video .hero-lead { color: rgba(255,255,255,0.85); }
.hero-video .hero-stats { border-top-color: rgba(255,255,255,0.2); }
.hero-video .hero-stats strong { color: #fff; }
.hero-video .hero-stats span { color: rgba(255,255,255,0.65); }
.hero-video .btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-video .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Page hero (undersidor med bakgrundsbild) ---------- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21,42,69,0.9) 0%, rgba(21,42,69,0.65) 55%, rgba(21,42,69,0.4) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
.page-hero .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
  margin-bottom: 10px;
}
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb a:hover { color: var(--terracotta); }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0; }

/* ---------- Image feature blocks (om oss) ---------- */
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.gallery-2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
.gallery-1 { grid-template-columns: 1fr; max-width: 460px; }

.region-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.region-text h2 { color: #fff; }
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(21,42,69,0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--navy);
  padding: 16px 0;
}
.trust-inner p {
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* ---------- Sections generic ---------- */
section { padding: 88px 0; }
.section-tag {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-tag-light { color: #f2b493; }
.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
}
.section-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  opacity: 0.85;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(193, 101, 60, 0.12);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Why ---------- */
.why {
  background: var(--navy);
  color: #fff;
}
.why-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.why h2 { color: #fff; }
.why-text > p { color: rgba(255,255,255,0.78); max-width: 520px; }
.why-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.why-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-num {
  font-weight: 800;
  font-size: 1rem;
  color: var(--terracotta);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-list strong { color: #fff; display: block; margin-bottom: 4px; }
.why-list p { color: rgba(255,255,255,0.72); margin: 0; font-size: 0.94rem; }

.why-visual { display: flex; justify-content: center; }
.circle-stack {
  position: relative;
  width: 220px;
  height: 220px;
}
.c { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.c1 { width: 150px; height: 150px; background: var(--navy-dark); left: 0; top: 0; opacity: 0.9; }
.c2 { width: 150px; height: 150px; background: #8ea0b8; right: 0; top: 0; opacity: 0.7; }
.c3 { width: 150px; height: 150px; background: var(--terracotta); left: 35px; top: 70px; }

/* ---------- Process ---------- */
.process-steps {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process-steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 22px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.process-steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-steps p { font-size: 0.92rem; margin: 0; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-media {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo { width: 100%; max-width: 220px; }
.about-facts {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.about-facts strong { display: block; color: var(--navy); font-size: 1.3rem; }
.about-facts span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.review-card p {
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 20px;
}
.review-card footer strong { display: block; color: var(--navy); }
.review-card footer span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { color: var(--navy); }
.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.contact-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.95rem;
  color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
}

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--terracotta); }
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 4px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-banner .btn-primary { background: var(--navy); }
.cta-banner .btn-primary:hover { background: var(--navy-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; font-size: 0.92rem; }
.footer-nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer-nav a, .footer-contact a, .footer-contact span {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .why-inner, .about-inner, .contact-inner, .region-inner { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-video { min-height: 100vh; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav ul.is-open { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding-top: 48px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .gallery { grid-template-columns: 1fr; }
  .hero-video { min-height: 560px; max-height: 92vh; }
  .hero-video .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .hero-video .hero-stats { display: none; }
  .hero-video .hero-lead { font-size: 0.98rem; }
  .hero-actions { margin: 20px 0 0; flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1; padding: 12px 10px; font-size: 0.84rem; white-space: nowrap; }
  .page-hero { min-height: 240px; }
}
