:root {
  --deep-slate-teal: #18383f;
  --midnight-petrol: #0f2429;
  --electric-glacier: #36c5d8;
  --fresh-moss: #2b9360;
  --soft-iris: #6e76dd;
  --warm-clay: #cf6e43;
  --mist-stone: #f0f4f5;
  --mist-stone-darker: #e1e9eb;
  --porcelain-white: #ffffff;
  --graphite-ink: #192326;
  --graphite-subtle: #4c5d63;
  --border-light: rgba(24, 56, 63, 0.12);
  --border-subtle: rgba(24, 56, 63, 0.07);
  --shadow-micro: 0 2px 4px rgba(15, 36, 41, 0.04), 0 8px 16px rgba(15, 36, 41, 0.05);
  --shadow-hover: 0 4px 10px rgba(15, 36, 41, 0.06), 0 16px 28px rgba(15, 36, 41, 0.09);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite-ink);
  background-color: var(--mist-stone);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--mist-stone);
  color: var(--graphite-ink);
}

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

a {
  color: var(--deep-slate-teal);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--electric-glacier);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--midnight-petrol);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p, ul, ol, dl {
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}

/* Base utilities & Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-gap {
  padding-top: 64px;
  padding-bottom: 64px;
}

.text-center { text-align: center; }
.text-muted { color: var(--graphite-subtle); }
.mono { font-family: var(--font-mono); }

/* Focus Accessibility */
:focus-visible {
  outline: 3px solid var(--electric-glacier);
  outline-offset: 3px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  min-height: 76px;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(15, 36, 41, 0.04);
}

.site-header .container,
.site-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  padding-left: 28px;
  padding-right: 28px;
  gap: 20px;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--midnight-petrol);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 6px 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  fill: var(--deep-slate-teal);
  transition: transform 0.25s ease;
}

.brand-wrapper:hover .brand-icon {
  transform: scale(1.08);
}

.brand-wrapper:hover {
  color: var(--deep-slate-teal);
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  margin-right: 12px;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--graphite-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  word-break: keep-all;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.nav-link:hover {
  color: var(--midnight-petrol);
  background-color: var(--mist-stone);
}

.nav-link[aria-current="page"] {
  color: var(--deep-slate-teal);
  font-weight: 600;
  background-color: rgba(24, 56, 63, 0.08);
  box-shadow: inset 0 -2px 0 var(--deep-slate-teal);
}

/* Header Right - Contact Call-to-Action & Mobile Toggle */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background-color: var(--deep-slate-teal);
  color: var(--porcelain-white);
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  border: 1px solid var(--deep-slate-teal);
  box-shadow: var(--shadow-micro);
  transition: all 0.2s ease;
}

