/* ============================================================
   STATISTISKA KONSULTGRUPPEN – MAIN STYLESHEET
   Design Direction: Nordic Precision (Light)

   Palette:
     Background    #F7F5F0  near-white, warm
     Alternate bg  #EFECEA  slightly warmer/darker
     Primary text  #0B2258  deep navy
     Accent        #00AACE  cyan — used sparingly on hover,
                            active nav, borders
   Fonts:
     Display  Fraunces (optical-size serif, light weight)
     Body     Libre Baskerville (classical, academic)
   Motif:
     Ruled horizontal lines, generous whitespace,
     large asymmetric type, crisp border rules
   ============================================================ */

/* 1. Variables & Reset
   2. Typography
   3. Layout & Utilities
   4. Navigation
   5. Hero Section
   6. Buttons
   7. Section Styles
   8. Service Cards
   9. Article Carousel
   10. Team Grid
   11. Clients Section
   12. Contact Page
   13. Footer
   14. Resource Tabs & FAQ
   15. Responsive
*/

/* ===== 1. VARIABLES & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Nordic Precision Palette */
  --bg:              #F7F5F0;
  --bg-alt:          #EFECEA;
  --bg-white:        #FFFFFF;

  --navy:            #0B2258;
  --navy-mid:        #1A3570;
  --navy-light:      #2D4F8A;
  --navy-pale:       rgba(11,34,88,0.06);

  --cyan:            #00AACE;
  --cyan-dim:        #0090AD;
  --cyan-pale:       rgba(0,170,206,0.09);
  --cyan-border:     rgba(0,170,206,0.4);

  /* Semantic aliases used in inline styles across HTML */
  --primary-dark:    #0B2258;
  --primary:         #00AACE;
  --primary-pale:    rgba(0,170,206,0.09);
  --text-dark:       #0B2258;
  --text-light:      rgba(11,34,88,0.6);

  --text:            #0B2258;
  --text-muted:      rgba(11,34,88,0.68);
  --text-faint:      rgba(11,34,88,0.4);
  --text-warm:       #0B2258;   /* legacy alias for dark-theme classes */

  --border:          rgba(11,34,88,0.1);
  --border-subtle:   rgba(11,34,88,0.1);   /* legacy alias */
  --border-strong:   rgba(11,34,88,0.22);
  --border-cyan:     rgba(0,170,206,0.35); /* legacy alias */
  --border-radius:    6px;
  --border-radius-lg: 10px;

  --shadow-sm:  0 1px 8px  rgba(11,34,88,0.07);
  --shadow-md:  0 4px 24px rgba(11,34,88,0.1);
  --shadow-lg:  0 8px 48px rgba(11,34,88,0.14);
  --shadow-cyan: 0 0 24px rgba(0,170,206,0.15); /* legacy */

  --transition: all 0.26s ease;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Libre Baskerville', Georgia, serif;

}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ===== 2. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 1.01rem;
}
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--cyan); }

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  background: var(--navy-pale);
  color: var(--navy);
  padding: 0.1em 0.42em;
  border-radius: 3px;
  border: 1px solid var(--border);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== 3. LAYOUT & UTILITIES ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

section {
  padding: 5.5rem 0;
  position: relative;
}

section:not(.section-alt):not(.hero):not(.cta-banner):not(.carousel-section):not(.page-hero) {
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

/* Thin rule between every sibling section */
section + section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 1rem;
  border-bottom: 1.5px solid var(--cyan);
  padding-bottom: 0.25rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Standalone eyebrow (non-centered) */
span.eyebrow,
p.section-header span.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 1rem;
  border-bottom: 1.5px solid var(--cyan);
  padding-bottom: 0.25rem;
  border-radius: 0;
  background: none;
  padding-left: 0;
  padding-right: 0;
}

.divider {
  width: 48px;
  height: 1.5px;
  background: var(--navy);
  margin: 1rem 0 1.5rem;
  opacity: 0.22;
}
.divider-center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.text-primary { color: var(--cyan) !important; }

/* Axis-rule decoration */
.axis-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2.5rem;
  opacity: 0.22;
}
.axis-rule::before,
.axis-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--navy);
}
.axis-rule span {
  font-size: 0.65rem;
  color: var(--navy);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
  white-space: nowrap;
}

