/**
 * EMA Prague — approved C2 direction.
 */

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/roboto-condensed-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/roboto-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ema-ink: #000000;
  --ema-muted: #826f79;
  --ema-line: #c8d9db;
  --ema-mint: #56d9c3;
  --ema-mint-soft: #dff6ef;
  --ema-paper: #f6fbf6;
  --ema-paper-deep: #eef8f2;
  --ema-shell: 1440px;
  --ema-gutter: clamp(20px, 4vw, 56px);
  --ema-section-gap: clamp(56px, 7vw, 96px);
  --ema-radius: 2px;
  --ema-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ema-site-body {
  margin: 0;
  color: var(--ema-ink);
  background:
    radial-gradient(circle at 14% 3%, rgba(103, 226, 193, 0.09), transparent 29rem),
    linear-gradient(100deg, var(--ema-paper) 0%, #fbfcf8 52%, #f1faf4 100%);
  font-family: var(--ema-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body.ema-site-body a {
  color: inherit;
  text-decoration: none;
}

body.ema-site-body img {
  display: block;
  max-width: 100%;
}

body.ema-site-body button,
body.ema-site-body input,
body.ema-site-body select,
body.ema-site-body textarea {
  font: inherit;
}

body.ema-site-body h1,
body.ema-site-body h2,
body.ema-site-body h3,
body.ema-site-body p {
  margin-top: 0;
}

body.ema-site-body h1,
body.ema-site-body h2,
body.ema-site-body h3 {
  color: var(--ema-ink);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.ema-site {
  min-height: 100vh;
  overflow: clip;
}

.ema-shell {
  width: min(calc(100% - (2 * var(--ema-gutter))), var(--ema-shell));
  margin-inline: auto;
}

.ema-skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff !important;
  background: #000;
  transform: translateY(-180%);
}

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

.ema-header {
  position: relative;
  z-index: 20;
  padding-block: 24px 16px;
}

.ema-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ema-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--ema-ink) !important;
}

.ema-logo-svg {
  display: block;
  width: 128px;
  height: auto;
  flex: 0 0 auto;
  padding-right: 10px;
  border-right: 1px solid #000;
}

.ema-brand__name {
  display: block;
  padding-left: 10px;
  color: var(--ema-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.18;
}

.ema-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 42px);
}

.ema-nav__list,
.ema-nav__dropdown {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ema-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.ema-nav__item {
  position: relative;
  padding-inline: clamp(11px, 1.25vw, 19px);
}

.ema-nav__item:first-child {
  padding-left: 0;
}

.ema-nav__item:last-child {
  padding-right: 0;
}

.ema-nav__item + .ema-nav__item {
  border-left: 1px solid rgba(130, 111, 121, 0.38);
}

.ema-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  border: 0;
  color: #66555e !important;
  background: transparent;
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: color 180ms ease;
}

.ema-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.ema-nav__link:hover,
.ema-nav__link:focus-visible,
.ema-nav__item.current-menu-item > .ema-nav__link {
  color: #000 !important;
}

.ema-nav__link:hover,
.ema-nav__link:focus-visible {
  color: #000 !important;
}

.ema-nav__link:hover::after,
.ema-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.ema-nav__dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: -20px;
  width: 220px;
  padding: 12px 20px 16px;
  border: 1px solid var(--ema-line);
  background: rgba(248, 252, 248, 0.98);
  box-shadow: 0 18px 40px rgba(45, 75, 65, 0.08);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: 160ms ease;
}

.ema-nav__dropdown a {
  display: block;
  padding: 8px 0;
  color: #40363b !important;
  font-size: 14px;
}

.ema-nav__item--dropdown:hover .ema-nav__dropdown,
.ema-nav__item--dropdown:focus-within .ema-nav__dropdown,
.ema-nav__item--dropdown.is-open .ema-nav__dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.ema-nav-toggle {
  display: none;
}

.ema-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--ema-radius);
  color: var(--ema-ink) !important;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ema-button:hover,
.ema-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 112, 91, 0.14);
}

.ema-button--header,
.ema-button--primary {
  background: linear-gradient(105deg, #69dfca, #81ead3);
}

.ema-button--header {
  min-height: 52px;
  padding-inline: 22px;
  white-space: nowrap;
}

.ema-main {
  padding-top: 28px;
}

.ema-home {
  padding-top: 0;
}

.ema-home-hero {
  position: relative;
  min-height: clamp(425px, 30.6vw, 527px);
  overflow: hidden;
  background: #111519;
}

.ema-home-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 10, 13, 0.58) 0%, rgba(7, 10, 13, 0.22) 52%, rgba(7, 10, 13, 0.36) 100%),
    rgba(7, 10, 13, 0.28);
  content: "";
}

