:root {
  --ink: #123031;
  --muted: #58706c;
  --paper: #f7faf8;
  --surface: #ffffff;
  --soft: #e7f6ef;
  --line: #d8e4df;
  --accent: #00a878;
  --accent-strong: #007c64;
  --accent-warm: #ff6b4a;
  --accent-gold: #f3c84b;
  --shadow: 0 18px 50px rgba(16, 48, 45, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 228, 223, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-size: 1rem;
}

.brand-text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  border-radius: var(--radius);
  color: var(--ink);
  padding: 10px 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a:nth-child(2) {
  min-width: 136px;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--soft);
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 9px 12px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 148px);
  max-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #163737;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.home-hero {
  background-image: none;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 32, 33, 0.7);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 780px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--accent-gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.24rem;
}

.hero-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #062322;
}

.button-primary:hover {
  background: var(--accent-gold);
  color: #1c2119;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.button-secondary:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button-dark:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.section {
  padding: 90px 0;
}

.surface-section {
  background: var(--surface);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 58px;
}

.section-copy p,
.section-heading p,
.contact-copy p,
.cta-box p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-copy p:last-child,
.section-heading p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.image-panel {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-grid,
.service-detail-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

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

.service-card,
.detail-card,
.process-grid article,
.contact-method {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.service-card h3 {
  margin-top: 18px;
}

.service-card p {
  color: var(--muted);
  flex: 1;
}

.service-card a {
  font-weight: 800;
  color: var(--accent-strong);
}

.service-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--accent-strong);
  font-weight: 850;
}

.highlight-section {
  background: var(--accent-warm);
  color: #1e1917;
}

.highlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.highlight-layout .eyebrow {
  color: #3d1c13;
}

.highlight-layout p {
  margin: 0;
}

.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #163737;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.services-hero {
  background-image: none;
}

.contact-hero {
  background-image: none;
}

.english-hero {
  background-image: none;
}

.page-hero-content {
  max-width: 760px;
  padding: 82px 0;
}

.page-hero-content p:last-child {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

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

.detail-card {
  padding: 28px;
}

.detail-card h2 {
  margin-top: 18px;
  font-size: 1.75rem;
}

.detail-card h3 {
  margin-top: 24px;
  font-size: 1.02rem;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.process-section {
  background: var(--soft);
}

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

.process-grid article {
  min-height: 190px;
  padding: 24px;
}

.process-grid p {
  color: var(--muted);
}

.cta-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  padding: 34px;
}

.cta-box p {
  grid-column: 1;
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-box .button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 48px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-method {
  display: grid;
  gap: 4px;
  padding: 18px;
  text-decoration: none;
}

.contact-method span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-method strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 28px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label,
.consent {
  color: var(--ink);
  font-weight: 750;
}

.field-group label span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfd0c9;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus,
.nav-toggle:focus,
a:focus {
  outline: 3px solid rgba(0, 168, 120, 0.3);
  outline-offset: 3px;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.94rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-strong);
  font-weight: 750;
}

.legal-page .section {
  padding-top: 72px;
}

.legal-layout {
  max-width: 820px;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 42px;
}

.legal-layout h1 {
  margin-bottom: 20px;
}

.legal-layout h2 {
  margin-top: 34px;
  font-size: 1.3rem;
}

.legal-layout p {
  color: var(--muted);
}

.notice {
  border-left: 4px solid var(--accent-warm);
  background: #fff3ef;
  border-radius: var(--radius);
  padding: 14px 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .split-layout,
  .contact-layout,
  .highlight-layout,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .cta-box .button {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }
}

@media (max-width: 740px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .js .site-nav {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: calc(100svh - 140px);
  }

  .hero-content,
  .page-hero-content {
    padding: 58px 0;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 62px 0;
  }

  .service-grid,
  .service-detail-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .detail-card,
  .process-grid article {
    min-height: auto;
  }

  .image-panel img {
    min-height: 260px;
  }

  .contact-form,
  .legal-layout {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0;
  }
}

@media (max-height: 620px) {
  .hero {
    min-height: auto;
  }
}

/* Modern refresh */
body {
  background:
    linear-gradient(180deg, #f5fbf8 0%, #ffffff 44%, #eef8f4 100%);
}

.site-header {
  border-bottom: 1px solid rgba(18, 48, 49, 0.08);
  box-shadow: 0 12px 30px rgba(18, 48, 49, 0.06);
}

.header-inner {
  gap: 18px;
}

.brand-mark {
  background: #123031;
  box-shadow: inset 0 -10px 18px rgba(0, 168, 120, 0.25);
}

.site-nav {
  margin-left: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 116px;
  min-height: 42px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #062322;
  padding: 9px 14px;
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-gold);
  color: #211816;
}

.language-link {
  border: 1px solid rgba(18, 48, 49, 0.12);
  background: #ffffff;
  min-width: 54px;
}

.site-nav .language-link:hover,
.site-nav .language-link.is-active {
  background: var(--accent-gold);
  color: #211816;
}

.hero {
  min-height: clamp(500px, 68svh, 640px);
  max-height: none;
  align-items: flex-end;
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 28, 29, 0.92), rgba(4, 28, 29, 0.68) 48%, rgba(4, 28, 29, 0.24)),
    linear-gradient(0deg, rgba(4, 28, 29, 0.7), rgba(4, 28, 29, 0.05) 45%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(243, 200, 75, 0.18) 42%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 62px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18));
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: heroGridSweep 18s linear infinite;
}

