.page-hero-wrapper {
  background-color: #EEE7E3;
}

#hero {
  width: 100%;
  height: 706px;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  border-bottom-right-radius: 400px;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
  border-bottom-right-radius: 400px;
}

#hero .hero-inner.container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  padding: 32px 0 128px 32px;
  box-sizing: border-box;
  z-index: 2;
}

#hero .hero-content {
  width: 60%;
  box-sizing: border-box;
}

#hero>* {
  position: relative;
  z-index: 2;
}

h4.hero-small-title {
  font-family: "Cabin", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  margin: 0;
}

h2.hero-large-title {
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  margin: 0;
}

.hero-description {
  font-family: "Cabin", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.5em;
  padding-bottom: 16px;
}

.kezelesek_section {
  background-color: #EEE7E3;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.kezelesek_section .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 32px;
  box-sizing: border-box;
}

.front_kiemelt_kezelesek {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.front_kiemelt_kezelesek__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.front_kiemelt_kezelesek__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.5) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.front_kiemelt_kezelesek__item img {
  display: block;
  width: 100%!important;
  height: 100%;
  object-fit: cover;          /* a kép középről vág és kitölt */
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}


.front_kiemelt_kezelesek__item:hover img {
  transform: scale(1.1);
  filter: blur(3px);
}

/*.front_kiemelt_kezelesek__item .caption {
  position: absolute;
  bottom: 32px;
  transition: transform 0.2s ease;
  z-index: 2;
  padding-left: 32px;
  padding-right: 32px;
  margin-bottom: -105px;
}*/






