/* ============================================
   SLONGE SOLUTIONS - Design System & Styles
   Swiss B2B Digital Consultancy
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Brand Colors */
  --slonge-blue: #2F6FB2;
  --slonge-blue-hover: #265a91;
  --slonge-turquoise: #1FB6C9;
  --slonge-orange: #F28C28;
  --slonge-orange-hover: #d97a1f;
  
  /* Neutrals */
  --slonge-navy: #1F2A44;
  --slonge-grey-900: #2B2B2B;
  --slonge-grey-600: #6B7280;
  --slonge-grey-400: #9CA3AF;
  --slonge-grey-200: #E5E7EB;
  --slonge-grey-100: #F5F7FA;
  --slonge-white: #FFFFFF;
  
  /* Semantic Colors */
  --color-bg-primary: var(--slonge-white);
  --color-bg-secondary: var(--slonge-grey-100);
  --color-surface: var(--slonge-white);
  
  --color-text-primary: var(--slonge-navy);
  --color-text-secondary: var(--slonge-grey-600);
  --color-text-muted: var(--slonge-grey-400);
  
  --color-border: var(--slonge-grey-200);
  --color-border-subtle: rgba(31, 42, 68, 0.08);
  
  --color-interactive: var(--slonge-blue);
  --color-interactive-hover: var(--slonge-blue-hover);
  --color-accent: var(--slonge-turquoise);
  --color-cta: var(--slonge-orange);
  --color-cta-hover: var(--slonge-orange-hover);
  
  --color-success: #059669;
  --color-error: #DC2626;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1280px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  /* Transitions - Subtle, 150-300ms */
  --transition-fast: 150ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 300ms ease-in-out;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-interactive-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-interactive);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 700;
}

h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

h3 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
}

h4 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.8;
}

.small {
  font-size: var(--text-sm);
}

.text-muted {
  color: var(--color-text-muted);
}

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

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-20) 0;
}

.section--lg {
  padding: var(--space-24) 0;
}

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

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--gap {
  gap: var(--space-4);
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--transition-base);
}

.header.scrolled {
  padding: var(--space-3) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo__image {
  height: 40px;
  width: auto;
}

.logo__text {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.logo__text span {
  color: var(--color-interactive);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__list {
  display: flex;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-interactive);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-interactive);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.lang-switch__btn {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.lang-switch__btn:hover {
  color: var(--color-text-primary);
}

.lang-switch__btn.active {
  color: var(--slonge-white);
  background: var(--color-interactive);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav__list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--slonge-white);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition-slow);
  }
  
  .nav__list.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-32) + 70px) var(--space-6) var(--space-20);
  position: relative;
  overflow: hidden;
  /* Dynamic gradient - angle controlled by mouse via JS */
  background: 
    linear-gradient(
      var(--gradient-angle, 135deg),
      rgba(47, 111, 178, 0.25) 0%,
      rgba(31, 182, 201, 0.18) 35%,
      rgba(245, 247, 250, 0.95) 50%,
      rgba(242, 140, 40, 0.15) 100%
    );
  transition: background 0.1s ease-out;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-interactive);
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.6s ease-out forwards;
}

.hero__title {
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease-out 0.1s forwards;
  opacity: 0;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  color: var(--slonge-white);
  background: var(--color-cta);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  color: var(--slonge-white);
}

.btn--secondary {
  color: var(--color-interactive);
  background: transparent;
  border: 1px solid var(--color-interactive);
}

.btn--secondary:hover {
  background: var(--color-interactive);
  color: var(--slonge-white);
}

.btn:focus-visible {
  outline: 2px solid var(--color-interactive);
  outline-offset: 2px;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-header__eyebrow {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-interactive);
  margin-bottom: var(--space-3);
}

.section-header__title {
  margin-bottom: var(--space-4);
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

/* ---------- Cards ---------- */
.card {
  padding: var(--space-8);
  background: var(--slonge-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base);
}

.card:hover {
  border-color: var(--color-interactive);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-interactive);
  font-size: var(--text-xl);
}

