/* =====================================================
   Globala Juridik Gruppen AB — Design System (Vanilla CSS)
   Deep navy + brass gold, editorial serif display.
   ===================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Karla:wght@300;400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --radius: 0.25rem;

  /* ── Image palette: deep pure navy + classic brass gold ── */
  --navy-deep:  #0d1b36;          /* very deep navy (section bg, header) */
  --navy:       #152444;          /* slightly lighter navy (card bg)       */
  --navy-soft:  #1e3060;          /* muted navy (hover/subtle accents)     */
  --gold:       #c9a84c;          /* warm classic brass gold               */
  --gold-soft:  #dfc27a;          /* lighter gold for hover/highlights     */
  --cream:      #f5f0e8;          /* warm off-white for body text          */

  --background:         #0d1b36;
  --foreground:         #f5f0e8;
  --card:               #152444;
  --card-foreground:    #f5f0e8;
  --muted:              #1e3060;
  --muted-foreground:   #9aaccf;
  --border:             rgba(201, 168, 76, 0.22);
  --input:              rgba(201, 168, 76, 0.28);
  --ring:               rgba(201, 168, 76, 0.60);

  --gradient-gold: linear-gradient(
    90deg,
    transparent,
    #c9a84c 45%,
    #dfc27a 55%,
    transparent
  );
  --shadow-elegant: 0 24px 60px -30px rgba(0, 0, 0, 0.75);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Karla', ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

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

ul {
  list-style: none;
}

/* ---------- Utilities ---------- */

/* rule-gold */
.rule-gold {
  height: 1px;
  background-image: var(--gradient-gold);
}

/* eyebrow */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* surface-card */
.surface-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.surface-card:hover {
  border-color: rgba(201, 168, 76, 0.55);
  transform: translateY(-3px);
}

/* btn-gold */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--navy-deep);
  padding: 0.8rem 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: background-color 0.25s ease;
}

.btn-gold:hover {
  background-color: var(--gold-soft);
}

/* btn-ghost-gold */
.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.8rem 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-ghost-gold:hover {
  background-color: var(--gold);
  color: var(--navy-deep);
}

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

