/* Hungarian market section — scoped additions */

.mil-header-language,
.mil-menu-language {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.mil-header-language a,
.mil-menu-language a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mil-header-language a:hover,
.mil-menu-language a:hover {
  color: #9ccb3b;
}

.mil-lang-current {
  color: #9ccb3b;
}

.mil-menu-language {
  display: none;
  margin-top: 28px;
}

.mil-hu-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.mil-hu-proposal {
  background: rgb(156 203 59 / 6%);
}

.mil-hu-note {
  padding: 18px 20px;
  border-left: 3px solid #9ccb3b;
  background: rgb(255 255 255 / 5%);
}

.mil-hu-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.mil-hu-step {
  padding: 30px;
  border: 1px solid rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 3%);
}

.mil-hu-step > span {
  display: inline-block;
  margin-bottom: 24px;
  color: #9ccb3b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mil-hu-step h3 {
  margin-bottom: 15px;
}

.mil-hu-step p {
  margin: 0;
}

@media (max-width: 991px) {
  .mil-header-language {
    display: none;
  }

  .mil-menu-language {
    display: flex;
  }

  .mil-hu-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mil-hu-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mil-hu-hero-actions .mil-btn {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .mil-hu-step-grid {
    grid-template-columns: 1fr;
  }

  .mil-hu-step {
    padding: 24px;
  }
}

/* Hungarian portfolio case-study layout */

.mil-hu-case {
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.mil-hu-case-alt {
  background: rgb(156 203 59 / 5%);
}

.mil-hu-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.mil-hu-case-copy {
  position: sticky;
  top: 150px;
}

.mil-hu-case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mil-hu-case-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 3%);
  box-shadow: 0 18px 45px rgb(0 0 0 / 22%);
}

.mil-hu-case-gallery img:first-child {
  grid-column: 1 / -1;
}

@media (max-width: 991px) {
  .mil-hu-case-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .mil-hu-case-copy {
    position: static;
  }
}

@media (max-width: 767px) {
  .mil-hu-case-gallery {
    grid-template-columns: 1fr;
  }

  .mil-hu-case-gallery img:first-child {
    grid-column: auto;
  }
}


/* Hungarian homepage hero correction — 20260724-3 */
.mil-hu-home-hero .mil-hero-text {
  width: 100%;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.mil-hu-home-hero .mil-hu-home-title {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(64px, 5.8vw, 100px);
  line-height: 0.94;
}

.mil-hu-home-hero .mil-hu-home-subtitle {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.18;
}

.mil-hu-home-hero .mil-hu-hero-actions {
  justify-content: center;
}

.mil-btn.mil-btn-border.mil-m4 {
  color: #d2d2d0 !important;
  background-color: transparent;
  box-shadow: 0 0 0 2px #d2d2d0;
}

@media (max-width: 991px) {
  .mil-hu-home-hero .mil-hu-home-title {
    font-size: clamp(52px, 8.4vw, 76px);
  }

  .mil-hu-home-hero .mil-hu-home-subtitle {
    max-width: 780px;
    font-size: 21px;
  }
}

@media (max-width: 767px) {
  .mil-hu-home-hero .mil-hu-home-title {
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.96;
  }

  .mil-hu-home-hero .mil-hu-home-subtitle {
    font-size: 18px;
    line-height: 1.25;
  }

  .mil-hu-home-hero .mil-hu-hero-actions {
    gap: 12px;
  }

  .mil-hu-home-hero .mil-hu-hero-actions .mil-btn {
    min-height: 52px;
    height: auto;
    padding: 14px 22px;
    line-height: 1.2;
    white-space: normal;
  }
}


/* Hungarian homepage layout correction — 20260724-4 */
body.mil-hu-homepage .mil-head1 {
  font-size: clamp(44px, 3.5vw, 50px);
  line-height: 1.08;
}

body.mil-hu-homepage #szemelyre-szabott-ajanlat,
body.mil-hu-homepage #rolunk-roviden,
body.mil-hu-homepage #referenciak,
body.mil-hu-homepage #folyamat {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

@media (min-width: 1200px) {
  body.mil-hu-homepage #referenciak .mil-proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 991px) {
  body.mil-hu-homepage #szemelyre-szabott-ajanlat,
  body.mil-hu-homepage #rolunk-roviden,
  body.mil-hu-homepage #referenciak,
  body.mil-hu-homepage #folyamat {
    padding-top: 84px !important;
    padding-bottom: 84px !important;
  }
}

@media (max-width: 767px) {
  body.mil-hu-homepage .mil-head1 {
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.06;
  }

  body.mil-hu-homepage #szemelyre-szabott-ajanlat,
  body.mil-hu-homepage #rolunk-roviden,
  body.mil-hu-homepage #referenciak,
  body.mil-hu-homepage #folyamat {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
}


/* Hungarian homepage hero position correction — 20260724-5 */
.mil-hu-home-hero .mil-hero-text > .mil-stylized:first-child {
  position: relative;
  z-index: 2;
  margin-bottom: 44px !important;
}

.mil-hu-home-hero .mil-hu-home-title {
  margin-bottom: 28px;
}

@media (min-width: 992px) {
  .mil-hu-home-hero .mil-hero-main {
    padding-bottom: 240px;
  }
}

@media (max-width: 991px) {
  .mil-hu-home-hero .mil-hero-text > .mil-stylized:first-child {
    margin-bottom: 36px !important;
  }

  .mil-hu-home-hero .mil-hu-home-title {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .mil-hu-home-hero .mil-hero-text > .mil-stylized:first-child {
    margin-bottom: 30px !important;
  }

  .mil-hu-home-hero .mil-hu-home-title {
    margin-bottom: 22px;
  }
}
