/* ============================================
   BUREAL - Layout (header, hero, sektioner, footer)
   ============================================ */

/* ============ HEADER / NAVIGATION ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-radius: 50px;
  position: relative;
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--bg-light);
}

.main-nav a.active {
  color: var(--primary);
  background: rgba(39, 105, 166, 0.08);
  font-weight: 600;
}

.nav-cta {
  margin-left: 10px;
}

.nav-cta .btn {
  padding: 11px 24px;
  font-size: 0.9rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 45%, var(--secondary) 100%);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(141, 200, 228, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 168, 221, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat h3 {
  font-size: 2rem;
  color: #fff;
}

.hero-stat p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ============ SEKTIONER ============ */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============ OM OSS ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(141, 200, 228, 0.35), transparent 60%);
}

.about-image svg {
  width: 120px;
  height: 120px;
  stroke: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-badge h3 {
  font-size: 1.8rem;
  color: var(--primary);
}

.about-badge p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.about-points {
  display: grid;
  gap: 18px;
}

.about-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-point-icon {
  width: 46px;
  height: 46px;
  background: rgba(46, 168, 221, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-point-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--secondary);
}

.about-point h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.about-point p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ============ SIDHUVUD (inre sidor) ============ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: #fff;
  padding: 160px 0 90px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 40%, rgba(141, 200, 228, 0.25), transparent 55%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 620px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ============ DETALJSIDA LAYOUT ============ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.detail-grid.reverse {
  direction: rtl;
}

.detail-grid.reverse > * {
  direction: ltr;
}

.detail-visual {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.detail-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(141, 200, 228, 0.35), transparent 60%);
}

.detail-visual svg {
  width: 100px;
  height: 100px;
  stroke: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.detail-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 18px;
}

.detail-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: 10px;
  border-left: 3px solid var(--secondary);
}

.feature-list li strong {
  color: var(--primary);
}

/* ============ CTA-SEKTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--primary-darker);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand .logo-img {
  height: 72px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--accent);
}