:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --text: #172026;
  --muted: #5d6872;
  --line: #ded8ce;
  --accent: #1d4f5f;
  --accent-dark: #123642;
  --accent-soft: #e2eff0;
  --shadow: 0 18px 50px rgba(23, 32, 38, 0.10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--accent-dark);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #d4902f;
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  letter-spacing: -0.04em;
}

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

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-weight: 650;
  color: var(--muted);
}

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

.language-switcher {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--accent);
  color: white;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  font-size: 1.4rem;
  padding: 6px 10px;
}

.hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  padding: 84px 0 70px;
}

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

h1, h2, h3, h4, h5, p {
  margin-top: 0;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  margin-bottom: 28px;
  max-width: 900px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--accent);
}

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

.btn.secondary {
  color: var(--accent);
  background: transparent;
}

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

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.hero-card li:last-child {
  border-bottom: 0;
}

.intro-section,
.services-section,
.about-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0;
}

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

.section-heading h2,
.about-card h2,
.contact-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.section-heading p,
.about-card p,
.contact-content p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 10px 26px rgba(23, 32, 38, 0.06);
}

.service-card.full-width {
  grid-column: 1 / -1;
}

.service-number {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  display: inline-flex;
  padding: 6px 12px;
  font-weight: 850;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.service-card h4 {
  color: var(--accent);
  margin-bottom: 16px;
}

.service-for {
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 24px;
}

.service-block {
  margin-bottom: 22px;
}

.service-block h5 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.service-block ul {
  padding-left: 20px;
  margin: 0;
}

.service-block li {
  margin-bottom: 8px;
}

.outcome {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.meta-row > span {
  background: var(--accent-dark);
  color: white;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.92rem;
}

.meta-row.vertical {
  flex-direction: column;
  align-items: flex-start;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-card,
.contact-content {
  background: var(--accent-dark);
  color: white;
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 70px);
}

.about-card .eyebrow,
.contact-content .eyebrow {
  color: #aee4e7;
}

.about-card p,
.contact-content p {
  color: rgba(255,255,255,0.82);
}

.contact-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 20px;
  margin-top: 22px;
}

.contact-box p {
  margin-bottom: 8px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-box a {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 18px;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 8px;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-links a,
.back-link,
.legal-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-navbar {
  justify-content: space-between;
}

.back-link {
  margin-left: auto;
  color: var(--accent);
  font-weight: 750;
}

.legal-page {
  width: min(900px, calc(100% - 36px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 64px 0 80px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 64px);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.legal-card h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 40px;
}

.legal-card h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

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

.legal-card a {
  color: var(--accent);
}

@media (max-width: 860px) {
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    gap: 10px;
    padding: 10px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .language-switcher {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

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

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

@media (max-width: 520px) {
  .brand-text {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .service-card,
  .hero-card {
    padding: 24px;
  }

  .legal-card h1 {
    font-size: 2.25rem;
  }
}

/* Cobalt contrast direction */
:root {
  --bg: #f4f1e9;
  --surface: #fffdf8;
  --surface-soft: #e9edff;
  --text: #111a2a;
  --muted: #5f6772;
  --line: #d4d0c8;
  --accent: #3157ff;
  --accent-dark: #1737bf;
  --accent-soft: #e5e9ff;
  --warm-accent: #3157ff;
}

.site-header {
  background: rgba(244, 241, 233, 0.94);
}

.brand-mark,
.btn.primary,
.lang-btn.active,
.lang-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

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

.btn.secondary:hover {
  color: #fff;
  background: var(--text);
}

.eyebrow,
.service-card h4,
.service-details summary {
  color: var(--accent);
}

.hero-card {
  border-color: rgba(49, 87, 255, 0.35);
}

.hero-card li {
  border-left-color: rgba(49, 87, 255, 0.28);
}

.services-section {
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--surface);
}

.service-card {
  transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

.service-card:hover {
  background: var(--accent-soft);
  padding-right: 22px;
  padding-left: 22px;
}

.service-number {
  color: var(--accent);
  border-color: var(--accent);
}

.outcome,
.service-note {
  border-left-color: var(--accent);
}

.about-card,
.contact-content {
  color: #fff;
  background: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(17, 26, 42, 0.18);
}

.about-card .eyebrow,
.contact-content .eyebrow {
  color: #7890ff;
}

/* Final typography tuning */
h1 {
  line-height: 1.04;
  letter-spacing: -0.032em;
  overflow-wrap: normal;
}

.section-heading h2,
.about-card h2,
.contact-content h2,
.legal-card h1,
.detail-intro h2,
.implementation-band h2,
.detail-cta h2,
.detail-option h2 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.service-card h3,
.focus-grid h3 {
  line-height: 1.08;
  letter-spacing: -0.018em;
}

@media (max-width: 520px) {
  h1 {
    line-height: 1.06;
    letter-spacing: -0.025em;
  }
}

.focus-band {
  position: relative;
  color: #fff;
  padding-top: 88px;
  padding-bottom: 88px;
}

.focus-band::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--accent);
}

.focus-band .section-heading {
  max-width: 920px;
  margin: 0 0 58px;
}

.focus-band .eyebrow {
  color: #cbd4ff;
}

.focus-band .section-heading h2 {
  color: #fff;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.focus-grid article {
  padding: 30px 34px 4px 0;
}

.focus-grid article + article {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.focus-grid span {
  display: block;
  margin-bottom: 34px;
  color: #cbd4ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.focus-grid h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.focus-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.compact-benefits {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.compact-benefits li {
  position: relative;
  padding-left: 22px;
}

.compact-benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

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

  .focus-grid article,
  .focus-grid article + article {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .focus-grid span {
    margin-bottom: 16px;
  }
}

/* More open editorial typography */
h1 {
  line-height: 1.04;
  letter-spacing: -0.032em;
  overflow-wrap: normal;
}

.section-heading h2,
.about-card h2,
.contact-content h2,
.legal-card h1,
.detail-intro h2,
.implementation-band h2,
.detail-cta h2,
.detail-option h2 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.service-card h3,
.focus-grid h3 {
  line-height: 1.08;
  letter-spacing: -0.018em;
}

@media (max-width: 520px) {
  h1 {
    line-height: 1.06;
    letter-spacing: -0.025em;
  }
}

/* Service detail pages */
.service-link {
  display: inline-flex;
  margin: 0 0 24px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.service-link:hover {
  color: var(--accent-dark);
}

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

.service-page-hero {
  padding: 84px 0 96px;
}

.service-page-hero h1 {
  max-width: 980px;
}

.back-link {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 70px;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.detail-intro h2,
.implementation-band h2,
.detail-cta h2,
.detail-option h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.detail-intro h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.detail-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 96px;
}

.detail-option {
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.featured-option {
  border-color: rgba(49, 87, 255, 0.42);
  box-shadow: 0 20px 60px rgba(49, 87, 255, 0.1);
}

.detail-option h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.detail-option h3 {
  margin: 30px 0 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.option-type {
  margin: 22px 0 8px;
  color: var(--accent);
  font-weight: 800;
}

.scope-note {
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.implementation-band {
  padding: 80px;
  color: #fff;
  background: var(--text);
  border-radius: 16px;
}

.implementation-band .eyebrow {
  color: #7890ff;
}

.implementation-band h2 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.implementation-band p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-cta {
  padding: 96px 0;
}

.detail-cta h2 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.detail-cta .btn {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .detail-intro,
  .detail-options {
    grid-template-columns: 1fr;
  }

  .detail-intro {
    gap: 26px;
  }

  .detail-option,
  .implementation-band {
    padding: 28px;
  }
}


.about-card .btn,
.contact-content .btn {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 520px) {
  .service-card:hover {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* Contemporary editorial direction */
:root {
  --bg: #f4f0e8;
  --surface: #fbf8f2;
  --surface-soft: #ebe6dc;
  --text: #18242d;
  --muted: #626970;
  --line: #d4cdc1;
  --accent: #315f69;
  --accent-dark: #213f48;
  --accent-soft: #dce7e5;
  --warm-accent: #b56f52;
  --shadow: 0 18px 55px rgba(24, 36, 45, 0.08);
  --radius: 16px;
}

body {
  background: var(--bg);
}

h1,
.section-heading h2,
.about-card h2,
.contact-content h2,
.legal-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 990px;
  font-size: clamp(3.25rem, 7.1vw, 6.35rem);
  line-height: 0.98;
}

.eyebrow {
  color: var(--warm-accent);
  letter-spacing: 0.16em;
}

.btn {
  min-height: 50px;
  border-radius: 8px;
  padding: 0 22px;
}

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

.btn.secondary {
  color: var(--text);
  border-color: var(--text);
}

.hero-card h2 {
  font-family: inherit;
  letter-spacing: 0.14em;
}

.service-number {
  color: var(--warm-accent);
  background: transparent;
  border: 1px solid var(--warm-accent);
}

.service-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.service-card h4,
.service-details summary {
  color: var(--accent);
}

.outcome {
  border-left-color: var(--warm-accent);
}

.meta-row > span {
  border-radius: 7px;
  background: transparent;
}

.about-card,
.contact-content {
  background: var(--text);
  border-radius: 14px;
}

.brand-mark {
  background: var(--text);
  border-radius: 8px;
}

.language-switcher {
  border-radius: 10px;
}

.lang-btn {
  border-radius: 6px;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--text);
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.8rem;
    letter-spacing: -0.05em;
  }
}

.service-note {
  margin-top: -0.25rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(30, 64, 175, 0.55);
  background: rgba(30, 64, 175, 0.06);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
}

/* Refined editorial layout */
:root {
  --bg: #f5f3ee;
  --surface: #fcfbf8;
  --surface-soft: #eeece5;
  --text: #182126;
  --muted: #626b70;
  --line: #d7d3ca;
  --accent: #245b64;
  --accent-dark: #183c43;
  --accent-soft: #dce9e7;
  --shadow: 0 20px 60px rgba(24, 33, 38, 0.07);
}

.site-header {
  background: rgba(245, 243, 238, 0.94);
}

.navbar {
  min-height: 72px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.hero {
  min-height: auto;
  grid-template-columns: 1fr;
  gap: 56px;
  padding: 110px 0 72px;
}

.hero-content {
  max-width: 960px;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.1rem, 7.3vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  max-width: 640px;
}

.hero-card {
  box-shadow: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 0;
  background: transparent;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.hero-card h2 {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-card ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.hero-card li {
  padding: 4px 18px;
  border: 0;
  border-left: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.35;
}

.intro-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.intro-section .section-heading {
  max-width: 900px;
  margin: 0;
}

.services-section {
  padding-top: 96px;
}

.services-section > .section-heading {
  margin-bottom: 56px;
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.service-card,
.service-card.full-width {
  grid-column: auto;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 42px 0;
}

.service-number {
  margin-bottom: 16px;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.service-card h3 {
  max-width: 760px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 6px;
}

.service-card h4 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.service-for {
  max-width: 780px;
  font-weight: 500;
  margin-bottom: 22px;
}

.service-details {
  max-width: 780px;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-details summary {
  position: relative;
  padding: 15px 36px 15px 0;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.service-details summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  font-size: 1.3rem;
  line-height: 1;
}

.service-details[open] summary::after {
  content: "−";
}

.service-detail-content {
  padding: 4px 0 18px;
}

.service-block {
  margin-bottom: 20px;
}

.service-note {
  margin: 0 0 22px;
}

.outcome {
  max-width: 780px;
  margin-bottom: 18px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 4px 0 4px 18px;
}

.meta-row {
  margin-top: 0;
}

.meta-row > span {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 0.86rem;
}

.about-card,
.contact-content {
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .hero {
    padding-top: 68px;
    gap: 42px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .hero-card li {
    padding: 8px 14px;
  }
}

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

  .hero-card ul {
    grid-template-columns: 1fr;
  }

  .hero-card li {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 11px 0;
  }

  .intro-section,
  .services-section,
  .about-section,
  .contact-section {
    padding: 54px 0;
  }

  .service-card,
  .service-card.full-width {
    padding: 34px 0;
  }
}

/* Final palette layer: vivid cobalt + ink contrast */
:root {
  --bg: #f4f1e9;
  --surface: #fffdf8;
  --surface-soft: #e9edff;
  --text: #111a2a;
  --muted: #5f6772;
  --line: #d4d0c8;
  --accent: #3157ff;
  --accent-dark: #1737bf;
  --accent-soft: #e5e9ff;
  --warm-accent: #3157ff;
}

.site-header {
  background: rgba(244, 241, 233, 0.94);
}

.brand-mark,
.btn.primary,
.lang-btn.active,
.lang-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.about-card,
.contact-content {
  background: var(--text);
  box-shadow: 0 26px 70px rgba(17, 26, 42, 0.18);
}

.about-card .eyebrow,
.contact-content .eyebrow {
  color: #7890ff;
}

/* Final heading spacing override */
h1 {
  line-height: 1.04;
  letter-spacing: -0.032em;
  overflow-wrap: normal;
}

.section-heading h2,
.about-card h2,
.contact-content h2,
.legal-card h1,
.detail-intro h2,
.implementation-band h2,
.detail-cta h2,
.detail-option h2 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.service-card h3,
.focus-grid h3 {
  line-height: 1.08;
  letter-spacing: -0.018em;
}

@media (max-width: 520px) {
  h1 {
    line-height: 1.06;
    letter-spacing: -0.025em;
  }
}
