/* Alpha Oxum Sports UG — Technical Documentation Style */

:root {
  --color-primary: #1a2b3c;
  --color-primary-light: #2d4156;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-muted: #5c6670;
  --color-border: #d1d9e0;
  --color-border-light: #e8edf2;
  --color-row-alt: #f0f4f8;
  --font-system: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  --max-width: 1200px;
  --header-height: 64px;
  --sidebar-width: 240px;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(26, 43, 60, 0.08);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }

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

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

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

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.section--grid-bg {
  background-image:
    linear-gradient(var(--color-border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-light) 1px, transparent 1px);
  background-size: 24px 24px;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.main-nav {
  display: none;
}

.main-nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.main-nav > ul > li {
  position: relative;
  margin: 0;
}

.main-nav > ul > li > a,
.nav-trigger {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.main-nav > ul > li > a:hover,
.nav-trigger:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

.nav-item--has-dropdown:hover .mega-menu,
.nav-item--has-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 43, 60, 0.12);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.mega-menu__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.mega-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu li { margin: 0; }

.mega-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  font-size: 0.875rem;
  border-radius: var(--radius);
}

.mega-menu a:hover {
  background: var(--color-bg);
  color: var(--color-accent);
}

.mega-menu a small {
  display: block;
  color: var(--color-muted);
  font-size: 0.8125rem;
  margin-top: 0.125rem;
}

.nav-cta {
  display: none;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  overflow-y: auto;
  z-index: 999;
  padding: 1rem 1.25rem 2rem;
  border-top: 1px solid var(--color-border);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav > ul > li {
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  color: var(--color-text);
  font-weight: 500;
}

.mobile-nav .sub-menu {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
}

.mobile-nav .sub-menu a {
  font-weight: 400;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  color: var(--color-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
}

.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--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — Homepage minimal */
.hero-minimal {
  padding: 4rem 0 3rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.hero-minimal__label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero-minimal h1 {
  font-size: 2.25rem;
  max-width: 720px;
  margin-bottom: 1rem;
}

.hero-minimal__subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 600px;
  margin-bottom: 0;
}

/* Hero — Subpages with image */
.hero-image {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45));
}

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

.hero-image h1 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.hero-image p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 560px;
}

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

/* Icon strip */
.icon-strip {
  background: var(--color-primary);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-primary-light);
}

.icon-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon-strip__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}

.icon-strip__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.icon-strip__icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

/* Sidebar layout */
.layout-with-sidebar {
  display: grid;
  gap: 2rem;
}

.sidebar-nav {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.sidebar-nav__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin: 0;
  border-bottom: 1px solid var(--color-border-light);
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: block;
  padding: 0.625rem 0.5rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  border-left: 2px solid transparent;
  margin-left: -0.5rem;
  padding-left: calc(0.5rem + 2px);
  transition: border-color var(--transition), color var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}

.content-main h2 {
  margin-top: 0;
}

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.data-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tbody tr:nth-child(even) {
  background: var(--color-row-alt);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table a {
  font-weight: 500;
}

/* Definition lists */
.def-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.def-list__row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--color-border-light);
}

.def-list__row:last-child {
  border-bottom: none;
}

.def-list__row:nth-child(even) {
  background: var(--color-row-alt);
}

.def-list dt {
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.875rem 1rem 0.25rem;
  font-size: 0.9375rem;
}

.def-list dd {
  padding: 0 1rem 0.875rem;
  color: var(--color-muted);
  margin: 0;
  font-size: 0.9375rem;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--color-surface);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-item__label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Certification grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.cert-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

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

.cert-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
}

.cert-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.cert-card p {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

/* Process steps */
.process-list {
  counter-reset: process;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
  margin: 0;
  counter-increment: process;
}

.process-list li:last-child {
  border-bottom: none;
}

.process-list li:nth-child(even) {
  background: var(--color-row-alt);
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent);
  min-width: 2rem;
}

.process-list__title {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.process-list__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin: 0;
}

