/* ═══════════════════════════════════════════════════════════════
   GLOBAL STYLESHEET — Nordic Riser AB
   Elite Identity System — Quiet Luxury Edition
   ═══════════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Color Palette — Quiet Luxury */
  --navy:        #00234B;   /* Deep Nordic Navy */
  --blue:        #0a3567;   /* Navy Hover / Active */
  --blue-light:  #C9A96E;   /* Champagne Gold Accent */
  --gold:        #C9A96E;   /* Alias */
  --paper:       #F9F7F2;   /* Off-White Page Background */
  --sky:         #EEF2F9;   /* Muted Blue Tint (section alt) */
  --text:        #333333;   /* Charcoal Grey Body Text */
  --charcoal:    #333333;   /* Alias */
  --muted:       #6B7280;   /* Secondary Text */
  --border:      #E5E0D5;   /* Warm Divider */
  --white:       #ffffff;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Premium Easing */
  --ease-premium: cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 35, 75, 0.06);
  --shadow-md: 0 8px 28px rgba(0, 35, 75, 0.09);
  --shadow-lg: 0 20px 48px rgba(0, 35, 75, 0.12);
}

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

html { scroll-behavior: smooth; }

/* ── BASE ── */
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: 0.02em;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--navy);
  line-height: 1.35;
}

p { line-height: 1.75; }

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

/* ── NAVBAR — Glassmorphism ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 247, 242, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.22);
  transition: box-shadow 0.35s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(0, 35, 75, 0.09);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(201, 169, 110, 0.12);
}

.nav-links .btn-login {
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  letter-spacing: 0.07em;
  transition: background 0.35s var(--ease-premium),
              color 0.35s var(--ease-premium);
}

.nav-links .btn-login:hover {
  background: var(--navy);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 1.25rem;
  color: var(--navy);
  cursor: pointer;
}

/* ── SERVICES DROPDOWN ── */
.nav-links .has-dropdown {
  position: relative;
}
.nav-links .has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.6rem;
  vertical-align: middle;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(249, 247, 242, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 35, 75, 0.12);
  min-width: 210px;
  list-style: none;
  z-index: 200;
  padding: 0.4rem 0;
}
.nav-links .has-dropdown:hover .nav-dropdown {
  display: block;
}
.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown li a:hover {
  color: var(--navy);
  background: rgba(201, 169, 110, 0.10);
}

/* ── HERO / PAGE-HERO ── */
.hero,
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0a2d5e 55%, #1a4a8a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='rgba(201,169,110,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero         { padding: 8rem 2rem 7rem; text-align: center; }
.page-hero    { padding: 5.5rem 2rem 5rem; text-align: center; }

.hero-inner       { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.page-hero-inner  { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-label,
.page-hero-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero h1,
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.hero p,
.page-hero p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

/* ── SHARED SECTION STYLES ── */
.section         { padding: 6rem 2rem; }
.section-alt     { background: var(--sky); }
.section-dark    { background: var(--navy); }

.section-inner         { max-width: 1100px; margin: 0 auto; }
.section-inner-narrow  { max-width: 820px; margin: 0 auto; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-align: center;
}

.section-dark .section-label  { color: rgba(201, 169, 110, 0.65); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  letter-spacing: -0.3px;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-sub   { color: rgba(255,255,255,0.62); }

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 3.5rem;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.breadcrumb-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb a     { color: var(--gold); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── BUTTONS — Ghost Style ── */
.btn-primary,
.btn-cta {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.95rem 2.4rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease-premium),
              color 0.4s var(--ease-premium),
              transform 0.4s var(--ease-premium),
              box-shadow 0.4s var(--ease-premium);
  cursor: pointer;
}

.btn-primary:hover,
.btn-cta:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero variant — ghost on dark */
.hero .btn-primary {
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}

.hero .btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ── CARD TRANSITION BASE — all interactive cards ── */
.service-card,
.audience-card,
.approach-card,
.pillar,
.step,
.why-card,
.value-card,
.engagement-card,
.not-fit-card,
.trait-item,
.approach-item,
.group-card {
  transition: transform 0.4s var(--ease-premium),
              box-shadow 0.4s var(--ease-premium),
              border-color 0.4s var(--ease-premium),
              background 0.4s ease;
}

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 7rem 2rem;
  background: var(--paper);
}

.cta-box { max-width: 640px; margin: 0 auto; }

.cta-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2.75rem;
  line-height: 1.85;
}

.contact-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.contact-item { text-align: center; }

.contact-item span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--blue); }

/* ── FOOTER — Multi-column Premium ── */
.footer {
  background: #080f1e;
  color: #94a3b8;
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 1.1rem;
  letter-spacing: 0.3px;
}

.footer-brand .footer-logo span { color: var(--gold); }

.footer-brand > p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
}

.footer-address {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.9;
}

.footer-address strong {
  color: #94a3b8;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.footer-address a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-address a:hover { color: #94a3b8; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.75);
  margin-bottom: 1.35rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: #94a3b8; }

.footer-disclaimer-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 169, 110, 0.14);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
}

.footer-disclaimer-box strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.7);
  margin-bottom: 0.65rem;
}

.footer-disclaimer-box p {
  font-size: 0.8rem;
  color: #5a6880;
  line-height: 1.8;
  letter-spacing: 0.01em;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: #475569;
  letter-spacing: 0.01em;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #94a3b8; }

/* ── FADE-IN ANIMATION ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-premium),
              transform 0.75s var(--ease-premium);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(249, 247, 242, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    border-top: 2px solid var(--gold);
    box-shadow: 0 8px 32px rgba(0, 35, 75, 0.14);
    z-index: 99;
  }

  .nav-links.open { display: flex; }
  .nav-links li   { border-bottom: 1px solid var(--border); }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
    border-radius: 0;
  }

  .nav-links .btn-login {
    margin: 0.75rem 1rem;
    border-radius: 4px;
    text-align: center;
    border: 1.5px solid var(--navy);
  }

  /* Dropdown becomes inline in mobile menu */
  .nav-dropdown {
    display: block;
    position: static;
    background: rgba(0, 35, 75, 0.04);
    border: none;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
  }
  .nav-dropdown li { border-bottom: 1px solid var(--border); }
  .nav-dropdown li a { padding-left: 2.5rem; }
  .nav-links .has-dropdown > a::after { content: ''; }

  .mobile-toggle { display: block; }

  .section       { padding: 4rem 1.25rem; }
  .hero          { padding: 5.5rem 1.25rem 4.5rem; }
  .page-hero     { padding: 4rem 1.25rem 3.5rem; }
  .cta-section   { padding: 5rem 1.25rem; }

  .footer-main         { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .footer-bottom       { padding: 1.25rem; flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}
