.content-p{
  color: #3D4042;
}

.title-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.title-container > p {
  color: #4ea37b;
}

.title-text {
  display: flex;
  flex-direction: column;
  /*line-height: 1.2;*/
  align-self: flex-start;
  color: #3d4042;
}

.logo-ap > img {
  width: 146px;
}

.process {
  display: grid;
  background-color: #f2f2f2;
}

.process > h2 > span {
  color: #4ea37b;
}

.steps {
  display: grid;
}

.steps > div > p {
  font-weight: 600;
  line-height: 1.3;
  display: inline;
}

.steps > div > span {
  color: #4ea37b;
  font-family: "Poppins";
  font-weight: 700;
  display: inline;
}

.gallery {
    background-color: #3d4042;
}
  
.gallery > h2 {
    color: #ece8e7;
}

.slick-slider {
    background-color: transparent;
}
  
.slick-slide {
    border: none;
}
  
.item {
   border-radius: 0;
   padding: 0;
}
 
.item:hover {
   cursor: pointer;
}
  
.next-arrow {
    margin-right: 0;
    margin-left: 0;
    position: absolute;
    right: 50px;
}
 
.prev-arrow {
    margin-right: 0;
    margin-left: 0;
    filter: invert(95%) sepia(15%) saturate(38%) hue-rotate(324deg) brightness(97%) contrast(92%);
}

.services-container {
    background-color: #f0f0f0;
}

.services-description-container {
    display: grid;
    grid-template-columns: repeat(1fr);
}

.town {
    max-width: 100%;
}
  
.town-item {
    max-width: 100%;
    margin-bottom: 50px;
}
  
.services-title {
    display: flex;
    flex-direction: column;
}
  
.services-title-text {
    color: #077787;
    font-weight: 300;
}
  
.services-title-span {
    font-family: "Poppins";
    font-weight: 700;
    color: #077787;
}

.btns-grid {
  border-radius: 10px;
  color: #0a0a0a;
  background: #f2e9e9;
  height: fit-content;
}

.btns-grid-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.btns-grid-title h3{
  color: #3D4042;
  font-weight: 600;
}

.lnk-btns{
  font-weight: 600;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: normal;
}

.motive {
  display: grid;
  background-color: #f0f0f0;
}

.motive > h2 > span {
  color: #4ea37b;
}

.main-services {
    display: grid;
    background-color: #f0f0f0;
  }
/*  
.main-services-item {
    text-align: center;
}
*/
.main-services-item > h2 {
    color: #4ea37b;
    font-weight: 700;
    margin: 15px 0;
}
  
/*
.main-services-item > img {
    width: 50px;
}
*/
 
.mainservtxt {
    font-weight: 400;
    color: #3d4042;
}

.request-btn2, .request-btn3 {
  font-weight: 600;
  letter-spacing: 0.96px;
  transition: all 300ms ease-in;
  display: table;
  text-align: center;
}

.request-btn2{
  color: #5ab18f;
  background-color: #3d4042;
}

.request-btn3{
  color: #3d4042;
  background-color: #5ab18f;
}

.request-btn2:hover, .request-btn2:visited, .request-btn3:hover, .request-btn3:visited{
  text-decoration: none;
}

.lnk-deviz img{
  vertical-align: middle;
  height: 24px;
  margin-right: 10px;
  margin-top: -4px;
}

.lnk-deviz a{
  color: #4e5153;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 16px;
}


