/* ─────────────────────────────────────────────────────────────────── */
/* Giscom AB – Corporate Website                                       */
/* ─────────────────────────────────────────────────────────────────── */

:root {
  --deep-navy:   #1C2B4A;
  --warm-gold:   #B89C6E;
  --off-white:   #F7F6F3;
  --surface:     #FFFFFF;
  --ink:         #1A1A1A;
  --muted:       #7A7A7A;
  --rule:        #B89C6E;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: #B89C6E;
  background-image: none;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ────────────────── CARD SHELL ─────────────────────── */

.card {
  width: 90%;
  max-width: 960px;
  min-height: 520px;
  background: var(--surface);
  border-radius: 4px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.65),
    0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  overflow: hidden;
}

/* ────────────────── SIDEBAR (LEFT) ─────────────────────── */

.sidebar {
  width: 34%;
  background: var(--deep-navy);
  color: #fff;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
}

.sidebar::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--warm-gold);
}

/* Logo */
.sidebar__logo {
  width: 100%;
  max-width: 200px;
}

.sidebar__logo svg {
  width: 100%;
  height: auto;
}

/* Tagline */
.sidebar__tagline {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Navigation */
.sidebar__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-left: 0;
}

.sidebar__nav-item {
  position: relative;
  padding-left: 1.8rem;
}

.sidebar__nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--warm-gold);
  border-radius: 50%;
}

.sidebar__nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  display: block;
}

.sidebar__nav-link:hover,
.sidebar__nav-link.active {
  opacity: 1;
}

/* ────────────────── MAIN CONTENT (RIGHT) ─────────────────────── */

.main {
  width: 66%;
  background: var(--off-white);
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

/* ─────── Page Titles & Subtitles ─────── */

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

/* ─────── Body Text ─────── */

.text-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
}

.text-body p + p {
  margin-top: 1.2rem;
}

.intro-highlight {
  color: var(--warm-gold);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.8;
}

.text-muted {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
}

/* ─────── Contact Section ─────── */

.contact-group {
  margin-bottom: 1.5rem;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 0.35rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}

/* ─────── Rules ─────── */

/* ─────── CTA Button ─────── */

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-navy);
  border: 1.5px solid var(--deep-navy);
  padding: 0.7rem 1.4rem;
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: 0.5rem;
}

.cta-link:hover {
  background: var(--deep-navy);
  color: #fff;
}

.cta-link::after {
  content: ' →';
}

/* ────────────────── RESPONSIVE ─────────────────────── */

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    width: 95%;
    max-width: 100%;
    min-height: auto;
  }

  .sidebar {
    width: 100%;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 2px solid var(--warm-gold);
  }

  .sidebar::after {
    display: none;
  }

  .main {
    width: 100%;
    padding: 2rem;
    max-height: none;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .sidebar__logo {
    max-width: 150px;
  }

  .sidebar__tagline {
    font-size: 1.25rem;
  }

  .sidebar__nav {
    gap: 0.8rem;
  }

  .sidebar__nav-link {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .card {
    width: 98%;
  }

  .sidebar {
    padding: 1.5rem;
    gap: 1.2rem;
  }

  .main {
    padding: 1.5rem;
  }

  .page-title {
    font-size: 1.4rem;
  }

  .contact-group {
    margin-bottom: 1rem;
  }

}

/* ────────────────── UTILITY ─────────────────────── */

/* ───── Privacy / Cookie banner ───── */
.privacy-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 43, 74, 0.96);
  color: #fff;
  padding: 0.8rem 0.6rem;
  z-index: 9999;
}
.privacy-banner__inner {
  width: 90%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.privacy-banner__message {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0.98;
}
.privacy-banner__message a {
  color: #fff;
  text-decoration: underline;
}
.privacy-banner__actions { display: flex; gap: 0.6rem; align-items: center; }
.privacy-banner__btn {
  background: var(--warm-gold);
  color: var(--deep-navy);
  border: none;
  padding: 0.45rem 0.8rem;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
}
.privacy-banner__btn--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.privacy-banner--hidden { display: none !important; }