.hero-content {
  max-width: 920px;
  padding: 72px 0 56px;
  z-index: 3;
}

.page-hero-content {
  z-index: 3;
}

.hero h1 {
  max-width: 880px;
  font-size: 4.65rem;
}

.hero-subtitle {
  font-size: 1.45rem;
}

.hero-copy {
  max-width: 740px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.trust-strip span,
.trust-strip a {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  font-weight: 750;
  text-decoration: none;
}

.trust-strip a:hover,
.trust-strip a:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.button {
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.section-copy h2,
.proof-layout h2 {
  max-width: 760px;
}

.image-panel {
  position: relative;
  border: 1px solid rgba(18, 48, 49, 0.08);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 96px;
  height: 8px;
  border-radius: var(--radius);
  background: var(--accent-warm);
}

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

.service-card,
.detail-card,
.process-grid article,
.contact-method,
.contact-form,
.legal-layout {
  border-color: rgba(18, 48, 49, 0.1);
  box-shadow: 0 16px 45px rgba(18, 48, 49, 0.08);
}

.service-card,
.detail-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover,
.detail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 120, 0.34);
  box-shadow: 0 24px 55px rgba(18, 48, 49, 0.13);
}

.service-card-featured,
.detail-card-featured {
  background: #123031;
  color: #ffffff;
}

.service-card-featured p,
.service-card-featured a,
.detail-card-featured p,
.detail-card-featured li {
  color: rgba(255, 255, 255, 0.84);
}

.service-card-featured a {
  color: var(--accent-gold);
}

.service-card-featured .service-number,
.detail-card-featured .service-number {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold);
}

.proof-section {
  background: #123031;
  color: #ffffff;
}

.proof-section .eyebrow {
  color: var(--accent-gold);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.proof-grid {
  display: grid;
  gap: 14px;
}

.proof-grid article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.proof-grid strong {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.highlight-section {
  background: var(--accent-gold);
}

.page-hero {
  min-height: 340px;
}

.page-hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 28, 29, 0.9), rgba(4, 28, 29, 0.55) 58%, rgba(4, 28, 29, 0.18)),
    rgba(4, 28, 29, 0.16);
}

.service-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-card {
  min-height: 100%;
}

.process-grid article {
  background: #ffffff;
}

.cta-box {
  box-shadow: 0 24px 60px rgba(18, 48, 49, 0.18);
}

@media (max-width: 1120px) {
  .service-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .proof-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .site-nav {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-content {
    padding: 66px 0 52px;
  }

  .trust-strip {
    margin-top: 26px;
  }

  .service-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    grid-template-columns: 1fr;
  }
}

.brand-with-logo {
  min-width: 168px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: min(210px, 44vw);
  height: auto;
  transition: transform 160ms ease, filter 160ms ease;
}