.nav-contact-btn .contact-arrow {
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.nav-contact-btn:hover {
  background-color: var(--midnight-petrol);
  border-color: var(--midnight-petrol);
  color: var(--porcelain-white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.nav-contact-btn:hover .contact-arrow {
  transform: translateX(3px);
}

.nav-contact-btn[aria-current="page"] {
  background-color: var(--midnight-petrol);
  border-color: var(--electric-glacier);
  box-shadow: 0 0 0 2px rgba(54, 197, 216, 0.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
}

.btn-primary {
  background-color: var(--deep-slate-teal);
  color: var(--porcelain-white);
  box-shadow: var(--shadow-micro);
}

.btn-primary:hover {
  background-color: var(--midnight-petrol);
  color: var(--porcelain-white);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--porcelain-white);
  color: var(--deep-slate-teal);
  border-color: var(--border-light);
  box-shadow: var(--shadow-micro);
}

.btn-secondary:hover {
  background-color: var(--mist-stone);
  border-color: var(--deep-slate-teal);
  color: var(--midnight-petrol);
}

.btn-accent {
  background-color: var(--electric-glacier);
  color: var(--midnight-petrol);
}

.btn-accent:hover {
  background-color: #2ab0c2;
  color: var(--midnight-petrol);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 6px 14px;
}

.menu-toggle {
  display: none;
  background-color: var(--mist-stone);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--midnight-petrol);
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background-color: var(--mist-stone-darker);
  border-color: var(--deep-slate-teal);
  color: var(--deep-slate-teal);
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--electric-glacier);
  outline-offset: 2px;
}

.mobile-nav {
  display: none;
  background-color: var(--porcelain-white);
  border-bottom: 2px solid var(--border-light);
  padding: 16px 24px 22px;
  box-shadow: 0 12px 28px rgba(15, 36, 41, 0.08);
}

.mobile-nav.is-visible {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: navSlideDown 0.2s ease-out;
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav .nav-link {
  font-size: 0.96rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  color: var(--graphite-ink);
  background-color: transparent;
  border: 1px solid transparent;
}

.mobile-nav .nav-link:hover {
  background-color: var(--mist-stone);
  color: var(--deep-slate-teal);
}

.mobile-nav .nav-link[aria-current="page"] {
  background-color: rgba(24, 56, 63, 0.07);
  color: var(--deep-slate-teal);
  font-weight: 600;
  border-color: rgba(24, 56, 63, 0.12);
  box-shadow: none;
}

.mobile-nav .btn {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
}

/* Badge and Meta */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(54, 197, 216, 0.15);
  color: var(--deep-slate-teal);
  margin-bottom: 12px;
}

.badge-moss {
  background-color: rgba(43, 147, 96, 0.15);
  color: var(--fresh-moss);
}

.badge-iris {
  background-color: rgba(110, 118, 221, 0.15);
  color: var(--soft-iris);
}

.badge-clay {
  background-color: rgba(207, 110, 67, 0.15);
  color: var(--warm-clay);
}

/* Horizontal Split Card Style */
.card-horizontal {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--porcelain-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-micro);
  overflow: hidden;
  margin-bottom: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

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

.card-media {
  position: relative;
  background: var(--midnight-petrol);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.card-content {
  margin-bottom: 24px;
}

.card-title {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.card-text {
  color: var(--graphite-subtle);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.tag-item {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: var(--mist-stone);
  color: var(--graphite-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: auto;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--graphite-subtle);
  font-family: var(--font-mono);
}

/* Surface Cards & Data Panels */
.surface-card {
  background: var(--porcelain-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-micro);
  min-width: 0;
  margin-bottom: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, var(--mist-stone) 100%);
  border-bottom: 1px solid var(--border-light);
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--graphite-subtle);
  line-height: 1.6;
  margin-bottom: 32px;
}

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

/* Workflow Step UI */
.workflow-step {
  background: var(--porcelain-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  position: relative;
  box-shadow: var(--shadow-micro);
}

.step-number {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--electric-glacier);
  background: var(--midnight-petrol);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 12px;
}

/* Content Subpage Sections */
.subpage-hero {
  background: var(--porcelain-white);
  border-bottom: 1px solid var(--border-light);
  padding-top: 56px;
  padding-bottom: 56px;
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}

.hero-illu-box {
  background: var(--mist-stone);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  overflow: hidden;
}

.hero-illu-box img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--graphite-ink);
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Inspection Table */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--porcelain-white);
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: var(--mist-stone);
  color: var(--midnight-petrol);
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--graphite-ink);
}

tr:last-child td {
  border-bottom: none;
}

/* Callout block */
.callout-box {
  background: rgba(54, 197, 216, 0.08);
  border-left: 4px solid var(--electric-glacier);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
}

.callout-box-moss {
  background: rgba(43, 147, 96, 0.08);
  border-left-color: var(--fresh-moss);
}

.callout-box-clay {
  background: rgba(207, 110, 67, 0.08);
  border-left-color: var(--warm-clay);
}