/* FAQ accordion */
.faq-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

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

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

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--color-muted);
  transition: transform var(--transition);
}

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

.faq-item summary:hover {
  background: var(--color-row-alt);
}

.faq-item:nth-child(even) summary {
  background: var(--color-row-alt);
}

.faq-item:nth-child(even) summary:hover {
  background: var(--color-border-light);
}

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

/* Service cards */
.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

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

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

.service-card__link {
  font-size: 0.875rem;
  font-weight: 500;
}

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

.section-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 246, 248, 0.92);
}

.section-image .container {
  position: relative;
  z-index: 1;
}

.section-image--1 { background-image: url('../img/section-1.jpg'); }
.section-image--2 { background-image: url('../img/section-2.jpg'); }
.section-image--3 { background-image: url('../img/section-3.jpg'); }
.section-image--4 { background-image: url('../img/section-4.jpg'); }

.content-image {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  object-fit: cover;
  width: 100%;
}

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

/* Case studies */
.case-study {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.case-study__header {
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 1.25rem;
}

.case-study__header h3 {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}

.case-study__meta {
  font-size: 0.8125rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.case-study__body {
  padding: 1.25rem;
}

.case-study__body dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.case-study__body dt {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.case-study__body dd {
  margin: 0.125rem 0 0;
  font-size: 0.9375rem;
}

/* Job listings */
.job-listing {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--color-surface);
}

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

.job-listing__meta {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}

.job-listing p {
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* Contact form */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info dl {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-info dt {
  background: var(--color-row-alt);
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border-light);
}

.contact-info dd {
  padding: 0.75rem 1rem;
  margin: 0;
  border-bottom: 1px solid var(--color-border-light);
}

.contact-info dd:last-child {
  border-bottom: none;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
  margin-top: 1rem;
}

.contact-form label:first-of-type {
  margin-top: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}

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

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

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

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

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

.contact-form button[type="submit"] {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}

.contact-form button[type="submit"]:hover {
  background: var(--color-accent-hover);
}

.form-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

/* Blog / News */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
  margin: 0;
}

.article-list li:first-child {
  padding-top: 0;
}

.article-list__date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 0.375rem;
}

.article-list h3 {
  margin-bottom: 0.5rem;
}

.article-list p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.article-content {
  max-width: 720px;
}

.article-content .article-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-light);
}

.article-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Legal pages */
.legal-content h1 {
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border-light);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

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

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  color: var(--color-text);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

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

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

.breadcrumbs span {
  margin: 0 0.375rem;
}

/* CTA section */
.cta-section {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.cta-section .btn--primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.cta-section .btn--primary:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* Values grid */
.values-grid {
  display: grid;
  gap: 1rem;
}

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 3px solid var(--color-accent);
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

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

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
  padding: 3rem 0 1.5rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.375rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid 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: 0.75rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
  color: #fff;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(26, 43, 60, 0.1);
  padding: 1rem 1.25rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

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

.cookie-banner .btn {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

/* Page header for inner pages */
.page-header {
  padding: 2rem 0 1.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--color-muted);
  max-width: 640px;
  margin: 0;
}

/* Two column content */
.two-col {
  display: grid;
  gap: 2rem;
  align-items: start;
}

/* Benefits list */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.benefits-list li {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
  margin: 0;
  font-size: 0.9375rem;
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefits-list li:nth-child(even) {
  background: var(--color-row-alt);
}

.benefits-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Responsive */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }

  .hero-minimal h1 { font-size: 2.75rem; }

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

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

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

  .def-list__row {
    grid-template-columns: 200px 1fr;
  }

  .def-list dt {
    padding: 0.875rem 1rem;
    border-right: 1px solid var(--color-border-light);
  }

  .def-list dd {
    padding: 0.875rem 1rem;
  }

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

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

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

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

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .nav-cta {
    display: inline-block;
  }

  .menu-toggle {
    display: none;
  }

  .layout-with-sidebar {
    grid-template-columns: var(--sidebar-width) 1fr;
  }

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

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

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

  .contact-form button[type="submit"] {
    width: auto;
  }
}