/* a wrapper, ami mindkét állapotot tartalmazza */
.front_kiemelt_kezelesek__item .caption {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

/* csak a kis title-bar, alapból LÁTSZIK */
.front_kiemelt_kezelesek__item .caption .caption-title {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 0 32px;
  color: #fff;
  z-index: 1;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity .3s ease, visibility .3s ease;
}

/* full overlay (title + desc), alapból ELREJTVE */
.front_kiemelt_kezelesek__item .caption .caption-full {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  color: #fff;
  z-index: 2;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .3s ease, visibility .3s ease;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

/* HOVER / TAP esetén: title tűnik el, full overlay jelenik meg */
.front_kiemelt_kezelesek__item:hover .caption .caption-title,
.front_kiemelt_kezelesek__item:active .caption .caption-title {
  opacity: 0 !important;
  visibility: hidden !important;
}

.front_kiemelt_kezelesek__item:hover .caption .caption-full,
.front_kiemelt_kezelesek__item:active .caption .caption-full {
  opacity: 1 !important;
  visibility: visible !important;
}

.front_kiemelt_kezelesek__item .caption .caption-title { z-index: 2; }
.front_kiemelt_kezelesek__item .caption .caption-full  { z-index: 3; }

.front_kiemelt_kezelesek__item .caption h3 {
  font-family: "Cabin", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.front_kiemelt_kezelesek__item .caption h3.caption_pad {
  padding-bottom: 32px;
}

.front_kiemelt_kezelesek__item .caption .description {
  color: #fff;
}

/*.front_kiemelt_kezelesek__item:hover .caption {
  transform: translateY(-115px);
}*/

.front_kiemelt_kezelesek__cta {
  padding-top: 32px;
  padding-bottom: 64px;
}

@media (max-width: 1439px) {
  .front_kiemelt_kezelesek__item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }

  .front_kiemelt_kezelesek__item img {
    display: block;
    width: 100%;
    transition: transform 0.2s ease, filter 0.2s ease;
  }

  .front_kiemelt_kezelesek__item:hover .caption .caption-title,
  .front_kiemelt_kezelesek__item:active .caption .caption-title {
    opacity: 1 !important;
    visibility:visible !important;
  }

  .front_kiemelt_kezelesek__item:hover .caption .caption-full,
  .front_kiemelt_kezelesek__item:active .caption .caption-full {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /*.front_kiemelt_kezelesek__item .caption {
    position: absolute;
    bottom: 0 !important;
    transition: transform 0.2s ease;
    z-index: 2;
    padding-left: 32px;
    padding-right: 32px;
    margin-bottom: 0px !important;
  }

  .front_kiemelt_kezelesek__item:hover .caption {
    transform: none;
  }

  .front_kiemelt_kezelesek__item .caption .description {
    display: none;
  }*/
}

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

.rolunk-mondtak .carousel-wrapper {
  padding: 0 24px;
  /*position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;*/
}

section.rolunk-mondtak {
  padding: 0px 0px 64px 0px;
}

section.rolunk-mondtak-top {
  padding: 64px 64px 0px 64px;
}

section.rolunk-mondtak.container {}

.rolunk-mondtak .carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 0px 0px 16px 0px;
  scroll-behavior: smooth;
  cursor: grab;
}

.rolunk-mondtak .carousel__item {
  flex: 0 0 300px;
  box-sizing: border-box;
  background: #DCEBF9;
  padding: 16px;
  border-radius: 16px;
  margin-right: 16px;
}

.rolunk-mondtak .carousel__inner .carousel__item {
  flex: 0 0 300px;
}

.rolunk-mondtak .carousel:active {
  cursor: grabbing;
}

.rolunk-mondtak .carousel::-webkit-scrollbar {
  height: 4px;
}

.rolunk-mondtak .carousel::-webkit-scrollbar-track {
  background: #DCEBF9;
}

.rolunk-mondtak .carousel::-webkit-scrollbar-thumb {
  background: #3C4A64;
  border-radius: 4px;
}

h2.rolunk-mondtak-cim {
  font-size: 34px;
  color: #3C4A64;
  margin-top: 0;
}

h4.rolunk-mondtak-alcim {
  font-weight: 600;
  color: #3C4A64;
  margin-bottom: 0;
}

.fooldal_borblokk .container {
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
  margin-bottom: 64px;
}

.fooldal_borblokk .container>div {
  flex: 1 1 0;
  min-width: 0;
}

.fooldal_borblokk .container>div.borblokk_kep {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: -4px 4px 8px -2px #0000001A;
}


.fooldal_borblokk .container>div img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

.fooldal_borblokk h2 {
  font-size: 28px;
  color: #3C4A64;
}

.fooldal_borblokk h3 {
  font-size: 20px;
  color: #3C4A64;
  margin-bottom: 8px;
}

.fooldal_borblokk p {
  margin-top: 0;
}

.margin_top_16 {
  margin-top: 16px;
  display: inline-block;
}

.fooldal_idopont_blokk .container {
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  gap: 24px;
  margin-top: 112px;
  margin-bottom: 112px;
}

.fooldal_idopont_blokk .container>div {
  flex: 1 1 0;
  min-width: 0;
}

.fooldal_idopont_blokk h3 {
  font-size: 20px;
  color: #3C4A64;
  margin-bottom: 8px;
  margin-top: 0px;
}

p.lepes_felirat {
  /*margin-bottom: 8px;*/
}

.lepes_felirat {
  border-radius: 50px;
  padding: 6px 20px;
  border: 1px solid #374A66;
  width: fit-content;
  font-weight: 600;
  color: #374A66;
}

.lepes_desc p {
  margin-bottom: 32px;
}

.steps-progress-container {
  position: relative;
  padding-left: 32px;
  overflow: visible;
}

.steps-progress-container .progress-line-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: #EEE7E3;
}

.steps-progress-container .progress-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: #CCB9A9;
  transition: height 0.2s ease-out;
}

.steps-progress-container .step-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 16px;
}

.steps-progress-container .step-item .step-dot {
  position: absolute;
  top: 6px;
  left: -42px;
  width: 24px;
  height: 24px;
  border: 5px solid #fff;
  background: #EEE7E3;
  border-radius: 50%;
  box-sizing: border-box;
  transition: background .2s, border-color .2s;
}

.steps-progress-container .step-item.active .step-dot {
  background: #CCB9A9;
  border: 5px solid #fff;
}

