:root {
   --gris_pparq: #cecec8;
   --text-gris: #747472;
   --dark: #191717;
   --arena: #5a4b3d;
   --beige : #fff4e6;
   --DarkBrown : #191717;
   --LightBrown :  #4c3f33;
   --Black : #050505;
}

body {
   font-family: 'Poppins', sans-serif !important;
   background-color: #ffffff;
   width: 100vw !important;
   min-width: 100% !important;
   overflow-x: hidden;
}

a {
   text-decoration: none !important;
   color: inherit !important;
   transition: .3s ease;
}

a:hover {
   color: var(--beige) !important;
}

button {
   border: 0;
}

h6 {
   font-size: 1.05rem !important;
}

.text-justify {
   text-align: justify;
}

/* Backgrounds */
.bg-gris_pparq {
   background-color: var(--gris_pparq);
}

.bg-black {
   background-color: var(--dark) !important;
}

.bg-arena {
   background-color: var(--arena) !important;
}

/* Fuentes */
.text-gris {
   color: var(--text-gris);
}

.text-gris_pparq {
   color: var(--gris_pparq) !important;
}

.text-beige {
   color: var(--beige);
}


.small-font-size {
   font-size: 0.9rem;
}

.title-font-size {
   font-size: 4.25rem;
}

.title-font-size-2 {
   font-size: 3rem;
}

.lt-spc-2 {
   letter-spacing: 2px;
}

.lt-spc-3 {
   letter-spacing: 3px;
}

.spectral-font {
   font-family: 'Poppins', serif;
   font-weight: 300;
}

.image-mask-14x16 {
   aspect-ratio: 14 / 16;
   overflow: hidden;
}

.ratio.ratio-18x9 {
   aspect-ratio: 18/9;
}

.object-cover {
   width: 100% !important;
   height: 100%;
   object-fit: cover;
}

.gallery-max-height {
   max-height: 480px;
}

body.modal-open {
   padding-right: 0 !important;
}

/* Navbar  */
.navbar {
   border-radius: 20rem;
   margin-top: 1.5rem;
   transition: padding 0.35s ease, width 0.5s ease, border-radius 0.8s ease;
   padding-top: .5rem !important;
   padding-bottom: .5rem !important;
}

.navbar img {
   width: 140px
}

.navbar-scrolled {
   margin-top: 0 !important;
   padding-top: 0.2rem !important;
   padding-bottom: 0.2rem !important;
   transition: padding 0.3s ease, width 0.5s ease, border-radius 0.75s ease;
   width: 100vw !important;
   border-radius: 0;
}

.nav-link.active{
   color: var(--arena) !important;
}

.suscribe-container {
   display: flex;
   justify-content: space-between;
}

/* Imagenes */
.image-wrapper {
   overflow: hidden;
   position: relative;
}

.image-wrapper.w50vw {
   width: 50vw;
}

.image-wrapper.h90vh {
   height: 90vh;
}

.image-wrapper.h95vh {
   height: 95vh;
}

.image-inside {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.project-thumb {
   transition: height 0.4s ease;
}

.project-thumb:hover {
   cursor: pointer;
   height: 104%;;
}

.plano-img-carrusel {
   aspect-ratio: 18/9;
}

.dark-gradient-bottom {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 50%;
   background: linear-gradient(to top, rgba(58, 58, 58, 0.95), rgba(58, 58, 58,0.6), rgba(58, 58, 58,0));
   z-index: 2;
}

.banner-text {
   position: absolute;
   bottom: 6%;
   left: 50%;
   transform: translateX(-50%);
   text-align: center;
   color: white;
   z-index: 3;
}

.espaciador-hero {
   height: 6rem;
}

/* SWIPPER */
.mySwiper {
   width: 100%;
   height: 100%;
   position: relative;
}

#proyecto-thumb:hover {
   cursor: pointer !important;
}

.swipper-pagination-bullets {
   width: 1% !important;
}

.swiper-button-next.custom-small,
.swiper-button-prev.custom-small {
   transform: scale(0.6);
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
   transform: scale(0.6);
}

.custom-pagination {
   position: relative;
   z-index: 10;
}

.custom-pagination .swiper-pagination-bullet {
   width: 10px;
   height: 10px;
   border-radius: 0;
   background: rgb(37, 37, 37);
   border: 1px solid white;
   margin: 0 4px;
   opacity: 0.5;
   transition: 0.3s;
}

