:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #eef2f8;
  --text: #0f172a;
  --muted: #4b5563;
  --accent: #1f3a68;
  --accent-strong: #0f2c52;
  --accent-light: #c7d4eb;
  --accent-warm: #c8923a;
  --line: #d9e0ec;
  --radius-large: 26px;
  --radius-medium: 18px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.08);
  --shadow-ghost: 0 12px 26px rgba(15, 23, 42, 0.08);
  --shadow-header: 0 18px 36px rgba(15, 23, 42, 0.06);
  --content-max: 1320px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --transition: 220ms ease;
  --theme-light-bg-radial-1: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  --theme-light-bg-radial-2: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  --theme-light-bg-linear: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  --theme-light-bg: #ffffff;
  --theme-light-bg-overlay: radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0), transparent 38%);
  --theme-light-text: #0f172a;
  --theme-light-muted: #4b5563;
  --theme-light-border: #d9e0ec;
  --theme-light-card-bg: #ffffff;
  --theme-light-card-border: rgba(217, 224, 236, 0.8);
  --theme-light-card-shadow: var(--shadow-card);
  --theme-light-stat-bg: #f0f4ff;
  --theme-light-stat-border: rgba(217, 224, 236, 0.9);
  --theme-light-stat-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  --theme-light-toggle-bg: #ffffff;
  --theme-light-toggle-border: var(--accent-light);
  --theme-light-toggle-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
  --theme-light-toggle-color: var(--accent);
  --theme-light-toggle-strong: var(--accent-strong);
  --theme-light-panel-bg: #ffffff;
  --theme-light-panel-border: rgba(217, 224, 236, 0.7);
  --theme-light-panel-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
  --theme-dark-bg: #1C2A24;
  --theme-dark-bg-soft: #263832;
  --theme-dark-bg-gradient: linear-gradient(120deg, #263832 0%, #1C2A24 100%);
  --theme-dark-text: #FFFFFF;
  --theme-dark-muted: rgba(255, 255, 255, 0.84);
  --theme-dark-border: rgba(255, 255, 255, 0.18);
  --theme-dark-card-bg: rgba(255, 255, 255, 0.10);
  --theme-dark-card-border: rgba(255, 255, 255, 0.16);
  --theme-dark-card-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  --theme-dark-stat-bg: rgba(255, 255, 255, 0.10);
  --theme-dark-stat-border: rgba(255, 255, 255, 0.16);
  --theme-dark-stat-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
  --theme-dark-toggle-bg: rgba(255, 255, 255, 0.10);
  --theme-dark-toggle-border: rgba(255, 255, 255, 0.22);
  --theme-dark-toggle-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
  --theme-dark-toggle-color: rgba(255, 255, 255, 0.92);
  --theme-dark-toggle-strong: #FFFFFF;
  --theme-dark-bg-overlay: radial-gradient(circle at 14% 20%, rgba(216, 200, 170, 0.12), transparent 40%);
  --panel-frosted: rgba(255, 255, 255, 0.9);
  --panel-frosted-strong: rgba(255, 255, 255, 0.95);
  --accent-warm-soft: rgba(200, 146, 58, 0.12);
  --accent-warm-border: rgba(200, 146, 58, 0.22);
}

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

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  background:
    var(--theme-light-bg-radial-1),
    var(--theme-light-bg-radial-2),
    var(--theme-light-bg-linear);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.layout-inner {
  width: min(var(--content-max), calc(100% - var(--space-5) * 2));
  margin: 0 auto;
  padding-inline: var(--space-5);
}

@media (min-width: 1024px) {
  .layout-inner {
    width: min(var(--content-max), calc(100% - var(--space-4) * 2));
    padding-inline: var(--space-4);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

#app {
  width: 100%;
}

.article-page {
  background:
    var(--theme-light-bg-radial-1),
    var(--theme-light-bg-radial-2),
    var(--theme-light-bg-linear);
  color: var(--text);
}

.page-shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: 0 0 var(--space-7);
}

