/**GLOBAL**/
.bold, .bold * {
    font-weight: bold !important;
}
.maxWidth500 {
    max-width: 564px !important;
}
.iframeYoutube p {
    margin-bottom: 0 !important;
    line-height: 0 !important;
}
.iframeYoutube iframe {
    width: 100%;
    min-height: 200px;
}
/**HEADER**/
/**HOME**/
.ubicacioHome > div {
    max-width: 100% !important;
}

.overlayBlack > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad según necesites */
}
/**CONTACTA**/
.contactaWidth {
    max-width: 1081.6px;
}
.containerContacta {
    font-size: .9rem;
    color: black;
}
.containerContacta p {
    margin-bottom: 10px !important;
}
.containerContacta .wpcf7-submit, .containerContactaGlobal .wpcf7-submit {
    background: #2b2034 !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    margin: 0 auto !important;
    display: block !important;
}
.containerContactaGlobal .wpcf7-submit {
    background: #0fc0cc !important;
    float: right !important;
}
.containerContacta .wpcf7-submit:hover, .containerContactaGlobal .wpcf7-submit:hover {
    background: #4a4152 !important;
}
.containerContactaGlobal .wpcf7-submit:hover {
    background: #0fc0cc !important;
}
.containerContactaGlobal label, .containerContactaGlobal b {
    color: white !important;
    font-size: 15px !important;
}
/**OPINIONES**/
.slider-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    overflow: hidden !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-top: 20px !important;
}
.slider-container .swiper {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    overflow: hidden !important;
    list-style: none !important;
    z-index: 1 !important;
    text-align: center !important;
    cursor: grab !important;
}
.slider-container .swiper .swiper-slide {
    border: 1px solid #c5c5c5 !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    padding: 30px 20px !important;
}
.slider-container .swiper-slide a {
    display: flex !important; /* Flexbox para centrar contenido */
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
}

.slider-container .swiper-slide img {
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}
.slider-container .swiper-slide span {
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    color: black !important;
    z-index: 1 !important;
    margin-top: 1rem !important;
}
.slider-container .swiper-opinions .swiper-slide p {
    font-weight: 400;
    line-height: 1.25rem;
    color: #5b5262 !important;
    font-size: 14px;
    min-height: 180px;
}
.slider-container .rating {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 5px;
}
.slider-container .star {
    font-size: 24px;
    color: gray;
    cursor: pointer;
}
.slider-container .star::before {
    content: "★";
}
.slider-container .star.active {
    color: gold !important;
}
.slider-container .swiper-button-next, .slider-container .swiper-button-prev {
    color: white !important;
    background-color: black;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin-top: 10px;
}
.slider-container .swiper-button-next:after, .slider-container .swiper-button-prev:after {
    font-size: 15px !important;
    font-weight: bold !important;
}
/**CONEIXNOS**/
.backgroundConeixnos {
    background-image: linear-gradient(to top, rgba(43, 32, 52, 0), rgb(43, 32, 52)), url("/wp-content/uploads/2025/02/drone-view-picture-scaled.jpg") !important;
}
/**VIDEOS**/
.tabsVideos .fusion-tabs .nav-tabs.nav-justified>li {
    padding: 5px !important;
}

/**MEDIA QUERIE 800px**/
@media (max-width: 800px) {
    .headerInvertitMobile > div {
        flex-direction: column-reverse;
    }
}



/******************************************************************/
/******************************************************************/
/******************************************************************/
/************************* Landing Page ***************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/

.fusion-body .fusion-title.fusion-text-has-stroke .fusion-title-heading{
    font-weight: 700;
    -webkit-text-stroke: 0px #000 !important;
}

/************************* Troba el permís ideal per a tu ***************************/

/* card wrapper */
.card {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* responsive images */
.card__img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

.card__img--desktop { display: none; }
.card__img--mobile  { display: block; }

@media (min-width: 768px) {
  .card__img--desktop { display: block; }
  .card__img--mobile  { display: none;  }
}

/* overlay container */
.card__content {
  position: absolute;
  inset: 0;                       /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;               /* 20px */
}

/* text block */
.card__text {
  max-width: 20rem;
}

.card__title {
  margin: 0;
  font-size: 30px !important;                /* ~3xl */
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 0.5rem;
  line-height: 2.25rem;
}

.card__subtitle {
  margin: 0;
  font-size: 0.875rem;            /* ~sm */
  color: #d1d5db;                 /* gray-300 */
  margin-bottom: 1rem;
  line-height: 1.25rem;
}

/* buttons */
.card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;                    /* spacing between buttons */
}

.card__btn {
  display: inline-block;
  background: #fff;
  color: #000;
  text-decoration: none !important;
  padding: 0.5rem 1rem;           /* 8px 16px */
  border-radius: 0.75rem;         /* 12px */
  transition: background 0.3s ease;
  white-space: nowrap;
  text-decoration-line: none !important;
}

.card__btn:hover {
  background: #dc2626;            /* red */
    color: #000;
  /* keep text black, or switch to white if you prefer */
}


/* ─────────────────────────────────────────────────────────────────────────────
   Section & Title
   ───────────────────────────────────────────────────────────────────────────── */
.permisos {
  background: #f8f4e6;
  padding: 2rem 1rem;
}
.permisos__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.permisos__title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #2d2b3a;
  margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Slider Layout
   ───────────────────────────────────────────────────────────────────────────── */
.slider {
  position: relative;
  overflow: visible !important; /* allow arrows to overflow */
}
.slider__container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  /* hide native scrollbar */
  scrollbar-width: none;  /* Firefox */
}
.slider__container::-webkit-scrollbar {
  display: none;          /* Chrome/Safari */
}

/* make it draggable on desktop + touch */
.slider__container {
  cursor: grab;
  user-select: none;
}
.slider__container.active {
  cursor: grabbing;
}

/* each slide */
.slider__slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 16rem;           /* match your card width */
}

/* ─────────────────────────────────────────────────────────────────────────────
   Card Styling
   ───────────────────────────────────────────────────────────────────────────── */
.permission__card-link {
  text-decoration: none !important;
}

.permission__card {
  background: #fff;
  border-radius: 1rem !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05) !important;
  height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.permission__card__icon {
  max-height: 3.5rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.permission__card__label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d2b3a;
  margin: 0 !important;
}
/* ─────────────────────────────────────────────────────────────────────────────
   Prev/Next Buttons
   ───────────────────────────────────────────────────────────────────────────── */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #2d2b3a;
  color: #2d2b3a;
  font-size: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.slider__btn:hover {
  background: #2d2b3a;
  color: #fff;
}
.slider__btn--prev { left: -2.5rem; }
.slider__btn--next { right: -2.5rem; }

  .slider__container {
    touch-action: pan-y;  /* allow pointerdown/pointermove to hijack horizontal drag */
  }
  .slider__container {
  scroll-snap-type: none !important;
}
.slider__slide {
  scroll-snap-align: none !important;
}