.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.main-txt{
  color: #3D4042;
  font-weight: 700;
}

.main > div:first-child > h1 > span {
  color: #4ea37b;
}

.white {
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-repeat: no-repeat;
  height: 80vh;
  /*padding-left: 100px;*/
}

.white-txt p{
  color: #efefef;
  line-height: normal;
}

.white h2, .key h2{
  color: #4ea37b;
}

.key-txt p {
  color: #000;
  line-height: normal;
}

.description {
  display: grid;
  background-color: #caccc9;
}

.description h2 {
  color: #3d4042;
  font-weight: 700;
}

.boxuri{
    width:100%;
    display:block;
    margin-top:35px;
    margin-bottom:35px;
}

.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: 992px) {
  .main {
    display: flex;
    padding: 0px 50px;
    background-image: url('../img/grialb-d.jpg');
    background-position: center;
  }
  .main > div:first-child {
    max-width: 50%;
  }
  .main > div > h1{
    margin-bottom: 50px;
  }
  .main-txt{
    font-size: clamp(1.25rem, 1.116rem + 0.216vw, 1.375rem);
    letter-spacing: 1.3px;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 20px;
  }
  .main > div > a > img{
    max-width: 16px;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .white {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    justify-content: end;
    background-image: url('../img/alb-d.jpg');
    background-position: center;
  }
  .white > div:first-child {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding: 0 50px 0 0;
  }
  .white-txt p, .key-txt p{
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
  }
  .key {
    display: flex;
    max-width: 100%;
    flex-direction: row;
    justify-content:start;
  }
  .key > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding-left: 50px;
    width: 50%;
    /* padding-right: 1100px; */
  }
  .key > div:first-child > p {
    font-size: clamp(1rem, 0.696rem + 1.297vw, 1.5rem);
  }
  .key > div:last-child {
    width: 50%;
    display: flex;
  }
  .description {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 150px;
    padding-bottom: 150px;
  }
  .description h2 {
    font-size: clamp(1.063rem, 0.728rem + 0.539vw, 1.375rem);
    letter-spacing: 1.32px;
  }
  .desc-txt{
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
    line-height: 1.6;
    color: #3d4042;
    margin-top: 30px;
  }
  .offer-desc{
    line-height: 30px;
  }
  .badge-container{
    margin-top: 40px;
  }
  .badge2{
    width: 150px;
  }
  .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;
  }
}

@media(max-width:991px){
  .main {
    padding: 0px 20px;
    background-image: url('../img/grialb-m.jpg');
    background-position: right;
  }
  .main-txt{
    font-size: 17px;
    letter-spacing: 0.9px;
    line-height: normal;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 60px;
  }
  .main > div > a > img{
    max-width: 12px;
    height: auto;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .white {
    justify-content:center;
    gap: 20px;
    padding: 0px 20px;
    background-image: url('../img/alb-m.jpg');
    background-position: left;
  }
  /*
  .white > div:first-child{
    margin-left: 100px;
  }
  */
  .white-txt p, .key-txt p{
    font-size: 16px;
    letter-spacing: 1.32px;
  }
  .key {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /*padding-left: 20px;
    padding-right: 100px;*/
    padding:0px 20px;
    justify-content: center;
  }
  .description {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
    padding-bottom: 100px;
  }
  .description h2 {
    font-size: 17px;
    letter-spacing: 1.02px;
  }
  .desc-txt{
    font-size: 16px;
    letter-spacing: 0.96px;
    line-height: 1.6;
    color: #3d4042;
    margin-top: 20px;
  }
  .offer-desc{
    line-height: 25px;
  }
  .badge-container{
    margin-top: 40px;
  }
  .badge2{
    width: 122px;
  }
  .request-btn2, .request-btn3 {
    padding: 15px 0px;
    width: 200px;
    border-radius: 10px;
    margin-top: 40px;
    font-size: 14px;
  }
  .lnk-deviz img{
    height: 16px;
    margin-right: 8px;
    margin-top: -2px;
  }
  .lnk-deviz a{
    font-size: 14px;
  }
}

@media(min-width:768px){
  .mobile{
    display: none !important;
  }
  .key{
    background-image: url('../img/lacheie-d.jpg');
    background-position: center;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media(max-width:767px){
  .desktop{
    display: none !important;
  }
  .key{
    background-image: url('../img/lacheie-m.jpg');
    background-position: right;
    height: 80vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
}


/* Formularistica */
.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;
}

@media (min-width: 992px) {
  .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;*/
  }
  
}


.extra-serv{
  margin-bottom: 15px;
}

.wpcf7-list-item:not(:last-of-type){
  margin-bottom: 30px !important;
}

/* --- 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;
}