main {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.theme-light {
  --section-bg: var(--theme-light-bg);
  --section-overlay: var(--theme-light-bg-overlay);
  --section-text: var(--theme-light-text);
  --section-muted: var(--theme-light-muted);
  --section-border: var(--theme-light-border);
  --section-card-bg: var(--theme-light-card-bg);
  --section-card-border: var(--theme-light-card-border);
  --section-card-shadow: var(--theme-light-card-shadow);
  --section-stat-bg: var(--theme-light-stat-bg);
  --section-stat-border: var(--theme-light-stat-border);
  --section-stat-shadow: var(--theme-light-stat-shadow);
  --section-toggle-bg: var(--theme-light-toggle-bg);
  --section-toggle-border: var(--theme-light-toggle-border);
  --section-toggle-shadow: var(--theme-light-toggle-shadow);
  --section-toggle-color: var(--theme-light-toggle-color);
  --section-toggle-strong: var(--theme-light-toggle-strong);
}

.theme-dark {
  --section-bg: var(--theme-dark-bg-gradient);
  --section-overlay: var(--theme-dark-bg-overlay);
  --section-text: var(--theme-dark-text);
  --section-muted: var(--theme-dark-muted);
  --section-border: var(--theme-dark-border);
  --section-card-bg: var(--theme-dark-card-bg);
  --section-card-border: var(--theme-dark-card-border);
  --section-card-shadow: var(--theme-dark-card-shadow);
  --section-stat-bg: var(--theme-dark-stat-bg);
  --section-stat-border: var(--theme-dark-stat-border);
  --section-stat-shadow: var(--theme-dark-stat-shadow);
  --section-toggle-bg: var(--theme-dark-toggle-bg);
  --section-toggle-border: var(--theme-dark-toggle-border);
  --section-toggle-shadow: var(--theme-dark-toggle-shadow);
  --section-toggle-color: var(--theme-dark-toggle-color);
  --section-toggle-strong: var(--theme-dark-toggle-strong);
}

.content-section {
  --section-bg: var(--theme-light-bg);
  --section-overlay: var(--theme-light-bg-overlay);
  --section-text: var(--theme-light-text);
  --section-muted: var(--theme-light-muted);
  --section-border: var(--theme-light-border);
  --section-card-bg: var(--theme-light-card-bg);
  --section-card-border: var(--theme-light-card-border);
  --section-card-shadow: var(--theme-light-card-shadow);
  --section-stat-bg: var(--theme-light-stat-bg);
  --section-stat-border: var(--theme-light-stat-border);
  --section-stat-shadow: var(--theme-light-stat-shadow);
  --section-toggle-bg: var(--theme-light-toggle-bg);
  --section-toggle-border: var(--theme-light-toggle-border);
  --section-toggle-shadow: var(--theme-light-toggle-shadow);
  --section-toggle-color: var(--theme-light-toggle-color);
  --section-toggle-strong: var(--theme-light-toggle-strong);
}

.content-section:nth-of-type(even) {
  --section-bg: var(--theme-dark-bg-gradient);
  --section-overlay: var(--theme-dark-bg-overlay);
  --section-text: var(--theme-dark-text);
  --section-muted: var(--theme-dark-muted);
  --section-border: var(--theme-dark-border);
  --section-card-bg: var(--theme-dark-card-bg);
  --section-card-border: var(--theme-dark-card-border);
  --section-card-shadow: var(--theme-dark-card-shadow);
  --section-stat-bg: var(--theme-dark-stat-bg);
  --section-stat-border: var(--theme-dark-stat-border);
  --section-stat-shadow: var(--theme-dark-stat-shadow);
  --section-toggle-bg: var(--theme-dark-toggle-bg);
  --section-toggle-border: var(--theme-dark-toggle-border);
  --section-toggle-shadow: var(--theme-dark-toggle-shadow);
  --section-toggle-color: var(--theme-dark-toggle-color);
  --section-toggle-strong: var(--theme-dark-toggle-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--panel-frosted);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-header);
  padding: var(--space-2) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  position: relative;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.menu-toggle {
  height: 38px;
  width: 38px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--section-border, var(--line));
  background: var(--section-card-bg, var(--surface));
  box-shadow: var(--section-card-shadow, var(--shadow-card));
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--section-text, var(--text));
  border-radius: 1px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-ghost);
  outline: none;
}

.brand {
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  color: var(--text);
  text-decoration: none;
}

.article-hero {
  padding: var(--space-5) 0 var(--space-4);
  background: var(--section-bg);
}

.article-hero__inner {
  display: grid;
  gap: var(--space-2);
}

.eyebrow {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--section-muted);
  margin: 0 0 var(--space-1) 0;
}

.article-hero__title {
  margin: 0;
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--section-text, var(--text));
  margin-bottom: var(--space-2);
}

.article-hero__subtitle {
  margin: 0 0 var(--space-2) 0;
  color: var(--section-muted, var(--muted));
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 68ch;
}

.article-meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
  color: var(--section-muted, var(--muted));
  font-size: 0.98rem;
  margin: 0;
}

.article-body {
  padding: var(--space-6) 0 var(--space-7);
  background: var(--section-bg);
}

.article-page main {
  gap: var(--space-3);
}

.article-page .article-section {
  padding-bottom: var(--space-2);
}

