:root {
  --bg-primary: #3774b2;
  --bg-primary-rgb: 39, 119, 185;
  --bg-primary-dark: #b30101;
  --color-dark: #495057;
  --color-light-grey: #aeb3b7;
  --color-grey: #f4f4f4;
  --light: rgb(210 219 233);
  --bg-neutral: #ffffff;
  --text-secondary: #6f7178;
  --light-20: rgba(225, 231, 240, 0.2);
  --success: #28a745;
}

.card {
  border-radius: 3px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.card-hover {
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.card-hover:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 5px 10px rgba(0, 0, 0, 0.15) !important;
}

.card .card-body a {
  color: #6c757d !important;
}

.form-control:focus {
  color: #212529 !important;
  background-color: #fff !important;
  border-color: var(--color-dark) !important;
  outline: 0 !important;
  ;
  box-shadow: none !important;
}

.form-select:focus {
  color: #212529 !important;
  background-color: #fff !important;
  border-color: var(--color-dark) !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.h2 {
  color: #505F6D !important;
}

.text-dapcons {
  color: #505F6D !important;
}

.bg-dapcons {
  background-color: #505F6D !important;
}

.NavtopInner {
  background-color: #ECF0F5;
  position: fixed;
  z-index: 100;
  width: 100%;
  background: #4c4184;
  color: #333;
  padding-top: .4rem;
  padding-bottom: .4rem;
  padding-right: 1rem;
  padding-left: 1rem;
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: .6rem !important;
  padding-top: .6rem !important;
  height: 70px;
  display: flex;
  align-items: center;
}

.NavtopInner button {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  border: 0 !important;
}

.NavtopInner button svg {
  font-size: 1.4rem;
}

.cursor-pointer {
  cursor: pointer !important;
}

.custom-logo {
  max-height: 30px !important;
  width: auto !important;
  transition: all 0.3s ease;
}

/*Css By Daniel*/

.PageIndex__CTA {
  background-image: url('./assets/images/Portades-DAPcons.jpg');
  background-position: center;
  background-size: cover;
  height: auto;
  padding-top: 55px;
  position: relative;
  z-index: 10;
}

.PageIndex__CTA:after {
  /*background-color: rgb(255 170 73 / 80%);*/
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 5;
}


@media (min-width: 992px) {
  .PageIndex__CTA {
    height: 73vh;
  }
}

.PageIndex__CTA--text {
  position: relative;
  z-index: 10;
}

.border-iniciar-sesion {
  border: 0;
  position: relative;
  z-index: 20;
}

@media (min-width: 992px) {
  .border-iniciar-sesion {
    border-left: 2px solid #fff;
  }
}

.Page__Row {
  background-color: rgb(241 244 246);
  outline: 1px solid transparent;
  position: relative;
  top: -60px;
  -webkit-transform: rotate(-3deg) translateZ(0);
  transform: rotate(-3deg) translateZ(0);
  z-index: 51;
}

.Page__Row:after,
.Page__Row:before {
  background-color: rgb(241 244 246);
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.Page__Row:after {
  left: 99%;
  z-index: 10;
}

.Page__Row:before {
  right: 99%;
}

.Page__Row--container {
  outline: 1px solid transparent;
  -webkit-transform: rotate(3deg) translateZ(0);
  transform: rotate(3deg) translateZ(0);

  position: relative;
  z-index: 20;
}

.container-2 {
  max-width: 1200px !important;
}

@media (min-width: 1200px) {
  .container-2 {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.Container__IconoMain {
  position: relative;
  margin-top: clamp(-10rem, -7vw, -5rem);
}

.Container__IconoMain img {
  max-width: 100%;
  height: 300px;
  display: block;
  margin: auto;
  z-index: 10;
}

@media (min-width: 992px) {
  .Container__IconoMain img {
    position: absolute;
    left: 0;
    right: 0;
    top: clamp(-70px, -12vw, -120px);
    max-height: clamp(220px, 25vw, 350px);
  }
}

@media (max-width: 991px) {
  .Container__IconoMain img {
    position: static;
    margin-top: clamp(0rem, -2vw, -1rem);
    /*margin-bottom: 1.5rem;*/
    max-height: clamp(160px, 40vw, 240px);
  }
}



/*Css fin*/

.fs-custom-small {
  font-size: 0.9rem;
  line-height: 1.6;
}

.logo-wrapper {
  width: 250px;
  height: 150px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.logo-wrapper img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.logo-navbar {
  height: 60px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Estilos base */
.logo-navbar {
  height: 60px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  /* Para que el cambio de tamaño sea suave */
}

@media (max-width: 767.98px) {
  .logo-navbar {
    height: 40px;
    width: auto;
  }

  .NavtopInner {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .NavtopInner .fw-bold,
  .NavtopInner h5 {
    margin-left: 0 !important;
  }

  #siteLogo {
    margin-left: 0 !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  align-items: center !important;
  background-color: #515f6d !important;
  border: none !important;
  border-radius: 50% !important;
  color: white !important;
  cursor: pointer !important;
  display: flex !important;
  height: 40px !important;
  top: 50% !important;
  justify-content: center !important;
  position: absolute !important;
  ;
  text-decoration: none !important;
  ;
  top: 50%;
  transform: translateY(-50%) !important;
  transition: background-color 0.3s ease !important;
  width: 40px !important;
  z-index: 10 !important;
}

.product-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #fff;
  /*box-shadow: 0 4px 12px rgba(0,0,0,0.05);*/
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.badge-custom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #505F6D;
}

.card-body-custom {
  padding: 1.25rem 1.5rem 0.5rem;
}

.custom-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #adb5bd;
  border-radius: 0.375rem;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #adb5bd;
  border-radius: 0.375rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23343a40' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.custom-input:focus,
.custom-select:focus {
  border-color: #495057;
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(81, 95, 109, 0.25);
}

.custom-label {
  color: #515f6d !important;
}

.logo-carousel-wrapper {
  max-width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.logo-group {
  display: grid;
  gap: 1.5rem;
  margin-right: 3rem;
}

.logo-img {
  height: 120px;
  width: 180px;
  object-fit: contain;
}

.logo-carousel {
  display: flex;
  width: max-content;
  animation: scroll-groups 40s linear infinite;
}

@keyframes scroll-groups {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-small {
  max-width: 100px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.logo-item {
  height: 120px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@media (max-width: 576px) {
  .logo-item {
    height: 100px;
  }
}

.btn-primary {
  background-color: #515f6d !important;
  border-color: #515f6d !important;
}

.d-flex.align-items-start {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.d-flex.align-items-start:last-child {
  border-bottom: none;
}

.pagination .page-link {
  color: #6c757d;
  border: 1px solid #dee2e6;
  background-color: #fff;
}

.pagination .page-item.active .page-link {
  background-color: #515f6d;
  border-color: #515f6d;
  color: #fff;
}

.pagination .page-link:hover {
  background-color: #e9ecef;
  color: #495057;
}

.pagination .page-item.disabled .page-link {
  color: #adb5bd;
  background-color: #fff;
  border-color: #dee2e6;
}

.pagination .page-item.active a {
  color: #fff !important;
}

#Footer {
  background-color: rgb(33, 33, 33);
  color: rgb(255 255 255 / 80%);
  width: 100%;
  font-size: .8rem;
  order: 2;
  font-weight: 300;
  z-index: 10;
}

#Footer a {
  color: rgb(255 255 255 / 80%);
  text-decoration: none;
  padding: 0 10px;
}

.accordion-button {
  background-color: #fff !important;
  color: #515f6d !important;
  font-weight: bold !important;
  transition: background-color 0.3s ease !important;
}

.accordion-button:hover {
  background-color: #f1f1f1 !important;
  color: #515f6d !important;
}

.accordion-button:not(.collapsed) {
  background-color: #515f6d !important;
  color: #fff !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: #515f6d !important;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1) !important;
}

.card.accordion-trigger.activo {
  border: 1px solid #515f6d !important;
  background-color: transparent !important;
}

/*login by Daniel*/
.App-header {
  display: flex;
  position: relative;
  z-index: 10;
}

#login-start {
  width: 70%;
  /* background-color: #f8f8f8; */
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  flex-direction: column;
  order: 1;
  overflow: hidden;
  position: relative;
}

#login-end {
  /* order: 1; */
  background-image: url('../../assets/images/foto.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  width: 30%;
  /* width: 400px; */
  /* float: none !important; */
  padding: 0;
  position: relative;
}

@media (max-width: 992px) {
  .App-header {
    flex-direction: column;
  }

  #login-start {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  #login-end {
    width: 100%;
    order: 1;
    height: auto;
    min-height: auto;
  }
}

.owl-stage {
  display: flex;
}

.owl-item {
  margin: 0;
  padding: 0;
}

#logo-login {
  width: 170px;
  position: absolute;
  left: 1rem;
  top: 1.5rem;
}

#login-end::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
}

/* .login-end-layer{
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
} */

@media (min-width: 992px) {

  .App-header #Footer {
    position: absolute;
    bottom: 0;
  }

}

.card-test-info {
  margin: 1rem;
  background-color: rgba(255, 255, 255, 0.87);
  z-index: 2;
  position: relative;
  border-radius: 5px;
  font-size: .9rem;
  padding: 1.3rem;
}

.card-test-info a {
  color: var(--bg-primary);
}

.card-test-info-2 {
  margin: 1rem;
  z-index: 2;
  position: relative;
  border-radius: 5px;
  color: #fff;
  font-size: .9rem;
}

.PageLogin__Cards {
  background-image: url('./assets/images/Portades-DAPcons.jpg');
  background-position: center 19%;
  background-size: cover;
  height: auto;
  padding-top: 55px;
  position: relative;
  z-index: 10;
}

.PageLogin__Cards:after {
  /*background-color: rgb(255 170 73 / 80%);*/
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 5;
}


@media (min-width: 992px) {
  .PageLogin__Cards {
    height: 55vh;
  }
}


.PageLogin__CardsOverlay,
.PageLogin__CardsOverlay:before {
  background-color: #f5f5f5;
  height: 100%;
  position: absolute;
  width: 100%;
}

.PageLogin__CardsOverlay {
  outline: 1px solid transparent;
  top: 70%;
  -webkit-transform: rotate(-3deg) translateZ(0);
  transform: rotate(-3deg) translateZ(0);
  z-index: 7;
}

.PageLogin__CardsOverlay:after {
  background-color: #f5f5f5;
  content: "";
  height: 100%;
  left: 99%;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.PageLogin__CardsOverlay:before {
  content: "";
  right: 99%;
  top: 0;
}

#login-start .cardContent {
  -webkit-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
  -moz-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
  border: 1px solid #dee2e6 !important;
}

/* Fondo transparente con overlay oscuro */
.nav-contend.dropdown-menu.bg-transparent {
  background-color: rgba(0, 0, 0, 0.85) !important;
  /* Fondo oscuro semitransparente */
  backdrop-filter: blur(8px);
  /* Efecto de desenfoque moderno */
}

/* Textos blancos y ajustes */
.nav-contend.dropdown-menu .col h6 {
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.nav-contend.dropdown-menu .list-unstyled .dropdown-item {
  color: #fff !important;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.nav-contend.dropdown-menu .list-unstyled .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  opacity: 1;
  padding-left: 10px;
}

/* Ajuste para el megamenú */
.nav-contend.dropdown-menu .container-fluid {
  background: transparent !important;
}

.bg-dapcons-glass {
  background: rgba(81, 95, 109, 0.60) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.bg-dapcons-glass .col h6 {
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.bg-dapcons-glass .dropdown-item {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.25s ease;
}

.bg-dapcons-glass .dropdown-item:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  padding-left: 12px;
}

.Page__Info_Dapcons .dropdown-toggle::after {
  display: none !important;
}

.Page__Info_Dapcons .text-break {
  word-break: break-word;
  overflow-wrap: break-word;
}

.wizard-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin-bottom: 2rem;
  position: relative;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
  flex-shrink: 0;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #dee2e6;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.step-circle.active {
  background-color: #515f6d;
  color: #fff;
}

.step-title {
  font-size: 14px;
  color: #6c757d;
  margin-top: 0;
}

.step-title.active {
  color: #000;
}

.step-line {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  background-color: #dee2e6;
  z-index: 0;
}

.step-line {
  transition: background-color 0.3s ease;
}

@media (max-width: 576px) {
  .wizard-steps {
    gap: 60px;
  }

  .step-line {
    width: 60px;
  }
}

section.form-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
}

#sugerenciasPais li {
  cursor: pointer;
}

#sugerenciasPais li:hover {
  background-color: #f8f9fa;
}

.tab-btn {
  border-radius: 0.375rem 0.375rem 0.375rem 0.375rem;
  padding: 0.75rem 1rem;
  width: 50%;
  font-weight: bold;
}

.tab-btn.active {
  background-color: #515f6d;
  color: white;
}

.tab-btn.inactive {
  background-color: #dee2e6;
  color: #fff;
}

.btn-enviar {
  background-color: #2f3a46;
  color: white;
  font-weight: bold;
  border: none;
}

.btn-enviar:hover {
  background-color: #1d252b;
}

/* Wrapper y viewport */
.slider-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
  /* Agregué esta linea */
  padding-bottom: 20px;
}

.slider-track {
  display: flex;
  align-items: center;
  transition: transform 400ms ease;
  will-change: transform;
}

.slider-item {
  flex: 0 0 25%;
  max-width: 25%;
  box-sizing: border-box;
  padding: 0 0.75rem;
  /* Agregué esta linea */
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .slider-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/*
.logo-card {
  width: 100%;
  max-width: 220px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 14px rgba(0,0,0,0.03);
  border-radius: 6px;
  padding: 1rem;
}
.logo-card img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}*/

.logo-card {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 0px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.2s ease;
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 35px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.slider-prev {
  left: -20px;
}

.slider-next {
  right: -20px;
}

@media (max-width: 767.98px) {
  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }
}

.breadcrumb-custom {
  background-image: url('./assets/images/Portades-DAPcons.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  min-height: 120px;
  padding-left: 1rem;
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);*/
}

.breadcrumb-custom .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item a,
.breadcrumb-custom button {
  color: #fff !important;
  font-weight: medium !important;
  /*font-size: 2.6rem !important;*/
}

#cardsMenu {
  transition: all 0.3s ease-in-out;
}

#cardsMenu {
  z-index: 1050;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

.cards-menu-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #fff;
}

.container-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem;
}