/* ===== 4. NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,245,240,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(11,34,88,0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.navbar-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  /* No background box needed on light theme */
}
.navbar-logo img {
  height: 46px;
  width: auto;
  mix-blend-mode: multiply;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar-menu a {
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 0.01em;
  position: relative;
  border-radius: 0;
  background: none;
}
/* Underline slide-in on hover/active */
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.9rem;
  right: 0.9rem;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.22s ease;
  transform-origin: left center;
}
.navbar-menu a:hover {
  color: var(--navy);
  background: none;
}
.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  transform: scaleX(1);
}
.navbar-menu a.active {
  color: var(--navy);
  background: none;
}

.navbar-lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 1.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--text-faint);
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.07em;
}
.lang-btn:hover,
.lang-btn.active {
  color: var(--cyan);
  background: none;
}
.lang-btn .flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
}
.flag-se {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13'%3E%3Crect width='20' height='13' fill='%23006AA7'/%3E%3Crect x='5' width='3' height='13' fill='%23FECC02'/%3E%3Crect y='5' width='20' height='3' fill='%23FECC02'/%3E%3C/svg%3E");
}
.flag-gb {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  margin-left: 0.75rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 0;
}

/* ===== 5. HERO ===== */
.hero {
  background-color: var(--bg);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* Bold top rule — Nordic anchor line */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy);
}

.hero-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.hero-text {
  animation: fadeUp 0.7s ease both;
}

.hero-text .hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  padding-bottom: 0.28rem;
  margin-bottom: 1.5rem;
  /* No pulsing dot, no pill shape — clean ruled line motif */
}
/* Remove the pulsing dot pseudo-element from the hero eyebrow */
.hero-text .hero-eyebrow::before { display: none; }

.hero-text h1 {
  color: var(--navy);
  font-size: clamp(2.7rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.07;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.7s 0.08s ease both;
}
.hero-text h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--cyan);
}
.hero-text p {
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.85;
  margin-bottom: 1rem;
  animation: fadeUp 0.7s 0.16s ease both;
}
.hero-text .cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeUp 0.7s 0.24s ease both;
}

.hero-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.9s 0.3s ease both;
  position: relative;
}
/* L-bracket corner decorations — Nordic precision motif */
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 52px;
  height: 52px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  pointer-events: none;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 52px;
  height: 52px;
  border-bottom: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
  pointer-events: none;
  opacity: 0.28;
}

.hero-group-photo {
  width: 100%;
  max-width: 530px;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  display: block;
  transition: transform 0.5s ease;
}
.hero-group-photo:hover {
  transform: scale(1.015);
}

/* ── PULSE removed — replaced with ::before display:none above ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Page hero (sub-pages) */
.page-hero {
  background-color: var(--bg-alt);
  padding: 4.5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy);
}
.page-hero h1 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0;
}
.breadcrumb {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: 0.4; }

/* ===== 6. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.03em;
}

/* Primary: deep navy */
.btn-primary {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(11,34,88,0.2);
}

/* Outline white → outline navy (hero context) */
.btn-outline-white {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,34,88,0.28);
}
.btn-outline-white:hover {
  background: var(--navy-pale);
  border-color: var(--navy);
  color: var(--navy);
}

/* Blue solid → navy */
.btn-blue {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--navy);
}
.btn-blue:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  background: var(--navy-pale);
  border-color: var(--navy);
  color: var(--navy);
}

/* CTA banner overrides for buttons (on dark navy background) */
.cta-banner .btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}
.cta-banner .btn-primary:hover {
  background: #33BFDB;
  border-color: #33BFDB;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0,170,206,0.3);
}

/* ===== 7. SECTION STYLES ===== */

/* Two-column intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-text h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.specialty-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.specialty-tag {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  transition: var(--transition);
}
.specialty-tag:hover {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--navy);
}

/* CTA Banner */
.cta-banner {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}
.cta-banner h2 {
  color: var(--bg);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(247,245,240,0.7);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* ===== 8. SERVICE CARDS (home overview) ===== */
.services-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1px;
  border: 1px solid var(--border-strong);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--border-strong);
}
.service-card-small {
  background: var(--bg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.22s ease;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: visible;
}
/* Bottom cyan rule slides in on hover */
.service-card-small::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.24s ease;
  transform-origin: left center;
}
.service-card-small:hover {
  background: var(--bg-alt);
}
.service-card-small:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  background: var(--navy-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
  border: none;
}
.service-card-small:hover .service-icon {
  background: var(--cyan-pale);
}