.article-page .article-body {
  padding-top: var(--space-2);
}
.article-container {
  display: grid;
  gap: var(--space-4);
  width: 100%;
}

.article-container--hero {
  max-width: min(80vw, var(--content-max));
}

.article-container--body {
  max-width: min(80vw, var(--content-max));
}

.article-container > * {
  margin: 0;
}

.article-hero-block {
  display: grid;
  gap: var(--space-2);
  max-width: 120ch;
  width: 100%;
}

.article-body-block {
  display: grid;
  gap: var(--space-3);
  max-width: 120ch;
  width: 100%;
}

.article-container h1,
.article-container h2,
.article-container h3 {
  margin: 0;
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  color: var(--section-text, var(--text));
}

.article-container h1 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.article-container h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  line-height: 1.24;
}

.article-container h3 {
  font-size: 1.2rem;
  line-height: 1.24;
}

.article-container p,
.article-container ul,
.article-container blockquote {
  margin: 0;
  color: var(--section-text, var(--text));
  line-height: 1.75;
}

.article-container ul {
  padding-left: var(--space-4);
  display: grid;
  gap: var(--space-1);
}

.article-container blockquote {
  padding: var(--space-3);
  border-left: 3px solid var(--accent-light);
  background: var(--section-card-bg);
  color: var(--section-muted, var(--muted));
  font-style: italic;
}

.article-divider {
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: var(--space-4) 0;
}

.article-footer-meta {
  display: grid;
  gap: var(--space-2);
  align-items: start;
}

.article-author__name {
  font-weight: 700;
  color: var(--section-text, var(--text));
}

.article-author__note {
  color: var(--section-muted, var(--muted));
  line-height: 1.6;
}

.article-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--section-card-border, var(--section-border));
  border-radius: 14px;
  background: var(--section-card-bg);
  color: var(--section-text);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--section-card-shadow);
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.tag-pill:hover,
.tag-pill:focus-visible {
  color: var(--section-text);
  border-color: var(--section-border);
  box-shadow: var(--section-card-shadow);
  background: var(--section-card-bg);
  transform: translateY(-1px);
  outline: none;
}

.section.theme-dark .tag-pill {
  background: var(--section-stat-bg, var(--section-card-bg));
  border-color: var(--section-border);
  color: var(--section-text);
  box-shadow: var(--section-card-shadow);
}

.section.theme-dark .tag-pill:hover,
.section.theme-dark .tag-pill:focus-visible {
  color: var(--section-text);
  border-color: var(--section-border);
  background: var(--section-stat-bg, var(--section-card-bg));
  box-shadow: var(--section-card-shadow);
}

.article-nav {
  margin-top: var(--space-4);
}

.article-nav__link {
  color: var(--section-muted, var(--muted));
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.article-nav__link:hover,
.article-nav__link:focus-visible {
  color: var(--section-text, var(--text));
  opacity: 0.9;
  outline: none;
}

.article-hero-block .article-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--section-border);
  border-radius: var(--radius-medium);
  background: var(--section-card-bg);
  color: var(--section-text);
  box-shadow: var(--section-card-shadow);
}

.article-hero-block .article-nav__link:hover,
.article-hero-block .article-nav__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--section-card-shadow);
  border-color: var(--accent-light);
  color: var(--section-text);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1;
}

.nav-link {
  padding: calc(var(--space-2) - 2px) var(--space-3);
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  color: var(--muted);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent-strong);
  border-color: var(--theme-light-border);
  background: var(--surface);
  box-shadow: var(--shadow-ghost);
  transform: translateY(-2px);
  outline: none;
}

.hero {
  position: relative;
  padding: var(--space-7) 0;
  overflow: hidden;
  background: var(--section-bg);
  color: var(--section-text);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - var(--space-5) * 2));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: var(--space-5);
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-1) 0 var(--space-2);
}

.badge {
  display: none;
}

.lang-switch {
  position: absolute;
  top: 50%;
  right: var(--space-5);
  transform: translateY(-50%);
  display: inline-flex;
  z-index: 2;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: auto;
  padding: 0 var(--space-1);
  border: none;
  background: transparent;
  color: var(--section-text, var(--text));
  font-weight: 600;
  box-shadow: none;
  transition: color var(--transition), opacity var(--transition);
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  color: var(--theme-dark-text);
  font-size: 1.05em;
  outline: none;
}

.lang-switch__icon {
  width: 18px;
  height: 18px;
}

.footer-lang .lang-switch {
  position: static;
  top: auto;
  right: auto;
  transform: none;
  display: inline-flex !important;
  gap: var(--space-1);
}

