.tabs {
    display: flex;
    gap: 40px;
    margin-bottom: 0px;
    flex-wrap: wrap;
}
.h1{
    vertical-align: middle;
    color: #000000;
    font-size: 30px;
    font-family: 'AlteHaasGrotesk', Arial, sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin: 40px 0 2rem 10px;
    font-weight: 400;
}
.contact-wrapper {
    padding: 0px 10px;
}
.uppercase{
    text-transform: uppercase;
}
.env-nr p{
  counter-increment: item;
  position: relative;
  padding-left: 2rem;
}
.env-nr p::before{
    content: counter(item) ". ";
    position: absolute;
    left: 0;
    font-weight: bold;
}
.tab-btn {
    background: none;
    border: none;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 5px 0;
    transition: 0.2s;
    color: #bfbfbf;
    font-size: 18px;
    font-family: 'AlteHaasGrotesk', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}
.js-feed-container.t-feed__container.t915__container.t-feed__container_mobile-grid.t-feed__container_inrow3 {
    padding-top: 0rem;
}
.tab-btn.active {
    color: #000;
/*    font-weight: 600;*/
}

.tab-content {
    display: none;
    padding-top: 2rem;
}
.services-tab{
    padding-top: 2rem;
}
.tab-content.active {
    display: block;
}
.context{
   width: 53%;
/*    width: 86%;*/
/*    background: green;*/
}
.tab-content-flex{
    display: flex;
}
video{
    width: calc(59% - 22%);
    margin: 0 auto;
    display: block;
    margin-top: calc(-2rem - 1.5rem);
}
.tab-content .video{
    width: 50%;
/*    background: red;*/
}
.context h2{
    color: #000000;
    font-size: 30px;
    font-family: 'AlteHaasGrotesk', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-top: 0;
    margin-bottom: 0;
}
.group h3{
    color: #000000;
    font-size: 18px;
    font-family: 'AlteHaasGrotesk', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin: 2rem 0 .5rem 0;
    text-transform: uppercase;
}
.group p{
    color: #000000;
    font-size: 15px;
    font-family: 'AlteHaasGrotesk', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin: 0rem 0 .1rem 0;
}
.service-form {
   width: 100%;
   display: flex;
   flex-direction: column;
   gap: 18px;
   font-family: inherit;
}

.form-row {
   display: flex;
   flex-direction: column;
   gap: 6px;
}

.service-form label,
.service-form .label {
   font-size: 14px;
   letter-spacing: .03em;
   text-transform: uppercase;
}

.service-form input,
.service-form select,
.service-form textarea {
    padding: 0px 12px 5px 0px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    border-radius: 0;
    outline: none;
    background: #fff;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
    border-color: #000;
}

.style-options {
    display: flex;
    flex-wrap: wrap;
}

/*.style-options label {
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    text-align: center;
    background: #f3f3f3;
    text-transform: uppercase;
    border-radius: .5rem;
    width: 24%;
    margin-right: 1%;
}
.style-options label:last-child {
    margin-right: 0;
}*/
.style-custom {
   margin-top: 8px;
}

.btn-submit {
   align-self: flex-start;
   margin-top: 8px;
   padding: 10px 26px;
   border: 1px solid #000;
   background: #000;
   color: #fff;
   font-size: 14px;
   letter-spacing: .08em;
   text-transform: uppercase;
   cursor: pointer;
   transition: .2s;
}

.btn-submit:hover {
   background: #fff;
   color: #000;
}
/*.w-form{
   width: 62%;
}*/
.w-form{
   width: 100%!important;
}
.style-options {
   display: none;
   flex-direction: column;
   gap: 16px;
}

.style-item {
   display: flex;
   align-items: center;
   gap: 12px;
}

/* text lângă switch */
.style-text {
   font-size: 14px;
   letter-spacing: .02em;
}

.ios-switch {
   position: relative;
   width: 42px;
   cursor: pointer;
   height: 24px;
   display: inline-block;
}

.ios-switch input {
   opacity: 0;
   cursor: pointer;
   width: 0;
   height: 0;
}