/* Re-colour SVGs to navy */
.service-card-small svg path,
.service-card-small svg ellipse,
.service-card-small svg polyline {
  stroke: var(--navy);
}
.service-card-small svg circle { fill: var(--navy); }
.service-card-small svg rect[fill] { fill: var(--navy); }

.service-card-small h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.service-card-small p {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin: 0;
  line-height: 1.55;
}

/* Service detail (Tjänster page) */
.service-detail-section { padding: 5rem 0; }
.service-detail-section:nth-child(even) {
  background-color: var(--bg-alt);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.service-detail-icon {
  width: 64px;
  height: 64px;
  background: var(--navy-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border: none;
}
.service-detail h2 { color: var(--navy); margin-bottom: 1rem; }

.service-bullets { margin-top: 1.5rem; }
.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
  font-size: 0.97rem;
}
.service-bullets li:last-child { border-bottom: none; }
.service-bullets li .bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 0.56rem;
  flex-shrink: 0;
}

.service-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.service-visual-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  width: 100%;
}
.service-visual-box .visual-icon { font-size: 5rem; margin-bottom: 1rem; }
.service-visual-box p {
  font-size: 0.9rem;
  color: var(--text-faint);
  font-style: italic;
  margin: 0;
}

.service-visual-img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 380px;
}
.service-visual-img img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  filter: brightness(0.96) saturate(0.85);
}

/* ===== 9. ARTICLE CAROUSEL ===== */
.carousel-section {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.carousel-wrapper {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.carousel-track { overflow: hidden; border-radius: var(--border-radius-lg); }

.carousel-slide { display: none; }
.carousel-slide.active {
  display: block;
  animation: slideIn 0.4s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.article-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}

.article-journal-panel {
  background: var(--navy-pale);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 2rem;
}
.article-journal-panel img {
  width: 220px;
  height: 90px;
  object-fit: contain;
  transition: var(--transition);
}
.journal-name-fallback {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

.article-body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  flex: 1;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.45;
}
.article-read-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.article-read-link:hover { color: var(--cyan-dim); gap: 0.7rem; }
.article-read-link .arrow { font-size: 1rem; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg);
}

.carousel-dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--navy);
  border-color: var(--navy);
  width: 22px;
  border-radius: 3px;
  box-shadow: none;
}

.carousel-counter {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-faint);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ===== 10. TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.25rem;
  margin-top: 2.5rem;
}
.team-member { text-align: center; }
.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  overflow: hidden;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.team-photo:hover {
  border-color: var(--cyan);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  font-size: 3rem;
  color: var(--navy);
  opacity: 0.18;
  line-height: 1;
}
.team-member h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.3rem;
  text-transform: none;
  letter-spacing: 0;
}
.team-member .team-email {
  font-size: 0.79rem;
  color: var(--cyan);
  font-family: var(--font-body);
}
.team-member .team-email:hover { text-decoration: underline; }

/* Jobba hos oss */
.job-section {
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--navy);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin-top: 4.5rem;
}
.job-section h2 { color: var(--navy); margin-bottom: 1rem; }

/* ===== 11. CLIENTS SECTION ===== */
.clients-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2rem;
}
.client-tag {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.45rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
  transition: var(--transition);
  white-space: nowrap;
}
.client-tag:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-pale);
}

/* Client logo grid */
.client-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.client-logo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: background 0.2s ease;
  min-height: 90px;
  width: 155px;
  flex: 0 0 155px;
}
.client-logo-card:hover {
  background: var(--bg-alt);
}
.client-logo-card img {
  display: block;
  max-height: 52px;
  max-width: 110px;
  object-fit: contain;
  transition: var(--transition);
}
.client-logo-card span {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.journals-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.journal-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.2s ease;
  width: 160px;
  flex: 0 0 160px;
}
.journal-badge:hover {
  background: var(--bg-alt);
}
.journal-badge img {
  display: block;
  max-height: 52px;
  max-width: 110px;
  object-fit: contain;
  transition: var(--transition);
}
.journal-badge span {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-faint);
  line-height: 1.35;
  text-align: center;
}