.swiper-pagination-planos .swiper-pagination-bullet, .swiper-pagination-gallery .swiper-pagination-bullet {
   width: 8px;
   height: 8px;
   border-radius: 0;
   background: rgb(66, 66, 66);
   border: 1px solid var(--dark);
   margin: 0 4px;
   opacity: 0.5;
   transition: 0.3s;
}

.custom-pagination .swiper-pagination-bullet-active, .swiper-pagination-planos .swiper-pagination-bullet-active,
.swiper-pagination-gallery .swiper-pagination-bullet-active {
   opacity: 1;
   background: #fff;
}

.vr {
   width: 2px;
   background-color: var(--gris_pparq);
   height: 3px;
   margin-top: 1.1rem;
}


/* Estilos base para las tarjetas */
.service-card {
   background: var(--dark);
   color: white;
   padding: 10rem 2.5rem 2.5rem 2.5rem;
   transition: all 0.6s ease;
   cursor: pointer;
   position: relative;
   overflow: hidden;
   height: 600px; /* Altura fija */
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
}

.card-content {
   width: 100%;
   position: relative;
   height: 100%;
   display: flex;
   flex-direction: column;
}

/* Contenedor de títulos */
.title-container {
   position: relative;
   margin-bottom: 2.5rem; 
   height: auto;
   transition: all 0.4s ease;
   flex-shrink: 0;
}

/* Título con sílabas */
.syllable-title {
   font-size: 3.75rem;
   opacity: 1;
   transform: translateY(0);
   transition: all 0.4s ease;
   color: white;
}

.syllable {
   display: block;
   transition: all 0.4s ease;
}

/* Título completo (oculto inicialmente) */
.complete-title {
   font-size: 3rem;
   line-height: 1.2;
   margin: 0;
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0;
   transform: translateY(20px);
   transition: all 0.4s ease;
   color: #333;
}

/* Descripción */
.description {
   font-size: 1rem;
   line-height: 1.4;
   margin-bottom: 0;
   color: #cccccc;
   transition: all 0.4s ease;
   flex-shrink: 0;
}

/* Lista de servicios (oculta inicialmente) */
.services-list {
   opacity: 0;
   transform: translateY(40px);
   transition: all 0.4s ease 0.2s;
   overflow: hidden;
   flex: 1;
   margin-top: 1.5rem;
}

.services-list ul {
   margin: 0;
   padding: 0;
}

.service-item {
   padding: 0.75rem 0;
   border-bottom: 1px solid var(--arena);
   font-size: 0.95rem;
   color: #555;
   transition: all 0.3s ease;
}

/* Estados hover */
.service-card:hover {
   background: #e4e4e2; /* Fondo claro en hover */
   color: var(--dark); /* Texto oscuro en hover */
   padding: 2.5rem 2.5rem 1.5rem 2.5rem;
}

.service-card:hover .syllable-title {
   opacity: 0;
   transform: translateY(-150px);
}

.service-card:hover .complete-title {
   opacity: 1;
   transform: translateY(0);
}

.service-card:hover .title-container {
  margin-bottom: 0rem; /* Menos espacio en hover */
}

.service-card:hover .description {
   color: #666; /* Color de texto más oscuro en hover */
   margin-bottom: 0;
   transform: translateY(-80px);
}

.service-card:hover .services-list {
   opacity: 1;
   transform: translateY(-50px);
}

.service-card:hover .service-item {
   color: #555;
   border-bottom: 1px solid #c7c7c7;
}

.pparqButton {
   transition: 0.5s ease;
   background-color: var(--dark);
}

.pparqButton:hover {
   background-color: var(--arena) ;
}


/* Formulario Newsletter */
.mi-formulario-newsletter input {
   width: 100%;
   padding: 10px;
   background-color: transparent !important;
   border-bottom: 1px solid var(--dark) !important;
   color: var(--dark) !important;
}

.mi-formulario-newsletter input:focus {
   background-color: transparent !important;
   outline: none !important;
}

.mi-formulario-newsletter label {
   display: none !important;
}

.mi-formulario-newsletter form {
   display: flex !important;
}

.mi-formulario-newsletter button {
   color: #fff;
   padding: 10px 20px;
   border: none;
}