.ios-slider {
   position: absolute;
   inset: 0;
   background: #d1d1d1;
   border-radius: 999px;
   transition: .25s;
}

/* Contact styles (index + contact page) */
.contact-page {
   background: #ffffff;
   color: #111111;
}

.contact-page-content {
   padding: 2rem clamp(22px, 12vw, 160px) clamp(140px, 14vw, 200px);
   padding-left: max(var(--side-nav-offset, 0px), clamp(22px, 12vw, 160px));
   display: grid;
   grid-template-columns: minmax(300px, 1fr) minmax(380px, 1.4fr);
   gap: clamp(32px, 10vw, 100px);
   align-items: start;
}

.contact-info h1 {
   margin: 0 0 30px;
   font-size: 30px;
   font-weight: 400;
   letter-spacing: 0.3px;
}

.contact-info {
   font-size: 15px;
   line-height: 1.6;
   letter-spacing: 0.1px;
}

.contact-info-row {
   margin-bottom: 28px;
   display: grid;
   grid-template-columns: 110px 1fr;
   column-gap: 16px;
}

.contact-info-row .label {
   color: #222222;
   font-weight: 400;
}

.contact-info-row .value {
   color: #000000;
}

.contact-info-row .value a {
   color: #000000;
   text-decoration: none;
}

.contact-info-row .value a:hover {
   text-decoration: underline;
}

.map-link {
   color: #000000;
   text-decoration: none;
}

.map-link:hover {
   text-decoration: underline;
}

.contact-form-panel h2 {
   margin: 0 0 28px;
   font-size: clamp(22px, 2.6vw, 26px);
   font-weight: 400;
   line-height: 1.5;
}

.contact-page-form {
   display: flex;
   flex-direction: column;
   gap: 16px;
}

.input-group {
   display: block;
}

.input-group input,
.input-group textarea {
   width: 100%;
   border: none;
   border-bottom: 1px solid #cfcfcf;
   padding: 10px 2px 12px;
   font-size: 14px;
   font-weight: 300;
   background: transparent;
   outline: none;
   color: #111111;
}

.input-group textarea {
   resize: vertical;
   min-height: 120px;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
   color: #b8b8b8;
}

.input-group input:focus,
.input-group textarea:focus {
   border-bottom-color: #888888;
}

.contact-form-actions {
   display: flex;
   justify-content: flex-end;
   margin-top: 10px;
}

.contact {
   position: relative;
   z-index: 2;
   background: #ffffff;
   padding-left: max(var(--side-nav-offset, 0px), 20px);
}

.contact-inner {
   width: min(800px, 100%);
   display: flex;
   flex-direction: column;
   gap: 28px;
   margin: 0 auto 14rem auto;
}

.contact-title {
   margin: 0;
   text-align: center;
   font-size: clamp(32px, 3vw, 34px);
   font-weight: 500;
   letter-spacing: 0.2px;
   color: #000000;
   margin-bottom: 1.5rem;
}

.contact-form {
   display: flex;
   flex-direction: column;
   gap: 20px;
   width: 88%;
   margin: 0 auto;
}

.contact-form .form-row {
   display: flex;
   flex-direction: column;
}

.contact-form .form-row input,
.contact-form .form-row textarea {
   border: none;
   border-bottom: 1.4px solid #2b2b2b;
   padding: 10px 4px 12px;
   font-size: 14px;
   font-weight: 300;
   background: transparent;
   color: #111111;
   outline: none;
   transition: border-color 0.2s ease;
}

.contact-form .form-row textarea {
   resize: vertical;
   min-height: 110px;
}

.contact-form .form-row input::placeholder,
.contact-form .form-row textarea::placeholder {
   color: #b8b8b8;
}

.contact-form .form-row input:focus,
.contact-form .form-row textarea:focus {
   border-color: #9f9f9f;
}

.form-actions {
   display: flex;
   justify-content: flex-end;
}

.btn {
   border: none;
   background: #0c0c0c;
   color: #ffffff;
   padding: 11px 28px 10px;
   font-size: 12px;
   letter-spacing: 1.8px;
   text-transform: uppercase;
   cursor: pointer;
   transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
   transform: translateY(-1px);
   opacity: 0.9;
}

.sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   border: 0;
}



.ios-slider::before {
   content: "";
   position: absolute;
   height: 20px;
   width: 20px;
   left: 2px;
   top: 2px;
   background: #fff;
   border-radius: 50%;
   box-shadow: 0 1px 3px rgba(0,0,0,.3);
   transition: .25s;
}

.ios-switch input:checked + .ios-slider {
   background: #34c759;
}

.ios-switch input:checked + .ios-slider::before {
   transform: translateX(18px);
}


.accordion h4{
    color: #000000;
    font-size: 21px;
    font-family: 'AlteHaasGrotesk', Arial, sans-serif;
    line-height: 1.2;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-top: 5rem;
    margin-bottom: 0;
}

.accordion {
   width: 100%;
   display: flex;
   flex-direction: column;
}

.acc-item {
   border-bottom: 1px solid #e5e5e5;
}

.acc-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   cursor: pointer;
}

.acc-title {
   font-size: 21px;
   letter-spacing: .03em;
   text-transform: uppercase;

   position: relative;
    width: 100%;
    padding: 27px 50px 27px 0;
    text-align: left;
    background-color: transparent;
    border: none;
    box-sizing: border-box;
    cursor: pointer;

}

.acc-icon {
   font-size: 28px;
   line-height: 1;
   transition: transform .25s ease, opacity .25s ease;
   opacity: .4;
}

.acc-item.active .acc-icon {
   transform: rotate(45deg); /* + devine x */
   opacity: .9;
}

.acc-content {
   max-height: 0;
   overflow: hidden;
   opacity: 0;
   transform: translateY(-8px);
   transition: max-height .45s ease, opacity .3s ease, transform .3s ease;
}

.acc-item.active .acc-content {
   max-height: 1000px; /* destul pentru orice text */
   opacity: 1;
   transform: translateY(0);
}

/* text styling */
.acc-content p,
.acc-content ul {
   margin: 0 0 12px 0;
   font-size: 15px;
   line-height: 1.6;
}

.acc-content ul {
   padding-left: 18px;
}

@media only screen and (max-width: 1400px) {
    video {
        width: 100%;
        margin-top: 0;
        margin: 0 0 0 auto;
    }
    .video{
      width: 31%
    }
    .context {
        width: 69%;
        padding-right: 6rem;
    }
    .w-form{
   width: 68%;
}

}

@media only screen and (max-width: 920px) {
   .tab-content-flex {
       display: block;
   }
   video {
       margin: 2rem 0 0 0!important;
   }
   .context {
       width: 100%;
       padding-right: 0rem;
   }
       .video {
        width: 100%;
    }
    .w-form{
   width: 100%;
}

}





@media (max-width: 1178px) {
    video {
        margin-top: inherit;
    }

}

@media (max-width: 768px) {
   .contact {
      padding: 72px 20px 120px;
      padding-left: max(var(--side-nav-offset, 0px), 20px);
   }

   .contact-page-content {
      grid-template-columns: 1fr;
      padding: 72px 20px 120px;
      padding-left: max(var(--side-nav-offset, 0px), 20px);
   }
}



@media (max-width: 768px) {
   .service-form {
      max-width: 100%;
   }
   .context{
      width: 100%;
   }
   .tab-content.active {
        display: block;
    }
    video {
        width: 100%;
    }
    .tab-content .video {
        width: 100%;
    }
    .tab-content .context {
        width: 100%;
    }
    .tab-content-flex {
        display: block;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tabs {
        gap: 20px;
    }
    .tab-btn {
        font-size: 16px;
    }
}


@media (max-width: 540px) {
   .contact-form-actions {
      justify-content: flex-start;
   }

   .contact-title {
      font-size: 20px;
   }
}


@media only screen and (max-width: 520px) {
   .acc-title {
      font-size: 16px;
   }
   .services-pills {
      gap: 6px;
   }

}


@media only screen and (max-width: 430px) {
   .services-pills {
      gap: 0px;
   }
   .services-tab {
      padding-top: 0rem;
   }

}
