/* LS Studies UG — Job Portal Archetype */

:root {
  --color-primary: #2557a7;
  --color-primary-dark: #1a4080;
  --color-primary-light: #e8f0fb;
  --color-navy: #1e2a3a;
  --color-navy-dark: #141c28;
  --color-grey-900: #2d3748;
  --color-grey-700: #4a5568;
  --color-grey-500: #718096;
  --color-grey-300: #cbd5e0;
  --color-grey-100: #f7fafc;
  --color-grey-50: #f8f9fb;
  --color-white: #ffffff;
  --color-accent: #2557a7;
  --color-success: #276749;
  --color-success-bg: #f0fff4;
  --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: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
  --header-height: 72px;
  --container-max: 1200px;
  --container-narrow: 800px;
}

*,
*::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-grey-900);
  background: var(--color-white);
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  color: var(--color-navy);
  font-weight: 700;
}

h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.section {
  padding: 4rem 0;
}

.section--grey {
  background: var(--color-grey-50);
}

.section--dark {
  background: var(--color-navy-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

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

.section-header p {
  color: var(--color-grey-700);
  margin-top: 0.75rem;
}

.section--dark .section-header p {
  color: var(--color-grey-300);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-300);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  flex-shrink: 0;
}

.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-navy);
  transition: var(--transition);
}

.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;
  flex-direction: column;
  gap: 0;
}

.main-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-grey-900);
  font-weight: 500;
  font-size: 0.9375rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  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;
  line-height: 1.4;
}

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

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

.btn--white:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Search Hero (Homepage) */
.search-hero {
  background: var(--color-primary-light);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--color-grey-300);
}

.search-hero__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.search-hero h1 {
  margin-bottom: 0.75rem;
}

.search-hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-grey-700);
  margin-bottom: 2rem;
}

.search-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-white);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.search-bar__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
}

.search-bar input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 87, 167, 0.15);
}

.search-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Page Hero (inner pages) */
.page-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45)), url('../img/hero-1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.page-hero--alt {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45)), url('../img/hero-2.jpg');
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumbs {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.breadcrumbs a {
  color: var(--color-white);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Tags / Pills */
.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.tag--dark {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.tag--outline {
  background: transparent;
  border: 1px solid var(--color-grey-300);
  color: var(--color-grey-700);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card h3 a {
  color: var(--color-navy);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--color-primary);
}

.card p {
  color: var(--color-grey-700);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.card__meta {
  font-size: 0.8125rem;
  color: var(--color-grey-500);
  margin-bottom: 0.75rem;
}

.card__link {
  font-weight: 600;
  font-size: 0.9375rem;
}

.card--featured {
  border-left: 4px solid var(--color-primary);
}

.card--horizontal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats Band */
.stats-band {
  background: var(--color-navy-dark);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item__number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.9375rem;
  color: var(--color-grey-300);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--color-grey-700);
  font-size: 0.9375rem;
}

/* Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.industry-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.industry-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.industry-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.industry-item__icon svg {
  width: 24px;
  height: 24px;
}

.industry-item h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.industry-item p {
  font-size: 0.8125rem;
  color: var(--color-grey-500);
  margin: 0;
}

/* Toggle Section */
.audience-toggle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.audience-toggle__tabs {
  display: flex;
}

.audience-tab {
  flex: 1;
  padding: 1rem;
  background: var(--color-grey-100);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-grey-700);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.audience-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.audience-panel {
  display: none;
  padding: 2rem;
  background: var(--color-white);
}

.audience-panel.active {
  display: block;
}

.audience-panel h3 {
  margin-bottom: 1rem;
}

.audience-panel ul {
  margin-bottom: 1.5rem;
}

.audience-panel li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--color-grey-700);
}

.audience-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-navy);
  background: var(--color-white);
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: var(--color-grey-50);
}

.faq-item__answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-grey-700);
  font-size: 0.9375rem;
}

