/* =========== GENERAL =============== */

footer .tp-footer__area,
footer .tp-copyright__area {
  background: #0f4c81;
}
footer .tp-footer__area a,
footer .tp-footer__widget-content ul li a {
  color: #efefef;
}
footer .tp-footer__area a:hover,
footer .tp-footer__widget-content ul li a:hover,
footer .tp-footer__area a:focus,
footer .tp-footer__widget-content ul li a:focus {
  color: #fff;
  transition: 400ms;
}
footer .tp-footer__main-location a,
footer .tp-footer__main-mail a {
  padding-left: 0;
}
footer .tp-footer__main-location a:hover,
footer .tp-footer__main-mail a:hover {
  transform: scale(1.02);
}

/* =========== INDEX =============== */
div.tp-hero-2__left-img.circle-img {
  border-radius: 50%;
  border: 4px solid #ffb302;
  overflow: hidden;
  max-height: 410px;
  max-width: 410px;
}

.tp-hero-2__feature-box_container .tp-hero-2__feature-content:hover {
  background: #336ef9;
  transition: 400ms;
}
.tp-hero-2__feature-box_container .tp-hero-2__feature-content:hover svg {
  color: #fff;
  transition: 400ms;
}

.row.services-section{
	justify-content: center;
}
video.custom-video-container {
  max-width: 100%;
}

div.custom-banner-contact-home, div.custom-banner-contact-about {
  padding: 4rem 0;
  background: #f5f7fa;
}
div.custom-banner-contact-home .tp-cta-3__title-sm,
div.custom-about-form-cont .tp-newslatter__title-sm{
	font-size: 48px;
}
.tp-about-2__area .tp-about-2__sub-img-1 a::after {
  top: 0;
  right: 0;
}

div.ns-section-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
}
.ns-section-bg.tp-choose-2__bg img {
  width: 100%;
}
.ns-section-bg a.pulse-btn.popup-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 70px;
  width: 70px;
  background-color: var(--tp-theme-1);
  text-align: center;
  line-height: 73px;
  color: var(--tp-common-white);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.tp-price-2__content-box,
div.tp-price-2__area .tp-price-2__feature-wrap {
  justify-content: space-between;
}

/* ================ ABOUT PAGE ================= */
div.custom-about-form-cont .tp-newslatter__bg {
  max-width: 1024px;
}
div.about-process-section {
  min-height: 800px;
  background: #0f4c81;
  position: relative;
}
div.about-process-section p {
  color: #fff;
  padding-bottom: 0;
  margin-bottom: 24px;
}


/* ================= CONTACT ==================== */

form .tp-contact-input {
  min-height: 48px;
  margin-bottom: 14px;
}
form .tp-contact-input input {
  padding: 14px;
  height: 48px;
  line-height: 1.25rem;
}
form div.nice-select.form-control {
  width: 100%;
  max-width: 448px;
  height: 48px;
  background: #f8f8f9;
  padding: 4px 14px;
}
form div.nice-select::after {
  right: 10px;
}
form div.nice-select .list {
  width: 100%;
}
form .tp-contact-input textarea {
  resize: none;
  width: 100%;
  max-width: 448px;
  height: 200px;
  padding: 14px;
  line-height: 1.25rem;
}
form .tp-contact-input input[type="checkbox"] {
  height: auto;
  width: auto;
  margin-right: 4px;
}

form .tp-contact-input input::placeholder,
form .tp-contact-input textarea::placeholder {
  font-size: 15px;
}

/* ================== SERVICES ================== */
.plans-section .container,
.custom-portfolio-style .container {
  text-align: center;
}
.custom-portfolio-style .container .row {
  justify-content: center;
}
.custom-portfolio-style .tp-price-2__title-wrap {
  margin-bottom: 32px;
}
.plans-section .team__details-content,
.custom-portfolio-style .tp-portfolio-item-content {
  text-align: left;
}

div.portfolio-custom-content {
  padding: 4rem 1rem 6rem;
}
div.portfolio-custom-content h3 {
  margin-bottom: 32px;
}
div.plans-section p,
div.portfolio-custom-content p {
  font-size: 1rem;
  color: #333;
}
div.plans-section ul,
div.portfolio-custom-content ul {
  margin-left: 24px;
  font-size: 1rem;
  color: #333;
}
div.plans-section ul,
div.plans-section .team__details-inner,
div.plans-section .tp-price-2__title-wrap {
  margin-bottom: 32px;
}
div.plans-section ul li,
div.portfolio-custom-content ul li {
  margin-bottom: 10px;
}

.team__details-content.plans-section p {
  margin-right: 24px;
  padding-right: 0;
}
div.plans-section .team__details-content {
  padding: 1.5rem;
}
div.tp-service-details-wrapper .tp-service-details-list ul {
  margin-left: 24px;
  margin-bottom: 24px;
}
div.tp-service-details-wrapper .tp-service-details-list ul li {
  list-style: disc;
  margin-bottom: 10px;
}

/* ============ PROCESOS ============== */
div.process-section .tp-about__img-1 {
  position: initial;
  text-align: left;
}
div.process-section .col-content-process {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

div.process-section .tp-about__img-1 img {
  max-width: 480px;
}
div.process-section ul {
  list-style-type: decimal;
  margin-left: 20px;
}
div.process-section ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* =============== DISPONIBILIDAD ================= */
.disp-logos-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin: 1rem 0;
  padding: 1rem;
}
.disp-logos-container img {
  max-width: 100%;
  height: auto;
}

.wspp-send-location-container .tp-contact-input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}
.wspp-send-location-container .tp-contact-input-wrapper .tp-contact-input {
  width: 70%;
  margin: 0;
}
.wspp-send-location-container .tp-contact-input-wrapper .tp-contact-btn {
  width: 30%;
}
.wspp-send-location-container .form-wspp-location {
  display: flex;
  align-items: center;
}
.wspp-send-location-container .tp-contact-btn button {
  border: 1px solid #fff;
  height: 60px;
  padding: 14px;
  width: 100%;
  line-height: 1.25rem;
}


/* =============== POPUPS ================= */
.popup.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.popup .modal-content {
  position: relative;
  max-width: 767px;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border-radius: 12px;
  animation: fadeInScale 0.4s ease-out;
}
.popup .modal-content img {
  width: 100%;
  height: auto;
  display: block;
}
.popup .link-popup-abs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-indent: -9999px;
}
.popup .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: #333;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.popup .close-btn:hover {
  transform: scale(1.1);
  background: #f0f0f0;
}
.btn-reopen-kniby {
  position: fixed;
  bottom: 50px;
  left: 50px;
  z-index: 9;
  background-color: #336ef9;
  color: #fff;
  border: none;
  height: 44px;
  padding: 10px 14px;
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.btn-reopen-kniby:hover {
  color: #fff;
  transform: scale(1.1);
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* =============== MEDIA QUERYS ================= */
@media (max-width: 1199px){
  .home.tp-choose-2__area {
    padding-top: 0;
  }
  .home.tp-choose-2__area .container{
    padding-top: 1rem;
  }
  div.ns-section-bg {
    position: inherit;
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px){
  .disp-logos-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .btn-reopen-kniby {
    right: 20px;
  }
}

@media (max-width: 544px){
  .disp-logos-container {
    grid-template-columns: repeat(3, 1fr);
  }
}