@media (min-width: 1500px) {
    .town-item {
      align-self: center;
    }
    .services-title-text {
      padding-right: 25px;
    }
    .menu-svg {
      width: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1299px) {
    .town-item {
      width: 100%;
    }
  }

@media (min-width: 992px) {
  .content {
    min-height: 60vh;
    margin-top: 100px;
    padding: 50px 50px;
    gap: 0;
    row-gap: 60px;
    display: grid;
    column-gap: 50px;
    grid-template-columns: 1fr 1fr; /* Two columns for desktop */
  } 
  .content-p{
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
    line-height: 1.5;
    /*align-self: center;*/
  }
  .title-container > p {
    font-size: clamp(1.125rem, 0.724rem + 0.647vw, 1.5rem);
    line-height: 1.5;
  }
  .process {
    padding: 100px 50px 200px 50px;
  }
  .process > h2 {
    width: 50%;
    display: block;
  }
  .title-container {
    align-self: center;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    margin-top: 100px;
    gap: 100px;
  }
  .steps > div > p {
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
  }
  .steps > div > span {
    font-size: clamp(1.25rem, 0.181rem + 1.724vw, 2.25rem);
  }
  .logo-ap {
    display: flex;
    align-self: center;
    justify-content: center;
    grid-column: 2; /* Place the logo in the second column */
    grid-row: 1; /* Make sure the logo is in the first row */
  }
  .logo-ap > img {
    width: 292px;
  }
  .gallery {
    padding-top: 100px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 130px;
  }
  .gallery > h2 {
    margin-bottom: 50px;
  }
  .services-container {
    padding: 60px 0 110px 0;
  }
  .services-description-container {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15px;
    column-gap: 50px;
    padding: 70px 50px 0 50px;
  }
  .services-title-text{
    line-height: 1.3;  
    font-size: clamp(1.75rem, -0.254rem + 3.233vw, 3.625rem);
  }
  .services-title {
    align-self: flex-start;
    margin-bottom: 50px;
  }
  .town-item {
    align-self: center;
    max-width: 100%;
    overflow: hidden;
  }
  .services-description-elements  {
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
    color: #3d4042;
    line-height: 1.5;
    margin-top: 30px;
  }
  .second {
    order: 3;
    margin-bottom: 5rem;
  }
  .btns-grid-container {
    display: grid;
    padding: 0 50px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(100px, auto);
    column-gap: 50px;
    row-gap: 66px;
    margin-top: 60px;
    grid-template-areas: "col1 col2";
  }
  .btns-grid{
    background: none;
  }
  .btns-grid-title:hover {
    cursor: pointer;
  }
  .btns-grid-title{
    padding: 20px;
  }
  .btns-grid-title, .btns-grid-title h3{
    background: #f2e9e9;
    border-radius: 10px;
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 0.78px;
  }
  .btns-grid-title.open {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  .btns-grid-title.open:hover {
    cursor: default;
  }
  .plus-svg {
    width: 20px;
  }
  .plus-svg.open{
    width: 20px !important;
  }
  .btns-content {
    display: none;
  }
  .btns-content.open {
    display: flex;
    flex-direction: column;
    font-weight: 300;
    gap: 25px;
    background: #f2e9e9;
    padding: 15px 20px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  .btns-content > div {
    letter-spacing: 0.8px;
    line-height: 1.4;
    font-size: clamp(1rem, 0.866rem + 0.216vw, 1.125rem);
    color: #3d4042;
  }
  .lnk-btns{
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 25px;
  }
  .main-services {
    padding-top: 150px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 200px;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    row-gap: 150px;
  }
  .main-services-item > h2 {
    font-size: clamp(1.25rem, 1.116rem + 0.216vw, 1.375rem);
    margin-top: 25px;
    margin-bottom: 40px;
  }
  .mainservtxt {
    font-size: clamp(0.875rem, 0.623rem + 0.81vw, 1.125rem);
    letter-spacing: 0.64px;
    line-height: 1.5;
  }
  .main-services-item > img {
    width: auto;
    height: 70px;
  }
  .motive {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 100px;
  }
  .motive > h2 {
    width: 50%;
    display: block;
  }
  .offer-desc{
    margin-top: 30px;
    line-height:30px;
  }
  .request-btn2, .request-btn3 {
    border-radius: 15px;
    padding: 20px 0px;
    width: 240px;
    /*margin-top: 60px;*/
    font-size: clamp(1rem, 0.866rem + 0.216vw, 1.125rem);
  }
  .request-btn3{
    margin-top: 60px;
  }
  .cspace{
    width: 100%;
    display: block;
    height: 30px;
    position: relative;
  }
}

@media (max-width: 991px){
  .content {
    min-height: 60vh;
    display: grid;
    padding-top: 100px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .title-container > p {
    font-size: 18px;
    line-height: 1.5;
  }
  .content-p{
    font-size: 16px;
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .process {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 100px;
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps > div > p {
    font-size: 16px;
  }
  .steps > div > span {
    font-size: 20px;
  }
  .gallery {
    padding-top: 45px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 55px;
  }
  .gallery > h2 {
    margin-bottom: 30px;
  }
  .services-container {
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
  }
  .services-title-text {
    font-size: 24px;
    line-height: 42px;
  }
  .town-item{
    margin-top: 40px;
  }
  .services-description-elements {
    font-size: 16px;
    letter-spacing: 1.32px;
    line-height: 1.5;
    color: #3d4042;
  }
  .first {
    margin-bottom: 1.5rem;
  }
  .btns-grid-container {
    display: grid;
    grid-template-columns: repeat(minmax(300px, 1fr));
    grid-auto-rows: minmax(80px, auto);
    margin-top: 60px;
    gap: 25px;
  }
  .btns-grid-title{
    padding: 15px;
  }
  .btns-grid-title, .btns-grid-title h3 {
    font-size: 14px;
    letter-spacing: 0.78px;
    line-height: normal;
  }
  .plus-svg {
    width: 16px;
  }
  .plus-svg.open{
    width: 16px !important;
  }
  .btns-content {
    display: none;
  }
  .btns-content.open {
    display: flex;
    padding: 10px 15px;
    flex-direction: column;
    font-weight: 300;
    font-size: 13px;
    gap: 25px;
  }
  .btns-content > div {
    letter-spacing: 0.8px;
    line-height: 1.6;
    color: #3d4042;
  }
  .lnk-btns{
    font-size: 10px;
    margin-bottom: 20px;
  }
  .main-services {
    grid-template-columns: 1fr;
    padding-top: 50px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 120px;
    gap: 60px;
  }
  .main-services-item > img {
    width: auto;
    height: 56px;
  }
  .main-services-item > h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .mainservtxt {
    font-size: 16px;
    letter-spacing: 0.64px;
    line-height: 1.5;
  }
  .motive {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .offer-desc{
    margin-top: 15px;
    line-height:25px;
  }
  .request-btn2, .request-btn3 {
    padding: 15px 0px;
    width: 200px;
    border-radius: 10px;
    /*margin-top: 40px;*/
    font-size: 14px;
  }
  .request-btn3{
    margin-top: 40px;
  }
  .lnk-deviz img{
    height: 16px;
    margin-right: 8px;
    margin-top: -2px;
  }
  .lnk-deviz a{
    font-size: 14px;
  }
  .cspace{
    width: 100%;
    display: block;
    height: 30px;
    position: relative;
  }
}

@media(min-width:768px){
  .mobile{
    display: none !important;
  }
}

@media(max-width:767px){
  .desktop{
    display: none !important;
  }
}

/* Formularistica */
.main {
  display: flex;
  flex-direction: column;
}

.main > h1{
  color: #3d4042;
}

.main > div > div > p {
  color: #3d4042;
  line-height: 1.5;
}

.main > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.main > div:last-child {
  display: flex;
}

.contact-link {
  display: flex;
  flex-direction: column;
}

.contact-link > a {
  color: #3d4042;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}

.contact-link > a:hover, .contact-link > a:visited, .contact-link > a:active{
  text-decoration: none;
  color: #3d4042;
}

.form-container{
  display: flex;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  min-height: 100vh;
  align-items: center;
  background-color: #d8d8d8;
}

.form-i{
  background-color: #F0F0F0;
  padding: 50px;
  border-radius: 10px;
  margin-top: 60px;
  margin-bottom: 60px;
}

/* Formularistica - formular contact */
.wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
	color:#3D4042;
	opacity: 1;
	text-transform:uppercase;
	display:block;
  font-weight: 500;
}

.wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select{
	border: 1.5px solid #3D4042;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	width: 100%;
	height:50px;
	color:#3D4042;
	background:#f0f0f0;
	margin-top:5px;
	margin-bottom:25px;
	
	transition:all 300ms ease;
  box-sizing: border-box;
}

.wpcf7 select{
  width: 100%;
  height: 50px;
  /*background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");*/
  background-image: url("../img/arrow-d.svg");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 5px;
  background-size: 20px 20px;
  outline: none;
  /*
  border-radius: 2px;
  margin-right: 2rem;
  padding: 1rem;
  padding-right: 2rem;
  */
}

.wpcf7 select:focus{
	outline: none;
}

.wpcf7 select::after{
	content: 'p';
	display: block;
	position: absolute;
	width: 15px;
	height: 15px;
	background: #ff0000;
	left: 0;
	bottom: 0;
}

input:focus, textarea:focus{
	border-bottom: 2px solid #59b18f;
	outline: none;
}

.wpcf7-date{
	border-bottom: 1.5px solid #3D4042 !important;
	color:#3D4042 !important;
	background:#f0f0f0;
	border:none;
	width:100%;
	height:50px;
	margin-top:5px;
	margin-bottom:35px;
	padding:10px;
}

.wpcf7-list-item{
	display:block;
	width:100%;
	margin-left:0px !important;
	font-weight:200;
	margin-bottom:10px !important;
}

.checkbox-754, .check-servicii{
	margin-bottom:35px !important;
	display:block;
}

.wpcf7-list-item-label{
	font-weight:400;
}

.wpcf7-textarea, .nf-field-element textarea{
	border: 1.5px solid #3D4042;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	width:100%;
	height:100px;
	resize:vertical;
	color:#3D4042;
	background:#f0f0f0;
	margin-bottom:15px;
	padding-top:10px;
	font-weight:200;
	transition:all 300ms ease;
  box-sizing: border-box;
}

.wpcf7-submit{
	color: #F0F0F0;
	font-weight: 600;
	text-decoration: none;
	background:#3D4042;
	border: none;
  outline: none;
	transition:all 300ms ease;
	display: table;
	position: relative;
  width: 100%;
  padding: 15px 0px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
	}


.wpcf7-submit:hover{
	background:#000;
	text-decoration: none;
}

.wpcf7-not-valid{
	border:1px solid #ff0000;
	margin-bottom:0px;
  box-sizing: border-box;
}

.wpcf7-not-valid-tip, .nf-error-required-error{
	background:#ff0000;
	color:#fff !important;
	font-weight:400;
	font-size:12px !important;
	padding:15px;
	width:100%;
  box-sizing: border-box;
}

.facord{
	font-size:12px!important;
	text-transform:none!important;
	font-weight:300!important;
	display:block!important;
	margin-bottom:35px;
	cursor: pointer;
	position: relative !important;
	float:left !important;
	width:100% !important;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  line-height: 1.5;
  display: inline-block;
  width: 100%;
}

.ftxt{
  padding-left: 30px !important;
}

.facord .wpcf7-list-item{
	width:auto!important
}

.facord input{
	position: absolute !important;
	opacity: 0 !important;
	cursor: pointer !important;
	height: 0 !important;
	width: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
}

.checkmark-contact{
	position: absolute;
	left: 0;
	background-color: #f0f0f0;
	border: 1.5px solid #3D4042;
	transition: all 300ms ease;
  z-index: 90;
}

.facord:hover .checkmark-contact{
	background-color: #ddd;
}
/*
.facord input:checked + .checkmark-contact{
	background-color: #eee !important;
}
*/
  .checkmark-contact:after {
	content: "";
	position: absolute;
	display: none;
	transition: all 300ms ease;
  }

.facord input:checked ~ .checkmark-contact:after{
	display: block !important;
	transition: all 300ms ease;
}

.facord .checkmark-contact:after{
	left: 4px;
	bottom: 2px;
	width: 3px;
	height: 8px;
	border: solid #3D4042;
	border-width: 0 1.5px 1.5px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	transition: all 300ms ease;
}

.facord:hover .checkmark-contact:after{
	border: solid #000;
	border-width: 0 1.5px 1.5px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.acord{
vertical-align:middle;
}

.acord, .acord-text{
display:inline-block;
}

.acord-text{
	margin-left: 30px;
	margin-top:0px !important;
	padding-top:0px !important;
	vertical-align:middle;
}

.form-note{
    font-size:12px;
    margin-bottom:30px;
}

.boxuri{
    width:100%;
    display:block;
    margin-top:35px;
    margin-bottom:35px;
}

.wpcf7-list-item label{
    text-transform: none;
    margin-top:10px !important;
}

@media (min-width: 992px) {
  .main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 200px 50px 100px 50px;
  }
  .main > div > h1{
    margin-bottom: 15px;
  }
  .main > div > div > p {
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.2px;
  }
  .main > div:first-child {
    width: auto;
    max-width: 50%;
  }
  .main > div:last-child {
    display: flex;
    width: 50%;
    justify-content: center;
  }
  .main > div:last-child > img {
    min-width: 175px;
    max-width: 300px;
    height: auto;
  }
  .contact-link {
    flex-direction: row;
    margin-top: 110px;
    gap: 50px;
  }
  .contact-link > a {
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.2px;
  }
  .contact-link > a:first-child > img{
    max-width: 16px;
    height: auto;
  }
  .contact-link > a:nth-child(2) > img{
    max-width: 22px;
    height: auto;
  }
  .form-container{
    padding: 0px 50px;
    background-image: url('../img/oferta-d.jpg');
    background-position:center;
  }
  .wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
    font-size: 14px;
    line-height: 1.5;
  }
  .wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select, .wpcf7-date, .wpcf7 select, .wpcf7-list-item, .wpcf7-list-item-label, .wpcf7-textarea, .nf-field-element textarea {
    font-size:14px;
  }
  .checkmark-contact{
    height: 13px;
    width: 13px;
  }
}

@media(max-width:991px){
  .main {
    padding: 130px 20px 50px 20px;
  }
  .main > h1{
    margin-bottom: 30px;
  }
  .main > div > div > p{
    font-size: 16px;
    letter-spacing: 0.96px;
  }
  .contact-link {
    margin-top: 40px;
    /*
    margin-bottom: 40px;
    */
    gap: 30px;
  }
  .contact-link > a:first-child > img{
    max-width: 14px;
    height: auto;
  }
  .contact-link > a:nth-child(2) > img{
    max-width: 20px;
    height: auto;
  }
  .main > div:last-child > img {
    width: 175px;
  }
  .form-container{
    padding: 0px 20px;
    background-image: url('../img/oferta-m.jpg');
    background-position:right;
  }
  .wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
    font-size: 12px;
    line-height: 1.8;
    margin-top:35px;
  }
  .wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select, .wpcf7-date, .wpcf7 select, .wpcf7-list-item, .wpcf7-list-item-label, .wpcf7-textarea, .nf-field-element textarea {
    font-size:12px;
  }
  .checkmark-contact{
    height: 10px;
    width: 10px;
  }
  .form-i{
    background-color: rgba(240, 240, 240, 0.95);
    padding: 20px;
    margin-top: 0px;
    /*margin-right: 30px;*/
  }
  
}


/* --- Custom Checkbox Styles for Contact Form 7 --- */

/* 1. Container pentru fiecare item (checkbox + label) */
.wpcf7-form .wpcf7-list-item {
  display: block; /* Afișează fiecare checkbox pe rândul său */
  margin-bottom: 10px; /* Spațiu între checkbox-uri */
  position: relative; /* Necesar pentru poziționarea elementelor ::before și ::after */
}

/* 2. Stilizează label-ul pentru a permite click */
.wpcf7-form .wpcf7-list-item label {
  display: inline-flex; /* Aliniază textul cu caseta custom */
  align-items: center;
  cursor: pointer;
  position: relative; /* Necesar dacă inputul este în interior */
  user-select: none; /* Previne selectarea textului la click */
  min-height: 18px; /* Asigură o înălțime minimă */
}

/* 3. Ascunde checkbox-ul original al browserului */
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
  position: absolute; /* Scoate din flux */
  opacity: 0; /* Fă-l invizibil */
  cursor: pointer;
  height: 0;
  width: 0;
  margin: 0; /* Elimină orice spațiu ocupat */
}

/* 4. Span-ul care conține textul label-ului - aici vom atașa stilul custom */
.wpcf7-form .wpcf7-list-item .wpcf7-list-item-label {
  display: inline-block; /* Comportament de bloc în linie */
  padding-left: 28px; /* Spațiu la stânga pentru caseta custom (18px + 10px padding) */
  position: relative; /* Necesar pentru ::before și ::after */
  line-height: 18px; /* Aliniază vertical cu caseta */
}

/* 5. Creează caseta custom (înainte de textul label-ului) */
.wpcf7-form .wpcf7-list-item .wpcf7-list-item-label::before {
  content: ''; /* Obligatoriu pentru pseudo-elemente */
  position: absolute;
  left: 0; /* Poziționează la început */
  top: 0; /* Aliniază cu partea de sus a textului */
  width: 16px; /* Lățimea casetei */
  height: 16px; /* Înălțimea casetei */
  border: 1.5px solid #3d4042; /* Border conform cerinței */
  background-color: #f0f0f0; /* Background conform cerinței */
  border-radius: 0; /* Fără colțuri rotunjite */
  box-sizing: border-box; /* Include border-ul în dimensiuni */
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; /* Tranziție fină */
}

/* 6. Creează bifa (ascunsă inițial) */
.wpcf7-form .wpcf7-list-item .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 5px; /* Poziționare orizontală în interiorul casetei */
  top: 2px;  /* Poziționare verticală în interiorul casetei */
  width: 4px;
  height: 8px;
  border: solid #3d4042; /* Culoarea bifei (aceeași cu border-ul) */
  border-width: 0 1.5px 1.5px 0; /* Creează forma bifei */
  transform: rotate(45deg); /* Rotește pentru a forma bifa */
  opacity: 0; /* Ascunde bifa inițial */
  transition: opacity 0.15s ease-in-out; /* Tranziție fină */
}

/* 7. Afișează bifa când checkbox-ul (input-ul ascuns precedent) este bifat */
.wpcf7-form .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  opacity: 1; /* Afișează bifa */
}

/* 8. (Opțional) Adaugă un stil de focus pentru accesibilitate */
.wpcf7-form .wpcf7-list-item input[type="checkbox"]:focus + .wpcf7-list-item-label::before {
  outline: none;
}

