/* MessaConsulting · multilingual static website · BG/EN/RU v2 */
:root {
  color-scheme: light;
  --navy: #14283e;
  --navy-deep: #0d2134;
  --navy-mid: #1d3b54;
  --teal: #1d7480;
  --teal-hover: #135a65;
  --text: #465c71;
  --muted: #687e91;
  --line: #dce6ec;
  --paper: #fff;
  --surface: #f5f8fa;
  --tint: #e8f2f4;
  --max-width: 1180px;
}
*, *::before, *::after {box-sizing: border-box;}
html {scroll-behavior: smooth; scroll-padding-top: 92px;}
body {margin: 0; min-width: 320px; color: var(--text); font: 400 16px/1.65 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; background: var(--paper); -webkit-font-smoothing: antialiased;}
img, svg {max-width: 100%;}
a {color: inherit; text-decoration: none;}
a:focus-visible, button:focus-visible {outline: 3px solid #28a3b4; outline-offset: 4px;}
a:hover {text-decoration: none;}
button {font: inherit;}
.container {width: min(var(--max-width), calc(100% - 64px)); margin-inline: auto;}
.visually-hidden {position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;}
.skip-link {position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 20px; background: #fff; color: var(--navy); border: 2px solid var(--teal); transform: translateY(-200%);}
.skip-link:focus {transform: none;}
h1,h2,h3,p {margin-top: 0;}
h1,h2,h3 {color: var(--navy); font-weight: 730; line-height: 1.15;}

/* Navigation and corporate identity */
.topline {background: var(--navy-deep); color: #dce7ef; font-size: 11px; letter-spacing: .095em; font-weight: 550;}
.topline-inner {display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 20px;}
.topline a {font-size: 12px; color: #e6f2f6; letter-spacing: .015em;}
.topline a:hover {color: #8fd0d9;}
.topline a svg {width: 14px; height: 14px; vertical-align: -3px; margin-right: 6px;}
.site-header {position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid #e8eef1; backdrop-filter: blur(12px);}
.header-inner {min-height: 92px; display: flex; align-items: center; gap: 28px;}
.brand {display: flex; align-items: center; gap: 12px; flex: 0 0 auto;}
.brand img {width: 53px; height: 53px; display: block;}
.brand-copy {display: flex; flex-direction: column; gap: 4px;}
.brand-name {font-size: 24px; line-height: 1; font-weight: 750; letter-spacing: -.055em; color: var(--navy);}
.brand-tagline {font-size: 9px; letter-spacing: .145em; font-weight: 750; color: #6f8396; line-height: 1.4;}
.primary-nav {display: flex; align-items: center; gap: 25px; margin-left: auto;}
.primary-nav a {font-size: 12px; font-weight: 700; color: #455c72; white-space: nowrap; transition: color .16s ease;}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {color: var(--teal);}
.languages {display: flex; gap: 9px; align-items: center; border-left: 1px solid var(--line); padding-left: 19px; white-space: nowrap;}
.languages a {display: inline-block; text-decoration: none; font-size: 11px; font-weight: 750; padding: 7px 4px; color: #93a4b3;}
.languages a.active {background: var(--navy); border-radius: 2px; color: #fff; padding: 8px 9px;}
.menu-toggle {display: none; align-items: center; justify-content: center; border: 1px solid #d6e4ea; background: #fff; width: 42px; height: 42px; margin-left: auto; border-radius: 3px; color: var(--navy); cursor: pointer;}
.menu-toggle svg {width: 21px; height: 21px;}

/* Hero */
.hero {position: relative; isolation: isolate; background: linear-gradient(122deg,#fff 12%,#f9fbfc 67%,#e8eff3 100%); border-bottom: 1px solid #e4eaee; overflow: hidden;}
.hero-inner {position: relative; display: flex; align-items: center; min-height: 585px; padding-top: 67px; padding-bottom: 68px;}
.hero-copy {position: relative; z-index: 2; width: min(58%, 675px);}
.eyebrow {display: flex; gap: 12px; align-items: center; color: var(--teal); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; line-height: 1.35; font-weight: 800;}
.eyebrow::before {content: ""; width: 24px; height: 2px; flex: 0 0 24px; background: var(--teal);}
.hero h1 {font-size: clamp(44px, 4.4vw, 65px); line-height: 1.065; font-weight: 760; letter-spacing: -.055em; max-width: 700px; margin: 26px 0 22px;}
.hero-description {max-width: 565px; font-size: 17px; line-height: 1.85; color: #60748a; margin-bottom: 27px;}
.actions {display: flex; align-items: center; flex-wrap: wrap; gap: 24px;}
.button {display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: 23px; padding: 14px 23px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 770; border-radius: 2px; transition: background-color .17s;}
.button:hover {background: var(--teal-hover);}
.button svg, .inline-link svg {width: 18px; height: 18px;}
.inline-link {display: inline-flex; align-items: center; gap: 18px; padding: 8px 0; border-bottom: 1px solid #a1bac7; color: var(--navy); font-size: 13px; font-weight: 750; transition: color .17s;}
.inline-link:hover {color: var(--teal);}
.hero-art {position: absolute; inset: 0 -9vw 0 auto; width: min(58vw, 880px); z-index: 0; overflow: hidden; pointer-events: none;}
.hero-art::before {content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fdfefe 0%, rgba(253,254,254,.75) 8%, rgba(253,254,254,.03) 40%, transparent 68%); z-index: 1;}
.hero-art img {display: block; width: 100%; height: 100%; object-fit: cover; object-position: 43% 50%;}
.hero-sidewords {position: absolute; z-index: 1; left: 44%; top: 13%; display: flex; flex-direction: column; gap: 9px; border-left: 1px solid #9ebbc8; padding-left: 22px; color: #667b91; font-size: 10px; line-height: 1.6; font-weight: 760; letter-spacing: .25em;}
.hero-sidewords::after {content: ""; width: 24px; height: 2px; background: var(--teal); margin-top: 6px;}
.hero-corner {position: absolute; z-index: 1; right: 13%; bottom: 9%; color: #647e94; letter-spacing: .23em; font-size: 10px; line-height: 1.85; font-weight: 750;}
.hero-corner::after {content: ""; display: block; margin-top: 9px; height: 2px; width: 30px; background: var(--teal);}

/* Signature band */
.proof-strip {background: #f5f9fa; border-bottom: 1px solid #edf1f2;}
.proof-inner {display: grid; grid-template-columns: repeat(3, 1fr); min-height: 83px; align-items: center;}
.proof-item {display: flex; align-items: center; justify-content: center; min-width: 0; gap: 17px; font-size: 10px; letter-spacing: .13em; line-height: 1.4; font-weight: 800; text-transform: uppercase; color: var(--navy-mid);}
.proof-item + .proof-item {border-left: 1px solid #c9dce3;}
.proof-item svg {flex: 0 0 28px; height: 28px; color: #26516d; stroke-width: 1.6;}

/* Shared sections */
.section {padding-block: 91px; scroll-margin-top: 85px;}
.section-head {display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 30px;}
h2 {font-size: clamp(31px, 3vw, 44px); letter-spacing: -.045em; margin: 14px 0 0;}
.section-note {max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8;}
.services {background: #f7f9fa;}
.services-grid {display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px;}
.service-card {display: flex; flex-direction: column; position: relative; min-height: 268px; padding: 26px 30px 26px; border: 1px solid #e0e8ed; background: #fff; transition: border-color .17s, transform .17s, box-shadow .17s;}
.service-card.major {background: linear-gradient(125deg,#e7f1f3 0%,#f0f6f7 100%); border-color: #d5e7e9;}
.service-card:hover {transform: translateY(-2px); border-color: #a8cbd2; box-shadow: 0 10px 24px rgba(24,56,75,.06);}
.service-icon {display: flex; align-items: center; justify-content: center; flex: 0 0 51px; width: 51px; height: 51px; border-radius: 50%; background: rgba(255,255,255,.76); color: var(--teal); margin-bottom: 14px;}
.service-card:not(.major) .service-icon {background: #f0f5f6;}
.service-icon svg {height: 27px; width: 27px; stroke-width: 1.65;}
.service-label {font-size: 10px; letter-spacing: .17em; color: var(--teal); font-weight: 830; text-transform: uppercase; margin-bottom: 7px;}
.service-card h3 {font-size: 18px; font-weight: 750; letter-spacing: -.025em; margin: 0 0 10px; max-width: 460px;}
.service-card p {font-size: 13.5px; line-height: 1.75; color: #617487; margin: 0; max-width: 480px; padding-right: 20px;}
.service-card .arrow {position: absolute; right: 24px; bottom: 20px; width: 20px; height: 20px; color: var(--navy);}

/* About */
.about {position: relative; overflow: hidden; background: #fff;}
.about::before {position: absolute; content: ""; left: -80px; bottom: -120px; width: 450px; height: 380px; background: linear-gradient(140deg,rgba(216,229,236,.42),rgba(244,249,250,0)); clip-path: polygon(0 75%, 34% 25%, 50% 47%, 70% 8%, 100% 70%, 100% 100%, 0 100%); pointer-events: none;}
.about-inner {display: grid; grid-template-columns: 41% 1fr; gap: 48px; position: relative;}
.about-motto {margin: 72px 0 0 38%; font-size: 11px; line-height: 1.85; letter-spacing: .25em; color: #7f96ab; font-weight: 760; text-transform: uppercase;}
.about-motto::after {content: ""; display: block; margin-top: 17px; background: var(--teal); height: 2px; width: 28px;}
.about-description {padding-top: 9px; color: #5d7082; font-size: 15px; line-height: 1.9;}
.about-description p {margin-bottom: 16px;}
.about-description strong {color: var(--navy-mid);}
.tagline-list {display: flex; flex-wrap: wrap; gap: 13px 20px; border-top: 1px solid #e0e8ed; padding-top: 22px; margin-top: 29px;}
.tagline-list span {border-left: 2px solid var(--teal); padding-left: 10px; color: var(--navy); font-size: 11px; font-weight: 780;}

/* Workflow */
.process {background: var(--surface);}
.process-grid {display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 37px;}
.process-step {position: relative; padding-top: 11px; border-top: 1px solid #b0cbd4;}
.process-number {display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: #e3eff2; color: var(--teal); font-size: 14px; font-weight: 800; margin-top: -34px; margin-bottom: 25px; border: 4px solid var(--surface);}
.process-step h3 {font-size: 17px; margin: 0 0 6px; letter-spacing: -.018em;}
.process-step p {font-size: 13px; color: #718396; line-height: 1.7; margin: 0;}

/* Contact */
.contact {position: relative; background: linear-gradient(120deg,#192f45,#10263d 70%,#0c2036); color: #fff; padding-block: 78px; overflow: hidden; scroll-margin-top: 85px;}
.contact::before {position: absolute; content: ""; inset: 0 0 0 auto; width: 60%; background: repeating-linear-gradient(130deg, transparent 0,transparent 150px,rgba(90,136,164,.08) 151px,transparent 305px); pointer-events: none;}
.contact-inner {position: relative; display: grid; grid-template-columns: 1fr .78fr; gap: 90px; align-items: center;}
.contact .eyebrow {color: #8dc5cd;}
.contact .eyebrow::before {background: #73b4c0;}
.contact h2 {color: #fff; max-width: 540px; font-size: clamp(34px,3.2vw,47px); margin-bottom: 17px;}
.contact p {color: #bdceda; font-size: 15px; line-height: 1.85; max-width: 530px; margin: 0;}
.contact-list {border-left: 1px solid rgba(187,213,227,.3); padding-left: 36px; display: grid; gap: 24px;}
.contact-line {display: grid; grid-template-columns: 32px 1fr; gap: 18px; align-items: start;}
.contact-line svg {width: 27px; height: 27px; color: #c3d8e5; stroke-width: 1.5;}
.contact-line .contact-label {color: #a1b9c7; text-transform: uppercase; font-weight: 820; font-size: 10px; letter-spacing: .17em; margin: 0 0 4px;}
.contact-line a {color: #fff; font-size: 18px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere;}
.contact-line a:hover {color: #89d0d9;}

/* Footer */
.footer {background: #0b1b2c; color: #b9c7d3; padding-block: 30px;}
.footer-inner {display: flex; justify-content: space-between; gap: 30px; align-items: start;}
.footer strong {color: #fff; font-size: 13px; display: block; margin-bottom: 8px;}
.footer p {font-size: 11px; line-height: 1.7; margin: 2px 0;}
.footer-aside {text-align: right; max-width: 270px;}

@media (max-width: 1150px) {
  .header-inner {gap: 18px;}
  .brand-name {font-size: 21px;}
  .primary-nav {gap: 18px;}
  .hero h1 {font-size: clamp(40px,4.2vw,56px);}
  .hero-copy {width: 58%;}
  .hero-art {right: -17vw; width: 69vw;}
}
@media (max-width: 900px) {
  html {scroll-padding-top: 76px;}
  .container {width: min(var(--max-width), calc(100% - 44px));}
  .header-inner {min-height: 76px; gap: 15px; flex-wrap: wrap;}
  .brand img {width: 46px; height: 46px;}
  .menu-toggle {display: inline-flex;}
  .languages {padding-left: 13px; gap: 7px;}
  .primary-nav {display: none; order: 5; flex: 0 0 100%; margin: -6px 0 15px; padding: 12px; gap: 0; background: #f4f8f9; border: 1px solid var(--line); flex-direction: column; align-items: stretch;}
  .primary-nav.is-open, .no-js .primary-nav {display: flex;}
  .no-js .menu-toggle {display: none;}
  .primary-nav a {display: block; width: 100%; padding: 10px 12px; font-size: 14px;}
  .hero-inner {min-height: 545px;}
  .hero h1 {font-size: clamp(39px,5vw,48px);}
  .hero-description {font-size: 15px; line-height: 1.75;}
  .hero-sidewords {left: 51%;}
  .hero-copy {width: 65%;}
  .hero-art {right: -28%; width: 81%;}
  .proof-item {gap: 10px; font-size: 9px;}
  .section {padding-block: 75px;}
  .about-inner {gap: 26px;}
  .contact-inner {grid-template-columns: 1fr; gap: 25px;}
  .contact-list {border-left: 0; border-top: 1px solid rgba(187,213,227,.3); padding: 24px 0 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px;}
  .contact-line a {font-size: 16px;}
}
@media (max-width: 670px) {
  .container {width: min(var(--max-width), calc(100% - 34px));}
  .topline-inner {min-height: 31px; justify-content: center;}
  .topline-caption {display: none;}
  .topline a {font-size: 11px;}
  .header-inner {min-height: 75px; gap: 8px;}
  .brand {gap: 7px;}
  .brand img {height: 39px; width: 39px;}
  .brand-name {font-size: clamp(16px,4.8vw,20px);}
  .brand-tagline {font-size: 7px; letter-spacing: .085em;}
  .menu-toggle {width: 39px; height: 39px;}
  .languages {gap: 2px; padding-left: 7px;}
  .languages a {display: inline-block; text-decoration: none; font-size: 10px; padding-inline: 2px;}
  .languages a.active {padding: 6px;}
  .hero-inner {display: block; min-height: 0; padding-block: 52px 44px;}
  .hero-copy {width: 100%;}
  .hero h1 {font-size: clamp(35px,9.4vw,49px); max-width: 540px; margin: 22px 0 19px;}
  .hero-description {font-size: 15px; line-height: 1.77; max-width: 530px;}
  .hero-art {position: relative; inset: auto; margin: 20px -17px -44px; height: 225px; width: calc(100% + 34px);}
  .hero-art::before {background: linear-gradient(180deg,#f9fbfc 0%,rgba(249,251,252,.12) 25%,transparent 50%);}
  .hero-art img {object-position: center 30%;}
  .hero-sidewords {top: 13%; left: 12%; background: rgba(246,251,253,.45);}
  .hero-corner {display: none;}
  .eyebrow {font-size: 10px; letter-spacing: .13em; gap: 9px;}
  .eyebrow::before {width: 19px; flex-basis: 19px;}
  .actions {gap: 14px 21px;}
  .button {min-height: 48px; padding-inline: 16px; font-size: 12px; gap: 13px;}
  .inline-link {font-size: 12px;}
  .proof-inner {grid-template-columns: 1fr; padding-block: 13px; gap: 0;}
  .proof-item {justify-content: flex-start; gap: 14px; min-height: 42px; padding-left: 9px; font-size: 10px; letter-spacing: .1em;}
  .proof-item + .proof-item {border-left: 0; border-top: 1px solid #dce8ec;}
  .proof-item svg {width: 21px; height: 21px; flex-basis: 21px;}
  .section {padding-block: 65px;}
  .section-head {display: block; margin-bottom: 23px;}
  .section-note {margin-top: 18px; max-width: 560px;}
  h2 {font-size: clamp(29px,8vw,38px);}
  .services-grid {grid-template-columns: 1fr; gap: 12px;}
  .service-card {min-height: 0; padding: 24px 22px 31px;}
  .service-label {font-size: 9px;}
  .service-card h3 {font-size: 18px;}
  .service-card p {padding-right: 7px;}
  .about-inner {grid-template-columns: 1fr; gap: 16px;}
  .about-motto {display: none;}
  .about-description {font-size: 14px;}
  .tagline-list {gap: 12px;}
  .process-grid {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 17px; margin-top: 42px;}
  .process-step h3 {font-size: 16px;}
  .process-step p {font-size: 12px;}
  .contact {padding-block: 65px;}
  .contact-inner {grid-template-columns: 1fr; gap: 30px;}
  .contact-list {border-left: 0; border-top: 1px solid rgba(187,213,227,.3); padding: 25px 0 0; grid-template-columns: 1fr; gap: 22px;}
  .contact-line a {font-size: 17px;}
  .footer-inner {display: block;}
  .footer-aside {text-align: left; margin-top: 17px;}
}
@media (max-width: 360px) {
  .brand-name {font-size: 15px;}
  .brand-tagline {font-size: 6.3px;}
  .brand img {width: 33px; height: 33px;}
  .menu-toggle {width: 35px; height: 35px;}
  .languages {gap: 1px; padding-left: 4px;}
  .languages a {display: inline-block; text-decoration: none; font-size: 9px;}
  .hero h1 {font-size: 33px;}
  .actions {gap: 12px;}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior: auto;}
  *,*::before,*::after {transition-duration: .01ms !important; animation-duration: .01ms !important;}
}

.languages a:hover:not(.active) {color: var(--teal); background: #f1f6f8;}
.languages a.active {cursor: default;}


/* Privacy policy pages · lean, consistent with approved identity */
.footer .privacy-link {color:#d0edf2; display:inline-block; padding-block:5px; border-bottom:1px solid rgba(161,203,216,.35);}
.footer .privacy-link:hover, .footer .privacy-link[aria-current="page"] {color:#ffffff; border-bottom-color:#82cad1;}
.policy-hero {padding-block:72px 56px; background:linear-gradient(120deg,#f7fafb,#eaf2f4); border-bottom:1px solid var(--line);}
.policy-hero h1 {font-size:clamp(36px,4.1vw,54px); letter-spacing:-.048em; margin:22px 0 18px; max-width:900px;}
.policy-lead {max-width:790px; font-size:17px; line-height:1.75; margin-bottom:16px;}
.policy-date {font-size:12px; color:#687e91; margin:0;}
.policy-wrap {padding-block:59px 90px;}
.policy-body {max-width:890px; margin-inline:auto;}
.policy-article {padding:21px 0 25px; border-bottom:1px solid var(--line);}
.policy-article:first-child {padding-top:0;}
.policy-article:last-child {border:0;}
.policy-article h2 {font-size:clamp(22px,2vw,28px); margin:0 0 19px; letter-spacing:-.025em; line-height:1.25;}
.policy-article p {font-size:15px; line-height:1.85; margin:0 0 13px; overflow-wrap:anywhere;}
.policy-article a {color:#126c79; text-decoration:underline; text-underline-offset:3px;}
.policy-article a:hover {color:#0a4750;}
@media(max-width:670px) {
  .policy-hero {padding-block:50px 42px;}
  .policy-hero h1 {font-size:clamp(34px,9vw,42px);}
  .policy-lead {font-size:15px;}
  .policy-wrap {padding-block:34px 65px;}
  .policy-article {padding:20px 0 23px;}
  .policy-article h2 {font-size:22px;}
  .policy-article p {font-size:14px;}
}

.policy-hero h1 {overflow-wrap:anywhere; hyphens:auto;}

@media(max-width:670px){html[lang="ru"] .policy-hero h1{font-size:clamp(26px,7.5vw,38px);overflow-wrap:normal;hyphens:auto;}}