/* ---------- Layout Helpers ---------- */
.container {
  max-width: 72rem; /* ~1152px / max-w-6xl */
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.min-h-screen { min-height: 100vh; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-14 { gap: 3.5rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.block { display: block; }
.shrink-0 { flex-shrink: 0; }

/* Grid utilities */
.grid { display: grid; }

/* Spacing */
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mx-auto { margin-inline: auto; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Padding */
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.py-2 { padding-block: 0.5rem; }
.py-4 { padding-block: 1rem; }
.py-5 { padding-block: 1.25rem; }
.py-14 { padding-block: 3.5rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.py-28 { padding-block: 7rem; }
.pt-8  { padding-top: 2rem; }

/* Width */
.w-16  { width: 4rem; }
.w-20  { width: 5rem; }
.w-24  { width: 6rem; }
.w-40  { width: 10rem; }
.w-56  { width: 14rem; }
.h-9   { height: 2.25rem; }
.w-9   { width: 2.25rem; }
.h-5   { height: 1.25rem; }
.w-5   { width: 1.25rem; }
.h-10  { height: 2.5rem; }
.w-10  { width: 2.5rem; }
.h-1\.5 { height: 0.375rem; }
.w-1\.5 { width: 0.375rem; }

/* Max-width */
.max-w-xs  { max-width: 20rem; }
.max-w-md  { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }

/* ---------- Typography ---------- */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }
.text-7xl  { font-size: 4.5rem; }

.font-display { font-family: var(--font-display); }
.font-sans    { font-family: var(--font-sans); }
.font-medium  { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold    { font-weight: 700; }
.leading-none   { line-height: 1; }
.leading-tight  { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-wide   { letter-spacing: 0.025em; }

.text-gold       { color: var(--gold); }
.text-gold-soft  { color: var(--gold-soft); }
.text-cream      { color: var(--cream); }
.text-cream-75   { color: rgba(245, 240, 232, 0.75); }
.text-cream-70   { color: rgba(245, 240, 232, 0.70); }
.text-cream-65   { color: rgba(245, 240, 232, 0.65); }
.text-cream-55   { color: rgba(245, 240, 232, 0.55); }
.text-cream-50   { color: rgba(245, 240, 232, 0.50); }
.text-cream-45   { color: rgba(245, 240, 232, 0.45); }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }

.uppercase { text-transform: uppercase; }
.italic    { font-style: italic; }

/* ---------- Background colors ---------- */
.bg-background { background-color: var(--background); }
.bg-navy       { background-color: var(--navy); }
.bg-navy-deep  { background-color: var(--navy-deep); }
.bg-gold       { background-color: var(--gold); }

/* ---------- Border ---------- */
.border   { border-width: 1px; border-style: solid; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.border-gold   { border-color: var(--gold); }
.border-input  { border-color: var(--input); }

/* ---------- Overflow / Position ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.top-0    { top: 0; }
.inset-0  { inset: 0; }
.z-50     { z-index: 50; }
.isolate  { isolation: isolate; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

/* ---------- Opacity helpers ---------- */
.opacity-35 { opacity: 0.35; }

/* ---------- Transitions ---------- */
.transition-colors {
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* hover helpers */
.hover\:text-gold:hover { color: var(--gold); }
.hover\:border-gold:hover { border-color: var(--gold); }

/* ---------- Site-wide Layout ---------- */
#site-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1;
}

/* =====================================================
   HEADER
   ===================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgba(13, 27, 54, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  padding-block: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 3rem;        /* header size */
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img--footer {
  height: 4rem;        /* slightly bigger in footer */
  width: auto;
  display: block;
  object-fit: contain;
}

/* hide old text spans if any stray through */
.logo-text,
.logo-name,
.logo-name-2,
.logo-sub {
  display: none;
}


/* Desktop nav */
#desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
}

#desktop-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.75);
  transition: color 0.2s ease;
}

#desktop-nav a:hover,
#desktop-nav a.active {
  color: var(--gold);
}

/* Hamburger button */
#menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border: 1px solid var(--border);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}

/* Mobile nav */
#mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--navy);
  padding: 1rem 1.25rem;
}

#mobile-nav.open {
  display: block;
}

#mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#mobile-nav a {
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.80);
  transition: color 0.2s ease;
}

#mobile-nav a:hover,
#mobile-nav a.active {
  color: var(--gold);
}

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--navy-deep);
}

.footer-grid {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  padding-block: 3.5rem;
  display: grid;
  gap: 2.5rem;
}

.footer-grid h3 {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-grid ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.75);
}

.footer-grid ul a {
  transition: color 0.2s ease;
}

.footer-grid ul a:hover {
  color: var(--gold);
}

.footer-tagline {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.65);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.45);
  text-transform: uppercase;
}

.footer-company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.35);
  text-transform: uppercase;
}

/* Social links */
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.65);
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--gold);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}


/* =====================================================
   HERO SECTION (index)
   ===================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 27, 54, 0.70);
}

.hero-content {
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
  padding-block: 7rem;
}

.hero-content h1 {
  margin-top: 1.25rem;
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.25;
  color: var(--cream);
}

.hero-tagline {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-soft);
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-meta {
  margin-top: 3.5rem;
  display: grid;
  max-width: 48rem;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.hero-meta a {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  transition: color 0.2s ease;
}

.hero-meta a:hover {
  color: var(--gold);
}

/* =====================================================
   SECTIONS — GENERAL
   ===================================================== */
.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-navy-deep {
  border-top: 1px solid var(--border);
  background-color: var(--navy-deep);
  padding-block: 5rem;
}

.section-navy {
  border-top: 1px solid var(--border);
  background-color: var(--navy);
  padding-block: 5rem;
}

/* Areas/services grid */
.areas-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.area-card {
  display: block;
  padding: 1.75rem;
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.area-card p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.70);
}

/* About / feature cards */
.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}

.feature-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.70);
}

/* About section two-col */
.about-grid {
  display: grid;
  gap: 3.5rem;
}

.about-text h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--cream);
}

.about-text p {
  margin-top: 1.5rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.75);
}

.about-text p + p {
  margin-top: 1rem;
}

/* Staff cards */
.staff-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.staff-card {
  padding: 2rem;
}

.staff-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
}

.staff-card .staff-role {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.staff-card .staff-contact {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.70);
}