.ema-home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ema-home-hero__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
}

.ema-home-hero__copy {
  position: absolute;
  top: 50%;
  left: 50%;
  width: fit-content;
  max-width: 100%;
  text-align: left;
  transform: translate(-50%, -50%);
}

.ema-home-hero__semantic-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ema-home-hero__brand-lockup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 2.2vw, 34px);
}

.ema-home-hero__logo {
  width: clamp(160px, 19vw, 286px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.24));
}

.ema-home-hero__brand-name {
  margin: 0;
  color: #fff !important;
  font-size: clamp(34px, 4.1vw, 62px);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.72;
  text-align: left;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.28);
}

.ema-home-hero__brand-name span {
  display: block;
  white-space: nowrap;
}

.ema-home-hero__tagline {
  width: 100%;
  max-width: 900px;
  margin: 0;
  padding-top: clamp(13.6px, 1.87vw, 28.9px);
  color: #fff !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

.ema-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.ema-split__left {
  padding-right: clamp(28px, 4vw, 64px);
  border-right: 1px solid var(--ema-line);
}

.ema-split__right {
  min-width: 0;
  padding-left: clamp(28px, 4vw, 64px);
}

.ema-hero {
  align-items: stretch;
  min-height: 430px;
  padding-block: 30px 58px;
}

.ema-hero__copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.ema-hero__copy h1 {
  max-width: 540px;
  margin-bottom: 20px;
  font-size: clamp(54px, 5.5vw, 86px);
}

.ema-lead,
.ema-page-hero__tagline,
.ema-page-hero__intro,
.ema-section-intro,
.ema-service-card__tagline,
.ema-profile-card__role {
  color: var(--ema-muted);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.ema-lead {
  margin-bottom: 18px;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.25;
}

.ema-hero__copy .ema-button,
.ema-page-hero__copy .ema-button {
  width: min(100%, 360px);
}

.ema-hero__cta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.ema-button-note {
  margin: 0;
  color: var(--ema-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ema-hero__visual {
  display: flex;
  align-items: stretch;
  min-height: 420px;
  overflow: hidden;
}

.ema-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.ema-routes,
.ema-news {
  padding-block: 18px var(--ema-section-gap);
}

.ema-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.ema-eyebrow::after {
  width: 64px;
  height: 1px;
  background: #a4bdbd;
  content: "";
}

.ema-routes > h2,
.ema-section-heading h2,
.ema-section-split h2 {
  margin-bottom: 10px;
  font-size: clamp(44px, 4.5vw, 70px);
}

.ema-section-intro {
  margin-bottom: 32px;
  font-size: clamp(20px, 2vw, 29px);
}

.ema-card-grid {
  --ema-card-gap: clamp(36px, 4.4vw, 68px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ema-card-gap);
}

.ema-service-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 0;
  flex-direction: column;
}

.ema-service-card + .ema-service-card {
  padding-left: 0;
}

.ema-service-card:last-child {
  padding-right: 0;
}

.ema-service-card + .ema-service-card::before,
.ema-card-grid--news .ema-news-card + .ema-news-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(-34px, -2.2vw, -18px);
  width: 1px;
  background: var(--ema-line);
  content: "";
}

.ema-service-card__image,
.ema-news-card__image {
  display: block;
  overflow: hidden;
  background: #dce9e2;
}

.ema-service-card__image {
  margin-bottom: 18px;
  aspect-ratio: 16 / 9;
}

.ema-service-card__image img,
.ema-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.ema-service-card:nth-child(1) img {
  object-position: 57% center;
}

.ema-service-card:nth-child(2) img {
  object-position: center 37%;
}

.ema-service-card:nth-child(3) img {
  object-position: 62% center;
}

.ema-service-card__image:hover img,
.ema-service-card__image:focus-visible img,
.ema-news-card__image:hover img,
.ema-news-card__image:focus-visible img {
  transform: scale(1.025);
}

.ema-service-card h3 {
  margin-bottom: 2px;
  font-size: clamp(28px, 2.5vw, 39px);
}

.ema-service-card__tagline {
  min-height: 2.2em;
  margin-bottom: 14px;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.15;
}

.ema-service-card > p:not(.ema-service-card__tagline) {
  margin-bottom: 22px;
  color: var(--ema-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4;
}

.ema-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 228px);
  min-height: 48px;
  margin-top: auto;
  padding: 0 20px;
  border: 1px solid #a9bcc4;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 550;
}

.ema-text-button:hover,
.ema-text-button:focus-visible {
  border-color: var(--ema-mint);
  background: rgba(103, 226, 193, 0.1);
}

.ema-news {
  border-top: 1px solid var(--ema-line);
}

.ema-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.ema-section-heading a,
.ema-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #aebdc3;
  font-size: 14px;
}