.brand-with-logo:hover .brand-logo,
.brand-with-logo:focus-visible .brand-logo {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

.button-light {
  border-color: rgba(18, 48, 49, 0.14);
  background: #ffffff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--soft);
  color: var(--accent-strong);
}

.pricing-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #eef8f4 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgba(18, 48, 49, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(18, 48, 49, 0.09);
  padding: 28px;
}

.pricing-card-featured {
  background: #123031;
  color: #ffffff;
  transform: translateY(-10px);
}

.pricing-card-head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(18, 48, 49, 0.12);
}

.pricing-card-featured .pricing-card-head {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.pricing-kicker,
.ideal {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.pricing-card-featured .pricing-kicker,
.pricing-card-featured .ideal {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card h3 {
  margin-top: 8px;
  font-size: 1.7rem;
}

.price {
  margin: 16px 0 6px;
  color: var(--ink);
}

.price strong {
  font-size: 2.25rem;
  line-height: 1;
}

.pricing-card-featured .price {
  color: #ffffff;
}

.feature-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 24px;
  padding-left: 30px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing-card-featured .feature-list li {
  color: rgba(255, 255, 255, 0.84);
}

.pricing-card-featured .feature-list li::before {
  border-color: var(--accent-gold);
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: var(--radius);
  background: var(--accent-gold);
  color: #211816;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    transform: none;
  }
}

@media (max-width: 740px) {
  .brand-with-logo {
    min-width: 0;
  }

  .brand-logo {
    width: min(168px, 54vw);
  }

  .pricing-card {
    padding: 22px;
  }

  .plan-badge {
    position: static;
    justify-self: start;
    width: fit-content;
    margin-bottom: 14px;
  }
}

/* Service architecture refresh */
.section-heading-wide {
  max-width: 900px;
}

.service-overview-section {
  position: relative;
  overflow: hidden;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.solution-card,
.service-pillar,
.service-tile {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgba(18, 48, 49, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(18, 48, 49, 0.08);
  padding: 28px;
}

.service-tile {
  overflow: hidden;
  gap: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
}

.service-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 120, 0.32);
  box-shadow: 0 24px 58px rgba(18, 48, 49, 0.12);
}

.solution-card-primary,
.service-pillar-primary,
.service-tile-featured {
  background: #123031;
  color: #ffffff;
}

.service-tile-accent,
.service-pillar-accent {
  border-color: rgba(0, 168, 120, 0.28);
  background: #ffffff;
}

.solution-label {
  display: inline-flex;
  width: fit-content;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--accent-strong);
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.solution-card-primary .solution-label,
.service-pillar-primary .solution-label,
.service-tile-featured .solution-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold);
}

.service-tile-accent .solution-label,
.service-pillar-accent .solution-label {
  background: var(--soft);
  color: var(--accent-strong);
}

.solution-card h3,
.service-pillar h3,
.service-tile h3 {
  margin-top: 20px;
  font-size: 1.55rem;
}

.solution-card p,
.service-pillar p,
.service-tile p {
  color: var(--muted);
}

.solution-card-primary p,
.service-pillar-primary p,
.service-pillar-primary li,
.service-tile-featured p,
.service-tile-featured li {
  color: rgba(255, 255, 255, 0.84);
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.solution-tags span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #ffffff;
  padding: 7px 10px;
  font-weight: 800;
}

.compact-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.compact-list li {
  position: relative;
  color: var(--muted);
  padding-left: 20px;
}

.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.service-tile-featured .compact-list li {
  color: rgba(255, 255, 255, 0.84);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 850;
}

.solution-card-primary .text-link,
.service-pillar-primary .text-link,
.service-tile-featured .text-link {
  color: var(--accent-gold);
}

.service-map-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
}

.service-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 22px;
  align-items: stretch;
}

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

.capacity-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 168, 120, 0.24), transparent 42%),
    #123031;
  color: #ffffff;
}

.capacity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 36px;
  align-items: center;
}

.capacity-section .eyebrow {
  color: var(--accent-gold);
}

.capacity-section h2 {
  color: #ffffff;
}

.capacity-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.capacity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.capacity-tags span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 8px 11px;
  font-weight: 820;
}

.capacity-panel {
  display: grid;
  gap: 12px;
}