.staff-card .staff-contact a {
  transition: color 0.2s ease;
}

.staff-card .staff-contact a:hover {
  color: var(--gold);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-grid {
  display: grid;
  gap: 3.5rem;
}

.contact-intro h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--cream);
}

.contact-intro p {
  margin-top: 1.5rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.75);
}

/* Contact Form */
.contact-form-wrap {
  padding: 2rem;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-label {
  display: block;
}

.form-label .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

.form-field {
  width: 100%;
  border: 1px solid var(--input);
  background-color: var(--navy-deep);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--cream);
  outline: none;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease;
}

.form-field::placeholder {
  color: rgba(245, 240, 232, 0.40);
}

.form-field:focus {
  border-color: var(--gold);
}

textarea.form-field {
  resize: vertical;
}

#word-counter {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.50);
}

#form-sent {
  display: none;
  font-size: 0.875rem;
  color: var(--gold);
}

/* =====================================================
   STAFF PHOTO CARDS (Våra medarbetare)
   ===================================================== */
.staff-photo-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

.staff-photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: default;
}

.staff-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px -20px rgba(0,0,0,0.85);
  border-color: rgba(201, 168, 76, 0.55);
}

.staff-photo-card__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.staff-photo-card:hover .staff-photo-card__img {
  transform: scale(1.04);
}

.staff-photo-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.75rem 1.75rem;
  background: linear-gradient(
    to top,
    rgba(13, 27, 54, 0.97) 0%,
    rgba(13, 27, 54, 0.80) 55%,
    transparent 100%
  );
}

.staff-photo-card__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
}

.staff-photo-card__role {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.staff-photo-card__rule {
  margin-top: 0.75rem;
  height: 1px;
  width: 3.5rem;
  background-image: var(--gradient-gold);
}

.staff-photo-card__contact {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.75);
}

.staff-photo-card__contact a {
  transition: color 0.2s ease;
}

.staff-photo-card__contact a:hover {
  color: var(--gold);
}

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.review-card {
  padding: 2rem;
}

.review-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.90);
}

.review-card footer {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

/* =====================================================
   PAGE HERO (arbetsomrade)
   ===================================================== */
.page-hero {
  border-bottom: 1px solid var(--border);
  background-color: var(--navy);
  padding-block: 5rem;
  text-align: center;
}

.page-hero h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--cream);
}

.page-hero .rule-gold {
  margin-inline: auto;
  margin-top: 1.5rem;
  width: 10rem;
}

.page-hero .hero-desc {
  margin-inline: auto;
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.70);
}

/* =====================================================
   AREAS PAGE — anchor nav
   ===================================================== */
.area-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.area-anchor-nav a {
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: rgba(245, 240, 232, 0.75);
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.area-anchor-nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Area article cards */
.area-article {
  scroll-margin-top: 7rem;
  padding: 2rem;
}

.area-article h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--gold);
}

.area-article .rule-gold {
  margin-top: 1rem;
  width: 6rem;
}

.area-article .area-intro {
  margin-top: 1.25rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.75);
}

.area-article ul {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.area-article ul li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.70);
}

.area-bullet {
  margin-top: 0.5rem;
  height: 0.375rem;
  width: 0.375rem;
  flex-shrink: 0;
  background-color: var(--gold);
}

/* =====================================================
   BILINGUAL SERVICES GRID
   ===================================================== */
.bilingual-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.bilingual-card {
  padding: 1.75rem;
}

.bilingual-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}

.bilingual-card .sv-text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.75);
}

.bilingual-card .en-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 240, 232, 0.55);
  font-style: italic;
}

/* =====================================================
   404 / Error page
   ===================================================== */
.error-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  padding-inline: 1rem;
}

.error-page-inner {
  max-width: 28rem;
  text-align: center;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--gold);
}