/* simplify language dropdown */

.lang-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--section-border, var(--line));
  background: var(--section-card-bg, var(--surface));
  color: var(--section-text, var(--text));
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--section-card-shadow, var(--shadow-card));
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
  font-size: 1rem;
  align-items: center;
  justify-content: center;
}

.lang-toggle-btn:hover,
.lang-toggle-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-ghost);
  outline: none;
}

.lang-switch {
  display: inline-flex;
  gap: var(--space-1);
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .lang-switch__item,
  .lang-switch.is-open .lang-switch__item,
  .lang-switch__btn,
  .lang-switch__menu {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.eyebrow {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.hero h1 {
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.18;
  margin: 0;
  letter-spacing: 0.2px;
  color: var(--section-text);
}

.hero p {
  color: var(--section-muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.75;
  max-width: 62ch;
}

.hero-ctas {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding-top: var(--space-1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--theme-dark-text);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent-strong);
  border: 1px solid var(--theme-light-border);
  box-shadow: var(--shadow-card);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--accent);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  outline: none;
}

.theme-light .btn,
.theme-light .btn-secondary {
  color: var(--section-text);
}

.theme-light .btn-secondary:hover,
.theme-light .btn-secondary:focus-visible {
  color: var(--section-text);
}

.article-list-page .article-hero-block {
  transform: translateY(-30%);
}

.hero-aside {
  background: transparent;
  border-radius: var(--radius-large);
  padding: 0;
  display: grid;
  gap: var(--space-2);
  align-content: start;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-medium);
  background: var(--section-stat-bg);
  color: var(--section-text);
  font-weight: 600;
  border: 1px solid var(--section-stat-border);
  box-shadow: var(--section-stat-shadow);
}

.section {
  position: relative;
  padding: var(--space-7) 0;
  background: var(--section-bg);
  color: var(--section-text);
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--section-overlay);
  opacity: 0.7;
  pointer-events: none;
}

.section-inner,
.header-inner {
  display: grid;
  gap: var(--space-4);
}

.about-copy {
  display: grid;
  gap: var(--space-2);
  max-width: 70ch;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  max-width: 62ch;
}

.section-title {
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin: 0;
  color: var(--section-text);
  letter-spacing: 0.1px;
}

.section-subtitle {
  margin: 0;
  color: var(--section-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.blog-content {
  display: grid;
  gap: var(--space-3);
}

.blog-empty {
  margin: 0;
  padding: var(--space-4);
  border: 1px solid var(--section-border);
  border-radius: var(--radius-medium);
  background: var(--section-card-bg);
  color: var(--section-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.disclaimer .section-title {
  font-size: 1.05rem;
  color: var(--section-muted);
  letter-spacing: 0;
}

.disclaimer-content {
  display: grid;
  gap: var(--space-2);
}

.disclaimer-text {
  margin: 0;
  color: var(--section-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.service-grid,
.offerings-grid,
.reason-grid {
  display: grid;
  gap: var(--space-3);
}

.blog-section .services-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  -webkit-overflow-scrolling: touch;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 1fr;
}

.service-grid .card {
  height: 100%;
}

.offerings-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.reason-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--section-card-bg);
  border: 1px solid var(--section-card-border);
  border-radius: var(--radius-medium);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
  box-shadow: var(--section-card-shadow);
  backdrop-filter: blur(3px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--section-card-shadow);
  border-color: var(--section-border);
}

.service-card {
  box-shadow: var(--section-card-shadow);
}

.service-card h3,
.offering-card h3,
.reason-card h3 {
  margin: 0;
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  font-size: 1.12rem;
  color: var(--section-text);
}

.service-card p,
.offering-card p,
.reason-card p {
  margin: 0;
  color: var(--section-muted);
  line-height: 1.6;
}

.service-card h3 {
  font-size: 1.18rem;
}

.service-card p {
  font-size: 1.02rem;
}

.learn-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--section-toggle-color);
  border-color: var(--section-toggle-border);
  background: var(--section-toggle-bg);
  box-shadow: var(--section-toggle-shadow);
  font-weight: 600;
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
  border-radius: 12px;
  transition: transform var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.learn-toggle:hover,
.learn-toggle:focus-visible {
  color: var(--section-toggle-strong);
  border-color: var(--section-toggle-border);
  box-shadow: var(--section-toggle-shadow);
  transform: translateY(-1px);
  outline: none;
}

.service-more {
  display: none;
  color: var(--section-muted);
  border-top: 1px solid var(--section-border);
  padding-top: var(--space-2);
  margin-top: var(--space-2);
  line-height: 1.65;
}

.service-card.is-expanded .service-more {
  display: block;
}

.offering-card {
  padding: var(--space-3);
}

.reason-card {
  padding: var(--space-3);
}

.reason-card h3 {
  font-size: 1.08rem;
  letter-spacing: 0.1px;
}

.reason-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact {
  position: relative;
  padding: var(--space-6) 0;
  background: linear-gradient(120deg, var(--panel-frosted-strong), var(--theme-light-bg));
}

.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--theme-light-bg-overlay);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr);
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--panel-frosted);
  border-radius: var(--radius-large);
  border: 1px solid var(--theme-light-panel-border);
  box-shadow: var(--theme-light-panel-shadow);
}