.fullwidth-section {
  width: 100%;
  padding: 2rem;
}

/*.faq-block {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}*/

.faq-block {
  margin-bottom: 3rem;
}

.faq-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
}

.accordion-button {
  font-weight: 600;
  cursor: pointer;
}

.accordion-body {
  padding-left: 1rem;
}

.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.faq-icon {
  font-weight: bold;
  margin-left: 0.5rem;
}

.faq-answer {
  padding: 0.5rem 0;
  color: #555;
  line-height: 1.5;
}

.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  box-shadow: none !important;
  color: #515f6d !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  background-color: transparent !important;
}

.accordion-body {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.accordion-button::after {
  color: inherit !important;
}

.wp-block-embed.aligncenter {
  display: flex;
  justify-content: center;
}

.wp-block-embed.aligncenter iframe {
  margin: 0 auto;
  display: block;
}

.wp-block-embed figcaption.wp-element-caption {
  display: block;
  text-align: center;
  font-size: 0.9em;
  color: #555;
}

.wp-block-embed.aligncenter {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.post-content .py-3 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hover-blue {
  transition: color .15s ease;
  cursor: pointer;
}

.hover-blue:hover {
  color: #0d6efd !important;
}

.post-content {
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 767.98px) {
  .post-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Side menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 1rem;
}

.side-menu.active {
  right: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1040;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-menu-header {
  background-color: #fff;
  font-size: 4rem !important;
}

.side-menu-header .logo {
  max-height: 40px;
}

.dapcons-menu .menu-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dapcons-menu .menu-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
}

.dapcons-menu .submenu .menu-item a {
  padding-left: 1.5rem;
}

a[data-bs-toggle="collapse"] i.fas.fa-chevron-down {
  transition: transform 0.3s ease;
}

a[data-bs-toggle="collapse"]:not(.collapsed) i.fas.fa-chevron-down {
  transform: rotate(180deg);
}

.sidebar .submenu a {
  font-size: 0.9rem;
  padding-left: 1rem;
}

.sidebar .menu-item>a {
  font-size: 1.1rem;
  font-weight: 700;
}

.side-menu a img {
  display: inline-block;
  vertical-align: middle;
}

.placeholder-box {
  background-color: #e9ecef !important;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.placeholder-btn {
  height: 38px;
  border-radius: 0.25rem;
}

.btn-custom-color {
  background-color: #5b7987;
}

.product-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .product-section {
    padding: 3rem !important;
  }
}

.logo-fit-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-container-box {
  height: 150px;
  border-color: #adb5bd !important;
}

.hover-sidebar {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hover-sidebar:hover {
  background-color: #515f6d !important;
  color: #fff !important;
}

.btn-outline-purple {
  color: #786d9e !important;
  border-color: #786d9e !important;
  background-color: transparent !important;
}

.btn-outline-purple:hover,
.btn-outline-purple:focus,
.btn-outline-purple:active {
  color: #fff !important;
  background-color: #786d9e !important;
  border-color: #786d9e !important;
}

.btn-outline-lightblue {
  color: #000 !important;
  border-color: #aed0ea !important;
  background-color: transparent !important;
}

.btn-outline-lightblue:hover,
.btn-outline-lightblue:focus,
.btn-outline-lightblue:active {
  color: #000 !important;
  background-color: #aed0ea !important;
  border-color: #aed0ea !important;
}

.accordion-button:not(.collapsed).hover-carrousel {
  background-color: #515f6d !important;
  color: #fff !important;
  padding: 0.8rem !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: none !important;
}

.hover-card {
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

.hover-card:hover {
  background-color: #515f6d !important;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 5px 10px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

/* .hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  background-color: #515f6d !important;
  color: #fff !important;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
} */

.hover-card:hover .text-dapcons {
  color: #fff !important;
}

.hover-card:hover .text-dark {
  color: #fff !important;
}

.hover-card:hover i {
  filter: brightness(1.1);
  transform: rotate(12deg);
}

.hover-card:hover .card-text,
.hover-card:hover .card-title,
.hover-card:hover i {
  color: #fff !important;
}

.tooltip .tooltip-arrow {
  display: none !important;
}

.tooltip .tooltip-inner {
  padding: 6px;
  font-size: bold !important;
  margin-top: 0.5rem;
}

.skeleton-image {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e0e0e0;
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@media (max-width: 768px) {
  .producto-card .row>.col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 5px;
  }
}

.empresa-bloqueado {
  background-color: #f5f5f5 !important;
  pointer-events: none !important;
}

.insight-box {
  padding: 2rem 0;
}

.selection-card {
  border: 1px solid #ccc;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.selection-card:hover {
  border-color: #505F6D;
  box-shadow: 0 0 15px rgba(13, 110, 253, 0.2);
  transform: translateY(-3px);
}

.selection-icon {
  font-size: 5rem;
  color: #4a5568;
  margin-bottom: 1rem;
}

.category-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a5568;
  margin-top: 0.5rem;
}

@media (max-width: 576px) {
  .selection-card {
    margin-bottom: 1rem;
  }

  .selection-icon {
    font-size: 4rem;
  }
}

.btn-outline-dapcons {
  color: #505F6D !important;
  border-color: #505F6D !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.btn-outline-dapcons:hover {
  color: #fff !important;
  background-color: #505F6D !important;
  border-color: #505F6D !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px) !important;
}

.btn-outline-dapcons:active,
.btn-outline-dapcons:focus {
  color: #fff !important;
  background-color: #505F6D !important;
  border-color: #505F6D !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-hover-effect:hover .icon-wrapper {
  transform: translateY(-1px);
}

.btn-hover-effect:hover .icon-wrapper img {
  filter: brightness(1.1);
  transform: rotate(12deg);
}

.btn-hover-effect:hover .title-container * {
  color: #212529 !important;
}

.icon-wrapper img {
  transition: all 0.3s ease;
  transform: rotate(0deg);
  box-shadow: none;
  border-radius: 8px;
}

.wp-block-button .wp-block-button__link {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  color: #505F6D !important;
  border: 1px solid #505F6D !important;
  background-color: transparent !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.wp-block-button .wp-block-button__link:hover {
  color: #505F6D !important;
  background-color: transparent !important;
  border-color: #505F6D !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px) !important;
}

.wp-block-button .wp-block-button__link:active,
.wp-block-button .wp-block-button__link:focus {
  color: #5a6268 !important;
  background-color: transparent !important;
  border-color: #6c757d !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.carousel-control-custom {
  position: absolute !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 50% !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.8 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
  background-color: #5a6268 !important;
}

.post-content h1:not(.carousel *),
.post-content h2:not(.carousel *),
.post-content h3:not(.carousel *),
.post-content h4:not(.carousel *),
.post-content h5:not(.carousel *),
.post-content h6:not(.carousel *) {
  color: #505F6D !important;
}

.post-content ul,
.post-content ol {
  padding-left: 35px !important;
  margin-left: 0 !important;
}

.post-content ul li,
.post-content ol li {
  padding: 6px 0;
  /*border-bottom: 1px solid #ddd;*/
}

.post-content h2 {
  font-size: 1.75rem !important;
}

.carousel {
  position: relative !important;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  background-color: #5a6268 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 20px 20px !important;
}

/* .slide-content {
  line-height: 1.6;
} */

.slide-content.rounded {
  height: auto !important;
  min-height: 800px;
  /* Puedes ajustar este número si quieres un mínimo */
  padding-bottom: 40px;
  /* Para que el texto no quede pegado al borde inferior */
}

/* Asegurar que el bloque de fondo (el gris) cubra todo el nuevo tamaño */
.wp-block-cover {
  min-height: 100% !important;
}

.wp-block-columns {
  box-shadow: none !important;
}

.has-background-dim {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

a {
  text-decoration: none !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before,
.wp-block-gallery figure.wp-block-image:has(figcaption):before {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  display: none !important;
  content: none !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.45)) !important;
}

.img-sombra-material {
  border-radius: 8px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.25);
}

#Footer .footer-link:hover {
  opacity: 1 !important;
  text-decoration: underline !important;
}

#Footer .dropdown-toggle::after {
  font-size: 0.7rem;
}

.post-content .wp-block-embed iframe {
  width: 900px !important;
  height: 600px !important;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  background: transparent;
  margin-top: 8px;
}

/*.wp-block-gallery.has-nested-images figure.wp-block-image figcaption.wp-element-caption {
    background: transparent !important;
}*/

.post-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption.wp-element-caption {
  position: static !important;
  background: transparent !important;
  margin-top: 8px;
  padding: 0;
  text-align: center !important;
}

.post-content .wp-block-image :where(figcaption) {
  display: block;
  text-align: center;
  font-size: 0.9em;
  color: #555;
  margin-bottom: 3em;
}