/* IndusFjord – förslag C: nordisk och lugn */
:root {
  --bg: #F3F2EE;
  --mist: #E6EAE5;
  --line: #CDD5D0;
  --pine: #1F3B34;
  --pine-hover: #3E6B61;
  --sage: #6E8F86;
  --text: #22302B;
  --muted: #44544E;
  --soft: #5B6B65;
  --white: #FFFFFF;
  --heading: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; } /* keeps section titles clear of the fixed menu */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pine); }
a:hover { color: var(--pine-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--heading); color: var(--pine); margin: 0; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(243, 242, 238, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: var(--heading); font-weight: 500; font-size: 26px; letter-spacing: 0.2px; color: var(--pine); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 16px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--pine-hover); }
.nav .lang { color: var(--soft); font-size: 15px; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding-top: 72px; }
.slogan { display: flex; align-items: center; gap: 16px; font-family: var(--heading); font-weight: 500; font-size: clamp(18px, 2.4vw, 24px); letter-spacing: 0.5px; color: var(--pine-hover); }
.slogan::before, .slogan::after { content: ""; width: 40px; height: 1px; background: var(--sage); }
.hero h1 { font-weight: 300; font-size: clamp(40px, 7vw, 80px); line-height: 1.08; letter-spacing: -1px; max-width: 860px; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 6px; font-weight: 500; text-decoration: none; font: inherit; font-weight: 500; cursor: pointer; }
.btn-primary { background: var(--pine); color: var(--bg); border: none; }
.btn-primary:hover { background: var(--pine-hover); color: var(--bg); }
.btn-ghost { border: 1px solid #A9B5AF; color: var(--pine); }
.fjord { width: 100%; height: auto; margin-top: 48px; display: block; }

/* Stats */
.stats { background: var(--mist); }
.stats .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 12px 56px; padding-top: 28px; padding-bottom: 28px; font-size: 16px; color: var(--muted); text-align: center; }
.stats strong { font-family: var(--heading); font-weight: 500; font-size: 22px; color: var(--pine); }

/* Sections */
.section { padding-top: 112px; padding-bottom: 48px; }
.section-title { font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; text-align: center; margin-bottom: 56px; }

.service { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { flex: 1 1 280px; font-weight: 500; font-size: 26px; line-height: 1.3; }
.service-body { flex: 2 1 420px; display: flex; flex-direction: column; gap: 10px; max-width: 640px; color: var(--muted); }
.text-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

.panel-section { padding-top: 64px; padding-bottom: 64px; }
.panel { background: var(--white); border-radius: 4px; padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; gap: 40px; }
.panel-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.panel-head h2 { font-weight: 400; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; }
.panel-head p { color: var(--muted); max-width: 600px; }
.examples { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.example { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.example h3 { font-weight: 500; font-size: 20px; }
.example p { color: var(--muted); font-size: 17px; }
.note { font-size: 15px; color: var(--soft); text-align: center; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px 32px; }
.steps li { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.step-no { font-family: var(--heading); font-weight: 300; font-size: 44px; line-height: 1; color: var(--sage); }
.steps h3 { font-weight: 500; font-size: 21px; }
.steps p { color: var(--muted); font-size: 17px; }

/* About (dark) */
.about { background: var(--pine); color: #EEF1EE; margin-top: 64px; }
.about .wrap { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 104px; padding-bottom: 104px; }
.about h2, .about h3 { color: #EEF1EE; }
.about-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.about-intro h2 { font-weight: 300; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.15; }
.about-intro > p { color: #C9D4CF; }
.reasons { flex: 1 1 440px; list-style: none; margin: 0; padding: 0; }
.reasons li { padding: 18px 0; border-bottom: 1px solid #3A5850; }
.reasons li:last-child { border-bottom: none; }
.reasons h3 { font-weight: 500; font-size: 20px; margin-bottom: 2px; }
.reasons p { color: #C9D4CF; font-size: 17px; }

/* Contact */
.contact { max-width: 760px; margin: 0 auto; padding: 112px 24px; }
.contact-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 40px; }
.contact-head h2 { font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.contact-head p { color: var(--muted); }
.form { background: var(--white); border-radius: 4px; padding: clamp(24px, 5vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.row .field { flex: 1 1 220px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field textarea { min-height: 50px; padding: 12px 14px; border: 1px solid #B5C0BA; border-radius: 4px; background: #FBFBF9; font: inherit; color: var(--text); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; }
.form-note { font-size: 15px; color: var(--soft); text-align: center; }
.form-status { padding: 14px 16px; border-radius: 4px; background: var(--mist); color: var(--pine); text-align: center; }
.form-status[hidden] { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 15px; color: var(--soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--soft); }

/* Policy pages */
.policy { max-width: 720px; margin: 0 auto; padding: 72px 24px 112px; display: flex; flex-direction: column; gap: 20px; }
.policy h1 { font-weight: 400; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin-bottom: 12px; }
.policy h2 { font-weight: 500; font-size: 22px; margin-top: 16px; }
.policy p, .policy li { color: var(--muted); }
.policy ul { margin: 0; padding-left: 22px; }
.policy .updated { font-size: 15px; color: var(--soft); margin-top: 24px; }

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.65; }
  .wrap { padding-left: 20px; padding-right: 20px; }

  /* Header: logo + language on top, the four links in one even row below */
  html { scroll-padding-top: 108px; }
  .header-inner { position: relative; padding-top: 6px; padding-bottom: 0; gap: 0; }
  .logo { font-size: 24px; line-height: 44px; }
  .nav { width: 100%; justify-content: space-between; gap: 0 12px; font-size: 15px; border-top: 1px solid var(--line); }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav .lang { position: absolute; top: 6px; right: 20px; min-width: 44px; justify-content: flex-end; }

  /* Hero */
  .hero { padding-top: 40px; gap: 20px; }
  .slogan { font-size: 16px; gap: 12px; }
  .slogan::before, .slogan::after { display: none; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); letter-spacing: -0.5px; }
  .hero .lead { font-size: 17px; }
  .buttons { flex-direction: column; align-self: stretch; }
  .btn { width: 100%; padding: 0 20px; }
  .fjord { margin-top: 32px; }

  .stats .wrap { gap: 8px 32px; padding-top: 22px; padding-bottom: 22px; }

  /* Sections: less empty space between them */
  .section { padding-top: 64px; padding-bottom: 24px; }
  .section-title { margin-bottom: 32px; }
  .service { padding: 28px 0; }
  .service h3 { font-size: 22px; }

  .panel-section { padding-top: 40px; padding-bottom: 40px; }
  .panel { padding: 28px 20px; gap: 28px; }
  .examples { gap: 24px; }

  .steps { gap: 28px; }
  .step-no { font-size: 36px; }

  .about { margin-top: 40px; }
  .about .wrap { gap: 32px; padding-top: 64px; padding-bottom: 64px; }

  .contact { padding: 64px 20px; }
  .contact-head { margin-bottom: 28px; }
  .form { padding: 24px 20px; }

  .site-footer .wrap { flex-direction: column; align-items: center; text-align: center; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

  .policy { padding: 40px 20px 72px; }
}

/* Very small phones (e.g. iPhone SE 1st gen) */
@media (max-width: 360px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { font-size: 14px; gap: 0 6px; }
  .nav .lang { right: 16px; }
}