@media only screen and (max-width: 1400px) {
   .title-font-size {
      font-size: 3.25rem;
   }

   .title-font-size-2 {
      font-size: 2.5rem;
   }

   .espaciador-hero {
      height: 3rem;
   }

   /* Navbar  */
   .navbar {
      border-radius: 18rem;
      margin-top: 1rem;
      padding-top: .5rem !important;
      padding-bottom: .5rem !important;
   }

   .navbar img {
      width: 110px
   }

   .navbar-scrolled {
      margin-top: 0 !important;
      padding-top: 0.2rem !important;
      padding-bottom: 0.2rem !important;
      border-radius: 0;
   }

   .service-card {
      padding: 7rem 2.5rem 2.5rem 2.5rem;
   }

   .service-card:hover .description {
      transform: translateY(-70px);
   }

   .complete-title {
      font-size: 2.7rem;
   }

   .gallery-max-height {
      max-height: 400px;
   }
}


@media (max-width: 850px) {
   .navbar {
      padding-top: .6rem !important;
      padding-bottom: .6rem !important;
   }

   .navbar img {
      width: 130px;
   }

   .title-font-size {
      font-size: 3.75rem;
   }

   h6 {
      font-size: 1.2rem;
   }

   .service-card {
      padding: 2rem;
      height: 400px;
      overflow: visible;
   }

   .syllable-title {
      font-size: 2.8rem;
   }

   .complete-title {
      font-size: 1.8rem;
   }

   .description {
      font-size: 0.9rem;
   }

   .gallery-max-height {
      max-height: 250px;
   }

   .lt-spc-3 {
      letter-spacing: 2px;
   }

   .image-wrapper.h90vh {
      height: 60vh;
   }

   .service-card:hover {
      padding: 2rem 2rem 1.25rem 2rem;
   }

   .service-card:hover .description {
      transform: translateY(-90px);
   }

   .service-card:hover .services-list {
      transform: translateY(-90px);
   }

   .services-list {
      margin-top: 1rem;
      min-height: 180px;
   }

   .service-item {
      padding: 0.5rem 0;
      font-size: 0.9rem;
   }
}


@media only screen and (max-width: 600px) {
   h6 {
      font-size: 1rem !important;
   }

   .small-font-size {
      font-size: 0.8rem;
   }

   .dark-gradient-bottom {
      height: 60%;
      background: linear-gradient(to top,
         rgba(0,0,0,0.95) 0%,
         rgba(0,0,0,0.8) 25%,
         rgba(0,0,0,0.6) 50%,
         rgba(0,0,0,0.3) 75%,
         rgba(0,0,0,0) 100%
      );
   }

   .gallery-max-height {
      max-height: 180px;
   }

   .swiper-button-next.custom-small,
   .swiper-button-prev.custom-small {
      transform: scale(0.5);
   }

   .swiper-button-next {
      right: 0 !important;
   }

   .swiper-button-prev {
      left: 0 !important;
   }

   .swiper-button-next.swiper-button-disabled {
      right: 0;
   }

   .swiper-button-prev.swiper-button-disabled {
      left: 0;
   }

   .swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
      transform: scale(0.5);
   }

   .plano-img-carrusel {
      aspect-ratio: 16/9;
   }

   .title-font-size {
      font-size: 2.4rem;
   }

   .title-font-size-2 {
      font-size: 2.1rem;
   }

   .lt-spc-2 {
      letter-spacing: 1px;
   }

   .image-wrapper.h90vh {
      height: 90vh;
   }

   .service-card:hover {
      padding: 2rem;
   }

   .services-list {
      overflow: visible;
   }

   .service-item {
      padding: 0.4rem 0;
      font-size: 0.85rem;
   }

   .service-card:hover .description {
      transform: translateY(-75px);
   }

   .service-card:hover .services-list {
      transform: translateY(-70px);
   }

   .image-wrapper.h95vh {
      height: 90vh;
   }

   .ratio.ratio-18x9.mobile {
      aspect-ratio: 12/9;
   }

   .navbar {
      padding-top: .35rem !important;
      padding-bottom: .35rem !important;
   }

   .navbar .nav-link {
      opacity: 0;
      transition: opacity 0.5s ease 0.5s;
   }

   .navbar.navbar-scrolled .nav-link {
      opacity: 1;
   }
}
