/* CANSOLUTIONS GmbH — Job Portal Theme */

:root {
  --color-primary: #1e3a5f;
  --color-primary-dark: #152a45;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f4f6;
  --color-bg-dark: #111827;
  --color-border: #e5e7eb;
  --color-success: #059669;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --header-height: 72px;
  --transition: 0.2s ease;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

ul {
  list-style: none;
}

/* ---- Header & Navigation ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  font-family: inherit;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* ---- Hero (Job Portal Search) ---- */

.hero-search {
  background: var(--color-bg-alt);
  padding: 4rem 1.25rem 3.5rem;
  text-align: center;
}

.hero-search-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-search h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-search .subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: left;
}

.search-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.search-bar input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.search-bar input:focus {
  border-color: var(--color-accent);
}

.search-bar button {
  padding: 0.875rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.search-bar button:hover {
  background: var(--color-accent-hover);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---- Sections ---- */

.section {
  padding: 4rem 1.25rem;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-dark .section-header h2 {
  color: #fff;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Tags / Pills ---- */

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
}

.tag-green {
  background: rgba(5, 150, 105, 0.12);
  color: var(--color-success);
}

.tag-grey {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

/* ---- Job Cards ---- */

.job-cards {
  display: grid;
  gap: 1.25rem;
}

.job-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.job-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.job-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
}

.job-card h3 a {
  color: inherit;
}

.job-card h3 a:hover {
  color: var(--color-accent);
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.job-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.job-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.job-card-salary {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9375rem;
}

/* ---- Stats Band ---- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section-dark .stat-item .stat-number {
  color: #60a5fa;
}

.stat-item .stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.section-dark .stat-item .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Process Steps ---- */

.process-steps {
  display: grid;
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ---- Industry Grid ---- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.industry-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition);
}

.industry-item:hover {
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ---- Toggle (Employer/Candidate) ---- */

.toggle-section {
  max-width: 900px;
  margin: 0 auto;
}

.toggle-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 2rem;
}

.toggle-tab {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  transition: color var(--transition), border-color var(--transition);
}

.toggle-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.toggle-panel {
  display: none;
}

.toggle-panel.active {
  display: block;
}

.toggle-content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.toggle-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.toggle-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.toggle-content ul {
  margin-bottom: 1.5rem;
}

.toggle-content li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.toggle-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.toggle-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- Service Cards ---- */

.service-cards {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-card-body h3 a {
  color: inherit;
}

.service-card-body p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* ---- About Teaser ---- */

.about-teaser {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-teaser-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-teaser-content h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-teaser-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* ---- FAQ Accordion ---- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.faq-item summary {
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  background: var(--color-bg-alt);
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.125rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- CTA Section ---- */

.cta-section {
  text-align: center;
  padding: 4rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Page Hero ---- */

.page-hero {
  background: var(--color-bg-alt);
  padding: 3rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 720px;
}

.page-hero-image {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-hero-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* ---- Breadcrumbs ---- */

.breadcrumbs {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span {
  margin: 0 0.375rem;
}

/* ---- Content Blocks ---- */

.content-block {
  max-width: 800px;
}

.content-block h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.content-block ul,
.content-block ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
}

.content-block li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.content-block ol li {
  list-style: decimal;
}

.feature-list {
  list-style: none !important;
  margin-left: 0 !important;
}

.feature-list li {
  list-style: none;
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ---- Two Column Layout ---- */

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.two-col-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- Case Studies ---- */

.case-studies {
  display: grid;
  gap: 2rem;
}

.case-study {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.case-study-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.case-study h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  width: 100%;
}

.case-study-block {
  margin-bottom: 1rem;
}

.case-study-block strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.case-study-block p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ---- Career ---- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.benefit-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.benefit-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.position-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.position-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.position-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.position-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* ---- Contact Form ---- */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info-block h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.contact-detail {
  margin-bottom: 1.25rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
  color: var(--color-text);
  font-size: 1rem;
}

.contact-form-wrapper {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-consent input {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: auto;
}

.form-consent label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-success {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ---- Blog / News ---- */

.article-list {
  display: grid;
  gap: 2rem;
}

.article-card {
  display: grid;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
}

.article-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-card-body {
  padding: 0 1.5rem 1.5rem;
}

.article-card-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.article-card-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.article-card-body h2 a {
  color: var(--color-primary);
}

.article-card-body h2 a:hover {
  color: var(--color-accent);
}

.article-card-body p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content .article-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}

.article-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.article-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-featured-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* ---- Values Grid ---- */

.values-grid {
  display: grid;
  gap: 1.5rem;
}

.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-top: 3px solid var(--color-accent);
}

.value-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ---- Legal Pages ---- */

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-content ul {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--color-text-muted);
}

.legal-content li {
  margin-bottom: 0.375rem;
  list-style: disc;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-nav h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal a:hover {
  color: #fff;
}

/* ---- Cookie Banner ---- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-banner p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cookie-banner p a {
  color: var(--color-accent);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ---- Scroll Animations ---- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Utilities ---- */

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.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;
}

/* ---- Responsive: Tablet (768px) ---- */

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block !important;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .main-nav ul {
    flex-direction: row;
  }

  .search-bar {
    flex-direction: row;
    align-items: flex-end;
  }

  .search-field {
    flex: 1;
  }

  .job-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
  }

  .process-step-number {
    position: relative;
    z-index: 1;
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .toggle-content {
    grid-template-columns: 1fr 1fr;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-teaser {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .article-card {
    grid-template-columns: 280px 1fr;
  }

  .article-card-image img {
    height: 100%;
    min-height: 200px;
  }

  .article-card-body {
    padding: 1.5rem 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- Responsive: Desktop (1024px) ---- */

@media (min-width: 1024px) {
  .section {
    padding: 5rem 1.25rem;
  }

  .job-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .process-steps.process-steps-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .process-steps.process-steps-5::before {
    left: 10%;
    right: 10%;
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-studies {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Mobile Nav ---- */

@media (max-width: 767px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-cta .btn {
    width: 100%;
    text-align: center;
  }
}