.callout-title {
  font-weight: 700;
  color: var(--midnight-petrol);
  margin-bottom: 6px;
}

/* Checklist list */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fresh-moss);
  font-weight: 800;
}

/* Related topics strip */
.related-topics {
  background: var(--mist-stone);
  border-top: 1px solid var(--border-light);
  padding: 56px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.related-card {
  background: var(--porcelain-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--midnight-petrol) 0%, var(--deep-slate-teal) 100%);
  color: var(--porcelain-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin: 64px auto 0;
  text-align: center;
  max-width: 980px;
  box-shadow: var(--shadow-micro);
}

.cta-banner h2 {
  color: var(--porcelain-white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: #cbd7db;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Contact Page Styles */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--midnight-petrol);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--mist-stone);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--graphite-ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  background: var(--porcelain-white);
  border-color: var(--electric-glacier);
  outline: none;
}

.form-input.is-invalid, .form-textarea.is-invalid {
  border-color: var(--warm-clay);
  background-color: rgba(207, 110, 67, 0.05);
}

.field-error {
  font-size: 0.8rem;
  color: var(--warm-clay);
  margin-top: 4px;
  display: none;
}

.field-error.is-visible {
  display: block;
}

.form-feedback {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.feedback-success {
  background: rgba(43, 147, 96, 0.12);
  border: 1px solid var(--fresh-moss);
  color: var(--midnight-petrol);
}

/* Static Vector Map Visual */
.static-map-panel {
  background: var(--porcelain-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.map-svg-container {
  width: 100%;
  height: 220px;
  background: #0f2429;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.site-footer {
  background-color: var(--midnight-petrol);
  color: #a2b4b8;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 56px;
  padding-bottom: 32px;
  font-size: 0.9rem;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--porcelain-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-brand:hover {
  color: var(--electric-glacier);
}

.footer-brand:hover .footer-brand-icon {
  transform: scale(1.06);
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  fill: var(--electric-glacier);
  transition: transform 0.2s ease;
}

.footer-title {
  color: var(--porcelain-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd7db;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--electric-glacier);
}

.footer-meta-block {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #8fa3a8;
}

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

.footer-bottom a {
  color: #cbd7db;
  text-decoration: underline;
  text-decoration-color: rgba(54, 197, 216, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--electric-glacier);
  text-decoration-color: var(--electric-glacier);
}

/* Cookie Banner & Preferences Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 36, 41, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--porcelain-white);
  padding: 20px 24px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(54, 197, 216, 0.3);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.92rem;
  max-width: 680px;
  color: #cbd7db;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 41, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-backdrop[hidden] {
  display: none !important;
}

.cookie-modal-card {
  background: var(--porcelain-white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-pref-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 16px;
}

/* Responsive Navigation & Breakpoint Optimization */
@media (min-width: 1181px) and (max-width: 1360px) {
  .site-header .container,
  .site-header .header-container {
    padding-left: 18px;
    padding-right: 18px;
    gap: 14px;
  }
  .nav-desktop {
    gap: 4px;
    margin-right: 6px;
  }
  .nav-link {
    padding: 8px 11px;
    font-size: 0.87rem;
  }
  .nav-contact-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1180px) {
  .site-header {
    min-height: 66px;
  }
  .site-header .container,
  .site-header .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-horizontal {
    grid-template-columns: 1fr;
  }
  .card-media {
    min-height: 200px;
  }
  .subpage-hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 32px 20px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .site-header .container,
  .site-header .header-container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-wrapper {
    gap: 8px;
  }
  .brand-wrapper span {
    font-size: 0.9rem;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-contact-btn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .nav-contact-btn .contact-arrow {
    display: none;
  }
  .menu-toggle {
    padding: 7px 10px;
  }
}

@media (max-width: 440px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .card-body {
    padding: 20px 16px;
  }
  .surface-card {
    padding: 20px 16px;
  }
  .btn {
    width: 100%;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}