.ema-card-grid--news .ema-news-card {
  position: relative;
  min-width: 0;
  padding-right: 0;
}

.ema-card-grid--news .ema-news-card + .ema-news-card {
  padding-left: 0;
}

.ema-card-grid--news .ema-news-card:last-child {
  padding-right: 0;
}

.ema-news-card__image {
  margin-bottom: 14px;
  aspect-ratio: 16 / 7;
}

.ema-news-card__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ema-news-card__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #0d4c40;
  background: linear-gradient(135deg, #c4e9dc, #f4efe5);
  font-size: 54px;
  font-weight: 750;
}

.ema-news-card h2,
.ema-news-card h3,
.ema-news-card__title {
  margin-bottom: 6px;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.08;
}

.ema-news-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--ema-muted);
  font-size: 14px;
}

.ema-news-card p {
  margin-bottom: 12px;
  color: var(--ema-muted);
  font-size: 15px;
  font-weight: 300;
}

.ema-consultation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
  padding: 28px clamp(28px, 4vw, 58px);
  background: linear-gradient(105deg, rgba(217, 245, 234, 0.88), rgba(239, 249, 241, 0.7));
}

.ema-consultation h2 {
  margin-bottom: 4px;
  font-size: clamp(34px, 3.25vw, 51px);
}

.ema-consultation p {
  margin-bottom: 0;
  color: var(--ema-muted);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 300;
  line-height: 1.25;
}

.ema-consultation .ema-button {
  width: min(100%, 320px);
  flex: 0 0 auto;
}

.ema-footer {
  padding-bottom: 24px;
}

.ema-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--ema-line);
}

.ema-footer__brand {
  display: flex;
  align-items: center;
  color: #000 !important;
  white-space: nowrap;
}

.ema-footer__brand .ema-logo-svg--footer {
  width: 116px;
  padding: 0;
  border: 0;
}

.ema-footer__brand > span:last-child {
  margin-left: 12px;
  color: var(--ema-muted);
  font-size: 12px;
  line-height: 1.2;
}

.ema-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.ema-footer__nav a {
  color: #6f5d66 !important;
  font-size: 12px;
  white-space: nowrap;
}

.ema-footer__socials {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 28px;
  border-left: 1px solid var(--ema-line);
}

.ema-footer__socials a {
  display: block;
  width: 25px;
  height: 25px;
}

.ema-footer__socials svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #000;
  stroke-width: 1.8;
}

.ema-footer__socials a[aria-label*="YouTube"] {
  width: 38px;
  height: 38px;
  margin: -6.5px;
}

.ema-footer__socials svg path:first-child {
  fill: #000;
  stroke: none;
}

.ema-footer__socials .ema-footer__play {
  fill: #fff;
  stroke: none;
}

/* Individual page */
.ema-breadcrumbs {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--ema-muted);
  font-size: 13px;
}

.ema-page-hero {
  align-items: stretch;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--ema-line);
}

.ema-page-hero__copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.ema-page-hero__copy h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 6vw, 92px);
}

.ema-page-hero__tagline {
  margin-bottom: 18px;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.1;
}

.ema-page-hero__intro {
  max-width: 510px;
  margin-bottom: 22px;
  font-size: clamp(20px, 1.9vw, 29px);
  line-height: 1.33;
}

.ema-page-hero__image {
  display: flex;
  align-items: stretch;
  min-height: 360px;
  overflow: hidden;
}

.ema-page-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: 64% center;
}

.ema-section-split {
  padding-block: 32px;
  border-bottom: 1px solid var(--ema-line);
}

.ema-content-band {
  position: relative;
  z-index: 0;
  margin-block: 8px;
  padding-block: clamp(42px, 5vw, 70px);
  border-bottom: 0;
  isolation: isolate;
}

.ema-content-band::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
}