.error-page h2 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.error-page p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (min-width: 640px) {
  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .bilingual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  #desktop-nav {
    display: flex;
  }

  #menu-btn {
    display: none;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }

  .staff-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }

  .hero-content {
    padding-block: 9rem;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.faq-btn:hover {
  color: var(--gold);
}

.faq-btn[aria-expanded="true"] {
  color: var(--gold);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  transition: transform 0.3s ease, border-color 0.2s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  border-color: rgba(201, 168, 76, 0.55);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 1.4rem;
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.faq-answer-inner ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 1rem;
  list-style: none;
}

.faq-answer-inner ul li::before {
  content: "◇";
  color: var(--gold);
  font-size: 0.65rem;
  margin-right: 0.6rem;
  vertical-align: middle;
}

.faq-answer-inner strong {
  color: var(--gold-soft);
}

/* FAQ category label */
.faq-category {
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-sans);
}

.faq-category:first-of-type {
  margin-top: 0;
}

/* CTA box inside FAQ page */
.faq-cta {
  margin-top: 4rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  text-align: center;
  background-color: var(--navy);
}

.faq-cta h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--cream);
}

.faq-cta p {
  margin-top: 0.75rem;
  color: rgba(245, 240, 232, 0.75);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.625;
}

.faq-cta .faq-cta-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* =====================================================
   ABOUT PAGE — Mission & Values
   ===================================================== */
.about-mission-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-mission-lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-soft);
  line-height: 1.5;
  font-style: italic;
}

.about-mission-body {
  margin-top: 1.25rem;
  color: rgba(245, 240, 232, 0.78);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.about-mission-body p + p {
  margin-top: 1rem;
}

.values-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.value-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-4px);
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  font-weight: 600;
}

.value-card__body {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.65;
}

/* stat strip */
.about-stats {
  display: grid;
  gap: 2rem;
  text-align: center;
  margin-top: 3.5rem;
}

.about-stat__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}

.about-stat__label {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}

/* Clickable staff card — wraps staff-photo-card */
.staff-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.staff-card-link:hover .staff-photo-card {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px -20px rgba(0,0,0,0.85);
  border-color: rgba(201, 168, 76, 0.55);
}

.staff-card-link:hover .staff-photo-card__img {
  transform: scale(1.04);
}

.staff-card-link .staff-photo-card:hover {
  transform: none; /* handled by link */
}

/* "view profile" label */
.staff-view-profile {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* =====================================================
   TEAM PROFILE PAGE
   ===================================================== */
.profile-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.profile-sidebar {
  /* sticky only on desktop — see breakpoint below */
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid var(--border);
}

.profile-contact-box {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--navy);
}

.profile-contact-box h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.profile-contact-box ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.profile-contact-box a {
  font-size: 0.875rem;
  color: var(--cream);
  transition: color 0.2s;
}

.profile-contact-box a:hover {
  color: var(--gold);
}

/* profile bio area */
.profile-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--cream);
  line-height: 1.1;
}

.profile-role {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.profile-bio {
  margin-top: 2rem;
  color: rgba(245, 240, 232, 0.78);
  line-height: 1.8;
  font-size: 0.9375rem;
}

.profile-bio p + p {
  margin-top: 1.1rem;
}

.profile-section-title {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.expertise-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-transform: uppercase;
}

/* back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: gap 0.2s ease;
}

.back-link:hover {
  gap: 0.7rem;
}

/* =====================================================
   RESPONSIVE — About & Profile
   ===================================================== */
@media (min-width: 769px) {
  .about-mission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-layout {
    grid-template-columns: 320px 1fr;
  }

  /* Sidebar becomes sticky only in the 2-column desktop layout */
  .profile-sidebar {
    position: sticky;
    top: 7rem;
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =====================================================
   GDPR / PRIVACY POLICY PAGE
   ===================================================== */
.gdpr-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.gdpr-toc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.85);
  transition: all 0.25s ease;
}

.gdpr-toc-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  background-color: var(--navy-soft);
}

.gdpr-toc-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.legal-article {
  scroll-margin-top: 6rem;
  padding: 2.25rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  transition: border-color 0.3s ease;
}

.legal-article:hover {
  border-color: rgba(201, 168, 76, 0.45);
}

.legal-article__badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.legal-article h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--cream);
  line-height: 1.25;
}

.legal-article p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.8);
}

.legal-article p + p {
  margin-top: 0.85rem;
}

.legal-article ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-article ul li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.75);
}

.legal-article ul li::before {
  content: "◆";
  color: var(--gold);
  font-size: 0.65rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.legal-article strong {
  color: var(--gold-soft);
}