/* ===== 12. CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block:last-of-type { margin-bottom: 0; }
.contact-info-block .label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 0.55rem;
  display: inline-block;
  border-bottom: 1.5px solid var(--cyan);
  padding-bottom: 0.22rem;
}
.contact-info-block p,
.contact-info-block a {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.contact-info-block a:hover { color: var(--cyan); }

.contact-map-wrap {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
.contact-map-wrap iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
  filter: saturate(0.7) brightness(1.05);
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--navy-pale);
  color: var(--navy);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--navy);
}
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* Contact form */
.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--navy);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--border-radius);
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0,170,206,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option {
  background: var(--bg-white);
  color: var(--navy);
}

/* ===== 13. FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  border-top: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247,245,240,0.1);
  margin-bottom: 2rem;
}
.footer-brand img {
  height: 42px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.75);
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(247,245,240,0.48);
  line-height: 1.7;
  margin: 0;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(247,245,240,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(247,245,240,0.62);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-contact-item {
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  color: rgba(247,245,240,0.62);
}
.footer-contact-item a { color: rgba(247,245,240,0.62); }
.footer-contact-item a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(247,245,240,0.32);
  margin: 0;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(247,245,240,0.06);
  border: 1px solid rgba(247,245,240,0.12);
  color: rgba(247,245,240,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ===== 14. RESOURCE TABS & FAQ ACCORDION ===== */
.resource-tabs-nav {
  background: rgba(247,245,240,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 90;
}

.resource-tabs-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  gap: 0;
}

.resource-tab-btn {
  padding: 1rem 1.5rem 1rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-faint);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.resource-tab-btn:hover  { color: var(--navy); }
.resource-tab-btn.active { color: var(--navy); border-bottom-color: var(--cyan); }
.resource-tab-btn svg    { width: 15px; height: 15px; flex-shrink: 0; }

/* Tab panels */
.resource-tab-panel         { display: none; }
.resource-tab-panel.active  { display: block; }

/* FAQ intro */
.faq-intro {
  padding: 3.5rem 0 1.5rem;
}
.faq-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
.faq-contact-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.01rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.85;
}
.faq-contact-note a { font-weight: 700; text-decoration: underline; color: var(--navy); }

/* FAQ categories */
.faq-section  { padding: 1.5rem 0 5rem; }
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
.faq-category { margin-bottom: 2.5rem; }

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-strong);
}
.faq-category-icon {
  width: 28px;
  height: 28px;
  background: var(--navy-pale);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.faq-category-icon svg { width: 14px; height: 14px; }
.faq-category-header h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
}

/* Accordion items */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}
.faq-item.open {
  border-color: var(--border-strong);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  transition: color 0.2s ease;
  line-height: 1.45;
}
.faq-question:hover            { color: var(--cyan); background: transparent; }
.faq-item.open .faq-question   { color: var(--cyan); background: transparent; }

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  transition: transform 0.25s ease, color 0.2s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--cyan); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq-answer-inner {
  padding: 0 0.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { max-height: 900px; }

/* ===== 15. RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-text .cta-group { justify-content: center; }
  .hero-text { animation: none; }
  .hero-text h1 { animation: none; }
  .hero-text p { animation: none; }
  .hero-text .cta-group { animation: none; }
  .hero-photo-wrap { animation: none; }
  .hero-photo-wrap::before,
  .hero-photo-wrap::after { display: none; }

  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .specialty-list { justify-content: center; }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-visual { order: -1; }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }

  .navbar-logo img { height: 40px; }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(247,245,240,0.99);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
    gap: 0;
    z-index: 999;
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu a {
    width: 100%;
    padding: 0.9rem 0.5rem;
    font-size: 0.975rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .navbar-menu a::after { display: none; }
  .navbar-lang {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
  }
  .nav-toggle { display: flex; }

  .services-overview { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .job-section { padding: 2rem; }
}

@media (max-width: 480px) {
  .services-overview { grid-template-columns: 1fr; }
  .hero-text .cta-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-text .cta-group .btn { width: auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