.ema-content-band--mint::before {
  background:
    linear-gradient(105deg, rgba(219, 245, 235, 0.34), rgba(237, 249, 241, 0.25));
}

.ema-content-band--paper::before {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.38), rgba(246, 251, 247, 0.28));
}

.ema-section-split h2 {
  font-size: clamp(42px, 4vw, 62px);
}

.ema-topic-list article {
  padding: 14px 0;
  border-top: 1px solid var(--ema-line);
}

.ema-topic-list article:last-child {
  border-bottom: 1px solid var(--ema-line);
}

.ema-topic-list h3 {
  margin-bottom: 5px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ema-topic-list p {
  max-width: 620px;
  margin-bottom: 0;
  padding-right: 34px;
  color: var(--ema-muted);
  font-size: 16px;
  font-weight: 300;
}

.ema-profile-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 62% center;
}

.ema-profile-card h3 {
  margin: 8px 0 2px;
  font-size: clamp(30px, 3vw, 44px);
}

.ema-profile-card__role {
  margin-bottom: 8px;
  font-size: clamp(20px, 2vw, 28px);
}

.ema-profile-card > p:last-child,
.ema-online p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ema-muted);
  font-size: 17px;
  font-weight: 300;
}

.ema-steps article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--ema-line);
}

.ema-steps article:first-child {
  padding-top: 0;
  border-top: 0;
}

.ema-steps article > span {
  color: #47cdb2;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.ema-steps h3 {
  margin-bottom: 3px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ema-steps p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--ema-muted);
  font-size: 16px;
  font-weight: 300;
}

.ema-pricing > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 30px;
  padding: 14px 0;
  border-top: 1px solid var(--ema-line);
  font-size: 18px;
}

.ema-pricing > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.ema-pricing strong {
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1;
  text-align: right;
}

.ema-pricing small {
  display: block;
  margin-top: 5px;
  color: #43cdb0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.ema-online .ema-split__left {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.ema-online h2 {
  margin-bottom: 12px;
}

.ema-online p {
  margin-bottom: 22px;
}

.ema-text-button--wide {
  width: 100%;
  max-width: 540px;
}

.ema-online__image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center;
}

.ema-individual .ema-consultation {
  margin-top: 26px;
}