@media (max-width: 1366px) {
  .container {
    width: 100%;
  }

  .fooldal_borblokk .container {
    display: block;
  }

  .fooldal_idopont_blokk .container {
    display: block;
  }

  #hero {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    border-bottom-right-radius: 100px;
    position: relative;
  }

  #hero::before {
    border-bottom-right-radius: 100px;
  }

  #hero .hero-content {
    width: 100%;
  }

  #hero .hero-inner.container {
    padding: 32px 32px 64px 32px;
  }

  h4.hero-small-title {
    font-size: 24px;
  }

  h2.hero-large-title {
    font-size: 28px;
  }

  .fooldal_borblokk h2 {
    font-size: 26px;
  }

  .fooldal_borblokk h3 {
    font-size: 18px;
  }

  .borblokk_text {
    margin-bottom: 40px;
  }

  h2.rolunk-mondtak-cim {
    font-size: 30px !important;
    margin-top: 8px !important;
    line-height: 1.4;
  }

  .idopont_blokk_text {
    margin-bottom: 40px;
  }
}

#hero-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  /* engedjük, hogy ha túl magasak vagyunk, végig tudjak görgetni */
  overflow-y: auto;
  padding: 20px; /* kis belső margó mobilon */
  box-sizing: border-box;
}

.hero-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-modal {
  background: #fff;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  position: relative;
  border-radius: 8px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.survey-pad {
  border-radius: 8px;
  border: 1px solid #374A66;
  padding: 32px;
}

.survey_progress_bar {
  text-align: center;
}

.survey-step h3 {
  color: #374A66;
  font-size: 24px;
  text-align: center;
}

.hero-modal-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  font-size: 40px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.hero-modal-content {
  margin-top: 0;
}

.survey-step {
  display: none;
}

.survey-step.active {
  display: block;
}

.survey-nav {
  margin-top: 1.5rem;
  text-align: center;
}

button#survey-next {
  margin: 0 0.5rem;
  border: 1px solid #374A66;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px 24px;
  background-color: #374A66;
  color: #FFF;
  font-size: 16px;
}

button#survey-next:hover {
  background-color: #DCEBF9;
  border: 1px solid #DCEBF9;
  color: #000000;
  box-shadow: 0px 4px 8px -2px #0000001A;
}

button#survey-prev {
  margin: 0 0.5rem;
  border: 1px solid #374A66;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px 24px;
  background-color: #FFF;
  font-size: 16px;
}

button#survey-prev:hover {
  background-color: #DCEBF9;
  border: 1px solid #DCEBF9;
  color: #000000;
  box-shadow: 0px 4px 8px -2px #0000001A;
}

.survey_valasz_div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.survey_valasz_div label {
  box-sizing: border-box;
  border: 1px solid #374A66;
  border-radius: 8px;
  padding: 8px 16px;
  color: #374A66;
}

.survey_valasz_fulldiv label {
  box-sizing: border-box;
  border: 1px solid #374A66;
  border-radius: 8px;
  padding: 8px 16px;
  color: #374A66;
  width: 100%;
  display: block;
  margin-bottom: 16px;
}

.survey-error {
  color: #c00;
  margin-top: 8px;
  display: none;
}

.survey-error.active {
  display: block;
}

.kerdoiv_hidden {
  display: none;
}

.brevo_urlap_flex_div {}

.brevo_urlap_flex_div input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #3E4857;
  border-radius: 8px;
}

.brevo_urlap_flex_div button {
  width: 100%;
  font-weight: 700;
  font-family: Helvetica, sans-serif;
  color: #FFFFFF;
  background-color: #374A66;
  border-radius: 3px;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #374A66;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
}

.brevo_urlap_flex_div button:hover {
  background-color: #DCEBF9;
  border: 1px solid #DCEBF9;
  color: #000000;
  box-shadow: 0px 4px 8px -2px #0000001A;
}

.brevo_urlap_kozepre {
  text-align: center;
}

.sib-form-container a {
  color: #374A66 !important;
}

.footer_newsletter_text a {
  color: #FFF !important;
}

@media (max-width: 600px) {
  .hero-modal {
    padding: 16px;
  }

  .survey-pad {
    padding: 24px;
  }

  .survey_progress_bar svg {
    width: 100% !important;
    height: auto;
    display: block;
  }

  .survey_valasz_div {
    grid-template-columns: repeat(1, 1fr);
  }

  .brevo_urlap_flex_div input {
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 12px;
  }
  .hero-modal-close {
    top: 20px;
    right: 0;
  }
}

#sensitive-text {
  font-size: 12px;
  color: #444;
}