.capacity-panel article {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.capacity-panel strong {
  color: var(--accent-gold);
  font-size: 1.05rem;
}

.capacity-panel span {
  color: rgba(255, 255, 255, 0.82);
}

.mini-feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.mini-feature-grid div {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(18, 48, 49, 0.12);
  padding-top: 13px;
}

.mini-feature-grid strong {
  color: var(--ink);
}

.mini-feature-grid span {
  color: var(--muted);
}

.anchor-target {
  position: absolute;
  top: -96px;
}

@media (max-width: 1080px) {
  .solution-grid,
  .service-pillar-grid {
    grid-template-columns: 1fr;
  }

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

  .capacity-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .solution-card,
  .service-pillar,
  .service-tile {
    padding: 22px;
  }

  .solution-card h3,
  .service-pillar h3,
  .service-tile h3 {
    font-size: 1.35rem;
  }

  .service-catalog-grid,
  .service-directory-grid {
    grid-template-columns: 1fr;
  }

  .capacity-layout {
    gap: 24px;
  }

  .capacity-tags {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Animated brand field hero */
.home-hero,
.english-hero,
.services-hero,
.contact-hero {
  background:
    linear-gradient(118deg, rgba(255, 107, 74, 0.16), transparent 26%),
    linear-gradient(146deg, transparent 0 54%, rgba(243, 200, 75, 0.13) 55%, transparent 68%),
    linear-gradient(92deg, #123031 0%, #0c2829 48%, #0f3f39 100%);
  background-position: 50% 50%;
  background-size: 140% 140%, 160% 160%, auto;
  animation: brandFieldShift 18s ease-in-out infinite alternate;
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.82;
}

.hero-motion::before {
  content: "";
  position: absolute;
  inset: -16% -12%;
  background:
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(0, 168, 120, 0.16) 89px 91px, transparent 92px 156px),
    repeating-linear-gradient(0deg, transparent 0 70px, rgba(255, 255, 255, 0.08) 71px 72px, transparent 73px 132px);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 22%, #000000 100%);
  transform: translate3d(-42px, 0, 0);
  animation: signalGrid 22s linear infinite;
}

.hero-motion::after {
  content: "";
  position: absolute;
  inset: 0 -16%;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(255, 255, 255, 0.24) 19%, transparent 22% 58%, rgba(0, 168, 120, 0.22) 59%, transparent 64%),
    repeating-linear-gradient(135deg, transparent 0 54px, rgba(243, 200, 75, 0.09) 55px 56px, transparent 57px 112px);
  opacity: 0.54;
  transform: translate3d(-8%, 0, 0);
  animation: signalSweep 14s ease-in-out infinite alternate;
}

.motion-line {
  position: absolute;
  display: block;
  left: -22%;
  width: 36%;
  height: 2px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, transparent, rgba(243, 200, 75, 0.78), rgba(0, 168, 120, 0.82), transparent);
  filter: drop-shadow(0 0 10px rgba(0, 168, 120, 0.42));
  transform: translateX(-40%) skewX(-18deg);
  animation: motionLine 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.motion-line-one {
  top: 34%;
}

.motion-line-two {
  top: 52%;
  animation-delay: 2.2s;
  opacity: 0.76;
}

.motion-line-three {
  top: 68%;
  animation-delay: 4.6s;
  opacity: 0.58;
}

.hero-motion-compact {
  opacity: 0.58;
}

@keyframes brandFieldShift {
  0% {
    background-position: 0% 50%, 100% 42%, 50% 50%;
  }

  100% {
    background-position: 100% 46%, 0% 58%, 50% 50%;
  }
}

@keyframes heroGridSweep {
  0% {
    background-position: -28vw 0, 0 0, 0 0;
  }

  100% {
    background-position: 48vw 0, 78px 0, 0 62px;
  }
}

@keyframes signalGrid {
  0% {
    transform: translate3d(-48px, 0, 0);
  }

  100% {
    transform: translate3d(48px, -32px, 0);
  }
}

@keyframes signalSweep {
  0% {
    transform: translate3d(-10%, 0, 0);
    opacity: 0.42;
  }

  100% {
    transform: translate3d(8%, 0, 0);
    opacity: 0.64;
  }
}

@keyframes motionLine {
  0%,
  18% {
    transform: translateX(-35%) skewX(-18deg);
    opacity: 0;
  }

  28% {
    opacity: 0.9;
  }

  82% {
    opacity: 0.25;
  }

  100% {
    transform: translateX(310%) skewX(-18deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero,
  .english-hero,
  .services-hero,
  .contact-hero,
  .hero::after,
  .page-hero::after,
  .hero-motion::before,
  .hero-motion::after,
  .motion-line {
    animation: none;
  }

  .service-tile {
    transition: none;
  }

  .service-tile:hover {
    transform: none;
  }

  .hero-motion {
    opacity: 0.35;
  }
}

@media (max-width: 740px) {
  .home-hero,
  .english-hero,
  .services-hero,
  .contact-hero {
    background-size: 180% 180%, 180% 180%, auto;
    animation: none;
  }

  .hero-motion::after {
    opacity: 0.25;
  }

  .motion-line {
    width: 68%;
  }
}

/* Mobile touch polish */
@media (max-width: 740px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-bottom: 86px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    border-bottom-color: rgba(18, 48, 49, 0.12);
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand-logo {
    width: min(150px, 48vw);
  }

  .nav-toggle {
    min-width: 54px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 11px 14px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
    gap: 6px;
    max-height: calc(100dvh - 86px);
    overflow: auto;
    padding: 10px;
  }

  .site-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 1rem;
  }

  .header-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 80;
    display: flex;
    min-height: 56px;
    box-shadow: 0 18px 46px rgba(18, 48, 49, 0.24);
  }

  .hero {
    min-height: auto;
    align-items: center;
  }

  .hero-content {
    padding: 54px 0 44px;
  }

  .page-hero {
    min-height: 310px;
  }

  .page-hero-content {
    padding: 48px 0;
  }

  .hero h1,
  h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.52rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .hero-subtitle,
  .hero-copy,
  .section-copy p,
  .section-heading p,
  .contact-copy p,
  .cta-box p {
    font-size: 1rem;
  }

  .button-row {
    display: grid;
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 13px 16px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-strip span,
  .trust-strip a,
  .solution-tags span {
    text-align: center;
  }

  .section {
    padding: 54px 0;
  }

  .split-layout,
  .contact-layout {
    gap: 30px;
  }

  .image-panel img {
    min-height: 220px;
  }

  .solution-card,
  .service-pillar,
  .pricing-card,
  .detail-card,
  .process-grid article,
  .contact-method,
  .contact-form {
    box-shadow: 0 12px 32px rgba(18, 48, 49, 0.08);
  }

  .solution-card,
  .service-pillar,
  .pricing-card,
  .detail-card {
    padding: 20px;
  }

  .solution-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid,
  .service-pillar-grid,
  .service-catalog-grid,
  .solution-grid,
  .process-grid {
    gap: 14px;
  }

  .price strong {
    font-size: 1.9rem;
  }

  .feature-list {
    gap: 9px;
    margin: 20px 0 24px;
  }

  .contact-method {
    min-height: 72px;
  }

  input,
  select,
  textarea {
    min-height: 50px;
    font-size: 1rem;
  }

  textarea {
    min-height: 150px;
  }

  .consent {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .consent input {
    width: 22px;
    height: 22px;
  }

  .footer-inner {
    padding-bottom: 96px;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 132px;
  }

  .hero h1,
  h1 {
    font-size: 1.82rem;
  }

  .trust-strip,
  .solution-tags {
    grid-template-columns: 1fr;
  }
}

/* Language switch stability */
@media (min-width: 741px) {
  .hero-content {
    display: grid;
    min-height: 500px;
    align-content: end;
  }

  .hero .eyebrow {
    min-height: 1.25em;
  }

  .hero h1 {
    display: flex;
    min-height: 2.28em;
    align-items: flex-end;
  }

  .hero-subtitle {
    display: flex;
    min-height: 3.05em;
    align-items: flex-start;
  }

  .hero-copy {
    display: flex;
    min-height: 4.85em;
    align-items: flex-start;
  }

  .button-row .button {
    min-width: 190px;
  }

  .trust-strip a,
  .trust-strip span {
    min-width: 132px;
  }

  .intro-section .section-copy {
    display: flex;
    min-height: 292px;
    flex-direction: column;
    justify-content: center;
  }

  .service-overview-section .section-heading {
    min-height: 166px;
  }

  .service-tile {
    min-height: 390px;
  }

  .capacity-layout > div:first-child {
    min-height: 282px;
  }

  .pricing-section .section-heading {
    min-height: 146px;
  }

  .pricing-card-head {
    min-height: 176px;
  }

  .feature-list {
    min-height: 304px;
  }
}

@media (min-width: 741px) and (max-width: 980px) {
  .hero-content {
    min-height: 470px;
  }

  .hero h1 {
    min-height: 2.32em;
  }

  .service-tile,
  .pricing-card-head,
  .feature-list {
    min-height: 0;
  }
}

@media (max-height: 700px) and (min-width: 741px) {
  .hero-content {
    min-height: auto;
  }
}

@media (max-width: 740px) {
  .brand {
    min-width: 0;
  }

  .site-nav {
    flex: initial;
    justify-content: flex-start;
  }

  .site-nav a,
  .site-nav a:nth-child(2),
  .site-nav .language-link {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    text-align: left;
    white-space: normal;
  }

  .header-cta {
    flex: none;
    width: auto;
  }

  .hero-content,
  .hero h1,
  .hero-subtitle,
  .hero-copy,
  .intro-section .section-copy,
  .service-overview-section .section-heading,
  .capacity-layout > div:first-child,
  .pricing-section .section-heading,
  .pricing-card-head,
  .feature-list,
  .service-tile {
    min-height: 0;
  }

  .hero-content,
  .hero h1,
  .hero-subtitle,
  .hero-copy {
    display: block;
  }

  .button-row .button,
  .trust-strip a,
  .trust-strip span {
    min-width: 0;
  }
}

/* ── New footer layout ─────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand {
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-tagline {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent-strong);
}

.footer-lang {
  margin-top: 6px;
  font-weight: 750;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
}

.footer-bottom nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 44px 0 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 100px;
  }
}

/* ── Trust stats bar ───────────────────────────────────── */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-stat strong {
  color: var(--accent-gold);
  font-size: 1.65rem;
  line-height: 1;
}

.trust-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
}

.proof-intro {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1rem !important;
}

@media (max-width: 980px) {
  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .trust-stats {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
}

/* ── CTA section ───────────────────────────────────────── */
.cta-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  padding: 42px;
  box-shadow: 0 24px 60px rgba(18, 48, 49, 0.18);
}

.cta-box h2 {
  font-size: 1.75rem;
  margin: 0;
}

.cta-box p {
  grid-column: 1;
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-box .button {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

@media (max-width: 740px) {
  .cta-box {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 16px;
  }

  .cta-box .button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
}

/* ── Form status states ────────────────────────────────── */
.form-status.is-success {
  color: var(--accent-strong);
}

.form-status.is-error {
  color: #c0392b;
}

/* ── Dark Mode ─────────────────────────────────────────────────────────────── */

[data-theme="dark"] {
  --ink:          #dff0ed;
  --muted:        #7eb8b2;
  --paper:        #0d2122;
  --surface:      #122829;
  --soft:         #1a3637;
  --line:         #1e3d3e;
  --accent:       #00c49a;
  --accent-strong:#00a07e;
  --shadow:       0 18px 50px rgba(0,0,0,0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:          #dff0ed;
    --muted:        #7eb8b2;
    --paper:        #0d2122;
    --surface:      #122829;
    --soft:         #1a3637;
    --line:         #1e3d3e;
    --accent:       #00c49a;
    --accent-strong:#00a07e;
    --shadow:       0 18px 50px rgba(0,0,0,0.45);
  }
}

/* Body background */
[data-theme="dark"] body,
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body }
[data-theme="dark"] body {
  background: linear-gradient(180deg, #0d2122 0%, #0f2728 44%, #0b1e1f 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body {
    background: linear-gradient(180deg, #0d2122 0%, #0f2728 44%, #0b1e1f 100%);
  }
}

/* Header */
[data-theme="dark"] .site-header,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header {
    background: rgba(13,33,34,0.96);
    border-bottom-color: rgba(255,255,255,0.07);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
}
[data-theme="dark"] .site-header {
  background: rgba(13,33,34,0.96);
  border-bottom-color: rgba(255,255,255,0.07);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Brand mark text */
[data-theme="dark"] .brand-mark {
  background: rgba(255,255,255,0.1);
  box-shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark {
    background: rgba(255,255,255,0.1);
    box-shadow: none;
  }
}

/* Nav toggle */
[data-theme="dark"] .nav-toggle {
  background: var(--surface);
  border-color: var(--line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-toggle {
    background: var(--surface);
    border-color: var(--line);
  }
}

/* Mobile nav dropdown */
[data-theme="dark"] .js .site-nav,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .js .site-nav { background: #0d2122; }
}
[data-theme="dark"] .js .site-nav { background: #0d2122; }

/* Surface sections */
[data-theme="dark"] .surface-section {
  background: var(--surface);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .surface-section { background: var(--surface); }
}

/* White cards → dark surface */
[data-theme="dark"] .service-card,
[data-theme="dark"] .detail-card,
[data-theme="dark"] .process-grid article,
[data-theme="dark"] .contact-method,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .legal-layout,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .solution-card,
[data-theme="dark"] .service-tile,
[data-theme="dark"] .service-pillar,
[data-theme="dark"] .capacity-panel article {
  background: var(--surface);
  border-color: var(--line);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .service-card,
  :root:not([data-theme="light"]) .detail-card,
  :root:not([data-theme="light"]) .process-grid article,
  :root:not([data-theme="light"]) .contact-method,
  :root:not([data-theme="light"]) .contact-form,
  :root:not([data-theme="light"]) .legal-layout,
  :root:not([data-theme="light"]) .pricing-card,
  :root:not([data-theme="light"]) .solution-card,
  :root:not([data-theme="light"]) .service-tile,
  :root:not([data-theme="light"]) .service-pillar,
  :root:not([data-theme="light"]) .capacity-panel article {
    background: var(--surface);
    border-color: var(--line);
  }
}

/* Pricing section background */
[data-theme="dark"] .pricing-section {
  background: linear-gradient(180deg, #0d2122 0%, #0a1c1d 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pricing-section {
    background: linear-gradient(180deg, #0d2122 0%, #0a1c1d 100%);
  }
}

/* Featured pricing card stays dark but lighter */
[data-theme="dark"] .pricing-card-featured {
  background: #1a3e3f;
  border-color: rgba(0,196,154,0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pricing-card-featured {
    background: #1a3e3f;
    border-color: rgba(0,196,154,0.3);
  }
}

/* Featured service tile stays dark */
[data-theme="dark"] .service-tile-featured,
[data-theme="dark"] .service-pillar-primary,
[data-theme="dark"] .solution-card-primary {
  background: #1a3e3f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .service-tile-featured,
  :root:not([data-theme="light"]) .service-pillar-primary,
  :root:not([data-theme="light"]) .solution-card-primary {
    background: #1a3e3f;
  }
}

/* Form inputs */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) input,
  :root:not([data-theme="light"]) select,
  :root:not([data-theme="light"]) textarea {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
  }
}

/* Service map section */
[data-theme="dark"] .service-map-section {
  background: linear-gradient(180deg, #0d2122 0%, #0f2a2b 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .service-map-section {
    background: linear-gradient(180deg, #0d2122 0%, #0f2a2b 100%);
  }
}

/* Footer */
[data-theme="dark"] .site-footer {
  background: #0a1b1c;
  border-top-color: var(--line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer {
    background: #0a1b1c;
    border-top-color: var(--line);
  }
}

/* Button light in dark mode */
[data-theme="dark"] .button-light {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .button-light {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
  }
}

/* Language link */
[data-theme="dark"] .language-link {
  background: var(--surface);
  border-color: var(--line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .language-link {
    background: var(--surface);
    border-color: var(--line);
  }
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover {
  background: var(--soft);
  border-color: var(--accent);
}

.theme-toggle:focus {
  outline: 3px solid rgba(0,168,120,0.3);
  outline-offset: 3px;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Show correct icon per mode */
.icon-sun  { display: none; }
.icon-moon { display: block; }

[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun  { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

/* ── CTA box dark mode fix ─────────────────────────────────────────────────── */
/* CTA box uses --ink as background, which inverts in dark mode.
   Pin it to a fixed dark colour that works in both modes. */
.cta-box {
  background: #123031;
}

[data-theme="dark"] .cta-box {
  background: #1c4445;
  border: 1px solid rgba(0,196,154,0.25);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta-box {
    background: #1c4445;
    border: 1px solid rgba(0,196,154,0.25);
  }
}

.cta-box h2,
.cta-box p {
  color: inherit;
}

.cta-box h2 { color: #ffffff; }
.cta-box p  { color: rgba(255,255,255,0.75); }

/* ── Accent tile dark mode ─────────────────────────────────────────────────── */
[data-theme="dark"] .service-tile-accent,
[data-theme="dark"] .service-pillar-accent {
  background: var(--surface);
  border-color: rgba(0, 196, 154, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .service-tile-accent,
  :root:not([data-theme="light"]) .service-pillar-accent {
    background: var(--surface);
    border-color: rgba(0, 196, 154, 0.28);
  }
}

/* ── Mobile header fix ─────────────────────────────────────────────────────── */
@media (max-width: 740px) {
  /* Ensure header is always visible with solid bg */
  .site-header {
    background: rgba(255,255,255,0.98) !important;
    border-bottom: 1px solid rgba(18,48,49,0.1) !important;
    box-shadow: 0 2px 12px rgba(18,48,49,0.08) !important;
  }

  [data-theme="dark"] .site-header {
    background: rgba(13,33,34,0.98) !important;
    border-bottom-color: rgba(255,255,255,0.08) !important;
  }

  /* Header inner: brand left, toggle + menu right, no gap issues */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
    min-height: 60px;
  }

  /* Brand stays left, never shrinks */
  .brand,
  .brand-with-logo {
    flex: 0 0 auto;
    min-width: 0;
  }

  /* Theme toggle sits right of brand mark, before hamburger */
  .theme-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  /* Hamburger */
  .nav-toggle {
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
  }

  /* CTA "Anfragen" button: fixed bottom bar full width */
  .header-cta {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto !important;
    min-height: 52px !important;
    z-index: 90 !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    box-shadow: 0 8px 24px rgba(18,48,49,0.28) !important;
  }

  /* Room for fixed bottom button */
  body {
    padding-bottom: 80px;
  }

  /* Nav dropdown full width below header */
  .site-nav {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    box-shadow: 0 8px 24px rgba(18,48,49,0.12) !important;
  }

  [data-theme="dark"] .site-nav {
    background: #0d2122 !important;
    border-bottom-color: rgba(255,255,255,0.08) !important;
  }
}

/* ── Mini pricing stack (Dienstleistungen Managed IT section) ──────────────── */
.mini-pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.mini-pricing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(18,48,49,0.06);
}

.mini-pricing-featured {
  border-color: var(--accent);
  background: var(--soft);
}

.mini-pricing-left strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.mini-pricing-left span {
  font-size: 0.82rem;
  color: var(--muted);
}

.mini-pricing-right {
  text-align: right;
  flex-shrink: 0;
}

.mini-pricing-right strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.mini-pricing-right a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
}

[data-theme="dark"] .mini-pricing-card {
  background: var(--surface);
  border-color: var(--line);
}

[data-theme="dark"] .mini-pricing-featured {
  background: rgba(0,196,154,0.1);
  border-color: var(--accent);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mini-pricing-card {
    background: var(--surface);
    border-color: var(--line);
  }
  :root:not([data-theme="light"]) .mini-pricing-featured {
    background: rgba(0,196,154,0.1);
    border-color: var(--accent);
  }
}

/* ── Theme toggle — always right of nav, left of CTA ──────────────────────── */
.theme-toggle {
  order: 1;
  margin-left: 0;
}

/* Language link — give room for flag emoji */
.language-link {
  min-width: 64px !important;
}