@media (max-width: 1180px) {
  .ema-header__inner {
    gap: 18px;
  }

  .ema-logo-svg {
    width: 110px;
  }

  .ema-brand__name {
    display: none;
  }

  .ema-nav,
  .ema-nav__list {
    gap: 18px;
  }

  .ema-nav__list {
    gap: 0;
  }

  .ema-nav__item {
    padding-inline: 10px;
  }

  .ema-nav__item:first-child {
    padding-left: 0;
  }

  .ema-nav__item:last-child {
    padding-right: 0;
  }

  .ema-nav__link {
    font-size: 16px;
  }

  .ema-button--header {
    min-height: 46px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .ema-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .ema-footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .ema-header {
    padding-block: 14px;
  }

  .ema-nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    margin-left: auto;
    gap: 10px;
    padding: 10px 0;
    border: 0;
    color: #000;
    background: transparent;
    flex: 0 0 auto;
    cursor: pointer;
  }

  .ema-nav-toggle__icon,
  .ema-nav-toggle__icon::before,
  .ema-nav-toggle__icon::after {
    display: block;
    width: 24px;
    height: 1px;
    background: #000;
    content: "";
  }

  .ema-nav-toggle__icon {
    position: relative;
  }

  .ema-nav-toggle__icon::before {
    position: absolute;
    top: -7px;
  }

  .ema-nav-toggle__icon::after {
    position: absolute;
    top: 7px;
  }

  .ema-nav {
    position: absolute;
    top: 100%;
    right: var(--ema-gutter);
    left: var(--ema-gutter);
    display: none;
    align-items: stretch;
    padding: 18px 22px 24px;
    border: 1px solid var(--ema-line);
    background: rgba(248, 252, 248, 0.98);
    box-shadow: 0 20px 42px rgba(38, 69, 59, 0.12);
    flex-direction: column;
  }

  .ema-nav.is-open {
    display: flex;
  }

  .ema-nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .ema-nav__item,
  .ema-nav__item:first-child,
  .ema-nav__item:last-child {
    padding-inline: 0;
    border-left: 0;
  }

  .ema-nav__link {
    width: 100%;
    min-height: 44px;
    border-bottom: 1px solid rgba(200, 217, 219, 0.75);
  }

  .ema-nav__dropdown {
    position: static;
    display: none;
    width: auto;
    padding: 2px 18px 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .ema-nav__item--dropdown.is-open .ema-nav__dropdown {
    display: block;
  }

  .ema-home-hero__tagline {
    font-size: clamp(22px, 3vw, 28px);
  }

  .ema-card-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ema-service-card,
  .ema-service-card + .ema-service-card,
  .ema-service-card:last-child,
  .ema-card-grid--news .ema-news-card,
  .ema-card-grid--news .ema-news-card + .ema-news-card,
  .ema-card-grid--news .ema-news-card:last-child {
    padding: 0 0 34px;
    border-left: 0;
  }

  .ema-service-card + .ema-service-card,
  .ema-card-grid--news .ema-news-card + .ema-news-card {
    padding-top: 34px;
    border-top: 1px solid var(--ema-line);
  }

  .ema-service-card + .ema-service-card::before,
  .ema-card-grid--news .ema-news-card + .ema-news-card::before {
    display: none;
  }

  .ema-service-card__image,
  .ema-news-card__image {
    max-height: 420px;
  }

  .ema-service-card__tagline {
    min-height: 0;
  }

  .ema-consultation {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --ema-gutter: 20px;
  }

  .ema-logo-svg {
    width: 104px;
  }

  .ema-header__inner {
    min-width: 0;
  }

  .ema-nav-toggle {
    min-width: 72px;
    min-height: 44px;
    justify-content: flex-end;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ema-nav-toggle__label {
    font-size: 14px;
  }

  .ema-main {
    padding-top: 8px;
  }

  .ema-home {
    padding-top: 0;
  }

  .ema-home-hero {
    min-height: 442px;
  }

  .ema-home-hero::before {
    background: linear-gradient(0deg, rgba(7, 10, 13, 0.78) 0%, rgba(7, 10, 13, 0.38) 58%, rgba(7, 10, 13, 0.34) 100%);
  }

  .ema-home-hero__image {
    object-position: 52% center;
  }

  .ema-home-hero__tagline {
    max-width: 330px;
    padding-top: 10.2px;
    font-size: 20px;
    white-space: normal;
  }

  .ema-home-hero__brand-lockup {
    width: 100%;
    gap: 12px;
  }

  .ema-home-hero__logo {
    width: clamp(86px, 25vw, 104px);
  }

  .ema-home-hero__brand-name {
    min-width: 0;
    font-size: clamp(19px, 5.6vw, 23px);
    letter-spacing: -0.055em;
  }

  .ema-home-hero__copy {
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(-50%);
  }

  .ema-home-hero__brand-name span {
    white-space: normal;
  }

  .ema-routes .ema-section-intro {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ema-split {
    grid-template-columns: 1fr;
  }

  .ema-split__left {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
  }

  .ema-split__right {
    padding-left: 0;
  }

  .ema-hero {
    min-height: 0;
    padding-block: 20px 52px;
  }

  .ema-hero__copy h1,
  .ema-page-hero__copy h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .ema-lead br {
    display: none;
  }

  .ema-hero__visual img {
    min-height: 250px;
  }

  .ema-page-hero__image,
  .ema-page-hero__image img {
    min-height: 250px;
  }

  .ema-routes > h2,
  .ema-section-heading h2,
  .ema-section-split h2 {
    font-size: 42px;
  }

  .ema-section-intro {
    font-size: 20px;
    line-height: 1.28;
  }

  .ema-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ema-consultation {
    width: calc(100% - 24px);
    padding: 24px;
  }

  .ema-consultation h2 {
    font-size: 36px;
  }

  .ema-footer__inner {
    grid-template-columns: 1fr auto;
    gap: 22px;
  }

  .ema-footer__brand > span:last-child {
    display: none;
  }

  .ema-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
  }

  .ema-footer__socials {
    gap: 14px;
    padding-left: 18px;
  }

  .ema-breadcrumbs {
    margin-top: 12px;
  }

  .ema-page-hero {
    padding-bottom: 28px;
  }

  .ema-page-hero__image img {
    aspect-ratio: 4 / 3;
  }

  .ema-section-split .ema-split__left {
    padding-bottom: 24px;
  }

  .ema-steps article {
    grid-template-columns: 64px 1fr;
  }

  .ema-pricing > div {
    gap: 14px;
  }

  .ema-pricing strong {
    font-size: 27px;
  }

  .ema-online__image img {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