.contact .copy h3 {
  margin: 0 0 var(--space-2);
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  font-size: 1.4rem;
}

.contact .copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 58ch;
}

.contact .action {
  justify-self: end;
}

.contact .btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3) var(--space-4);
}

.contact .btn-primary:hover,
.contact .btn-primary:focus-visible {
  box-shadow: var(--shadow-soft);
}

.list-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--accent-warm-soft);
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid var(--accent-warm-border);
  font-weight: 600;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: var(--space-3) 0 var(--space-2);
}

.site-footer {
  --section-bg: var(--theme-dark-bg-gradient);
  --section-overlay: var(--theme-dark-bg-overlay);
  --section-text: var(--theme-dark-text);
  --section-muted: var(--theme-dark-muted);
  --section-border: var(--theme-dark-border);
  --section-card-bg: var(--theme-dark-card-bg);
  --section-card-border: var(--theme-dark-card-border);
  --section-card-shadow: var(--theme-dark-card-shadow);
  --section-stat-bg: var(--theme-dark-stat-bg);
  --section-stat-border: var(--theme-dark-stat-border);
  --section-stat-shadow: var(--theme-dark-stat-shadow);
  --section-toggle-bg: var(--theme-dark-toggle-bg);
  --section-toggle-border: var(--theme-dark-toggle-border);
  --section-toggle-shadow: var(--theme-dark-toggle-shadow);
  --section-toggle-color: var(--theme-dark-toggle-color);
  --section-toggle-strong: var(--theme-dark-toggle-strong);
  background: var(--section-bg);
  color: var(--section-text);
  padding: var(--space-6) 0;
}

.footer-inner {
  display: grid;
  gap: var(--space-2);
}

.footer-company {
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1rem;
  color: var(--section-text);
}

.footer-text {
  margin: 0;
  color: var(--section-muted);
  line-height: 1.6;
  max-width: 68ch;
}

.footer-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
  width: 100%;
}

.footer-lang {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  align-self: flex-start;
}

.footer-nav-link {
  color: var(--section-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition), opacity var(--transition);
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: var(--section-text);
  opacity: 0.9;
  outline: none;
}

.footer-link {
  color: var(--section-text);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--section-muted);
  opacity: 0.9;
  outline: none;
}

.footer-copy {
  color: var(--section-muted);
  font-size: 0.95rem;
}

@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .layout-inner {
    padding-inline: var(--space-4);
  }

  .lang-switch {
    right: var(--space-4);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .nav-shell {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .nav-actions {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .nav-links {
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    gap: var(--space-1);
  }

  .lang-switch {
    position: relative;
    right: auto;
    margin-left: 0;
  }

  .hero,
  .section,
  .contact {
    padding: var(--space-6) 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .contact .action {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    gap: var(--space-6);
  }

  main {
    gap: var(--space-6);
  }

  .layout-inner {
    padding-inline: var(--space-3);
  }

  .lang-switch {
    right: var(--space-3);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.3rem);
  }

  .btn {
    width: auto;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .nav-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
    gap: var(--space-2);
    width: 100%;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .nav-actions {
    grid-area: nav;
    display: grid;
    grid-template-areas:
      "navlinks"
      "lang";
    row-gap: var(--space-2);
    min-width: 0;
    width: 100%;
  }

  .nav-links {
    grid-area: navlinks;
    flex-wrap: wrap;
    gap: var(--space-1);
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .lang-toggle-btn {
    grid-area: lang;
    align-self: start;
  }

  .lang-switch {
    grid-area: lang;
    justify-self: start;
    white-space: nowrap;
    min-width: 0;
    position: static;
    top: auto;
    right: auto;
    transform: none;
    margin-left: 0;
    margin-top: var(--space-1);
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner,
  .card,
  .contact-inner {
    animation: riseIn 0.8s ease both;
  }

  .card:nth-child(2n) {
    animation-delay: 0.08s;
  }

  .card:nth-child(3n) {
    animation-delay: 0.12s;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