.card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.card__desc {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.card__link {
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Service Cards */
.service-card {
  padding: var(--space-8);
  background: var(--slonge-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color var(--transition-base);
}

.service-card:hover {
  border-color: var(--color-interactive);
}

.service-card__number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-border);
  margin-bottom: var(--space-4);
}

.service-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.service-card__tagline {
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.service-card__desc {
  margin-bottom: var(--space-6);
}

.service-card__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.service-card__benefit::before {
  content: '✓';
  color: var(--color-interactive);
  font-weight: 600;
}

/* Project Cards */
.project-card {
  background: var(--slonge-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.project-card:hover {
  border-color: var(--color-interactive);
}

.project-card__image {
  aspect-ratio: 16/10;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}

.project-card__content {
  padding: var(--space-6);
}

.project-card__meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.project-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.project-card__desc {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.project-card__result {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-interactive);
}

/* Case Study Cards - Detailed project breakdowns */
.case-study {
  background: var(--slonge-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}

.case-study:last-child {
  margin-bottom: 0;
}

.case-study__header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.case-study__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-study__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.case-study__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .case-study__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.case-study__section h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slonge-turquoise);
  margin-bottom: var(--space-2);
}

.case-study__section p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.case-study__section p strong {
  color: var(--color-text-primary);
}

.case-study__link {
  margin-left: auto;
  padding: var(--space-1) var(--space-3);
  background: var(--slonge-blue);
  color: var(--slonge-white);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.case-study__link:hover {
  background: var(--slonge-navy);
}

/* Project Card Images */
.project-card__image-link {
  display: block;
}

.project-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.project-card__title a {
  color: inherit;
  text-decoration: none;
}

.project-card__title a:hover {
  color: var(--color-interactive);
}

/* Testimonial Cards */
.testimonial {
  padding: var(--space-8);
  background: var(--slonge-white);
  border-left: 3px solid var(--color-interactive);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-interactive);
}

.testimonial__quote {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.testimonial__quote::before {
  content: '"';
  color: var(--color-interactive);
}

.testimonial__quote::after {
  content: '"';
  color: var(--color-interactive);
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-text-primary);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Highlight Strip - Full-width quote section */
.highlight-strip {
  background: var(--slonge-navy);
  padding: var(--space-16) 0;
  text-align: center;
}

.highlight-strip__quote {
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.5;
  color: var(--slonge-white);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.highlight-strip__quote::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--slonge-turquoise);
  margin: 0 auto var(--space-6);
}

@media (max-width: 768px) {
  .highlight-strip__quote {
    font-size: var(--text-xl);
  }
}

/* ---------- FAQ Section ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: left;
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-interactive);
}

.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-interactive);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  color: var(--color-text-secondary);
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: var(--space-16);
}

.contact-form form {
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-primary);
}

.form-label .required {
  color: var(--color-cta);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--slonge-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-interactive);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232F6FB2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-message {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  display: none;
}

.form-message--success {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.form-message--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

/* ---------- About Page Specific ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .about-hero {
    grid-template-columns: 2fr 1fr;
  }
}

.about-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-image__photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(31, 42, 68, 0.08);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.fact {
  text-align: center;
  padding: var(--space-6);
  background: var(--slonge-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.fact__number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-interactive);
  margin-bottom: var(--space-2);
}

.fact__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.value-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--slonge-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.value-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-interactive);
  flex-shrink: 0;
}

.value-item__content h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.value-item__content p {
  font-size: var(--text-sm);
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--slonge-navy);
  color: var(--slonge-white);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.footer__logo-image {
  height: 32px;
  width: auto;
}

.footer__logo-text {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--slonge-white);
}

.footer__logo-text span {
  color: var(--slonge-turquoise);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer__title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slonge-white);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--slonge-white);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-interactive);
  color: var(--slonge-white);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal a:hover {
  color: var(--slonge-white);
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: var(--space-16);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.cta-section h2 {
  margin-bottom: var(--space-4);
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto var(--space-8);
}

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--space-24) + 70px) 0 var(--space-12);
  text-align: center;
  background: var(--color-bg-secondary);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-interactive);
}

.breadcrumb span {
  color: var(--color-interactive);
}

.page-header__title {
  margin-bottom: var(--space-4);
}

.page-header__desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-secondary);
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content p {
  margin-bottom: var(--space-4);
}

.legal-content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.legal-content li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

.legal-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-interactive);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-interactive);
  color: var(--slonge-white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-interactive-hover);
}

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

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.pt-0 { padding-top: 0; }

/* Animation classes for scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax elements */
.parallax {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Stagger group animations */
.stagger-group .card,
.stagger-group .service-card,
.stagger-group .value-item {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-group .card.active,
.stagger-group .service-card.active,
.stagger-group .value-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Decorative color accents */
.accent-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
}

.accent-circle--blue {
  background: var(--slonge-blue);
}

.accent-circle--turquoise {
  background: var(--slonge-turquoise);
}

.accent-circle--orange {
  background: var(--slonge-orange);
}

/* Section backgrounds with color */
.section--accent-blue {
  background: linear-gradient(135deg, rgba(47, 111, 178, 0.03) 0%, rgba(47, 111, 178, 0.01) 100%);
  position: relative;
}

.section--accent-turquoise {
  background: linear-gradient(135deg, rgba(31, 182, 201, 0.03) 0%, rgba(31, 182, 201, 0.01) 100%);
  position: relative;
}

.section--border-accent {
  border-top: 2px solid var(--slonge-turquoise);
}

/* Print styles */
@media print {
  .header,
  .footer,
  .back-to-top,
  .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    padding: 2rem 0;
  }
}
