/* WIKBORG REIN - MAIN LAYOUT & GLOBAL STYLES */

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

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

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: #1e242b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.text-gold {
  color: var(--gold-primary);
}

.heading-xl {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
}

.heading-md {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.heading-sm {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lead-text {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-light-secondary);
  line-height: 1.7;
}

/* HEADER & NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: #1e242b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled {
  background: #1a2027;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(200, 166, 97, 0.25);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo: WIKBORG|REIN */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.logo-text-main {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
}

.logo-text-pipe {
  font-weight: 300;
  font-size: 1.45rem;
  color: #ffffff;
  margin: 0 2px;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.header-nav-link:hover {
  color: var(--gold-primary);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a0aec0;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.3);
}

.lang-btn {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
  color: #ffffff;
}

.hamburger-btn {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger-icon {
  width: 26px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  transition: var(--transition-fast);
}

.hamburger-btn:hover .hamburger-icon span {
  background: var(--gold-primary);
}

/* MAIN CONTENT AREA */
#app-main {
  padding-top: var(--header-height);
  min-height: 80vh;
  background: #ffffff;
}

/* FOOTER */
.site-footer {
  background: #13181e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 3rem;
  color: #a0aec0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light-primary);
  padding-left: 4px;
}

/* Offices List in Footer */
.footer-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.office-mini-card {
  font-size: 0.85rem;
}

.office-mini-card strong {
  display: block;
  color: var(--text-light-primary);
  margin-bottom: 0.2rem;
}

.office-mini-card p {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* Social & Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-secondary);
  transition: var(--transition-fast);
}

.social-icon:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  background: var(--gold-bg-tint);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wr-hero-grid,
  .wr-main-layout {
    grid-template-columns: 1fr;
  }
  .hero-split-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-actions {
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .news-grid-2col {
    grid-template-columns: 1fr;
  }
  
  .hero-featured-card {
    padding: 3rem 2rem;
  }
  
  .wr-content-left {
    padding: 3rem 1.5rem;
  }
  
  .wr-beige-subscribe-box,
  .wr-dark-feature-box,
  .wr-light-callout-box {
    padding: 3rem 2rem;
  }
}