/* CTA Section */
.cta-section {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-section p {
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 1.0625rem;
}

.cta-section .btn--white:hover {
  background: var(--color-grey-100);
}

/* Section with background image */
.section-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.section-image--1 {
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../img/section-1.jpg');
}

.section-image--2 {
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../img/section-2.jpg');
}

.section-image--3 {
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../img/section-3.jpg');
}

.section-image--4 {
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../img/section-4.jpg');
}

/* Content layouts */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.content-image img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  max-height: 400px;
}

.team-portrait {
  max-width: 300px;
  border-radius: var(--radius-lg);
  margin: 0 auto 1.5rem;
}

.team-caption {
  font-size: 0.875rem;
  color: var(--color-grey-500);
}

.honeypot {
  display: none;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
}

.value-card h3 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.value-card p {
  color: var(--color-grey-700);
  font-size: 0.9375rem;
  margin: 0;
}

/* Service detail */
.service-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.service-content h2 {
  margin: 2rem 0 1rem;
}

.service-content h2:first-child {
  margin-top: 0;
}

.benefits-list {
  margin: 1.5rem 0;
}

.benefits-list li {
  padding: 0.625rem 0 0.625rem 1.75rem;
  position: relative;
  color: var(--color-grey-700);
  border-bottom: 1px solid var(--color-grey-100);
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Case studies */
.case-study {
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.case-study__industry {
  margin-bottom: 0.75rem;
}

.case-study h3 {
  margin-bottom: 1rem;
}

.case-study__section {
  margin-bottom: 1rem;
}

.case-study__section strong {
  display: block;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Job listings */
.job-card {
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.job-card h3 {
  margin-bottom: 0.5rem;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-grey-500);
  margin-bottom: 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--color-grey-50);
  border-radius: var(--radius-md);
}

.benefit-item__icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.benefit-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: var(--color-navy);
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--color-grey-700);
  margin: 0;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info__item {
  margin-bottom: 1.25rem;
}

.contact-info__item strong {
  display: block;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.contact-info__item p,
.contact-info__item a {
  color: var(--color-grey-700);
}

.contact-form-wrapper {
  background: var(--color-grey-50);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-300);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--color-navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-grey-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 87, 167, 0.15);
}

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

.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.form-consent input {
  width: auto;
  margin-top: 0.25rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.form-consent label {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-grey-700);
  margin-bottom: 0;
}

.form-success {
  background: var(--color-success-bg);
  border: 1px solid #9ae6b4;
  color: var(--color-success);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Blog / Articles */
.article-list .card {
  margin-bottom: 1.25rem;
}

.article-meta {
  font-size: 0.875rem;
  color: var(--color-grey-500);
  margin-bottom: 0.75rem;
}

.article-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.article-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.375rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: var(--color-grey-700);
}

.article-content .article-meta {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-grey-300);
}

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

.legal-content h1 {
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
}

.legal-content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.0625rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-grey-700);
  margin-bottom: 0.75rem;
}

.legal-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ol li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-navy-dark);
  color: var(--color-grey-300);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-nav h4 {
  color: var(--color-white);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--color-grey-300);
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: var(--color-grey-300);
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-banner p {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
  color: var(--color-grey-300);
}

.cookie-banner a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* 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);
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.link-arrow {
  font-weight: 600;
}

.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;
}

/* Tablet */
@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .search-bar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .search-bar__label {
    flex: 0 0 100%;
  }

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

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

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

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .process-steps::before {
    content: "";
    position: absolute;
    top: 24px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: var(--color-grey-300);
    z-index: 0;
  }

  .process-step__number {
    position: relative;
    z-index: 1;
  }

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

  .audience-toggle {
    grid-template-columns: 1fr;
  }

  .content-two-col {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .card--horizontal {
    flex-direction: row;
  }

  .card--horizontal .card__image {
    flex: 0 0 200px;
    aspect-ratio: auto;
    min-height: 140px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .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;
    align-items: center;
    gap: 0.25rem;
  }

  .main-nav a {
    padding: 0.5rem 0.875rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(6, 1fr);
  }

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

@media (max-width: 1023px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-grey-300);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
  }

  .main-nav.open {
    display: block;
  }
}
